Jetpack by WordPress.com - Version 9.8.1

Version Description

Download this release

Release Info

Developer samiff
Plugin Icon 128x128 Jetpack by WordPress.com
Version 9.8.1
Comparing to
See all releases

Code changes from version 8.0.1 to 9.8.1

Files changed (39) hide show
  1. .svnignore +0 -8
  2. 3rd-party/3rd-party.php +33 -21
  3. 3rd-party/bbpress.php +25 -6
  4. 3rd-party/beaverbuilder.php +11 -12
  5. 3rd-party/bitly.php +10 -11
  6. 3rd-party/buddypress.php +16 -2
  7. 3rd-party/{domain-mapping.php → class-domain-mapping.php} +58 -13
  8. class.jetpack-bbpress-json-api-compat.php → 3rd-party/class-jetpack-bbpress-rest-api.php +80 -21
  9. 3rd-party/class-jetpack-crm-data.php +77 -0
  10. 3rd-party/{class.jetpack-modules-overrides.php → class-jetpack-modules-overrides.php} +6 -1
  11. 3rd-party/class.jetpack-amp-support.php +138 -34
  12. 3rd-party/creative-mail.php +128 -0
  13. 3rd-party/crowdsignal.php +23 -0
  14. 3rd-party/debug-bar.php +6 -1
  15. 3rd-party/debug-bar/{class.jetpack-search-debug-bar.php → class-jetpack-search-debug-bar.php} +32 -21
  16. 3rd-party/polldaddy.php +0 -7
  17. 3rd-party/qtranslate-x.php +7 -1
  18. 3rd-party/vaultpress.php +16 -10
  19. 3rd-party/web-stories.php +36 -0
  20. 3rd-party/woocommerce-services.php +15 -15
  21. 3rd-party/woocommerce.php +32 -8
  22. 3rd-party/wpml.php +7 -8
  23. CHANGELOG.md +5366 -0
  24. CODE-OF-CONDUCT.md +0 -28
  25. LICENSE.txt +357 -0
  26. SECURITY.md +38 -0
  27. _inc/accessible-focus.js +2 -2
  28. _inc/blocks/business-hours/view.asset.php +1 -1
  29. _inc/blocks/business-hours/view.js +1 -1
  30. _inc/blocks/button/view.asset.php +1 -0
  31. _inc/blocks/button/view.css +1 -0
  32. _inc/blocks/button/view.js +1 -0
  33. _inc/blocks/button/view.rtl.css +1 -0
  34. _inc/blocks/calendly/view.asset.php +1 -0
  35. _inc/blocks/calendly/view.css +1 -0
  36. _inc/blocks/calendly/view.js +1 -0
  37. _inc/blocks/calendly/view.rtl.css +1 -0
  38. _inc/blocks/components.css +1 -1
  39. _inc/blocks/components.js +7 -61
.svnignore DELETED
@@ -1,8 +0,0 @@
1
- .git/
2
- .gitignore
3
- .travis.yml
4
- readme.md
5
- tests/
6
- _inc/lib/icalendar-reader.php
7
- modules/shortcodes/upcoming-events.php
8
- modules/widgets/upcoming-events.php
 
 
 
 
 
 
 
 
3rd-party/3rd-party.php CHANGED
@@ -3,29 +3,41 @@
3
  * Compatibility files for third-party plugins.
4
  * This is used to improve compatibility of specific Jetpack features with third-party plugins.
5
  *
6
- * @package Jetpack
7
  */
8
 
9
- // Array of third-party compat files to always require.
10
- $compat_files = array(
11
- 'bbpress.php',
12
- 'beaverbuilder.php',
13
- 'bitly.php',
14
- 'buddypress.php',
15
- 'class.jetpack-amp-support.php',
16
- 'class.jetpack-modules-overrides.php', // Special case. Tools to be used to override module settings.
17
- 'debug-bar.php',
18
- 'domain-mapping.php',
19
- 'polldaddy.php',
20
- 'qtranslate-x.php',
21
- 'vaultpress.php',
22
- 'wpml.php',
23
- 'woocommerce.php',
24
- 'woocommerce-services.php',
25
- );
26
 
27
- foreach ( $compat_files as $file ) {
28
- if ( file_exists( JETPACK__PLUGIN_DIR . '/3rd-party/' . $file ) ) {
29
- require_once JETPACK__PLUGIN_DIR . '/3rd-party/' . $file;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
31
  }
 
 
3
  * Compatibility files for third-party plugins.
4
  * This is used to improve compatibility of specific Jetpack features with third-party plugins.
5
  *
6
+ * @package automattic/jetpack
7
  */
8
 
9
+ namespace Automattic\Jetpack;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
+ /**
12
+ * Loads the individual 3rd-party compat files.
13
+ */
14
+ function load_3rd_party() {
15
+ // Array of third-party compat files to always require.
16
+ $compat_files = array(
17
+ 'bbpress.php',
18
+ 'beaverbuilder.php',
19
+ 'bitly.php',
20
+ 'buddypress.php',
21
+ 'class.jetpack-amp-support.php',
22
+ 'class-jetpack-crm-data.php',
23
+ 'class-jetpack-modules-overrides.php', // Special case. Tools to be used to override module settings.
24
+ 'creative-mail.php',
25
+ 'debug-bar.php',
26
+ 'class-domain-mapping.php',
27
+ 'crowdsignal.php',
28
+ 'qtranslate-x.php',
29
+ 'vaultpress.php',
30
+ 'web-stories.php',
31
+ 'wpml.php',
32
+ 'woocommerce.php',
33
+ 'woocommerce-services.php',
34
+ );
35
+
36
+ foreach ( $compat_files as $file ) {
37
+ if ( file_exists( JETPACK__PLUGIN_DIR . '/3rd-party/' . $file ) ) {
38
+ require_once JETPACK__PLUGIN_DIR . '/3rd-party/' . $file;
39
+ }
40
  }
41
  }
42
+
43
+ load_3rd_party();
3rd-party/bbpress.php CHANGED
@@ -1,4 +1,10 @@
1
  <?php
 
 
 
 
 
 
2
  add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
3
 
4
  /**
@@ -8,8 +14,21 @@ add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ens
8
  * @since 3.7.1
9
  */
10
  function jetpack_bbpress_compat() {
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  if ( function_exists( 'sharing_display' ) ) {
12
- add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
13
  add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
14
  add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
15
  }
@@ -20,11 +39,11 @@ function jetpack_bbpress_compat() {
20
  * @author Brandon Kraft
21
  * @since 6.0.0
22
  */
23
- if ( function_exists( 'bbp_get_topic_post_type' ) ) {
24
- add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
25
- add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
26
- add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
27
- }
28
 
29
  /**
30
  * Use Photon for all images in Topics and replies.
1
  <?php
2
+ /**
3
+ * Compatibility functions for bbpress.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
+
8
  add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
9
 
10
  /**
14
  * @since 3.7.1
15
  */
16
  function jetpack_bbpress_compat() {
17
+ if ( ! function_exists( 'bbpress' ) ) {
18
+ return;
19
+ }
20
+
21
+ /**
22
+ * Add compatibility layer for REST API.
23
+ *
24
+ * @since 8.5.0 Moved from root-level file and check_rest_api_compat()
25
+ */
26
+ require_once 'class-jetpack-bbpress-rest-api.php';
27
+ Jetpack_BbPress_REST_API::instance();
28
+
29
+ // Adds sharing buttons to bbPress items.
30
  if ( function_exists( 'sharing_display' ) ) {
31
+ add_filter( 'bbp_get_topic_content', 'sharing_display', 19 );
32
  add_action( 'bbp_template_after_single_forum', 'jetpack_sharing_bbpress' );
33
  add_action( 'bbp_template_after_single_topic', 'jetpack_sharing_bbpress' );
34
  }
39
  * @author Brandon Kraft
40
  * @since 6.0.0
41
  */
42
+ if ( function_exists( 'bbp_get_topic_post_type' ) ) {
43
+ add_post_type_support( bbp_get_topic_post_type(), 'wpcom-markdown' );
44
+ add_post_type_support( bbp_get_reply_post_type(), 'wpcom-markdown' );
45
+ add_post_type_support( bbp_get_forum_post_type(), 'wpcom-markdown' );
46
+ }
47
 
48
  /**
49
  * Use Photon for all images in Topics and replies.
3rd-party/beaverbuilder.php CHANGED
@@ -1,20 +1,19 @@
1
  <?php
2
  /**
3
  * Beaverbuilder Compatibility.
 
 
4
  */
5
- class Jetpack_BeaverBuilderCompat {
6
 
7
- function __construct() {
8
- add_action( 'init', array( $this, 'beaverbuilder_refresh' ) );
9
- }
10
 
11
- /**
12
- * If masterbar module is active force BeaverBuilder to refresh when publishing a layout.
13
- */
14
- function beaverbuilder_refresh() {
15
- if ( Jetpack::is_module_active( 'masterbar' ) ) {
16
- add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' );
17
- }
18
  }
19
  }
20
- new Jetpack_BeaverBuilderCompat();
1
  <?php
2
  /**
3
  * Beaverbuilder Compatibility.
4
+ *
5
+ * @package automattic/jetpack
6
  */
 
7
 
8
+ namespace Automattic\Jetpack\Third_Party;
9
+
10
+ add_action( 'init', __NAMESPACE__ . '\beaverbuilder_refresh' );
11
 
12
+ /**
13
+ * If masterbar module is active force BeaverBuilder to refresh when publishing a layout.
14
+ */
15
+ function beaverbuilder_refresh() {
16
+ if ( \Jetpack::is_module_active( 'masterbar' ) ) {
17
+ add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' );
 
18
  }
19
  }
 
3rd-party/bitly.php CHANGED
@@ -1,34 +1,33 @@
1
  <?php
2
-
3
- /*
4
  * Fixes issues with the Official Bitly for WordPress
5
  * https://wordpress.org/plugins/bitly/
 
 
6
  */
7
- if( class_exists( 'Bitly' ) ) {
8
 
9
- if( isset( $GLOBALS['bitly'] ) ) {
 
 
10
  if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
11
  remove_action( 'wp_head', array( $GLOBALS['bitly'], 'og_tags' ) );
12
  }
13
 
14
  add_action( 'wp_head', 'jetpack_bitly_og_tag', 100 );
15
  }
16
-
17
  }
18
 
19
  /**
20
- * jetpack_bitly_og_tag
21
- *
22
- * @return null
23
  */
24
  function jetpack_bitly_og_tag() {
25
- if( has_filter( 'wp_head', 'jetpack_og_tags') === false ) {
26
- // Add the bitly part again back if we don't have any jetpack_og_tags added
27
  if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
28
  $GLOBALS['bitly']->og_tags();
29
  }
30
  } elseif ( isset( $GLOBALS['posts'] ) && $GLOBALS['posts'][0]->ID > 0 ) {
31
- printf( "<meta property=\"bitly:url\" content=\"%s\" /> \n", esc_attr( $GLOBALS['bitly']->get_bitly_link_for_post_id( $GLOBALS['posts'][0]->ID ) ) );
32
  }
33
 
34
  }
1
  <?php
2
+ /**
 
3
  * Fixes issues with the Official Bitly for WordPress
4
  * https://wordpress.org/plugins/bitly/
5
+ *
6
+ * @package automattic/jetpack
7
  */
 
8
 
9
+ if ( class_exists( 'Bitly' ) ) {
10
+
11
+ if ( isset( $GLOBALS['bitly'] ) ) {
12
  if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
13
  remove_action( 'wp_head', array( $GLOBALS['bitly'], 'og_tags' ) );
14
  }
15
 
16
  add_action( 'wp_head', 'jetpack_bitly_og_tag', 100 );
17
  }
 
18
  }
19
 
20
  /**
21
+ * Adds bitly OG tags.
 
 
22
  */
23
  function jetpack_bitly_og_tag() {
24
+ if ( has_filter( 'wp_head', 'jetpack_og_tags' ) === false ) {
25
+ // Add the bitly part again back if we don't have any jetpack_og_tags added.
26
  if ( method_exists( $GLOBALS['bitly'], 'og_tags' ) ) {
27
  $GLOBALS['bitly']->og_tags();
28
  }
29
  } elseif ( isset( $GLOBALS['posts'] ) && $GLOBALS['posts'][0]->ID > 0 ) {
30
+ printf( "<meta property=\"bitly:url\" content=\"%s\" /> \n", esc_attr( $GLOBALS['bitly']->get_bitly_link_for_post_id( $GLOBALS['posts'][0]->ID ) ) );
31
  }
32
 
33
  }
3rd-party/buddypress.php CHANGED
@@ -1,8 +1,22 @@
1
  <?php
 
 
 
 
 
2
 
3
- add_filter( 'bp_core_pre_avatar_handle_upload', 'blobphoto' );
4
- function blobphoto( $bool ) {
 
5
 
 
 
 
 
 
 
 
 
6
  add_filter( 'jetpack_photon_skip_image', '__return_true' );
7
 
8
  return $bool;
1
  <?php
2
+ /**
3
+ * 3rd Party Integration for BuddyPress.
4
+ *
5
+ * @package automattic/jetpack.
6
+ */
7
 
8
+ namespace Automattic\Jetpack\Third_Party;
9
+
10
+ add_filter( 'bp_core_pre_avatar_handle_upload', __NAMESPACE__ . '\blobphoto' );
11
 
12
+ /**
13
+ * Adds filters for skipping photon during pre_avatar_handle_upload.
14
+ *
15
+ * @param bool $bool Passthrough of filter's original content. No changes made.
16
+ *
17
+ * @return bool
18
+ */
19
+ function blobphoto( $bool ) {
20
  add_filter( 'jetpack_photon_skip_image', '__return_true' );
21
 
22
  return $bool;
3rd-party/{domain-mapping.php → class-domain-mapping.php} RENAMED
@@ -1,16 +1,25 @@
1
  <?php
 
 
 
 
 
 
 
2
 
3
  use Automattic\Jetpack\Constants;
4
 
5
  /**
6
- * Class Jetpack_3rd_Party_Domain_Mapping
7
  *
8
  * This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
9
  */
10
- class Jetpack_3rd_Party_Domain_Mapping {
11
 
12
  /**
13
- * @var Jetpack_3rd_Party_Domain_Mapping
 
 
14
  **/
15
  private static $instance = null;
16
 
@@ -19,19 +28,27 @@ class Jetpack_3rd_Party_Domain_Mapping {
19
  *
20
  * @var array
21
  */
22
- static $test_methods = array(
23
  'hook_wordpress_mu_domain_mapping',
24
- 'hook_wpmu_dev_domain_mapping'
25
  );
26
 
27
- static function init() {
 
 
 
 
 
28
  if ( is_null( self::$instance ) ) {
29
- self::$instance = new Jetpack_3rd_Party_Domain_Mapping;
30
  }
31
 
32
  return self::$instance;
33
  }
34
 
 
 
 
35
  private function __construct() {
36
  add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
37
  }
@@ -40,13 +57,13 @@ class Jetpack_3rd_Party_Domain_Mapping {
40
  * This function is called on the plugins_loaded action and will loop through the $test_methods
41
  * to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
42
  */
43
- function attempt_to_hook_domain_mapping_plugins() {
44
  if ( ! Constants::is_defined( 'SUNRISE' ) ) {
45
  return;
46
  }
47
 
48
  $hooked = false;
49
- $count = count( self::$test_methods );
50
  for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
51
  $hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
52
  }
@@ -59,7 +76,7 @@ class Jetpack_3rd_Party_Domain_Mapping {
59
  *
60
  * @return bool
61
  */
62
- function hook_wordpress_mu_domain_mapping() {
63
  if ( ! Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
64
  return false;
65
  }
@@ -76,7 +93,7 @@ class Jetpack_3rd_Party_Domain_Mapping {
76
  *
77
  * @return bool
78
  */
79
- function hook_wpmu_dev_domain_mapping() {
80
  if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
81
  return false;
82
  }
@@ -95,21 +112,49 @@ class Jetpack_3rd_Party_Domain_Mapping {
95
  * So that we can test.
96
  */
97
 
 
 
 
 
 
 
 
 
98
  public function method_exists( $class, $method ) {
99
  return method_exists( $class, $method );
100
  }
101
 
 
 
 
 
 
 
 
102
  public function class_exists( $class ) {
103
  return class_exists( $class );
104
  }
105
 
 
 
 
 
 
 
 
106
  public function function_exists( $function ) {
107
  return function_exists( $function );
108
  }
109
 
 
 
 
 
 
 
110
  public function get_domain_mapping_utils_instance() {
111
- return domain_map::utils();
112
  }
113
  }
114
 
115
- Jetpack_3rd_Party_Domain_Mapping::init();
1
  <?php
2
+ /**
3
+ * Domain Mapping 3rd Party
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
+
8
+ namespace Automattic\Jetpack\Third_Party;
9
 
10
  use Automattic\Jetpack\Constants;
11
 
12
  /**
13
+ * Class Automattic\Jetpack\Third_Party\Domain_Mapping.
14
  *
15
  * This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
16
  */
17
+ class Domain_Mapping {
18
 
19
  /**
20
+ * Singleton holder.
21
+ *
22
+ * @var Domain_Mapping
23
  **/
24
  private static $instance = null;
25
 
28
  *
29
  * @var array
30
  */
31
+ public static $test_methods = array(
32
  'hook_wordpress_mu_domain_mapping',
33
+ 'hook_wpmu_dev_domain_mapping',
34
  );
35
 
36
+ /**
37
+ * Singleton constructor.
38
+ *
39
+ * @return Domain_Mapping|null
40
+ */
41
+ public static function init() {
42
  if ( is_null( self::$instance ) ) {
43
+ self::$instance = new Domain_Mapping();
44
  }
45
 
46
  return self::$instance;
47
  }
48
 
49
+ /**
50
+ * Class Automattic\Jetpack\Third_Party\Domain_Mapping constructor.
51
+ */
52
  private function __construct() {
53
  add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
54
  }
57
  * This function is called on the plugins_loaded action and will loop through the $test_methods
58
  * to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
59
  */
60
+ public function attempt_to_hook_domain_mapping_plugins() {
61
  if ( ! Constants::is_defined( 'SUNRISE' ) ) {
62
  return;
63
  }
64
 
65
  $hooked = false;
66
+ $count = count( self::$test_methods );
67
  for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
68
  $hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
69
  }
76
  *
77
  * @return bool
78
  */
79
+ public function hook_wordpress_mu_domain_mapping() {
80
  if ( ! Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
81
  return false;
82
  }
93
  *
94
  * @return bool
95
  */
96
+ public function hook_wpmu_dev_domain_mapping() {
97
  if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
98
  return false;
99
  }
112
  * So that we can test.
113
  */
114
 
115
+ /**
116
+ * Checks if a method exists.
117
+ *
118
+ * @param string $class Class name.
119
+ * @param string $method Method name.
120
+ *
121
+ * @return bool Returns function_exists() without modification.
122
+ */
123
  public function method_exists( $class, $method ) {
124
  return method_exists( $class, $method );
125
  }
126
 
127
+ /**
128
+ * Checks if a class exists.
129
+ *
130
+ * @param string $class Class name.
131
+ *
132
+ * @return bool Returns class_exists() without modification.
133
+ */
134
  public function class_exists( $class ) {
135
  return class_exists( $class );
136
  }
137
 
138
+ /**
139
+ * Checks if a function exists.
140
+ *
141
+ * @param string $function Function name.
142
+ *
143
+ * @return bool Returns function_exists() without modification.
144
+ */
145
  public function function_exists( $function ) {
146
  return function_exists( $function );
147
  }
148
 
149
+ /**
150
+ * Returns the Domain_Map::utils() instance.
151
+ *
152
+ * @see https://github.com/wpmudev/domain-mapping/blob/master/classes/Domainmap/Utils.php
153
+ * @return Domainmap_Utils
154
+ */
155
  public function get_domain_mapping_utils_instance() {
156
+ return \domain_map::utils();
157
  }
158
  }
159
 
160
+ Domain_Mapping::init();
class.jetpack-bbpress-json-api-compat.php → 3rd-party/class-jetpack-bbpress-rest-api.php RENAMED
@@ -1,12 +1,28 @@
1
  <?php
2
  /**
3
- * bbPress & Jetpack REST API Compatibility
4
  * Enables bbPress to work with the Jetpack REST API
 
 
5
  */
6
- class bbPress_Jetpack_REST_API {
7
 
 
 
 
 
 
 
 
 
 
 
8
  private static $instance;
9
 
 
 
 
 
 
10
  public static function instance() {
11
  if ( isset( self::$instance ) ) {
12
  return self::$instance;
@@ -15,20 +31,37 @@ class bbPress_Jetpack_REST_API {
15
  self::$instance = new self();
16
  }
17
 
 
 
 
18
  private function __construct() {
19
  add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
20
  add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
21
  add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
22
  }
23
 
24
- function allow_bbpress_post_types( $allowed_post_types ) {
 
 
 
 
 
 
 
25
  $allowed_post_types[] = 'forum';
26
  $allowed_post_types[] = 'topic';
27
  $allowed_post_types[] = 'reply';
28
  return $allowed_post_types;
29
  }
30
 
31
- function allow_bbpress_public_metadata( $allowed_meta_keys ) {
 
 
 
 
 
 
 
32
  $allowed_meta_keys[] = '_bbp_forum_id';
33
  $allowed_meta_keys[] = '_bbp_topic_id';
34
  $allowed_meta_keys[] = '_bbp_status';
@@ -51,19 +84,24 @@ class bbPress_Jetpack_REST_API {
51
  return $allowed_meta_keys;
52
  }
53
 
54
- function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
55
-
56
- // only run for REST API requests
57
- if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
58
- return $caps;
59
- }
60
-
61
- // only modify caps for meta caps and for bbPress meta keys
62
- if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ) ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
 
 
 
 
 
63
  return $caps;
64
  }
65
 
66
- // $args[0] could be a post ID or a post_type string
67
  if ( is_int( $args[0] ) ) {
68
  $_post = get_post( $args[0] );
69
  if ( ! empty( $_post ) ) {
@@ -73,23 +111,23 @@ class bbPress_Jetpack_REST_API {
73
  $post_type = get_post_type_object( $args[0] );
74
  }
75
 
76
- // no post type found, bail
77
  if ( empty( $post_type ) ) {
78
  return $caps;
79
  }
80
 
81
- // reset the needed caps
82
  $caps = array();
83
 
84
- // Add 'do_not_allow' cap if user is spam or deleted
85
  if ( bbp_is_user_inactive( $user_id ) ) {
86
  $caps[] = 'do_not_allow';
87
 
88
- // Moderators can always edit meta
89
  } elseif ( user_can( $user_id, 'moderate' ) ) {
90
  $caps[] = 'moderate';
91
 
92
- // Unknown so map to edit_posts
93
  } else {
94
  $caps[] = $post_type->cap->edit_posts;
95
  }
@@ -97,6 +135,27 @@ class bbPress_Jetpack_REST_API {
97
  return $caps;
98
  }
99
 
100
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
- bbPress_Jetpack_REST_API::instance();
 
 
 
 
 
 
 
1
  <?php
2
  /**
3
+ * REST API Compatibility: bbPress & Jetpack
4
  * Enables bbPress to work with the Jetpack REST API
5
+ *
6
+ * @package automattic/jetpack
7
  */
 
8
 
9
+ /**
10
+ * REST API Compatibility: bbPress.
11
+ */
12
+ class Jetpack_BbPress_REST_API {
13
+
14
+ /**
15
+ * Singleton
16
+ *
17
+ * @var Jetpack_BbPress_REST_API.
18
+ */
19
  private static $instance;
20
 
21
+ /**
22
+ * Returns or creates the singleton.
23
+ *
24
+ * @return Jetpack_BbPress_REST_API
25
+ */
26
  public static function instance() {
27
  if ( isset( self::$instance ) ) {
28
  return self::$instance;
31
  self::$instance = new self();
32
  }
33
 
34
+ /**
35
+ * Jetpack_BbPress_REST_API constructor.
36
+ */
37
  private function __construct() {
38
  add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) );
39
  add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 );
40
  add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) );
41
  }
42
 
43
+ /**
44
+ * Adds the bbPress post types to the rest_api_allowed_post_types filter.
45
+ *
46
+ * @param array $allowed_post_types Allowed post types.
47
+ *
48
+ * @return array
49
+ */
50
+ public function allow_bbpress_post_types( $allowed_post_types ) {
51
  $allowed_post_types[] = 'forum';
52
  $allowed_post_types[] = 'topic';
53
  $allowed_post_types[] = 'reply';
54
  return $allowed_post_types;
55
  }
56
 
57
+ /**
58
+ * Adds the bbpress meta keys to the rest_api_allowed_public_metadata filter.
59
+ *
60
+ * @param array $allowed_meta_keys Allowed meta keys.
61
+ *
62
+ * @return array
63
+ */
64
+ public function allow_bbpress_public_metadata( $allowed_meta_keys ) {
65
  $allowed_meta_keys[] = '_bbp_forum_id';
66
  $allowed_meta_keys[] = '_bbp_topic_id';
67
  $allowed_meta_keys[] = '_bbp_status';
84
  return $allowed_meta_keys;
85
  }
86
 
87
+ /**
88
+ * Adds the needed caps to the bbp_map_meta_caps filter.
89
+ *
90
+ * @param array $caps Capabilities for meta capability.
91
+ * @param string $cap Capability name.
92
+ * @param int $user_id User id.
93
+ * @param array $args Arguments.
94
+ *
95
+ * @return array
96
+ */
97
+ public function adjust_meta_caps( $caps, $cap, $user_id, $args ) {
98
+
99
+ // Return early if not a REST request or if not meta bbPress caps.
100
+ if ( $this->should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) ) {
101
  return $caps;
102
  }
103
 
104
+ // $args[0] could be a post ID or a post_type string.
105
  if ( is_int( $args[0] ) ) {
106
  $_post = get_post( $args[0] );
107
  if ( ! empty( $_post ) ) {
111
  $post_type = get_post_type_object( $args[0] );
112
  }
113
 
114
+ // no post type found, bail.
115
  if ( empty( $post_type ) ) {
116
  return $caps;
117
  }
118
 
119
+ // reset the needed caps.
120
  $caps = array();
121
 
122
+ // Add 'do_not_allow' cap if user is spam or deleted.
123
  if ( bbp_is_user_inactive( $user_id ) ) {
124
  $caps[] = 'do_not_allow';
125
 
126
+ // Moderators can always edit meta.
127
  } elseif ( user_can( $user_id, 'moderate' ) ) {
128
  $caps[] = 'moderate';
129
 
130
+ // Unknown so map to edit_posts.
131
  } else {
132
  $caps[] = $post_type->cap->edit_posts;
133
  }
135
  return $caps;
136
  }
137
 
138
+ /**
139
+ * Should adjust_meta_caps return early?
140
+ *
141
+ * @param array $caps Capabilities for meta capability.
142
+ * @param string $cap Capability name.
143
+ * @param int $user_id User id.
144
+ * @param array $args Arguments.
145
+ *
146
+ * @return bool
147
+ */
148
+ private function should_adjust_meta_caps_return_early( $caps, $cap, $user_id, $args ) {
149
+ // only run for REST API requests.
150
+ if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) {
151
+ return true;
152
+ }
153
 
154
+ // only modify caps for meta caps and for bbPress meta keys.
155
+ if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ), true ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) {
156
+ return true;
157
+ }
158
+
159
+ return false;
160
+ }
161
+ }
3rd-party/class-jetpack-crm-data.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Compatibility functions for the Jetpack CRM plugin.
4
+ *
5
+ * @since 9.0.0
6
+ *
7
+ * @package automattic/jetpack
8
+ */
9
+
10
+ namespace Automattic\Jetpack;
11
+
12
+ /**
13
+ * Provides Jetpack CRM plugin data.
14
+ */
15
+ class Jetpack_CRM_Data {
16
+
17
+ const JETPACK_CRM_PLUGIN_SLUG = 'zero-bs-crm/ZeroBSCRM.php';
18
+
19
+ /**
20
+ * Provides Jetpack CRM plugin data for use in the Contact Form block sidebar menu.
21
+ *
22
+ * @return array An array containing the Jetpack CRM plugin data.
23
+ */
24
+ public function get_crm_data() {
25
+ jetpack_require_lib( 'plugins' );
26
+ $plugins = \Jetpack_Plugins::get_plugins();
27
+
28
+ // Set default values.
29
+ $response = array(
30
+ 'crm_installed' => false,
31
+ 'crm_active' => false,
32
+ 'crm_version' => null,
33
+ 'jp_form_ext_enabled' => null,
34
+ 'can_install_crm' => false,
35
+ 'can_activate_crm' => false,
36
+ 'can_activate_extension' => false,
37
+ );
38
+
39
+ if ( isset( $plugins[ self::JETPACK_CRM_PLUGIN_SLUG ] ) ) {
40
+ $response['crm_installed'] = true;
41
+
42
+ $crm_data = $plugins[ self::JETPACK_CRM_PLUGIN_SLUG ];
43
+
44
+ $response['crm_active'] = $crm_data['active'];
45
+ $response['crm_version'] = $crm_data['Version'];
46
+
47
+ if ( $response['crm_active'] ) {
48
+ if ( function_exists( 'zeroBSCRM_isExtensionInstalled' ) ) {
49
+ $response['jp_form_ext_enabled'] = zeroBSCRM_isExtensionInstalled( 'jetpackforms' );
50
+ }
51
+ }
52
+ }
53
+
54
+ $response['can_install_crm'] = $response['crm_installed'] ? false : current_user_can( 'install_plugins' );
55
+ $response['can_activate_crm'] = $response['crm_active'] ? false : current_user_can( 'activate_plugins' );
56
+
57
+ if ( $response['crm_active'] && function_exists( 'zeroBSCRM_extension_install_jetpackforms' ) ) {
58
+ $response['can_activate_extension'] = current_user_can( 'admin_zerobs_manage_options' );
59
+ }
60
+
61
+ return $response;
62
+ }
63
+
64
+ /**
65
+ * Activates Jetpack CRM's Jetpack Forms extension. This is used by a button in the Jetpack Contact Form
66
+ * sidebar menu.
67
+ *
68
+ * @return true|WP_Error Returns true if activation is success, else returns a WP_Error object.
69
+ */
70
+ public function activate_crm_jetpackforms_extension() {
71
+ if ( function_exists( 'zeroBSCRM_extension_install_jetpackforms' ) ) {
72
+ return zeroBSCRM_extension_install_jetpackforms();
73
+ }
74
+
75
+ return new WP_Error( 'jp_forms_extension_activation_failed', esc_html__( 'The Jetpack Forms extension could not be activated.', 'jetpack' ) );
76
+ }
77
+ }
3rd-party/{class.jetpack-modules-overrides.php → class-jetpack-modules-overrides.php} RENAMED
@@ -1,4 +1,9 @@
1
  <?php
 
 
 
 
 
2
 
3
  /**
4
  * Provides methods for dealing with module overrides.
@@ -7,7 +12,7 @@
7
  */
8
  class Jetpack_Modules_Overrides {
9
  /**
10
- * Used to cache module overrides so that we minimize how many times we appy the
11
  * option_jetpack_active_modules filter.
12
  *
13
  * @var null|array
1
  <?php
2
+ /**
3
+ * Special cases for overriding modules.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
 
8
  /**
9
  * Provides methods for dealing with module overrides.
12
  */
13
  class Jetpack_Modules_Overrides {
14
  /**
15
+ * Used to cache module overrides so that we minimize how many times we apply the
16
  * option_jetpack_active_modules filter.
17
  *
18
  * @var null|array
3rd-party/class.jetpack-amp-support.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
 
 
3
  use Automattic\Jetpack\Sync\Functions;
4
 
5
  /**
@@ -22,9 +23,22 @@ class Jetpack_AMP_Support {
22
  add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
23
  }
24
 
 
 
 
 
 
 
25
  // Sharing.
26
  add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
27
  add_filter( 'sharing_enqueue_scripts', array( 'Jetpack_AMP_Support', 'amp_disable_sharedaddy_css' ) );
 
 
 
 
 
 
 
28
 
29
  // enforce freedom mode for videopress.
30
  add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
@@ -35,11 +49,32 @@ class Jetpack_AMP_Support {
35
  // Post rendering changes for legacy AMP.
36
  add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
37
 
 
 
 
 
 
 
 
 
 
38
  // Add post template metadata for legacy AMP.
39
  add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
40
 
41
  // Filter photon image args for AMP Stories.
42
  add_filter( 'jetpack_photon_post_image_args', array( 'Jetpack_AMP_Support', 'filter_photon_post_image_args_for_stories' ), 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
43
  }
44
 
45
  /**
@@ -60,6 +95,16 @@ class Jetpack_AMP_Support {
60
  return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
61
  }
62
 
 
 
 
 
 
 
 
 
 
 
63
  /**
64
  * Does the page return AMP content.
65
  *
@@ -92,6 +137,30 @@ class Jetpack_AMP_Support {
92
  remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
93
  }
94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  /**
96
  * Add Jetpack stats pixel.
97
  *
@@ -118,7 +187,7 @@ class Jetpack_AMP_Support {
118
  $metadata = self::add_site_icon_to_metadata( $metadata );
119
  }
120
 
121
- if ( ! isset( $metadata['image'] ) ) {
122
  $metadata = self::add_image_to_metadata( $metadata, $post );
123
  }
124
 
@@ -241,7 +310,7 @@ class Jetpack_AMP_Support {
241
  if ( function_exists( 'staticize_subdomain' ) ) {
242
  return staticize_subdomain( $domain );
243
  } else {
244
- return Jetpack::staticize_subdomain( $domain );
245
  }
246
  }
247
 
@@ -254,10 +323,10 @@ class Jetpack_AMP_Support {
254
  * @return array Dimensions.
255
  */
256
  private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
257
- if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'require_lib' ) ) ) {
258
  return $dimensions;
259
  }
260
- require_lib( 'wpcom/imagesize' );
261
 
262
  foreach ( $dimensions as $url => $value ) {
263
  if ( is_array( $value ) ) {
@@ -307,6 +376,12 @@ class Jetpack_AMP_Support {
307
  * @param array $sharing_enabled Array of Sharing Services currently enabled.
308
  */
309
  public static function render_sharing_html( $markup, $sharing_enabled ) {
 
 
 
 
 
 
310
  if ( ! self::is_amp_request() ) {
311
  return $markup;
312
  }
@@ -315,39 +390,17 @@ class Jetpack_AMP_Support {
315
  if ( empty( $sharing_enabled ) ) {
316
  return $markup;
317
  }
318
- $supported_services = array(
319
- 'facebook' => array(
320
- /** This filter is documented in modules/sharedaddy/sharing-sources.php */
321
- 'data-param-app_id' => apply_filters( 'jetpack_sharing_facebook_app_id', '249643311490' ),
322
- ),
323
- 'twitter' => array(),
324
- 'pinterest' => array(),
325
- 'whatsapp' => array(),
326
- 'tumblr' => array(),
327
- 'linkedin' => array(),
328
- );
329
- $sharing_links = array();
330
- foreach ( $sharing_enabled['visible'] as $id => $service ) {
331
- if ( ! isset( $supported_services[ $id ] ) ) {
332
- $sharing_links[] = "<!-- not supported: $id -->";
333
- continue;
334
- }
335
- $args = array_merge(
336
- array(
337
- 'type' => $id,
338
- ),
339
- $supported_services[ $id ]
340
- );
341
- $sharing_link = '<amp-social-share';
342
- foreach ( $args as $key => $value ) {
343
- $sharing_link .= sprintf( ' %s="%s"', sanitize_key( $key ), esc_attr( $value ) );
344
  }
345
- $sharing_link .= '></amp-social-share>';
346
- $sharing_links[] = $sharing_link;
347
  }
348
 
349
- // Wrap AMP sharing buttons in container.
350
- $markup = preg_replace( '#(?<=<div class="sd-content">).+?(?=</div>)#s', implode( '', $sharing_links ), $markup );
351
 
352
  // Remove any lingering share-end list items.
353
  $markup = str_replace( '<li class="share-end"></li>', '', $markup );
@@ -369,6 +422,43 @@ class Jetpack_AMP_Support {
369
  return $enqueue;
370
  }
371
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  /**
373
  * Ensure proper Photon image dimensions for AMP Stories.
374
  *
@@ -436,6 +526,20 @@ class Jetpack_AMP_Support {
436
 
437
  return $args;
438
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
  }
440
 
441
  add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
1
  <?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
 
3
+ use Automattic\Jetpack\Assets;
4
  use Automattic\Jetpack\Sync\Functions;
5
 
6
  /**
23
  add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
24
  }
25
 
26
+ /**
27
+ * Remove this during the init hook in case users have enabled it during
28
+ * the after_setup_theme hook, which triggers before init.
29
+ */
30
+ remove_theme_support( 'jetpack-devicepx' );
31
+
32
  // Sharing.
33
  add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
34
  add_filter( 'sharing_enqueue_scripts', array( 'Jetpack_AMP_Support', 'amp_disable_sharedaddy_css' ) );
35
+ add_action( 'wp_enqueue_scripts', array( 'Jetpack_AMP_Support', 'amp_enqueue_sharing_css' ) );
36
+
37
+ // Sharing for Reader mode.
38
+ if ( function_exists( 'jetpack_social_menu_include_svg_icons' ) ) {
39
+ add_action( 'amp_post_template_footer', 'jetpack_social_menu_include_svg_icons' );
40
+ }
41
+ add_action( 'amp_post_template_css', array( 'Jetpack_AMP_Support', 'amp_reader_sharing_css' ), 10, 0 );
42
 
43
  // enforce freedom mode for videopress.
44
  add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
49
  // Post rendering changes for legacy AMP.
50
  add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
51
 
52
+ // Disable Comment Likes.
53
+ add_filter( 'jetpack_comment_likes_enabled', array( 'Jetpack_AMP_Support', 'comment_likes_enabled' ) );
54
+
55
+ // Transitional mode AMP should not have comment likes.
56
+ add_filter( 'the_content', array( 'Jetpack_AMP_Support', 'disable_comment_likes_before_the_content' ) );
57
+
58
+ // Remove the Likes button from the admin bar.
59
+ add_filter( 'jetpack_admin_bar_likes_enabled', array( 'Jetpack_AMP_Support', 'disable_likes_admin_bar' ) );
60
+
61
  // Add post template metadata for legacy AMP.
62
  add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
63
 
64
  // Filter photon image args for AMP Stories.
65
  add_filter( 'jetpack_photon_post_image_args', array( 'Jetpack_AMP_Support', 'filter_photon_post_image_args_for_stories' ), 10, 2 );
66
+
67
+ // Sync the amp-options.
68
+ add_filter( 'jetpack_options_whitelist', array( 'Jetpack_AMP_Support', 'filter_jetpack_options_safelist' ) );
69
+ }
70
+
71
+ /**
72
+ * Disable the Comment Likes feature on AMP views.
73
+ *
74
+ * @param bool $enabled Should comment likes be enabled.
75
+ */
76
+ public static function comment_likes_enabled( $enabled ) {
77
+ return $enabled && ! self::is_amp_request();
78
  }
79
 
80
  /**
95
  return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
96
  }
97
 
98
+ /**
99
+ * Is AMP available for this request
100
+ * This returns false for admin, CLI requests etc.
101
+ *
102
+ * @return bool is_amp_available
103
+ */
104
+ public static function is_amp_available() {
105
+ return ( function_exists( 'amp_is_available' ) && amp_is_available() );
106
+ }
107
+
108
  /**
109
  * Does the page return AMP content.
110
  *
137
  remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
138
  }
139
 
140
+ /**
141
+ * Do not add comment likes on AMP requests.
142
+ *
143
+ * @param string $content Post content.
144
+ */
145
+ public static function disable_comment_likes_before_the_content( $content ) {
146
+ if ( self::is_amp_request() ) {
147
+ remove_filter( 'comment_text', 'comment_like_button', 12, 2 );
148
+ }
149
+ return $content;
150
+ }
151
+
152
+ /**
153
+ * Do not display the Likes' Admin bar on AMP requests.
154
+ *
155
+ * @param bool $is_admin_bar_button_visible Should the Like button be visible in the Admin bar. Default to true.
156
+ */
157
+ public static function disable_likes_admin_bar( $is_admin_bar_button_visible ) {
158
+ if ( self::is_amp_request() ) {
159
+ return false;
160
+ }
161
+ return $is_admin_bar_button_visible;
162
+ }
163
+
164
  /**
165
  * Add Jetpack stats pixel.
166
  *
187
  $metadata = self::add_site_icon_to_metadata( $metadata );
188
  }
189
 
190
+ if ( ! isset( $metadata['image'] ) && ! empty( $post ) ) {
191
  $metadata = self::add_image_to_metadata( $metadata, $post );
192
  }
193
 
310
  if ( function_exists( 'staticize_subdomain' ) ) {
311
  return staticize_subdomain( $domain );
312
  } else {
313
+ return Assets::staticize_subdomain( $domain );
314
  }
315
  }
316
 
323
  * @return array Dimensions.
324
  */
325
  private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
326
+ if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'jetpack_require_lib' ) ) ) {
327
  return $dimensions;
328
  }
329
+ jetpack_require_lib( 'wpcom/imagesize' );
330
 
331
  foreach ( $dimensions as $url => $value ) {
332
  if ( is_array( $value ) ) {
376
  * @param array $sharing_enabled Array of Sharing Services currently enabled.
377
  */
378
  public static function render_sharing_html( $markup, $sharing_enabled ) {
379
+ global $post;
380
+
381
+ if ( empty( $post ) ) {
382
+ return '';
383
+ }
384
+
385
  if ( ! self::is_amp_request() ) {
386
  return $markup;
387
  }
390
  if ( empty( $sharing_enabled ) ) {
391
  return $markup;
392
  }
393
+
394
+ $sharing_links = array();
395
+ foreach ( $sharing_enabled['visible'] as $service ) {
396
+ $sharing_link = $service->get_amp_display( $post );
397
+ if ( ! empty( $sharing_link ) ) {
398
+ $sharing_links[] = $sharing_link;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  }
 
 
400
  }
401
 
402
+ // Replace the existing unordered list with AMP sharing buttons.
403
+ $markup = preg_replace( '#<ul>(.+)</ul>#', implode( '', $sharing_links ), $markup );
404
 
405
  // Remove any lingering share-end list items.
406
  $markup = str_replace( '<li class="share-end"></li>', '', $markup );
422
  return $enqueue;
423
  }
424
 
425
+ /**
426
+ * Enqueues the AMP specific sharing styles for the sharing icons.
427
+ */
428
+ public static function amp_enqueue_sharing_css() {
429
+ if ( self::is_amp_request() ) {
430
+ wp_enqueue_style( 'sharedaddy-amp', plugin_dir_url( __DIR__ ) . 'modules/sharedaddy/amp-sharing.css', array( 'social-logos' ), JETPACK__VERSION );
431
+ }
432
+ }
433
+
434
+ /**
435
+ * For the AMP Reader mode template, include styles that we need.
436
+ */
437
+ public static function amp_reader_sharing_css() {
438
+ // If sharing is not enabled, we should not proceed to render the CSS.
439
+ if ( ! defined( 'JETPACK_SOCIAL_LOGOS_DIR' ) | ! defined( 'JETPACK_SOCIAL_LOGOS_URL' ) || ! defined( 'WP_SHARING_PLUGIN_DIR' ) ) {
440
+ return;
441
+ }
442
+
443
+ /*
444
+ * We'll need to output the full contents of the 2 files
445
+ * in the head on AMP views. We can't rely on regular enqueues here.
446
+ * @todo As of AMP plugin v1.5, you can actually rely on regular enqueues thanks to https://github.com/ampproject/amp-wp/pull/4299. Once WPCOM upgrades AMP, then this method can be eliminated.
447
+ *
448
+ * phpcs:disable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
449
+ * phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
450
+ */
451
+ $css = file_get_contents( JETPACK_SOCIAL_LOGOS_DIR . 'social-logos.css' );
452
+ $css = preg_replace( '#(?<=url\(")(?=social-logos\.)#', JETPACK_SOCIAL_LOGOS_URL, $css ); // Make sure font files get their absolute paths.
453
+ echo $css;
454
+ echo file_get_contents( WP_SHARING_PLUGIN_DIR . 'amp-sharing.css' );
455
+
456
+ /*
457
+ * phpcs:enable WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
458
+ * phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
459
+ */
460
+ }
461
+
462
  /**
463
  * Ensure proper Photon image dimensions for AMP Stories.
464
  *
526
 
527
  return $args;
528
  }
529
+
530
+ /**
531
+ * Adds amp-options to the list of options to sync, if AMP is available
532
+ *
533
+ * @param array $options_safelist Safelist of options to sync.
534
+ *
535
+ * @return array Updated options safelist
536
+ */
537
+ public static function filter_jetpack_options_safelist( $options_safelist ) {
538
+ if ( function_exists( 'is_amp_endpoint' ) ) {
539
+ $options_safelist[] = 'amp-options';
540
+ }
541
+ return $options_safelist;
542
+ }
543
  }
544
 
545
  add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
3rd-party/creative-mail.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Compatibility functions for the Creative Mail plugin.
4
+ * https://wordpress.org/plugins/creative-mail-by-constant-contact/
5
+ *
6
+ * @since 8.9.0
7
+ *
8
+ * @package automattic/jetpack
9
+ */
10
+
11
+ namespace Automattic\Jetpack\Creative_Mail;
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ }
16
+
17
+ const PLUGIN_SLUG = 'creative-mail-by-constant-contact';
18
+ const PLUGIN_FILE = 'creative-mail-by-constant-contact/creative-mail-plugin.php';
19
+
20
+ add_action( 'admin_notices', __NAMESPACE__ . '\error_notice' );
21
+ add_action( 'admin_init', __NAMESPACE__ . '\try_install' );
22
+ add_action( 'jetpack_activated_plugin', __NAMESPACE__ . '\configure_plugin', 10, 2 );
23
+
24
+ /**
25
+ * Verify the intent to install Creative Mail, and kick off installation.
26
+ *
27
+ * This works in tandem with a JITM set up in the JITM package.
28
+ */
29
+ function try_install() {
30
+ if ( ! isset( $_GET['creative-mail-action'] ) ) {
31
+ return;
32
+ }
33
+
34
+ check_admin_referer( 'creative-mail-install' );
35
+
36
+ $result = false;
37
+ $redirect = admin_url( 'edit.php?post_type=feedback' );
38
+
39
+ // Attempt to install and activate the plugin.
40
+ if ( current_user_can( 'activate_plugins' ) ) {
41
+ switch ( $_GET['creative-mail-action'] ) {
42
+ case 'install':
43
+ $result = install_and_activate();
44
+ break;
45
+ case 'activate':
46
+ $result = activate();
47
+ break;
48
+ }
49
+ }
50
+
51
+ if ( $result ) {
52
+ /** This action is already documented in _inc/lib/class.core-rest-api-endpoints.php */
53
+ do_action( 'jetpack_activated_plugin', PLUGIN_FILE, 'jitm' );
54
+ $redirect = admin_url( 'admin.php?page=creativemail' );
55
+ } else {
56
+ $redirect = add_query_arg( 'creative-mail-install-error', true, $redirect );
57
+ }
58
+
59
+ wp_safe_redirect( $redirect );
60
+
61
+ exit;
62
+ }
63
+
64
+ /**
65
+ * Install and activate the Creative Mail plugin.
66
+ *
67
+ * @return bool result of installation
68
+ */
69
+ function install_and_activate() {
70
+ jetpack_require_lib( 'plugins' );
71
+ $result = \Jetpack_Plugins::install_and_activate_plugin( PLUGIN_SLUG );
72
+
73
+ if ( is_wp_error( $result ) ) {
74
+ return false;
75
+ } else {
76
+ return true;
77
+ }
78
+ }
79
+
80
+ /**
81
+ * Activate the Creative Mail plugin.
82
+ *
83
+ * @return bool result of activation
84
+ */
85
+ function activate() {
86
+ $result = activate_plugin( PLUGIN_FILE );
87
+
88
+ // Activate_plugin() returns null on success.
89
+ return is_null( $result );
90
+ }
91
+
92
+ /**
93
+ * Notify the user that the installation of Creative Mail failed.
94
+ */
95
+ function error_notice() {
96
+ if ( empty( $_GET['creative-mail-install-error'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
97
+ return;
98
+ }
99
+
100
+ ?>
101
+ <div class="notice notice-error is-dismissible">
102
+ <p><?php esc_html_e( 'There was an error installing Creative Mail.', 'jetpack' ); ?></p>
103
+ </div>
104
+ <?php
105
+ }
106
+
107
+ /**
108
+ * Set some options when first activating the plugin via Jetpack.
109
+ *
110
+ * @since 8.9.0
111
+ *
112
+ * @param string $plugin_file Plugin file.
113
+ * @param string $source Where did the plugin installation originate.
114
+ */
115
+ function configure_plugin( $plugin_file, $source ) {
116
+ if ( PLUGIN_FILE !== $plugin_file ) {
117
+ return;
118
+ }
119
+
120
+ $plugin_info = array(
121
+ 'plugin' => 'jetpack',
122
+ 'version' => JETPACK__VERSION,
123
+ 'time' => time(),
124
+ 'source' => esc_attr( $source ),
125
+ );
126
+
127
+ update_option( 'ce4wp_referred_by', $plugin_info );
128
+ }
3rd-party/crowdsignal.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
+ /**
3
+ * Fallback for the Crowdsignal Plugin.
4
+ *
5
+ * The PollDaddy/Crowdsignal prior to v. 2.033 called Jetpack_Sync as long as the Jetpack class was present. This stub is provided to prevent any fatals for older versions of the plugin.
6
+ * This was resolved in 2016, but need to do just a little research before ripping it out.
7
+ *
8
+ * @see https://github.com/Automattic/crowdsignal-plugin/commit/941fc5758152ebf860a14d1cd0058245e8aed86b
9
+ *
10
+ * @package automattic/jetpack
11
+ */
12
+
13
+ /**
14
+ * Stub of Jetpack_Sync for Crowdsignal.
15
+ */
16
+ class Jetpack_Sync {
17
+ /**
18
+ * Stub of sync_options to prevent fatals for Crowdsignal.
19
+ */
20
+ public static function sync_options() {
21
+ _deprecated_function( __METHOD__, 'jetpack-4.2', 'jetpack_options_whitelist filter' );
22
+ }
23
+ }
3rd-party/debug-bar.php CHANGED
@@ -1,4 +1,9 @@
1
  <?php
 
 
 
 
 
2
 
3
  /**
4
  * Checks if the search module is active, and if so, will initialize the singleton instance
@@ -12,7 +17,7 @@ function init_jetpack_search_debug_bar( $panels ) {
12
  return $panels;
13
  }
14
 
15
- require_once dirname( __FILE__ ) . '/debug-bar/class.jetpack-search-debug-bar.php';
16
  $panels[] = Jetpack_Search_Debug_Bar::instance();
17
  return $panels;
18
  }
1
  <?php
2
+ /**
3
+ * 3rd Party integration for Debug Bar.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
 
8
  /**
9
  * Checks if the search module is active, and if so, will initialize the singleton instance
17
  return $panels;
18
  }
19
 
20
+ require_once __DIR__ . '/debug-bar/class-jetpack-search-debug-bar.php';
21
  $panels[] = Jetpack_Search_Debug_Bar::instance();
22
  return $panels;
23
  }
3rd-party/debug-bar/{class.jetpack-search-debug-bar.php → class-jetpack-search-debug-bar.php} RENAMED
@@ -1,4 +1,9 @@
1
  <?php
 
 
 
 
 
2
 
3
  /**
4
  * Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
@@ -55,12 +60,16 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
55
 
56
  wp_enqueue_style(
57
  'jetpack-search-debug-bar',
58
- plugins_url( '3rd-party/debug-bar/debug-bar.css', JETPACK__PLUGIN_FILE )
 
 
59
  );
60
  wp_enqueue_script(
61
  'jetpack-search-debug-bar',
62
  plugins_url( '3rd-party/debug-bar/debug-bar.js', JETPACK__PLUGIN_FILE ),
63
- array( 'jquery' )
 
 
64
  );
65
  }
66
 
@@ -86,13 +95,13 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
86
  return;
87
  }
88
 
89
- $jetpack_search = Jetpack_Search::instance();
90
  $last_query_info = $jetpack_search->get_last_query_info();
91
 
92
  // If not empty, let's reshuffle the order of some things.
93
  if ( ! empty( $last_query_info ) ) {
94
- $args = $last_query_info['args'];
95
- $response = $last_query_info['response'];
96
  $response_code = $last_query_info['response_code'];
97
 
98
  unset( $last_query_info['args'] );
@@ -121,24 +130,24 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
121
  <h2><?php esc_html_e( 'Last query information:', 'jetpack' ); ?></h2>
122
  <?php if ( empty( $last_query_info ) ) : ?>
123
  <?php echo esc_html_x( 'None', 'Text displayed when there is no information', 'jetpack' ); ?>
124
- <?php
125
  else :
126
  foreach ( $last_query_info as $key => $info ) :
127
- ?>
128
  <h3><?php echo esc_html( $key ); ?></h3>
129
- <?php
130
- if ( 'response' !== $key && 'args' !== $key ) :
131
- ?>
132
- <pre><?php print_r( esc_html( $info ) ); ?></pre>
133
- <?php
134
  else :
135
  $this->render_json_toggle( $info );
136
  endif;
137
  ?>
138
- <?php
139
  endforeach;
140
  endif;
141
- ?>
142
  </div><!-- Closes .jetpack-search-debug-bar -->
143
  <?php
144
  }
@@ -150,24 +159,26 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
150
  * @return void
151
  */
152
  public function render_json_toggle( $value ) {
153
- ?>
154
  <div class="json-toggle-wrap">
155
- <pre class="json"><?php
 
156
  // esc_html() will not double-encode entities (&amp; -> &amp;amp;).
157
  // If any entities are part of the JSON blob, we want to re-encoode them
158
  // (double-encode them) so that they are displayed correctly in the debug
159
  // bar.
160
  // Use _wp_specialchars() "manually" to ensure entities are encoded correctly.
161
- echo _wp_specialchars(
162
  wp_json_encode( $value ),
163
  ENT_NOQUOTES, // Don't need to encode quotes (output is for a text node).
164
- 'UTF-8', // wp_json_encode() outputs UTF-8 (really just ASCII), not the blog's charset.
165
- true // Do "double-encode" existing HTML entities
166
  );
167
- ?></pre>
 
168
  <span class="pretty toggle"><?php echo esc_html_x( 'Pretty', 'label for formatting JSON', 'jetpack' ); ?></span>
169
  <span class="ugly toggle"><?php echo esc_html_x( 'Minify', 'label for formatting JSON', 'jetpack' ); ?></span>
170
  </div>
171
- <?php
172
  }
173
  }
1
  <?php
2
+ /**
3
+ * Adds a Jetpack Search debug panel to Debug Bar.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
 
8
  /**
9
  * Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
60
 
61
  wp_enqueue_style(
62
  'jetpack-search-debug-bar',
63
+ plugins_url( '3rd-party/debug-bar/debug-bar.css', JETPACK__PLUGIN_FILE ),
64
+ array(),
65
+ JETPACK__VERSION
66
  );
67
  wp_enqueue_script(
68
  'jetpack-search-debug-bar',
69
  plugins_url( '3rd-party/debug-bar/debug-bar.js', JETPACK__PLUGIN_FILE ),
70
+ array( 'jquery' ),
71
+ JETPACK__VERSION,
72
+ true
73
  );
74
  }
75
 
95
  return;
96
  }
97
 
98
+ $jetpack_search = Jetpack_Search::instance();
99
  $last_query_info = $jetpack_search->get_last_query_info();
100
 
101
  // If not empty, let's reshuffle the order of some things.
102
  if ( ! empty( $last_query_info ) ) {
103
+ $args = $last_query_info['args'];
104
+ $response = $last_query_info['response'];
105
  $response_code = $last_query_info['response_code'];
106
 
107
  unset( $last_query_info['args'] );
130
  <h2><?php esc_html_e( 'Last query information:', 'jetpack' ); ?></h2>
131
  <?php if ( empty( $last_query_info ) ) : ?>
132
  <?php echo esc_html_x( 'None', 'Text displayed when there is no information', 'jetpack' ); ?>
133
+ <?php
134
  else :
135
  foreach ( $last_query_info as $key => $info ) :
136
+ ?>
137
  <h3><?php echo esc_html( $key ); ?></h3>
138
+ <?php
139
+ if ( 'response' !== $key && 'args' !== $key ) :
140
+ ?>
141
+ <pre><?php print_r( esc_html( $info ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions ?></pre>
142
+ <?php
143
  else :
144
  $this->render_json_toggle( $info );
145
  endif;
146
  ?>
147
+ <?php
148
  endforeach;
149
  endif;
150
+ ?>
151
  </div><!-- Closes .jetpack-search-debug-bar -->
152
  <?php
153
  }
159
  * @return void
160
  */
161
  public function render_json_toggle( $value ) {
162
+ ?>
163
  <div class="json-toggle-wrap">
164
+ <pre class="json">
165
+ <?php
166
  // esc_html() will not double-encode entities (&amp; -> &amp;amp;).
167
  // If any entities are part of the JSON blob, we want to re-encoode them
168
  // (double-encode them) so that they are displayed correctly in the debug
169
  // bar.
170
  // Use _wp_specialchars() "manually" to ensure entities are encoded correctly.
171
+ echo _wp_specialchars( // phpcs:ignore WordPress.Security.EscapeOutput
172
  wp_json_encode( $value ),
173
  ENT_NOQUOTES, // Don't need to encode quotes (output is for a text node).
174
+ 'UTF-8', // wp_json_encode() outputs UTF-8 (really just ASCII), not the blog's charset.
175
+ true // Do "double-encode" existing HTML entities.
176
  );
177
+ ?>
178
+ </pre>
179
  <span class="pretty toggle"><?php echo esc_html_x( 'Pretty', 'label for formatting JSON', 'jetpack' ); ?></span>
180
  <span class="ugly toggle"><?php echo esc_html_x( 'Minify', 'label for formatting JSON', 'jetpack' ); ?></span>
181
  </div>
182
+ <?php
183
  }
184
  }
3rd-party/polldaddy.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
-
3
- class Jetpack_Sync {
4
- static function sync_options() {
5
- _deprecated_function( __METHOD__, 'jetpack-4.2', 'jetpack_options_whitelist filter' );
6
- }
7
- }
 
 
 
 
 
 
 
3rd-party/qtranslate-x.php CHANGED
@@ -1,4 +1,10 @@
1
  <?php
 
 
 
 
 
 
2
  /**
3
  * Prevent qTranslate X from redirecting REST calls.
4
  *
@@ -6,7 +12,7 @@
6
  *
7
  * @param string $url_lang Language URL to redirect to.
8
  * @param string $url_orig Original URL.
9
- * @param array $url_info Pieces of original URL.
10
  *
11
  * @return bool
12
  */
1
  <?php
2
+ /**
3
+ * 3rd party integration for qTranslate.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
+
8
  /**
9
  * Prevent qTranslate X from redirecting REST calls.
10
  *
12
  *
13
  * @param string $url_lang Language URL to redirect to.
14
  * @param string $url_orig Original URL.
15
+ * @param array $url_info Pieces of original URL.
16
  *
17
  * @return bool
18
  */
3rd-party/vaultpress.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
 
3
  /**
4
  * Notify user that VaultPress has been disabled. Hide VaultPress notice that requested attention.
@@ -11,9 +18,7 @@ function jetpack_vaultpress_rewind_enabled_notice() {
11
  deactivate_plugins( 'vaultpress/vaultpress.php' );
12
 
13
  // Remove WP core notice that says that the plugin was activated.
14
- if ( isset( $_GET['activate'] ) ) {
15
- unset( $_GET['activate'] );
16
- }
17
  ?>
18
  <div class="notice notice-success is-dismissible vp-deactivated">
19
  <p style="margin-bottom: 0.25em;"><strong><?php esc_html_e( 'Jetpack is now handling your backups.', 'jetpack' ); ?></strong></p>
@@ -22,8 +27,8 @@ function jetpack_vaultpress_rewind_enabled_notice() {
22
  <?php
23
  echo sprintf(
24
  wp_kses(
25
- /* Translators: first variable is the URL of the web site without the protocol, e.g. mysite.com */
26
- __( 'You can access your backups on your site\'s <a href="https://wordpress.com/activity-log/%s" target="_blank" rel="noopener noreferrer">Activity</a> page.', 'jetpack' ),
27
  array(
28
  'a' => array(
29
  'href' => array(),
@@ -32,7 +37,7 @@ function jetpack_vaultpress_rewind_enabled_notice() {
32
  ),
33
  )
34
  ),
35
- esc_attr( Jetpack::build_raw_urls( get_home_url() ) )
36
  );
37
  ?>
38
  </p>
@@ -47,10 +52,11 @@ function jetpack_vaultpress_rewind_enabled_notice() {
47
  * @since 5.8
48
  */
49
  function jetpack_vaultpress_rewind_check() {
50
- if ( Jetpack::is_active() &&
51
- Jetpack::is_plugin_active( 'vaultpress/vaultpress.php' ) &&
52
- Jetpack::is_rewind_enabled()
53
- ) {
 
54
  remove_submenu_page( 'jetpack', 'vaultpress' );
55
 
56
  add_action( 'admin_notices', 'jetpack_vaultpress_rewind_enabled_notice' );
1
  <?php
2
+ /**
3
+ * Handles VaultPress->Rewind transition by deactivating VaultPress when needed.
4
+ *
5
+ * @package automattic/jetpack
6
+ */
7
+
8
+ use Automattic\Jetpack\Redirect;
9
 
10
  /**
11
  * Notify user that VaultPress has been disabled. Hide VaultPress notice that requested attention.
18
  deactivate_plugins( 'vaultpress/vaultpress.php' );
19
 
20
  // Remove WP core notice that says that the plugin was activated.
21
+ unset( $_GET['activate'] ); // phpcs:ignore WordPress.Security.NonceVerification
 
 
22
  ?>
23
  <div class="notice notice-success is-dismissible vp-deactivated">
24
  <p style="margin-bottom: 0.25em;"><strong><?php esc_html_e( 'Jetpack is now handling your backups.', 'jetpack' ); ?></strong></p>
27
  <?php
28
  echo sprintf(
29
  wp_kses(
30
+ /* Translators: first variable is the full URL to the new dashboard */
31
+ __( 'You can access your backups at <a href="%s" target="_blank" rel="noopener noreferrer">this dashboard</a>.', 'jetpack' ),
32
  array(
33
  'a' => array(
34
  'href' => array(),
37
  ),
38
  )
39
  ),
40
+ esc_url( Redirect::get_url( 'calypso-backups' ) )
41
  );
42
  ?>
43
  </p>
52
  * @since 5.8
53
  */
54
  function jetpack_vaultpress_rewind_check() {
55
+ if (
56
+ Jetpack::is_connection_ready() &&
57
+ Jetpack::is_plugin_active( 'vaultpress/vaultpress.php' ) &&
58
+ Jetpack::is_rewind_enabled()
59
+ ) {
60
  remove_submenu_page( 'jetpack', 'vaultpress' );
61
 
62
  add_action( 'admin_notices', 'jetpack_vaultpress_rewind_enabled_notice' );
3rd-party/web-stories.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Compatibility functions for the Web Stories plugin.
4
+ * https://wordpress.org/plugins/web-stories/
5
+ *
6
+ * @since 9.2.0
7
+ *
8
+ * @package automattic/jetpack
9
+ */
10
+
11
+ namespace Automattic\Jetpack\Web_Stories;
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ }
16
+
17
+ /**
18
+ * Filter to enable web stories built in open graph data from being output.
19
+ * If Jetpack is already handling Open Graph Meta Tags, the Web Stories plugin will not output any.
20
+ *
21
+ * @param bool $enabled If web stories open graph data is enabled.
22
+ *
23
+ * @return bool
24
+ */
25
+ function maybe_disable_open_graph( $enabled ) {
26
+ /** This filter is documented in class.jetpack.php */
27
+ $jetpack_enabled = apply_filters( 'jetpack_enable_open_graph', false );
28
+
29
+ if ( $jetpack_enabled ) {
30
+ $enabled = false;
31
+ }
32
+
33
+ return $enabled;
34
+ }
35
+ add_filter( 'web_stories_enable_open_graph_metadata', __NAMESPACE__ . '\maybe_disable_open_graph' );
36
+ add_filter( 'web_stories_enable_twitter_metadata', __NAMESPACE__ . '\maybe_disable_open_graph' );
3rd-party/woocommerce-services.php CHANGED
@@ -39,12 +39,20 @@ class WC_Services_Installer {
39
  * Constructor
40
  */
41
  public function __construct() {
42
- $this->jetpack = Jetpack::init();
43
-
44
  add_action( 'admin_init', array( $this, 'add_error_notice' ) );
45
  add_action( 'admin_init', array( $this, 'try_install' ) );
46
  }
47
 
 
 
 
 
 
 
 
 
 
48
  /**
49
  * Verify the intent to install WooCommerce Services, and kick off installation.
50
  */
@@ -118,22 +126,14 @@ class WC_Services_Installer {
118
  * @return bool result of installation
119
  */
120
  private function install() {
121
- include_once ABSPATH . '/wp-admin/includes/admin.php';
122
- include_once ABSPATH . '/wp-admin/includes/plugin-install.php';
123
- include_once ABSPATH . '/wp-admin/includes/plugin.php';
124
- include_once ABSPATH . '/wp-admin/includes/class-wp-upgrader.php';
125
- include_once ABSPATH . '/wp-admin/includes/class-plugin-upgrader.php';
126
-
127
- $api = plugins_api( 'plugin_information', array( 'slug' => 'woocommerce-services' ) );
128
 
129
- if ( is_wp_error( $api ) ) {
130
  return false;
 
 
131
  }
132
-
133
- $upgrader = new Plugin_Upgrader( new Automatic_Upgrader_Skin() );
134
- $result = $upgrader->install( $api->download_link );
135
-
136
- return true === $result;
137
  }
138
 
139
  /**
39
  * Constructor
40
  */
41
  public function __construct() {
42
+ add_action( 'jetpack_loaded', array( $this, 'on_jetpack_loaded' ) );
 
43
  add_action( 'admin_init', array( $this, 'add_error_notice' ) );
44
  add_action( 'admin_init', array( $this, 'try_install' ) );
45
  }
46
 
47
+ /**
48
+ * Runs on Jetpack being ready to load its packages.
49
+ *
50
+ * @param Jetpack $jetpack object.
51
+ */
52
+ public function on_jetpack_loaded( $jetpack ) {
53
+ $this->jetpack = $jetpack;
54
+ }
55
+
56
  /**
57
  * Verify the intent to install WooCommerce Services, and kick off installation.
58
  */
126
  * @return bool result of installation
127
  */
128
  private function install() {
129
+ jetpack_require_lib( 'plugins' );
130
+ $result = Jetpack_Plugins::install_plugin( 'woocommerce-services' );
 
 
 
 
 
131
 
132
+ if ( is_wp_error( $result ) ) {
133
  return false;
134
+ } else {
135
+ return true;
136
  }
 
 
 
 
 
137
  }
138
 
139
  /**
3rd-party/woocommerce.php CHANGED
@@ -1,9 +1,17 @@
1
  <?php
2
  /**
3
  * This file contains compatibility functions for WooCommerce to improve Jetpack feature support.
 
 
4
  */
 
5
  add_action( 'woocommerce_init', 'jetpack_woocommerce_integration' );
6
 
 
 
 
 
 
7
  function jetpack_woocommerce_integration() {
8
  /**
9
  * Double check WooCommerce exists - unlikely to fail due to the hook being used but better safe than sorry.
@@ -23,14 +31,14 @@ function jetpack_woocommerce_integration() {
23
  }
24
  }
25
 
26
- /*
27
  * Make sure the social sharing icons show up under the product's short description
28
  */
29
  function jetpack_woocommerce_social_share_icons() {
30
  if ( function_exists( 'sharing_display' ) ) {
31
  remove_filter( 'the_content', 'sharing_display', 19 );
32
  remove_filter( 'the_excerpt', 'sharing_display', 19 );
33
- echo sharing_display();
34
  }
35
  }
36
 
@@ -57,7 +65,7 @@ add_action( 'loop_start', 'jetpack_woocommerce_remove_share' );
57
  /**
58
  * Add a callback for WooCommerce product rendering in infinite scroll.
59
  *
60
- * @param array $callbacks
61
  * @return array
62
  */
63
  function jetpack_woocommerce_infinite_scroll_render_callback( $callbacks ) {
@@ -87,19 +95,35 @@ function jetpack_woocommerce_infinite_scroll_render() {
87
  * Basic styling when infinite scroll is active only.
88
  */
89
  function jetpack_woocommerce_infinite_scroll_style() {
90
- $custom_css = "
91
  .infinite-scroll .woocommerce-pagination {
92
  display: none;
93
- }";
94
  wp_add_inline_style( 'woocommerce-layout', $custom_css );
95
  }
96
 
 
 
 
97
  function jetpack_woocommerce_lazy_images_compat() {
98
- wp_add_inline_script( 'wc-cart-fragments', "
 
 
99
  jQuery( 'body' ).bind( 'wc_fragments_refreshed', function() {
100
- jQuery( 'body' ).trigger( 'jetpack-lazy-images-load' );
 
 
 
 
 
 
 
 
 
 
101
  } );
102
- " );
 
103
  }
104
 
105
  add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_lazy_images_compat', 11 );
1
  <?php
2
  /**
3
  * This file contains compatibility functions for WooCommerce to improve Jetpack feature support.
4
+ *
5
+ * @package automattic/jetpack
6
  */
7
+
8
  add_action( 'woocommerce_init', 'jetpack_woocommerce_integration' );
9
 
10
+ /**
11
+ * Loads JP+WC integration.
12
+ *
13
+ * Fires on `woocommerce_init` hook
14
+ */
15
  function jetpack_woocommerce_integration() {
16
  /**
17
  * Double check WooCommerce exists - unlikely to fail due to the hook being used but better safe than sorry.
31
  }
32
  }
33
 
34
+ /**
35
  * Make sure the social sharing icons show up under the product's short description
36
  */
37
  function jetpack_woocommerce_social_share_icons() {
38
  if ( function_exists( 'sharing_display' ) ) {
39
  remove_filter( 'the_content', 'sharing_display', 19 );
40
  remove_filter( 'the_excerpt', 'sharing_display', 19 );
41
+ sharing_display( '', true );
42
  }
43
  }
44
 
65
  /**
66
  * Add a callback for WooCommerce product rendering in infinite scroll.
67
  *
68
+ * @param array $callbacks Array of render callpacks for IS.
69
  * @return array
70
  */
71
  function jetpack_woocommerce_infinite_scroll_render_callback( $callbacks ) {
95
  * Basic styling when infinite scroll is active only.
96
  */
97
  function jetpack_woocommerce_infinite_scroll_style() {
98
+ $custom_css = '
99
  .infinite-scroll .woocommerce-pagination {
100
  display: none;
101
+ }';
102
  wp_add_inline_style( 'woocommerce-layout', $custom_css );
103
  }
104
 
105
+ /**
106
+ * Adds compat for WooCommerce and Lazy Loading.
107
+ */
108
  function jetpack_woocommerce_lazy_images_compat() {
109
+ wp_add_inline_script(
110
+ 'wc-cart-fragments',
111
+ "
112
  jQuery( 'body' ).bind( 'wc_fragments_refreshed', function() {
113
+ var jetpackLazyImagesLoadEvent;
114
+ try {
115
+ jetpackLazyImagesLoadEvent = new Event( 'jetpack-lazy-images-load', {
116
+ bubbles: true,
117
+ cancelable: true
118
+ } );
119
+ } catch ( e ) {
120
+ jetpackLazyImagesLoadEvent = document.createEvent( 'Event' )
121
+ jetpackLazyImagesLoadEvent.initEvent( 'jetpack-lazy-images-load', true, true );
122
+ }
123
+ jQuery( 'body' ).get( 0 ).dispatchEvent( jetpackLazyImagesLoadEvent );
124
  } );
125
+ "
126
+ );
127
  }
128
 
129
  add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_lazy_images_compat', 11 );
3rd-party/wpml.php CHANGED
@@ -1,6 +1,8 @@
1
  <?php
2
  /**
3
  * Only load these if WPML plugin is installed and active.
 
 
4
  */
5
 
6
  /**
@@ -17,13 +19,11 @@ add_action( 'wpml_loaded', 'wpml_jetpack_init' );
17
  /**
18
  * Filter the Top Posts and Pages by language.
19
  *
20
- * @param array $posts Array of the most popular posts.
21
- * @param array $post_ids Array of Post IDs.
22
- * @param string $count Number of Top Posts we want to display.
23
  *
24
  * @return array
25
  */
26
- function wpml_jetpack_widget_get_top_posts( $posts, $post_ids, $count ) {
27
  global $sitepress;
28
 
29
  foreach ( $posts as $k => $post ) {
@@ -42,13 +42,12 @@ function wpml_jetpack_widget_get_top_posts( $posts, $post_ids, $count ) {
42
  /**
43
  * Filter the HTML of the Contact Form and output the one requested by language.
44
  *
45
- * @param string $r Contact Form HTML output.
46
- * @param string $field_label Field label.
47
- * @param int|null $id Post ID.
48
  *
49
  * @return string
50
  */
51
- function grunion_contact_form_field_html_filter( $r, $field_label, $id ){
52
  global $sitepress;
53
 
54
  if ( function_exists( 'icl_translate' ) ) {
1
  <?php
2
  /**
3
  * Only load these if WPML plugin is installed and active.
4
+ *
5
+ * @package automattic/jetpack
6
  */
7
 
8
  /**
19
  /**
20
  * Filter the Top Posts and Pages by language.
21
  *
22
+ * @param array $posts Array of the most popular posts.
 
 
23
  *
24
  * @return array
25
  */
26
+ function wpml_jetpack_widget_get_top_posts( $posts ) {
27
  global $sitepress;
28
 
29
  foreach ( $posts as $k => $post ) {
42
  /**
43
  * Filter the HTML of the Contact Form and output the one requested by language.
44
  *
45
+ * @param string $r Contact Form HTML output.
46
+ * @param string $field_label Field label.
 
47
  *
48
  * @return string
49
  */
50
+ function grunion_contact_form_field_html_filter( $r, $field_label ) {
51
  global $sitepress;
52
 
53
  if ( function_exists( 'icl_translate' ) ) {
CHANGELOG.md ADDED
@@ -0,0 +1,5366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ ### This is a list detailing changes for all Jetpack releases.
4
+
5
+ ## 9.8.1 - 2021-06-08
6
+ ### Bug fixes
7
+ - Carousel: avoid JavaScript errors when trying to load the Carousel view when logged out of your WordPress site.
8
+ - Related Posts: avoid squished images when image height isn't defined.
9
+ - Story Block: allow multiple stories per post.
10
+ - Story Block: allow selecting additional media items in media picker instead of only replacing the existing selection.
11
+
12
+ ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
13
+ - Obtain lock before performing autoupdates.
14
+
15
+ ## 9.8 - 2021-06-01
16
+ ### Enhancements
17
+ - Contact Form: the "Feedback > Export CSV" submenu entry has been removed. The export functionality is still available in "Feedback > Form Responses".
18
+ - Form block: allow replacing the "Message Sent" heading with custom phrase.
19
+ - Instagram Reel: add oEmbed support for Instagram Reel posts.
20
+ - Instant Search: add 'open when visitor submits the form' overlay trigger.
21
+ - Instant Search: apply configured highlight color to text highlights.
22
+ - Site Verification Tools: adds an option for Facebook domain verification.
23
+ - Story Block: add new block that enables you to use photos and videos to create engaging and tappable fullscreen slideshows.
24
+
25
+ ### Improved compatibility
26
+ - Blocks: ensure blocks are compatible with upcoming Full Site Editor feature.
27
+ - Blocks: ensure tiled gallery and slideshow blocks do not output invalid CSS when used with AMP plugin.
28
+ - Dashboard: hide Settings page for non-admin users when in site-only connection.
29
+ - Instant Search: ensure search input is the correct width if an input max-width has been specified in the theme.
30
+ - Related Posts: add height attribute to post images for better compatibility with page performance analysis tools.
31
+ - Related Posts: avoid Fatal Errors when using plugins that may interact with WordPress' customizer in specific ways.
32
+ - SEO Tools: ensure Jetpack SEO does not conflict with SEOPress.
33
+ - Story Block: Improve accessibility and resolve z-index issues when playing in fullscreen.
34
+
35
+ ### Bug fixes
36
+ - Carousel: harden fetching comments in Carousel view.
37
+ - Contact Form: remove double quotes from names in email headers to improve compatibility with different emailing solutions for WordPress.
38
+ - Dashboard: display the Sharing settings tab when editors only need to customize Publicize settings for their own account.
39
+ - Dashboard: do not display Protect card for non-admin users while in site-only connection.
40
+ - Dashboard: do not show multiple connection prompts in the Publicize settings card.
41
+ - Dashboard: ensure connected user details properly displayed.
42
+ - Dashboard: ensure that the Jetpack settings page can be accessed when using Jetpack's Offline mode.
43
+ - Fixed regression introduced in posts page icon notification WP-Admin edit.php page.
44
+ - General: ensures that the send_auth_cookies filter is respected.
45
+ - Instant Search: don't photon-ize SVG images as they're not supported by Photon
46
+ - Instant Search: fixes for design conflicts.
47
+ - Instant Search: prevent standard sidebar widgets ending up in the search modal sidebar when switching themes.
48
+ - Social Previews: don't show duplicate buttons when a featured image is selected.
49
+ - Stats: fixes the date used to fetch the Top posts in the Top posts dashboard widget.
50
+
51
+ ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
52
+ - Add an API function to get hub a P2 hub id.
53
+ - Add a way to connect E2E sites headlessly
54
+ - Add REST API v2 endpoint for editing transients.
55
+ - Adds Advanced General menu item that points to WP Admin regardless of whether the Advanced Dashboard toggle is enabled or not.
56
+ - Add upsell nudges in sidebar for WordPress.com users.
57
+ - Add userless and classic connection tests
58
+ - Admin Pages: prompt connect instead of upgrade when WordPress.com account is not connected
59
+ - Business Hours Block: Add server rendered PHP fixtures test.
60
+ - Calendly block: add target existence check before running init scripts
61
+ - Changing the WPCOM subscription email control type from 'text' to 'email'.
62
+ - Clicking the Write button in masterbar will now use WP Admin block editor.
63
+ - Comment: Story block: Add more media options to choose from in the editor
64
+ - Comment: Story Block: Improve rendering in email notifications
65
+ - Comment: Story Block: Use CSS scale3d() instead of scale()
66
+ - Connection package independence: Filters the remote_register XMLRPC endpoint redirect URI
67
+ - Connection package independence: Move a Jetpack specfic connection routine out of the package and into the plugin
68
+ - Disabled editing and deleting pages in WP-Admin Pages list screen for the page that is configured as a Posts page.
69
+ - E2E: Fix wp-config setup script to match latest core changes
70
+ - E2E tests: Change the timeout to wait for loading animation in connection frame, before the approve button is displayed.
71
+ - E2E tests: fixed typo in help of infrastructure script
72
+ - E2E tests: fix for failing test when Mailchimp is already set up
73
+ - E2E tests: fix Slack notification for scheduled jobs
74
+ - E2E tests: generate Allure results
75
+ - E2E tests: group test runs in CI
76
+ - E2E tests: improved Slack notifications
77
+ - E2E tests: Increase timeout for loading animation on connection flow
78
+ - E2E tests: runner groups
79
+ - E2E tests: use github object to get context info for slack notification
80
+ - Enable the Plans tab for unlinked users
81
+ - Ensure that the WPCOM toolbar remains enabled with AMP in wp-admin
82
+ - Ensure video/videopress mime type is set on attachments when a videopress update xmlrpc call is received
83
+ - Fixed compatibility issue with Page Optimize plugin for RTL layouts for jetpack-admin-menu and colors stylesheets
84
+ - Fixed new PHPCS errors.
85
+ - Fixed the Upgrades, Jetpack and Settings menu item slugs in WP-Admin
86
+ - Fix LEGACY_META_OPTION handling for WPcom simple sites
87
+ - Fix Notice: Undefined variable: poster_url
88
+ - Fix plan name display in Upgrades menu entry for translations with spaces or non-Latin characters
89
+ - Fix the height of the User Authentication Dialog on the dashboard
90
+ - For users that are able to update the `LEGACY_META_OPTION` option, avoid trying to update `TITLE_FORMATS_OPTION` which would display an 403 in Calypso.
91
+ - Hide plan links for P2 sites that can't have plans
92
+ - Hide plan link to email plan for P2 sites
93
+ - Hide the FAB icon on Yoast admin pages to avoid overlap with the Yoast help icon.
94
+ - Hook into the Connection package remote_connect to perform Jetpack specific routines
95
+ - Increase the priority of the Subscriptions block
96
+ - jetpack disconnect CLI command: Add support to delete the connection owner and improve error message
97
+ - JITM: remove unnecessary add_filter calls for the JITM filters.
98
+ - jp-tracks-functions script moved to Tracking package.
99
+ - No changelog needed, this is a fix for a Calypso feature that has not been enabled yet
100
+ - Offer features depending on the current plan of the site rather on the current platform of the site.
101
+ - Paid blocks: Remove nested upgrade nudges on the frontend.
102
+ - Premium Content blocks: Fix parent block selector button when premium content blocks are nested within other blocks.
103
+ - Refactored to improve testability. No functionality is affected.
104
+ - Remove "user-less" jargon from code
105
+ - Remove CodeClimate
106
+ - Removed the carousel reblog functionality (unused in Jetpack).
107
+ - Removed use of experimental feature and replaced with new `useBlockProps` hook to ensure video block continues to function correctly
108
+ - Remove onboarding_token logic in the Remote provision XMLRPC method from the Connection package and add it to the Jetpack plugin
109
+ - Replace user locale with WordPress.com user locale on Atomic.
110
+ - Search: added search happy route E2E tests
111
+ - Simplify wpcom/v2 delete transient endpoint logic.
112
+ - Standardize wording for connecting the user.
113
+ - Story block: address minor display issues
114
+ - Story block: fix edit button in the block's toolbar to use the pencil icon instead of Select Media text
115
+ - Story Block: Fix syncing muted state
116
+ - Story Block: Fix video not loading on safari and Chrome iOS
117
+ - Turns off css tidy shorthand optimization to prevent clashes with gutenberg block validation
118
+ - Updated Jetpack_Google_Analytics to use static property $analytics
119
+ - Updated package dependencies
120
+ - update jetpack-redirect dependency
121
+ - Update logic for showing a Redirect flag in the sidebar
122
+ - Update Sync Connection Tests to utilize fix nomenclature
123
+ - Update Sync unit tests to align with new return format of get_object_by_id.
124
+ - Update the priority for overriding unified nav styles.
125
+ - Update the required version of "connection-ui" package.
126
+ - WordPress.com API: allow switching from locale variant to primary in Site Settings endpoint.
127
+
128
+ ## 9.7-beta - 2021-04-27
129
+ ### Enhancements
130
+ - Blocks: improve test coverage for better reliability of each one of Jetpack's blocks.
131
+ - Carousel: improve general performance.
132
+ - Dashboard: add explanation when a feature is unavailable.
133
+ - Dashboard: improve the display of buttons in the update modal.
134
+ - Jetpack Videos: add "Play Inline" setting to play a video inline instead of full-screen on mobile devices when enabled.
135
+ - SEO Tools: improve usability of settings interface.
136
+ - Widgets: improve message displayed in Blog Stats Widget when there are no stats to display.
137
+ - WordAds: add Global Privacy Control (GPC) support to CCPA.
138
+
139
+ ### Improved compatibility
140
+ - Blocks: continous work to ensure full compatibility between Jetpack's Blocks and WordPress' upcoming Full Site Editing feature.
141
+ - Featured Content: avoid PHP warnings when terms are fetched without a taxonomy to filter by.
142
+ - Feature Hints: avoid Fatal errors when other plugins filter the plugin list.
143
+ - General: improvements to bring multiple features up to WordPress coding standards.
144
+ - Publicize: update Twitter text processing library to avoid errors when using PHP 8.
145
+ - Sharing: avoid broken sharing icons when using IE11 and the legacy AMP plugin's theme.
146
+
147
+ ### Bug fixes
148
+ - Image CDN: correct image URLs in srcset in certain cases.
149
+ - Instant Search: enable link filtering on built-in WordPress taxonomies.
150
+ - Instant Search: fix handling of customizer controls using refresh.
151
+ - Instant Search: fix race condition for API responses.
152
+ - Instant Search: prevent excluding all post types.
153
+ - Instant Search: set the number of returned posts using the query's `posts_per_page` value.
154
+ - Instant Search: improve settings interface usability.
155
+ - Markdown: fix regression that broke links with single-quoted href attributes.
156
+ - Sharing / Publicize: properly encode URLs in Open Graph tags.
157
+
158
+ ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
159
+ - Account for Categories and Tags in nav unification
160
+ - Adds segmentation "from" parameter to the registration request
161
+ - Always use WP Admin for comments in Atomic sites.
162
+ - Change copy on in-place connection title to match user-less behavior
163
+ - Add e2e test to cover Jetpack Assistant's (Recommendations) main flow
164
+ - Add field for zendesk meta in /me/sites API for mobile apps
165
+ - Add unit tests to cover the functionality of each step of the assistant
166
+ - Autoloader: Use a different suffix for each release to fix #19472.
167
+ - Avoid PHP Notices in jetpack_blog_display_custom_excerpt() when run outside of the loop / without post context.
168
+ - Calypso's Tool -> Export menu now honors the 'Show advanced dashboard pages' setting
169
+ - Changelog: update with latest changes that were cherry-picked to 9.6 during Beta period.
170
+ - Change the command to build Jetpack in E2E tests Github action workflow
171
+ - Connection: moving the registration REST endpoint to the Connection package.
172
+ - Docs: fix typos in E2E README
173
+ - Do not load modules that require a user when in user-less state
174
+ - E2E tests: fixed hover action
175
+ - E2E tests: publish Testspace results in folders
176
+ - In-Place Connection: partially replace the secondary users connection flow with `InPlaceConnection` component from `@automattic/jetpack-connection` package.
177
+ - Jetpack Assistant: Add the product slug to the events dispatched when users see and click the product being upsold
178
+ - Licenses: show the license-aware version of the Connection banner when there is a userless connection established and there are stored licenses.
179
+ - Licenses: hide the Recommendations banner when the Connection banner is visible.
180
+ - Move JITM's REST API endpoints into the package
181
+ - Nav Unification: Remove Sharing submenu option from settings menu for wpcom sites.
182
+ - Nav unification: sync sidebar collapsed state with wpcom.
183
+ - Nav unification: updated the Jetpack admin menu logo SVG for increased compatibility with colour schemes
184
+ - Nav Unification: Always show the Theme Showcase (wordpress.com/themes) to WP.com free sites.
185
+ - Nav Unification: remove the box-shadow at the top of the Sidebar.
186
+ - Refactored the menu and submenu items replacement for nav unification
187
+ - Remove broken link to Scan details on Atomic sites
188
+ - Replaced the string "Add new site" to "Add new site" on masterbar and corrected the unit tests.
189
+ - Reassign $submenu_file value as null for theme-install.php so correct menu item Add New Theme is highlighted in admin menu.
190
+ - Record stat of the first time the site is registered
191
+ - Replace fragile element selectors with a more robust version of themselves
192
+ - REST API: Allow site-level authentication on plugins, themes, modules endpoints
193
+ - REST API: Add list modules v1.2 endpoint.
194
+ - Removing the password-checker package from the Jetpack plugin composer.json file.
195
+ - Sanitize the hookname used to generate menu item IDs
196
+ - Show current WPCOM plan in sidebar menu item "Upgrades" when nav unification is enabled.
197
+ - Update prepare_menu_item_url in admin menu API to replace special characters in URLs with their HTML entities such as ampersand (e.g. convert &amp; to &).
198
+ - Updated package dependencies.
199
+ - WordAds: add translated text for use with inline and sticky slots
200
+ - WordAds: use WPCOM hosting type for Atomic sites
201
+
202
+ ## 9.6.1 - 2021-04-13
203
+ ### Bug fixes
204
+ - Connection tools: safeguard cleanup tool against accidental option removal.
205
+ - Dashboard: fix loading indicator styles by deprecating our custom solution in favor of WordPress Core's Spinner.
206
+ - Instant Search: fix Customizer and styling bugs introduced in 9.6.
207
+ - Instant Search: Handle pagination edge-case with excluded post types.
208
+ - Sharing: ensure the feature can be used when Jetpack is used in Offline mode.
209
+ - Stats: Fix time period selection on the stats page.
210
+
211
+ ### Other
212
+ - Admin Menu: Centralize class loading in Jetpack codebase.
213
+ - Admin Menu: Fix the display of the Links Manager.
214
+ - Cover block: fix paid-block-media-placeholder interference with flex positioning.
215
+ - Remove outdated reference to SEO as a paid feature in readme.txt.
216
+
217
+ ## 9.6 - 2021-04-06
218
+ ### Enhancements
219
+ - Beautiful Math: remove title attribute from generated image.
220
+ - Blocks: add width option to buttons in Subscriptions, Revue, Form, Calendly, and Payments blocks.
221
+ - Blocks: improve reliability of all blocks via unit tests.
222
+ - Dashboard: add new options to customize SEO settings.
223
+ - Dashboard: add new option to input license key.
224
+ - Dashboard: update recommmendations notice to improve accessibility.
225
+ - General: allow the use of some Jetpack features without connecting to a WordPress.com account.
226
+ - Instant Search: add a new result format layout, for sites using WooCommerce.
227
+ - Instant Search: improve performance thanks to lazily loading.
228
+ - Instant Search: only use site accelerator for displaying images if it is enabled on the site.
229
+ - Instant Search: update the search modal design.
230
+ - Jetpack Videos: improve the display of transcoding status for newly uploaded videos.
231
+ - Podcast Player Block: improve fetching of the podcast description.
232
+ - Syncrhonization: add new sync/health endpoint to allow update of the sync health options.
233
+
234
+ ### Improved compatibility
235
+ - Auto-updates: respect auto-update constant/filters in plugin API endpoints.
236
+ - Autoloader: fix uninstallation fatal.
237
+ - General: update colors to match dashboard color changes in WordPress 5.7.
238
+ - Gravatar Hovercards: fix compatibility with the AMP plugin for Pingbacks and Trackbacks.
239
+ - Latest Instagram Posts Block: improve compatibility with Gutenberg 10.1.0.
240
+ - Markdown: avoid processing URLs that may include Markdown syntax.
241
+ - Opentable Block: improve compatibility with Gutenberg 10.1.0.
242
+ - Podcast Player Block: fix compatibility with the AMP plugin in the Customizer preview.
243
+ - Podcast Player Block: improve compatibility with Gutenberg 10.1.0.
244
+ - Synchronization: avoid issues with themes or plugins using anonymous functions within hooks.
245
+
246
+ ### Bug fixes
247
+ - Connection Flow: resolve issue that prevented connections from the Opera browser.
248
+ - Custom Content Types: fix inline quick editing of Restaurant menu items.
249
+ - Instant Search: ensure Escape key always closes search modal.
250
+ - Instant Search: fix an issue that led to a PHP notice for undefined index.
251
+ - Instant Search: Fix modal opening bug within the Customizer.
252
+ - Instant Search: fix handling of Customizer controls using refresh.
253
+ - Instant Search: fix visibility of filter checkboxes in Safari on Twenty Twenty and Twenty Twenty One themes.
254
+ - Instant Search: hide "filters" menu on mobile if there are no filters to display.
255
+ - Instant Search: prevent IE11 from spawning overlay on load.
256
+ - Publicize: avoid notices as embeds are added to a post.
257
+ - Recommendations: when enabling Site Accelerator, also enable Tiled Galleries.
258
+ - Sharing: omit Open Graph description tag from posts with Premium Content.
259
+ - Site Logo: fix issues when updating logo in the Customizer.
260
+ - Star Rating Block: allow 0 stars to be selected.
261
+ - Subscriptions Block: allow block to override color styles, falling back to theme defaults.
262
+ - Tiled Gallery: prevent block validation errors for mosaic and column layouts.
263
+ - Video Block: display fallback when fetching videos that have been deleted.
264
+ - WordPress.com Block Editor: disable if all Jetpack blocks are disabled via a filter.
265
+ - WordPress.com REST API: make sure post metadata is always an array.
266
+
267
+ ### Other
268
+ - Admin Page: Do not show an error message with JSONP is disabled. The admin page does not use it.
269
+ - Readme: update link to changelog file. No changelog entry necessary.
270
+
271
+ ## 9.5.2 - 2021-03-16
272
+ ### Improved compatibility
273
+ - Block Editor: avoid conflicts between multiple Jetpack blocks and Gutenberg version 10.1.0.
274
+
275
+ ### Bug fixes
276
+ - Instant Search: prevent IE11 from spawning overlay on load.
277
+ - WordPress.com Toolbar and customizations: fix multiple issues causing navigation panel discrepancies between the WP-Admin dashboard and the WordPress.com dashboard.
278
+
279
+ ## 9.5.1 - 2021-03-04
280
+ ### Bug fixes
281
+ - Sharing: avoid potential conflicts with the Blog Posts Block from Newspack.
282
+ - Subscriptions Block: avoid validation errors when customizing font size on a site using the Gutenberg plugin.
283
+
284
+ ## [9.5] - 2021-03-02
285
+ ### Enhancements
286
+ - Carousel: improve the experience on mobile devices by allowing touch events (pinch, zoom).
287
+ - Instant Search: improve the design of the Search modal.
288
+ - Instant Search: open search result links in the current window rather than opening a new one.
289
+ - Podcast Player Block: allow filtering the number of tracks returned when fetching new podcast episodes.
290
+ - Podcast Player Block: add publication date to the data returned when fetching new podcast episodes.
291
+ - Recommendations: add a dashboard banner to help users discover the best Jetpack features.
292
+ - Related Posts: improve performance by removing jQuery dependency.
293
+ - SEO Tools: make the feature available for all sites.
294
+ - Social Icons Widget: add new icons.
295
+ - Social Menu: add new icons.
296
+ - Synchronization: improve reliability of data by excluding blocked taxonomies.
297
+ - Tiled Galleries: improve performance by removing jQuery dependency.
298
+ - Video Block: add support for custom video player progress bar colors.
299
+ - Widgets: display notice in the customizer when one needs to connect their account before using the Instagram widget.
300
+
301
+ ### Improved compatibility
302
+ - Block Editor: update all blocks to be fully compatible with WordPress 5.7.
303
+ - General: Jetpack now requires WordPress 5.6, and is fully compatible with WordPress 5.7.
304
+ - Protect: ensure that the blocked login page is fully compatible with the Robots API changes introduced in WordPress 5.7.
305
+
306
+ ### Bug fixes
307
+ - Autoloader: prevent transitive plugin execution.
308
+ - Carousel: ensure that the Carousel view is available regardless of your gallery's link settings.
309
+ - Comments: improve respect for the Core moderation option in particular cases.
310
+ - Connection flow: ensuring Jetpack Dashboard successfully loads after reconnect.
311
+ - Cookies & Consent Widget: ensure the widget can be edited from the new block-based widget editor.
312
+ - Custom Content Types: allow Newspack's Blog Posts block to display Testimonial and Portfolio posts.
313
+ - Dashboard: improve performance by reducing excessive API calls.
314
+ - Dashboard: improve product upgrade flow for non-connected Jetpack users.
315
+ - Instant Search: fix closing of the overlay using the Escape key in IE11.
316
+ - Instant Search: improve compatibility with browser forward/back navigation.
317
+ - Instant Search: avoid issues when changes made in customizer would not immediately appear in preview.
318
+ - Jetpack Videos: fix responsiveness of Video poster images.
319
+ - Map Block: avoid issues when resize event listener was not removed when the component was unmounted.
320
+ - Markdown: avoid filters loading too early when creating a new site within a Multisite network.
321
+ - Payments Block: avoid layout issues when setting up a new payment plan.
322
+ - Pay With Paypal Block: ensure that line breaks can be used in product description.
323
+ - Secure Sign On: improve the connection flow when users first log in via SSO.
324
+ - Sharing: avoid displaying block content in Open Graph Meta tags when not needed.
325
+ - Sharing: ensure that sharing popup opens properly in Firefox.
326
+ - Shortcodes: use arguments provided by shortcode attributes for the Instagram embeds.
327
+ - Video Block: avoid potential PHP notice when working with Jetpack Videos.
328
+ - WhatsApp block: adjust width of block options toolbar.
329
+
330
+ ## 9.4.1 - 2021-02-16
331
+ ### Bug fixes
332
+ - Carousel: ensure that the Carousel view is available regardless of your gallery's link settings.
333
+ - Dashboard: improve performance by reducing excessive API calls.
334
+ - Payments Block: avoid layout issues when setting up a new payment plan.
335
+
336
+ ## [9.4] - 2021-02-02
337
+ ### Enhancements
338
+ - Dashboard: add new Recommendations page to help you get started with recommended features of Jetpack.
339
+ - Dashboard: change the development notice link to an external link.
340
+ - Podcast Player Block: add skip back/forward buttons.
341
+ - Podcast Player Block: improve RSS feed detection.
342
+ - Sharing: remove jQuery dependency to improve performance of the sharing buttons.
343
+ - Sharing: improve performance of the Email Sharing button by lazy-loading the Google reCAPTCHA when necessary.
344
+ - Social Menu: add Patreon icon.
345
+ - Synchronization with WordPress.com: improve the validation of field names when calculating checksums on tables.
346
+ - Synchronization Performance: reduce concurrency of requests by implementation of Retry-After for concurrent requests.
347
+ - Widgets: add Patreon icon to Social Icons Widget.
348
+ - WordPress.com REST API: add new Cloudflare Analytics field option.
349
+
350
+ ### Improved compatibility
351
+ - Form Block: avoid display issues when submitting a form within an AMP view.
352
+ - Instant Search: improve support for older browsers such as Internet Explorer 11.
353
+ - Secure Sign On: support custom login page plugins such as WPS Hide Login.
354
+ - Tiled Gallery Block: add additional CSS classes to improve compatibility with the Core Gallery block.
355
+
356
+ ### Bug fixes
357
+ - Autoloader: resolve inconsistencies when including a cache supporting autoloader from one without cache support.
358
+ - Contact Form: prevent post status transition actions from firing twice when the post status is changed.
359
+ - Crowdsignal: avoid issues when using a Crowdsignal shortcode in the block editor.
360
+ - Jetpack Video Block: avoid block validation errors when editing existing content.
361
+ - Jetpack Video Block: add missing alignment classes.
362
+ - Publicize: allow clearing Publicize custom message if a post title has been set.
363
+ - Stats: update dashboard widget to respect new dashboard widget markup.
364
+ - Subcriptions Block: avoid errors when displayed within a Disabled context, such as a block or pattern preview.
365
+ - Synchronization with WordPress.com: avoid PHP warnings.
366
+ - Synchronization with WordPress.com: fix potential PHP notices when making XMLRPC requests.
367
+ - WordPress.com REST API: fix PHP notice when fetching user connection data without a connection owner.
368
+
369
+ ## 9.3.1 - 2021-01-14
370
+ ### Bug fixes
371
+ - Multisite: avoid Fatals on sites using the WPMUDEV domain mapping plugin.
372
+ - SEO Tools: prevent a PHP notice in some situations involving taxonomy or author pages.
373
+
374
+ ## [9.3] - 2021-01-12
375
+ ### Enhancements
376
+ - Autoloader: improve performance by caching known plugins.
377
+ - Instant Search: improve compatibility with IE11.
378
+ - Related Posts: use the semantic time element when displaying dates.
379
+ - Sharing: defer loading of the reCAPTCHA library by default.
380
+
381
+ ### Improved compatibility
382
+ - AMP: avoid PHP notice on sites using legacy versions of the AMP plugin.
383
+ - Dashboard: avoid errors on sites using PHP 8.
384
+ - General: use modern JavaScript best practices for loading scripts.
385
+ - Infinite Scroll: add compatibility for the TwentyTwentyOne theme.
386
+ - Search: improve styling for the TwentyTwenty theme.
387
+ - Synchronization: improve integrity of synchronization between your site and WordPress.com.
388
+ - WordPress.com Toolbar: iterate on the design and functionality of the toolbar to match the toolbar in use on WordPress.com.
389
+
390
+ ### Bug fixes
391
+ - Autoloader: resolve symbolic links in active plugin paths.
392
+ - Autoloader: ensure deactivating plugins aren't cached.
393
+ - Blocks: improve sidebar display in non-fullscreen mode.
394
+ - Content Options: do not output CSS when it is not needed.
395
+ - Instant Search: improve display of tags and categories in search results.
396
+ - Lazy Images: attempt to load all images when printing a post, and inform the user when printing if images haven't been loaded.
397
+ - Podcast Player Block: avoid PHP notices in some scenarios.
398
+ - Search: limit number of filters automatically set up.
399
+ - Slideshow Block: ensure that image captions are always shown, regardless of the theme you're using.
400
+ - Subscription Block: display the correct default placeholder and button text strings in the post editor.
401
+ - Subscriptions: fix the behavior of the toggle switches for the comment subscription settings.
402
+ - Twitter Threads: improve how Twitter Cards are generated for embeds in the thread preview.
403
+ - VideoPress: detect aspect ratios rounding to both 1.77 and 1.78 as 16:9.
404
+ - Widgets: avoid JavaScript errors when displaying the Cookies & Consent Widget.
405
+ - WordPress.com REST API: avoid fatal errors in some scenarios, when updating a post's metadata.
406
+
407
+ ## 9.2.1 - 2020-12-10
408
+ ### Improved compatibility
409
+ - Site Health Tools: improve PHP 8 compatibility.
410
+ - Twenty Twenty One: add support for Jetpack's Content Options.
411
+
412
+ ### Bug fixes
413
+ - Instant Search: fix layout issues with filtering checkboxes with some themes.
414
+ - WordPress.com Toolbar: avoid Fatal errors when the feature is not active.
415
+ - WordPress.com Toolbar: avoid 404 errors when loading the toolbar.
416
+
417
+ ## [9.2] - 2020-12-01
418
+ ### Enhancements
419
+ - Connection Flow: clarify error message when the options table is not writable.
420
+ - Contact Form Block: display fallback link when the block is rendered in non-WordPress contexts, such as subscription emails.
421
+ - Contact Form Block: display the correct default email address and subject in the form block settings.
422
+ - Dashboard: clarify language around support options.
423
+ - Instagram Embeds: add support for embed parameters supported by Instagram.
424
+ - Payments Block: move unreadable notice to the sidebar.
425
+ - Pinterest Block: ensure that Pinterest embeds are displayed nicely in non-WordPress contexts, such as subscription emails.
426
+ - Podcast Block: display fallback link when the block is rendered in non-WordPress contexts, such as RSS feeds.
427
+ - Search: improve URL formatting for the expanded search layout.
428
+ - Sharing: ensure the first suitable image found in a post is always the one used in Open Graph Image meta tags.
429
+ - Site Health Tools: update description of Synchronization issues for better usability.
430
+ - Slideshow Block: ensure that slideshows are displayed nicely in subscription emails.
431
+ - Status: improve detection of staging servers.
432
+ - Story Block: improve display of the block.
433
+ - Synchronization: improve synchronization of comment status, taxononmies, and terms between your site and WordPress.com.
434
+ - Tiled Gallery Block: improve rendering when the block is rendered in non-WordPress contexts, such as subscription emails.
435
+ - WhatsApp button Block: improve text alignment on mobile devices.
436
+ - WordPress.com Toolbar: include admin color in user's REST API output.
437
+
438
+ ### Improved compatibility
439
+ - Autoloader: support Composer 2.0.7.
440
+ - General: continued work towards ensuring that Jetpack is fully compatible with the upcoming version of PHP, PHP 8.
441
+ - General: ensure Jetpack's full compatibility with the upcoming WordPress 5.6 release.
442
+ - General: update Jetpack's minimum required WordPress version to 5.5, in anticipation of the upcoming WordPress 5.6 release.
443
+ - Sharing: disable Open Graph Meta tags added by the Web Stories plugin when Jetpack's tags are active.
444
+ - Stats: support Web Stories plugin.
445
+ - Synchronization: ensure better synchronization of post meta data (used by Publicize, Subscriptions, Search) in WordPress 5.6.
446
+
447
+ ### Bug fixes
448
+ - Connection: handle XMLRPC requests when SERVER_PORT is not defined.
449
+ - External Media: fix a conflict with CoBlock's image replace feature.
450
+ - Dashboard: fix incorrect links to Jetpack credentials form.
451
+ - Google Analytics: ensure compatibility with Google Analytics 4 (GA4).
452
+ - Sitemaps: ensure that the Home URL is slashed on subdirectory websites.
453
+ - Social Icons widget: display only one icon when a URL matches both a domain and the feed URL match.
454
+ - Sync: avoid trying to sync when something else disabled syncing a request.
455
+ - Whatsapp Button Block: fix Guyana country code metadata.
456
+ - WordPress.com REST API: restore post comments when untrashing a post, such as via the mobile apps.
457
+
458
+ ## [9.1] - 2020-11-10
459
+ ### Enhancements
460
+ - Button Block: add a center alignment option to all Jetpack button blocks.
461
+ - Content Options: add new filter to allow theme and plugin authors to disable featured image removal for their Custom Post Types.
462
+ - Dashboard: improve the display of dates in the Jetpack Plan screen and in the Stats graph.
463
+ - Dashboard: improve the display of numbers in all languages.
464
+ - Donations Block: improve the display of the block outside WordPress (in subscription emails, for example).
465
+ - Embeds: update Loom logo.
466
+ - External Media: add feature to the Cover block.
467
+ - Google Calendar Block: improve the display of the block in the editor.
468
+ - Image Compare Block: accessibility improvements.
469
+ - Instant Search: improve accessibility of the Search modal.
470
+ - Likes: remove jQuery dependency where possible.
471
+ - Pay with PayPal Block: improve the styling of the buttons in subscription emails.
472
+ - Pay with PayPal Block: improve the display of currencies.
473
+ - Podcast Player Block: add option to hide the episode title.
474
+ - Podcast Player Block: display more helpful error messages when a podcast cannot be embedded.
475
+ - Publicize: improve the usability of the Twitter thread options.
476
+ - REST API: support needed capabilities in Jetpack REST API endpoints that allow site based authentication.
477
+ - Social Menu & Social Media Icons: add support for Telegram profiles.
478
+ - Synchronization: improve reliability of synchronization of theme changes.
479
+ - WhatsApp Block: add option to change the alignment of the button.
480
+ - Widget Visibility: improve performance on sites with a large number of pages.
481
+ - WordPress.com Block Editor: add option to add metadata to a post indicating the last editor used.
482
+ - WordPress.com REST API: remove outdated code that allowed non-secure requests to the API, as such requests are no longer accepted.
483
+
484
+ ### Improved compatibility
485
+ - Comments: avoid AMP validation errors when using Jetpack's Comments feature and the AMP plugin.
486
+ - Dashboard: better support all states available when using one of Jetpack's Security solutions.
487
+ - Embeds: improve compatibility between Jetpack's Instagram embed and WordPress' own embed.
488
+ - Embeds: ensure Facebook Embeds work well with the AMP plugin.
489
+ - External Media: update iconography and improve forward compatibility.
490
+ - General: better detect local development environments.
491
+ - Google Analytics: add support for the AMP plugin to track WooCommerce events.
492
+ - OpenTable Block: ensure full compatibility with the AMP plugin.
493
+ - Pay with PayPal Block: ensure full compatibility with the AMP plugin.
494
+ - Sharing: add support for the Google Web Stories plugin.
495
+ - Slideshow Block: ensure that the block can be displayed using the Full Width alignment setting when using the Gutenberg plugin.
496
+ - Widget Visibility: avoid performance impact it may have on the block editor when used with the Gutenberg plugin.
497
+ - YouTube embeds: ensure that all YouTube video embeds work well when using the AMP plugin.
498
+
499
+ ### Bug fixes
500
+ - Calendly and Eventbrite Blocks: fix layout issue when selecting block styles in the editor.
501
+ - Contact Form: selection widgets, radio buttons, and checkboxes can now use commas, brackets, and backslashes in the labels and values without breaking the form.
502
+ - Donations / Payments Block: fix visual bug in Stripe connection banner.
503
+ - Embeds: ensure Facebook videos are centered properly with the Twenty Twenty theme.
504
+ - Google Analytics: support updated Google Analytics 4 properties.
505
+ - Image CDN: the CDN will now ignore attempts to specify percentages for width or height in an image tag.
506
+ - Infinite Scroll: ensure the number of posts loaded when using Infinite Scroll respects posts per page settings.
507
+ - Latest Instagram Posts Block: avoid PHP warning when no images can be retrieved from Instagram.
508
+ - Lazy Images: attempt to load all images when printing a post, and inform the user when printing if images haven't been loaded.
509
+ - Pay with PayPal Block: add default price value.
510
+ - Pay with PayPal Block: ensure currencies are displayed properly in the editor.
511
+ - Protect: fix handling of IPv6 addresses.
512
+ - Publicize: ensure that custom messages can be saved when using the Portfolio Custom Post Type.
513
+ - Publicize: ensure that tweets consisting only of whitespace aren't added to Twitter threads.
514
+ - Publicize: when generating Twitter threads, allow text to be split at line breaks where appropriate.
515
+ - Security / Contact Form: add additional checks before checking submitted forms for spam.
516
+ - Security / WordPress.com REST API: improve authentication checks when making proxied requests to a site's API endpoints.
517
+ - Slideshow Block: fix a bug that prevented the first and last images from displaying when the slideshow loops.
518
+ - Stats: no longer incorrectly report a term ID as a post ID in some rare cases.
519
+ - Videos: ensure Jetpack videos use the correct aspect ratio in both the editor and the frontend, even when used within column blocks.
520
+ - WhatsApp Block: fix issue when the text color would not be correct.
521
+
522
+ ## 9.0.2 - 2020-10-09
523
+ ### Enhancements
524
+ - Publicize: improve handling of URLs when generating Twitter threads.
525
+
526
+ ### Bug fixes
527
+ - Instagram Embeds: ensure that Instagram URLs with additional URL parameters can be embedded as well.
528
+ - Media Extractor: prevent PHP notice for some URLs.
529
+ - Publicize: avoid block editor errors when no Publicize connections are available.
530
+ - Synchronization flow: avoid potential fatal errors when updating the plugin from the Dashboard > Updates screen.
531
+ - Sharing: avoid PHP notices when a post object is invalid.
532
+ - WordPress.com REST API: avoid errors when uploading images from a URL.
533
+
534
+ ## 9.0.1 - 2020-10-06
535
+ ### Bug fixes
536
+ - General: remove a database optimization task that could potentially cause database issues.
537
+
538
+ ## [9.0] - 2020-10-06
539
+ ### Major Enhancements
540
+ - Publicize: add the ability to publish the entire content of posts to Twitter as threads.
541
+
542
+ ### Enhancements
543
+ - Blocks: update icon color for all blocks provided by Jetpack.
544
+ - Custom CSS: add support for the `clip-path` property.
545
+ - Custom CSS: add rebeccapurple color to the list of colors that can be processed by the SCSS and LESS preprocessors.
546
+ - Dashboard: clarify Backup & Scan settings and alerts.
547
+ - Dashboard: improve the reconnecting process for site owners willing to disconnect and then reconnect Jetpack to WordPress.com.
548
+ - Dashboard: do not display option to purchase a plan when in Offline mode.
549
+ - Embeds: add Loom.com as a new embed option.
550
+ - Embeds: update song.link oEmbed to support more formats.
551
+ - Embeds: allow Instagram embeds to keep working via the WordPress.com REST API.
552
+ - Google Analytics: move the legacy variant from the HTML body to head.
553
+ - Instant Search: optimize images displayed in Search results thanks to Jetpack's Image CDN.
554
+ - Instant Search: improve layout of search results on mobile devices.
555
+ - Instant Search: trigger the search overlay upon typing into the search input.
556
+ - Pay with PayPal Block: display more helpful content in subscription emails.
557
+ - OpenTable Block: display wide style widget as standard on mobile.
558
+ - Site Health: add new test for testing blog and current user's token health.
559
+ - Site Health: refine information shared when using the "Copy site info to clipboard" button.
560
+ - Site Health: offer more information and help in failing tests.
561
+ - Slideshow Block: remove the default background color.
562
+ - Synchronization: improve performance of synchronization of term changes.
563
+
564
+ ### Improved compatibility
565
+ - Autoloader: add support for non-optimized PSR-4 namespace loading.
566
+ - Autoloader: add PSR-0 support.
567
+ - Autoloader: add handling for filtered `active_plugins` options that would otherwise have left classes out.
568
+ - Contact Form: add more integration settings for a better compatibility with Jetpack CRM.
569
+ - Contact Form: ensure that forms are displayed correctly in legacy AMP Reader views.
570
+ - Dashboard: remove plugin autoupdate settings from the dashboard now that WordPress itself handles this feature.
571
+ - Embeds: ensure that Instagram and Facebook embeds are always available, to avoid breaking embeds on existing posts.
572
+ - Embeds: solve PHP 8 compatibility issues with Crowdsignal embeds.
573
+ - EventBrite Block: ensure full compatibility with the AMP plugin.
574
+ - Google Calendar Block: ensure full compatibility with the AMP plugin.
575
+ - Image Compare Block: improve display on AMP views.
576
+ - Infinite Scroll: ensure Infinite Scroll works on AMP views as well for the Twenty Nineteen and Twenty Twenty themes.
577
+ - Infinite Scroll: add tools allowing theme authors to implement Infinite Scroll on AMP views in their own theme.
578
+ - Pinterest Block: ensure full compatibility with the AMP plugin.
579
+ - Security Scanning: avoid validation issues when using the AMP plugin and when notified of a security threat on your site.
580
+ - Slideshow Block: ensure images are displayed properly when using the Swell theme.
581
+ - Synchronization: ensure review comments are properly synchronized with WordPress.com.
582
+ - Twitter Threads Block: add support for unrolling threads when Gutenberg 8.8+ is activated.
583
+ - WordPress.com REST API: improved PHP 8.0 support.
584
+
585
+ ### Bug fixes
586
+ - Activity Log: avoid potential duplicate entries.
587
+ - Beautiful Math: resolve incorrectly rendered LaTeX images cached during a server migration.
588
+ - Connection Flow: resolve conflicts where "staging" connection errors were wrongly detected for some sites.
589
+ - Copy Post: ensure categories can be copied properly on sites using an old database schema.
590
+ - Donations / Payments: fix link to WordPress.com on sites where WordPress is installed in a subdirectory.
591
+ - Image CDN: ensure Wikimedia-hosted images are correctly handled by the CDN.
592
+ - Infinity Scroll: remove the loading spinner when loading an extra set of posts and receiving an empty response.
593
+ - Stats: do not track visits when site is in staging mode.
594
+ - Synchronization: ensure theme information is correctly synchronized with WordPress.com.
595
+ - WordPress.com Block Editor: ensure that "Code Editor" menu item is available on mobile devices.
596
+ - WordPress.com REST API: improve messaging when uploading a media file via the API fails.
597
+
598
+ ## 8.9.1 - 2020-09-16
599
+ ### Enhancements
600
+ - Jetpack Dashboard: add support for new Jetpack plans.
601
+
602
+ ### Bug fixes
603
+ - General: avoid deprecation PHP notices when used with WooCommerce 4.4+.
604
+ - Image CDN: avoid PHP warning when replacing URLs by their image CDN equivalent.
605
+ - REST API: avoid authentication issues when using a third-party plugin also using the REST API.
606
+ - Search: fix a bug where no results appear when using Jetpack's Instant Search interface.
607
+ - Site Health Tools: skip a connection status test when in offline mode.
608
+
609
+ ## [8.9] - 2020-09-01
610
+ ### Major Enhancements
611
+ - The new Donations Block allows you to easily accept and process donations on your site.
612
+ - You can now preview how your posts will look on Facebook, Twitter, and Google Search Results even before you hit the Publish button.
613
+
614
+ ### Enhancements
615
+ - Blocks: add "Edit" button to the Calendly block toolbar.
616
+ - Blocks: add new "Consent" field option to the Form block.
617
+ - Connection: improve the reconnection process when your site is not properly connected to WordPress.com anymore.
618
+ - Connection: improve messaging offered and displayed in the dashboard when there are connection issues between your site and WordPress.com.
619
+ - Contact Form: put feedback that matches the disallowed list in trash.
620
+ - Dashboard: improved legibility across all Jetpack interfaces.
621
+ - External Media: improve keyboard navigation in the media modal.
622
+ - External Media: offer a way to disconnect Google Photos accounts from within the media modal.
623
+ - Sharing: add spacing around customization link.
624
+ - Search: improve styling of expanded results in the Instant Search interface.
625
+ - Shortcodes: remove jQuery dependency from Gist shortcode.
626
+
627
+ ### Improved compatibility
628
+ - Anti-Spam: better handle globally-configured Akismet API keys in the Jetpack dashboard.
629
+ - Blocks: update to use latest colors defined by WordPress.
630
+ - Blocks: ensure our External Media option is compatible with other plugins that also make changes to the Media Library options in the block editor.
631
+ - Connection: ensure better compatibility of the Monitor, Protect, Secure Sign In, Stats, and Subscription features with your site's connection to WordPress.com.
632
+ - General: remove references to pre-PHP 5.6 code.
633
+ - Sharing: improve accessibility of the sharing butttons in AMP views.
634
+ - Shortcode Embeds: ensure compatibility of the Instagram embeds with upcoming Instagram API changes.
635
+ - Third-party plugin compatibility: add new compatibility file for the Creative Mail plugin.
636
+ - Third-party plugin compatibility: add Slim SEO to the list of plugins compatible with Jetpack's Open Graph and Twitter Cards Meta tags.
637
+
638
+ ### Bug fixes
639
+ - Autoloader: avoid issues when updating plugins using the Autoloader in environments using OPCache.
640
+ - Autoloader: remove the map regeneration that occurs after a plugin update.
641
+ - Activity Log: ensure that theme changes are mentioned in the Activity Log.
642
+ - Blocks: ensure alignment options are respected for the Video block in the editor.
643
+ - Blocks: avoid accidental disconnections of the Payments block in the editor.
644
+ - Blocks: bug fixes and improvement of consistency of block style implementation in the OpenTable block.
645
+ - Blocks: avoid duplicate navigation arrows in the Slideshow block.
646
+ - CLI tools: avoid notices when using Synchronization CLI tools.
647
+ - Connection: ensure that secondary users can connect their own account to their WordPress.com account.
648
+ - Dashboard: fix missing card for Backups in some error cases.
649
+ - Protect: avoid displaying HTML markup on blocked login screen.
650
+ - Protect: avoid Fatal errors when trying to update Protect options from the REST API.
651
+ - Search: ensure that Instant Search options are properly saved in the Customizer.
652
+ - Search: avoid errors when searching for a term and including the "%" symbol.
653
+ - Shortcodes: avoid Fatal errors when receiving unexpected response from Flickr.
654
+ - Theme Tools: resolve a PHP notice in PHP 7.4.
655
+ - Video: ensure that videos uploaded with Jetpack Videos are assigned to the correct author.
656
+ - Widgets: ensure that the Instagram Widget is properly styled when previewed in the customizer.
657
+ - Widgets: do not hide accepted cookie widget to allow visual customization in the Customizer.
658
+
659
+ ## 8.8.2 - 2020-08-17
660
+ ### Bug fixes
661
+ - Infinite Scroll: avoid loading issues with some themes using Infinite Scroll.
662
+
663
+ ## 8.8.1 - 2020-08-10
664
+ ### Improved compatibility
665
+ - WordPress 5.5: ensure that Jetpack's Autoupdate feature is fully compatible with the autoupdate feature introduced in the new version of WordPress.
666
+
667
+ ### Bug fixes
668
+ - Admin Page: avoid blank dashboard when some specific notices (such as Offline mode) are displayed.
669
+ - Synchronization with WordPress.com: resolve errors triggered from not properly sanitizing/verifying inputs.
670
+
671
+ ## [8.8] - 2020-08-04
672
+ ### Enhancements
673
+ - Blocks: update categories to improve discoverability.
674
+ - Connection Flow: improve experience of any additional users of your site that may want to link their WordPress.com account.
675
+ - Dashboard: add Jetpack Anti-spam to the product list in the dashboard.
676
+ - External Media: add ability to show google photos for a specific month or year.
677
+ - Infinite Scroll: improve accessibility of the "Load More" behavior.
678
+ - Instant Search: add support for excluding certain post types from search results.
679
+ - Mailchimp Block: show error message on email validation error.
680
+ - Markdown block: improve handling of long links with custom characters, as well as em- and en- dashes.
681
+ - Payments block: add extra customization options to the Submit button.
682
+ - Performance: use WordPress-provided wp_resource_hints for DNS prefetching.
683
+ - Podcast Player block: start saving content in post content for better compatibility with non-WordPress tools.
684
+ - Sharing: add direct link to share button customization for logged-in admins.
685
+ - Widgets: introduce new Instagram Widget.
686
+ - Widgets: add additional options to the Twitter Timeline widget.
687
+ - Widgets: add the rel attribute to links with target=”_blank” in the Social Icons widget.
688
+ - WordAds: update ad units to be more flexible and dynamic.
689
+
690
+ ### Improved compatibility
691
+ - Blocks: add default text color to all buttons in AMP mode.
692
+ - Connection Flow: improve the display of any connection errors, and provide more tools to help fix those connection errors.
693
+ - Contact Form: updates based on language improvements in WordPress 5.5.
694
+ - Deprecated hooks: Use native WordPress functionality for deprecated hooks.
695
+ - Deprecation Notices: provide more information about deprecated files and functions.
696
+ - General: ensure Jetpack's full compatibility with the upcoming WordPress 5.5 release.
697
+ - General: update Jetpack's minimum required WordPress version to 5.4, in anticipation of the upcoming WordPress 5.5 release.
698
+ - General: update Jetpack to support new environment type features introduced in WordPress 5.5.
699
+ - Infinite Scroll: fix layout issue when used with the P2 theme.
700
+ - Latest Instagram Posts block: fix layout when used with the AMP plugin.
701
+ - Synchronization: improve stability of the connection between your site and WordPress.com.
702
+ - WordPress.com REST API: adjust API response based on language improvements in WordPress 5.5.
703
+
704
+ ### Bug fixes
705
+ - Asset CDN: avoid returning a directory when setting the local path for translation files.
706
+ - Carousel: ensure jQuery is loaded when using the Carousel feature.
707
+ - Contact Form: fix alignment of radio and checkbox items.
708
+ - External Media: ensure that images inserted from Pexels or Google Photos are attached to the post you're composing.
709
+ - General: avoid issues on sites hosted on a Windows server environment.
710
+ - General: avoid PHP notices when managing your site via the WordPress Desktop app.
711
+ - Gathering Tweetstorms: don't enable the Unroll button until after a Twitter URL has been entered and verified.
712
+ - Latest Instagram Posts block: stop showing cached galleries after the Instagram connection has been deleted.
713
+ - Likes: resolve a potential PHP notice.
714
+ - Media Tools: resolve potential PHP notice.
715
+ - OpenTable block: ensure additional CSS classes are populated correctly.
716
+ - Subscriptions block: Stop saving localized attributes defaults in the block content.
717
+ - Tiled Gallery block: do not load the block when your site is not connected to WordPress.com.
718
+ - Twitter Cards: resolve potential PHP notice.
719
+
720
+ ## 8.7.1 - 2020-07-14
721
+ ### Bug fixes
722
+ - Autoloader: avoid PHP warning on sites with an invalid `active_plugins` option.
723
+ - Backwards Compatibility: Prevent fatal errors on themes relying on a deprecated static method.
724
+ - Blocks: show a loading spinner when unrolling Twitter threads on WordPress 5.3.
725
+ - General: prevent PHP notices with the Contact Form feature, Sharing feature, and the Latest Instagram Galleries block.
726
+ - Sharing: create proper Open Graph Description tag when a post starts with an image.
727
+
728
+ ## [8.7] - 2020-07-07
729
+ ### Major Enhancements
730
+ - When inserting images into your posts, you can now choose images from your Google Photos account, or from the Pexels Free Photos library.
731
+ - WhatsApp block: this new block adds a button so your site's visitors can contact you via WhatsApp with the tap of a button.
732
+ - You can now import Twitter threads into a post with the click of a button.
733
+ - Jetpack Search now includes more options to customize the look of the Search overlay: you can choose between minimal and expanded results, you can hide the Sort option, or change the default sorting option.
734
+ - Jetpack Ads: you can now enable a "Do Not Sell My Personal Information" link as specified in the California Consumer Privacy Act (CCPA) for California site visitors to opt-out of targeted advertising.
735
+
736
+ ### Enhancements
737
+ - Blocks: add more options to customize the look of the Payments block.
738
+ - Blocks: allowing playing a Jetpack video in the block editor.
739
+ - Blocks: add episode link and improve the look of the Podcast player when displaying only one episode.
740
+ - Blocks: add more customization options to the buttons offered by the following blocks: Calendly, Mailchimp, Eventbrite.
741
+ - Blocks: rename "Earn" blocks: "Simple Payments" becomes "Pay with Paypal"; "Recurring Payments" becomes "Payments".
742
+ - Connection Flow: improve the display of connection errors when a site cannot be connected to WordPress.com.
743
+ - Contact Form: improve the "Empty Spam" process to better handle large amount of Spam.
744
+ - Jetpack Search: use the full width of the browser when the site does not use any Jetpack Search Sidebar.
745
+ - Performance: switch from JavaScript library to CSS animations to display loading spinners.
746
+ - Related Posts: improve accessibility of the titles of each Related Post.
747
+ - Site Stats: improve accessibility of the Stats dashboard.
748
+ - Social Logos: update Facebook Logo design.
749
+ - Widgets: improve accessibility of the Contact Info Widget as well as the Blog Stats Widget.
750
+ - Widgets: improve performance of the Display Posts widget by fetching less data.
751
+
752
+ ### Improved compatibility
753
+ - Autoloader: improve the way Jetpack librairies are loaded when used in multiple plugins.
754
+ - Blocks: improve the display of the Tiled Gallery block when used with the AMP plugin.
755
+ - Custom Content Types: ensure that the Comic Post Type is compatible with the AMP plugin.
756
+ - Custom Content Types: allow third-party themes to enqueue their own Portfolio styles.
757
+ - Gravatar Hovercards: avoid validation errors when used with the AMP plugin.
758
+ - Open Graph Meta Tags: avoid displaying Jetpack's Tags when the Rank Math plugin is active.
759
+ - Shortcodes / Embeds: ensure better compatibility of multiple embeds with the AMP plugin.
760
+ - Sharing: ensure that all button styles can be used with the AMP plugin.
761
+ - Sitemaps: avoid conflicts with the Sitemap option that will be available in the upcoming version of WordPress.
762
+ - WordPress.com Toolbar: ensure it is accessible when using the Twenty Twenty theme.
763
+ - WooCommerce: avoid broken resources when using the WooCommerce plugin alongside Jetpack.
764
+
765
+ ### Bug fixes
766
+ - Blocks: avoid layout issues when using the Image Compare block alongside older themes.
767
+ - Blocks: ensure the Eventbrite button can be centered.
768
+ - Blocks: ensure the Podcast block can be loaded when the page is loaded via Infinite Scroll.
769
+ - Blocks: do not render the Slideshow block's markup when no images have been added to the block.
770
+ - Blocks: avoid errors when one adds and edits 2 Image Compare Blocks in a single post.
771
+ - Blocks: fix Form block issues with checkbox fields not being checked by default when the option is selected.
772
+ - Blocks: add missing "Required" option to the Form block's Checkbox field settings.
773
+ - Blocks: avoid caching results from the Latest Instagram Posts block when there are errors with the fetched data.
774
+ - Forms: improve accessibility of the "Required" text used in form fields.
775
+ - Image CDN: avoid using CDN image URL when inserting an image using the image block.
776
+ - Jetpack Search: load translations in the Search overlay on International sites.
777
+ - Publicize: avoid layout issues when displaying broken connections in the Publicize block toolbar.
778
+ - Sharing: avoid relying on jQuery for the official Facebook button.
779
+ - Shortcodes / Embeds: fix the Twitch embed according to new Twitch embed requirements.
780
+ - SEO Tools / Open Graph: improve cleaning up of description meta tags.
781
+
782
+ ## 8.6.1 - 2020-06-02
783
+ ### Bug Fixes
784
+ - Resolves PHP notice when generating Twitter Cards for posts with images without saved size information.
785
+ - Resolves an issue that can lead to excessive SQL queries.
786
+
787
+ ## [8.6] - 2020-06-02
788
+ ### Major Enhancements
789
+ - Image Compare Block: show off your before / after pictures! This new block allows you to easily compare two images with a slider.
790
+ - Latest Instagram Posts Block: this new block allows you to insert lists of the latest posts from your Instagram feed, on any post or page of your site.
791
+
792
+ ### Enhancements
793
+ - Blocks: add new RSVP, Registration, Appointment, and Feedback form options to the existing Form block.
794
+ - Blocks: add new width option to Form block fields.
795
+ - Blocks: add more customization options to the Subscriptions block.
796
+ - Blocks: use the Mailchimp logo for the Mailchimp block icon.
797
+ - Blocks: add Schema.org metadata to the Star Rating block.
798
+ - Blocks: add alignment options to the Revue block's button.
799
+ - Blocks: add an example usage of the Podcast Player Block.
800
+ - Carousel: new option to remove the Comment form area from the Carousel view.
801
+ - Connection Flow: add new tools allowing for a better Jetpack onboarding for new Jetpack site owners.
802
+ - Connection Flow: ensure connection can happen on sites that can be a bit slower.
803
+ - Dashboard: add new sections for the upcoming Scan feature.
804
+ - Dashboard: allow for easy copying of Sitemap URLs from within the dashboard.
805
+ - Infinite Scroll: add support for running inline scripts.
806
+ - Performance: improve autoloading of Jetpack options.
807
+ - Twitter Cards: use additional post-specific media for Twitter card tags.
808
+ - Synchronization: new experimental feature aiming to minimize the impact of Sync on servers, by having Synchronization actions processed by WordPress.com asynchronously.
809
+ - WordPress.com Toolbar: remove retired "Recommendations" link.
810
+ - WordPress.com Block Editor: offer an option to "Switch to Classic Editor".
811
+
812
+ ### Improved compatibility
813
+ - Blocks: ensure that the Video block can still be used to upload videos with the latest version of the Gutenberg plugin.
814
+ - Connection tools: ensure better compatibility with other plugins that may rely on a Jetpack connection.
815
+ - Contact Form: improve compatibility with the Akismet service.
816
+ - Google Analytics: ensure compatibility with the AMP plugin.
817
+ - Shortcodes & Embeds: ensure that the slideshow and TED shortcodes are compatible with the AMP plugin.
818
+ - SSO: allow third-party plugins to hook into Jetpack's Secure Sign On login form.
819
+ - Widgets: ensure that the Cookies & Consent widget is compatible with the AMP plugin.
820
+ - WordPress.com REST API: improve compatibility with the block editor.
821
+
822
+ ### Bug fixes
823
+ - Blocks: avoid layout issues with the OpenTable block's button.
824
+ - Blocks: fix SVG attributes naming.
825
+ - Blocks: fix infinite scroll compatibility.
826
+ - Blocks: improve the display of currencies in Recurring Payments block.
827
+ - Blocks: ensure Podcast Player icons are always visible, even on sites where WordPress lives in a subdirectory.
828
+ - Dashboard: avoid broken profile image in the Jetpack Dashboard.
829
+ - Embeds: stop using deprecated WordPress option.
830
+ - Embeds: ensure that all valid Spotify embeds are being rendered.
831
+ - Infinite Scroll: fix issues with sites that may customize post queries.
832
+ - Related posts: avoid making requests for Related posts in embedded posts.
833
+ - Search: fix issues with the Instant Search layout when the number of posts per page is set to more than 20.
834
+ - Site Accelerator: avoid breaking links when linking to Wikimedia images.
835
+ - Site Health Tools: correct issue that prevented the WordPress Site Health area from completing all checks.
836
+ - Synchronization: ensure data is properly handled when customizing the Sync experience.
837
+ - Theme Tools: add correct schema.org value for Jetpack Breadcrumbs.
838
+
839
+ ## [8.5] - 2020-05-05
840
+ ### Major Enhancements
841
+ - Podcast Player: you can now embed and play recent podcast episodes in any post or page.
842
+
843
+ ### Enhancements
844
+ - Comments: update how comment types are stored to be fully compatible with upcoming WordPress Core changes.
845
+ - OpenTable Block: add a warning notice when their selected combination of style and align options may cause display issues.
846
+ - Publicize: allow site owners to set a filter to enable embedding media directly into Twitter embeds.
847
+ - Revue Block: add new customization options.
848
+ - Search: add new option to configure the Instant Search overlay.
849
+ - Sync: improve performance of the synchronization process on sites with plugins generating an important amount of posts.
850
+
851
+ ### Improved compatibility
852
+ - Ad Block: ensure full compatibility of the feature with the AMP plugin.
853
+ - Carousel: ensure full compatibility of the feature with the AMP plugin.
854
+ - Embeds: ensure that all recipes, as well as Google Maps embeds and Scribd embeds, can be viewed with no errors in AMP views.
855
+ - General: when using a beta version of Jetpack via the Jetpack Beta Plugin, allow Multisite connections to be managed in Network Admin.
856
+ - Shortcodes: improve behavior of the Archives shortcode in AMP views.
857
+ - Widgets: ensure that the Twitter Timeline and Internet Defense League widgets are compatible with the AMP plugin.
858
+
859
+ ### Bug fixes
860
+ - Dashboard: fix layout issue when using the monthly / yearly toggle in the Jetpack dashboard.
861
+ - Contact Form: avoid making unnecessary requests to the Akismet API.
862
+ - Crowdsignal: fix survey embeds when posts are loaded via Infinite Scroll.
863
+ - Embeds: provide helpful feedback when inline PDFs cannot be displayed in mobile browsers.
864
+ - General: fix comment notification overrides that direct moderation links to the WordPress.com interface.
865
+ - General: improve deprecated hook notices to handle anonymous functions.
866
+ - Site Health Tools: reduce false positives in Jetpack connection tests.
867
+ - Slideshow Block: avoid layout issues when a block is added to a column block.
868
+ - Subscriptions Block: fix layout issue in email input box.
869
+ - Sync: improve performance of the synchronization process when processing a large amount of Akismet feedback.
870
+
871
+ ## 8.4.2 - 2020-04-14
872
+ ### Bug Fixes
873
+ - General: avoid conflicts with other plugins interacting with the AMP plugin and the admin bar.
874
+ - Infinite Scroll: avoid breaking functionality on sites without any footer.
875
+ - Infinite Scroll: avoid any conflict that may cause some posts to be missing from Infinite Scroll load.
876
+ - Site Health Tools: improve messaging to make translations easier.
877
+ - Contact Info Widget: avoid the display of notices in the widget settings when an API key is set via a filter.
878
+ - Top Posts Widget: provide default for newly added parameter to avoid errors when using third-party plugins interacting with stats.
879
+
880
+ ## 8.4.1 - 2020-04-07
881
+ ### Bug Fixes
882
+ - Secure Sign On: fix conflict that would block one from logging in to their site via the Secure Sign On option.
883
+
884
+ ## [8.4] - 2020-04-07
885
+ ### Major Enhancements
886
+ - Search: our new Instant search experience will allow your visitors to get search results as soon as they start typing.
887
+
888
+ ### Enhancements
889
+ - Autoloader: improve performance when loading a large number of files.
890
+ - Blocks: improve discoverability of multiple blocks by reviewing keywords used in the block search.
891
+ - Blocks: improve the display of error notices in Jetpack's embed blocks.
892
+ - Blocks: better differentiate paid blocks from free ones.
893
+ - Blocks: improve layout of block style previews.
894
+ - Calendly block: display an error when the embed URL is not found.
895
+ - Comment Likes: improve performance by removing dependency on Noticons.
896
+ - Contact Info Widget: improve the display of Map API key notices.
897
+ - Custom CSS: add support for more CSS 3.0 properties: mask , scroll, and object-fit.
898
+ - Dashboard notices: allow the use of different Jetpack logos.
899
+ - Embeds: enable inline PDF previews.
900
+ - Eventbrite Block: offer additional alignment options.
901
+ - Facebook Embeds and Facebook Page Plugin Widget: improve performance and compatibility with caching plugins.
902
+ - Facebook Page Plugin Widget: add new layout options (Cover Photo and Call To Action).
903
+ - Gravatar Hovercards: avoid loading Gravatar assets when not needed on the page.
904
+ - Gravatar Hovercards: improve performance of the feature by avoiding the use of jQuery.
905
+ - Infinite Scroll: improve performance of the feature by avoiding the use of jQuery.
906
+ - Jetpack Videos: improve performance of Video queries with better caching.
907
+ - Lazy Images: improve performance of the feature by avoiding the use of jQuery.
908
+ - Likes: improve performance when loading resources used by the Likes feature on the front-end of your site.
909
+ - Map Block: slightly decrease Zoom on maps with multiple points.
910
+ - Map Block: improve the look of the map style picker.
911
+ - Protect: improve detection of IP on servers using custom IP Headers.
912
+ - Revue Block: update the layout of the default placeholder appearing when you first insert the block.
913
+ - Site Health: add new card informing you of your site's synchronization status with WordPress.com.
914
+ - Social Menus: add Ravelry support.
915
+ - Widgets: add Ravelry support to Social Icons widget.
916
+ - Widgets: improve performance of the Search and Milestone widgets.
917
+ - WooCommerce Analytics: add additional information to events (plugin version, information about blocks and shortcodes).
918
+ - WordAds Block: update "hide on mobile" toggle layout.
919
+ - WordAds: update ad loader support for Google Chrome.
920
+ - WordAds: improve performance of the display of all ads.
921
+ - WordPress.com Toolbar: log user out of WordPress.com when attempting to log out from the site.
922
+
923
+ ### Improved compatibility
924
+ - Blocks: ensure that all blocks are displayed nicely, even when using the latest version of the Gutenberg plugin.
925
+ - Blocks on International sites: ensure that blocks can be translated when using Jetpack's Site Accelerator feature.
926
+ - Comment Likes / AMP Plugin: avoid loading Likes on AMP views.
927
+ - General: Jetpack now requires WordPress 5.3 and newer.
928
+ - Multisite Networks: better detect the main site of a network when synchronizing data with WordPress.com.
929
+ - Recurring Payments Block: implement AMP view for full compatibility with the AMP plugin.
930
+
931
+ ### Bug fixes
932
+ - Connection: ensure that the "Disconnect" button is easily accessible on mobile.
933
+ - Connection: fix connection issues for sites with a plan in a "pending" state.
934
+ - Connection: improve connection flow when starting to connect your site from the WordPress.com dashboard.
935
+ - Dashboard: clarify wording and display of the Backup & Scan cards.
936
+ - Dashboard: fix layout issues within the Stats Widget in the dashboard.
937
+ - Form Block: fix button colors not saving correctly.
938
+ - Google Calendar Block: ensure calendars are properly displayed regardless of the width option picked in block styles.
939
+ - Publicize Block: update wording in custom message field to clarify how the feature works.
940
+ - Pinterest Block: check for valid Pinterest URLs when embedding them into a new block.
941
+ - OpenTable Block: fix layout issue when using Wide and Full-width sizes.
942
+ - OpenTable Block: fix PHP warning occuring when a block is created but not configured.
943
+ - Recurring Payments Block: ensure that the minimum payment option respects the chosen currency for the button.
944
+ - Shortcodes: Fix Crowdsignal poll embeds when using the P2 theme.
945
+ - Simple Payments Block: avoid issues when pasting email addresses into the email field.
946
+ - Site Logo: avoid PHP notices in the Customizer, when no logo is set yet.
947
+ - Widgets: fix conflicts between some themes and the live countdown feature in the Milestone Widget.
948
+ - Widgets: avoid display issues in the Top Posts Widget, when displaying posts from Custom Post Types.
949
+
950
+ ## [8.3] - 2020-03-03
951
+ ### Major Enhancements
952
+ - Google Calendar Block: a simple way to embed Google Calendars into your posts.
953
+ - Revue Block: allow your readers to subscribe to your Revue newsletter right from your site.
954
+
955
+ ### Enhancements
956
+ - Dashboard widget: clarify wording in Anti-spam and Protect sections.
957
+ - Dashboard notices: allow permanent notices.
958
+ - Dashboard notices: add option to provide action button for a notice.
959
+ - Map block: add the ability to set the size of the map.
960
+ - Map block: add a zoom control to the block sidebar.
961
+ - Map block: add a fullscreen option.
962
+ - Map block: add an option for toggling zoom to scroll behaviour in the published post.
963
+ - Mobile Theme: sunset feature. We originally created the mobile theme feature as a fall-back when the regular theme did not include a mobile view. Most themes include a mobile view by default now, so the feature is no longer necessary.
964
+ - OpenTable block: offer more embedding options.
965
+ - Search: improvements to layout options when using the Search widget.
966
+ - Security Scanning tool: improve message about threats found in dashboard.
967
+ - Sharing: improve Open Graph Meta Tags on search result pages.
968
+ - Shortcodes: improve accessibility of navigation buttons for the Slideshow shortcode.
969
+ - Site Health Tests: improve ability to add additional tests.
970
+ - Site Health Tests: Update Connection test with detailed descriptions and actions to resolve failing tests.
971
+ - Synchronization: increase reliability of sync by not sending wp-rest-api-log posts.
972
+ - Synchronization: increase reliability when synchronizing term IDs.
973
+ - Tiled Gallery block: add a Rounded Corners option.
974
+ - Tiled Gallery block: add an option to easily rearrange images within a gallery.
975
+ - Cookies & Consents Banner widget: improve performance by removing reliance on jQuery.
976
+ - Twitter widget: remove deprecated link color parameter.
977
+
978
+ ### Improved compatibility
979
+ - Autoloader: avoid conflicts when other plugins rely on the Autoloader to load Jetpack packages.
980
+ - Beautiful Math: avoid layout issues with inline images when using the Twenty Twenty theme.
981
+ - Blocks: improve compatibility with theme colors for block buttons.
982
+ - Blocks: improve the layout of the blocks' placeholders when using the Gutenberg plugin.
983
+ - Blocks: allow defining a minimum WordPress version or minimum Gutenberg plugin version when registering a block.
984
+ - Lazy Images: add option to skip images with the `data-skip-lazy` attribute.
985
+ - SSO: Add error argument for compatibility with a WordPress 5.4 hook change.
986
+
987
+ ### Bug fixes
988
+ - Blocks: fix layout issues with previews in block sidebar.
989
+ - Blocks: fix layout issues when using a custom CSS class for a block using the option in the block sidebar.
990
+ - Calendly block: fix overlay to render properly in the editor.
991
+ - Dashboard: remove Backups information from the Jetpack dashboard when on a Multisite network. Those do not support the Backup feature at this point.
992
+ - Map block: only show the Add Marker UI if there are no markers.
993
+ - Map block: prevent an unselected block from accidentally capturing scrolling.
994
+ - Map block: fix the styling of the map theme buttons.
995
+ - Mobile Apps: remove the edit post link when in app.
996
+ - OpenTable block: avoid error when inserting some specific embed codes.
997
+ - OpenTable block: fix alignment issues when center-aligning the block.
998
+ - Secure Sign On: do not display feature message when logging in to WordPress.com's central dashboard.
999
+ - Stats: hide Stats smiley in post embeds.
1000
+ - WooCommerce Analytics: improve product checks to avoid errors on order pages.
1001
+ - Wufoo shortcode: Security fix return early when invalid parameters.
1002
+
1003
+ ## 8.2.3 - 2020-02-20
1004
+
1005
+ - General: fix compatibility issues with other plugins relying on the REST API to communicate with Jetpack, or on the Jetpack registration process.
1006
+ - Multisite: resolve issue with Jetpack's loading sequence that would fatal subsites that did not have any individually activated plugins.
1007
+
1008
+ ## 8.2.1 - 2020-02-17
1009
+ ### Bug fixes
1010
+ - Block Editor: avoid errors when uploading additional media to the Slideshow, Tiled Gallery, and Video blocks.
1011
+ - Synchronization: address issues that would cause delayed synchronization of your posts to WordPress.com.
1012
+
1013
+ ## [8.2] - 2020-02-11
1014
+ ### Major Enhancements
1015
+ - Calendly Block: a useful tool for all coaches, consultants, therapists… Add the block to a post or page and anyone can then book appointments, meetings, and classes right from your website.
1016
+ - EventBrite Block: allow your visitors to register to events right from your site with this new block.
1017
+ - OpenTable Block: restaurant owners, you can now add a reservation form to your site to make it easy for anyone to book a table online, via your site.
1018
+
1019
+ ### Enhancements
1020
+ - Contact Form: add IP and Feedback date to data that can be exported via the CSV tool.
1021
+ - Dashboard: display a notice when a site uses conflicting plans.
1022
+ - Map Block: improve the calculation and persistence of maps' center points.
1023
+ - Map Block: improve the generation of an access token on WordPress.com sites.
1024
+ - Map Block: update Mapbox GL library to opt into map load based billing.
1025
+ - Shortcodes: add new Vimeo shortcode format.
1026
+ - Subscriptions: display a clear error message when you try to subscribe to a site where you've already subscribed but did not validate your subscription.
1027
+ - Subscriptions: display a clear message when an email having many pending confirmations tries to subscribe to a site.
1028
+ - Synchronization: improve performance of data synchronization with WordPress.com.
1029
+
1030
+ ### Improved compatibility
1031
+ - Connnection Flow: ongoing work to improve the reliability of the connection between your site and WordPress.com.
1032
+ - Connection Flow: improve detection of hosting environments for better communication with WordPress.com.
1033
+ - General: avoid any login issues when using other plugins that may interact with cookies on your site.
1034
+ - Gutenberg: avoid any layout issues that may appear in the block editor when using the latest version of the Gutenberg plugin.
1035
+ - Related Posts: ensure that any filters customizing the display of Related Posts also apply to posts displayed with the AMP plugin.
1036
+ - Sharing: do not output Jetpack's Open Graph Meta Tags if the Complete Open Graph plugin is present on your site.
1037
+
1038
+ ### Bug fixes
1039
+ - Blocks / Dashboard: ensure that blocks as well as Jetpack's dashboard can be used even in older browsers such as Internet Explorer 11.
1040
+ - Contact Info Block: ensure that Google's Structured Data tool can recognize phone numbers added to the block.
1041
+ - Copy Post: ensure correct sharing and like settings are copied when posts are duplicated.
1042
+ - Subscriptions: maintain email subscription settings when deactivating and reactivating the feature.
1043
+ - WordPress.com REST API: avoid PHP notices when a media file is edited via the API.
1044
+ - WordPress.com REST API: ensure that image URLs are currently set when uploading an image multiple times.
1045
+
1046
+ ## [8.1.1] - 2020-01-23
1047
+ ### Bug fixes
1048
+ - Dashboard: ensure that connection issues with WordPress.com are displayed in the Jetpack dashboard.
1049
+ - Block Editor: ensure that the Jetpack block sidebar icon is properly displayed, even with the latest version of the Gutenberg plugin.
1050
+ - WordPress.com Block Editor: fix compatibility issues with Chrome's upcoming cross-site cookie changes.
1051
+
1052
+ ## [8.1] - 2020-01-14
1053
+ ### Enhancements
1054
+ - Dashboard: preload connection flow script to improve performance.
1055
+ - Dashboard: improvements to backup interface.
1056
+ - Mobile Theme: allow one to temporary disable Jetpack's Mobile Theme for testing.
1057
+ - Mobile Theme: disable settings when feature is inactive.
1058
+ - Site Accelerator: disable a helper library by default and allow themes to enable it when required.
1059
+ - Subscriptions: add a wp-admin setting to alert the admin when someone follows the blog.
1060
+ - WordPress.com REST API: add flag to determine site eligibility for Full Site Editing.
1061
+ - WordPress.com synchronization: improve the reliability of the synchronization events triggered to keep your site up to date with WordPress.com.
1062
+ - WordPress.com Toolbar: update the link directing to the WordPress.com Reader.
1063
+ - WordPress.com Toolbar: add "My Home" link to the toolbar.
1064
+
1065
+ ### Improved compatibility
1066
+ - General: improvements to Coding Standards for plugin compatibility files.
1067
+ - Notifications: avoid conflicts with Twenty Twenty's instrinsic video resizes.
1068
+ - PHP 7.4: fix PHP warnings that may appear on sites running PHP 7.4.
1069
+ - Sharing: avoid errors when using the Thrive Architect plugin.
1070
+ - Tiled Galleries: fix layout when using a gallery inside a Classic block with the Twenty Twenty theme.
1071
+ - Twenty Twenty: improve the display of the Authors and Flickr widget.
1072
+ - Twenty Twenty: add Content Options to the Customizer.
1073
+ - Twenty Twenty: ensure that Infinite Scroll does not suppress the display of footer widgets.
1074
+ - Videos: automatically convert old Flash Jetpack Video embeds so they can use the new player.
1075
+ - WooCommerce Services: avoid issues when installing plugin from notification message.
1076
+
1077
+ ### Bug fixes
1078
+ - CLI: prevent a PHP notice when running some Jetpack CLI commands.
1079
+ - Map Block: fix layout issue when selecting a marker in a map and then scrolling down.
1080
+ - Map Block: avoid errors when adding more than 2 points on a map.
1081
+ - REST API: correctly validate on/off values for booleans.
1082
+ - Star Rating Block: translate block title.
1083
+ - Widget Visibility: ensure that the visibility options always appear on old Widgets Options screen.
1084
+ - WordAds: ensure that the ads.txt file created by the feature returns a correct HTTP response code.
1085
+ - WordPress.com Block Editor: exclude WordPress.com features from Jetpack sites.
1086
+
1087
+ ## [8.0] - 2019-12-03
1088
+ ### Major enhancements
1089
+ - Block Editor: new Pinterest block allowing you to easily embed boards, profiles, and pins.
1090
+ - Block Editor: new Ratings block allowing you to add star ratings any post or page.
1091
+ - Mailchimp block: you can now create forms for a subset (group) of your Mailchimp list, and add a field to track which form the signups are coming from.
1092
+
1093
+ ### Enhancements
1094
+ - Blocks: start using the @wordpress/block-editor package introduced in WordPress 5.2.
1095
+ - Contact Form: make the Form block reusable on a single post / page.
1096
+ - Dashboard: add support for Jetpack Backup display.
1097
+ - Image CDN: expand number of images using the new subdomain determination function.
1098
+ - Recurring Payments block: improve display of buttons inside the block in the editor.
1099
+ - Shortcodes: add new customization options and improve Schema.org markup of the Recipe shortcode.
1100
+ - Shortcodes: add AMP views for 5 shortcodes: `vimeo`, `instagram`, `dailymotion`, `tweet`, and `soundcloud`.
1101
+ - Support Tools: improve the reliability of the tools on slower sites.
1102
+
1103
+ ### Improved compatibility
1104
+ - AMP: improve display of the Map block on AMP views.
1105
+ - General: As WordPress 5.3 is now available, Jetpack now requires WordPress 5.2.
1106
+ - Shortcodes: ensure Vimeo videos can be displayed properly when using the AMP plugin.
1107
+
1108
+ ### Bug fixes
1109
+ - Connection: fix communication between Jetpack sites and WordPress.com for some sites hosted on non-standard ports.
1110
+ - Connection management: fix issue that prevented the Connection transfer banner from appearing in some situations.
1111
+ - Feature Hints: disable when plugins cannot be installed on site.
1112
+ - Image CDN: avoid blurry images when using Jetpack's Image CDN alongside other image-focussed blocks.
1113
+ - SEO Tools: do not display any HTML tags in title meta tags.
1114
+ - Sharing: improve accessibility of the sharing buttons by updating the buttons' color.
1115
+ - Sync: avoid conflicts when two processes are synchronized to WordPress.com at the same time.
1116
+ - WordPress.com Block Editor: ensure that the Justify button works well on any paragraph using that button.
1117
+
1118
+ ## [7.9.1] - 2019-11-19
1119
+ ### Bug fixes
1120
+ - Security: fix vulnerability in the way Jetpack processes embed codes.
1121
+ - Verification Tools: avoid PHP warnings when using plugins to modify the WordPress admin menu.
1122
+ - Widgets: ensure opening hours can be displayed properly in the Contact Info Widget.
1123
+
1124
+ ### Improved compatibility
1125
+ - Twenty Twenty: ensure that Related Posts and Jetpack Blocks are displayed nicely in the new default theme.
1126
+
1127
+ ## [7.9] - 2019-11-05
1128
+ ### Major enhancements
1129
+ - Block Editor: allow authors to upload videos to our Jetpack Videos service from the Video Block.
1130
+ - Block Editor: add new post-submission settings to the Form block.
1131
+ - Twenty Twenty: Ensure full compatibility with the upcoming default theme.
1132
+
1133
+ ### Enhancements
1134
+ - Admin Page: update icons for security settings.
1135
+ - Backup: support for Jetpack Backup functionality with simpler configuration.
1136
+ - Block Editor: provide block previews for Jetpack blocks.
1137
+ - Block Editor: add image size option to the Slideshow block.
1138
+ - Block Editor: improve the display of opening hours when using the Business Hours block.
1139
+ - CLI: no longer return exit code 1 if trying to disconnect a site that's already disconnected.
1140
+ - Connection flow: update connect buttons on main dashboard page and plugins page to use the new connection flow.
1141
+ - Connection flow: add plan billing period toggle.
1142
+ - Contact Form: synchronize form data with WordPress.com when submitting a form via the Form block.
1143
+ - Dashboard: update styles for visual parity with the WordPress.com dashboard.
1144
+ - Dashboard: improve performance of the Jetpack dashboard when the plugin is not connected to WordPress.com yet.
1145
+ - Dashboard: add new plans' information to Plans pages.
1146
+ - Dashboard: update design to better integrate with the updated design of the WordPress dashboard in WordPress 5.3.
1147
+ - Dashboard: improve experience for site owners looking to disconnect their site from WordPress.com.
1148
+ - Debug: provide additional information in Tools > Site Health when a site's connection to WordPress.com is broken.
1149
+ - Performance: modernize various parts of the code to use PHP 5.6+ functionality.
1150
+ - Progressive Web Apps: sunset feature. If you wish to continue to use that feature on your site, we recommend installing another plugin that offers the functionality you need.
1151
+ - Related Posts: remove nofollow attribute from links.
1152
+ - Related Posts: add Posts to the REST API response for all post types that support them.
1153
+ - Search: add new filter allowing one to adjuct Jetpack Search's ES query languages.
1154
+ - Search: continued work on upcoming Instant Search features.
1155
+ - Shortcodes: add support for tab sizing to Gist shortcodes and embeds.
1156
+ - Social Networks: update Facebook logo to match new color.
1157
+ - Sync: improve reliability of the information synchronized back to your site when connecting to WordPress.com.
1158
+ - Tiled Galleries: ensure that color profile information is retained for all images in Tiled Galleries.
1159
+ - Widgets: add aria-current attribute to links when on same page.
1160
+ - WordAds: improve speed & resource use of Ads' loading scripts.
1161
+
1162
+ ### Improved compatibility
1163
+ - AMP: ensure that one can use the Slideshow and the MailChimp blocks when using the AMP plugin.
1164
+ - AMP: support the new Dev mode for Notifications and Stats features.
1165
+ - Admin Page: improve compatibility with themes and plugins that insert CSS in the dashboard.
1166
+ - Blocks: ensure that all blocks display well in the editor when using WordPress 5.3.
1167
+ - Carousel: ensure that the feature works with the new gallery markup introduced in WordPress 5.3.
1168
+ - Dashboard Notices: ensure that all notices redirect to the right page, including on WooCommerce dashboard pages.
1169
+ - General: use new functionality available in WordPress 5.3.
1170
+ - PHP: resolve deprecation warnings in anticipation of PHP 7.4.
1171
+ - Related Posts: avoid conflicts with other plugins adding elements below the post content, especially when the AMP plugin is active on the site.
1172
+ - SSO: ensure that the Secure Sign In Form is displayed properly when using WordPress 5.3.
1173
+ - Widgets: update deprecated option in the Facebook Page Plugin widget.
1174
+ - WordPress.com REST API: ensure compatibility with WordPress 5.3.
1175
+
1176
+ ### Bug fixes
1177
+ - Admin Page: remove Jetpack dashboard link for registered users (non admins) when the site is not connected to WordPress.com.
1178
+ - Admin Page: translate empty Stats chart's message.
1179
+ - Admin Page: change default settings tab depending on your role.
1180
+ - Admin Page: do not display Composing header for editors.
1181
+ - Block Editor: ensure that the Ad block is compatible with dark themes.
1182
+ - Contact Form: revise the email validation function to include length limit.
1183
+ - Debug: reduce instances when an inconclusive response would result in an error.
1184
+ - Geo-Location: fix spacing for RSS geo-location namespaces.
1185
+ - Image CDN: remove wp-dom-ready dependency to improve performance on the frontend.
1186
+ - Search: add hooks for when Search falls back to using the local database.
1187
+ - Site Logo: ensure that the right stylesheet is loaded depending on your site's language.
1188
+ - Site Verification Tools: ensure that you can connect your site to Google Search Console even when Publicize is disabled.
1189
+ - Sync: prevent a PHP Notice in some cases where a post isn't actually a post.
1190
+ - Widgets: ensure that the Google Maps API key in the Contact Info widget can be set to only work on your domain.
1191
+ - Widgets: fix timeout issues that may sometimes occur in the GoodReads widget when user has added lots of books to their account.
1192
+ - WordPress.com REST API: better site preview support for sites using WordPress in a subdirectory.
1193
+
1194
+ ## [7.8] - 2019-10-01
1195
+ ### Enhancements
1196
+ - Connection flow: remove some of the text from the connection prompt.
1197
+ - Dashboard: remove custom About menu page ordering.
1198
+ - Dashboard: review and remove unnecessary queries.
1199
+ - General: remove files that were deprecated in Jetpack 7.5.
1200
+ - General: remove outdated pre-PHP 5.6 era code.
1201
+ - Image CDN: check for local file upload before processing post images.
1202
+ - Markdown Block: display in the block picker even if the classic Markdown feature is disabled.
1203
+ - Recurring Payments: add an alignment option to the button.
1204
+ - Recurring Payments: improve the display of connection notifications.
1205
+ - Tiled Galleries: the block is now available even if you've disable the "Image Accelerator" feature.
1206
+ - WordPress.com REST API: improve detection of the Full Site Editing feature.
1207
+
1208
+ ### Improved compatibility
1209
+ - AMP / Sharing: include Open Graph metadata to AMP Story posts.
1210
+ - General: avoid conflicts when using Jetpack alongside other plugins or services that rely on an Autoloader.
1211
+
1212
+ ### Bug fixes
1213
+ - Activity Log: avoid displaying events from the Action Scheduler.
1214
+ - Ads Block: avoid PHP errors when loading posts via the WordPress.com interface.
1215
+ - Blocks: ensure that all blocks are properly translated when a translation is available.
1216
+ - Dashboard: do not display Plans page to non-connected admins.
1217
+ - Post Images: look for representative images in inner blocks as well.
1218
+ - Shortcodes: add title attribute to Archive.org and Archive.org Book embeds.
1219
+ - Sync: avoid issues when using deprecated Sync functions.
1220
+ - WordPress.com dashboard styles: fix layout on Plugins > Add New Page, on mobile devices.
1221
+
1222
+ ## 7.7.2 - 2019-09-23
1223
+ ### Bug fixes
1224
+ - General: fix connection issues when attempting to install and connect Jetpack from a mobile app.
1225
+
1226
+ ## 7.7.1 - 2019-09-06
1227
+ ### Bug fixes
1228
+ - Connection Flow: avoid any errors linked to browser cookie policies during connection request.
1229
+ - General: additional check to avoid warnings on plugin update.
1230
+ - SSO: avoid Fatal errors happening during some log in attempts.
1231
+ - Sync: check if IXR client exists to prevent errors when updating the plugin.
1232
+
1233
+ ## [7.7] - 2019-09-03
1234
+ ### Major Enhancements
1235
+ - This release brings in multiple improvements to the WordPress.com connection process, to fix issues site owners may experience when first connecting their site to WordPress.com.
1236
+
1237
+ ### Enhancements
1238
+ - Anti-spam: improve the flow to configure Akismet from Jetpack's Dashboard.
1239
+ - Blocks: add new utility to get all CSS classes for a given block.
1240
+ - Bruteforce Login Protection: improve Network Activation detection on Multisite networks.
1241
+ - Dashboard: update all illustrations to use new color scheme.
1242
+ - General: log XML-RPC communication errors between the site and WordPress.com.
1243
+ - General: use HTTPS URLs when linking to external sites when possible.
1244
+ - General: warn admins when about to delete another admin user that happens to be the main Jetpack admin on the site.
1245
+ - Sharing / Publicize: add Open Graph Meta Tags to archive pages.
1246
+ - Sitemaps: reduce sitemap cache duration when using Jetpack's Development mode.
1247
+ - Social menus: replace the outdated Medium icon with updated logo.
1248
+ - Stats: improve method used to enqueue JavaScript when the feature is active.
1249
+ - Videos: Add video settings to Jetpack's enhanced video block.
1250
+ - Widgets: improve the creation process and display of maps inside the Contact Info Widget.
1251
+ - Widgets: add more RSS feed patterns to the Social Icons Widget.
1252
+ - Widgets: add new `jetpack_widget_authors_params` filter to the Authors widget, to allow site owners to customize the list of authors.
1253
+ - WordPress.com API: add option to manage Full Site Editing.
1254
+ - WordPress.com Interface: allow language to be changed even if `WPLANG` constant is defined.
1255
+ - WooCommerce Analytics: use core WordPress function to enqueue script asynchronously.
1256
+
1257
+ ### Improved compatibility
1258
+ - Ads: make sure the Ad block generates ads that are compatible with the AMP plugin.
1259
+ - Image CDN: update the size of images used in AMP Stories when using the AMP plugin.
1260
+ - Responsive Videos: improve compatibility and avoid validation errors when using the AMP plugin.
1261
+ - WordPress.com API: avoid errors when used in combination with the Polylang plugin.
1262
+ - WordPress.com API: improve compatibility with plugins that alter the behavior of search queries.
1263
+
1264
+ ### Bug fixes
1265
+ - Bruteforce Login Protection: fix the display of the admin notice displayed on Multisite networks.
1266
+ - Contact Form: update the feedback post type capability to a valid value.
1267
+ - Dashboard: improve the layout of the Connection modal on mobile devices.
1268
+ - General: do not redirect during automatic upgrades.
1269
+ - Image CDN: support the `medium_large` image sizes.
1270
+ - Related Posts: ensure Related Posts can be displayed when using the AMP plugin and Jetpack's Sharing feature.
1271
+ - Search: authenticated search requests will now display non-public content.
1272
+ - Sitemaps: improve the display of descriptions in video sitemaps, when they include HTML content.
1273
+ - Stats: load RTL stylesheet for dashboard widget, to fix layout issues on RTL language sites.
1274
+ - WordPress.com API: fix API responses which contain malformed (non-UTF-8) data.
1275
+ - WordPress.com Toolbar: limit access to Stats and Plan menu items.
1276
+
1277
+ ## [7.6] - 2019-08-06
1278
+ ### Enhancements
1279
+ - Backups: add ability to send SSH credentials.
1280
+ - Blocks: allow the insertion and preview of any Jetpack block in the editor, even when the block is only available via a Paid plan.
1281
+ - Carousel: use a pointer cursor when hovering over galleries that utilise the Carousel feature.
1282
+ - Dashboard: improve the display of the feature cards in the main Jetpack dashboard.
1283
+ - General: hide edit post link on your site when viewing it via the WordPress mobile app.
1284
+ - oEmbeds: add support for Song.link service.
1285
+ - Stats: improve performance of the Stats tracking pixel by eliminating blocking JavaScript.
1286
+ - Stats: improve Cache performance by switching from the WordPress Options API to the WordPress Transient API.
1287
+ - Support links: use the Beta support form when on a development version.
1288
+ - Sync: add a term taxonomy blacklist option, and start blacklisting taxonomies that do not need to be synchronized with WordPress.com.
1289
+ - Sync: improve reliability of the synchronization of taxonomies.
1290
+ - Videos: ensure any deprecations added in the core video block are not overwritten.
1291
+ - Widgets: allow the customization of avatar image options in the Top Posts Widget, via a filter.
1292
+ - Widgets: add option to open Flickr gallery images in a new tab.
1293
+ - WordPress.com Activity Log: avoid display issues with WooCommerce Product Reviews.
1294
+
1295
+ ### Improved compatibility
1296
+ - AMP: ensure CSS compatibility with the Sharing buttons.
1297
+ - AMP: ensure full compatibility with Jetpack's Image CDN.
1298
+ - Dashboard: fix layout issues when viewing the dashboard on WordPress.com Business sites.
1299
+ - Compatibility suite for shared libraries: fix PHP notice when running suite.
1300
+ - Contact Form: ensure the Date picker field does not cause any AMP validation errors.
1301
+
1302
+ ### Bug fixes
1303
+ - Admin Page: fix the behaviour of the Jetpack Videos button in the "My Plan" tab.
1304
+ - Admin Page: fix a typo in the Magic Links modal.
1305
+ - Connection process: bring back the ability to connect to WordPress.com via XML-RPC or REST API.
1306
+ - Custom CSS: fix Media Width label layout issue in Firefox.
1307
+ - Dashboard Notices: fix layout issues on sites using an RTL language.
1308
+ - Sync: fix home and Site URL synchronization issues on sites with custom Cron implementations.
1309
+ - WordPress.com Activity Log: add Action Scheduler to the list of blacklisted post types
1310
+
1311
+ ## [7.5.3] - 2019-07-17
1312
+ ### Bug fixes
1313
+ - General: Fixes plugin activation/deactivation hooks that were accidentally disabled.
1314
+ - General: Fixes fatal errors that were possible when using pre-7.5 Jetpack internal API.
1315
+
1316
+ ## [7.5.2] - 2019-07-04
1317
+ ### Bug fixes
1318
+ - General: Fixes an error when a site's connection to WordPress.com is set to "Safe Mode".
1319
+
1320
+ ## [7.5.1] - 2019-07-02
1321
+ ### Bug fixes
1322
+ - General: Fixes an error when trying to delete the Jetpack plugin.
1323
+ - General: Fixes supported PHP version declaration.
1324
+
1325
+ ## [7.5] - 2019-07-02
1326
+ ### Enhancements
1327
+ - Admin Page: add an option to send a magic link that will help you log in to the mobile apps in one click.
1328
+ - Admin Page: improve style and wording of many different sections of the dashboard to clarify the role of each feature.
1329
+ - Admin Page: remove feature that would offer you to activate a list of recommended features upon connecting your site to WordPress.com.
1330
+ - Backups: include updates to term relationships when backing up Post object changes.
1331
+ - Backups: synchronize ABSPATH value to help setting up SSH credentials when using Jetpack Backups.
1332
+ - Faceboook Embeds: support new video URL format.
1333
+ - Lazy Load: allow adding event handlers to images.
1334
+ - Recurring Payments Block: improve the display of the block in the editor.
1335
+ - WordAds: update link to daily earnings stats on WordPress.com.
1336
+ - WordAds: provide additional details for custom ads.txt entries in the Jetpack dashboard.
1337
+ - WordPress.com Toolbar: add colors to Recovery Mode button.
1338
+
1339
+ ### Improved compatibility
1340
+ - Admin Page: improve display of the Jetpack Dashboard in IE11.
1341
+ - Sharing: avoid displaying extra list items below the sharing buttons when using the AMP plugin.
1342
+ - Staging enviroments: add staging enviroment detection for DreamPress sites.
1343
+
1344
+ ### Bug fixes
1345
+ - Admin Page: fix display of backup details in the Jetpack dashboard.
1346
+ - Admin Page: do not disable Widget Visibility and Widgets toggles in Development mode.
1347
+ - Sitemaps: ensure links to sitemaps appear in robots.txt
1348
+ - Slideshow Block: fix CSS class name.
1349
+ - Videos: ensure that Video Poster images are always displayed properly.
1350
+
1351
+ ## [7.4.1] - 2019-06-17
1352
+ ### Bug fix
1353
+ - Contact Form Block: avoid errors when trying to edit a form block, when using the Gutenberg plugin.
1354
+
1355
+ ## [7.4] - 2019-06-04
1356
+ ### Enhancements
1357
+ - About Page: remove submenu and add link to page in the footer of Jetpack's dashboard.
1358
+ - Admin Page: remove Themes card on Plans tab.
1359
+ - Admin Page: consolidate the look of the different discussion settings.
1360
+ - Admin Page: add Security Checklist information.
1361
+ - Business Hours Block: improve the display of Business Hours.
1362
+ - Business Hours Block: Simplify hours format.
1363
+ - Comment Form: use HTTP 4xx status codes for comment errors.
1364
+ - Contact Form Block: improve styles for better display on mobile devices.
1365
+ - General: introduce a new Jetpack Logo package, to make it easier to share and re-use.
1366
+ - Multisite: Use modern `wp_initialize_site` hook when automatically connecting new sites.
1367
+ - Recurring Payments Block: automatically add button to the post content once you create it.
1368
+ - Recurring Payments Block: improve the display of the renewal frequency in button list.
1369
+ - Recurring Payments Block: require a paid plan to use the button.
1370
+ - Recurring Payments Block: improve the look of the payment modal on mobile devices.
1371
+ - Search: add new option for cross-site search permissions.
1372
+ - Sharing: update default sharing settings to include buttons.
1373
+ - Sitemaps: rename the `jetpack_sitemap_generate` and `jetpack_news_sitemap_generate` filters to the more accurate `jetpack_sitemap_include_in_robotstxt` and `jetpack_news_sitemap_include_in_robotstxt`.
1374
+ - Slideshow Block: depending on viewport, display prev/next arrows.
1375
+ - Slideshow Block: remove outline when focussing on the block.
1376
+ - Sync: offer posts, comments, and comment meta checksums when providing sync status.
1377
+ - Tiled Galleries: add `srcset` in the editor for an improved editing experience.
1378
+ - WordPress.com Block Editor: allow managing reusable blocks in the WordPress.com interface.
1379
+ - WordPress.com Toolbar: display hamburger icon in toolbar when in the block editor.
1380
+ - WordPress.com Toolbar: display a link to exit recovery mode when it is active on the site.
1381
+
1382
+ ### Improved compatibility
1383
+ - Display Posts Widget: remove overly opinionated CSS.
1384
+ - General: Jetpack now requires PHP 5.3.2, and will display a notice if your site uses an older version of PHP.
1385
+ - General: display a notice and log an error if your version of WordPress is not supported by Jetpack.
1386
+ - General: Update `Jetpack::get_content_width()` to ensure that only numeric values are used.
1387
+ - GIF Block: improve compatibility with the AMP plugin.
1388
+ - Shortcodes: bring more of our shortcodes to meet current WordPress Coding Standards to help us maintain these features in the future.
1389
+ - Site Health: improve Jetpack errors' messaging in WordPress' new Site Health tools.
1390
+
1391
+ ### Bug fixes
1392
+ - Admin Page: make sure the Jetpack Dashboard is displayed properly in IE11.
1393
+ - Admin Page: do not show Plugin Autoupdates card on admin searches.
1394
+ - Carousel: avoid scrolling back to the top of the page when you close the Carousel view.
1395
+ - Connect Flow: sanitize from parameter when building connection URL.
1396
+ - Mobile Themes: fix "View Full Site" and "View Mobile Site" links when WordPress lives in a subdirectory.
1397
+ - Recurring Payments Block: avoid invalid subscription amounts.
1398
+ - Recurring Payments Block: allow line breaks in the payment button.
1399
+ - Related Posts: do not add markup to attachment pages by default.
1400
+ - SEO Tools: support taxonomy archive pages in page titles.
1401
+ - Sharing: make sure the Whatsapp button works well in all browsers, including Firefox on desktop.
1402
+ - Shortcodes: update embed type detection for Medium Collections.
1403
+ - Social Icons SVG: switch to the presentation role for better accessibility.
1404
+ - Subscriptions: display checkboxes above the comment submit button.
1405
+ - Sync: add new WP Cli commands to help in monitoring and updating sync settings.
1406
+ - Tracks: limit the length of the strings saved for feature searches.
1407
+ - Unit Tests: add support for testing using VVV 3.0.
1408
+ - Verification Tools: make sure the feature can be disabled by override.
1409
+ - WooCommerce Analytics: remove duplicate self-executing anonymous function.
1410
+ - WordPress.com Interface: make sure navigation menu items match the one available in the WordPress.com interface.
1411
+ - WordPress.com Toolbar: restore the previous layout.
1412
+ - WordPress.com Toolbar: ensure you are properly logged out of your WordPress.com account when you sign out of your site using the toolbar.
1413
+ - WP Cli: ensure that WP Cli commands added by Jetpack include translator comments when necessary, to help with translations.
1414
+
1415
+ ## [7.3.1] - 2019-05-14
1416
+ ### Bug fixes
1417
+ - Admin Experience: Correct underline location under a dollar sign.
1418
+ - Deprecated Hooks: Do not offer a replacement for jetpack_json_manage_api_enabled since there isn't an equal replacement.
1419
+ - Debugger: Clarify labels in the Site Health Info section.
1420
+ - Likes and Sharing: Remove duplicate control in the block editor for Likes/Sharing. We added a native block editor plugin, but left the old fallback.
1421
+ - WordPress.com Editor: Redirect to a login page when logging out from the block editor on WordPress.com.
1422
+ - WordPress.com Toolbar: Add menu icon for smaller screen widths to restore wp-admin navigation menu.
1423
+
1424
+ ## [7.3] - 2019-05-07
1425
+ ### Major Enhancements
1426
+ - We streamlined the default features of Jetpack to make the "out of the box" experience better.
1427
+ - WordPress 5.2 will add a new Site Health section to your dashboard. Jetpack already integrates with it, letting you know that your Jetpack features are working!
1428
+
1429
+ ### Enhancements
1430
+ - Admin Experience: Improve our "just in time messages" and "Recommended Features" for new sites setting up Jetpack for the first time.
1431
+ - Admin Experience: Add an "About Jetpack" page to let folks know more about Automattic, the company behind WordPress.com and Jetpack.
1432
+ - Admin Experience: Add a link to the full list of Jetpack features in the footer of Jetpack dashboard pages.
1433
+ - Backups: Add SSH CLI command for hosting integration support.
1434
+ - Block Editor: Compose posts with the Block Editor posts via WordPress.com for their Jetpack sites!
1435
+ - Block Editor: Transform core images to Tiled Galleries or Slideshow blocks and back!
1436
+ - Block Editor: Provide an option to disable particular extensions.
1437
+ - Contact Form: Add a "grunion_after_message_sent" hook for after a form submission is e-mailed. Thanks Tim Nolte for contributing to Jetpack!
1438
+ - Contact Form: Do not prefill for administrators on their own sites.
1439
+ - Grammar and Spelling: Remove from Jetpack. We've chekced the spelling alot over the years, but now time to retire.
1440
+ - Membership Block: Add a new block behind the JETPACK_BETA_BLOCKS constant. Stay tuned!
1441
+ - Photon: Remove jQuery dependency for photon.js. Same Image CDN awesomeness with less overhead.
1442
+ - Portfolios: Remove the "Portfolio Items" description that would display on some themes.
1443
+ - Sharing: Add a "sharing_ajax_action" to to allow other plugins and scripts to render sharing buttons. Thanks Darren Cooney!
1444
+ - Social Icons: Add Stack Overflow support. Welcome to the Jetpack contributor ranks Muhammad Osama Arshad!
1445
+ - Sync: Report details on what is queued up to sync on the status endpoint.
1446
+ - Sync: Improve importer detection so we can better handle cases of imported content.
1447
+ - Sync: Add an option to disable sync for an entire network.
1448
+ - Sync: Adds new WP-CLI Jetpack Sync commands: settings, enable, disable, reset.
1449
+ - Testimonials: Sort by menu order to give site owners more flexibility for display. Thanks Felipe Elia!
1450
+ - Tiled Galleries: Add improved layout for when images are in the process of uploading.
1451
+ - Tiled Galleries: Add responsive imaging (srcset) support to the Tiled Gallery block.
1452
+ - WordAds: Add location id (e.g. under the post) to the ad calls.
1453
+ - WordPress.com API: Add behind the scene improvements to support the WordPress.com site management experience.
1454
+ - WordPress.com API: Add the public property to the Post Types endpoint response.
1455
+ - WordPress.com Menu Bar: Redesign to direct navigation items to WordPress.com instead of duplicating experiences.
1456
+
1457
+ ### Improved compatibility
1458
+ - Blocks: Use the Editor's "BlockIcon" for native placeholder icons instead of custom CSS.
1459
+ - Blocks: Drop i18n wrapper, use @wordpress/i18n directly. This means it will be easier and faster to provide translated bits of text.
1460
+ - Blocks: Move block development to the Jetpack repo. You shouldn't see any changes, but this helps us make Jetpack Blocks better faster.
1461
+ - Block Editor: Improve the experience of using the Block Editor via the WordPress.com dashboard.
1462
+ - Browser Compatibility: Remove legacy code for Internet Explorer 10.
1463
+ - Coding Standards: Update our code to match the latest WordPress coding standards in various places.
1464
+ - Likes and Sharing: Add Likes and Sharing settings as a Block Editor extension.
1465
+ - Related Posts: Improve the internationalization of the "in X category" text.
1466
+ - Simple Payments: Easily convert old shortcode-style Simple Payment buttons to a block.
1467
+
1468
+ ### Bug fixes
1469
+ - Admin Dashboard: Improve headings when searching for Jetpack features.
1470
+ - Admin Dashboard: Remove legacy views no longer used in Jetpack.
1471
+ - Blocks: Fix some design oddities in Form and Contact Info blocks.
1472
+ - Carousel: Allow any title to be displayed. We used to try to be smart about default file names, but that caused some problems.
1473
+ - Development Mode: Display fewer sections of the Admin Dashboard. Some simply don't apply in Development Mode.
1474
+ - Google Plus: Remove from Social Icons and Sharing since the service has retired.
1475
+ - Internationalization: Translate various sections missed, such as "just in time messages" and block search keywords.
1476
+ - Manage: Remove Manage as an independent module. These features have been fully integrated for a few versions now.
1477
+ - Multisite: Restore ability to connect subsites via the Network Admin.
1478
+ - Open Graph Tags: Prevent a PHP notice on some author pages.
1479
+ - Sharing: Improve accessibility of sharing buttons by increasing contrast ratio. Props https://titan.as
1480
+ - Sharing: Fix the alignment of the official buttons for LinkedIn and Pinterest.
1481
+ - Shortcodes: Retire the Google Video, Jetpack Subscribe, and Digg shortcodes.
1482
+ - Slideshow: Fix a JavaScript error that occurs when block is first added.
1483
+ - Slideshow: Add slideshow images to Open Graph tags when using the Slideshow block.
1484
+ - Social Icons: Remove Google+, uses the generic Google now.
1485
+ - Subscriptions: Correct conflicts that were possible with the checkboxes after a comment submission form.
1486
+ - Theme Tools: Ensure Featured Content tag is retained on a post after saving. Thanks Anis Ladram, you're a Jetpack contributor now!
1487
+ - Uninstalling Jetpack: Prevent notice about JETPACK__PLUGIN_DIR already being defined when programmatically uninstalling Jetpack. (But why would you uninstall?)
1488
+ - Widgets: Remove the Cookies & Consents Banner (not just hide it) after consenting. Thanks Tony Tettinger!
1489
+
1490
+ ## [7.2.1] - 2019-04-04
1491
+
1492
+ - Feature Hints: display suggestions only for features available under the site's current plan.
1493
+ - Feature Hints: improve visual display to make more distinct from search results.
1494
+ - Feature Hints: disable hints once administrators have dismissed three hints.
1495
+ - Slideshow Block: resolve an issue that broke navigating between images.
1496
+
1497
+ ## [7.2] - 2019-04-02
1498
+ ### Major Enhancements
1499
+ - Adds a Repeat Visitor block that controls block visibility based on how often a visitor has viewed the page.
1500
+ - New option to disable Ads blocks for visitors on mobile devices.
1501
+
1502
+ ### Enhancements
1503
+ - Admin Dashboard: improve text and design to make your administration experience all the better.
1504
+ - Jumpstart: streamline what features are suggested to be activated when setting up Jetpack for the first time.
1505
+ - Password Checker: adds a password checker class that will help Jetpack let you know if you're using a weak password. More about this coming in a future release!
1506
+ - Plans: refactor how Jetpack Plans are coded within Jetpack to improve performance and help prevent any future bugs.
1507
+ - Post Images: provide the image itself when requesting an attachment's post image.
1508
+ - REST API: Enable Likes and Sharing meta field for all post types.
1509
+ - Related Posts: improve HTML markup for related posts, with emphasis on accessibility.
1510
+ - Search: add an easy way to see the raw Jetpack Search query results in the search page's source code.
1511
+ - Shortcodes: allow links in Quiz shortcode explanations.
1512
+ - Widgets: improve the text for the Blog Stats widget when stats data can not be retrieved from WordPress.com.
1513
+
1514
+ ### Improved compatibility
1515
+ - General: require WordPress 5.0! To celebrate, we cleaned out some compatibility code that supported older versions. We know how to party.
1516
+ - General: update various parts of Jetpack to fully align with WordPress coding standards to make developing Jetpack easier!
1517
+ - Connection: notify site owners when a plugin or theme is double-encoding URL redirects.
1518
+ - Shortcodes: update the Ustream shortcode to use the HTML5 player for a better experience on all browsers.
1519
+ - Shortcodes: add AMP support for Crowdsignal polls and shortcodes.
1520
+ - Sitemaps: add thumbnails to video sitemaps to improve compatibility with Google Search Console. Props Adam Heckler!
1521
+ - Sync: improve performance when using the VIP Legacy Redirect plugin.
1522
+ - Twenty Nineteen Compatibility: prevent sharing buttons overlapping with the Like button. Props Torres!
1523
+ - VideoPress: update right-to-left language CSS to remove extra styles only used on browsers no longer supported.
1524
+ - Widgets: improve rendering of Contact Info widget map when using the AMP plugin.
1525
+
1526
+ ### Bug fixes
1527
+ - Admin Dashboard: fix an error that you'd see in the console when changing your Carousel settings.
1528
+ - Blocks: fix an issue where sometimes we would attempt to register a particular block twice. I'm looking at you, Related Posts.
1529
+ - Blocks: display all Business Hours details, even if they're the default set.
1530
+ - Blocks: fix an error that occurred when loading some translations in the Block Editor.
1531
+ - Blocks: resolve a conflict between the Ads block and infinite scroll that would cause new posts to sometimes not load.
1532
+ - General: ensure the proper Jetpack plan is reflected throughout Jetpack and the administrative dashboard.
1533
+ - Plugin Search: display Akismet and VaultPress plugin cards when WordPress.org suggests them.
1534
+ - Publicize: remove unused assets, like images and JavaScript that aren't needed anymore.
1535
+ - Related Posts: restore use of the jetpack_relatedposts_filter_options filter.
1536
+ - Security: Improvements to the Likes feature and the Slideshow block.
1537
+ - Sharing: update WhatsApp to be more consistent with the other sharing buttons.
1538
+ - Shortcodes: remove Lytro service, which closed in March.
1539
+ - Stats: properly handle an error from the REST API that sometimes caused issues with the Stats Dashboard.
1540
+ - Widgets: display all characters in an address from Contact Info correctly when sometimes we encoded those that we'd expect in an URL.
1541
+ - Widgets: improve the performance of the Contact Info widget by eliminating unused JavaScript.
1542
+
1543
+ ## [7.1.1] - 2019-03-06
1544
+ ### Bug fixes
1545
+ - General: avoid conflicting with other plugins when suggesting Jetpack features on the Plugins screen.
1546
+ - Publicize: avoid errors when the feature is not active on a site.
1547
+ - Widgets: improve performance of the Top Posts and the Blog Stats widgets on high-traffic sites.
1548
+ - Subscriptions: fix an issue that prevented displaying subscribers count in the subscription forms.
1549
+ - Tiled Galleries / Slideshows: ensure they can be displayed properly in Internet Explorer 11.
1550
+
1551
+ ## [7.1] - 2019-03-05
1552
+ ### Major Enhancements
1553
+ - Block Editor: this release introduces 6 new blocks:
1554
+ - the Ads block allows you to insert different ads from [our WordAds program](https://jetpack.com/support/ads/) within your posts and pages.
1555
+ - the Mailchimp block allows your readers to easily subscribe to your Mailchimp newsletter.
1556
+ - the Video block supports VideoPress videos if you've purchased our Premium or Professional plan.
1557
+ - the Slideshow block allows you to insert beautiful slideshows in your posts and pages.
1558
+ - The Business Hours blocks is useful for companies who want to display their business's Opening Hours on their site.
1559
+ - The Contact Info block is useful for any business who may want to display useful information on a post or page.
1560
+
1561
+ ### Enhancements
1562
+ - Admin Page: move Carousel settings from Performance to Writing section.
1563
+ - Ads: include search results pages under the `Archive` toggle.
1564
+ - Block Editor: improve block registration structure for better management of block availability.
1565
+ - General: remove IE8 support fallbacks.
1566
+ - General: add feature suggestions to the plugin search screen.
1567
+ - Image CDN: add new mode that disables the creation of resized images, thus saving disk space.
1568
+ - Instagram: update embed to support Instagram TV URLs.
1569
+ - Post Images detection: add support for alt text.
1570
+ - Plans: clarify upgrade prompts in the Jetpack dashboard's Plans page.
1571
+ - Publicize: remove the Google+ interface as the Social Network is now deprecated.
1572
+ - Related Posts: update block to allow for up to 6 related posts.
1573
+ - Social Menus & Icons: add Discord Support.
1574
+ - Support: add additional tests to check when Jetpack isn't working as expected and ensures all current debugging platforms use the same testing list.
1575
+ - Simple Payments: add generic currency fallback symbol.
1576
+ - Sync: further performance improvements in PHP 7+ environments.
1577
+ - Woocommerce Analytics: include product type with analytics data.
1578
+
1579
+ ### Improved compatibility
1580
+ - General: replace all .dev TLD references by .test as the .dev TLD will soon become available for registration.
1581
+ - PHP 7.3: introduce automated testing for PHP 7.3.
1582
+ - Site Accelerator: ensure compatibility with the AMP plugin.
1583
+ - Twenty Nineteen: fix Top Posts and Pages Widget image list margins.
1584
+ - WordPress 5.1 Compatibility: update usage of `wp_schedule_single_event` to match changes in WordPress.
1585
+
1586
+ ### Bug fixes
1587
+ - Copy Post: ensure the feature can be used when using non-standard post formats.
1588
+ - Infinite Scroll: fix vertical spacing for new posts loaded with Infinite Scroll.
1589
+ - Internationalization: fix minor problem affecting translations in the block editor.
1590
+ - Mobile Theme: fix PHP notices when trying to display gallery images.
1591
+ - Mobile Theme: fix redirection issues when clicking on the "Desktop version" links.
1592
+ - Photon: add paypalobjects.com to the list of banned domains, as this domain already relies on a CDN.
1593
+ - Publicize / Subscriptions: do not show message at the top of the editor when creating a private post.
1594
+ - Spelling / Grammar: fix error when spellchecking the contents of a Classic block in the block editor.
1595
+ - Top Posts: allow fetching posts from a long timeframe when using the `jetpack_top_posts_days` filter.
1596
+ - Related Posts: avoid display a dulplicated set of related posts when using the Related Posts block.
1597
+ - REST API: fix a bug causing Likes settings on a post to sometimes be flipped.
1598
+ - Security: fix an XSS vulnerability in the "My Community" widget.
1599
+ - Security: avoid bypassing Protect's Math Fallback challenge.
1600
+ - Site Stats: do not show the Jetpack logo in the Stats dashboard widget title in the Screen Options tab.
1601
+ - Theme Tools: support alternative Pinterest domain extensions in the Social Menus tool.
1602
+ - Widgets: support alternative Pinterest domain extensions in the Social Icons Widget.
1603
+ - Widgets: update the Cookies & Consents Banner to be fully accessible on mobile devices.
1604
+
1605
+ ## [7.0.1] - 2019-02-14
1606
+ ### Improved compatibility
1607
+ - Publicize: update LinkedIn connections to use newer API, anticipating changes with LinkedIn's API v1 on March 1st.
1608
+ - Publicize: display a message inviting site owners to reconnect their site to their LinkedIn profile.
1609
+ - Publicize: remove section in Settings > Sharing in the dashboard.
1610
+
1611
+ ### Bug fixes
1612
+ - Tiled Galleries: avoid errors when converting a tiled gallery into a block.
1613
+ - Security: ensure json_encode()d data safely output to the page.
1614
+ - Shortlinks: do not show Jetpack Sidebar in the block editor if Shortlinks are not available.
1615
+ - Sync: avoid errors in WordPress' code editor, for sites using PHP 7 with `fastcgi_finish_request` enabled.
1616
+
1617
+ ## [7.0] - 2019-02-05
1618
+ ### Major Enhancements
1619
+ - Block Editor: introduce a new Gif block to help you quickly search and add Gif images to your posts.
1620
+ - Copy Post: this new feature allows you to quickly create a new draft based on a post that's already published.
1621
+
1622
+ ### Enhancements
1623
+ - Block Editor: update the way we check for available blocks and extensions.
1624
+ - Connection flow: display a notice upon connection when the site is suspended.
1625
+ - Contact Form: add more options to customize the look of the submit button.
1626
+ - Likes / Publicize: in the Jetpack Dashboard, add explanation to clarify the role of the features.
1627
+ - REST API: add likes and sharing settings to the REST API Post response.
1628
+ - Sharing: deprecate the Google+ sharing Button.
1629
+ - Sharing: deprecate the Google+ embed shortcode.
1630
+ - Shortcodes: rely on WordPress Core to handle SlideShare slideshow embeds.
1631
+ - Shortcodes: cache the output of the Twitter shortcode.
1632
+ - Subscriptions: remove obsolete polyfill JavaScript from the Subscriptions form.
1633
+ - Subscriptions: allow more customization of the subscription form's submit button.
1634
+ - Sync: improvements to the synchronization of plugin and theme updates.
1635
+ - Sync: improve performance for sites using PHP 7, with `fastcgi_finish_request` enabled.
1636
+ - Sync: synchronize plugin and theme fatal errors reported by WordPress 5.1.
1637
+ - Widgets: deprecate the Google+ widgets.
1638
+ - WordPress.com: allow the display of plugin action links in the WordPress.com plugins' interface.
1639
+
1640
+ ### Improved compatibility
1641
+ - Lazy Images: fix a compatibility issue with themes that overwrite classes on html.
1642
+ - Contact Form: ensure contact form submissions with long words do not break the site layout, regardless of the theme.
1643
+ - Publicize: remove the option to connect your site to a Google+ account, in anticipation of the service's shutdown.
1644
+
1645
+ ### Bug fixes
1646
+ - Admin Page: avoid PHP notices when looking at non-Jetpack admin pages.
1647
+ - Carousel: fix display issue when viewing images with long captions.
1648
+ - Carousel: avoid errors when fetching comments in the Carousel modal.
1649
+ - CSS: fix the behavior of the CSS concatenation filter.
1650
+ - Multisite: fix the display of the main connection banner.
1651
+ - Protect: ensure the Math fallback is displayed when necessary.
1652
+ - Publicize: avoid Fatal Errors on sites using Development Mode.
1653
+ - Responsive videos: do not apply for videos that benefit from WordPress' own Responsive Embeds solution.
1654
+ - Shortcodes: only load Mailchimp CSS when needed.
1655
+ - Subscriptions: display subscription options below the comment form, even when you are logged in to your WordPress account.
1656
+ - WordPress.com REST API: add new endpoint to allow the creation of a WooCommerce connection via the API.
1657
+
1658
+ ## [6.9] - 2019-01-10
1659
+ ### Major Enhancements
1660
+ - Block Editor: this release introduces new blocks: a Subcription form block, a Tiled Gallery block, and a Related Posts block.
1661
+
1662
+ ### Enhancements
1663
+ - Admin Page: several changes to improve navigation and connection flows for new and existing Jetpack site owners.
1664
+ - Admin Page: make the Jetpack dashboard wider on large screens for a better experience.
1665
+ - Affiliate tools: offer options for affiliate partners to manage affiliation links on their site.
1666
+ - Carousel: add support for the new Tiled Gallery block.
1667
+ - Contact Form: use the comment blacklist to filter contact form submissions.
1668
+ - Dashboard notices: automatically dismiss notices once a feature has been activated.
1669
+ - Dashboard notices: fix styling to work better with the Hello Dolly plugin.
1670
+ - Internationalization: add new locales, ensure existing ones are up to date.
1671
+ - REST API: new endpoint to expose Gutenberg block and plugin availabilty.
1672
+ - Search: add hook to get_filters() to allow the use of custom filters.
1673
+ - Shortcodes: add new Mailchimp shortcode to insert Mailchimp subscription forms anywhere in your posts and pages.
1674
+ - SSO: offer message introducing the feature to new users.
1675
+ - Stats: improve the design of the Stats dashboard widget.
1676
+ - Widgets: add filter to set DoNotTrack in Twitter Timeline widget.
1677
+ - WordPress.com REST API: add new option to set sites to private.
1678
+
1679
+ ### Improved compatibility
1680
+ - AMP: ensure that all Jetpack features are compatible with the latest version of the AMP plugin. Solves issues previously encountered with sharing buttons and stats.
1681
+ - Images: ensure that images inserted with new block editor can be used in Open Graph Meta tags, Related Posts, and Publicized posts.
1682
+ - PHP 7.3: avoid PHP warnings so the plugin can be fully compatible with the latest version of PHP.
1683
+ - Sharing: do not add Jetpack's Twitter Meta Tags when the WP To Twitter plugin is active.
1684
+ - Twenty Nineteen: additional style adjustments to make sure all Jetpack widgets look good with the theme.
1685
+ - WooCommerce: do not include product reviews in comment counts in the WordPress.com REST API.
1686
+
1687
+ ### Bug fixes
1688
+ - Admin Page: update feature limits mentioned when disconnecting Jetpack from WordPress.com
1689
+ - Block Editor: fix loading of translations in the editor when Jetpack's Site Accelerator feature is active.
1690
+ - Carousel: ensure that Carousel works well with the Gallery block in the new block editor.
1691
+ - Carousel: do not open modal when clicking on a link in a caption
1692
+ - Publicize: improve synchronization of sharing settings with WordPress.com.
1693
+ - Publicize: only display Gutenberg Publicize UI to users with the correct permissions.
1694
+ - Responsive videos: don't load if theme supports core responsive embeds.
1695
+ - Search: fix fatal error when the Search Widget is enabled while the site is in Development Mode.
1696
+ - Sharing: update Tumblr official sharing button.
1697
+ - Shortcodes: update YouTube shortcode to support more video link formats.
1698
+ - Shortlinks: add the option to view shortlinks in the block editor.
1699
+ - Simple Payments: only register block when all needed data is available.
1700
+ - Widgets: only load Social Icons widget scripts and styles when necessary.
1701
+ - WooCommerce Analytics: avoid Fatal Errors in some specific site setups.
1702
+ - WooCommerce Analytics: improve performance by avoiding unnecessary calls to the feature when it is not needed.
1703
+
1704
+ ## [6.8.1] - 2018-12-06
1705
+ ### Bug fixes
1706
+ - Contact Form: security changes to improve the display of success messages after submitting a form.
1707
+ - Publicize: avoid Fatal errors when trying to create or edit posts from a Custom Post Type that supports Publicize.
1708
+ - Sync: improve synchronization of WooCommerce events.
1709
+ - WordPress.com REST API: handle WooCommerce Product reviews for a better display in apps that use the API.
1710
+
1711
+ ## [6.8] - 2018-11-27
1712
+ ### Major Enhancements
1713
+ - This release introduces the first wave of Jetpack blocks built for the new block editor, available in WordPress 5.0.
1714
+
1715
+ ### Enhancements
1716
+ - General: improve ability to create and troubleshoot Jetpack connections.
1717
+ - REST API: new endpoint for testing the Jetpack connection.
1718
+
1719
+ ### Improved compatibility
1720
+ - Akismet: improve caching of all queries for Akismet status.
1721
+ - Spellcheck / Grammar: we've made sure the Jetpack feature did not create any error when using the block editor.
1722
+ - Twenty Nineteen: ensure compatibility with Jetpack's widgets.
1723
+
1724
+ ### Bug fixes
1725
+ - Asset CDN: do not try to serve assets from non-public versions.
1726
+ - Carousel: handle galleries created via the Gallery block in the new block editor.
1727
+ - Photon: make sure our image CDN is fully compatible with the block editor.
1728
+
1729
+ ## [6.7] - 2018-11-06
1730
+ ### Major Enhancements
1731
+ - Site acceleration: new toggle to serve both your images and static files (like CSS and JavaScript) from our CDN.
1732
+ - Activity: update Jetpack dashboard to include links to our Activity page, where you can view a record of every change and update on your site.
1733
+
1734
+ ### Enhancements
1735
+ - Admin page: add site Activity card.
1736
+ - Blocks: provide a mechanism so editor blocks can be translated.
1737
+ - Blocks: enqueue Jetpack blocks in the block editor when blocks are available.
1738
+ - Debug tools: add information about missing XML extension in self-help tools.
1739
+ - REST API: introduce endpoint for retrieving related posts of a particular post.
1740
+ - Search: add an advanced `excess_boost` param which can be adjusted with filters to fine tune query scoring.
1741
+ - Sharing / Publicize: change the icons used in the Jetpack dashboard to clarify where the configuration links lead.
1742
+ - Secure Sign On: update wording on admin pages to avoid confusion.
1743
+ - Shortcodes: update the Polldaddy shortcode to use the new brand, Crowdsignal.
1744
+ - Sitemaps: coding standards changes.
1745
+ - Site Verification Tools: improve display of the tool's description on mobile devices.
1746
+ - Unit Tests: improve process for faster tests.
1747
+
1748
+ ### Improved compatibility
1749
+ - Themes: ensure compatibility between Jetpack features and the new WordPress default theme, Twenty Nineteen.
1750
+ - AMP: add support for GitHub's Gist shortcodes.
1751
+ - PHP 7.3: update Infinite Scroll to avoid PHP warnings when using the latest version of PHP.
1752
+ - Protect: fix output of Protect's Math challenge on login forms created by third-party plugins.
1753
+ - Plugins: add a WordPress.com themed plugins page for users managing their plugins via the WordPress.com interface.
1754
+ - Site Verification Tools: do not enable Google's Auto-verification option when a site using a maintenance / coming soon plugin.
1755
+
1756
+ ### Bug fixes
1757
+ - Blocks: update the VR block to be fully compatible with the latest version of WordPress and Gutenberg.
1758
+ - Comment Likes: only prefetch domains used by the feature.
1759
+ - CSS Concatenation: make sure all concatenated CSS is up to date.
1760
+ - Featured Content: no longer hides the "featured" tag from the WordPress.com Editor or the mobile apps.
1761
+ - Geolocation: avoid a PHP notice when setting location for a post in the WordPress.com post editor.
1762
+ - Likes: ensure that the Likes column is accessible.
1763
+ - REST API: Ensure only strings as escaped as URLs.
1764
+ - Search: avoid PHP warning with Search widget.
1765
+ - Sharing: improve accessibility of email sharing button.
1766
+ - Simple Payments / Widget Visibility: avoid potential Fatal errors on some specific server configurations when updating Jetpack.
1767
+ - Sitemaps: remove double encoding of site name in news sitemap.
1768
+ - Sitemaps: ensure homepage is only included once.
1769
+ - Sitemaps: provide richer "not found" message to site admins.
1770
+ - Sitemaps: ensure sitemap is refreshed faster after upgrading Jetpack.
1771
+ - Sitemaps: avoid protocol mismatches between the sitemaps and the site.
1772
+ - Site Verification Tools: make sure we validate meta tags when saving.
1773
+
1774
+ ## [6.6.1] - 2018-10-10
1775
+ ### Bug fixes
1776
+ - Sitemaps: improve initial sitemap creation process.
1777
+ - Widgets: fix missing CSS for the Social Icons Widgets.
1778
+
1779
+ ## [6.6] - 2018-10-09
1780
+ ### Major Enhancements
1781
+ - Verification Tools: enable one-click site verification and sitemap.xml registration with Google.
1782
+
1783
+ ### Enhancements
1784
+ - Admin Interface: update all Jetpack settings screens to use a similar design.
1785
+ - API: add flags to determine if Jetpack Search is enabled and supported.
1786
+ - CDN: First Beta version of the Photon CDN -- Speed up sites and increase max concurrent connections through Photon by cloud-hosting Jetpack and WordPress Core scripts, styles, and assets.
1787
+ - Contact Form: add filters to allow customizing the class attributes of inputs and buttons.
1788
+ - General: add more constants to error log for the Jetpack test suite.
1789
+ - Gutenberg: add infrastructure necessary to add new blocks via Jetpack.
1790
+ - Lazy Images: load the placeholder via the `srcset` attribute instead of the `src` attribute.
1791
+ - Masterbar: add link to Activity Log.
1792
+ - Publicize: the Path Social Network is closing in October. The option has consequently been removed from the Publicize interface.
1793
+ - Search: improve the feature activation process.
1794
+ - Search: update the admin interface to give more information about what the feature does and how it can be used.
1795
+ - Simple Payments: update all mentions of the product for a more consistent naming convention and less confusion for both site owners and translators.
1796
+ - Sync: log action when an attachment is added to a post for the first time.
1797
+ - Sync: add URL details to synchronization requests.
1798
+ - Sync: detect if a post is saved via Gutenberg when synchronizing post events.
1799
+
1800
+ ### Improved compatibility
1801
+ - Shortcodes: update Mailchimp shortcode to match the new format offered by Mailchimp.
1802
+
1803
+ ### Bug fixes
1804
+ - CSS Concatenation: add Authors and Social Icons widgets to concatenated styles.
1805
+ - Featured Content: avoid registering duplicate Post Types.
1806
+ - Geo Location: only enqueue Dashicons when necessary.
1807
+ - Google Analytics: do not output tracking code when the "Enhanced eCommerce" option is active, but the WooCommerce plugin is not.
1808
+ - Infinite Scroll: add a Privacy Link to the site's footer if a Privacy Policy was set up via WordPress's privacy options.
1809
+ - Infinite Scroll: fix video playback of VideoPress videos loaded via Infinite Scroll.
1810
+ - Protect: fix layout of legend that prompts the user to solve the math fallback so it works better in all languages.
1811
+ - Responsive Videos: avoid PHP notice.
1812
+ - Sharing: do not record stats if the stats module is disabled.
1813
+ - Sharing: allow saving sharing button options on media edit page as well.
1814
+ - Shortcodes: ensure we build minified and RTL stylesheets for slideshows.
1815
+ - Simple Payments: Stop contributors from creating inaccessible buttons with a "pending" post status.
1816
+ - Sitemaps: no longer add images attached to non-published posts to the image sitemap.
1817
+ - Slideshows: ensure arrows point in the right direction for RTL Languages.
1818
+ - Sync: avoid PHP notices when synchronizing user information.
1819
+ - VideoPress: avoid duplicate rel attributes in links.
1820
+ - VideoPress: do not block access to the Video settings for our customers using a 2-year plan.
1821
+
1822
+ ## [6.5] - 2018-09-04
1823
+ ### Major Enhancements
1824
+ - WordAds: Added ability to include custom ads.txt entries in the ads module.
1825
+
1826
+ ### Enhancements
1827
+ - Admin Page: Added ability to disable backups UI by filter when VaultPress is not activated.
1828
+ - Comments: Moved the Subscription checkboxes on a comment form from after the submit button to before the submit button.
1829
+ - General: Removed the outdated "Site Verification Services" card in Tools.
1830
+ - General: Removed jetpack_enable_site_verification filter. We recommend filtering access to verification tools using jetpack_get_available_modules instead.
1831
+ - General: Simplified the logic of Jetpack's signed HTTP requests code.
1832
+ - Lazy Images: Updated lazy images to use a default base64 encoded transparent to reduce a network request.
1833
+
1834
+ ### Improved compatibility
1835
+ - Geo Location: Fixed a compatibility issue with other plugins that added meta attributes to site feeds with the `rss2_ns`, `atom_ns` or `rdf_ns` filters.
1836
+
1837
+ ### Bug fixes
1838
+ - AMP: Fix PHP notice when rendering AMP images with unknown width and height.
1839
+ - Contact Forms: We fixed an issue where personal data eraser requests didn't erase all requested feedback.
1840
+ - General: Improves compatibility with the upcoming PHP 7.3.
1841
+ - General: Updated input validation for meta tags given in site verification.
1842
+ - Lazy Images: Deprecated jetpack_lazy_images_skip_image_with_atttributes filter in favor of jetpack_lazy_images_skip_image_with_attributes to address typo.
1843
+ - Sharing: Fixed duplicate rel tags on Sharing links.
1844
+ - Search: Fixed an issue where a CSS and JavaScript file could be enqueued unnecessarily if the Search module was activated and if the site was using the Query Monitor plugin.
1845
+ - Shortcodes: Updated Wufoo Shortcode to always load over https and use async form embed.
1846
+ - Widgets: Fixed excessive logging issue with Twitter Timeline widget.
1847
+ - Widgets: Removed cutoff date check for Twitter Timeline widget as it is no longer necessary.
1848
+ - Widgets: Added decimal precision validator to Simple Payments Widget price field on the Customizer for supporting Japanese Yen.
1849
+
1850
+ ## [6.4.2] - 2018-08-10
1851
+ ### Bug fixes
1852
+ - Comments: We fixed an error that broke functionality of Social Login for comments.
1853
+
1854
+ ## [6.4.1] - 2018-08-08
1855
+ ### Bug fixes
1856
+ - Comments: We fixed an error that broke functionality of nested comments.
1857
+
1858
+ ## [6.4] - 2018-08-07
1859
+ ### Enhancements
1860
+ - Connection: Updated connect splash screen with new content.
1861
+ - Sharing: Sharing section in wp-admin will now redirect to Calypso instead.
1862
+ - Docs: Added documentation for retrieving provision status of a site.
1863
+ - Shortcodes: Added oEmbed support for flat.io.
1864
+ - Widgets: Added `jetpack_top_posts_widget_layout` filter that allows you to create a custom display layout for the Top posts widget.
1865
+ - Privacy tools: Identify the data export/erasure callbacks for Feedback posts using associative keys, to better match the convention in Core.
1866
+ - Privacy tools: Added the `grunion_contact_form_delete_feedback_post` filter hook to allow specific Feedback posts to be bypassed during data erasure requests, similar to the `wp_anonymize_comment` filter in Core.
1867
+ - Contact Fork: Disabled random table optimizations on core tables.
1868
+
1869
+ ### Improved compatibility
1870
+ - AMP: Improved AMP compatibility for Comments iframe.
1871
+ - General: The SEO Framework is no longer a conflicting Open Graph plugin and is now better compatible with Jetpack.
1872
+
1873
+ ### Bug fixes
1874
+ - Shortcodes: Removed extra black bars from YouTube embeds as controls are inside the container now.
1875
+ - Simple Payments: Fixed the custom post type bug that affected Simple Payments widget for 2 year subscriptions.
1876
+ - Simple Payments: Fixed site failure which happens on Multisite installation with Simple Payments widget.
1877
+ - Simple Payments: Fixed syntax and misc compatibility issues with Simple Payments widget on PHP 5.2.
1878
+ - Simple Payments: Added warning for admin users if Simple Payments is not enabled but there are products published on pages/posts as a widget.
1879
+ - Lazy Images: Fixed an issue with images not loading while updating quantity in WooCommerce shopping cart.
1880
+ - Lazy Images: Fixed centered images that do not crop properly when no JavaScript is enabled.
1881
+ - General: Fixed auto scrolling to top when following the Quick Tour buttons.
1882
+ - General: Removed ability to set custom name for Site Identity section.
1883
+ - General: Added advanced control capabilities to image extraction from posts.
1884
+
1885
+ ## [6.3.3] - 2018-07-30
1886
+ ### Facebook API Maintenance
1887
+ - On the 1st of August, 2018 Facebook sunsets its API allowing to post updates to your Profile Page. Only the API allowing to post to Facebook Pages will remain. This required several changes to Jetpack that we are presenting in this release:
1888
+ - Publicize: making sure we are handling existing connections gracefully.
1889
+ - Publicize: using logo font instead of images to make the UI up to date and mobile ready.
1890
+ - Publicize: removing the ability to select Facebook Profile connections in the UI.
1891
+
1892
+ ### Bug fixes
1893
+ - General: properly handle Jetpack connection owner transition process.
1894
+
1895
+ ## [6.3.2] - 2018-07-04
1896
+ ### Bug fixes
1897
+ - Simple Payment: Fix compatibility issues with PHP versions 5.3 and below
1898
+
1899
+ ## [6.3] - 2018-07-03
1900
+ ### Major Enhancements
1901
+ - Simple Payment: Added Simple Payment Products as Widgets, with the option to manage them via the Customizer.
1902
+
1903
+ ### Enhancements
1904
+ - Connection: Added a new connect splash screen content.
1905
+ - Jetpack Dashboard: We removed the labels reading 'PAID' in order to introduce a better way to remark paid features.
1906
+ - General: Added support to display geo-location data added to posts and pages with Calypso.
1907
+
1908
+ ### Improved compatibility
1909
+ - Protect: We solved an issue related to interaction with bbPress when trying to log in via a bbPress login widget. You would get redirected a few times to log in again after solving the math puzzle.
1910
+
1911
+ ### Bug fixes
1912
+ - Comments: Implemented Core WordPress' Comment Cookie Consent Checkbox in Jetpack Comments.
1913
+ - General: We solved an issue that arised when using the Front End Editor feature plugin. A fatal error wass thrown due to us assuming the `enter_title_here` filter would only run within wp-admin.
1914
+ - General: Fixed a compatibility problem between WordPress TinyMCE and Jetpack Markdown when visiting the WordPress Dashboard.
1915
+ - Lazy Images: Fixed behavior for when JavaScript is disabled.
1916
+ - Markdown: We fixed the naming of the class used for code blocks that specify a language.
1917
+ - Simple Payments: Fixed an error when the user had published Simple Payment Products but their Professional Subscription had expired.
1918
+ - Sitemap: We fixed the format of the date shown for videos on the video sitemap.
1919
+ - Stats: We fixed the width of the Stats page for wide screens.
1920
+
1921
+ ## [6.2.1] - 2018-06-08
1922
+ ### Bug fixes
1923
+ - AMP: We fixed the rendering of the stats pixel for legacy, non-paired, non-canonical AMP pages.
1924
+ - Shortcodes: Fixed a fatal coming form the VR shortcode when using the Gutenberg editor in the frontend.
1925
+
1926
+ ## [6.2] - 2018-06-05
1927
+ ### Major Enhancements
1928
+ - Shortcodes: Added Gutenberg block for the [vr] shortcode.
1929
+
1930
+ ### Enhancements
1931
+ - AMP: Allow Jetpack features to work on AMP pages, and prevent Jetpack features from rendering to the front end at all.
1932
+ - Content Options: We now exclude Custom Post Types like Portfolio and Testimonial when we toggle content/excerpt via the Blog Display option in the customizer.
1933
+ - Cookies & Consent Widget: Added a "top" option for the cookie widget position. The existing bottom of the screen position is the default.
1934
+ - Tiled Galleries: use Photon if active when a Tiled Gallery links to media file.
1935
+
1936
+ ### Improved compatibility
1937
+ - Widgets: Deprecated the use of Widget IDs in the Twitter Timeline Widget given that Twitter deprecates Widget IDs on July, 27th 2018.
1938
+
1939
+ ### Bug fixes
1940
+ - Contact Form: Fixed an issue with undefined variables and a warning being logged when submitting the Contact Form.
1941
+ - Contact Form: Fixed scrolling/height for very large contact forms.
1942
+ - Widgets: Fixed Cookies & Consent Widget's bottom margin for themes that set a specific margin for forms.
1943
+ - Related Posts: Made it not try to fetch related posts for an unpublished post.
1944
+ - Sharing: Fixed an issue that resulted in wrong URLs for sharing on WhatsApp.
1945
+ - Sharing: Fixed the way we check if Akismet is active and has a valid key by caching the result of the verification.
1946
+ - Shortcodes: Fixed the Facebook shortcode in wp-admin.
1947
+ - Widget Visibility: Fixed styling for MS Edge.
1948
+ - Widgets: Removed .widget class from Cookies and Consent widget styles since .widget is not used in every theme.
1949
+
1950
+ ## [6.1.1] - 2018-05-22
1951
+ ### Enhancements
1952
+ - Ads: Added new setting for Banner consent expiration. Added new filter jetpack_disable_eu_cookie_law_widget, which can be used to disable the banner.
1953
+ - Ads: Added a new personalized-ads-consent cookie for ads-enabled sites.
1954
+ - Ads: Added requirement and notice, and button-click opt-in for ads module users.
1955
+ - Ads: When a user site has a Privacy Policy page set (introduced in 4.9.6), we now default to using that privacy policy as a custom policy URL.
1956
+ - GDPR: A new warning is displayed while configuring an instance of the EU Cookie Law widget: "Caution: The default policy URL only covers cookies set by Jetpack. If you're running other plugins, custom cookies, or third-party tracking technologies, you should create and link to your own cookie statement."
1957
+ - GDPR: Added Feedback data (i.e., Contact Form Submissions) to the Personal Data exported and/or erased by the latest version of WordPress core.
1958
+
1959
+ ### Bug fixes
1960
+ - Ads: We updated Ads behavior to not show unless the visitor is on the main query within the loop.
1961
+ - General: We fixed a bug that resulted in an alert box showing for sites set to languages deriving from main ones.
1962
+ - Lazy Images: Fixed a bug where images would disappear when scrolling.
1963
+ - Sharing: make sure JS files can be loaded on development sites.
1964
+ - Sharing: Added check for validating Akismet key before allowing sharing by email.
1965
+ - WooCommerce Analytics: Fixed PHP warning when attemping to get a list of plugins.
1966
+
1967
+ ## [6.1] - 2018-05-01
1968
+ ### Major Enhancements
1969
+ - WordAds: Introduced shortcode for inline Ad placement.
1970
+ - WordAds: Added support for the ads.txt file.
1971
+
1972
+ ### Enhancements
1973
+ - Dashboard: We improved the styles of status numbers so it doesn't look like floating.
1974
+ - JSON API: Added support for Google My Business integration available on WordPress.com.
1975
+ - Masterbar: We removed the Next Steps link from the Account sidebar.
1976
+ - Publicize: Let the user know that we are going to send emails to subscribers and publicize to the different accounts.
1977
+ - Settings: Added "Privacy Information" links to each Jetpack module/feature card.
1978
+ - Shortcodes: Mixcloud shortcode now uses oEmbed.
1979
+ - Stats: Added a new filter jetpack_honor_dnt_header_for_stats, which if enabled would not track stats for visitors with DNT enabled.
1980
+ - Sync: Removed requirement for gzencode.
1981
+ - Widgets: always load script via HTTPS for Gravatar Hovercards.
1982
+
1983
+ ### Improved compatibility
1984
+ - Social Icons Widget: Improved support on screen reader text for themes that do not provide support out of the box.
1985
+ - Sharing: Removed the sharing and like display functionality from Cart, Checkout, and Account WooCommerce pages.
1986
+
1987
+ ### Bug fixes
1988
+ - Admin Page: We fixed the internationalization of the plans page.
1989
+ - Ads: We fixed a problem that impeded Premium Plan customers to activate Google Analytics.
1990
+ - Auto Updates: We fixed a warning being thrown due to a bad concatenation of strings.
1991
+ - General: Fixed a warning that was being logged due to attempting to use in_array() over a variable that didn't always contain an array.
1992
+ - General: Fixed Warning: count(): Parameter must be an array or an object that implements Countable showing on PHP 7.x.
1993
+ - JSON API: Fixed internationalization on embed endpoint.
1994
+ - Theme Tools: Show featured images in WooCommerce pages when Display on blog and archives is turned off for Themes that support this feature.
1995
+ - Publicize: Avoid adding Publicize post meta when a post transitions to publish and it is not a publicize-able post type.
1996
+ - Settings: Fixed the icon representing the minimum plan needed for SEO and Google Analytics features.
1997
+ - Slideshow: Fixed an invalid argument supplied for foreach() warning.
1998
+ - SSO: We fixed the name of a filter which contained a typo before. The filter is now named: `jetpack_sso_auth_cookie_expiration`.
1999
+ - SSO: Fixed some cases where we were not handling secure cookies for sites running over https.
2000
+ - Sync: Fixed Warning: Invalid argument supplied for foreach().
2001
+ - Sync: Fixed Warning: Warning: json_encode(): recursion detected.
2002
+ - WooCommerce Analytics: fixed broken Remove From Cart link.
2003
+
2004
+ ## [6.0] - 2018-04-03
2005
+ ### Major Enhancements
2006
+ - Admin Page: Introduced a new Privacy admin page linked at the bottom of the Jetpack dashboard.
2007
+ - Admin Page: Introduced a Privacy toggle that allows the user to disable event tracking.
2008
+ - Widgets: Added new Social Icons widget and deprecated old Social Media Icons widget.
2009
+
2010
+ ### Enhancements
2011
+ - Activity Log: Started syncing comment untrashed and comment unspammed events.
2012
+ - Admin Page: Added inline module settings for plan welcome page.
2013
+ - Admin Page: Removed Javascript patterns previously used in the Admin Page that should improve performance lightly (bind pattern).
2014
+ - Admin Page: Made Jetpack Monitor setting management easier by adding a simple toggle.
2015
+ - Admin Page: Moved the button for closing the Jumpstart modal closer to the dialog so it's more visible.
2016
+ - Admin Page: Updated the "install and activate" link in the Backups card to be a functional link matching the "Set up" button.
2017
+ - Admin Page: Updated notices style to be more accessible.
2018
+ - Admin Page: We now show a link to see all plans on small screens.
2019
+ - Admin Page: Settings in Jetpack dashboard now feature contextual help and a link to learn more about it.
2020
+ - Ads: Added site id to head meta.
2021
+ - Comments: Improved accessibility of comments form by adding title attributes.
2022
+ - Connect: Removed account creation links from below the Set Up Jetpack buttons.
2023
+ - General: Show correct available status in Jetpack modules list if module is not supported by current plan.
2024
+ - General: Removed holiday snow module.
2025
+ - General: Return error in wp-cli if activating a module that is not supported by the current plan.
2026
+ - Google Translate Widget: Made sure the widget is responsive by default.
2027
+ - JITM: We now allow specifying that a jitm can be opened in a new window, or the same window.
2028
+ - JITM: We now don't use all caps for buttons text.
2029
+ - Likes: Removed Likes from Jumpstart.
2030
+ - Likes/Sharing: Moved metabox in post editor to the right side for a better fit.
2031
+ - Masterbar: Made the Sign Out link in the Master always log you out from WordPress.com.
2032
+ - Publicize: Made styling of Publicize more consistent with wp-admin.
2033
+ - Protect: Started blocking XML RPC requests when they get marked as blocked by Protect.
2034
+ - Search: Made the Search widget available whether or not Extra Sidebar Widgets is enabled.
2035
+ - SEO Tools: Removed SEO Tools from Jumpstart
2036
+ - Shortcodes: We now load Twitters widget.js over https.
2037
+ - Subscriptions: We've made it a better experience if you try to subscribe to a site you are already subscribed to.
2038
+ - Sync: Stopped syncing personal data coming from WooCommerce orders.
2039
+ - VideoPress: Default to grid view when linking to upload videos
2040
+ - Warm Welcome: Added Search to the features listed on the Warm Welcome dialog for Professional Plan.
2041
+ - Widgets: Added rel=noopener attribute to links in the Display WordPress Posts widget if set to open in a new window.
2042
+
2043
+ ### Improved compatibility
2044
+ - bbPress: Markdown support added for bbPress CPTs.
2045
+ - PHP 7.1: Fixed an error coming from one of our json-api endpoints.
2046
+
2047
+ ### Bug fixes
2048
+ - Admin Page: Fixed Dashboard connection card from showing text that overflows the card.
2049
+ - Admin Page: Fixed directory separator character used when displaying the site URL on the disconnect dialog.
2050
+ - Admin Page: Fixed an issue by which clicking the back button on a page visited after the Admin Page would result in the Admin Page being rendered with cached data.
2051
+ - Admin Page: Don't show a Set Up button when searching for modules that are inactive in Jetpack Settings page. The Set Up button is meant for paid features coming from plugins.
2052
+ - Admin Page: Make it clear when tracking begins in the connetion dialog.
2053
+ - Admin Page: Hide the date range tabs when the initial dialog is shown.
2054
+ - Admin Page: Fixed the positioning of popovers in the Jetpack Settings page.
2055
+ - Admin Page: Fixed a bug with the Ads settings toggle.
2056
+ - Admin Page: Fixed a display issue for the custom user capability "jetpack_connect".
2057
+ - Admin Page: Made sure translations are properly applied to several phrases.
2058
+ - Connection Banner: Updated style to better fit wide screens.
2059
+ - Connection Banner: Added illustration SVGs.
2060
+ - Contact Form: Fixed width style of input for Website address.
2061
+ - Google Analytics: fix PHP notice on search pages.
2062
+ - Infinite Scroll: Fixed issues where the first was being duplicated on scroll.
2063
+ - Likes: Made manually enabled likes remain being likeable if Likes are enabled for all posts
2064
+ - Masterbar: Fixed a javascript error that would pop up with the Grammarly extension enabled on Chrome macOS.
2065
+ - Search: Added default values for the Search widget so it can be added from the Customizer.
2066
+ - Settings: Fixed overflow/overlap when there are many ignored phrases in spelling options.
2067
+ - Settings: Updated SEO/analytics links to avoid unnecessary redirects.
2068
+ - Stats: Fixed column spacing styling issues in WP Dashboard box for Jetpack stats.
2069
+ - VaultPress: Remove menu item that links nowhere when Rewind is enabled.
2070
+ - Widgets: Fixed issue with custom URL choice and selective refresh in the EU Cookie Law widget.
2071
+ - WooCommerce Analytics: Fixed PHP warning coming from str_replace usage.
2072
+ - WooCommerce Analytics: Started tracking all possible ways to add a product to a cart.
2073
+
2074
+ ## [5.9] - 2018-03-06
2075
+ ### Major Enhancements
2076
+ - WooCommerce Analytics: Added a new module for WooCommerce analytics that will use Jetpack's analytics functionality to help you track activity on your WooCommerce store.
2077
+ - Custom Content Types: Added support for excerpts on Testimonial and Portfolio.
2078
+
2079
+ ### Enhancements
2080
+ - Activity Log: Improved the way we show failed login attempts in Jetpack's Activity Log.
2081
+ - Admin Page: We now hide settings for Lazy Images and Photon in the Admin page when the modules are not enabled due to being filtered out by jetpack_get_available_modules.
2082
+ - Admin Page: Now we only show the dismissal button in Apps card of the Jetpack Dashboard for admin users.
2083
+ - Build: Added a pre-commit hook for linting the Jetpack Admin Page source code. This aids in finding common syntax and style problems before having to wait for automated tests to run.
2084
+ - JSON API: We removed an obsolete endpoint for updating invites.
2085
+ - Onboarding: Added the ability to configure the country for a business address the using the Onboarding functionality of Jetpack.
2086
+ - Onboarding: Added the ability to enable the stats module when using the Onboarding functionality.
2087
+ - Onboarding: We now delete the onboarding token when the site gets connected.
2088
+ - Jetpack Start: Updated scripts for partners allowing to pass a tracking ID when provisioning or cancelling a plan which will help in debugging.
2089
+ - Jetpack Start: Improved the documentation for partners so they're now able to get them right on the Jetpack's Github repository under the docs/partners directory.
2090
+ - Plans: Correctly forward the client IP address for currency localization.
2091
+ - Plans: Updated the copy-text on Jetpack's Admin page for plans to be more concise on the features of each plan.
2092
+ - REST API: Added a plans endpoint to Jetpack's REST API to better handle the features of each Jetpack plan internally.
2093
+ - Search Implicitly activate Jetpack Search when attempting to add the Jetpack Search widget.
2094
+ - Search: Updated the Jetpack Search settings card to be more helpful in setting up the widget.
2095
+ - Search: We made the "Add Jetpack Search Widget" link in the Search module settings card open the widgets section of the customizer.
2096
+ - Search: Move any active search widgets to the inactive list if you disable the search module.
2097
+ - Search: Only log mysql and ES query times that are less than 60 seconds. There are some outliers that mess up our stats.
2098
+ - Sync: Improved the way widget titles are synchronized to WordPress.com servers when widgets are saved or updated.
2099
+ - Twitter Cards: Added new jetpack_twitter_image_default filter to allow themes and plugins to customize twitter:image when no suitable image is found automatically.
2100
+ - We updated the way we handle Jetpack's green color in out stylesheets for better compatibility with Jetpack's new logo.
2101
+
2102
+ ### Improved compatibility
2103
+ - Admin Page: Jetpack's Admin Page javascript code is now fully compatible with React 16.
2104
+ - JSON API: Updated the modules endpoint Jetpack's JSON API to reply with a new property `override` that indicates if a module was either enabled or disabled by a filter.
2105
+ - Lazy Images: Updated the library used as IntersectionObserver for Lazy Images. We now use the W3C IntersectionObserver polyfill.
2106
+ - Lazy Images: Jetpack now allows the lazy images module to skip images with the skip-lazy css class or any given class of your choice by using the jetpack_lazy_images_blacklisted_classes filter.
2107
+ - Masterbar: Updated the sign out button behavior of the Masterbar to not sign you out of WordPress.com when you sign out of your site for regular Jetpack sites.
2108
+ - REST API: Updated the modules endpoint in Jetpack's REST API to be aware of modules that have been filtered through option_jetpack_active_modules allowing for better compatibility with custom Jetpack installation where the administrator decides to filter out specific Jetpack modules.
2109
+ - Sync: Added the jetpack_sync_action_before_enqueue action that's done when anything gets enqueued before being synchronized to WordPress.com servers.
2110
+
2111
+ ### Bug fixes
2112
+ - Admin Page: Removed all linting warnings for the JS code of the Admin page. These were only shown in development builds.
2113
+ - Connect: Fixed an issue that sometimes resulted in a notice being shown about another user already having connected a Jetpack site when attempting to connect your site to WordPress.com
2114
+ - General: Added suppress_filters param to get_posts / get_children function calls.
2115
+ - Markdown: Updated WordAds code to not use create_function which is getting deprecated in PHP 7.2.
2116
+ - Sync: Fixed a problem in Jetpack Sync code when trying to get property of non-object in the post syncing file.
2117
+ - Sync: Stopped synchronizing the sitemap post types to WordPress.com servers as it was an issue given the size of these.
2118
+ - Tracks events: Track events are logged now only if the user has accepted ToS and not just if Jetpack is connected.
2119
+ - Widget Visibility: Added a decodeEntities function in widget-conditions.js to handle entity decoding for the minor conditions dropdown.
2120
+ - WordAds: Updated WordAds code to not use create_function which is getting deprecated in PHP 7.2.
2121
+
2122
+ ## [5.8] - 2018-02-06
2123
+ ### Major Enhancements
2124
+ - [Lazy Images](https://jetpack.com/support/lazy-images/): after a Beta
2125
+ period, you can now enable this new feature from Jetpack > Settings in your
2126
+ dashboard.
2127
+ - [Elasticsearch-powered search](https://jetpack.com/features/design/elasticsearch-powered-search/):
2128
+ also out of Beta! We've improved the way data is indexed behind the scenes,
2129
+ and made changes to the Search widget and its filters. (Elasticsearch is a
2130
+ trademark of Elasticsearch BV, registered in the U.S. and in other countries.)
2131
+
2132
+ ### Enhancements
2133
+ - Comment moderation tools: moderation emails now point to WordPress.com when
2134
+ using the `edit_links_calypso_redirect` option.
2135
+ - Custom CSS: add CSS Grid Layout support.
2136
+ - Dashboard: update list of features available in Paid plans.
2137
+ - Dashboard: improve the display of notices inside the Jetpack dashboard.
2138
+ - Dashboard: update content displayed in the Jetpack dashboard when not
2139
+ connected to WordPress.com.
2140
+ - Development mode: improve the display of the development notice.
2141
+ - General: add a new filter, `jetpack_active_modules`, allowing site owners to
2142
+ filter the list of active modules.
2143
+ - Notices: add rel tags to notice links to avoid issues when links open in a
2144
+ new window.
2145
+ - Onboarding: add functionality for saving Business Address in the Contact
2146
+ Info widget.
2147
+ - Onboarding: save site type during site setup process.
2148
+ - Onboarding: enable loading of specific modules when using the Onboarding
2149
+ process.
2150
+ - Post Images: allow passing size when searching for images in HTML.
2151
+ - REST API: update the plugin installation process to use a new library.
2152
+ - REST API: allow changing the number of posts displayed in the RSS feed, and
2153
+ whether feeds display full text or a summary.
2154
+ - REST API: simplify our invites endpoint.
2155
+ - Sharing: make sure the Whatsapp button works on mobile and on desktop.
2156
+ - Sharing: add new filter, `wp_sharing_email_send_post_subject`, to allow
2157
+ modifying the email sharing subject line.
2158
+ - Shortcodes: update the GettyImages shortcode to use the new format required
2159
+ by GettyImages.
2160
+ - Site Settings: add support for site language and timezone settings.
2161
+ - Sync: improve synchronization of user actions, theme and plugin edits /
2162
+ updates, post status, updates on Multisite networks, Protect events, and
2163
+ WooCommerce's meta data.
2164
+ - WordAds: enable the Ads in the header by default.
2165
+ - WordAds: add filters so site owners can control the display of the ads via
2166
+ code as well.
2167
+
2168
+ ### Improved compatibility
2169
+ - Lazy Images: fix issues with the Gazette theme.
2170
+ - Open Graph: add Open Graph Metabox to the list of conflicting plugins.
2171
+ - Masterbar: fix incompatibility with BeaverBuilder plugin.
2172
+ - PHP 7.2: fix issues when running Jetpack with PHP 7.2.
2173
+
2174
+ ### Bug fixes
2175
+ - Carousel: fix PHP Notice with images using custom meta.
2176
+ - Dashboard: make sure all links to WordPress.com point to the right site's
2177
+ settings on WordPress.com.
2178
+ - Dashboard: update links to the plugin interface on WordPress.com to load the
2179
+ full plugin management page.
2180
+ - General: fix images shown in the dashboard when Jetpack is installed in a
2181
+ directory different than `jetpack`.
2182
+ - Lazy Images: make sure Lazy Load can be triggered even when images are added
2183
+ to the content very late.
2184
+ - Stats: make sure the Stats script is XHTML compliant.
2185
+ - Widgets: Mailchimp - avoid conflicts with jQuery UI.
2186
+
2187
+ ## [5.7.1] - 2018-01-16
2188
+ ### Bug Fixes
2189
+ - Protect: Fixed the math problem fallback for logging into Multisite installations.
2190
+ - Settings: Made sure that the Security tab is no longer constantly updating the displayed information.
2191
+
2192
+ ## [5.7] - 2018-01-02
2193
+ ### Enhancements
2194
+ - Added ability to create revisions of Portfolio Projects.
2195
+ - Users hosting their sites with our Pressable partner who have Rewind access can now jump from the new Activity card in the Jetpack dashboard to the Activity Log in WordPress.com and restore or download backups for the site.
2196
+ - Comments: Edit links for comments in the frontend can redirect to calypso if the Jetpack option `edit_links_calypso_redirect` is enabled.
2197
+ - Protect: Updated the styling of the Protect page for recovering access to your site when you're locked out of it.
2198
+ - Search: Improved the UI for customizing the Search widget.
2199
+
2200
+ ### Improved compatibility
2201
+ - Comments: Updated our filtering behavior for Jetpack comments so other plugins appending html to the comments section are able to do it instead of being filtered out by Jetpack.
2202
+ - Widgets: We updated Goodreads URLs to support https schema.
2203
+ - Masterbar: We now hide the Masterbar settings card in Jetpack’s Admin Page for sites that are set to always show the Masterbar.
2204
+ - Lazy Images: Added a callback for processing image attributes array when attempting to lazy load images are loaded via `wp_get_attachment_image`.
2205
+ - Search: Added hooks to the search filters widget so that other plugins/themes can hook in and change its output.
2206
+
2207
+ ### Bug fixes
2208
+ - REST API: Added a check for avoiding a fatal error when attempting to include Akismet class files in case the Akismet plugin files are present but the permissions on the files there are set to be not readable
2209
+ - Markdown: Fixed bug where code inside shortcodes wasn't correctly restored from the hash.
2210
+ - Search: Fixed the link that acts as a month and year filter removal toggle.
2211
+
2212
+ ## [5.6.1] - 2017-12-14
2213
+ ### Security Improvements
2214
+ - Contact Forms: Hardened security in Contact Form processing.
2215
+
2216
+ ### Enhancements
2217
+ - Sharing: Bumped the character limit to 280 when sharing a post to Twitter.
2218
+
2219
+ ### Bug fixes
2220
+ - Widget Visibility: Fixed a bug that disabled "saving" the widget when removing a Widget Visibility rule.
2221
+
2222
+ ## [5.6] - 2017-12-05
2223
+ ### Major Enhancements
2224
+ - Google Analytics: Add support for universal analytics for WooCommerce.
2225
+ - Performance: minify all JavaScript files used in the plugin.
2226
+ - Performance: add new Lazy Images module.
2227
+ - Protect: add new mechanism allowing you to send yourself an email with a
2228
+ link to the form when you are locked out of your site.
2229
+
2230
+ ### Enhancements
2231
+ - Custom CSS: add new set of font properties that can be used in the CSS
2232
+ editor.
2233
+ - Photon: do not remove `width` and `height` attributes from image tags when
2234
+ known.
2235
+ - Sitemaps: add CLI commands to purge and built the sitemaps.
2236
+ - Sitemaps: only display the reporter log success messages if
2237
+ `JETPACK_DEV_DEBUG` is defined.
2238
+ - WordPress.com API: add new endpoints to allow for better comment management
2239
+ in third party interfaces like WordPress.com.
2240
+ - WordPress.com Toolbar: prevent dns prefetching for logged out users.
2241
+
2242
+ ### Improved compatibility
2243
+ - Stats: remove function deprecated in PHP 7.2.
2244
+
2245
+ ### Bug fixes
2246
+ - Comment Likes: make sure Like text is properly translated.
2247
+ - General: only load stats code when necessary.
2248
+ - Related Posts: allow site owners to exclude multiple blog posts from the
2249
+ list of Related Posts.
2250
+ - Sharing: remove inline JavaScript used in the email sharing form.
2251
+ - Search: Maintain ordering of the search filters in the widget.
2252
+ - Sync: avoid PHP notices during the synchronization process.
2253
+
2254
+ ## [5.5.1] - 2017-11-21
2255
+ ### Bug fixes
2256
+ - In Jetpack 5.5 we made some changes that created errors if you were using other plugins that added custom links to the Plugins menu. This is now fixed.
2257
+ - We have fixed a problem that did not allow to upload plugins using API requests.
2258
+ - Open Graph links in post headers are no longer invalid in some special cases.
2259
+ - We fixed warnings happening when syncing users with WordPress.com.
2260
+ - We updated the way the Google+ button is loaded to match changes made by Google, to ensure the button is always displayed properly.
2261
+ - We fixed conflicts between Jetpack's Responsive Videos and the updates made to Video players in WordPress 4.9.
2262
+ - We updated Publicize's message length to match Twitter's new 280 character limit.
2263
+
2264
+ ## [5.5] - 2017-11-07
2265
+ ### Major Enhancements
2266
+ - Jetpack is now fully compatible with WordPress's [new Gallery Widget](https://make.wordpress.org/core/2017/09/25/introducing-the-gallery-widget/). Your old Gallery widgets powered by Jetpack will switch to the new Widget when you update to WordPress 4.9.
2267
+
2268
+ ### Enhancements
2269
+ - We have improved the performance when loading the Jetpack Settings in the dashboard by optimizing the number of calls made when loading the page.
2270
+ - We have updated the plugin to do a better job of cleaning up after itself whenever you decide to remove Jetpack from your site.
2271
+ - We made some changes to reduce the number of connection issues that may happen on a site when switching from HTTP to HTTPs.
2272
+ - We made some performance improvements to the Jetpack dashboard interface, to make sure your options and settings are loaded faster there.
2273
+ - Error messages are also better in the Jetpack Dashboard; whenever you can't update settings, Jetpack will provide you with more information about why.
2274
+ - We improved the Jetpack update process to make sure updating Jetpack does not stress your database during it, even on high-traffic sites.
2275
+ - The next version of WordPress, 4.9, will be released very soon and will include [a lot of changes to its code editors](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/). Jetpack's Custom CSS will be fully compatible with the new editors and their syntax highlighting feature.
2276
+ - We also made changes to make sure Jetpack was fully compatible with the [role and capability changes](https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/) in WordPress 4.9.
2277
+ - We have made some performance improvements to the Carousel feature.
2278
+ - Contact Form: do not process shortcodes in widgets when WordPress itself does, starting in 4.9.
2279
+ - Contact Form: we have improved the "website" field to display better error messages when you don't supply a URL. We have also improved the look of the date picker for the date field.
2280
+ - Contact Form: avoid duplicate slashes when loading editor style.
2281
+ - Masterbar: update the "Plugins" menu item to match the updated design on WordPress.com.
2282
+ - Open Graph: do not display images smaller than Facebook's required size.
2283
+ - Sharing: use Google's minified libraries to improve performance when loading Google buttons.
2284
+ - Sharing: update Open Graph Image tags appearing on the home page to offer better alternatives based on your site settings in Appearance > Customize.
2285
+ - We improved the way sitemaps are built so they do not consume too much memory when they are generated.
2286
+ - WP.me Shorlinks: those links will now always use HTTPS.
2287
+ - Spellchecker: we improved the admin interface to make it more clear when adding ignored phrases and saving them.
2288
+ - Subscriptions: we added a filter so third party developers can track comment subscription activations.
2289
+ - Sync: synchronize plugin action links to add that information to WordPress.com.
2290
+ - Sync: improvements to better track theme and widget changes.
2291
+ - VideoPress: we removed Jetpack version locking for directly embedded VideoPress videos to ensure all users receive the newest version of the player.
2292
+ - We added a new filter (`jetpack_google_translate_widget_layout`) to the Google Translate Widget to allow you to change its layout.
2293
+ - WordPress.com REST API: improve comment management for all roles, including post authors.
2294
+ - WordPress.com REST API: allow site owners to manage comments on attachment pages from WordPress.com.
2295
+ - WordPress.com REST API: improve the response from the API when WordPress' autoupdates are disabled.
2296
+
2297
+ ### Improved compatibility
2298
+ - You can now use Jetpack's contact form and Yoast SEO's Focus keywords on the same page without any issues in the editor.
2299
+ - Top Posts Widget: avoid Fatal Errors when the widget is used on a site using WPML, and when a popular post cannot be found by WPML.
2300
+ - Sync: add more Custom Post Types from third-party plugins to the list of things we do not synchronize with WordPress.com, to improve sync performance.
2301
+ - Sharing: since [Press This is now a plugin and not part of WordPress itself](https://make.wordpress.org/core/2017/11/02/press-this-in-4-9/), we removed the Press This sharing button if you are not using the plugin.
2302
+
2303
+ ### Bug fixes
2304
+ - We now avoid displaying notices to user roles that cannot benefit or act based on the info in the notices.
2305
+ - Gravatar Hovercards: avoid PHP Notices when the user info is an object.
2306
+ - Infinite Scroll: avoid PHP notices when a site customizes galleries thanks to the `post_gallery` filter.
2307
+ - Mailchimp: make sure subscription forms can still be embedded in posts and pages.
2308
+ - Mailchimp: do not require the use of the shortcodes feature to use the Mailchimp widget.
2309
+ - Mailchimp: fix issue where Mailchimp form code could not be added to the Mailchimp widget.
2310
+ - Masterbar: avoid JavaScript errors by always loading jQuery.
2311
+ - Post By Email: do not display any content in the email address field if no email address has ever been set before.
2312
+ - Publicize: avoid errors when DOMDocument is not available.
2313
+ - Publicize: we now hide the feature activation toggle if you are not allowed to manage Jetpack features.
2314
+ - Search: make sure module cannot be activated when the site does not use a Plan.
2315
+ - SEO Tools: do not output any custom meta tags if another SEO plugin is already active.
2316
+ - Sharing: make sure Twitter Cards can be displayed even when a post does not include a title.
2317
+ - Sharing: fix alignment of sharing buttons in the admin preview when using custom sharing buttons.
2318
+ - Sitemaps: wait a minute before to generate sitemaps when the feature is activated, to avoid performance issues.
2319
+ - Sync: avoid synchronization issues on Multisite networks using custom domains.
2320
+ - Top Posts Widget: display the default title when it is set to empty.
2321
+ - Milestone Widget: make sure the widget is displayed properly and can easily be translated into other languages.
2322
+ - Verification Tools: avoid notices when saving changes on a Multisite network admin page.
2323
+ - VideoPress: avoid missing file warning in the editor when using an RTL language.
2324
+ - Upcoming events Widget: avoid PHP notices on sites using a custom timezone setting.
2325
+ - WordPress.com REST API: avoid errors when installing plugins via the WordPress.com API.
2326
+
2327
+ ## [5.4] - 2017-10-03
2328
+ ### Major Enhancements
2329
+ - Multiple improvements to the connection process, to allow more people to use the Jetpack plugin, even on very specific server configurations.
2330
+ - Add a new Welcome screen to guide site owners after they have purchased a Jetpack plan.
2331
+
2332
+ ### Enhancements
2333
+ - Add Schema.org markup to the Contact Info Widget.
2334
+ - Add a new "Date" field to the Contact Form.
2335
+ - Do not show any update notices when in [development mode](http://jetpack.com/support/development-mode).
2336
+ - Improve our documentation to help contributors set up a unit testing environment.
2337
+ - Avoid conflicts between Jetpack's Infinite Scroll and other Infinite Scroll plugins.
2338
+ - Improvements to the WordPress.com REST API to avoid issues when interacting with your site's categories and tags on WordPress.com.
2339
+ - Allow third party plugin and theme authors to add new menu items to the WordPress.com toolbar.
2340
+ - Improve the Content Options panel displayed in the Customizer with certain themes.
2341
+ - Add architecture for the Jetpack Search feature, available for Jetpack Professional users.
2342
+ - Simple Payments: improve the display of the payment items when used on your site.
2343
+ - Ensure a proper display of the Recipe shortcode on sites using an RTL language.
2344
+ - Improve the display of the Facebook posts, images, and all other Facebook embeds in your posts.
2345
+ - Synchronize the author information for all published posts.
2346
+ - Record how Jetpack was discovered and activated to better understand how site owners first discover Jetpack.
2347
+ - Improve the display and options offered with the Milestone Widget.
2348
+
2349
+ ### Bug fixes
2350
+ - We fixed layout issues appearing in the admin interface for IE11 users.
2351
+ - Comment Form: avoid whitespace sometimes appearing below the form with some themes.
2352
+ - Contact Form: avoid errors in the post editor on sites using RTL languages.
2353
+ - Toolbar: always display the Toolbar when it's active, regardless of other admin bar settings.
2354
+ - Widget Visibility: make sure rules are correctly migrated from the old Jetpack image widget to the new WordPress Image Widget.
2355
+ - Avoid errors showing that Jetpack is out of date on WordPress.com, when running a Multisite network.
2356
+ - WP CLI: avoid warnings when using the `wp jetpack protect whitelist list` command to list the whitelisted IP addresses in the Protect feature.
2357
+ - Avoid displaying raw HTML in the Stats Configuration screen.
2358
+ - Comment edits are reflected properly in wordpress.com.
2359
+
2360
+ ## [5.3] - 2017-09-05
2361
+ ### Major Enhancements
2362
+ - Full PHP 7.1 compatibility.
2363
+ - It's now possible to preview your site within WordPress.com.
2364
+
2365
+ ### Enhancements
2366
+ - The Ads feature now gives you more options and control over the ads displayed on your site.
2367
+ - Increased performance in the admin by cutting back on unnecessary requests.
2368
+ - Loading comment avatars from Facebook and Twitter through a more secure https.
2369
+ - Admin UI is much friendlier on initial activation when there are no stats to display.
2370
+ - You're now able to stop VideoPress from looping a video during autoplay through the shortcode.
2371
+ - Made some optimizations to the Jetpack connection process which means connecting your site more is more reliable.
2372
+ - The EU Cookie Law widget got some styling improvements and looks better in any theme.
2373
+ - There's a new Jetpack CLI command to allow testing of the Jetpack connection.
2374
+ - Added the Likes and Monitor features to our recommended features list, making it easier to activate for new sites.
2375
+ - Improvements made that makes sure we have the most up-to-date version of your site when managing from WordPress.com.
2376
+ - Added a link to view your Comments in the WordPress.com toolbar.
2377
+ - Lots of minor design improvements to the Jetpack admin area.
2378
+ - We've found a few places where we were able to optimize the loading of css files.
2379
+ - Removed the Omnisearch feature.
2380
+
2381
+ ### Bug fixes
2382
+ - Fixed compatibility issues with plugins using TinyMCE.
2383
+ - Contact Form submission emails have been fixed for sites hosted on SiteGround.
2384
+ - Updating WordPress.com themes will no longer have any problems.
2385
+ - The Sitemaps feature will no longer error with posts/images with special characters in the title.
2386
+ - There are no more conflicts with the ACF plugin when adding a new custom field.
2387
+ - Fixed a bug that would cause some plugins to throw warnings with the Shortcode feature.
2388
+ - We're no longer loading a font on the front-end for the Likes feature, which will also have some performance benefits.
2389
+ - The Jetpack admin UI had some bugs that were causing some features to not display the correct active status, which are squashed now.
2390
+ - Cleaned up our markup to avoid XHTML validation errors.
2391
+ - Brought back a filter for the Widget Visibility feature that was accidentally removed.
2392
+ - Managing your comments and comment authors more reliable from WordPress.com.
2393
+
2394
+ ## [5.2.1] - 2017-08-02
2395
+ ### Bug fixes
2396
+ - Solves an issue that caused widgets to lose their content when saved in WP Admin or Customizer.
2397
+
2398
+ ## [5.2] - 2017-08-01
2399
+ ### Major Enhancements
2400
+ - Contact Forms now sports a fancy new interface that allows you to visually compose your form in the editor.
2401
+ - We have a new and slick way to showcase and explain the features we recommend to activate to new users.
2402
+
2403
+ ### Enhancements
2404
+ - Reduced 500kb from plugin zip file, which means faster updates.
2405
+ - Refactored and reduced code for Comment Likes so it's faster and lighter.
2406
+
2407
+ ### Bug fixes
2408
+ - An inconsistency experienced in WordPress.com dashboard when Related Posts settings were set in the local site's WP Admin is now fixed.
2409
+ - Fixed a 404 when loading Open Sans font from a stylesheet plus now it's only enqueued if it will be used.
2410
+ - Solve PHP warnings when Image widget wasn't migrated.
2411
+
2412
+ ## [5.1] - 2017-07-05
2413
+ ### Major Enhancements
2414
+ - You and your readers can now show appreciation to particularly clever comments with the new Comment Likes feature.
2415
+
2416
+ ### Enhancements
2417
+ - Quickly visit your current site's front-end directly from the Masterbar's new "View Site" item.
2418
+ - Site data fetch from /me/sites REST API endpoint now includes `blog_public` in the list of returned options.
2419
+ - The Flickr widget now automatically displays images in a grid if there's enough room.
2420
+ - E-mail sharing is now disabled by default unless it's explicitly enabled by a filter or Akismet is active.
2421
+
2422
+ ### Compatibility Improvements
2423
+ - Updated instructions in Flickr widget to reflect recent changes to the Flickr UI.
2424
+
2425
+ ### Bug fixes
2426
+ - EU Cookie Law Banner cookie no longer cached.
2427
+ - WP Admin menu can now be accessed in mobile when Masterbar is displayed.
2428
+ - We now sync the `order_id` for `order_items` in older WooCommerce versions.
2429
+ - UI now handles VaultPress connection or registration problems gracefully.
2430
+ - Photon now works correctly with images uploaded before WordPress 2.7.
2431
+
2432
+ ## [5.0] - 2017-06-06
2433
+ ### Enhancements
2434
+ - Several changes to the Jetpack dashboard and notices: alignment tweaks, code refactor, text simplification, and more.
2435
+ - Changes to the communication layer between your site and WordPress.com, to improve performance and allow you to do more to manage your site from WordPress.com.
2436
+ - Social menu gets icons for Etsy, Meetup, 500px, and Goodreads.
2437
+ - Jetpack data sync now better supports WordPress updates, themes changes, widgets, and multisite networks.
2438
+ - Video is updated to be fully compatible with the upcoming Media Widget.
2439
+ - Force secure WordPress.com API requests for request body, remove deprecated stats methods, and add new endpoints for post listing and user invitations.
2440
+ - Jetpack's Command Line tools can now output information about the primary Jetpack site owner. Try `wp jetpack status`!
2441
+ - Custom CSS now supports the `animation-fill-mode`, `fill`, and `stroke` properties.
2442
+ - Remove the "Menus" item from the WordPress.com toolbar for parity with the toolbar on WordPress.com.
2443
+ - Improve the display of the Omnisearch results page on sites using an RTL language.
2444
+ - Trim any white space when adding new email address in the Contact Info Widget.
2445
+ - Improve the look of your recipes in search engine result pages, when you use the Recipe shortcode.
2446
+
2447
+ ### Compatibility Improvements
2448
+ - Improve the connection process for end users and hosts.
2449
+ - Improve compatibility of Jetpack data sync with WooCommerce and Pet Manager plugins.
2450
+ - Make sure Jetpack's SEO Tools don't conflict with other SEO plugins that may already be active on the site, like Yoast SEO or All In One SEO Pack.
2451
+
2452
+ ### Bug Fixes
2453
+ - Add a "Set Up" button when a Personal plan is purchased, but VaultPress isn't active yet.
2454
+ - When the Ads feature is active, do not display Ads in RSS feeds.
2455
+ - Comments do not use Photon for Facebook and Twitter avatars and now avoid non-secure warnings when submitting comments on a HTTP site in Safari.
2456
+ - Contact form emails are now sent in a way that ensures they are correctly rendered as HTML.
2457
+ - Properly print the full list of modules when using the sync command in Jetpack's Command Line Interface (CLI).
2458
+ - Avoid errors when reordering a lot of Restaurant menu items at once.
2459
+ - Add a mechanism to detect broken connection states and resolve them.
2460
+ - Autosaves can now be restored as Markdown.
2461
+ - Photon no longer conflicts with Facebook's CDN, local images, and plugins that customize reponsive images.
2462
+ - Avoid potential PHP notice in Publicize.
2463
+ - Fix bad jQuery selector in Presentations shortcode.
2464
+ - Avoid fatal errors for Social Links on sites running PHP 7.1.
2465
+ - Properly escape button attribute in spellchecker.
2466
+ - Avoid PHP notices for stats on some sites when user roles are not attributed properly.
2467
+ - No longer attempt to sync options that do not exist and avoid fatal errors when de/activating plugins.
2468
+ - Avoid errors when Social Menu functions have already been defined in the theme or in another plugin.
2469
+ - VideoPress media items now always return their unique ID, and do not trigger any PHP notice.
2470
+ - Fix style of the EU Cookie Law Widget on themes with specific positioning.
2471
+ - Use correct time constant to define an hour in Upcoming Events Widget.
2472
+ - Avoid HTML encoding issues in sitemaps.
2473
+
2474
+ ## [4.9] - 2017-05-02
2475
+ ### Major Enhancements
2476
+ - New "EU Cookie Law Banner", Flickr, and "Internet Defense League" widgets.
2477
+
2478
+ ### Slightly Less Exciting Enhancements
2479
+ - Success notices are automatically dismissed after a short period.
2480
+ - Removed unused code from "My Jetpack" interface and deprecated an XML-RPC method.
2481
+ - Contact Form now adds display names to email addresses in the `To` header.
2482
+ - Added an updated multiple unit tests increasing code coverage.
2483
+ - Development mode now also shows module list.
2484
+ - Updated the list of locales available in Jetpack.
2485
+ - Plugin auto-updates only triggered from WordPress.com and now trigger WordPress' maintenance mode.
2486
+
2487
+ ### Performance Improvements
2488
+ - Record comment content modifications and moderation events to make sure comments are always up to date on WordPress.com.
2489
+ - Sync post deletions, changes to sidebar, user events (addition, removal, and update) and theme installation.
2490
+ - We now distinguish between a new and an updated attachment.
2491
+ - Sync plugin and theme names when a related event is triggered including theme updates.
2492
+
2493
+ ### Compatibility Improvements
2494
+ - Protect avoid conflicts with other plugins hooking into the log in form.
2495
+ - Contact Form not auto-activated when Ninja Forms is active.
2496
+ - WordPess.com REST API now allows `HTTP PUT` requests.
2497
+
2498
+ ### Bug Fixes
2499
+ - Fixed wording in Post By Email button when no email address has been generated.
2500
+ - Fixed a notice in the subscription widget in PHP 7.1
2501
+ - Properly display VaultPress notices in the Jetpack dashboard.
2502
+ - VideoPress now included in search results for "video" and fixed positioning of search icon on mobile screens.
2503
+ - Protect supports IPv6 addresses properly.
2504
+ - Dashboard avoids API requests being cached on some hosts and avoids errors when Spellchecker is inactive.
2505
+ - Contact Form message content type is now set properly to restore compatibility with email plugins.
2506
+ - Ads not displayed in the portfolio projects custom content type.
2507
+ - Display all sites available in a network, even on large multisite installations.
2508
+ - Featured Image is always used in tweets posted via Publicize.
2509
+ - Avoid fatal errors when the exclusion parameter in Related Posts is not a string.
2510
+ - Allow the removal of all custom title settings in the SEO feature.
2511
+ - Make sure images are not distorted when Tiled Galleries uses Photon.
2512
+ - Avoid PHP warnings and errors in the Stats dashboard on Multisite.
2513
+ - Avoid errors when the Jetpack plugin is deleted.
2514
+
2515
+ ## [4.8.2] - 2017-04-07
2516
+ ### Bug Fixes
2517
+ - Fixed a bug that prevented activating/deactivating of some features in PHP versions below 5.4.
2518
+ - Removed an unused function that was also incompatible with PHP versions below 5.4.
2519
+ - Fixed a bug that was causing a blank Jetpack admin area.
2520
+
2521
+ ## [4.8.1] - 2017-04-05
2522
+ ### Bug Fixes
2523
+ - An incompatibility with PHP versions lower than 5.4 was introduced in the last release, causing a fatal error and we've immediately fixed this.
2524
+ - Sitemaps: Some plugins were relying on a function that was removed in the last release, which has been fixed.
2525
+ - General: Clicking on the info icon in the settings area will no longer jump to the top of the page.
2526
+ - General: The Anti-spam card will always display the correct status in the Jetpack dashboard.
2527
+
2528
+ ## [4.8] - 2017-04-04
2529
+ ### Major Enhancements
2530
+ - Easier to navigate Jetpack's feature settings in your dashboard and WordPress.com.
2531
+ - New WordPress.com Toolbar provides quick access to site management, stats, and other services.
2532
+ - New MailChimp Subscribe Popup widget.
2533
+ - Sitemaps are faster and now support sites with a very large amount of posts.
2534
+ - Contact Form now has a plain-text alternative and better avoids spam filters.
2535
+ - Debug form includes extra information to better prioritize your support requests.
2536
+ - Photon can now be used within the dashboard, and supports bbPress topics and replies.
2537
+
2538
+ ### Slightly Less Exciting Enhancements
2539
+ - Improved previously confusing wording in Stats dashboard, and Featured Content options.
2540
+ - You can now embed Apple Keynotes straight from icloud.com in your posts and pages.
2541
+ - Changed Infinite Scroll button text on taxonomy page and added a new filter to short-circuit the `is_last_batch()` method.
2542
+ - Open Graph now uses transients to save image IDs.
2543
+ - You can now use full URLs in the Social Media Icons widget.
2544
+ - Milestone widget now allows custom links to open in a new window.
2545
+ - VideoPress videos can be used as headers in themes that support it, like Twenty Seventeen.
2546
+ - Extracted the timezone offset method from the Upcoming Events widget so it can be used by other features.
2547
+
2548
+ ### Performance Improvements
2549
+ - Database load is reduced during updates on large sites with multiple servers by retaining hashes for current and current-1 versions.
2550
+ - Disk storage is reduced on large multisite networks by storing the `jetpack_file_data` option in the `wp_sitemeta` table.
2551
+ - Jetpack plan data now uses the WordPress.com REST API.
2552
+ - Slovakian language files now rely on WordPress.org's language packs.
2553
+
2554
+ ### Accessibility Improvements
2555
+ - Improved post details clipping for better screen reader support.
2556
+ - Updated custom language packs for multiple languages.
2557
+
2558
+ ### Security Improvements
2559
+ - We now avoid path disclosure via cookies in PHP error messages.
2560
+
2561
+ ### Compatibility Improvements
2562
+ - Removed deprecated functions `get_theme` and `get_current_theme`.
2563
+ - Publicize now works with third-party plugins like WP Recipe Maker.
2564
+ - Open Graph Meta Tags are now enabled when you use the "Head, Footer and Post Injections" plugin.
2565
+ - Better support for WooCommerce data sync and backup.
2566
+ - We now also sync the `sync_via_cron` setting, the user's chosen language, and WP Super Cache's globals and constants.
2567
+ - We no longer sync post types from the WordPress Automatic Plugin and RSS AutoPilot to avoid synchronization issues.
2568
+ - Sync settings can now be edited from the WordPress.com REST API to better troubleshoot sync issues.
2569
+
2570
+ ### Bug Fixes
2571
+ - Gravatar is always displayed in Settings.
2572
+ - Submenu items always use relative links.
2573
+ - Contact Form avoids PHP notices when using the form in a Text widget.
2574
+ - Content Options now correctly displays single characters word count on sites with multibyte languages.
2575
+ - Administrator area translations fixed for several languages.
2576
+ - Added proper support for Formal/Informal translation versions for languages that support them.
2577
+ - Site Icons are always used as fallback Open Graph Image tags.
2578
+ - Protect removes port number when server returns a port alongside a stored IP address.
2579
+ - Filters ensure that more than 1,024 posts can be excluded from Related Posts.
2580
+ - When the email is already subscribed we now show the correct notification in the subscription form.
2581
+ - When using the Email sharing button, we now avoid syntax errors due to unexpected characters in the from name.
2582
+ - Remove deprecated `jetpack_publicize_post` action.
2583
+ - VideoPress now avoids PHP Notices when fetching video information.
2584
+ - Instagram base URL now uses `www` in the Social Media Icons widget.
2585
+ - All values entered in Facebook Page Plugin widget settings are now escaped.
2586
+ - Widget Visibility now avoids memory issues on sites with a lot of registered users.
2587
+
2588
+ ## [4.7.1] - 2017-03-14
2589
+ ### Bug Fixes
2590
+ - Carousel: avoid javascript errors that may cause issues with Slideshows or Tiled Galleries.
2591
+ - Markdown: always enable Markdown for posts whenever the module is active.
2592
+ - Sharing: make sure that sharing buttons open in a small pop-up instead of a separate window.
2593
+ - SSO: Avoid token or nonce errors when trying to log in to your site via the Secure Sign On option.
2594
+ - VideoPress: add in the ability to get video thumbnails from the WordPress.com REST API.
2595
+ - Widgets: improve rendering of the Image Widget via Photon.
2596
+ - Widget Visibility: avoid empty widget visibility rules after updating to Jetpack 4.7.
2597
+ - Widget Visibility: restore the option to make widgets appear on archive pages of different Custom Post Types.
2598
+ - Widget Visibility: migrate widget visibility settings to the new major Page rule for Custom Post Types.
2599
+ - Widget Visibility: add missing CSS for widget visibility settings on sites using an RTL language.
2600
+
2601
+ ## [4.7] - 2017-03-07
2602
+ ### Enhancements
2603
+ - Quickly jump to post specific stats on WordPress.com with a new link.
2604
+ - We've added more information to our debug tools to improve your support experience.
2605
+ - New HTML5 versions of our house ads are out.
2606
+ - Display custom copyright EXIF information in the Carousel with this new filter.
2607
+ - We've highlighted the ability to export Contact Form feedback as it was being overlooked.
2608
+ - If you have images on WordPress.com we're going to skip using Photon when the images include resize parameters.
2609
+ - It is now possible to use the Sharing filter to customize the emails sent from the Email Sharing button.
2610
+ - We've updated the library powering the Print link in the Recipe shortcode.
2611
+ - Customize the speed and display of your slideshows with new Slideshow shortcode filters.
2612
+ - The Twitch.tv shortcode now uses Twitch's new embedded player.
2613
+ - Social Menus now come with the option to use SVG icons.
2614
+ - Customize the content of the Display Posts Widget with a new filter.
2615
+ - We've added a new email field to the Contact Info Widget.
2616
+ - The Image and the Text widgets now use Photon if it is enabled.
2617
+ - The WordPress.com REST API got several updates including using `register_rest_route()` consistently for registering, new date and time format settings, a filter for theme info results, new links and endpoints, and more.
2618
+ - We cleaned up the Google+ Shortcode JS library and added a way to filter the SlideShare shortcode.
2619
+
2620
+ ### Performance Improvements
2621
+ - Experience better performance with single page load caching of the media summary.
2622
+ - We made some improvements to avoid slow queries on sites with thousands of images.
2623
+ - The Top Posts widget now utilizes an endpoint from the WP.com REST API improving performance.
2624
+ - Improve development mode performance by only calling `site_url()` once.
2625
+ - We rewrote the way major/minor rules lists are generated to save bandwidth, and memory for sites using Widget Visibility.
2626
+ - We've removed sync options that weren't needed to save memory during the sync process.
2627
+
2628
+ ### Accessibility
2629
+ - We've improved the highlight of the stats range for a better visual experience and to make it consistent with other areas of the dashboard.
2630
+ - Added a missing label to one of the fields in the Email sharing dialog.
2631
+ - We've enabled keyboard focus styling in the new admin interface.
2632
+ - Increased padding to sharing buttons on mobile to avoid usability issues.
2633
+ - We've replaced Widget Visibility text labels with icons to improve usability on smaller devices.
2634
+
2635
+ ### Slightly Less Exciting Enhancements
2636
+ - We've added a filter to allow you to remove the Comment Form title.
2637
+ - The Development Mode notice got an update to include all possible options to activate Development mode.
2638
+ - Jetpack registration function got an update and cleanup.
2639
+ - A notice displayed to WooCommerce store owners now detects when WooCommerce Services is installed, but not active.
2640
+ - We've removed the Holiday Snow settings until you need them.
2641
+ - Improved Infinite Scroll settings to reduce confusion.
2642
+ - The HTML classes `infinite-scroll` and `neverending` are now applied using JS instead of PHP.
2643
+ - We've updated the support link appearing when you're locked out of your site.
2644
+ - New Unit Tests were added to make sure Publicize doesn't break when making changes to the Publicize process.
2645
+ - We've added a sync filter to allow customizing timeout.
2646
+ - The Top Posts widget now supports non-square image sizes.
2647
+ - Added the Video GUID to the media API endpoint.
2648
+
2649
+ ### Improved Compatibility
2650
+ - Fixed some W3C validation errors in Comments.
2651
+ - Infinite Scroll now works beautifully with the Twenty Seventeen Theme.
2652
+ - Translate new terms easier with an improvement to the translator comments.
2653
+ - We switched to use Core functions to retrieve the list of sites in a multisite network for more accurate results.
2654
+ - We added Product visibility to post meta whitelist, for better control of products displayed in Related Posts.
2655
+ - We no longer sync specific post meta data added by Postman or WP RSS Multi Importer to avoid performance issues during the sync process.
2656
+ - We're now avoiding conflicts with plugins adding the core Video upload library to the post editor.
2657
+ - Removed deprecated compatibility code for older versions of WordPress.
2658
+ - We had some Shortcode conflicts with WordPress Post embeds, but that's been fixed.
2659
+
2660
+ ### Bug Fixes
2661
+ - The Carousel `jp_carousel_load_for_images_linked_to_file` filter wasn't working well with Photon, this has been fixed.
2662
+ - Carousel is now working well when loaded from infinite scroll.
2663
+ - We removed double slashes from file paths in the Contact Form to avoid errors in specific server environments.
2664
+ - Fixed a problem where CSS was being stripped when migrating from Jetpack's Custom CSS to Core's CSS editor.
2665
+ - Our Debug Tool is now reporting the correct URL when WordPress lives in a subdirectory.
2666
+ - Found and fixed a PHP error when uninstalling Jetpack.
2667
+ - Infinite Scroll is no longer buggy when displaying the last page, and is more compatible with certain themes that were returning posts when there were none left to show.
2668
+ - We're now skipping Photon for .ashx files.
2669
+ - The Twitter character counter in Publicize got a fix to display info correctly.
2670
+ - Related Posts are now displaying correctly for everyone, and we brought back the `jetpack_sharing_headline_html` filter.
2671
+ - We've improved Sharing to render custom sharing services correctly, include Open Graph Meta Tags, and avoid JavaScript errors when jQuery is enqueued in the footer.
2672
+ - Synchronization scheduling issues have been resolved.
2673
+ - We're now trimming spaces in URLs for Image and Display Posts Widgets.
2674
+ - Widget Visibility wasn't playing nice on taxonomy pages, this is no longer the case.
2675
+ - The WordPress.com REST API received a couple of fixes to remove PHP errors when editing via the WordPress.com interface, authentication errors when using third-party apps, and permission errors when trying to preview edited posts in the WordPress.com editor.
2676
+
2677
+ ## [4.6] - 2017-02-07
2678
+ ### New Features and Improvements
2679
+ - Enable Google Analytics without touching a line of code with this new Jetpack feature.
2680
+
2681
+ ### Performance Improvements
2682
+ - We've updated all outbound links to use HTTPS to improve performance and security.
2683
+ - Photon now leverages a new WordPress core function to improve performance a bit.
2684
+
2685
+ ### Enhancements
2686
+ - Keep an eye out for a note from WooCommerce on how your e-commerce store may benefit from our new USPS and CanadaPost shipping functionality.
2687
+ - We've added an error message if Publicize isn't functioning as it should be.
2688
+ - The Twitter Widget timeline now displays the tweet limit count as 20, prior to this it appeared to have no limit.
2689
+
2690
+ ### Slightly Less Exciting Enhancements
2691
+ - In an effort to help us better understand features that are being used, Twitter's timeline widget and Twitter's shortcodes now pass Jetpack's partner ID.
2692
+ - We've added new API endpoints allowing us to enable translation auto-updates and pull post rows and metadata for backups.
2693
+ - We're now retrieving all feature settings in the readable `/settings` endpoint.
2694
+
2695
+ ### Improved Compatibility
2696
+ - We've eliminated some notices and warnings when using Jetpack on a server running PHP 7.1 or on servers where `print_r()` is disabled.
2697
+ - Photon now avoids PHP notices when your site is using plugins that do srcset CDN replacement.
2698
+ - When the sharing options appear to be incorrect due to site configuration issues we force it to retrieve the right options avoiding potential fatal errors.
2699
+ - We've added some shortcode CSS and widget class names prefixes to avoid conflicts with other plugins.
2700
+
2701
+ ### Bug Fixes
2702
+ - Some sites were using illegal multibyte characters and failing to sync posts, this has been fixed.
2703
+ - IE11 was giving our admin layout a bit of a problem but we rectified that.
2704
+ - There were some PHP notices popping up when a site has no posts so we got rid of them.
2705
+ - The new Jetpack Ads feature will auto disable itself if your Jetpack plan doesn't support the feature.
2706
+ - We fixed a few PHP notices and warnings related to the Custom CSS feature.
2707
+ - The connection banner's "dismiss" icon was giving us a little trouble, but we got it fixed right up.
2708
+ - The Likes feature was showing a PHP notice when there was no $post object, this has been fixed.
2709
+ - We've brought back the Twitter Widget "noscrollbar" option.
2710
+ - We're now forcing only Photon URLs to HTTPS as your custom CDN URLs may use a different protocol.
2711
+ - If a Publicize connection is not shared with all users on the site, do not trigger Publicize for the other users.
2712
+ - Publicize was having trouble working with scheduled posts, this should be fixed now.
2713
+ - SSO may not have been displaying the login form when using JSON API authorization. Sorry about that, we've fixed it.
2714
+ - We've eliminated some PHP notices that were showing with some Shortcodes.
2715
+ - There was a Top Posts Widget image size issue when using list layouts, but is no longer causing issues.
2716
+ - We fixed some notices and warnings when updating data from the WordPress.com central interface.
2717
+
2718
+ ## [4.5] - 2017-01-17
2719
+
2720
+ This release introduces a brand-new module, Jetpack Ads, a brand-new VideoPress feature, and a lot of new shortcodes and widgets.
2721
+
2722
+ ### Exciting New Features and Improvements
2723
+ - Generate revenue from your site with an all-new WordAds feature, which when enabled displays high-quality ads for your visitors.
2724
+ - Today we are proud to release a fully redesigned VideoPress interface for easy uploading, management, and add-free playback of your fantastic videos now fully integrated with your Jetpack Premium or Professional plans.
2725
+ - Spice up your sidebar with new widgets that display blog stats, author info, "Follow my blog" buttons, and even an event countdown.
2726
+ - Embed your amazing 360° photos with the VR shortcode
2727
+ - Link your visitors to your Tumblr or Twitch pages using the new icons in the Social Media Icons Widget.
2728
+
2729
+ ### Enhancements
2730
+ - Use the beautiful Jetpack carousel feature to display single images.
2731
+ - Turn on and update Related Posts right from the Customizer.
2732
+ - Customize the output of the Related Posts headline using a new filter.
2733
+
2734
+ ### Performance and Security Improvements
2735
+ - Your Custom CSS will now be served in a separate stylesheet when it is more than 2,000 characters.
2736
+ - Your Stats queries are now always being made over HTTPS.
2737
+ - Holiday Snow files now load in the footer, but rest assured the snow still falls from above.
2738
+ - We have improved Jetpack's synchronization process to support more plugins and use less resources.
2739
+ - The jQuery Cycle script used by slideshow galleries is now minified, resulting in faster loading times.
2740
+
2741
+ ### Slightly Less Exciting Enhancements
2742
+ - The JSON API now allows updating translations and alternative theme installation methods.
2743
+ - Public Custom Post Types are now automatically available via the WordPress.com REST API.
2744
+ - We've added a token-based authentication mechanism to the REST API in order for the site to be able to receive authenticated requests from WordPress.com.
2745
+ - Use `sync` commands in Jetpack's WP CLI.
2746
+ - You can now set the value for options directly in the Contact Form shortcode.
2747
+ - Updated some verbiage around IP Whitelisting on the Protect settings screen.
2748
+ - Custom sharing buttons got some new variables.
2749
+ - RIP blip.tv — we've removed your shortcode.
2750
+ - Improved Image and Display Posts Widget settings to provide more explanation and better error messages.
2751
+ - We've added a few new Content Options to the Customizer for supported themes.
2752
+ - Improved the Facebook Widget to avoid confusion when editing width and height settings.
2753
+ - Added and improved a few shortcodes.
2754
+
2755
+ ### Improved Compatibility
2756
+ - If your server is misconfigured and we can't get an IP address we're going to deactivate Protect and send you a notice so you're in the loop.
2757
+ - The WPML compatibility file wasn't loading at the right time, but we've fixed that.
2758
+ - We've improved compatibility with tools like Cavalcade to avoid stuck Cron jobs.
2759
+ - Some selected WooCommerce data (order items and order item meta) are now syncing to WordPress.com.
2760
+
2761
+ ### Bug Fixes
2762
+ - You'll notice numerous design improvements to the Jetpack UI.
2763
+ - Accessibility is important to us so we've made some improvements there.
2764
+ - Missing attachments in the Carousel were causing an infinite loop, but we've corrected that.
2765
+ - Eliminated a PHP Notice when running the CLI `wp jetpack` command.
2766
+ - PHP warnings in the Restaurant Menu Post type have seen their last day with us.
2767
+ - Fixed a bug that displayed the wrong connected user for up to 24 hours after they disconnected.
2768
+ - Removed a deprecated function to prevent notices when using Infinite Scroll in the Customizer.
2769
+ - Long titles in Jetpack widgets weren't looking so great, so we cleaned them up.
2770
+ - Before now you weren't able to create a child category from WordPress.com. Now you can!
2771
+ - Rogue colons were showing up in the related posts area on sites with the Twenty Fourteen and Twenty Sixteen themes.
2772
+ - Fixed a ReCaptcha error on the Email sharing button.
2773
+ - Confirmed Instagram embeds actually load when using Infinite Scroll.
2774
+ - Site Icons now display on the WordPress.com site management interface.
2775
+ - Set a default time limit of 30 seconds when sending sync requests via Cron.
2776
+ - Synchronized supported shortcodes on a site.
2777
+ - Fixed an issue where empty categories weren't showing with the Widget Visibility feature dropdown.
2778
+ - Fixed various little bugs when working with multiple widgets in the Customizer and in the Widgets admin screen.
2779
+ - Added a Translate Widget default title in case you haven't defined one.
2780
+ - The Top Posts Widget now avoids layout issues when using the Grid layout while displaying a post without an image.
2781
+
2782
+ ## [4.4.2] - 2016-12-06
2783
+
2784
+ This release improves Jetpack compatibility with WordPress 4.7.
2785
+
2786
+ ### Compatibility changes
2787
+ - Custom CSS: Made the Custom CSS feature of Jetpack compatible with the CSS Customizer editor in WordPress 4.7.
2788
+ - Sync: improved compatibility with the wp-missed-schedule plugin.
2789
+
2790
+ ### Bug fixes
2791
+ - Featured Content: made sure there is no infinite loop when removing the featured tag from the tag list.
2792
+ - Admin: made sure help tabs are not being hidden.
2793
+ - Admin: made At a Glance page work nicely when there is no backup data yet.
2794
+ - Sync: now making sure that needed classes are loaded, preventing errors.
2795
+ - Sync: cleared out unneeded scheduled jobs.
2796
+
2797
+ ## [4.4.1] - 2016-11-22
2798
+ ### Bug Fixes
2799
+ - Fixed an issue where some users with slower servers would get an error on
2800
+ the Jetpack dashboard when `WP_DEBUG` was enabled.
2801
+ - Fixed an issue where users on a Jetpack Professional plan who were paying
2802
+ monthly (as opposed to annually) wouldn’t be able to enable SEO Tools.
2803
+
2804
+ ## [4.4] - 2016-11-21
2805
+ ### Enhancements
2806
+ - Additional unit tests have been added to improve Jetpack's development process and stability.
2807
+ - Custom post types have been added to the WP REST API output.
2808
+ - Many of the screenshots throughout the plugin have been replaced by SVGs in order to make Jetpack smaller.
2809
+ - New endpoints have been added to allow the installation of plugin and theme zip files via the API.
2810
+ - Twelve new filters to make Jetpack more extensible! See: http://wp.me/p5U9nj-2Ow.
2811
+ - New widget: "Google Translate" to allow users to translate your site into their own language.
2812
+ - New widget: "My Community" where you can see who recently interacted with your site.
2813
+ - One of the biggest issues facing Jetpack users for years now has been difficulties in moving sites from one domain name to another. This update makes strides towards improving that process.
2814
+ - Photon now uses HTTPS by default. Secure all the things!
2815
+ - There are now helpful hints throughout the admin interface to make Jetpack easier to use.
2816
+ - We now allow you to embed pins, boards and profiles from Pinterest.
2817
+ - We've added a new feature: SEO Tools, available to Jetpack Professional subscribers. You can read more about our plans here: https://jetpack.com/features/
2818
+ - We've made numerous improvements to the data sync process.
2819
+
2820
+ ### Bug Fixes
2821
+ - Fixed link to Akismet settings.
2822
+ - Improved compatibility between Infinite Scroll and WPML.
2823
+ - Move email notification settings back with the other email settings in the Discussion Settings.
2824
+ - Various minor performance/compatibility fixes.
2825
+
2826
+ ## 4.3.2 - 2016-10-13
2827
+ ### Enhancements
2828
+ - Unsaved changes were getting lost when users were navigating away from settings so we put in a confirmation message to prevent this from happening.
2829
+ - We've stopped counting carousel views in stats by default, you can use the `jetpack_enable_carousel_stats` filter to enable counting them again.
2830
+ - Stats are now responding faster.
2831
+ - There were several improvements and repairs made to sync including additional endpoints, performance enhancements, whitelisted data, better decision making around when to sync information, and more.
2832
+ - Markdown now has a CSS class on footnotes.
2833
+
2834
+ ### Improved Compatibility
2835
+ - We've improved compatibility with Kinsta by automatically turning on Staging Mode for Jetpack when in a staging environment.
2836
+
2837
+ ### Bug Fixes
2838
+ - Several fixes have been made to sync to repair issues with Publicize, Notifications, and Subscriptions.
2839
+ - We removed PHP warnings by checking to make sure json language files like jetpack-en_US.json are readable before we load them.
2840
+ - We found an unused option in Gravatar Hovercard settings and removed it.
2841
+ - The correct support link is now being used to make it easier for you to connect with the Jetpack team if you need us.
2842
+ - The permissions check for plugin information retrieval was fixed as well.
2843
+ - Some plugins were adding content on outbound http requests causing an infinite loop we fixed this right up.
2844
+ - We removed some warnings that were occurring when translations didn't exist by adding a fallback.
2845
+ - We've added Moroccan Arabic translations, and switched to language packs for Croatian, Spanish (Chile) and Greek.
2846
+ - Sync was running into issues so we've limited dequeue time to 1/3 of PHP's max execution time, which has unclogged the problem.
2847
+ - We're now sending full and incremental queues separately so that a failure in one doesn't block the other.
2848
+ - There was a JavaScript enqueuing error with our Sharing feature that has been repaired.
2849
+ - The Top Posts widget now includes the ability to list attachment (media) pages.
2850
+ - We weren't building CPT links correctly resulting in bad navigation, which is now fixed.
2851
+ - We removed the form legend for default Tiled Gallery settings as it doesn't relate.
2852
+ - With shortcodes we now return early from processing them if no string is passed, as they are required.
2853
+
2854
+ ## 4.3.1 - 2016-09-08
2855
+ ### Support Enhancements
2856
+ - We're now syncing data about hosts so that we can provide better support
2857
+ when needed.
2858
+ - Minor update to inline docs to match version numbers.
2859
+
2860
+ ### Bug Fixes
2861
+ - Admin Page: fix error when Admin Page resources could not be fetched with
2862
+ `wp_remote_get` due to unique host configurations.
2863
+ - Admin Page: fix error when Post By Email could not be enabled when the
2864
+ browser's dev console was enabled.
2865
+ - Admin Page: make sure all translated strings are encoded properly.
2866
+ - Admin Page: only use POST requests for updating the state of Jetpack, to
2867
+ avoid issues on servers not allowing PUT requests.
2868
+ - Admin Page: search icon no longer overlaps the global notices.
2869
+ - Admin Page: make sure that non-admins can also modify Spellchecking
2870
+ settings.
2871
+ - Admin Page: check that a json language file like jetpack-en_US.json is
2872
+ readable before loading its contents and thus avoid a PHP warning.
2873
+ - General: Improve random number generation for compatibility with more hosts.
2874
+ - General: Add deprecated PHP file (class.jetpack-landing-page.php) back as an
2875
+ empty file, to avoid generating fatal errors on sites with aggressive caching.
2876
+ - General: Ensure concatenated CSS is generated for RTL languages.
2877
+ - Security: Ensure that all options are included on the security tab.
2878
+ - Stats: fix display for sites with pretty permalinks disabled.
2879
+ - Subscriptions: ensure that no email is sent when updating a published post.
2880
+ - Sync: To improve performance, add snapTW to the list of post meta data that
2881
+ won't be synchronized for each post.
2882
+ - Sync: do not schedule a full sync after each import.
2883
+ - Verification Tools: in the Settings card, use appropriate link for each
2884
+ service.
2885
+
2886
+ ## 4.3 - 2016-09-06
2887
+ ### Exciting Performance and UI Improvements
2888
+ - We have launched the all new React powered interface, a year in the making,
2889
+ designed to give you better control of your favorite Jetpack features.
2890
+
2891
+ ## 4.2.2 - 2016-08-19
2892
+ ### Bug Fixes
2893
+ - We fixed the code which displays the Facebook share count to accomodate
2894
+ Facebook's new data structure.
2895
+ - We fixed an issue which caused PHP notices to get logged for users of the
2896
+ Twenty Fourteen theme.
2897
+ - We fixed an issue with the Minileven mobile theme which was preventing it
2898
+ from loading.
2899
+ - Improved Sync performance.
2900
+ - Increase security by sanitizing a URL used in the SSO process.
2901
+
2902
+ ## 4.2.1 - 2016-08-17
2903
+ ### Bug Fixes
2904
+ - We fixed a conflict between Jetpack and W3 Total Cache.
2905
+ - We fixed some issues with Publicize and Custom Post Types.
2906
+ - Very large Multisite networks with lots of users can now be synchronized
2907
+ with WordPress.com.
2908
+ - We improved the synchronization process between your site and WordPress.com.
2909
+
2910
+ ## 4.2 - 2016-08-10
2911
+ ### Performance Enhancements
2912
+ - We’ve improved Jetpack’s performance by making calls to the database more
2913
+ efficient; essentially, Jetpack is doing less on each page load, making things
2914
+ faster. #4281, #4316
2915
+ - We’ve ensured that every feature uses information that is up to date by
2916
+ completely refactoring the way information was synchronized between your site
2917
+ and WordPress.com.
2918
+ - We've improved the way Jetpack queries for information about features, which
2919
+ results in less overall queries.
2920
+
2921
+ ### Exciting Feature and UI Improvements
2922
+ - We now track your visitor views of Carousel images in stats.
2923
+ - You can now customize advanced typographic settings like ligatures in the
2924
+ Custom CSS editor with new support for the `font-feature-settings` property.
2925
+ - We’ve improved the experience when you don’t actually have enough posts to
2926
+ Infinitely Scroll.
2927
+ - Our Contact Info Widget allows you to enter a Google Maps API Key which is
2928
+ now required by Google if you want to display a map.
2929
+
2930
+ ### Security
2931
+ - We’re continuing our efforts to harden Jetpack security, by implementing the
2932
+ `hash_equals()` function to avoid timing attacks when comparing strings. We
2933
+ also improved security on CSVs exported from your contact form.
2934
+
2935
+ ### Slightly Less Exciting Feature Improvements
2936
+ - The Cartodb shortcode has been changed to match the new product name, Carto.
2937
+ - The YouTube shortcode now uses the content width defined by the theme when
2938
+ available, even if an embed size was defined in an old version of WordPress.
2939
+ - Breadcrumbs now support hierarchical post types and taxonomies.
2940
+ - We’ve added the Portfolio Post Type to the WordPress.com REST API whitelist.
2941
+ - There are a few new parameters for the Dailymotion shortcode.
2942
+
2943
+ ### Improved Compatibility
2944
+ - We now work well with WP Stagecoach staging sites, so you should not see any
2945
+ future impact on production sites.
2946
+ - We had some PHP notices popping up in the WooCommerce plugin wizard screen,
2947
+ these are gone.
2948
+
2949
+ ### Bug Fixes
2950
+ - We stopped loading compatibility stylesheets on the default theme's singular
2951
+ views for Infinite Scroll.
2952
+ - Debug tests forwarded through the contact form in the Jetpack Debug menu are
2953
+ now successfully sent to the support team.
2954
+ - We’ve removed the PHP notices you might have seen when moderating comments.
2955
+ - There are no longer PHP notices cropping up when publishing via Cron.
2956
+ - We’ve fixed the official Sharing buttons so they now line up just right.
2957
+ - The PHP warnings of Sitemaps stylesheets have been eliminated.
2958
+ - We’ve done away with the warnings that appeared when Tonesque processes a
2959
+ file which claims to be one filetype, but is actually another.
2960
+ - We’ve exterminated PHP notices that appeared when using Random Redirect, as
2961
+ well as when the author wasn't set.
2962
+
2963
+ ## 4.1.1 - 2016-07-07
2964
+ ### Bug Fixes
2965
+ - SSO: Use high-resolution Gravatar images on the log-in form on Retina
2966
+ devices.
2967
+ - Publicize: improve reliability of Publicize when publishing new posts.
2968
+
2969
+ ## [4.1] - 2016-07-06
2970
+ ### Performance Enhancements
2971
+ - Carousel no longer loads full-size images in the previous and next previews,
2972
+ increasing the speed and performance of slideshows.
2973
+ - We’ve improved Jetpack’s performance by making calls to the database more
2974
+ efficient; essentially, Jetpack is doing less on each page load, making things
2975
+ faster.
2976
+ - We’ve improved Photon dev mode, eliminating unnecessary attempts to sync
2977
+ images.
2978
+
2979
+ ### Exciting Feature and UI Improvements
2980
+ - A new look: SSO, redesigned and refactored, provides a new and improved
2981
+ experience.
2982
+ - Tracking made simple: quickly view the number of unread feedback submissions
2983
+ in your sidebar.
2984
+ - Getting support just got easier! Access improved self-help tools in the
2985
+ Jetpack Debug menu.
2986
+ - Greater control over Infinite Scroll: pause and resume Infinite Scroll with
2987
+ two new JavaScript methods.
2988
+ - Improved Sharing: we’ve swapped image icons for icon fonts and added
2989
+ Telegram and WhatsApp buttons.
2990
+ - Untappd shortcode: now you can sip and share your favorite craft brews.
2991
+ Cheers!
2992
+ - Recipes, revamped: we’ve added new recipe shortcodes and options to create
2993
+ more detailed recipes.
2994
+ - Improved Gallery Widgets now use Photon to resize and serve images.
2995
+
2996
+ ### Security
2997
+ - We’re continuing our efforts to harden Jetpack security by implementing the
2998
+ `hash_equals()` function in an effort to avoid timing attacks when comparing
2999
+ strings.
3000
+ - We’ve made it easier to use SSL connections on ports `80` and `443`,
3001
+ improving our ability to communicate with an increased number of secure
3002
+ websites.
3003
+ - You will now receive a warning for any failed attempts when connecting your
3004
+ website via SSL.
3005
+
3006
+ ### Slightly Less Exciting Feature Improvements
3007
+ - Updated the Infinite Scroll settings verbiage, which was a bit confusing.
3008
+ - Removed Jetpack Audio Shortcode, which is no longer in use.
3009
+ - Redesigned Jetpack banner notices to match core notification styles.
3010
+ - Added an icon on a connected Jetpack user’s profile page, next to their
3011
+ name.
3012
+ - Added the ability to edit Portfolio custom-post-type options in the
3013
+ Customizer.
3014
+ - Added a new filter called `jetpack_publicize_capability` which allows you to
3015
+ override user role restrictions for Publicize.
3016
+ - Improved the connection process between Jetpack and WordPress.com making it
3017
+ easier to start using Manage.
3018
+ - Updated the Top Posts Widget so you can use and display posts that are older
3019
+ than 10 days.
3020
+ - Updated the Twitter Timeline Widget to support updates made by Twitter.
3021
+ - Improved the VideoPress Shortcode modal.
3022
+ - Updated VideoPress, which now defaults to HTML5 videos when the `freedom`
3023
+ shortcode parameter is in use.
3024
+ - Improved how Jetpack syncs by removing mock options.
3025
+ - Updated the naming convention for feedback posts.
3026
+ - Updated several JSON API endpoints to match WordPress.com endpoints, added
3027
+ support for custom taxonomies, and enabled trash as a valid status for the
3028
+ post update endpoint.
3029
+
3030
+ ### Improved Compatibility
3031
+ - A community member found and fixed a compatibility issue with our Open Graph
3032
+ Meta Tags and Bitly’s older plugin -- we now check to make sure we don’t
3033
+ create conflicts.
3034
+ - We’ve fixed a rare scenario where an error would occur when other plugins or
3035
+ sites were using the `JETPACK__GLOTPRESS_LOCALES_PATH` constant.
3036
+
3037
+ ### Bug Fixes
3038
+ - Comment avatars are now retrieved in a manner more consistent with the login
3039
+ avatar, improving consistency and eliminating the possibility of a future bug.
3040
+ - We eliminated PHP notices that were appearing when Custom Content Types were
3041
+ defined without labels or sections.
3042
+ - PHP memory limits were reached in rare cases when a website had thousands of
3043
+ revisions of their Custom CSS. The issue is fixed -- happy editing!
3044
+ - jQuery deprecated the `size()` function -- as a result, we’ve stopped using
3045
+ it as well.
3046
+ - A PHP notice popped up when plugins were updated from the WordPress.com
3047
+ plugin management interface -- these notices will no longer appear.
3048
+ - We fixed a bug where Photon wasn’t providing the original size for images
3049
+ that were being used outside of the post content.
3050
+ - We eliminated the PHP notices that displayed when posts with slideshows were
3051
+ added to a sitemap.
3052
+ - We fixed an error that was showing up in Sitemaps when a website permalink
3053
+ structure used `index.php`.
3054
+ - We eliminated JavaScript errors that displayed when tiled galleries were
3055
+ viewed.
3056
+ - We fixed an issue where image dimensions weren’t properly saved when added
3057
+ to a new widget.
3058
+ - Since Google Maps API keys are now required to use maps, we’ve updated the
3059
+ Contact Info Widget to allow site owners to set up their keys.
3060
+ - We fixed a bug where multiple `display` properties weren’t able to be saved
3061
+ in Custom CSS.
3062
+
3063
+ ## [4.0.4] - 2016-06-20
3064
+ ### Security
3065
+ - Post By Email: Added an additional layer of security to prevent unauthorized
3066
+ changes to Post By Email settings.
3067
+ - Likes: Fixed an XSS vulnerability in the Likes module.
3068
+ - REST API/Contact Form: We've eliminated unauthenticated access to Feedback
3069
+ posts.
3070
+
3071
+ ### Feature Improvements
3072
+ - Customizing Protect: We've increased Protect’s response time and added a new
3073
+ filter, `jetpack_protect_connect_timeout`, reducing the likelihood of seeing
3074
+ the fall back form.
3075
+ - Connection Process: Your site url and icon are displayed on the Jetpack
3076
+ connection screens to help improve communication.
3077
+ - Jetpack for Multisite: It’s now easier to manage your Jetpack connections on
3078
+ the network admin screen.
3079
+ - Photon Responsive Image Improvements: We’re now auto-generating new scrset
3080
+ options, improving how images served from Photon are handled.
3081
+ - Developing on Kinsta: A new constant has been added to improve developing
3082
+ with Jetpack on a staging environment hosted with Kinsta.
3083
+
3084
+ ### Jetpack UI Improvements
3085
+ - Better Access to Our Support Team: We wanted to make it easier for you to
3086
+ get help so we added a contact form in the admin that links directly to our
3087
+ Jetpack Support Team.
3088
+
3089
+ ### Improved Compatibility
3090
+ - We’ve stopped adding Open Graph Meta tags if you’re using the SEO Framework
3091
+ plugin.
3092
+ - Having both GlotPress and Jetpack active at the same time was causing
3093
+ errors, we’ve eliminated them.
3094
+
3095
+ ### Bug Fixes
3096
+ - Fixed the handling of special characters like ampersands in Carousel Titles
3097
+ and Descriptions.
3098
+ - When visitors tried to view a Carousel image with a hash in the URL, a
3099
+ JavaScript error would occur; we’ve fixed that.
3100
+ - Jetpack Comment form fields now use the default language you’ve set for
3101
+ WordPress, previously the verbiage was always in English.
3102
+ - Custom CSS wasn’t handling slashes and quotes properly; we’ve squashed that
3103
+ bug.
3104
+ - There were some rare cases where PHP notices were popping up when a Contact
3105
+ Form was submitted. These instances have been identified and eliminated.
3106
+ - We’ve replaced a bit of code with a Jetpack native function to fix a bug
3107
+ that was breaking things during an API request for available updates.
3108
+ - We accidentally removed the ability for Open Graph to select images from
3109
+ slideshows, it’s up and running again.
3110
+ - There was an issue where Open Graph meta tags weren’t being set when your
3111
+ homepage is a “Static Front Page”, it’s working again.
3112
+ - In rare cases when developers were customizing Photon they were seeing a PHP
3113
+ notice when arguments were passed as a string rather than an array. This has
3114
+ been fixed.
3115
+ - We’ve fixed an issue where Protect’s backup math form wasn’t showing on
3116
+ custom front end login forms.
3117
+ - When setting up WooCommerce you might have seen a Related Posts notice which
3118
+ didn’t belong. We’ve eliminated them.
3119
+ - If you’ve been using our sharing tool with unofficial sharing buttons you
3120
+ might have noticed your sharing numbers were missing. They’re now back.
3121
+ - In unique situations where special characters were used in sitemap
3122
+ stylesheets an error would occur; that has been remedied.
3123
+ - We’ve fixed a problem with mismatching HTML tags in our Spelling and Grammar
3124
+ feature.
3125
+ - We’ve ensured that the `jetpack_disable_twitter_cards` filter actually
3126
+ removes Twitter cards.
3127
+ - We’ve fixed some JavaScript errors that would crop up if you were editing a
3128
+ custom-post-type post that didn’t support the core media editor — say that 10
3129
+ times fast.
3130
+ - We had some JavaScript errors when you were using the customizer to modify
3131
+ widgets. They are no longer with us.
3132
+
3133
+ ## [4.0.3] - 2016-05-26
3134
+
3135
+ - Important security update. Please upgrade immediately.
3136
+
3137
+ ## 4.0.2 - 2016-04-21
3138
+ ### Bug Fix
3139
+ - Addresses an issue where Jetpack 4.0 caused a fatal error on sites with
3140
+ specific configurations.
3141
+
3142
+ ## [4.0] - 2016-04-20
3143
+ ### Performance Enhancements
3144
+ - Protect: the routine that verifies your site is protected from brute-force
3145
+ attacks got some love and is more efficient.
3146
+ - Contact Forms: cleaning the database of spam form submission records is more
3147
+ efficient.
3148
+
3149
+ ### Feature Improvements
3150
+ - VideoPress: edit your VideoPress shortcode in the editor with a fancy new
3151
+ modal options window.
3152
+ - Custom Content Types are now classier: a new CSS class on Testimonial
3153
+ featured images — has-testimonial-thumbnail — allows you to customize Jetpack
3154
+ custom post types as you see fit.
3155
+ - Sharing: social icons are now placed under the "add to cart” singular
3156
+ product views in WooCommerce, making it easier for customers to share your
3157
+ products on social media.
3158
+ - Theme Tools: search engines will now have an easier time knowing what page
3159
+ they are on, and how that page relates to the other pages in your site
3160
+ hierarchy with improved schema.org microdata for breadcrumbs.
3161
+ - Widget Visibility: now you can select widgets and when to show or hide them
3162
+ right from custom post type single and archive views.
3163
+
3164
+ ### Jetpack UI Improvements
3165
+ - What’s in it for me? We’ve done a better job explaining the benefits of
3166
+ Jetpack and connecting it to WordPress.com.
3167
+ - Shortcodes: handy links to shortcode documentation convey the types of media
3168
+ you can quickly and safely embed.
3169
+ - Widgets: As of WordPress 4.5, Jetpack widgets now refresh in the customizer
3170
+ without making you refresh the entire page. Live previews, yes indeed.
3171
+
3172
+ ### Bug Fixes
3173
+ - Comments: we fixed a mistake where a comment subscription checkbox appeared
3174
+ on custom post types — despite the fact you couldn’t actually subscribe to
3175
+ those types of comments. Our bad.
3176
+ - Contact Forms: we fixed a bug where the telephone field (which can only be
3177
+ added manually) rendered incorrectly — breaking some forms in the process.
3178
+ - General: we blocked direct access to the Jetpack_IXR_Client class which
3179
+ caused fatal PHP errors in some server setups.
3180
+ - Shortcodes: we removed the frameborder attribute in the YouTube embed code.
3181
+ It was deprecated in HTML 5.
3182
+ - Unminified responsive-videos.min.js in order to address a false positive
3183
+ virus alert in ClamAV. Expect it to be re-minified in 4.0.3 once we resolve
3184
+ the issue with ClamAV.
3185
+
3186
+ ## [3.9.6] - 2016-03-31
3187
+
3188
+ Bug fix: Shortcodes: fixed incorrect Vimeo embed logic.
3189
+
3190
+ ## [3.9.5] - 2016-03-31
3191
+
3192
+ This release features several WordPress 4.5 compatibility changes that make
3193
+ several Jetpack features work properly in the Customizer view. Big thanks to
3194
+ @westonruter for contributing the code!
3195
+
3196
+ ### Other enhancements and bug fixes
3197
+ - Contact Form: no longer calling the datepicker method if it's not available.
3198
+ - SSO: settings checkboxes now honor filters and constants that restrict
3199
+ certain sign-in modes.
3200
+ - Shortcodes: fixed a problem with Gist fetching.
3201
+ - Shortcodes: fixed invalid HTML5 markup in YouTube embed code.
3202
+ - Shortcodes: made the Vimeo links work properly in case of multiple mixed
3203
+ uses in one post.
3204
+
3205
+ ## [3.9.4] - 2016-03-10
3206
+
3207
+ Bug fix: Shortcodes: Addresses an issue with embedded Vimeo content
3208
+
3209
+ ## [3.9.3] - 2016-03-09
3210
+ ### Featured
3211
+ - Site Logo now supports Custom Logo - a theme tool to be introduced in
3212
+ WordPress 4.5.
3213
+
3214
+ ### Enhancements
3215
+ - Carousel: Made the full size image URL use a Photon URL if enabled.
3216
+ - Comments: Removed an unnecessary redirect by always connecting via HTTPS.
3217
+ - General: Added new actions that fire before automatic updates.
3218
+ - Infinite Scroll: Introduced a later filter for settings.
3219
+ - Infinite Scroll: Removed code that is now redundant due to WordPress Core.
3220
+ - Markdown: Removed deprecated markup from the output.
3221
+ - Publicize: Improved handling of featured images in posts.
3222
+ - Shortcodes: Added houzz.com support.
3223
+ - Sitemaps: Added a language attribute to the news sitemap.
3224
+ - Sitemaps: Improved the image retrieval mechanism for posts.
3225
+ - Widgets: Added new filters in the Top Posts Widget code.
3226
+ - Widgets: Cleaned up the CSS for the Subscription widget.
3227
+
3228
+ ### Bug Fixes
3229
+ - Comments: No longer reloading the page on clicking the reply button.
3230
+ - Contact Forms: Fixed a fatal error on missing metadata.
3231
+ - Contact Forms: Fixed message formatting for plaintext email clients.
3232
+ - Shortcodes: Fixed dimensions of Vimeo embeds in certain cases.
3233
+ - Shortcodes: Fixed warnings and allowed shorter style Vimeo embeds.
3234
+ - Shortcodes: Removed alignment markup from feeds for YouTube embeds.
3235
+ - Sitemaps: Made URLs display properly according to the permalink structure.
3236
+ - Stats: Fixed non-XHTML-valid markup.
3237
+ - Widgets: No longer showing errors when adding new instances of the Display
3238
+ Post Widget.
3239
+
3240
+ ## [3.9.2] - 2016-02-25
3241
+
3242
+ Maintenance and Security Release
3243
+
3244
+ ### Featured
3245
+ - Beautiful Math: fix XSS vulnerability when parsing LaTeX markup within HTML
3246
+ elements.
3247
+ - Contact Form: do not save private site credentials in post meta. Thanks to
3248
+ @visualdatasolutions.
3249
+
3250
+ ### Enhancements
3251
+ - Contact Info: Added two hooks for adding arbitrary information to the
3252
+ widget.
3253
+ - Development: Added new possibilities for REST API debugging.
3254
+ - Embeds: Added Codepen embeds support.
3255
+ - Embeds: Added Sketchfab embeds support.
3256
+ - I18n: Added support for translation packages for the Finnish language.
3257
+ - Markdown: Added a filter to enable skipping processing of developer supplied
3258
+ patterns.
3259
+ - Related Posts: Added a filter to change heading markup.
3260
+ - Staging: Added a constant to force staging mode.
3261
+ - Staging: Added a notice to make staging mode more obvious.
3262
+ - Top Posts Widget: Added a new `[jetpack_top_posts_widget]` shortcode.
3263
+
3264
+ ### Bug Fixes
3265
+ - Custom Post Types: Nova: Fixed a JavaScript bug on adding multiple items.
3266
+ - Embeds: Allowing embeds from Instagram with a www in an URL.
3267
+ - General: Fixed untranslated module names on the Settings screen.
3268
+ - General: Improved module descriptions and fixed misleading or broken links
3269
+ in descriptions.
3270
+ - General: No more notices on module deprecation on older installations.
3271
+ - General: Only showing one prompt to enable Photon when uploading several new
3272
+ images.
3273
+ - Multisite: Fixed a problem with site lists for older WordPress
3274
+ installations.
3275
+ - OpenGraph: Fixed a bug to properly fallback to a WordPress Site Icon image.
3276
+ - Photon: Improve performance for images over a secure connection.
3277
+ - Photon: No longer including links from data attributes.
3278
+ - Publicize: Fixed problems for en_AU and en_CA locales with Facebook.
3279
+ - Related Posts: Fixed a notice on certain requests.
3280
+ - Site Logo: It's no longer possible to choose a non-image.
3281
+ - Widget Visibility: No longer confusing page IDs and titles in certain cases.
3282
+
3283
+ ## 3.9.1 - 2016-01-21
3284
+ ### Bug Fixes
3285
+ - General: Addresses a namespacing issue which was causing conflicts on some
3286
+ hosting providers.
3287
+ - Sitemaps: Added MSM-Sitemap to the list of plugins which, if installed, will
3288
+ prevent Jetpack Sitemaps from being used
3289
+
3290
+ ## [3.9] - 2016-01-20
3291
+ ### Featured
3292
+ - New sharing button: let users share your content using Skype.
3293
+ - New "Social Menu" theme tool that uses Genericons to display Social Links.
3294
+ - Sitemap support for better search engine indexing.
3295
+
3296
+ ### Enhancements
3297
+ - Contact Form: Added a new filter that allows you to change the "Required"
3298
+ text.
3299
+ - General: Hidden archived sites in multisite site list.
3300
+ - General: Removed several function calls that would be deprecated in
3301
+ WordPress 4.5.
3302
+ - Infinite Scroll: Added a new filter to check if Infinite Scroll has been
3303
+ triggered.
3304
+ - Likes: Added a conditional to ensure WordPress 4.5 compatibility.
3305
+ - Photon: Improved compatibility with responsive images feature added in
3306
+ WordPress 4.4.
3307
+ - Photon: Now enabled by default on sites using HTTPS.
3308
+ - REST API: Extended the ability to manage users from WordPress.com.
3309
+ - REST API: Increased the performance of the plugin update endpoint.
3310
+ - Responsive Videos: Centering videos when they are wrapped in a centered
3311
+ paragraph.
3312
+ - Sharing: Added a new filter to customize the default OpenGraph description.
3313
+ - Shortcodes: Added Wistia oEmbed support.
3314
+ - Shortcodes: Bandcamp: Added support for new attributes for tracks approved
3315
+ by artists.
3316
+ - Shortcodes: Improved Medium path format recognition.
3317
+ - Slideshow: Improved compatibility with older IE versions.
3318
+ - Staging: Improved staging environment detection.
3319
+ - Widgets: Added "width" option to the Facebook Page widget.
3320
+ - Widgets: Added size parameters to tags in Top Posts to avoid warnings.
3321
+ - Widgets: Introduced major performance and stability improvements to the
3322
+ Display Posts Widget.
3323
+ - Widgets: Refactored to remove deprecated code patterns.
3324
+
3325
+ ### Bug Fixes
3326
+ - AtD: Fixed replacing emojis with images in the text editor in Chrome.
3327
+ - AtD: Made pre tags be excluded from spell-checking.
3328
+ - CPT: Not registering Nova if it is already registered.
3329
+ - Carousel: Fixed a bug where full size images were not always served by
3330
+ Photon.
3331
+ - Carousel: Reverted a change that broke direct link to carousel image.
3332
+ - Contact Form: Fixed a CSV export bug with multiple choice questions.
3333
+ - Contact Form: Fixed notices when creating feedback entries without a contact
3334
+ form.
3335
+ - General: Fixed a scrolling bug on modal window closing.
3336
+ - Infinite Scroll: Disabled in the Customizer when previewing a non-active
3337
+ theme.
3338
+ - Publicize: Fixed notices appearing with bbPress or BuddyPress installed.
3339
+ - Publicize: Showing options only to users that can change them.
3340
+ - Related Posts: Fixed incorrect URLs generated for posts.
3341
+ - Responsive Videos: Fixed warnings in debug mode.
3342
+ - Shortcodes: Bandcamp: Fixed a problem with large track IDs.
3343
+ - Shortcodes: Fixed a problem with dynamic Gist embeds.
3344
+ - Stats: Fixed dashboard widget resize problem.
3345
+ - Widgets: Added a fallback to English US when a locale isn't supported by
3346
+ Facebook.
3347
+ - Widgets: Fixed layout for Twenty Sixteen.
3348
+
3349
+ ## [3.8.2] - 2015-12-17
3350
+
3351
+ Jetpack 3.8.2 is here to squash a few annoying bugs.
3352
+
3353
+ ### Bug Fixes
3354
+ - Photon: Fixed a bug where some custom thumbnail image sizes weren't being
3355
+ sized properly.
3356
+ - Shortcodes: Fixed an incompatibility with how WordPress renders the YouTube
3357
+ shortcode.
3358
+ - Shortcodes: Tightened up security in the Wufoo shortcode.
3359
+ - Image Widget: Now shows the caption.
3360
+ - Fixed typos in inline docs.
3361
+ - Very minor fixes to: Carousel, Publicize, Google+, and Infinite Scroll.
3362
+
3363
+ ## [3.8.1] - 2015-12-01
3364
+
3365
+ Jetpack 3.8.1 is here and is fully compatible with WordPress 4.4.
3366
+
3367
+ ### Featured
3368
+ - Photon + Responsive Images FTW.
3369
+ - Fully compatible with Twenty Sixteen.
3370
+ - More accessibility enhancements.
3371
+ - Dropped some weight by optimizing Jetpack's plugin images.
3372
+
3373
+ ### Enhancements
3374
+ - Comments: filter to allow disabling comments per post type.
3375
+
3376
+ ### Bug Fixes
3377
+ - Carousel: Stop page from scrolling to top when Carousel is closed.
3378
+ - Carousel: Browser compatibility fixes with older version of IE.
3379
+ - Markdown: Fixed a bug that would strip markdown when saving in "Quick Edit"
3380
+ mode.
3381
+ - Single Sign On: Fixed login always redirecting to the admin dashboard.
3382
+ - Subscriptions: Filter to allow per-post emails fixed for use in themes.
3383
+
3384
+ ## [3.8.0] - 2015-11-04
3385
+
3386
+ We're happy to introduce Jetpack 3.8, which has significant contributions from
3387
+ the Jetpack community. Read more about it here: http://wp.me/p1moTy-1VN
3388
+
3389
+ ### Feature enhancements
3390
+ - New Google+ Badge Widget. Display your profile, page, or community Google+
3391
+ badge.
3392
+ - New twitch.tv shortcode embeds. Display a Twitch.tv stream in your posts.
3393
+ - Accessibility enhancements.
3394
+ - A handful of new filters to allow further customization of Jetpack.
3395
+
3396
+ ### Other enhancements
3397
+ - Carousel: Added support to retrieve image dimensions from an image url.
3398
+ - Carousel: Simpler algorithm to detect shutter speeds.
3399
+ - Contact Form: New "Checkbox with Multiple Items" field available in the
3400
+ Contact Form.
3401
+ - Contact Form: Allow pre-filling form fields with URL parameters.
3402
+ - Contact Form: Better styling of the emailed form responses.
3403
+ - Performance: Replaced some custom-built functions with core's native
3404
+ functions.
3405
+ - Related Posts: New filter to add post classes to post's container class.
3406
+ - Sharing: New filter to choose if sharing meta box should be shown.
3407
+ - Sharing: New filter to allow sharing button markup to be editable.
3408
+ - Sharing: New filter to allow you to specify a custom Facebook app ID.
3409
+ - Social Media Icons Widget: Added option for YouTube username as well as
3410
+ Channel ID.
3411
+ - Social Media Icons Widget: Added Google+ icon.
3412
+ - Social Media Icons Widget: New filter to allow you to add your own social
3413
+ media icons and links.
3414
+ - Subscriptions: Better errors to your visitors if their subscription sign-up
3415
+ fails.
3416
+ - Subscriptions: Removed "widget" class from Subs shortcode form.
3417
+
3418
+ ### Bug fixes
3419
+ - Carousel: Fixed browser back/forward button behavior.
3420
+ - Contact Form: Allow the email field to be set to empty when building form in
3421
+ post editor.
3422
+ - Facebook Likebox Widget: Fixed an issue where some languages were not
3423
+ translating.
3424
+ - Facebook Likebox Widget: Return a language when none found.
3425
+ - General: Fixed some minor styling issues in the Jetpack admin areas.
3426
+ - General: Add missing parameter to the_title filter call.
3427
+ - General: Prevent scrolling of body when the Jetpack admin modals are opened.
3428
+ - General: Update doc to reflect that Open Graph filter
3429
+ jetpack_enable_opengraph has been deprecated in favor of
3430
+ jetpack_enable_open_graph.
3431
+ - Infinite Scroll: Fixed an error that sometimes occurred that would stop
3432
+ posts from loading.
3433
+ - JSON API: Fixed some undefined notices when publishing a post with the API.
3434
+ - Open Graph: Fixed bug where facebook description content was sometimes being
3435
+ polluted by a filter.
3436
+ - Sharing: Use full SSL Pinterest url instead of protocol relative.
3437
+ - Sharing: Fixed plus signs appearing in tweets shared from iOS.
3438
+ - Shortcodes: Prefer HTTPS for video embeds to avoid mixed content warnings.
3439
+ - Subscriptions Widget: Fix HTML Validation error.
3440
+ - Theme Tools: Check oEmbeds for the presence of a video before adding the
3441
+ responsive videos filter.
3442
+ - Tiled Galleries: Add image alt attribute if there is a title set. This was
3443
+ breaking some screen reader functionality.
3444
+
3445
+ ## [3.7.2] - 2015-09-29
3446
+
3447
+ - Bug Fix: REST API: Fixed an error when saving drafts and publishing posts
3448
+
3449
+ ## [3.7.1] - 2015-09-28
3450
+
3451
+ - Enhancement: General: Added inline documentation for various filters and
3452
+ functions
3453
+ - Enhancement: General: Added custom capabilities for module management on
3454
+ multi-site installs
3455
+ - Enhancement: General: Cleaned up old changelog entries from readme
3456
+ - Enhancement: General: Cleaned up unused i18n textdomains
3457
+ - Enhancement: General: Updated the new settings page to look better in
3458
+ various translations
3459
+ - Enhancement: REST API: Added new endpoints to manage users
3460
+ - Enhancement: Sharing: Updated the Google logo
3461
+ - Bug Fix: Carousel: Page scroll no longer disappears after closing the
3462
+ carousel
3463
+ - Bug Fix: Contact Form: Fields are sent and displayed in the correct order
3464
+ - Bug Fix: Contact Form: No longer showing a notice on AJAX actions in
3465
+ feedback lists
3466
+ - Bug Fix: Contact Form: Made using more than two notification emails possible
3467
+ - Bug Fix: Contact Form: Mitigate a potential stored XSS vulnerability. Thanks
3468
+ to Marc-Alexandre Montpas (Sucuri)
3469
+ - Bug Fix: General: Mitigate a potential information disclosure. Thanks to
3470
+ Jaime Delgado Horna
3471
+ - Bug Fix: General: Fixed a locale error in the notifications popout
3472
+ - Bug Fix: General: Fixed a possible fatal error in the client area
3473
+ - Bug Fix: General: Fixed compatibility issues with certain use cases
3474
+ - Bug Fix: General: Disabled connection warnings for multisites with domain
3475
+ mapping
3476
+ - Bug Fix: General: Updated translations for correct link display in admin
3477
+ notices
3478
+ - Bug Fix: REST API: Fixed a fatal error in one of the endpoints
3479
+ - Bug Fix: Sharing: Fixed OpenGraph tags for Instagram embeds
3480
+ - Bug Fix: Sharing: Fixed compatibility issues with bbPress
3481
+ - Bug Fix: Widget Visibility: Fixed a fatal error in case of a missing tag
3482
+
3483
+ ## [3.7.0] - 2015-09-09
3484
+ ### Feature Enhancements
3485
+ - New admin page interface to easily configure Jetpack
3486
+ - Added staging site support for testing a connected Jetpack site
3487
+
3488
+ ### Additional changes
3489
+ - Enhancement: CLI: Added a possibility to change all options with
3490
+ confirmation for some of them
3491
+ - Enhancement: Gallery: Added filters to allow new gallery types to be
3492
+ declared
3493
+ - Enhancement: General: Added inline documentation for actions, filters, etc.
3494
+ - Enhancement: General: Changed class variable declarations keyword from var
3495
+ to public
3496
+ - Enhancement: General: Made the Settings page module toggle buttons more
3497
+ accessible
3498
+ - Enhancement: General: The admin bar now loads new notifications popout
3499
+ - Enhancement: General: Renamed some modules to avoid redundant prefixes
3500
+ - Enhancement: General: Switched to the WordPress Core's spinner image
3501
+ - Enhancement: General: Updated the bot list
3502
+ - Enhancement: Manage: Added the ability to activate a network-wide plugin on
3503
+ a single site from WordPress.com
3504
+ - Enhancement: Photon: Added a way to check image URLs against custom domains
3505
+ - Enhancement: Photon: Added prompts on the media upload page telling the user
3506
+ about Photon
3507
+ - Enhancement: Publicize: Added width and height values to OpenGraph tags for
3508
+ default images
3509
+ - Enhancement: Related Posts: Added a filter to allow disabling nofollow
3510
+ - Enhancement: REST API: Added new API endpoints to extend API functionality
3511
+ - Enhancement: REST API: Added new fields to existing API endpoints
3512
+ - Enhancement: Sharing: Added a possibility to opt-out of sharing for a single
3513
+ post
3514
+ - Enhancement: Sharing: Added bbPress support
3515
+ - Enhancement: Sharing: Added more configuration to the Likes modal
3516
+ - Enhancement: Sharing: Made the reddit button open a new tab
3517
+ - Enhancement: Sharing: Removed unused files
3518
+ - Enhancement: Shortcodes: Added auto embed option inside comments
3519
+ - Enhancement: Shortcodes: Added autohide parameter to the YouTube shortcode
3520
+ - Enhancement: Subscriptions: added an action that triggers at the end of the
3521
+ subscription process
3522
+ - Enhancement: VideoPress: Videos are now embedded using a new player
3523
+ - Enhancement: Widget Visibility: Added parent page logic
3524
+ - Enhancement: Widget Visibility: Added support for split terms
3525
+ - Enhancement: Widgets: Added actions to the Social Media widget
3526
+ - Enhancement: Widgets: Switched the Display Posts widget to the new API
3527
+ version
3528
+ - Bug Fix: General: Fixed scrolling to top after modal window closing
3529
+ - Bug Fix: Infinite Scroll: Added a check for cases when output buffering is
3530
+ disabled
3531
+ - Bug Fix: Infinite Scroll: Added translation to the copyright message
3532
+ - Bug Fix: Manage: Fixed automatic update synchronization on WordPress
3533
+ multisite network admin
3534
+ - Bug Fix: Manage: Redirects back to WordPress.com are allowed from the
3535
+ customizer view
3536
+ - Bug Fix: Media: Fixed duplicate images bug in the Media Extractor
3537
+ - Bug Fix: Publicize: Made it possible to remove previously set message
3538
+ - Bug Fix: Sharing: Added a thumbnail image to OpenGraph tags on pages with
3539
+ DailyMotion embeds
3540
+ - Bug Fix: Sharing: Fixed Twitter Cards tags escaping
3541
+ - Bug Fix: Sharing: Made OpenGraph tags for title and description use proper
3542
+ punctuation
3543
+ - Bug Fix: Sharing: Made sure Likes can be disabled on the front page
3544
+ - Bug Fix: Shortcodes: Fixed Facebook embeds by placing the scipt in the
3545
+ footer
3546
+ - Bug Fix: Shortcodes: Fixed PollDaddy shortcode issues over SSL connections
3547
+ - Bug Fix: Shortcodes: Made responsive video wrappers only wrap video embeds
3548
+ - Bug Fix: Shortcodes: Made SoundCloud accept percents for dimensions
3549
+ - Bug Fix: Social Links: Fixed a possible conflict with another class
3550
+ - Bug Fix: Stats: Made sure the Stats URL is always escaped properly
3551
+
3552
+ ## 3.6.1 - 2015-07-24
3553
+
3554
+ - Enhancement: Fully compatible with upcoming WordPress 4.3
3555
+ - Enhancement: Site Icon: Start to deprecate Site Icon in favor of Core's
3556
+ version (if available)
3557
+ - Bug Fix: Subscriptions: You can now use more than one Subscription form on a
3558
+ single page
3559
+ - Bug Fix: Quieted PHP notices and warnings with the JSON API, Display Posts
3560
+ Widget and Gallery Widget (slideshow mode)
3561
+ - Bug Fix: Correct permissions check for connection panel
3562
+ - Hardening: Increase permissions checks
3563
+
3564
+ ## [3.6] - 2015-07-06
3565
+ ### Feature Enhancements
3566
+ - CLI: Add a number of Jetpack CLI improvements: see
3567
+ http://jetpack.com/support/jetpack-cli
3568
+ - New Jetpack admin page for connection management
3569
+ - New Social Media Icons widget
3570
+ - FB Like Box: A visual refresh of the Facebook likebox widget
3571
+ - Protect: When your IP is blocked, use a math captcha as a fallback instead
3572
+ of a complete block
3573
+
3574
+ ### Additional changes
3575
+ - Enhancement: Custom CSS: Add more Flexbox support and other enhancements
3576
+ - Enhancement: Extra Sidebar Widgets: Top Posts Widget: Choose what Post Types
3577
+ to display
3578
+ - Enhancement: General: Save on some requests! print CSS inline when there
3579
+ isn't much of it
3580
+ - Enhancement: Likes: Likes can now be shown on all post types
3581
+ - Enhancement: Minileven: Add Featured Image to Gallery Post Format and Pages
3582
+ - Enhancement: Mobile Theme: Add div wrapping View Mobile Site link to allow
3583
+ for easier CSS customizations
3584
+ - Enhancement: Omnisearch: Link to edit post in titles
3585
+ - Enhancement: Protect: Learn Trusted Headers locally and cache blocks
3586
+ properly
3587
+ - Enhancement: REST API: Add locale support
3588
+ - Enhancement: Sharing: Retire StumbleUpon
3589
+ - Enhancement: Sharing: Upgrade to reCAPTCHA 2.0 for Email Sharing
3590
+ - Enhancement: Shortcode Embeds: Add Mesh oembed support
3591
+ - Enhancement: Shortcode Embeds: New Wufoo Shortcode from WordPress.com
3592
+ - Enhancement: Shortcode Embeds: Mixcloud: handle accented characters in URLs
3593
+ - Enhancement: Site Logo: Adding itemprops to support logo schema.
3594
+ - Enhancement: Slideshow Gallery: New parameters *size* and *autostart*
3595
+ - Enhancement: Slideshow Gallery: Use more reliable CSS for resizing instead
3596
+ of js
3597
+ - Enhancement: Stats: No longer track stats for preview pages
3598
+ - Enhancement: Tiled Gallery: Improve the shapes and distributions of shapes
3599
+ in the Tiled Gallery, based on observations for its usage.
3600
+ - Enhancement: Protect: Whitelist for multisite globally and locally
3601
+ - Enhancement: Sharing: LinkedIn always uses https for share counts. (saved
3602
+ extra http request)
3603
+ - Bug Fix: Carousel: Jetpack Carousel now supports HTML5 gallery
3604
+ - Bug Fix: Extra Sidebar Widgets: Choose Images button works in accessibility
3605
+ mode
3606
+ - Bug Fix: General: Fix: Cannot remove hooks from filter
3607
+ 'jetpack_get_available_modules'
3608
+ - Bug Fix: Infinite Scroll: Check that search terms exist before matching
3609
+ against post title. fixes #2075
3610
+ - Bug Fix: Likes: Never double show on search results
3611
+ - Bug Fix: Notifications: Notifications didn't load on wp-admin/network pages
3612
+ - Bug Fix: Sharing: Fix Facebook share button not showing for Australian &
3613
+ Canadian locale
3614
+ - Bug Fix: Shortcode Embed: Slideshare Shortcode now fixed
3615
+ - Bug Fix: SSO: Hide login no matter what when using the filter to do so
3616
+ - Bug Fix: Subs Widget: Don't hide email input if submit failed
3617
+ - Bug Fix: Tiled Gallery: Show columns setting for Thumbnail Grid when Tiled
3618
+ Mosaic galleries are the default
3619
+ - Bug Fix: Twitter Cards: Remove deprecated card types
3620
+
3621
+ ## 3.5.3 - 2015-05-06
3622
+
3623
+ - Security Hardening: Remove Genericons example.html file.
3624
+
3625
+ ## 3.5.2 - 2015-05-05
3626
+
3627
+ - Bug Fix: Sharing: Changes Facebook share count endpoint
3628
+
3629
+ ## 3.5.1 - 2015-05-05
3630
+
3631
+ - Enhancement: Sharing: Changes Facebook share count method per Facebook API
3632
+ change
3633
+ - Enhancement: General: Remove .po files to reduce plugin size
3634
+ - Bug Fix: General: Remove identity crisis notification
3635
+ - Bug Fix: Subscriptions: Correct required input validation
3636
+ - Security hardening
3637
+
3638
+ ## [3.5] - 2015-04-23
3639
+
3640
+ Jetpack 3.5 introduces the ability to manage your site's menus directly from
3641
+ WordPress.com and several bug fixes and enhancements. This upgrade is
3642
+ recommended for all users.
3643
+
3644
+ - Enhancement: General: Change security reporting to use a transient instead
3645
+ of option to reduce backup load
3646
+ - Enhancement: General: Improve module search
3647
+ - Enhancement: JSON API: Allow users to manage menus through WordPress.com
3648
+ - Enhancement: Sharing: Reduce spam through email sharing
3649
+ - Bug Fix: Custom CSS: Improve recall of CSS revisions
3650
+ - Bug Fix: Extra Sidebar Widgets: Change class name for Contact Info widget
3651
+ - Bug Fix: Extra Sidebar Widgets: Fix errors when adding widgets via the
3652
+ customizer
3653
+ - Bug Fix: Extra Sidebar Widgets: Fix PHP notices in RSS widget
3654
+ - Bug Fix: General: Fix redirect loop on activation
3655
+ - Bug Fix: General: Styling fixes
3656
+ - Bug Fix: Protect: Add IP translation fallback when inet_pton is not
3657
+ available
3658
+ - Bug Fix: Protect: Always allow login from local IDs
3659
+ - Bug Fix: Protect: Sanitize displayed IP after block
3660
+ - Bug Fix: Publicize: Prevent generating Facebook profile links for app-scoped
3661
+ user IDs
3662
+ - Bug Fix: Subscriptions: Improve error handling
3663
+ - Bug Fix: Theme Tools: Include breadcrumb code
3664
+ - Misc: Extra Sidebar Widgets: Remove Readmill Widget
3665
+
3666
+ ## [3.4.3] - 2015-04-20
3667
+
3668
+ - Security hardening.
3669
+
3670
+ ## [3.4.2] - 2015-04-19
3671
+
3672
+ - Bug Fix: Contact info widget namespacing
3673
+ - Bug Fix: Javascript errors on wp-admin due to stats display code
3674
+ - Bug Fix: Potential fatal error from improperly called function
3675
+ - Bug Fix: Potential fatal error when protect servers are unreachable for
3676
+ WordPress Multisite
3677
+
3678
+ ## 3.4.1 - 2015-03-19
3679
+
3680
+ - Bug Fix: General: Modules not displaying properly in non-English installs
3681
+ - Bug Fix: Manage: Some installs showing a transient fatal error
3682
+ - Bug Fix: Protect: Protect module not auto-activating for users who upgrade
3683
+ - Bug Fix: Omnisearch: Some installs not properly reporting WP version number,
3684
+ causing Omnisearch error
3685
+ - Bug Fix: Stats: Top posts/pages widget not loading
3686
+ - Bug Fix: Contact Info Widget: Fix conflict with Avada theme
3687
+
3688
+ ## [3.4] - 2015-03-18
3689
+
3690
+ - Enhancement: Config Settings: provide a notification for users that update
3691
+ features settings
3692
+ - Enhancement: Config Settings: provide a notification for users that update
3693
+ features settings
3694
+ - Enhancement: Contact Form: Use the predefined $title variable in the anchor
3695
+ tag in grunion contact form button
3696
+ - Enhancement: Contact Form: Use the predefined $title variable in the anchor
3697
+ tag in the button on admin
3698
+ - Enhancement: Custom Content Type: Add all Custom Post Types to Omnisearch
3699
+ - Enhancement: Custom Content Type: Add option to add Testimonial Custom
3700
+ Content Type in admin
3701
+ - Enhancement: Custom Content Type: bring consistency between the portfolio
3702
+ and testimonial shared codebase
3703
+ - Enhancement: Custom Content Type: code cleanup
3704
+ - Enhancement: Custom Content Type: register namespaced 'jetpack_portfolio'
3705
+ shortcode/use a prefix for shortcode for Portfolio
3706
+ - Enhancement: Custom Content Type: set shortcode image size to 'large' and
3707
+ add jetpack_portfolio_thumbnail_size filter to allow themes to set their own
3708
+ size for Portfolio
3709
+ - Enhancement: Custom Content Type: testimonial shortcode enhancement
3710
+ - Enhancement: Extra Sidebar Widgets: Add subscription widget wildcard
3711
+ - Enhancement: Extra Sidebar Widgets: Likes and Sharing Shortcodes
3712
+ - Enhancement: Extra Sidebar Widgets: Minor fixes to Facebook widget plugin
3713
+ for SSL
3714
+ - Enhancement: Fix/update jetpack version
3715
+ - Enhancement: General: Add DNS Prefetching
3716
+ - Enhancement: General: Add Jetpack admin dashboard widget
3717
+ - Enhancement: GlotPress: Update GP_Locales and GP_Locale classes
3718
+ - Enhancement: Improved control over Nova Theme Menu output markup
3719
+ - Enhancement: Infinite Scroll: Adds a `button` wrapper for the infinity
3720
+ handle.
3721
+ - Enhancement: Infinite Scroll: Check for response.html before using indexOf
3722
+ - Enhancement: Integrate BruteProtect for protection against Brute Force
3723
+ attacks
3724
+ - Enhancement: JSON API Manage: Added Mock Jetpack Option to Sync options that
3725
+ don't have to live in the Database
3726
+ - Enhancement: JSON API: Add/empty trash days option to sync
3727
+ - Enhancement: Jump Start: Add "Jump Start" interface for new users
3728
+ - Enhancement: Manage: Add "modified_before" and "modified_after" parameters
3729
+ to /sites/%s/posts/ via JSON API
3730
+ - Enhancement: Mobile Theme: Add filter for choosing mobile theme menu
3731
+ - Enhancement: Notifications: Changes to load the new notifications client.
3732
+ - Enhancement: Protect: Add a filter so that user can add thier own bots
3733
+ - Enhancement: Protect: Add security reporting
3734
+ - Enhancement: Protect: Add/whitelist endpoints via JSON API for Jetpack
3735
+ Protect
3736
+ - Enhancement: Publicize: update connection confirmation message
3737
+ - Enhancement: Sharing: Add custom service name as a class
3738
+ - Enhancement: Sharing: display name of custom service in link title
3739
+ - Enhancement: Sharing: Remove default post types for showing share links
3740
+ - Enhancement: Sharing: use Jetpack version number when enqueing sharing.js
3741
+ - Enhancement: Shortcodes Team Partnerships: Backport fixes from SoundCloud
3742
+ 2.3.1 through 3.0.2
3743
+ - Enhancement: Shortlinks: use HTTPS when possible
3744
+ - Enhancement: Stats: Make loading of stats async
3745
+ - Enhancement: Subscriptions: Added settings field for comment sub text
3746
+ - Enhancement: Subscriptions: Hide Form After Submit
3747
+ - Enhancement: Subscriptions: remove label from widget title
3748
+ - Enhancement: Subscriptions: Update subscriptions.php
3749
+ - Bug Fix: Contact form: Increase CSS specificity for Contact Forms in widgets
3750
+ - Bug Fix: Custom Content Type: Testimonial Custom Content Type: use core
3751
+ `WP_Customize_Image_Control` instead of custom...
3752
+ - Bug Fix: Extra Sidebar Widgets: add missing & to if statement for widget
3753
+ visibility
3754
+ - Bug Fix: Extra Sidebar Widgets: Don't require height/width values in the
3755
+ Twitter Timeline widget
3756
+ - Bug Fix: Extra Sidebar Widgets: Upload images from the customizer/Extra
3757
+ Sidebar Widgets Tiled Galleries for Gallery Widget
3758
+ - Bug Fix: General: Fix bug that was preventing modules from displaying
3759
+ properly
3760
+ - Bug Fix: Manage: When calling /sites/%s/posts/ include all attachments not
3761
+ just the first five via JSON API
3762
+ - Bug Fix: Mobile Theme: Minileven; Start after DOM ready
3763
+ - Bug Fix: Sharing: Open sharing in same window
3764
+ - Bug Fix: Stats language
3765
+ - Bug Fix: Subscritpions: fix invalid field when no email address
3766
+
3767
+ ## 3.3.2 - 2015-02-19
3768
+
3769
+ - Enhancement: Updated translation files.
3770
+ - Enhancement: Heartbeat: Correctly stat new datasets.
3771
+ - Bug Fix: Widget Visibility: Correct some caching of visibility results that
3772
+ may get evaluated too soon.
3773
+ - Bug Fix: Contact Form: Hardening.
3774
+ - Bug Fix: Photon: Make sure our gallery filter can parse array inputs as well
3775
+ as the default html.
3776
+
3777
+ ## 3.3.1 - 2015-02-11
3778
+
3779
+ - Bug Fix: JSON API: Minor versioning data.
3780
+ - Bug Fix: Markdown: Re-run KSES after processing to account for syntax
3781
+ changes.
3782
+ - Bug Fix: Media Extractor: Don't call a gallery a gallery if it hasn't got
3783
+ any pictures!
3784
+ - Bug Fix: Module Management: Handle a core api change for folks running
3785
+ trunk.
3786
+ - Bug Fix: Related Posts: CSS -- better clear rows.
3787
+ - Bug Fix: Sharing: Including sharing account on Pinterest unofficial buttons
3788
+ as well.
3789
+ - Bug Fix: Sharing: Properly version external assets by Jetpack release
3790
+ version.
3791
+ - Bug Fix: Shortcodes: Soundcloud: Backport API compatibility fixes.
3792
+ - Bug Fix: Shortcodes: Flickr: Tidy up our regex url pattern matching.
3793
+ - Bug Fix: Subscriptions: Don't add 'Email Address' as the value -- we have
3794
+ placeholders!
3795
+ - Bug Fix: Widgets: Gallery Widget: Allow folks to upload images from the
3796
+ widget area in the customizer.
3797
+
3798
+ ## [3.3] - 2014-12-15
3799
+
3800
+ - Enhancement: Adds responsive video support to BuddyPress.
3801
+ - Enhancement: Custom Content Types: Added 'order' and 'orderby' options to
3802
+ portfolio shortcode.
3803
+ - Enhancement: Display notice when Jetpack Development Mode is on.
3804
+ - Enhancement: General: Update compatibility with Twenty Fifteen.
3805
+ - Enhancement: Image URL can now be overwritten with the
3806
+ `jetpack_images_fit_image_url_override` filter after dimensions are set by
3807
+ Photon.
3808
+ - Enhancement: JSON API: Add Endpoint for trigger Plugin Autoupdates.
3809
+ - Enhancement: JSON API: General Improvements. Documentation on
3810
+ http://developer.wordpress.com/
3811
+ - Enhancement: Likes: Updated the code to accept arbitrary CPTs.
3812
+ - Enhancement: Related Posts: Allow filter by `post_format`.
3813
+ - Enhancement: Sharing: add new `jetpack_sharing_counts` filter for option to
3814
+ turn off sharing counts.
3815
+ - Enhancement: Sharing: Use the Site Logo Theme Tool and the Site Icon as
3816
+ fallbacks for image tags.
3817
+ - Enhancement: Shortcodes: Made the code more readable by using output buffers
3818
+ instead of string concatenation.
3819
+ - Enhancement: Site Logo: Add alias functions to provide backward
3820
+ compatibility for themes expecting the old function calls.
3821
+ - Enhancement: Slideshow: Add title and alt text to images.
3822
+ - Enhancement: Subscription Form: Do not display the logged in user's email
3823
+ address by default.
3824
+ - Enhancement: Top Posts Widget: Refactor to allow conditional loading of the
3825
+ css.
3826
+ - Enhancement: Top Posts: Add `jetpack_top_posts_widget_count` filter to
3827
+ control number of displayed posts.
3828
+ - Bug Fix: Change subscribe_text from `p` to `div` so that it can contain
3829
+ block-level elements.
3830
+ - Bug Fix: Fonts: Change path to look for the svg in the right directory.
3831
+ - Bug Fix: Increase CSS specificity for Contact Forms in widgets.
3832
+ - Bug Fix: JSON API: Plugins Update: Make sure the plugin doesn't get
3833
+ deactivated.
3834
+ - Bug Fix: Likes: Fixes issues where likes don't load, load master iframe
3835
+ after scripts are loaded.
3836
+ - Bug Fix: Notes Module: Avoid a PHP Notice in cli scripts when the request
3837
+ doesn't contain a User-Agent header.
3838
+ - Bug Fix: Nova Menu CPT: fix notice when we have no taxonomies.
3839
+ - Bug Fix: Nova Menus: Use current instance to maintain object context.
3840
+ - Bug Fix: Related Posts: Add filter for `_enabled_for_request()`.
3841
+ - Bug Fix: Sharing: Prevent duplicate @ in shared Tweets.
3842
+ - Bug Fix: Site Logo: `get_site_logo()` now properly returns the site logo ID
3843
+ when provided in the `$show` argument.
3844
+ - Bug Fix: Site Logo: Correct evaluation of the Display Header Text in
3845
+ Customizer preview.
3846
+
3847
+ ## 3.2.1 - 2014-11-14
3848
+
3849
+ - Enhancement: Updated translation files.
3850
+ - Enhancement: JSON API: More object vars passed back to some queries.
3851
+ Documentation on http://developer.wordpress.com/
3852
+ - Bug Fix: JSON API: Pass back correct author in `me/posts` data.
3853
+ - Bug Fix: JSON API: Don't check if a post is freshly pressed on remote
3854
+ Jetpack sites where the function doesn't exist.
3855
+ - Bug Fix: Site Logo: Add backward-compatible template tags to match the
3856
+ standalone release.
3857
+ - Bug Fix: Don't use `__DIR__` -- it's 5.3+ only, and WordPress supports back to
3858
+ 5.2.
3859
+ - Bug Fix: Retool how we remove the source styles when using the concatenated
3860
+ version.
3861
+ - Bug Fix: Shortcodes: TED: Correct default language code from `eng` to `en`.
3862
+ - Bug Fix: Gallery Widget: Add a default background color.
3863
+ - Bug Fix: Subscription Notifications: Remove the label.
3864
+ - Bug Fix: Sharing: enqueue Genericons on static front page as well if
3865
+ selected.
3866
+
3867
+ ## [3.2] - 2014-10-29
3868
+
3869
+ - Enhancement: Speed Improvements (woohoo!).
3870
+ - Enhancement: Add site icons: an avatar for your blog.
3871
+ - Enhancement: Improvements to API endpoints.
3872
+ - Enhancement: Add oEmbed sources (Twitter, SoundCloud, Instagram,
3873
+ DailyMotion, Vine).
3874
+ - Enhancement: Add indicators to make it easier to see which modules are
3875
+ active.
3876
+ - Enhancement: Improve debug tool.
3877
+ - Enhancement: Add new 'Site Logos' code to theme tools, for themes that opt
3878
+ in to support it.
3879
+ - Enhancement: Improved caching for related posts.
3880
+ - Enhancement: Added "Remember Me" functionality to Single Sign On.
3881
+ - Enhancement: Improved accessibility.
3882
+ - Enhancement: Added additional filters to Widget Visibility.
3883
+ - Bug Fix: Fixed PHP Notice errors for Likes, Widget Visibility.
3884
+ - Bug Fix: Improvements to the testimonials CPT.
3885
+ - Bug Fix: Improved RTL on VideoPress admin.
3886
+ - Bug Fix: Removed Google+ Authorship module (discontinued by Google).
3887
+ - Bug Fix: Fixed use of deprecated function in mobile theme.
3888
+ - Bug Fix: Various fixes to Tiled Galleries.
3889
+ - Bug Fix: Various fixes to Contact Form.
3890
+ - Bug Fix: Various fixes to oEmbed.
3891
+ - Bug Fix: Various fixes to Single Sign On.
3892
+ - Bug Fix: Fixed styles in ShareDaddy.
3893
+ - Bug Fix: Better match protocols (http/https) to the site.
3894
+
3895
+ ## 3.1.1 - 2014-08-07
3896
+
3897
+ - Enhancement: Update translation files for strings that had been
3898
+ submitted/approved since release.
3899
+ - Bug Fix: Social Links: Add a function check to better degrade if Publicize
3900
+ isn't around.
3901
+ - Bug Fix: Open Graph: Add WordPress SEO back to the blacklist, until they
3902
+ update how they opt us out.
3903
+ - Bug Fix: Asset Minification: Add another caveat ( empty $plugin ) to short
3904
+ out on.
3905
+ - Bug Fix: Deprecated Hooks: Fixing our expectations where something that
3906
+ should be an array occasionally wasn't.
3907
+ - Bug Fix: Custom CSS: Add extra whitelist rule for -o-keyframe rules.
3908
+
3909
+ ## [3.1] - 2014-07-31
3910
+
3911
+ - Enhancement: New Custom Content Types module.
3912
+ - Enhancement: New Jetpack Logo.
3913
+ - Enhancement: New optional JSON API endpoints for viewing updates and
3914
+ managing plugins and themes.
3915
+ - Enhancement: New Custom Post Type: Portfolio!
3916
+ - Enhancement: Rearranged buttons on the modules modals for easier management.
3917
+ - Enhancement: Jetpack Settings have improved keyboard accessibility.
3918
+ - Enhancement: Improved RTL support for After the Deadline, Carousel, Contact
3919
+ Form, Comics CPT, Custom CSS, Omnisearch, Publicize, Related Posts, Slideshow
3920
+ short code, Tiled Gallery, Widget-Visibility and Widgets Gallery.
3921
+ - Enhancement: Contact Form: Add an "Empty Spam" option.
3922
+ - Enhancement: i18n: Change the priority of where plugin_textdomain is hooked
3923
+ so that the plugins can better translate Jetpack.
3924
+ - Enhancement: Monitor: Displays how often the site is checked for downtime.
3925
+ - Enhancement: Shortcode: Added Mixcloud shortcode and oEmbed support.
3926
+ - Enhancement: Social Links: Improved handling of customizer hooks in
3927
+ non-admin context.
3928
+ - Enhancement: Stats: The smiley image is gone by default.
3929
+ - Enhancement: Stats: Added link to the configure page for stats so that the
3930
+ stats settings page is easier to find.
3931
+ - Enhancement: Theme Tools: Added the responsive videos to theme tools so that
3932
+ themes can support responsive videos more easily.
3933
+ - Update: Updated Genericons to version 3.1, new icons for website, ellipsis,
3934
+ foursquare, x-post, sitemap, hierarchy and paintbrush.
3935
+ - Bug Fix: Contact Form: Prefix function to avoid conflicts with other
3936
+ plugins.
3937
+ - Bug Fix: Custom CSS: Admin UI has a responsive layout.
3938
+ - Bug Fix: Custom CSS: Custom $content_width value doesn't overwrite theme's
3939
+ $content_width.
3940
+ - Bug Fix: Contact Form: Feedback link takes you to the form page.
3941
+ - Bug Fix: Carousel: Confirms an avatar is returned by get_avatar before
3942
+ displaying.
3943
+ - Bug Fix: Featured Content: Don't remove setting validation.
3944
+ - Bug Fix: Infinite Scroll: Google Universal Analytics support added.
3945
+ - Bug Fix: Multisite: Add message when updating multisite settings.
3946
+ - Bug Fix: Photon: Photon will no longer upscale images larger than the
3947
+ original size.
3948
+ - Bug Fix: Photon: Check that the image exists before rewriting the image URL
3949
+ to utilize Photon.
3950
+ - Bug Fix: Sharing: Pinterest adds attribute to display share count.
3951
+ - Bug Fix: Sharing: Respect an empty sharing title.
3952
+ - Bug Fix: Sharing: Share buttons now appear in the bbPress forms.
3953
+ - Bug Fix: Sharing: Support for multiple meta html tag og:image values.
3954
+ - Bug Fix: Single Sign On: Logout allows override of forcing Single Sign On.
3955
+ - Bug Fix: Single Sign On: Remove the lost password link on auto-forward
3956
+ logout.
3957
+ - Bug Fix: Social Links: Do not use anonymous function for compatibility with
3958
+ PHP 5.2.
3959
+ - Bug Fix: Tiled Galleries: Update jQuery mouseover caption effect to reduce
3960
+ flickering.
3961
+ - Bug Fix: Widgets Visibility: Works better in the customizer admin view.
3962
+
3963
+ ## 3.0.2 - 2014-06-17
3964
+
3965
+ - Enhancement: General: Make module categories filter more visible when
3966
+ active.
3967
+ - Enhancement: General: Updated translation files with more strings added
3968
+ since the last release.
3969
+ - Enhancement: General: Allow deep-linking to the Contact Support form.
3970
+ - Bug Fix: General: RTL Jetpack Admin UI looks better.
3971
+ - Bug Fix: General: Fixed PHP warning when bulk deactivating modules.
3972
+ - Bug Fix: General: Removed an unnecessary description.
3973
+ - Bug Fix: General: Resolved an SSL error on Jetpack Admin UI.
3974
+ - Bug Fix: General: Fix error comparing signatures when the WordPress
3975
+ installation is using site_url filters (applied mostly to WPEngine sites).
3976
+ - Bug Fix: General: Resolved PHP strict error on the mobile menu.
3977
+ - Bug Fix: General: Fix timing of conditional checks, so that calling
3978
+ developer mode via a plugin works again.
3979
+ - Bug Fix: General: Main page categories tab now properly translates module
3980
+ names.
3981
+ - Bug Fix: Related Posts: Fix a typo, the "more info" link now works.
3982
+ - Bug Fix: Likes: Improve button styling.
3983
+ - Bug Fix: Likes: Remove unused UI for Reblog settings on social settings
3984
+ page.
3985
+ - Bug Fix: Contact Form: Updated to no longer use a deprecated Akismet
3986
+ function.
3987
+ - Bug Fix: Contact Form: Sends email to the administrator that is not marked
3988
+ as spam again.
3989
+ - Bug Fix: Open Graph: Resolved PHP warning on open graph gallery pages when
3990
+ the gallery is empty.
3991
+
3992
+ ## 3.0.1 - 2014-05-22
3993
+
3994
+ - Bug Fix: AtD: A wpcom-only function got synced by mistake and caused a few
3995
+ errors. Fixed.
3996
+ - Bug Fix: Post By Email: Add static keyword to a function.
3997
+ - Bug Fix: ShareDaddy: In the admin-side configuration of sharing links, we
3998
+ used a Path icon instead of Pinterest. Oops!
3999
+ - Bug Fix: ShareDaddy: We inadvertently appended `via @jetpack` to some
4000
+ twitter shares. This is no longer the case.
4001
+ - Bug Fix: Related Posts: Tidying up and relocation of the `resync` button
4002
+ formerly on the more info modal.
4003
+ - Bug Fix: Infinite Scroll: Work better with core's MediaElement.js
4004
+ - Bug Fix: Heartbeat: Undeclared variable fixed.
4005
+
4006
+ ## [3.0] - 2014-05-20
4007
+
4008
+ - New User Interface for managing modules and settings
4009
+ - New Module: Verfication Tools
4010
+ - Enhancement: New look for the Sharing module
4011
+ - Enhancement: Multiple improvements on which Twitter handle a Twitter card
4012
+ will display
4013
+ - Enhancement: Add option to hide Google+ Authorship banner while still
4014
+ receiving the benefits
4015
+ - Enhancement: Many Infinite Scroll enhancements to improve performance
4016
+ - Enhancement: Infinite Scroll will use your CPT's display name instead of
4017
+ "Older Posts"
4018
+ - Enhancement: JSON API added /media/new endpoint
4019
+ - Enhancement: Added filter to assign new default image for Open Graph tags
4020
+ - Enhancement: New [jetpack-related-posts] shortcode to add Related Posts to
4021
+ page instead of default placement
4022
+ - Enhancement: Added SSO option to turn off login form completely, to use
4023
+ WordPress.com login exclusively
4024
+ - Enhancement: The [googlemaps] shortcode allows for Google Maps Engine
4025
+ - Enhancement: YouTube shortcode allows HD playback
4026
+ - Enhancement: Smoother, Faster Tiled Galleries!
4027
+ - Enhancement: New languages! Use Jetpack in Irish, Fulah, and Tigrinya
4028
+ - Bug Fix: Use your browser's Back and Forward buttons when naviagating a
4029
+ Carousel
4030
+ - Bug Fix: Various Related Posts fixes and improvements for added flexibility
4031
+ - Bug Fix: WordPress 3.9: Restores ability to edit Contact Forms
4032
+ - Bug Fix: WordPress 3.9: Restores Gallery Widget compatability
4033
+ - Bug Fix: Ensure Markdown is kept when Bulk Editing posts
4034
+ - Bug Fix: Improved Jetpack's Multisite Network Admin page for networks with a
4035
+ large number of sites
4036
+ - Bug Fix: Ensure Sharing settings persist when Bulk Editing a post
4037
+ - Bug Fix: Various other shortcode improvements
4038
+
4039
+ ## [2.9.3] - 2014-04-10
4040
+
4041
+ - Important security update. CVE-2014-0173
4042
+
4043
+ ## 2.9.2 - 2014-03-17
4044
+
4045
+ - Bug Fix: Publicize: When publishing from a mobile app or third-party client,
4046
+ Publicize now works again.
4047
+
4048
+ ## 2.9.1 - 2014-03-06
4049
+
4050
+ - Bug Fix: After the Deadline: Fix a Javascript glitch that could prevent
4051
+ publishing of posts.
4052
+ - Bug Fix: SSO: Disable the implementation of an option that had been removed
4053
+ before release. This would have only been an issue if a site administrator
4054
+ had enabled the module during an early beta of 2.9.
4055
+
4056
+ ## [2.9] - 2014-02-26
4057
+
4058
+ - Added Multisite network functionality
4059
+ - New Module: Related Posts
4060
+ - Enhancement: Single Sign On
4061
+ - Enhancement: Mixcloud shortcode and oEmbed
4062
+ - Enhancement: Gist shortcode and oEmbed
4063
+ - Enhancement: Modify Facebook Like Box widget to support new Facebook
4064
+ parameters
4065
+ - Enhancement: Rolled the Push Notifications module into the Notes module
4066
+ - Enhancement: Update kses with Markdown
4067
+ - Enhancement: Adding keyboard accessibility to sharing buttons config page
4068
+ - Enhancement: Pull WordPress testing bits from the new official git mirror at
4069
+ WordPress.org
4070
+ - Bug Fix: Widget Visibility
4071
+ - Bug Fix: Revisions box in Custom CSS
4072
+ - Bug Fix: Fix several bugs in the WordPress Posts Widget so that it correctly
4073
+ updates
4074
+ - Bug Fix: Limit Login Attempts no longer generates false positives from
4075
+ xmlrpc.
4076
+ - Bug Fix: Clear max_posts transient on theme switch.
4077
+ - Bug Fix: Lower priority of sync to allow all CPTs to be registered.
4078
+ - Bug Fix: Contact form fields emailed in correct order.
4079
+
4080
+ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits/2.9
4081
+
4082
+ ## [2.8] - 2014-01-31
4083
+
4084
+ - New Module: Markdown
4085
+ - Module Update: Jetpack Monitor
4086
+ - Enhancement: Infinite Scroll: Keep track of $current_day between requests so
4087
+ the_date() works well.
4088
+ - Enhancement: Embeds: New filter to turn off embeds in comments.
4089
+ - Enhancement: Contact Form: Add placeholder support.
4090
+ - Enhancement: Widget: Gravatar Profile: Added filters to allow users to
4091
+ customize headings and fixed output of personal links.
4092
+ - Enhancement: Facebook OG Tags: Add `published_time`, `modified_time`, and
4093
+ `author` if the post type supports it.
4094
+ - Enhancement: Sharing: Display buttons on CPT archive pages.
4095
+ - Enhancement: Sharing: Add `get_share_title` function and filter.
4096
+ - Enhancement: Sharing: Add filter `sharing_display_link`.
4097
+ - Enhancement: Twitter Timeline: Flesh out tweet limit option.
4098
+ - Enhancement: Social Links: Add Google+ to the list of supported services.
4099
+ - Enhancement: Stats: Improve dashboard styles in 3.8.
4100
+ - Enhancement: Stats: No longer use Quantcast.
4101
+ - Enhancement: Top Posts: Add `jetpack_top_posts_days` filter.
4102
+ - Enhancement: AtD: Add TinyMCE 4 compatibility for its pending arrival in
4103
+ WordPress 3.9
4104
+ - Enhancement: Genericons: Update to v3.0.3
4105
+ - Enhancement: Tiled Galleries: Add alt attributes to images.
4106
+ - Enhancement: Shortcode: YouTube: Accept protocol-relative URLs.
4107
+ - Enhancement: Shortcode: Slideshow: Add white background option.
4108
+ - Enhancement: Shortcode: YouTube: Add support for the two closed-caption
4109
+ arguments.
4110
+ - Enhancement: Shortcode: Vimeo: Update the regex to support the new embed
4111
+ code.
4112
+ - Enhancement: Shortcode: Google Maps: Update the regex to handle new format
4113
+ for embeds.
4114
+ - Enhancement: Likes: Avoid a PHP Notice when $_POST['post_type'] is not set
4115
+ in meta_box_save.
4116
+ - Enhancement: Smush images to save on file size.
4117
+ - Enhancement: Publicize: Enable opt-in publicizing of custom post types.
4118
+ - Bug Fix: Random Redirect: Further namespace to avoid conflicts.
4119
+ - Bug Fix: Twitter Timeline: Resolve undefined index notice.
4120
+ - Bug Fix: Featured Content: Add extra class_exists() check to be extra
4121
+ careful.
4122
+ - Bug Fix: Facebook OG Tags: Change OG type of Home and Front Page to
4123
+ 'website'
4124
+ - Bug Fix: Widget Visibility: Add support for old-style single use widgets.
4125
+ - Bug Fix: Google Authorship: Support apostrophe in author names.
4126
+ - Bug Fix: Media Extractor: Assorted graceful failure caveats.
4127
+ - Bug Fix: Carousel: 'Link to None' bug fixed.
4128
+ - Bug Fix: Embeds: Bandcamp: Switch escaping function for album and track IDs
4129
+ to handle (int)s greater than PHP_INT_MAX
4130
+ - Bug Fix: Some plugins trying to catch brute-force attacks mistakenly flagged
4131
+ the Jetpack connection as one.
4132
+
4133
+ ## [2.7] - 2013-12-11
4134
+
4135
+ - Enhancement: Google+ Publicize
4136
+ - Enhancement: Add Cloudup as an oEmbed provider
4137
+ - Enhancement: Subscriptions: Add subscribe_field_id filter to allow updated
4138
+ ids when using multiple widgets
4139
+ - Enhancement: Infinite Scroll: TwentyFourteen Support
4140
+ - Bug Fix: Contact Form: Fix warning when form is called outside the loop
4141
+ - Bug Fix: Featured Content: Moving Settings to Customizer, provide option to
4142
+ set default tag as fallback, specify all supported post-types rather than just
4143
+ additional ones. Description Updates
4144
+ - Bug Fix: Featured Content: Compat with 'additional_post_types' theme support
4145
+ argument. Comment updates
4146
+ - Bug Fix: Featured Content: Make sure $term is an object before we treat it
4147
+ as one
4148
+ - Bug Fix: GlotPress: Merge with latest GlotPress
4149
+ - Bug Fix: Infinite Scroll: prevent Undefined index notice that can cause IS
4150
+ to fail when user has WP_DEBUG set to true
4151
+ - Bug Fix: Infinite Scroll: Improved compatibility with Carousel, Tiled
4152
+ Galleries, VideoPress, and the `[audio]` and `[video]` shortcodes
4153
+ - Bug Fix: Likes: Stop manually including version.php and trust the global.
4154
+ Some whitespace fixes, and if it's an attachment, follow the post_status of
4155
+ the parent post
4156
+ - Bug Fix: Mobile Theme: Display password field for Gallery format protected
4157
+ posts
4158
+ - Bug Fix: Sharing: Add new translation width for share button, and Google
4159
+ Plus icons
4160
+ - Bug Fix: Shortcodes: Support Ineternational Google domains for maps
4161
+ - Bug Fix: Shortcodes: Facebook Embeds: Register alternate permalink.php URL
4162
+ for posts
4163
+ - Bug Fix: Subscriptions: Moved inline styles from widget email input to
4164
+ separate css file
4165
+ - Bug Fix: Theme Tools: Fix glitch where random-redirect.php also showed as a
4166
+ plugin being deleted if you were deleting Jetpack
4167
+ - Bug Fix: Misc: Internationalization & RTL updates
4168
+ - Bug Fix: Misc: Prevent collisions with 'Facebook Featured Image & OG Meta
4169
+ Tags' plugin
4170
+
4171
+ ## 2.6.1 - 2013-12-03
4172
+
4173
+ - Bug Fix: minor styling fix in pre- and post-MP6/3.8 UI changes.
4174
+ - Bug Fix: Stats: spinner gif url fix when the user is viewing it over https.
4175
+ - Bug Fix: Stats: Switch to esc_html from htmlspecialchars in error message --
4176
+ better to be native
4177
+ - Bug Fix: Media Extractor: some hosts don't compile unicode for
4178
+ preg_match_all, so we temporarily removed the block that depended on it.
4179
+ - Bug Fix: Media Extractor: Add in some error handling for malformed URLs.
4180
+ - Bug Fix: Twitter Cards: treat single-image galleries as a photo-type.
4181
+ - Bug Fix: Update conflicting plugins for OG tags and Twitter Cards.
4182
+ - Bug Fix: Correct max supported version number -- had been 3.6, update to
4183
+ 3.7.1
4184
+
4185
+ ## [2.6] - 2013-11-28
4186
+
4187
+ - Enhancement: WPCC / now called [SSO](http://jetpack.com/support/sso/):
4188
+ refactored.
4189
+ - Enhancement: Monitor: new module which will notify you if your site goes
4190
+ down(http://jetpack.com/support/monitor/).
4191
+ - Enhancement: Custom CSS: replace Ace editor with Codemirror.
4192
+ - Enhancement: Widgets: new “Display Posts” widget.
4193
+ - Enhancement: WP-CLI: add commands to disconnect a site and manage modules.
4194
+ - Enhancement: Contact Form: new filters, `grunion_contact_form_field_html`
4195
+ and `grunion_should_send_email`.
4196
+ - Enhancement: Custom Post Types: new restaurant post type.
4197
+ - Enhancement: Genericons: update to version 3.0.2.
4198
+ - Enhancement: Infinite Scroll: many improvements and fixes.
4199
+ - Enhancement: Likes: performance improvements.
4200
+ - Enhancement: MP6: Jetpack icons are now compatible with WordPress 3.8.
4201
+ - Enhancement: Open Graph: better descriptions, fallback images, and media
4202
+ extraction from video posts.
4203
+ - Enhancement: Publicize: new background token tests for connected publicize
4204
+ services and display problems on settings sharing and add new post.
4205
+ - Enhancement: Shortcodes: updated Bandcamp shortcode to support the
4206
+ `tracklist` and `minimal` attributes, as well as more `artwork` attribute
4207
+ values.
4208
+ - Enhancement: Shortlinks: add Custom Post Type support.
4209
+ - Enhancement: Subscriptions: add more ways to customize the subscriptions
4210
+ widget.
4211
+ - Enhancement: Twitter Cards: better media management and card type detection,
4212
+ and better handling of conflicts with other Twitter Cards plugins.
4213
+ - Enhancement: better handling of conflicts with other plugins.
4214
+ - Bug Fix: After the Deadline: add a typeof check for `tinyMCEPreInit.mceInit`
4215
+ to prevent js errors.
4216
+ - Bug Fix: Carousel: speed improvements and several bugfixes.
4217
+ - Bug Fix: Contact Form: remove nonce creating issues with caching plugins.
4218
+ - Bug Fix: Custom Post Types: Testimonials: return if featured image is empty
4219
+ so it can be removed after it’s been set.
4220
+ - Bug Fix: Featured Content: add additional post type support through the
4221
+ `additional_post_types` argument.
4222
+ - Bug Fix: Google Authorship: support apostrophes in Google+ profiles.
4223
+ - Bug Fix: Google Authorship: use a regexp Instead of using
4224
+ `mb_convert_encoding`, which doesn’t enjoy universal support.
4225
+ - Bug Fix: Heartbeat: ensure that it never triggers more than once per week.
4226
+ - Bug Fix: JSON API: add new `?meta=` parameter that allows you to expand the
4227
+ data found in the `meta->links` responses.
4228
+ - Bug Fix: JSON API: add new `is_private` response to the sites endpoint and
4229
+ `global_ID` response to the reader and post endpoints.
4230
+ - Bug Fix: Mobile Theme: allow small images to display inline.
4231
+ - Bug Fix: Mobile Theme: fix fatal errors for missing `minileven_header`
4232
+ function.
4233
+ - Bug Fix: Photon: fix errors when an image is not uploaded properly.
4234
+ - Bug Fix: Shortcodes: improvements to Archives, Google+, Presentations, Vine
4235
+ and Youtube.
4236
+ - Bug Fix: Tiled Galleries: improve display of panoramic images and fix errors
4237
+ when an image is not uploaded properly.
4238
+
4239
+ ## [2.5] - 2013-09-19
4240
+
4241
+ - Enhancement: Connect your Google+ profile and WordPress site to prove
4242
+ authorship of posts.
4243
+ - Enhancement: Improved sharing buttons display.
4244
+ - Enhancement: Comment on your posts using Google+ to signin.
4245
+ - Enhancement: Embed Google+ posts into your posts.
4246
+ - Enhancement: Added event logging capabilities for debugging
4247
+ - Enhancement: LaTeX is now available in dev mode
4248
+ - Enhancement: Introduced gallery widget
4249
+ - Enhancement: Added new module: VideoPress
4250
+ - Enhancement: Updated identity crisis checker
4251
+ - Enhancement: Tiled Gallery widget added
4252
+ - Enhancement: Google +1 button changed to Google+ Share button, to avoid
4253
+ confusion
4254
+ - Enhancement: Added check to ensure Google+ authorship accounts have
4255
+ disconnected properly
4256
+ - Enhancement: Updated identity crisis checker
4257
+ - Enhancement: Tiled Gallery widget added
4258
+ - Enhancement: Google +1 button changed to Google+ Share button, to avoid
4259
+ confusion
4260
+ - Enhancement: Added the ability to embed Facebook posts
4261
+ - Bug Fix: Redirect issue with G+ authorship when WordPress is not in the root
4262
+ directory
4263
+ - Enhancement: Better security if carousel to prevent self-XSS
4264
+ - Enhancement: Better handling of cookies for subsites on multisite installs
4265
+ - Bug Fix: Check for post in G+ authorship before accessing it
4266
+
4267
+ ## 2.4.2 - 2013-09-05
4268
+
4269
+ - Enhancement: Converted to module headers to detect Auto-Activating modules.
4270
+ - Enhancement: WPCC: Added 'Close' link to deactivate WPCC in the admin nag.
4271
+ - Enhancement: JSON API: Add User Nicename to the user data.
4272
+ - Bug Fix: Contact Form: Stopped using a short tag.
4273
+ - Bug Fix: Changed CSS selector to catch MP6 stylings.
4274
+ - Bug Fix: Dropped `__FILE__` references in class.jetpack.php in favor of
4275
+ JETPACK__PLUGIN_DIR constant, now code that deactivates the plugin from the
4276
+ connect nag works again.
4277
+ - Bug Fix: Random Redirect: Add random-redirect to the plugins overriden list,
4278
+ in case someone is using Matt's Random Redirect plugin.
4279
+ - Bug Fix: Tiled Gallery: Revert r757178 relating to tiled gallery defaults.
4280
+ - Bug Fix: Return false, not zero, if $GLOBALS['content_width'] isn't defined.
4281
+ - Bug Fix: WPCC: Don't call wp_login_url() in the constructor -- if someone is
4282
+ running a custom login page, that can break things if their plugin runs
4283
+ get_permalink as a filter before init.
4284
+ - Bug Fix: Tiled Gallery: Add fallback if post_parent == 0 due to
4285
+ infinite_scroll_load_other_plugins_scripts.
4286
+ - Bug Fix: Custom CSS: Set the ACE gutter z-index to 1.
4287
+ - Bug Fix: Custom Post Types: Switch from wp_redirect() to wp_safe_redirect().
4288
+ - Bug Fix: Likes: Set overflow:hidden; on the likes adminbar item.
4289
+ - Bug Fix: Mobile Theme: Migrate where/when the custom header stuff is
4290
+ included.
4291
+ - Bug Fix: Slideshow Shortcode: Add a height of 410px.
4292
+
4293
+ ## 2.4.1 - 2013-09-04
4294
+
4295
+ - Enhancement: Don't auto-activate WPCC.
4296
+
4297
+ ## [2.4] - 2013-08-30
4298
+
4299
+ - Enhancement: WordPress.com Connect (WPCC): New Module.
4300
+ - Enhancement: Widget Visibility: New Module.
4301
+ - Enhancement: Shortcode: Addition of new Twitter Timeline shortcode.
4302
+ - Enhancement: Shortcode: Addition of new Presentation shortcode.
4303
+ - Enhancement: Shortcode: Addition of new Vine shortcode.
4304
+ - Enhancement: Custom Post Types: CPTs are available.
4305
+ - Enhancement: Subscriptions: Add 'jetpack_is_post_mailable' filter.
4306
+ - Enhancement: OpenGraph: Add Twitter Cards meta tags as well.
4307
+ - Enhancement: Custom CSS: Update lessc and scssc preprocessors to 0.4.0 and
4308
+ 0.0.7 respectively.
4309
+ - Enhancement: Omnisearch: Add Media results.
4310
+ - Enhancement: Likes: Use a protocol-agnostic iframe, instead of forced HTTPS.
4311
+ - Enhancement: Top Posts: Increase post limit.
4312
+ - Enhancement: Publicize: Updated JS and UI.
4313
+ - Enhancement: Photon: New filter to let site admins/owners enable photon for
4314
+ HTTPS urls.
4315
+ - Enhancement: New jetpack_get_available_modules filter.
4316
+ - Enhancement: Subscriptions: Antispam measures.
4317
+ - Bug Fix: Add inline style to keep plugins/themes from inadvertently hiding
4318
+ the Connect box.
4319
+ - Bug Fix: Custom CSS: Respect the new wp_revisions_to_keep filter.
4320
+ - Bug Fix: Photon: Only hook jetpack_photon_url into the filter if the user
4321
+ has Photon active.
4322
+ - Bug Fix: Heartbeat: Used wrong object, occasinally fatal-erroring out for
4323
+ the cron.
4324
+ - Bug Fix: Add an empty debug.php file to the /modules/ folder, to solve some
4325
+ update issues where it never got deleted.
4326
+
4327
+ ## [2.3.5] - 2013-08-12
4328
+
4329
+ - Enhancement: Added Path support to Publicize.
4330
+
4331
+ ## [2.3.4] - 2013-08-06
4332
+
4333
+ - Bug Fix: Correct when output occurs with CSV export for feedback.
4334
+ - Bug Fix: Tidy up the Heartbeat API.
4335
+ - Enhancement: User Agent: Improve detecting of bots.
4336
+ - Enhancement: Genericons: Make sure we're pulling the freshest version from
4337
+ genericons.com on each release.
4338
+ - Enhancement: JSON API: Open up replies/new endpoints so that users can
4339
+ comment on blogs that are not in their access token.
4340
+ - Enhancement: Photon: Apply to `get_post_gallery()` function as well.
4341
+ - Enhancement: Tiled Galleries: Add a default bottom margin to be more robust
4342
+ out of the box.
4343
+ - Translations: Adding in fresher translation files.
4344
+ - Deprecation: Removing the retinization code for 3.4, as it was included in
4345
+ WordPress trunk from 3.5 onwards.
4346
+
4347
+ ## [2.3.3] - 2013-07-26
4348
+
4349
+ - Bug Fix: We were inadvertently overwriting cron schedules with our Jetpack
4350
+ heartbeat. This should now be fixed.
4351
+ - Enhancement: New Facebook Sharing icons.
4352
+ - Enhancement: Minor update to the Minileven stylesheet.
4353
+
4354
+ ## [2.3.2] - 2013-07-25
4355
+
4356
+ - Bug Fix: Fixed an issue where Facebook Pages were not available when
4357
+ connecting a Publicize account.
4358
+ - Bug Fix: For some web hosts, fixed an issue where 'Jetpack ID' error would
4359
+ occur consistently on connecting to WordPress.com.
4360
+ - Enhancement: Adding some new stats and heartbeat checking to Jetpack.
4361
+
4362
+ ## [2.3.1] - 2013-07-02
4363
+
4364
+ - Enhancement: Social Links: Retooling the class for better consistency and
4365
+ performance behind the scenes.
4366
+ - Enhancement: Omnisearch: Make it easier to search Custom Post Types. No
4367
+ longer need to extend the class, if all you want is a basic display. Just
4368
+ call `new Jetpack_Omnisearch_Posts( 'cpt' );`
4369
+ - Enhancement: Sharing Buttons: LinkedIn: Use the official button's sharing
4370
+ link on the Jetpack implementation for a more consistent sharing experience
4371
+ and produce better results on LinkedIn's end.
4372
+ - Enhancement: Debug / Connection: Better logic in determining whether the
4373
+ server can use SSL to connect to WPCOM servers.
4374
+ - Enhancement: Sharing: Twitter: Calculate the size of the Tweet based on the
4375
+ short URL rather than the full URL size.
4376
+ - Enhancement: Debug: More readable and understandable messages.
4377
+ - Enhancement: Likes: Including some MP6 styles.
4378
+ - Enhancement: Comments: Add new core classes to comment form. See
4379
+ http://core.trac.wordpress.org/changeset/24525
4380
+ - Bug Fix: Omnisearch: Don't load everything initially, run the providers off
4381
+ admin_init, and then issue an action for folks to hook into.
4382
+ - Bug Fix: Omnisearch: Modify some child class functions to match the parent's
4383
+ parameters and avoid strict notices in newer versions of PHP.
4384
+ - Bug Fix: Omnisearch: Hide the search form in the module description if the
4385
+ current user can't use it.
4386
+ - Bug Fix: Comment Form: Use edit_pages, not edit_page (fixes glitch in
4387
+ previous beta, never publicly released).
4388
+ - Bug Fix: Twitter Timeline Widget: Additional testing of values and casting
4389
+ to default if they are nonconforming.
4390
+ - Bug Fix: Sharing: Pinterest: Make the button wider if there's a count to
4391
+ avoid overlapping with others.
4392
+ - Bug Fix: Post By Email: Change configuration_redirect to static.
4393
+ - Bug Fix: Likes: Don't call configuration_redirect as a static, do it as a
4394
+ method.
4395
+ - Bug Fix: Add some further security measures to module activation.
4396
+
4397
+ ## [2.3] - 2013-06-19
4398
+
4399
+ - Enhancement: Omnisearch: Search once, get results from everything!
4400
+ Omnisearch is a single search box that lets you search many different things
4401
+ - Enhancement: Debugger: this module helps you debug connection issues right
4402
+ from your dashboard, and contact the Jetpack support team if needed
4403
+ - Enhancement: Social Links: this module is a canonical source, based on
4404
+ Publicize, that themes can use to let users specify where social icons should
4405
+ link to
4406
+ - Enhancement: It’s now easier to find out if a module is active or note,
4407
+ thanks to the new Jetpack::is_module_active()
4408
+ - Enhancement: Contact Form: You are now able to customize the submit button
4409
+ text thanks to the submit_button_text parameter
4410
+ - Enhancement: Comments: We've added a filter to let users customize the
4411
+ Comment Reply label, and users can now also customize the prompt on the
4412
+ comment form again.
4413
+ - Enhancement: Mobile Theme: Add genericons.css and registering it so it’s
4414
+ easily accessible to other modules that may want it
4415
+ - Enhancement: Tiled Galleries: You can now customize the captions, thanks to
4416
+ the jetpack_slideshow_slide_caption filter
4417
+ - Enhancement: Widgets: Twitter Timeline: Add the noscrollbar option
4418
+ - Enhancement: Widgets: Facebook Like Box Widget: add a show_border attribute
4419
+ - Enhancement: Widgets: FB Like Box: let Jetpack users override the iframe
4420
+ background color set in an inline style attribute by using the
4421
+ jetpack_fb_likebox_bg filter
4422
+ - Bug Fix: Carousel: Fix a bug where double-clicking a gallery thumbnail broke
4423
+ the carousel functionality
4424
+ - Bug Fix: Comments: Change “must-log-in” to class from ID
4425
+ - Bug Fix: Contact Form: Make the Add Contact Form link a button, ala Add
4426
+ Media in core
4427
+ - Bug Fix: Contact Form: Fix encoding of field labels
4428
+ - Bug Fix: Contact Form: Remove references to missing images
4429
+ - Bug Fix: Fix 2 XSS vulnerabilities
4430
+ - Bug Fix: JSON API: Minor fixes for bbPress compatibility
4431
+ - Bug Fix: JSON API: Fix metadata bugs
4432
+ - Bug Fix: JSON API: Add a new hook that is fired when a post is posted using
4433
+ the API
4434
+ - Bug Fix: JSON API: Prefork/REST: update path normalizer to accept versions
4435
+ other than 1
4436
+ - Bug Fix: JSON API: Remove extra parenthesis in CSS
4437
+ - Bug Fix: Custom CSS: Move content width filters higher up so that they’re
4438
+ active for all users, not just logged-in admins.
4439
+ - Bug Fix: Custom CSS: All CSS properties that accept images as values need to
4440
+ be allowed to be declared multiple times so that cross-browser gradients work
4441
+ - Bug Fix: Infinite Scroll: Allow themes to define a custom function to render
4442
+ the IS footer
4443
+ - Bug Fix: Infinite Scroll: Fix up Twenty Thirteen styles for RTL and small
4444
+ viewports.
4445
+ - Bug Fix: Likes: Fix ‘Call to undefined function’
4446
+ - Bug Fix: Likes: Add scrolling no to iframe to make sure that like button in
4447
+ admin bar does not show scrollbars
4448
+ - Bug Fix: Likes: Remove setInterval( JetpackLikesWidgetQueueHandler, 250 )
4449
+ call that was causing heavy CPU load
4450
+ - Bug Fix: Mobile Theme: Remove unused variable & function call
4451
+ - Bug Fix: Publicize: Fix LinkedIn profile URL generation
4452
+ - Bug Fix: Publicize: Better refresh handling for services such as LinkedIn
4453
+ and Facebook
4454
+ - Bug Fix: Shortcodes: Audio shortcode: Treat src as element 0. Fixes audio
4455
+ shortcodes created by wp_embed_register_handler when an audio url is on a line
4456
+ by itself
4457
+ - Bug Fix: Bandcamp: Updates to the Bandcamp shortcode
4458
+ - Bug Fix: Stats: Fix missing function get_editable_roles on non-admin page
4459
+ loads
4460
+ - Bug Fix: Widgets: Twitter Timeline: Fix HTML links in admin; set default
4461
+ values for width/height; change some of the sanitization functions
4462
+ - Bug Fix: Widgets: Top Posts Widget: Exclude attachments
4463
+ - Bug Fix: Widgets: Top Posts Widget: fix data validation for number of posts
4464
+ - Bug Fix: Fix PHP warnings non-static method called dynamically
4465
+ - Bug Fix: Fixed an issue in image extraction from HTML content
4466
+ - Bug Fix: Open Graph: Change default minimum size for og:image too 200×200
4467
+ - Note: The old Twitter widget was removed in favour of Twitter Timeline
4468
+ widget
4469
+ - Note: Add is_module_active() to make it easier to detect what is and what
4470
+ isn’t
4471
+ - Note: Compressing images via lossless methods
4472
+ - Note: Tidying up jetpack’s CSS
4473
+ - Note: Set the max DB version for our retina overrides that were meant to
4474
+ stop for WordPress 3.5
4475
+ - Note: Updating spin.js to the current version, and shifting to the canonical
4476
+ jquery.spin.js library
4477
+ - Note: Adding Jetpack_Options class, and abstracting out options functions to
4478
+ it
4479
+
4480
+ ## [2.2.5] - 2013-05-01
4481
+
4482
+ - Enhancement: Stats: Counting of registered users' views can now be enabled
4483
+ for specific roles
4484
+ - Bug Fix: Security tightening for metadata support in the REST API
4485
+ - Bug Fix: Update the method for checking Twitter Timeline widget_id and
4486
+ update coding standards
4487
+ - Bug Fix: Custom CSS: Allow the content width setting to be larger than the
4488
+ theme's content width
4489
+ - Bug Fix: Custom CSS: Fix possible missing argument warning.
4490
+
4491
+ ## [2.2.4] - 2013-04-26
4492
+
4493
+ - Bug Fix: JSON API compat file include was not assigning a variable
4494
+ correctly, thus throwing errors. This has been resolved.
4495
+
4496
+ ## [2.2.3] - 2013-04-26
4497
+
4498
+ - Enhancement: Comments - Add the reply-title H3 to the comment form so that
4499
+ themes or user CSS can style it
4500
+ - Enhancement: Custom CSS - Support for the CSS @viewport
4501
+ - Enhancement: JSON API - Support for i_like, is_following, and is_reblogged
4502
+ - Enhancement: JSON API: Custom Post Type Support
4503
+ - Enhancement: JSON API: Meta Data Support
4504
+ - Enhancement: JSON API: Bundled Support for bbPress
4505
+ - Enhancement: JSON API: Additions of following, reblog, and like status for
4506
+ post endpoints.
4507
+ - Enhancement: Shortcodes - Add Bandcamp shortcode
4508
+ - Enhancement: Tiled Galleries - Add code to get blog_id
4509
+ - Bug Fix: Carousel - Support relative image paths incase a plugin is
4510
+ filtering attachment URLs to be relative instead of absolute
4511
+ - Bug Fix: Carousel - Add likes widget to images / Respect comment settings
4512
+ for name/email
4513
+ - Bug Fix: Carousel - Make name and email optional if the setting in the admin
4514
+ area says they are
4515
+ - Bug Fix: Contact Form - Bug fixes, including a fix for WP-CLI
4516
+ - Bug Fix: Contact Form - Remove deprecated .live calls, delegate lazily to
4517
+ jQuery(document) since it's all in an iframe modal
4518
+ - Bug Fix: Contact Form - RTL styles
4519
+ - Bug Fix: Contact Form - Better handle MP6 icons
4520
+ - Bug Fix: Custom CSS - array_shift() took a variable by reference, so avoid
4521
+ passing it the result of a function
4522
+ - Bug Fix: Custom CSS - Allow case-insensitive CSS properties (<a
4523
+ href="https://wordpress.org/support/topic/two-issues-with-jetpack-css-module?replies=9">ref</a>)
4524
+ - Bug Fix: Infinite Scroll - Maintain main query's `post__not_in` values when
4525
+ querying posts for IS
4526
+ - Bug Fix: Infinite Scroll - Ensure that IS's `pre_get_posts` method isn't
4527
+ applied in the admin. Also fixes an incorrect use of `add_filter()` where
4528
+ `add_action()` was meant. Fixes #1696-plugins
4529
+ - Bug Fix: Infinite Scroll - CSS update - IS footer was too large in Firefox
4530
+ - Bug Fix: Infinite Scroll - Add bundled support for Twenty Thirteen default
4531
+ theme
4532
+ - Bug Fix: Infinite Scroll - Include posts table's prefix when modifying the
4533
+ SQL WordPress generates to retrieve posts for Infinite Scroll
4534
+ - Bug Fix: JSON API - Use wp_set_comment_status to change the comment status,
4535
+ to make sure actions are run where needed
4536
+ - Bug Fix: Likes - Update style and logic for matching id's
4537
+ - Bug Fix: Mobile Theme - Ensure that
4538
+ <code>minileven_actual_current_theme()</code> is child-theme compatible +
4539
+ other updates
4540
+ - Bug Fix: Mobile Theme - Update method for finding currently active theme.
4541
+ - Bug Fix: Notifications - Remove the postmessage.js enqueue since this
4542
+ feature solely supports native postMessage
4543
+ - Bug Fix: Notifications - Clean up script enqueues and use core versions of
4544
+ underscore and backbone on wpcom as fallbacks
4545
+ - Bug Fix: Notifications - Enqueue v2 scripts and style
4546
+ - Bug Fix: Notifications - Prefix module-specific scripts and style to prevent
4547
+ collision
4548
+ - Bug Fix: Notifications - Include lang and dir attributes on
4549
+ #wpnt-notes-panel so the notifications iframe can use these to display
4550
+ correctly
4551
+ - Bug Fix: Open Graph: Use the profile OG type instead of author. Add tags for
4552
+ first/last names
4553
+ - Bug Fix: Publicize - Remove the Yahoo! service because they stopped
4554
+ supporting that API entirely
4555
+ - Bug Fix: Publicize - fix fatal errors caused by using a method on a
4556
+ non-object. Props @ipstenu
4557
+ - Bug Fix: Sharing - Adding 2x graphics for Pocket sharing service
4558
+ - Bug Fix: Sharing - Bug fixes, and a new filter
4559
+ - Bug Fix: Shortcodes - Audio: make sure that the Jetpack audion shortcode
4560
+ does not override the 3.6 core audio shortcode. Also, we need to filter the
4561
+ old Jetpack-style shortcode to properly set the params for the Core audio
4562
+ shortcode.
4563
+ - Bug Fix: Shortcodes - Audio: Re-enable the flash player
4564
+ - Bug Fix: Shortcodes - Slideshow: RTL styling update
4565
+ - Bug Fix: Tiled Galleries - Fix IE8 display bug where it doesn't honor inline
4566
+ CSS for width on images
4567
+ - Bug Fix: Tiled Galleries - Remove depreacted hover call, use mouseenter
4568
+ mouseleave instead
4569
+ - Enhancement: Twitter Timeline Widget: New JavaScript based widget. Old one
4570
+ will discontinue May 7th.
4571
+
4572
+ ## 2.2.2 - 2013-04-05
4573
+
4574
+ - Enhancement: Mobile Theme: Add controls for custom CSS.
4575
+ - Enhancement: Sharing: Add Pocket to the available services.
4576
+ - Bug Fix: Custom CSS: Update the method for generating content width setting.
4577
+ - Bug Fix: JSON API: Security updates.
4578
+ - Bug Fix: Likes: Add settings for email notifications and misc style updates.
4579
+ - Bug Fix: Notifications: Add the post types to sync after init.
4580
+ - Bug Fix: Publicize: RTL styling.
4581
+ - Bug Fix: Shortcodes: security fixes and function prefixing.
4582
+ - Bug Fix: Widgets: Update wording on the Top Posts widget for clarity.
4583
+ - Bug Fix: Jetpack Post Images security fixes.
4584
+
4585
+ ## [2.2.1] - 2013-03-28
4586
+
4587
+ - Enhancement: Development Mode: Define the `JETPACK_DEV_DEBUG` constant to
4588
+ `true` to enable an offline mode for localhost development. Only modules that
4589
+ don't require a WordPress.com connection can be enabled in this mode.
4590
+ - Enhancement: Likes: Added the number of likes to the wp-admin/edit.php
4591
+ screens.
4592
+ - Enhancement: Mobile Theme - design refresh
4593
+ - Enhancement: Shortcodes - Add a filter to the shortcode loading section so
4594
+ that a plugin can override what Jetpack loads for shortcodes
4595
+ - Enhancement: Widgets - Filter Jetpack's widgets so that a plugin can control
4596
+ which widgets get loaded
4597
+ - Bug Fix: Comments - Add in a wrapper div with id='commentform'
4598
+ - Bug Fix: Contact Form - Added date field with datepicker
4599
+ - Bug Fix: Contact Form - Allowed non-text widgets to use contact forms by
4600
+ running their output through the widget_text filter
4601
+ - Bug Fix: Custom CSS - Allowing color values to be defined multiple times
4602
+ - Bug Fix: Custom CSS - Dynamically loading the correct CSS/LESS/SCSS mode for
4603
+ the CSS editor if the user changes the preprocessor
4604
+ - Bug Fix: Custom CSS - Using the unminified worker CSS
4605
+ - Bug Fix: Custom CSS - Added rule: reminder about using .custom-background on
4606
+ body selector
4607
+ - Bug Fix: Custom CSS - Modified rule: Removed portion of overqualification
4608
+ rule that deems 'a.foo' overqualified if there are no other 'a' rules
4609
+ - Bug Fix: Custom CSS - Ensuring that the editor and the textarea behind it
4610
+ are using the same font so that the cursor appears in the correct location
4611
+ - Bug Fix: Custom CSS - Fix a bug that caused some sites to always ignore the
4612
+ base theme's CSS when in preview mode
4613
+ - Bug Fix: Custom CSS - Run stripslashes() before passing CSS to save()
4614
+ - Bug Fix: Custom CSS - Moving inline CSS and JavaScript into external files
4615
+ - Bug Fix: Infinite Scroll - Use the `is_main_query()` function and query
4616
+ method
4617
+ - Bug Fix: Infinite Scroll - Remove unused styles and an unnecessary margin
4618
+ setting
4619
+ - Bug Fix: Infinite Scroll - Allow the query used with IS to be filtered, so
4620
+ IS can be applied to a new query within a page template
4621
+ - Bug Fix: JSON API - Catch the 'User cannot view password protected post'
4622
+ error from can_view_post and bypass it for likes actions if the user has the
4623
+ password entered
4624
+ - Bug Fix: Likes - Bump cache buster, Don't show likes for password protected
4625
+ posts
4626
+ - Bug Fix: Notifications - Remove a redundant span closing tag
4627
+ - Bug Fix: Photon - If an image is already served from Photon but the anchor
4628
+ tag that surrounds it hasn't had its `href` value rewritten to use Photon, do
4629
+ so. Accounts for WP galleries whose individual items are linked to the
4630
+ original image files
4631
+ - Bug Fix: Publicize - Allows GLOBAL_CAP to be filtered, Adds an AYS to
4632
+ connection deletion, UI improvement for MP6 (and in general)
4633
+ - Bug Fix: Sharedaddy - Fire the sharing redirect earlier for increased plugin
4634
+ compatibility
4635
+ - Bug Fix: Stats - Move the display:none CSS output to wp_head so it gets
4636
+ written inside the HEAD tag if the option to hide the stats smilie is active
4637
+ - Bug Fix: Tiled Galleries - A more descriptive name for the default gallery
4638
+ type
4639
+ - Bug Fix: Tiled Galleries - Hide the Columns setting for gallery types that
4640
+ don't support it
4641
+ - Bug Fix: Run the admin_menu action late so that plugins hooking into it get
4642
+ a chance to run
4643
+ - Bug Fix: Prophylactic strict equality check
4644
+
4645
+ ## [2.2] - 2013-02-26
4646
+
4647
+ - Enhancement: Likes: Allow your readers to show their appreciation of your
4648
+ posts.
4649
+ - Enhancement: Shortcodes: SoundCloud: Update to version 2.3 of the SoundCloud
4650
+ plugin (HTML5 default player, various fixes).
4651
+ - Enhancement: Shortcodes: Subscriptions: Add a shortcode to enable placement
4652
+ of a subscription signup form in a post or page.
4653
+ - Enhancement: Sharedaddy: Allow selecting multiple images from a post using
4654
+ the Pinterest share button.
4655
+ - Enhancement: Contact Form: Allow feedbacks to be marked spam in bulk.
4656
+ - Enhancement: Widgets: Readmill Widget: Give your visitors a link to send
4657
+ your book to their Readmill library.
4658
+ - Note: Notifications: Discontinue support for Internet Explorer 7 and below.
4659
+ - Bug Fix: JSON API: Fix authorization problems that some users were
4660
+ experiencing.
4661
+ - Bug Fix: JSON API: Sticky posts were not being sorted correctly in /posts
4662
+ requests.
4663
+ - Bug Fix: Stats: sync stats_options so server has roles array needed for
4664
+ view_stats cap check.
4665
+ - Bug Fix: Infinite Scroll: Display improvements.
4666
+ - Bug Fix: Infinite Scroll: WordPress compatibility fixes.
4667
+ - Bug Fix: Photon: Only rewrite iamge urls if the URL is compatible with
4668
+ Photon.
4669
+ - Bug Fix: Photon: Account for registered image sizes with one or more
4670
+ dimesions set to zero.
4671
+ - Bug Fix: Subscriptions: Make HTML markup more valid.
4672
+ - Bug Fix: Subscriptions: Fixed notices displayed in debug mode.
4673
+ - Bug Fix: Custom CSS: CSS warnings and errors should now work in environments
4674
+ where JavaScript is concatenated or otherwise modified before being served.
4675
+ - Bug Fix: Hovercards: WordPress compatibility fixes.
4676
+ - Bug Fix: Improved image handling for the Sharing and Publicize modules.
4677
+ - Bug Fix: Carousel: Display and Scrollbar fixes.
4678
+ - Bug Fix: Tiled Galleries: Restrict images in tiled galleries from being set
4679
+ larger than their containers.
4680
+ - Bug Fix: Widgets: Gravatar Profile: CSS fixes.
4681
+ - Bug Fix: Publicize: Strip HTML comments from the data we send to the third
4682
+ party services.
4683
+ - Bug Fix: Notifications: Dropped support for IE7 and below in the
4684
+ notifications menu.
4685
+ - Bug Fix: Custom CSS Editor: Allow custom themes to save CSS more easily.
4686
+ - Bug Fix: Infinite Scroll: Waits until the DOM is ready before loading the
4687
+ scrolling code.
4688
+ - Bug Fix: Mobile Theme: If the user has disabled the custom header text
4689
+ color, show the default black header text color.
4690
+ - Bug Fix: Mobile Theme: Fix for the "View Full Site" link.
4691
+ - Bug Fix: Mobile Theme: Use a filter to modify the output of wp_title().
4692
+ - Bug Fix: Publicize: Twitter: Re-enable character count turning red when more
4693
+ than 140 characters are typed.
4694
+
4695
+ ## 2.1.2 - 2013-02-05
4696
+
4697
+ - Enhancement: Infinite Scroll: Introduce filters for Infinite Scroll.
4698
+ - Enhancement: Shortcodes: TED shortcode.
4699
+ - Bug Fix: Carousel: Make sure to use large image sizes.
4700
+ - Bug Fix: Carousel: Clicking the back button in your browser after exiting a
4701
+ carousel gallery brings you back to the gallery.
4702
+ - Bug Fix: Carousel: Fix a scrollbar issue.
4703
+ - Bug Fix: Comments: Move the get_avatar() function out of the base class.
4704
+ - Bug Fix: Contact Form: Prevent the form from displaying i18n characters.
4705
+ - Bug Fix: Contact Form: Remove the !important CSS rule.
4706
+ - Bug Fix: Infinite Scroll: Main query arguments are not respected when using
4707
+ default permalink.
4708
+ - Bug Fix: JSON API: Trap 'wp_die' for new comments and image uploads.
4709
+ - Bug Fix: JSON API: Use a better array key for the user_ID.
4710
+ - Bug Fix: JSON API: Make the class instantiable only once, but multi-use.
4711
+ - Bug Fix: JSON API: Fix lookup of pages by page slug.
4712
+ - Bug Fix: JSON API: Updates for post likes.
4713
+ - Bug Fix: Mobile Theme: Remove Android download link for BB10 and Playbook.
4714
+ - Bug Fix: Open Graph: Stop using Loop functions to get post data for meta
4715
+ tags.
4716
+ - Bug Fix: Photon: Suppress and check for warnings when pasing_url and using
4717
+ it.
4718
+ - Bug Fix: Photon: Ensure full image size can be used.
4719
+ - Bug Fix: Photon: Resolve Photon / YouTube embed conflict.
4720
+ - Bug Fix: Photon: Fix dimension parsing from URLs.
4721
+ - Bug Fix: Photon: Make sure that width/height atts are greater than zero.
4722
+ - Bug Fix: Sharedaddy: Layout fixes for share buttons.
4723
+ - Bug Fix: Sharedaddy: Always send Facebook a language locale.
4724
+ - Bug Fix: Sharedaddy: Don't look up share counts for empty URLs.
4725
+ - Bug Fix: Shortcodes: Ensure that images don't overflow their containers in
4726
+ the slideshow shortcode.
4727
+ - Bug Fix: Shortcodes: only enqueue jquery if archive supports Infinite Scroll
4728
+ in the Audio Shortcode.
4729
+ - Bug Fix: Tiled Galleries: Use a more specific class for gallery item size to
4730
+ avoid conflicts.
4731
+ - Bug Fix: Tiled Galleries: Fixing scrolling issue when tapping on a Tiled
4732
+ Gallery on Android.
4733
+ - Bug Fix: Widgets: Gravatar profile widget typo.
4734
+ - Bug Fix: Widgets: Add (Jetpack) to widget titles.
4735
+ - Bug Fix: Widgets: Twitter wasn't wrapping links in the t.co shortener.
4736
+ - Bug Fix: Widgets: Facebook Likebox updates to handling the language locale.
4737
+ - Bug Fix: Widgets: Top Posts: Fixed a WP_DEBUG notice.
4738
+ - Bug Fix: Widgets: Gravatar Profile Widget: transient names must be less than
4739
+ 45 characters long.
4740
+ - Bug Fix: typo in delete_post_action function.
4741
+ - Bug Fix: Load rendered LaTeX image on same protocol as its page.
4742
+
4743
+ ## [2.1.1] - 2013-01-05
4744
+
4745
+ - Bug Fix: Fix for an error appearing for blogs updating from Jetpack 1.9.2 or
4746
+ earlier to 2.1.
4747
+
4748
+ ## [2.1] - 2013-01-04
4749
+
4750
+ - Enhancement: Tiled Galleries: Show off your photos with cool mosaic
4751
+ galleries.
4752
+ - Enhancement: Slideshow gallery type: Display any gallery as a slideshow.
4753
+ - Enhancement: Custom CSS: Allow zoom property.
4754
+ - Enhancement: Stats: Show WordPress.com subscribers in stats.
4755
+ - Bug Fix: Fix errors shown after connecting Jetpack to WordPress.com.
4756
+ - Bug Fix: Photon: Fix bug causing errors to be shown in some posts.
4757
+ - Bug Fix: Photon: Convert all images in posts when Photon is active.
4758
+ - Bug Fix: Infinite Scroll: Improved compatibility with the other modules.
4759
+ - Bug Fix: Custom CSS: Updated editor to fix missing file errors.
4760
+ - Bug Fix: Publicize: Don't show the Facebook profile option if this is a
4761
+ Page-only account.
4762
+ - Bug Fix: Photon: A fix for photos appearing shrunken if they didn't load
4763
+ quickly enough.
4764
+ - Bug Fix: Sharing: A compatibility fix for posts that only have partial
4765
+ featured image data.
4766
+ - Bug Fix: Publicize/Sharing: For sites without a static homepage, don't set
4767
+ the OpenGraph url value to the first post permalink.
4768
+ - Bug Fix: Mobile Theme: Better compatibility with the customizer on mobile
4769
+ devices.
4770
+ - Bug Fix: Sharing: Don't show sharing options on front page if that option is
4771
+ turned off.
4772
+ - Bug Fix: Contact Form: Fix PHP warning shown when adding a Contact Form in
4773
+ WordPress 3.5.
4774
+ - Bug Fix: Photon: Handle images with relative paths.
4775
+ - Bug Fix: Contact Form: Fix compatibility with the Shortcode Embeds module.
4776
+
4777
+ ## [2.0.4] - 2012-12-14
4778
+
4779
+ - Bug Fix: Open Graph: Correct a bug that prevents Jetpack from being
4780
+ activated if the SharePress plugin isn't installed.
4781
+
4782
+ ## [2.0.3] - 2012-12-14
4783
+
4784
+ - Enhancement: Infinite Scroll: support
4785
+ [VideoPress](https://wordpress.org/plugins/video/) plugin.
4786
+ - Enhancement: Photon: Apply to all images retrieved from the Media Library.
4787
+ - Enhancement: Photon: Retina image support.
4788
+ - Enhancement: Custom CSS: Refined editor interface.
4789
+ - Enhancement: Custom CSS: Support [Sass](http://sass-lang.com/) and
4790
+ [LESS](http://lesscss.org/) with built-in preprocessors.
4791
+ - Enhancement: Open Graph: Better checks for other plugins that may be loading
4792
+ Open Graph tags to prevent Jetpack from doubling meta tag output.
4793
+ - Bug Fix: Infinite Scroll: Respect relative image dimensions.
4794
+ - Bug Fix: Photon: Detect custom-cropped images and use those with Photon,
4795
+ rather than trying to use the original.
4796
+ - Bug Fix: Custom CSS: Fix for bug preventing @import from working with
4797
+ url()-style URLs.
4798
+
4799
+ ## [2.0.2] - 2012-11-21
4800
+
4801
+ - Bug Fix: Remove an erroneous PHP short open tag with the full tag to correct
4802
+ fatal errors under certain PHP configurations.
4803
+
4804
+ ## [2.0.1] - 2012-11-21
4805
+
4806
+ - Enhancement: Photon: Support for the [Lazy
4807
+ Load](https://wordpress.org/plugins/lazy-load/) plugin.
4808
+ - Bug Fix: Photon: Fix warped images with un- or under-specified dimensions.
4809
+ - Bug Fix: Photon: Fix warped images with pre-photonized URLs; don't try to
4810
+ photonize them twice.
4811
+ - Bug Fix: Infinite Scroll: Check a child theme's parent theme for infinite
4812
+ scroll support.
4813
+ - Bug Fix: Infinite Scroll: Correct a bug with archives that resulted in posts
4814
+ appearing on archives that they didn't belong on.
4815
+ - Bug Fix: Publicize: Send the correct shortlink to Twitter (et al.) if your
4816
+ site uses a shortener other than wp.me.
4817
+ - Bug Fix: Sharing: Improved theme compatibility for the Google+ button.
4818
+ - Bug Fix: Notifications: Use locally-installed Javascript libraries if
4819
+ available.
4820
+
4821
+ ## [2.0] - 2012-11-08
4822
+
4823
+ - Enhancement: Publicize: Connect your site to popular social networks and
4824
+ automatically share new posts with your friends.
4825
+ - Enhancement: Post By Email: Publish posts to your blog directly from your
4826
+ personal email account.
4827
+ - Enhancement: Photon: Images served through the global WordPress.com cloud.
4828
+ - Enhancement: Infinite Scroll: Better/faster browsing by pulling the next set
4829
+ of posts into view automatically when the reader approaches the bottom of the
4830
+ page.
4831
+ - Enhancement: Open Graph: Provides more detailed information about your posts
4832
+ to social networks.
4833
+ - Enhancement: JSON API: New parameters for creating and viewing posts.
4834
+ - Enhancement: Improved compatibility for the upcoming WordPress 3.5.
4835
+ - Bug Fix: Sharing: When you set your sharing buttons to use icon, text, or
4836
+ icon + text mode, the Google+ button will display accordingly.
4837
+ - Bug Fix: Gravatar Profile Widget: Allow basic HTML to be displayed.
4838
+ - Bug Fix: Twitter Widget: Error handling fixes.
4839
+ - Bug Fix: Sharing: Improved theme compatibility
4840
+ - Bug Fix: JSON API: Fixed error when creating some posts in some versions of
4841
+ PHP.
4842
+
4843
+ ## 1.9.2 - 2012-10-29
4844
+
4845
+ - Bug Fix: Only sync options on upgrade once.
4846
+
4847
+ ## [1.9.1] - 2012-10-29
4848
+
4849
+ - Enhancement: Notifications feature is enabled for logged-out users when the
4850
+ module is active & the toolbar is shown by another plugin.
4851
+ - Bug Fix: Use proper CDN addresses to avoid SSL cert issues.
4852
+ - Bug Fix: Prioritize syncing comments over deleting comments on
4853
+ WordPress.com. Fixes comment notifications marked as spam appearing to be
4854
+ trashed.
4855
+
4856
+ ## [1.9] - 2012-10-26
4857
+
4858
+ - Enhancement: Notifications: Display Notifications in the toolbar and support
4859
+ reply/moderation of comment notifications.
4860
+ - Enhancement: Mobile Push Notifications: Added support for mobile push
4861
+ notifications of new comments for users that linked their accounts to
4862
+ WordPress.com accounts.
4863
+ - Enhancement: JSON API: Allows applications to send API requests via
4864
+ WordPress.com (see [the docs](http://developer.wordpress.com/docs/api/) )
4865
+ - Enhancement: Sync: Modules (that require the data) sync full Post/Comment to
4866
+ ensure consistent data on WP.com (eg Stats)
4867
+ - Enhancement: Sync: Improve syncing of site options to WP.com
4868
+ - Enhancement: Sync: Sync attachment parents to WP.com
4869
+ - Enhancement: Sync: Add signing of WP.com user ids for Jetpack Comments
4870
+ - Enhancement: Sync: Mark and obfuscate private posts.
4871
+ - Enhancement: Privacy: Default disable enhanced-distribution and json-api
4872
+ modules if site appears to be private.
4873
+ - Enhancement: Custom CSS: allow applying Custom CSS to mobile theme.
4874
+ - Enhancement: Sharing: On HTTPS pageloads, load as much of the sharing embeds
4875
+ as possible from HTTPS URLs.
4876
+ - Enhancement: Contact Form: Overhaul of the contact form code to fix
4877
+ incompatibilites with other plugins.
4878
+ - Bug Fix: Only allow users with manage_options permission to enable/disable
4879
+ modules
4880
+ - Bug Fix: Custom CSS: allow '/' in media query units; e.g.
4881
+ (-o-min-device-pixel-ratio: 3/2)
4882
+ - Bug Fix: Custom CSS: leave comments alone in CSS when editing but minify on
4883
+ the front end
4884
+ - Bug Fix: Sharing: Keep "more" pane open so Google+ Button isn't obscured
4885
+ - Bug Fix: Carousel: Make sure the original size is used, even when it is
4886
+ exceedingly large.
4887
+ - Bug Fix: Exclude iPad from Twitter on iPhone mobile browsing
4888
+ - Bug Fix: Sync: On .org user role changes synchronize the change to .com
4889
+ - Bug Fix: Contact Form: Fix a bug where some web hosts would reject mail from
4890
+ the contact form due to email address spoofing.
4891
+
4892
+ ## 1.8.3 - 2012-10-23
4893
+
4894
+ - Bug Fix: Subscriptions: Fix a bug where subscriptions were not being sent
4895
+ from the blog.
4896
+ - Bug Fix: Twitter: Fix a bug where the Twitter username was being saved as
4897
+ blank.
4898
+ - Bug Fix: Fix a bug where Contact Form notification emails were not being
4899
+ sent.
4900
+
4901
+ ## [1.8.2] - 2012-10-04
4902
+
4903
+ - Bug Fix: Subscriptions: Fix a bug where subscriptions were not sent for
4904
+ posts and comments written by some authors.
4905
+ - Bug Fix: Widgets: Fix CSS that was uglifying some themes (like P2).
4906
+ - Bug Fix: Widgets: Improve Top Posts and Pages styling.
4907
+ - Bug Fix: Custom CSS: Make the default "Welcome" message translatable.
4908
+ - Bug Fix: Fix Lithuanian translation.
4909
+
4910
+ ## [1.8.1] - 2012-09-28
4911
+
4912
+ - Bug Fix: Stats: Fixed a bug preventing some users from viewing stats.
4913
+ - Bug Fix: Mobile Theme: Fixed some disabled toolbar buttons.
4914
+ - Bug Fix: Top Posts widget: Fixed a bug preventing the usage of the Top Posts
4915
+ widget.
4916
+ - Bug Fix: Mobile Theme: Fixed a bug that broke some sites when the
4917
+ Subscriptions module was not enabled and the Mobile Theme module was enabled.
4918
+ - Bug Fix: Mobile Theme: Made mobile app promos in the Mobile Theme footer
4919
+ opt-in.
4920
+ - Bug Fix: Twitter Widget: A fix to prevent malware warnings.
4921
+ - Bug Fix: Mobile Theme: Fixed a bug that caused errors for some users with
4922
+ custom header images.
4923
+
4924
+ ## [1.8] - 2012-09-27
4925
+
4926
+ - Enhancement: Mobile Theme: Automatically serve a slimmed down version of
4927
+ your site to users on mobile devices.
4928
+ - Enhancement: Multiuser: Allow multiple users to link their accounts to
4929
+ WordPress.com accounts.
4930
+ - Enhancement: Custom CSS: Added support for object-fit, object-position,
4931
+ transition, and filter properties.
4932
+ - Enhancement: Twitter Widget: Added Follow button
4933
+ - Enhancement: Widgets: Added Top Posts and Pages widget
4934
+ - Enhancement: Mobile Push Notifications: Added support for mobile push
4935
+ notifications on new comments.
4936
+ - Enhancement: VideoPress: Shortcodes now support the HD option, for default
4937
+ HD playback.
4938
+ - Bug Fix: Twitter Widget: Fixed tweet permalinks in the Twitter widget
4939
+ - Bug Fix: Custom CSS: @import rules and external images are no longer
4940
+ stripped out of custom CSS
4941
+ - Bug Fix: Custom CSS: Fixed warnings and notices displayed in debug mode
4942
+ - Bug Fix: Sharing: Fixed double-encoding of image URLs
4943
+ - Bug Fix: Sharing: Fix Google +1 button HTML validation issues (again :))
4944
+ - Bug Fix: Gravatar Profile Widget: Reduce size of header margins
4945
+
4946
+ ## [1.7] - 2012-08-23
4947
+
4948
+ - Enhancement: CSS Editor: Customize your site's design without modifying your
4949
+ theme.
4950
+ - Enhancement: Comments: Submit the comment within the iframe. No more full
4951
+ page load to jetpack.wordpress.com.
4952
+ - Enhancement: Sharing: Share counts for Twitter, Facebook, LinkedIn
4953
+ - Enhancement: Sharing: Improve styling
4954
+ - Enhancement: Sharing: Add support for ReCaptcha
4955
+ - Enhancement: Sharing: Better extensability through filters
4956
+ - Enhancement: Widgets: Twitter: Attempt to reduce errors by storing a long
4957
+ lasting copy of the data. Thanks, kareldonk :)
4958
+ - Regression Fix: Sharing: Properly store and display the sharing label
4959
+ option's default value.
4960
+ - Bug Fix: Contact Form: remove worse-than-useless nonce.
4961
+ - Bug Fix: Subscriptions: remove worse-than-useless nonce.
4962
+ - Bug Fix: Sharing: Don't show sharing buttons twice on attachment pages.
4963
+ - Bug Fix: Sharing: Increase width of Spanish Like button for Facebook.
4964
+ - Bug Fix: Sharing: Use the correct URL to the throbber.
4965
+ - Bug Fix: Stats: Fix notice about undefined variable $alt
4966
+ - Bug Fix: Subscriptions: Make Subscriptions module obey the settings of the
4967
+ Settngs -> Discussion checkboxes for Follow Blog/Comments
4968
+ - Bug Fix: Shortcodes: VideoPress: Compatibility with the latest version of
4969
+ VideoPress
4970
+ - Bug Fix: Shortcodes: Audio: Include JS File for HTML5 audio player
4971
+ - Bug Fix: Hovercards: Improve cache handling.
4972
+ - Bug Fix: Widgets: Gravatar Profle: Correctly display service icons in edge
4973
+ cases.
4974
+ - Bug Fix: Widgets: Gravatar Profle: Prevent ugly "flash" of too-large image
4975
+ when page first loads on some sites
4976
+ - Bug Fix: Carousel: CSS Compatibility with more themes.
4977
+
4978
+ ## 1.6.1 - 2012-08-04
4979
+
4980
+ - Bug Fix: Prevent Fatal error under certain conditions in sharing module
4981
+ - Bug Fix: Add cachebuster to sharing.css
4982
+ - Bug Fix: Disable via for Twitter until more robust code is in place
4983
+
4984
+ ## [1.6] - 2012-08-02
4985
+
4986
+ - Enhancement: Carousel: Better image resolution selection based on available
4987
+ width/height.
4988
+ - Enhancement: Carousel: Load image caption, metadata, comments, et alii when
4989
+ a slide is clicked to switch to instead of waiting.
4990
+ - Enhancement: Carousel: Added a "Comment" button and handling to scroll to
4991
+ and focus on comment textarea.
4992
+ - Enhancement: Widgets: Facebook Likebox now supports a height parameter and a
4993
+ better width parameter.
4994
+ - Enhancement: Widgets: Better feedback when widgets are not set up properly.
4995
+ - Enhancement: Shortcodes: Google Maps shortcode now supports percentages in
4996
+ the width.
4997
+ - Enhancement: Shortcodes: Update Polldaddy shortcode for more efficient
4998
+ Javascript libraries.
4999
+ - Enhancement: Shortcodes: Youtube shortcode now has playlist support.
5000
+ - Enhancement: Add Gravatar Profile widget.
5001
+ - Enhancement: Update Sharedaddy to latest version, including Pinterest
5002
+ support.
5003
+ - Enhancement: Retinize Jetpack and much of WordPress.
5004
+ - Bug Fix: Shortcodes: Fix Audio shortcode color parameter and rename encoding
5005
+ function.
5006
+ - Bug Fix: Shortcodes: Don't output HTML 5 version of the Audio shortcode
5007
+ because of a bug with Google Reader.
5008
+ - Bug Fix: Jetpack Comments: Don't overlead the addComments object if it
5009
+ doesn't exist. Fixes spacing issue with comment form.
5010
+ - Bug Fix: Contact Form: If send_to_editor() exists, use it. Fixes an IE9 text
5011
+ area issue.
5012
+
5013
+ ## [1.5] - 2012-07-31
5014
+
5015
+ - Enhancement: Add Gallery Carousel feature
5016
+ - Note: the Carousel module bundles http://fgnass.github.com/spin.js/ (MIT
5017
+ license)
5018
+
5019
+ ## 1.4.2 - 2012-06-20
5020
+
5021
+ - Bug Fix: Jetpack Comments: Add alternative Javascript event listener for
5022
+ Internet 8 users.
5023
+ - Enhancement: Remove more PHP 4 backwards-compatible code (WordPress
5024
+ andJetpack only support PHP 5).
5025
+ - Enhancement: Remove more WordPress 3.1 and under backwards-compatible code.
5026
+
5027
+ ## 1.4.1 - 2012-06-15
5028
+
5029
+ - Bug Fix: Jetpack Comments / Subscriptions: Add checkboxes and logic control
5030
+ for the Subscription checkboxes.
5031
+
5032
+ ## [1.4] - 2012-06-14
5033
+
5034
+ - Enhancement: Add Jetpack Comments feature.
5035
+ - Bug Fix: Sharing: Make the sharing_label translatable.
5036
+ - Bug Fix: Sharing: Fixed the file type on the LinkedIn graphic.
5037
+ - Bug Fix: Sharing: Fixes for the Faceboox Like button language locales.
5038
+ - Bug Fix: Sharing: Updates for the "more" button when used with touch screen
5039
+ devices.
5040
+ - Bug Fix: Sharing: Properly scope the More button so that multiple More
5041
+ buttons on a page behave properly.
5042
+ - Bug Fix: Shortcodes: Update the YouTube and Audio shortcodes to better
5043
+ handle spaces in the URLs.
5044
+ - Bug Fix: Shortcodes: Make the YouTube shortcode respect embed settings in
5045
+ Settings -> Media when appropriate.
5046
+ - Bug Fix: Shortcodes: Removed the Slide.com shortcode; Slide.com no longer
5047
+ exists.
5048
+ - Bug Fix: Shortcodes: Match both http and https links in the [googlemaps]
5049
+ shortcode.
5050
+ - Bug Fix: After the Deadline: Code clean up and removal of inconsistencies.
5051
+
5052
+ ## 1.3.4 - 2012-05-24
5053
+
5054
+ - Bug Fix: Revert changes to the top level menu that are causing problems.
5055
+
5056
+ ## 1.3.3 - 2012-05-22
5057
+
5058
+ - Bug Fix: Fix notices caused by last update
5059
+
5060
+ ## 1.3.2 - 2012-05-22
5061
+
5062
+ - Bug Fix: Fix Jetpack menu so that Akismet and VaultPress submenus show up.
5063
+
5064
+ ## 1.3.1 - 2012-05-22
5065
+
5066
+ - Enhancement: Add a new widget, the Facebook Likebox
5067
+ - Bug Fix: Sharing: Sharing buttons can now be used on custom post types.
5068
+ - Bug Fix: Contact Forms: Make Contact Forms widget shortcode less aggressive
5069
+ about the shortcodes it converts.
5070
+ - Bug Fix: Ensure contact forms are parsed correctly in text widgets.
5071
+ - Bug Fix: Connection notices now only appear on the Dashboard and plugin
5072
+ page.
5073
+ - Bug Fix: Connection notices are now dismissable if Jetpack is not network
5074
+ activated.
5075
+ - Bug Fix: Subscriptions: Fix an issue that was causing errors with new
5076
+ BuddyPress forum posts.
5077
+
5078
+ ## [1.3] - 2012-04-25
5079
+
5080
+ - Enhancement: Add Contact Forms feature. Formerly Grunion Contact Forms.
5081
+ - Bug Fix: Tweak YouTube autoembedder to catch more YouTube URLs.
5082
+ - Bug Fix: Correctly load the Sharing CSS files.
5083
+
5084
+ ## 1.2.4 - 2012-04-06
5085
+
5086
+ - Bug Fix: Fix rare bug with static front pages
5087
+
5088
+ ## [1.2.3] - 2012-04-05
5089
+
5090
+ - Enhancement: Twitter Widget: Expand t.co URLs
5091
+ - Bug Fix: Various PHP Notices.
5092
+ - Bug Fix: WordPress Deprecated `add_contextual_help()` notices
5093
+ - Bug Fix: Don't display unimportant DB errors when processing Jetpack nonces
5094
+ - Bug Fix: Correctly sync data during certain MultiSite cases.
5095
+ - Bug Fix: Stats: Allow sparkline img to load even when there is a DB upgrade.
5096
+ - Bug Fix: Stats: Replace "loading title" with post title regardless of type
5097
+ and status.
5098
+ - Bug Fix: Stats: Avoid edge case infinite redirect for `show_on_front=page`
5099
+ sites where the `home_url()` conatins uppercase letters.
5100
+ - Bug Fix: Subscriptions: Don't send subscriptions if the feature is turned
5101
+ off in Jetpack.
5102
+ - Bug Fix: Subscriptions: Fix pagination of subscribers.
5103
+ - Bug Fix: Subscriptions: Sync data about categories/tags as well to improve
5104
+ subscription emails.
5105
+ - Bug Fix: Subscriptions: Better styling for the subscription success message.
5106
+ - Bug Fix: Shortcodes: Support for multiple Google Maps in one post. Support
5107
+ for all Google Maps URLs.
5108
+ - Bug Fix: Shortcodes: Improved support for youtu.be URLs
5109
+ - Bug Fix: Shortcodes: Improved Vimeo embeds.
5110
+ - Bug Fix: Sharing: Switch to the 20px version of Google's +1 button for
5111
+ consistency.
5112
+ - Bug Fix: Sharing: Fix Google +1 button HTML validation issues.
5113
+ - Bug Fix: Sharing: Disable sharing buttons during preview.
5114
+ - Bug Fix: Spelling and Grammar: Properly handle proofreading settings.
5115
+ - Bug Fix: Spelling and Grammar: Don't prevent post save when proofreading
5116
+ service is unavailable.
5117
+
5118
+ ## [1.2.2] - 2011-12-06
5119
+
5120
+ - Bug Fix: Ensure expected modules get reactivated correctly during upgrade.
5121
+ - Bug Fix: Don't send subscription request during spam comment submission.
5122
+ - Bug Fix: Increased theme compatibility for subscriptions.
5123
+ - Bug Fix: Remove reference to unused background image.
5124
+
5125
+ ## [1.2.1] - 2011-11-18
5126
+
5127
+ - Bug Fix: Ensure Site Stats menu item is accessible.
5128
+ - Bug Fix: Fixed errors displayed during some upgrades.
5129
+ - Bug Fix: Fix inaccurate new modules "bubble" in menu for some upgrades.
5130
+ - Bug Fix: Fix VaultPress detection.
5131
+ - Bug Fix: Fix link to http://jetpack.com/faq/
5132
+
5133
+ ## [1.2] - 2011-11-17
5134
+
5135
+ - Enhancement: Add Subscriptions: Subscribe to site's posts and posts'
5136
+ comments.
5137
+ - Enhancement: Add Google Maps shortcode.
5138
+ - Enhancement: Add Image Widget.
5139
+ - Enhancement: Add RSS Links Widget.
5140
+ - Enhancement: Stats: More responsive stats dashboard.
5141
+ - Enhancement: Shortcodes: Google Maps, VideoPress
5142
+ - Enhancement: Sharing: Google+, LinkedIn
5143
+ - Enhancement: Enhanced Distribution: Added Jetpack blogs to
5144
+ https://en.wordpress.com/firehose/
5145
+ - Bug Fix: Spelling and Grammar: WordPress 3.3 compatibility.
5146
+ - Bug Fix: Translatable module names/descriptinos.
5147
+ - Bug Fix: Correctly detect host's ability to make outgoing HTTPS requests.
5148
+
5149
+ ## [1.1.3] - 2011-07-19
5150
+
5151
+ - Bug Fix: Increase compatibility with WordPress 3.2's new
5152
+ `wp_remote_request()` API.
5153
+ - Bug Fix: Increase compatibility with Admin Bar.
5154
+ - Bug Fix: Stats: Improved performance when creating new posts.
5155
+ - Bug Fix: Twitter Widget: Fix PHP Notice.
5156
+ - Bug Fix: Sharedaddy: Fix PHP Warning.
5157
+ - Enhancement: AtD: Add spellcheck button to Distraction Free Writing screen.
5158
+ - Translations: Added: Bosnian, Danish, German, Finnish, Galician, Croatian,
5159
+ Indonesian, Macedonian, Norwegian (Bokmål), Russian, Slovak, Serbian, Swedish
5160
+ - Translations: Updated: Spanish, French, Italian, Japanese, Brazilian
5161
+ Portuguese, Portuguese
5162
+
5163
+ ## [1.1.2] - 2011-07-06
5164
+
5165
+ - Bug Fix: Note, store, and keep fresh the time difference between the Jetpack
5166
+ site's host and the Jetpack servers at WordPress.com. Should fix all
5167
+ "timestamp is too old" errors.
5168
+ - Bug Fix: Improve experience on hosts capable of making outgoing HTTPS
5169
+ requests but incapable of verifying SSL certificates. Fixes some
5170
+ "register_http_request_failed", "error setting certificate verify locations",
5171
+ and "error:14090086:lib(20):func(144):reason(134)" errors.
5172
+ - Bug Fix: Better fallback when WordPress.com is experiencing problems.
5173
+ - Bug Fix: It's Jetpack, not JetPack :)
5174
+ - Bug Fix: Remove PHP Warnings/Notices.
5175
+ - Bug Fix: AtD: JS based XSS bug. Props markjaquith.
5176
+ - Bug Fix: AtD: Prevent stored configuration options from becoming corrupted.
5177
+ - Bug Fix: Stats: Prevent missing old stats for some blogs.
5178
+ - Bug Fix: Twitter Widget: Fix formatting of dates/times in PHP4.
5179
+ - Bug Fix: Twitter Widget: Cache the response from Twitter to prevent "Twitter
5180
+ did not respond. Please wait a few minutes and refresh this page." errors.
5181
+ - Enhancement: Slightly improved RTL experience. Jetpack 1.2 should include a
5182
+ much better fix.
5183
+ - Enhancement: Sharedaddy: Improve localization for Facebook Like button.
5184
+ - Enhancement: Gravatar Hovercards: Improved experience for Windows browsers.
5185
+
5186
+ ## [1.1.1] - 2011-03-19
5187
+
5188
+ - Bug Fix: Improve experience on hosts capable of making outgoing HTTPS
5189
+ requests but incapable of verifying SSL certificates. Fixes most "Your Jetpack
5190
+ has a glitch. Connecting this site with WordPress.com is not possible. This
5191
+ usually means your site is not publicly accessible (localhost)." errors.
5192
+ - Bug Fix: Sharedaddy: Fatal error under PHP4. Disable on PHP4 hosts.
5193
+ - Bug Fix: Stats: Fatal error under PHP4. Rewrite to be PHP4 compatible.
5194
+ - Bug Fix: Stats: Fatal error on some sites modifying/removing core WordPress
5195
+ user roles. Add sanity check.
5196
+ - Bug Fix: Stats: Replace debug output with error message in dashboard widget.
5197
+ - Bug Fix: Stats: Rework hook priorities so that stats views are always
5198
+ counted even if a plugin (such as Paginated Comments) bails early on
5199
+ template_redirect.
5200
+ - Bug Fix: Identify the module that connot be activated to fatal error during
5201
+ single module activation.
5202
+ - Bug Fix: `glob()` is not always available. Use `opendir()`, `readdir()`,
5203
+ `closedir()`.
5204
+ - Bug Fix: Send permalink options to Stats Server for improved per post
5205
+ permalink calculation.
5206
+ - Bug Fix: Do not hide Screen Options and Help links during Jetpack call to
5207
+ connect.
5208
+ - Bug Fix: Improve readablitiy of text.
5209
+ - Bug Fix: AtD: Correctly store/display options.
5210
+ - Enhancement: Output more informative error messages.
5211
+ - Enhancement: Improve CSS styling.
5212
+ - Enhancement: Stats: Query all post types and statuses when getting posts for
5213
+ stats reports.
5214
+ - Enhancement: Improve performance of LaTeX URLs be using cookieless CDN.
5215
+
5216
+ ## [1.1] - 2011-03-09
5217
+
5218
+ - Initial release
5219
+
5220
+ [9.5]: https://wp.me/p1moTy-uSv
5221
+ [9.4]: https://wp.me/p1moTy-tOv
5222
+ [9.3]: https://wp.me/p1moTy-sgZ
5223
+ [9.2]: https://wp.me/p1moTy-scn
5224
+ [9.1]: https://wp.me/p1moTy-s0E
5225
+ [9.0]: https://wp.me/p1moTy-rLy
5226
+ [8.9]: https://wp.me/p1moTy-rAs
5227
+ [8.8]: https://wp.me/p1moTy-rs2
5228
+ [8.7]: https://wp.me/p1moTy-qiH
5229
+ [8.6]: https://wp.me/p1moTy-pb1
5230
+ [8.5]: https://wp.me/p1moTy-p00
5231
+ [8.4]: https://wp.me/p1moTy-oPp
5232
+ [8.3]: https://wp.me/p1moTy-nZT
5233
+ [8.2]: https://wp.me/p1moTy-mVu
5234
+ [8.1.1]: https://wp.me/p1moTy-lJT
5235
+ [8.1]: https://wp.me/p1moTy-lJT
5236
+ [8.0]: https://wp.me/p1moTy-lGH
5237
+ [7.9.1]: https://wp.me/p1moTy-lHA
5238
+ [7.9]: https://wp.me/p1moTy-lzt
5239
+ [7.8]: https://wp.me/p1moTy-lvE
5240
+ [7.7]: https://wp.me/p1moTy-log
5241
+ [7.6]: https://wp.me/p1moTy-ljs
5242
+ [7.5.3]: https://wp.me/p1moTy-k9A
5243
+ [7.5.2]: https://wp.me/p1moTy-k9A
5244
+ [7.5.1]: https://wp.me/p1moTy-k9A
5245
+ [7.5]: https://wp.me/p1moTy-k9A
5246
+ [7.4.1]: https://wp.me/p1moTy-kvz
5247
+ [7.4]: https://wp.me/p1moTy-jgZ
5248
+ [7.3.1]: https://wp.me/p1moTy-jgO
5249
+ [7.3]: https://wp.me/p1moTy-ipR
5250
+ [7.2.1]: https://wp.me/p1moTy-h7o
5251
+ [7.2]: https://wp.me/p1moTy-foe
5252
+ [7.1.1]: https://wp.me/p1moTy-foJ
5253
+ [7.1]: https://wp.me/p1moTy-e9x
5254
+ [7.0.1]: https://wp.me/p1moTy-eFX
5255
+ [7.0]: https://wp.me/p1moTy-dqO
5256
+ [6.9]: https://wp.me/p1moTy-cEZ
5257
+ [6.8.1]: https://wp.me/p1moTy-d3t
5258
+ [6.8]: https://wp.me/p1moTy-cee
5259
+ [6.7]: https://wp.me/p1moTy-aEq
5260
+ [6.6.1]: https://wp.me/p1moTy-aEt
5261
+ [6.6]: https://wp.me/p1moTy-aa1
5262
+ [6.5]: https://wp.me/p1moTy-a7U
5263
+ [6.4.2]: https://wp.me/p1moTy-9pL
5264
+ [6.4.1]: https://wp.me/p1moTy-9pc
5265
+ [6.4]: https://wp.me/p1moTy-9md
5266
+ [6.3.3]: https://wp.me/p1moTy-9n0
5267
+ [6.3.2]: https://wp.me/p1moTy-96E
5268
+ [6.3]: https://wp.me/p1moTy-8ag
5269
+ [6.2.1]: https://wp.me/p1moTy-8am
5270
+ [6.2]: https://wp.me/p1moTy-88v
5271
+ [6.1.1]: https://wp.me/p1moTy-85t
5272
+ [6.1]: https://wp.me/p1moTy-7Sj
5273
+ [6.0]: https://wp.me/p1moTy-7xM
5274
+ [5.9]: https://wp.me/p1moTy-7mW
5275
+ [5.8]: https://wp.me/p1moTy-731
5276
+ [5.7.1]: https://wp.me/p1moTy-7aS
5277
+ [5.7]: https://wp.me/p1moTy-6FR
5278
+ [5.6.1]: https://wp.me/p1moTy-6Jk
5279
+ [5.6]: https://wp.me/p1moTy-6zt
5280
+ [5.5.1]: https://wp.me/p1moTy-6Bd
5281
+ [5.5]: https://wp.me/p1moTy-6rk
5282
+ [5.4]: http://wp.me/p1moTy-67V
5283
+ [5.3]: http://wp.me/p1moTy-5Xv
5284
+ [5.2.1]: https://jetpack.com/?p=22686
5285
+ [5.2]: https://jetpack.com/?p=22509
5286
+ [5.1]: https://jetpack.com/?p=20888
5287
+ [5.0]: http://wp.me/p1moTy-5hK
5288
+ [4.9]: http://wp.me/p1moTy-4Rl
5289
+ [4.8.2]: http://wp.me/p1moTy-4P0
5290
+ [4.8.1]: http://wp.me/p1moTy-4N5
5291
+ [4.8]: http://wp.me/p1moTy-4gA
5292
+ [4.7.1]: http://wp.me/p1moTy-48Y
5293
+ [4.7]: http://wp.me/p1moTy-46L
5294
+ [4.6]: http://wp.me/p1moTy-40g
5295
+ [4.5]: http://wp.me/p1moTy-3Kc
5296
+ [4.4.2]: http://wp.me/p1moTy-3JR
5297
+ [4.4.1]: http://wp.me/p1moTy-3JR
5298
+ [4.4]: http://wp.me/p5U9nj-2Ow
5299
+ [4.1]: http://wp.me/p1moTy-3jd
5300
+ [4.0.4]: http://wp.me/p1moTy-3eT
5301
+ [4.0.3]: http://wp.me/p1moTy-3hm
5302
+ [4.0]: http://wp.me/p1moTy-3dL
5303
+ [3.9.6]: http://wp.me/p1moTy-3bz
5304
+ [3.9.5]: http://wp.me/p1moTy-3bz
5305
+ [3.9.4]: http://wp.me/p1moTy-396
5306
+ [3.9.3]: http://wp.me/p1moTy-396
5307
+ [3.9.2]: http://wp.me/p1moTy-2Ei
5308
+ [3.9]: http://wp.me/p1moTy-29R
5309
+ [3.8.2]: http://wp.me/p1moTy-26v
5310
+ [3.8.1]: http://wp.me/p1moTy-23V
5311
+ [3.8.0]: http://wp.me/p1moTy-1VN
5312
+ [3.7.2]: http://wp.me/p1moTy-1LB
5313
+ [3.7.1]: http://wp.me/p1moTy-1LB
5314
+ [3.7.0]: http://wp.me/p1moTy-1JB
5315
+ [3.6]: http://wp.me/p1moTy-1ua
5316
+ [3.5]: http://wp.me/p1moTy-1jF
5317
+ [3.4.3]: http://wp.me/p1moTy-1jb
5318
+ [3.4.2]: http://wp.me/p1moTy-1j6
5319
+ [3.4]: http://wp.me/p1moTy-1fU
5320
+ [3.3]: http://wp.me/p1moTy-1aF
5321
+ [3.2]: http://wp.me/p1moTy-181
5322
+ [3.1]: http://wp.me/p1moTy-129
5323
+ [3.0]: http://wp.me/p1moTy-Wi
5324
+ [2.9.3]: http://wp.me/p1moTy-U2
5325
+ [2.9]: http://wp.me/p1moTy-RN
5326
+ [2.8]: http://wp.me/p1moTy-Pd
5327
+ [2.7]: http://wp.me/p1moTy-Mk
5328
+ [2.6]: http://wp.me/p1moTy-KE
5329
+ [2.5]: http://wp.me/p1moTy-xS
5330
+ [2.4]: http://wp.me/p1moTy-wv
5331
+ [2.3.5]: http://wp.me/p1moTy-vf
5332
+ [2.3.4]: http://wp.me/p1moTy-uL
5333
+ [2.3.3]: http://wp.me/p1moTy-uv
5334
+ [2.3.2]: http://wp.me/p1moTy-uv
5335
+ [2.3.1]: http://wp.me/p1moTy-t9
5336
+ [2.3]: http://wp.me/p1moTy-rX
5337
+ [2.2.5]: http://wp.me/p1moTy-p8
5338
+ [2.2.4]: http://wp.me/p1moTy-oU
5339
+ [2.2.3]: http://wp.me/p1moTy-oR
5340
+ [2.2.1]: http://wp.me/p1moTy-ob
5341
+ [2.2]: http://wp.me/p1moTy-ns
5342
+ [2.1.1]: http://wp.me/p1moTy-ng
5343
+ [2.1]: http://wp.me/p1moTy-m3
5344
+ [2.0.4]: http://wp.me/p1moTy-lT
5345
+ [2.0.3]: http://wp.me/p1moTy-lJ
5346
+ [2.0.2]: http://wp.me/p1moTy-lu
5347
+ [2.0.1]: http://wp.me/p1moTy-lc
5348
+ [2.0]: http://wp.me/p1moTy-jg
5349
+ [1.9.1]: http://wp.me/p1moTy-iC
5350
+ [1.9]: http://wp.me/p1moTy-hC
5351
+ [1.8.2]: http://wp.me/p1moTy-gI
5352
+ [1.8.1]: http://wp.me/p1moTy-gx
5353
+ [1.8]: http://wp.me/p1moTy-fV
5354
+ [1.7]: http://wp.me/p1moTy-eq
5355
+ [1.6]: http://wp.me/p1moTy-e0
5356
+ [1.5]: http://wp.me/p1moTy-d7
5357
+ [1.4]: http://wp.me/p1moTy-cz
5358
+ [1.3]: http://wp.me/p1moTy-bq
5359
+ [1.2.3]: http://wp.me/p1moTy-b4
5360
+ [1.2.2]: http://wp.me/p1moTy-ax
5361
+ [1.2.1]: http://wp.me/p1moTy-9H
5362
+ [1.2]: http://wp.me/p1moTy-8x
5363
+ [1.1.3]: http://wp.me/p1moTy-90
5364
+ [1.1.2]: http://wp.me/p1moTy-8B
5365
+ [1.1.1]: http://wp.me/p1moTy-8i
5366
+ [1.1]: http://wp.me/p1moTy-7R
CODE-OF-CONDUCT.md DELETED
@@ -1,28 +0,0 @@
1
- # Contributor Code of Conduct
2
-
3
- As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
-
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
6
-
7
- Examples of unacceptable behavior by participants include:
8
-
9
- * The use of sexualized language or imagery
10
- * Personal attacks
11
- * Trolling or insulting/derogatory comments
12
- * Public or private harassment
13
- * Publishing other's private information, such as physical or electronic addresses, without explicit permission
14
- * Other unethical or unprofessional conduct
15
-
16
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
17
-
18
- By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
19
-
20
- This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
21
-
22
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing a project maintainer via [this contact form](https://developer.wordpress.com/contact/?g21-subject=Code%20of%20Conduct), with a subject that includes `Code of Conduct`. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
23
-
24
-
25
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.3.0, available at [http://contributor-covenant.org/version/1/3/0/][version]
26
-
27
- [homepage]: http://contributor-covenant.org
28
- [version]: http://contributor-covenant.org/version/1/3/0/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
LICENSE.txt ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This program is free software; you can redistribute it and/or modify
2
+ it under the terms of the GNU General Public License as published by
3
+ the Free Software Foundation; either version 2 of the License, or
4
+ (at your option) any later version.
5
+
6
+ This program is distributed in the hope that it will be useful,
7
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
8
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
+ GNU General Public License for more details.
10
+
11
+ You should have received a copy of the GNU General Public License
12
+ along with this program; if not, write to the Free Software
13
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+
15
+
16
+ ===================================
17
+
18
+
19
+ GNU GENERAL PUBLIC LICENSE
20
+ Version 2, June 1991
21
+
22
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
23
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24
+ Everyone is permitted to copy and distribute verbatim copies
25
+ of this license document, but changing it is not allowed.
26
+
27
+ Preamble
28
+
29
+ The licenses for most software are designed to take away your
30
+ freedom to share and change it. By contrast, the GNU General Public
31
+ License is intended to guarantee your freedom to share and change free
32
+ software--to make sure the software is free for all its users. This
33
+ General Public License applies to most of the Free Software
34
+ Foundation's software and to any other program whose authors commit to
35
+ using it. (Some other Free Software Foundation software is covered by
36
+ the GNU Lesser General Public License instead.) You can apply it to
37
+ your programs, too.
38
+
39
+ When we speak of free software, we are referring to freedom, not
40
+ price. Our General Public Licenses are designed to make sure that you
41
+ have the freedom to distribute copies of free software (and charge for
42
+ this service if you wish), that you receive source code or can get it
43
+ if you want it, that you can change the software or use pieces of it
44
+ in new free programs; and that you know you can do these things.
45
+
46
+ To protect your rights, we need to make restrictions that forbid
47
+ anyone to deny you these rights or to ask you to surrender the rights.
48
+ These restrictions translate to certain responsibilities for you if you
49
+ distribute copies of the software, or if you modify it.
50
+
51
+ For example, if you distribute copies of such a program, whether
52
+ gratis or for a fee, you must give the recipients all the rights that
53
+ you have. You must make sure that they, too, receive or can get the
54
+ source code. And you must show them these terms so they know their
55
+ rights.
56
+
57
+ We protect your rights with two steps: (1) copyright the software, and
58
+ (2) offer you this license which gives you legal permission to copy,
59
+ distribute and/or modify the software.
60
+
61
+ Also, for each author's protection and ours, we want to make certain
62
+ that everyone understands that there is no warranty for this free
63
+ software. If the software is modified by someone else and passed on, we
64
+ want its recipients to know that what they have is not the original, so
65
+ that any problems introduced by others will not reflect on the original
66
+ authors' reputations.
67
+
68
+ Finally, any free program is threatened constantly by software
69
+ patents. We wish to avoid the danger that redistributors of a free
70
+ program will individually obtain patent licenses, in effect making the
71
+ program proprietary. To prevent this, we have made it clear that any
72
+ patent must be licensed for everyone's free use or not licensed at all.
73
+
74
+ The precise terms and conditions for copying, distribution and
75
+ modification follow.
76
+
77
+ GNU GENERAL PUBLIC LICENSE
78
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
79
+
80
+ 0. This License applies to any program or other work which contains
81
+ a notice placed by the copyright holder saying it may be distributed
82
+ under the terms of this General Public License. The "Program", below,
83
+ refers to any such program or work, and a "work based on the Program"
84
+ means either the Program or any derivative work under copyright law:
85
+ that is to say, a work containing the Program or a portion of it,
86
+ either verbatim or with modifications and/or translated into another
87
+ language. (Hereinafter, translation is included without limitation in
88
+ the term "modification".) Each licensee is addressed as "you".
89
+
90
+ Activities other than copying, distribution and modification are not
91
+ covered by this License; they are outside its scope. The act of
92
+ running the Program is not restricted, and the output from the Program
93
+ is covered only if its contents constitute a work based on the
94
+ Program (independent of having been made by running the Program).
95
+ Whether that is true depends on what the Program does.
96
+
97
+ 1. You may copy and distribute verbatim copies of the Program's
98
+ source code as you receive it, in any medium, provided that you
99
+ conspicuously and appropriately publish on each copy an appropriate
100
+ copyright notice and disclaimer of warranty; keep intact all the
101
+ notices that refer to this License and to the absence of any warranty;
102
+ and give any other recipients of the Program a copy of this License
103
+ along with the Program.
104
+
105
+ You may charge a fee for the physical act of transferring a copy, and
106
+ you may at your option offer warranty protection in exchange for a fee.
107
+
108
+ 2. You may modify your copy or copies of the Program or any portion
109
+ of it, thus forming a work based on the Program, and copy and
110
+ distribute such modifications or work under the terms of Section 1
111
+ above, provided that you also meet all of these conditions:
112
+
113
+ a) You must cause the modified files to carry prominent notices
114
+ stating that you changed the files and the date of any change.
115
+
116
+ b) You must cause any work that you distribute or publish, that in
117
+ whole or in part contains or is derived from the Program or any
118
+ part thereof, to be licensed as a whole at no charge to all third
119
+ parties under the terms of this License.
120
+
121
+ c) If the modified program normally reads commands interactively
122
+ when run, you must cause it, when started running for such
123
+ interactive use in the most ordinary way, to print or display an
124
+ announcement including an appropriate copyright notice and a
125
+ notice that there is no warranty (or else, saying that you provide
126
+ a warranty) and that users may redistribute the program under
127
+ these conditions, and telling the user how to view a copy of this
128
+ License. (Exception: if the Program itself is interactive but
129
+ does not normally print such an announcement, your work based on
130
+ the Program is not required to print an announcement.)
131
+
132
+ These requirements apply to the modified work as a whole. If
133
+ identifiable sections of that work are not derived from the Program,
134
+ and can be reasonably considered independent and separate works in
135
+ themselves, then this License, and its terms, do not apply to those
136
+ sections when you distribute them as separate works. But when you
137
+ distribute the same sections as part of a whole which is a work based
138
+ on the Program, the distribution of the whole must be on the terms of
139
+ this License, whose permissions for other licensees extend to the
140
+ entire whole, and thus to each and every part regardless of who wrote it.
141
+
142
+ Thus, it is not the intent of this section to claim rights or contest
143
+ your rights to work written entirely by you; rather, the intent is to
144
+ exercise the right to control the distribution of derivative or
145
+ collective works based on the Program.
146
+
147
+ In addition, mere aggregation of another work not based on the Program
148
+ with the Program (or with a work based on the Program) on a volume of
149
+ a storage or distribution medium does not bring the other work under
150
+ the scope of this License.
151
+
152
+ 3. You may copy and distribute the Program (or a work based on it,
153
+ under Section 2) in object code or executable form under the terms of
154
+ Sections 1 and 2 above provided that you also do one of the following:
155
+
156
+ a) Accompany it with the complete corresponding machine-readable
157
+ source code, which must be distributed under the terms of Sections
158
+ 1 and 2 above on a medium customarily used for software interchange; or,
159
+
160
+ b) Accompany it with a written offer, valid for at least three
161
+ years, to give any third party, for a charge no more than your
162
+ cost of physically performing source distribution, a complete
163
+ machine-readable copy of the corresponding source code, to be
164
+ distributed under the terms of Sections 1 and 2 above on a medium
165
+ customarily used for software interchange; or,
166
+
167
+ c) Accompany it with the information you received as to the offer
168
+ to distribute corresponding source code. (This alternative is
169
+ allowed only for noncommercial distribution and only if you
170
+ received the program in object code or executable form with such
171
+ an offer, in accord with Subsection b above.)
172
+
173
+ The source code for a work means the preferred form of the work for
174
+ making modifications to it. For an executable work, complete source
175
+ code means all the source code for all modules it contains, plus any
176
+ associated interface definition files, plus the scripts used to
177
+ control compilation and installation of the executable. However, as a
178
+ special exception, the source code distributed need not include
179
+ anything that is normally distributed (in either source or binary
180
+ form) with the major components (compiler, kernel, and so on) of the
181
+ operating system on which the executable runs, unless that component
182
+ itself accompanies the executable.
183
+
184
+ If distribution of executable or object code is made by offering
185
+ access to copy from a designated place, then offering equivalent
186
+ access to copy the source code from the same place counts as
187
+ distribution of the source code, even though third parties are not
188
+ compelled to copy the source along with the object code.
189
+
190
+ 4. You may not copy, modify, sublicense, or distribute the Program
191
+ except as expressly provided under this License. Any attempt
192
+ otherwise to copy, modify, sublicense or distribute the Program is
193
+ void, and will automatically terminate your rights under this License.
194
+ However, parties who have received copies, or rights, from you under
195
+ this License will not have their licenses terminated so long as such
196
+ parties remain in full compliance.
197
+
198
+ 5. You are not required to accept this License, since you have not
199
+ signed it. However, nothing else grants you permission to modify or
200
+ distribute the Program or its derivative works. These actions are
201
+ prohibited by law if you do not accept this License. Therefore, by
202
+ modifying or distributing the Program (or any work based on the
203
+ Program), you indicate your acceptance of this License to do so, and
204
+ all its terms and conditions for copying, distributing or modifying
205
+ the Program or works based on it.
206
+
207
+ 6. Each time you redistribute the Program (or any work based on the
208
+ Program), the recipient automatically receives a license from the
209
+ original licensor to copy, distribute or modify the Program subject to
210
+ these terms and conditions. You may not impose any further
211
+ restrictions on the recipients' exercise of the rights granted herein.
212
+ You are not responsible for enforcing compliance by third parties to
213
+ this License.
214
+
215
+ 7. If, as a consequence of a court judgment or allegation of patent
216
+ infringement or for any other reason (not limited to patent issues),
217
+ conditions are imposed on you (whether by court order, agreement or
218
+ otherwise) that contradict the conditions of this License, they do not
219
+ excuse you from the conditions of this License. If you cannot
220
+ distribute so as to satisfy simultaneously your obligations under this
221
+ License and any other pertinent obligations, then as a consequence you
222
+ may not distribute the Program at all. For example, if a patent
223
+ license would not permit royalty-free redistribution of the Program by
224
+ all those who receive copies directly or indirectly through you, then
225
+ the only way you could satisfy both it and this License would be to
226
+ refrain entirely from distribution of the Program.
227
+
228
+ If any portion of this section is held invalid or unenforceable under
229
+ any particular circumstance, the balance of the section is intended to
230
+ apply and the section as a whole is intended to apply in other
231
+ circumstances.
232
+
233
+ It is not the purpose of this section to induce you to infringe any
234
+ patents or other property right claims or to contest validity of any
235
+ such claims; this section has the sole purpose of protecting the
236
+ integrity of the free software distribution system, which is
237
+ implemented by public license practices. Many people have made
238
+ generous contributions to the wide range of software distributed
239
+ through that system in reliance on consistent application of that
240
+ system; it is up to the author/donor to decide if he or she is willing
241
+ to distribute software through any other system and a licensee cannot
242
+ impose that choice.
243
+
244
+ This section is intended to make thoroughly clear what is believed to
245
+ be a consequence of the rest of this License.
246
+
247
+ 8. If the distribution and/or use of the Program is restricted in
248
+ certain countries either by patents or by copyrighted interfaces, the
249
+ original copyright holder who places the Program under this License
250
+ may add an explicit geographical distribution limitation excluding
251
+ those countries, so that distribution is permitted only in or among
252
+ countries not thus excluded. In such case, this License incorporates
253
+ the limitation as if written in the body of this License.
254
+
255
+ 9. The Free Software Foundation may publish revised and/or new versions
256
+ of the General Public License from time to time. Such new versions will
257
+ be similar in spirit to the present version, but may differ in detail to
258
+ address new problems or concerns.
259
+
260
+ Each version is given a distinguishing version number. If the Program
261
+ specifies a version number of this License which applies to it and "any
262
+ later version", you have the option of following the terms and conditions
263
+ either of that version or of any later version published by the Free
264
+ Software Foundation. If the Program does not specify a version number of
265
+ this License, you may choose any version ever published by the Free Software
266
+ Foundation.
267
+
268
+ 10. If you wish to incorporate parts of the Program into other free
269
+ programs whose distribution conditions are different, write to the author
270
+ to ask for permission. For software which is copyrighted by the Free
271
+ Software Foundation, write to the Free Software Foundation; we sometimes
272
+ make exceptions for this. Our decision will be guided by the two goals
273
+ of preserving the free status of all derivatives of our free software and
274
+ of promoting the sharing and reuse of software generally.
275
+
276
+ NO WARRANTY
277
+
278
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
279
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
280
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
281
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
282
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
283
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
284
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
285
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
286
+ REPAIR OR CORRECTION.
287
+
288
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
289
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
290
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
291
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
292
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
293
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
294
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
295
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
296
+ POSSIBILITY OF SUCH DAMAGES.
297
+
298
+ END OF TERMS AND CONDITIONS
299
+
300
+ How to Apply These Terms to Your New Programs
301
+
302
+ If you develop a new program, and you want it to be of the greatest
303
+ possible use to the public, the best way to achieve this is to make it
304
+ free software which everyone can redistribute and change under these terms.
305
+
306
+ To do so, attach the following notices to the program. It is safest
307
+ to attach them to the start of each source file to most effectively
308
+ convey the exclusion of warranty; and each file should have at least
309
+ the "copyright" line and a pointer to where the full notice is found.
310
+
311
+ <one line to give the program's name and a brief idea of what it does.>
312
+ Copyright (C) <year> <name of author>
313
+
314
+ This program is free software; you can redistribute it and/or modify
315
+ it under the terms of the GNU General Public License as published by
316
+ the Free Software Foundation; either version 2 of the License, or
317
+ (at your option) any later version.
318
+
319
+ This program is distributed in the hope that it will be useful,
320
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
321
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
322
+ GNU General Public License for more details.
323
+
324
+ You should have received a copy of the GNU General Public License along
325
+ with this program; if not, write to the Free Software Foundation, Inc.,
326
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
327
+
328
+ Also add information on how to contact you by electronic and paper mail.
329
+
330
+ If the program is interactive, make it output a short notice like this
331
+ when it starts in an interactive mode:
332
+
333
+ Gnomovision version 69, Copyright (C) year name of author
334
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
335
+ This is free software, and you are welcome to redistribute it
336
+ under certain conditions; type `show c' for details.
337
+
338
+ The hypothetical commands `show w' and `show c' should show the appropriate
339
+ parts of the General Public License. Of course, the commands you use may
340
+ be called something other than `show w' and `show c'; they could even be
341
+ mouse-clicks or menu items--whatever suits your program.
342
+
343
+ You should also get your employer (if you work as a programmer) or your
344
+ school, if any, to sign a "copyright disclaimer" for the program, if
345
+ necessary. Here is a sample; alter the names:
346
+
347
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
348
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
349
+
350
+ <signature of Ty Coon>, 1 April 1989
351
+ Ty Coon, President of Vice
352
+
353
+ This General Public License does not permit incorporating your program into
354
+ proprietary programs. If your program is a subroutine library, you may
355
+ consider it more useful to permit linking proprietary applications with the
356
+ library. If this is what you want to do, use the GNU Lesser General
357
+ Public License instead of this License.
SECURITY.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Security Policy
2
+
3
+ Full details of the Automattic Security Policy can be found on [automattic.com](https://automattic.com/security/).
4
+
5
+ ## Supported Versions
6
+
7
+ Generally, only the latest version of Jetpack has continued support. If a critical vulnerability is found in the current version of Jetpack, we may opt to backport any patches to previous versions.
8
+
9
+ ## Reporting a Vulnerability
10
+
11
+ [Jetpack](https://jetpack.com/) is an open-source plugin for WordPress. Our HackerOne program covers the plugin software, as well as a variety of related projects and infrastructure.
12
+
13
+ **For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via the [HackerOne](https://hackerone.com/automattic) portal.**
14
+
15
+ Our most critical targets are:
16
+
17
+ * Jetpack and the Jetpack composer packages (all within this repo)
18
+ * Jetpack.com -- the primary marketing site.
19
+ * cloud.jetpack.com -- a management site.
20
+ * wordpress.com -- the shared management site for both Jetpack and WordPress.com sites.
21
+
22
+ For more targets, see the `In Scope` section on [HackerOne](https://hackerone.com/automattic).
23
+
24
+ _Please note that the **WordPress software is a separate entity** from Automattic. Please report vulnerabilities for WordPress through [the WordPress Foundation's HackerOne page](https://hackerone.com/wordpress)._
25
+
26
+ ## Guidelines
27
+
28
+ We're committed to working with security researchers to resolve the vulnerabilities they discover. You can help us by following these guidelines:
29
+
30
+ * Follow [HackerOne's disclosure guidelines](https://www.hackerone.com/disclosure-guidelines).
31
+ * Pen-testing Production:
32
+ * Please **setup a local environment** instead whenever possible. Most of our code is open source (see above).
33
+ * If that's not possible, **limit any data access/modification** to the bare minimum necessary to reproduce a PoC.
34
+ * **_Don't_ automate form submissions!** That's very annoying for us, because it adds extra work for the volunteers who manage those systems, and reduces the signal/noise ratio in our communication channels.
35
+ * To be eligible for a bounty, all of these guidelines must be followed.
36
+ * Be Patient - Give us a reasonable time to correct the issue before you disclose the vulnerability.
37
+
38
+ We also expect you to comply with all applicable laws. You're responsible to pay any taxes associated with your bounties.
_inc/accessible-focus.js CHANGED
@@ -1,7 +1,7 @@
1
  var keyboardNavigation = false,
2
  keyboardNavigationKeycodes = [ 9, 32, 37, 38, 39, 40 ]; // keyCodes for tab, space, left, up, right, down respectively
3
 
4
- document.addEventListener( 'keydown', function( event ) {
5
  if ( keyboardNavigation ) {
6
  return;
7
  }
@@ -10,7 +10,7 @@ document.addEventListener( 'keydown', function( event ) {
10
  document.documentElement.classList.add( 'accessible-focus' );
11
  }
12
  } );
13
- document.addEventListener( 'mouseup', function() {
14
  if ( ! keyboardNavigation ) {
15
  return;
16
  }
1
  var keyboardNavigation = false,
2
  keyboardNavigationKeycodes = [ 9, 32, 37, 38, 39, 40 ]; // keyCodes for tab, space, left, up, right, down respectively
3
 
4
+ document.addEventListener( 'keydown', function ( event ) {
5
  if ( keyboardNavigation ) {
6
  return;
7
  }
10
  document.documentElement.classList.add( 'accessible-focus' );
11
  }
12
  } );
13
+ document.addEventListener( 'mouseup', function () {
14
  if ( ! keyboardNavigation ) {
15
  return;
16
  }
_inc/blocks/business-hours/view.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '2e5b0a80267c954214fd98cc57763a42');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '70c110e2328cc6e68a7ccd4313a5b6b7');
_inc/blocks/business-hours/view.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}({258:function(e,t,n){n(37),e.exports=n(259)},259:function(e,t,n){"use strict";n.r(t);n(81)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},81:function(e,t,n){}}));
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=401)}({181:function(e,t,n){},401:function(e,t,n){n(53),e.exports=n(402)},402:function(e,t,n){"use strict";n.r(t);n(181)},49:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},53:function(e,t,n){"use strict";n.r(t);n(49)}}));
_inc/blocks/button/view.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '9b263267df02d1d159a6a1773112505c');
_inc/blocks/button/view.css ADDED
@@ -0,0 +1 @@
 
1
+ .amp-wp-article .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-button button{border:inherit}
_inc/blocks/button/view.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=403)}({403:function(e,t,n){n(53),e.exports=n(404)},404:function(e,t,n){"use strict";n.r(t);n(405)},405:function(e,t,n){},49:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},53:function(e,t,n){"use strict";n.r(t);n(49)}}));
_inc/blocks/button/view.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ .amp-wp-article .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-button button{border:inherit}
_inc/blocks/calendly/view.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '3e733c789c7b3aa601447e7085a1f25d');
_inc/blocks/calendly/view.css ADDED
@@ -0,0 +1 @@
 
1
+ .admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}
_inc/blocks/calendly/view.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=406)}({183:function(e,t,n){},406:function(e,t,n){n(53),e.exports=n(407)},407:function(e,t,n){"use strict";n.r(t);n(183)},49:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},53:function(e,t,n){"use strict";n.r(t);n(49)}}));
_inc/blocks/calendly/view.rtl.css ADDED
@@ -0,0 +1 @@
 
1
+ .admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}
_inc/blocks/components.css CHANGED
@@ -1 +1 @@
1
- .jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.block-editor-warning{border:1px solid #e2e4e7;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
1
+ .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{display:flex;justify-content:space-between;align-items:center;font-size:14px;height:48px;background:#000;padding:0 20px;border-radius:2px;box-shadow:inset 0 0 1px #fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-right:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;line-height:1;margin-left:auto;height:28px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-size:100px 100%;background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0)}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-top:0;margin-bottom:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left],.jetpack-upgrade-plan-banner.wp-block[data-align=right]{height:48px}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.block-editor-warning{border:1px solid #ddd;padding:10px 14px}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-warning .block-editor-warning__actions .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:inherit;text-decoration:none}
_inc/blocks/components.js CHANGED
@@ -1,4 +1,4 @@
1
- module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=244)}([function(e,t,n){(function(e){var r;
2
  /**
3
  * @license
4
  * Lodash <https://lodash.com/>
@@ -6,105 +6,47 @@ module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;va
6
  * Released under MIT license <https://lodash.com/license>
7
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
8
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
9
- */(function(){var o,i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="__lodash_hash_undefined__",l=500,u="__lodash_placeholder__",d=1,f=2,h=4,p=1,v=2,m=1,g=2,b=4,y=8,k=16,_=32,w=64,O=128,S=256,E=512,C=30,T="...",x=800,D=16,M=1,j=2,I=1/0,P=9007199254740991,N=17976931348623157e292,R=NaN,L=4294967295,A=L-1,z=L>>>1,F=[["ary",O],["bind",m],["bindKey",g],["curry",y],["curryRight",k],["flip",E],["partial",_],["partialRight",w],["rearg",S]],H="[object Arguments]",V="[object Array]",B="[object AsyncFunction]",U="[object Boolean]",W="[object Date]",K="[object DOMException]",Y="[object Error]",$="[object Function]",q="[object GeneratorFunction]",G="[object Map]",Z="[object Number]",X="[object Null]",Q="[object Object]",J="[object Proxy]",ee="[object RegExp]",te="[object Set]",ne="[object String]",re="[object Symbol]",oe="[object Undefined]",ie="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ce="[object DataView]",le="[object Float32Array]",ue="[object Float64Array]",de="[object Int8Array]",fe="[object Int16Array]",he="[object Int32Array]",pe="[object Uint8Array]",ve="[object Uint8ClampedArray]",me="[object Uint16Array]",ge="[object Uint32Array]",be=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,Oe=RegExp(_e.source),Se=RegExp(we.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g,xe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,je=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(je.source),Pe=/^\s+|\s+$/g,Ne=/^\s+/,Re=/\s+$/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ae=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Be=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,We=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qe="\\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",Je="[\\ud800-\\udfff]",et="["+Qe+"]",tt="["+Xe+"]",nt="\\d+",rt="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Qe+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",at="\\ud83c[\\udffb-\\udfff]",st="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",ut="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dt="(?:"+ot+"|"+it+")",ft="(?:"+ut+"|"+it+")",ht="(?:"+tt+"|"+at+")"+"?",pt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[st,ct,lt].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),vt="(?:"+[rt,ct,lt].join("|")+")"+pt,mt="(?:"+[st+tt+"?",tt,ct,lt,Je].join("|")+")",gt=RegExp("['’]","g"),bt=RegExp(tt,"g"),yt=RegExp(at+"(?="+at+")|"+mt+pt,"g"),kt=RegExp([ut+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[et,ut,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[et,ut+dt,"$"].join("|")+")",ut+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ut+"+(?:['’](?: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_])",nt,vt].join("|"),"g"),_t=RegExp("[\\u200d\\ud800-\\udfff"+Xe+"\\ufe0e\\ufe0f]"),wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],St=-1,Et={};Et[le]=Et[ue]=Et[de]=Et[fe]=Et[he]=Et[pe]=Et[ve]=Et[me]=Et[ge]=!0,Et[H]=Et[V]=Et[se]=Et[U]=Et[ce]=Et[W]=Et[Y]=Et[$]=Et[G]=Et[Z]=Et[Q]=Et[ee]=Et[te]=Et[ne]=Et[ie]=!1;var Ct={};Ct[H]=Ct[V]=Ct[se]=Ct[ce]=Ct[U]=Ct[W]=Ct[le]=Ct[ue]=Ct[de]=Ct[fe]=Ct[he]=Ct[G]=Ct[Z]=Ct[Q]=Ct[ee]=Ct[te]=Ct[ne]=Ct[re]=Ct[pe]=Ct[ve]=Ct[me]=Ct[ge]=!0,Ct[Y]=Ct[$]=Ct[ie]=!1;var Tt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xt=parseFloat,Dt=parseInt,Mt="object"==typeof window&&window&&window.Object===Object&&window,jt="object"==typeof self&&self&&self.Object===Object&&self,It=Mt||jt||Function("return this")(),Pt=t&&!t.nodeType&&t,Nt=Pt&&"object"==typeof e&&e&&!e.nodeType&&e,Rt=Nt&&Nt.exports===Pt,Lt=Rt&&Mt.process,At=function(){try{var e=Nt&&Nt.require&&Nt.require("util").types;return e||Lt&&Lt.binding&&Lt.binding("util")}catch(t){}}(),zt=At&&At.isArrayBuffer,Ft=At&&At.isDate,Ht=At&&At.isMap,Vt=At&&At.isRegExp,Bt=At&&At.isSet,Ut=At&&At.isTypedArray;function Wt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Kt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Yt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function $t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function qt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Gt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Zt(e,t){return!!(null==e?0:e.length)&&sn(e,t,0)>-1}function Xt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Qt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Jt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function en(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function tn(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function nn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var rn=dn("length");function on(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function an(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function sn(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):an(e,ln,n)}function cn(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function ln(e){return e!=e}function un(e,t){var n=null==e?0:e.length;return n?pn(e,t)/n:R}function dn(e){return function(t){return null==t?o:t[e]}}function fn(e){return function(t){return null==e?o:e[t]}}function hn(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function pn(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function vn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function mn(e){return function(t){return e(t)}}function gn(e,t){return Qt(t,(function(t){return e[t]}))}function bn(e,t){return e.has(t)}function yn(e,t){for(var n=-1,r=e.length;++n<r&&sn(t,e[n],0)>-1;);return n}function kn(e,t){for(var n=e.length;n--&&sn(t,e[n],0)>-1;);return n}var _n=fn({"À":"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"}),wn=fn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function On(e){return"\\"+Tt[e]}function Sn(e){return _t.test(e)}function En(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Cn(e,t){return function(n){return e(t(n))}}function Tn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function xn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Mn(e){return Sn(e)?function(e){var t=yt.lastIndex=0;for(;yt.test(e);)++t;return t}(e):rn(e)}function jn(e){return Sn(e)?function(e){return e.match(yt)||[]}(e):function(e){return e.split("")}(e)}var In=fn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Pn=function e(t){var n,r=(t=null==t?It:Pn.defaults(It.Object(),t,Pn.pick(It,Ot))).Array,Xe=t.Date,Qe=t.Error,Je=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,rt=t.String,ot=t.TypeError,it=r.prototype,at=Je.prototype,st=tt.prototype,ct=t["__core-js_shared__"],lt=at.toString,ut=st.hasOwnProperty,dt=0,ft=(n=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ht=st.toString,pt=lt.call(tt),vt=It._,mt=nt("^"+lt.call(ut).replace(je,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Rt?t.Buffer:o,_t=t.Symbol,Tt=t.Uint8Array,Mt=yt?yt.allocUnsafe:o,jt=Cn(tt.getPrototypeOf,tt),Pt=tt.create,Nt=st.propertyIsEnumerable,Lt=it.splice,At=_t?_t.isConcatSpreadable:o,rn=_t?_t.iterator:o,fn=_t?_t.toStringTag:o,Nn=function(){try{var e=Fi(tt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Rn=t.clearTimeout!==It.clearTimeout&&t.clearTimeout,Ln=Xe&&Xe.now!==It.Date.now&&Xe.now,An=t.setTimeout!==It.setTimeout&&t.setTimeout,zn=et.ceil,Fn=et.floor,Hn=tt.getOwnPropertySymbols,Vn=yt?yt.isBuffer:o,Bn=t.isFinite,Un=it.join,Wn=Cn(tt.keys,tt),Kn=et.max,Yn=et.min,$n=Xe.now,qn=t.parseInt,Gn=et.random,Zn=it.reverse,Xn=Fi(t,"DataView"),Qn=Fi(t,"Map"),Jn=Fi(t,"Promise"),er=Fi(t,"Set"),tr=Fi(t,"WeakMap"),nr=Fi(tt,"create"),rr=tr&&new tr,or={},ir=da(Xn),ar=da(Qn),sr=da(Jn),cr=da(er),lr=da(tr),ur=_t?_t.prototype:o,dr=ur?ur.valueOf:o,fr=ur?ur.toString:o;function hr(e){if(xs(e)&&!gs(e)&&!(e instanceof gr)){if(e instanceof mr)return e;if(ut.call(e,"__wrapped__"))return fa(e)}return new mr(e)}var pr=function(){function e(){}return function(t){if(!Ts(t))return{};if(Pt)return Pt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function vr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function gr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function br(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function yr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function kr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new kr;++t<n;)this.add(e[t])}function wr(e){var t=this.__data__=new yr(e);this.size=t.size}function Or(e,t){var n=gs(e),r=!n&&ms(e),o=!n&&!r&&_s(e),i=!n&&!r&&!o&&Ls(e),a=n||r||o||i,s=a?vn(e.length,rt):[],c=s.length;for(var l in e)!t&&!ut.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Yi(l,c))||s.push(l);return s}function Sr(e){var t=e.length;return t?e[wo(0,t-1)]:o}function Er(e,t){return ca(ri(e),Nr(t,0,e.length))}function Cr(e){return ca(ri(e))}function Tr(e,t,n){(n===o||hs(e[t],n))&&(n!==o||t in e)||Ir(e,t,n)}function xr(e,t,n){var r=e[t];ut.call(e,t)&&hs(r,n)&&(n!==o||t in e)||Ir(e,t,n)}function Dr(e,t){for(var n=e.length;n--;)if(hs(e[n][0],t))return n;return-1}function Mr(e,t,n,r){return Fr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function jr(e,t){return e&&oi(t,oc(t),e)}function Ir(e,t,n){"__proto__"==t&&Nn?Nn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Pr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Js(e,t[n]);return a}function Nr(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Rr(e,t,n,r,i,a){var s,c=t&d,l=t&f,u=t&h;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Ts(e))return e;var p=gs(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&ut.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return ri(e,s)}else{var v=Bi(e),m=v==$||v==q;if(_s(e))return Xo(e,c);if(v==Q||v==H||m&&!i){if(s=l||m?{}:Wi(e),!c)return l?function(e,t){return oi(e,Vi(e),t)}(e,function(e,t){return e&&oi(t,ic(t),e)}(s,e)):function(e,t){return oi(e,Hi(e),t)}(e,jr(s,e))}else{if(!Ct[v])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case se:return Qo(e);case U:case W:return new r(+e);case ce:return function(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case le:case ue:case de:case fe:case he:case pe:case ve:case me:case ge:return Jo(e,n);case G:return new r;case Z:case ne:return new r(e);case ee:return function(e){var t=new e.constructor(e.source,Be.exec(e));return t.lastIndex=e.lastIndex,t}(e);case te:return new r;case re:return o=e,dr?tt(dr.call(o)):{}}var o}(e,v,c)}}a||(a=new wr);var g=a.get(e);if(g)return g;a.set(e,s),Ps(e)?e.forEach((function(r){s.add(Rr(r,t,n,r,e,a))})):Ds(e)&&e.forEach((function(r,o){s.set(o,Rr(r,t,n,o,e,a))}));var b=p?o:(u?l?Ii:ji:l?ic:oc)(e);return Yt(b||e,(function(r,o){b&&(r=e[o=r]),xr(s,o,Rr(r,t,n,o,e,a))})),s}function Lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=tt(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function Ar(e,t,n){if("function"!=typeof e)throw new ot(s);return oa((function(){e.apply(o,n)}),t)}function zr(e,t,n,r){var o=-1,a=Zt,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Qt(t,mn(n))),r?(a=Xt,s=!1):t.length>=i&&(a=bn,s=!1,t=new _r(t));e:for(;++o<c;){var d=e[o],f=null==n?d:n(d);if(d=r||0!==d?d:0,s&&f==f){for(var h=u;h--;)if(t[h]===f)continue e;l.push(d)}else a(t,f,r)||l.push(d)}return l}hr.templateSettings={escape:Ee,evaluate:Ce,interpolate:Te,variable:"",imports:{_:hr}},hr.prototype=vr.prototype,hr.prototype.constructor=hr,mr.prototype=pr(vr.prototype),mr.prototype.constructor=mr,gr.prototype=pr(vr.prototype),gr.prototype.constructor=gr,br.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},br.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},br.prototype.get=function(e){var t=this.__data__;if(nr){var n=t[e];return n===c?o:n}return ut.call(t,e)?t[e]:o},br.prototype.has=function(e){var t=this.__data__;return nr?t[e]!==o:ut.call(t,e)},br.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nr&&t===o?c:t,this},yr.prototype.clear=function(){this.__data__=[],this.size=0},yr.prototype.delete=function(e){var t=this.__data__,n=Dr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Lt.call(t,n,1),--this.size,!0)},yr.prototype.get=function(e){var t=this.__data__,n=Dr(t,e);return n<0?o:t[n][1]},yr.prototype.has=function(e){return Dr(this.__data__,e)>-1},yr.prototype.set=function(e,t){var n=this.__data__,r=Dr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},kr.prototype.clear=function(){this.size=0,this.__data__={hash:new br,map:new(Qn||yr),string:new br}},kr.prototype.delete=function(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t},kr.prototype.get=function(e){return Ai(this,e).get(e)},kr.prototype.has=function(e){return Ai(this,e).has(e)},kr.prototype.set=function(e,t){var n=Ai(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},_r.prototype.add=_r.prototype.push=function(e){return this.__data__.set(e,c),this},_r.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.clear=function(){this.__data__=new yr,this.size=0},wr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},wr.prototype.get=function(e){return this.__data__.get(e)},wr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!Qn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new kr(r)}return n.set(e,t),this.size=n.size,this};var Fr=si($r),Hr=si(qr,!0);function Vr(e,t){var n=!0;return Fr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Br(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(c===o?s==s&&!Rs(s):n(s,c)))var c=s,l=a}return l}function Ur(e,t){var n=[];return Fr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Wr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ki),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?Wr(s,t-1,n,r,o):Jt(o,s):r||(o[o.length]=s)}return o}var Kr=ci(),Yr=ci(!0);function $r(e,t){return e&&Kr(e,t,oc)}function qr(e,t){return e&&Yr(e,t,oc)}function Gr(e,t){return Gt(t,(function(t){return Ss(e[t])}))}function Zr(e,t){for(var n=0,r=(t=$o(t,e)).length;null!=e&&n<r;)e=e[ua(t[n++])];return n&&n==r?e:o}function Xr(e,t,n){var r=t(e);return gs(e)?r:Jt(r,n(e))}function Qr(e){return null==e?e===o?oe:X:fn&&fn in tt(e)?function(e){var t=ut.call(e,fn),n=e[fn];try{e[fn]=o;var r=!0}catch(a){}var i=ht.call(e);r&&(t?e[fn]=n:delete e[fn]);return i}(e):function(e){return ht.call(e)}(e)}function Jr(e,t){return e>t}function eo(e,t){return null!=e&&ut.call(e,t)}function to(e,t){return null!=e&&t in tt(e)}function no(e,t,n){for(var i=n?Xt:Zt,a=e[0].length,s=e.length,c=s,l=r(s),u=1/0,d=[];c--;){var f=e[c];c&&t&&(f=Qt(f,mn(t))),u=Yn(f.length,u),l[c]=!n&&(t||a>=120&&f.length>=120)?new _r(c&&f):o}f=e[0];var h=-1,p=l[0];e:for(;++h<a&&d.length<u;){var v=f[h],m=t?t(v):v;if(v=n||0!==v?v:0,!(p?bn(p,m):i(d,m,n))){for(c=s;--c;){var g=l[c];if(!(g?bn(g,m):i(e[c],m,n)))continue e}p&&p.push(m),d.push(v)}}return d}function ro(e,t,n){var r=null==(e=ta(e,t=$o(t,e)))?e:e[ua(Oa(t))];return null==r?o:Wt(r,e,n)}function oo(e){return xs(e)&&Qr(e)==H}function io(e,t,n,r,i){return e===t||(null==e||null==t||!xs(e)&&!xs(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=gs(e),c=gs(t),l=s?V:Bi(e),u=c?V:Bi(t),d=(l=l==H?Q:l)==Q,f=(u=u==H?Q:u)==Q,h=l==u;if(h&&_s(e)){if(!_s(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new wr),s||Ls(e)?Di(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case ce:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case se:return!(e.byteLength!=t.byteLength||!i(new Tt(e),new Tt(t)));case U:case W:case Z:return hs(+e,+t);case Y:return e.name==t.name&&e.message==t.message;case ee:case ne:return e==t+"";case G:var s=En;case te:var c=r&p;if(s||(s=xn),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=v,a.set(e,t);var u=Di(s(e),s(t),r,o,i,a);return a.delete(e),u;case re:if(dr)return dr.call(e)==dr.call(t)}return!1}(e,t,l,n,r,i,a);if(!(n&p)){var m=d&&ut.call(e,"__wrapped__"),g=f&&ut.call(t,"__wrapped__");if(m||g){var b=m?e.value():e,y=g?t.value():t;return a||(a=new wr),i(b,y,n,r,a)}}if(!h)return!1;return a||(a=new wr),function(e,t,n,r,i,a){var s=n&p,c=ji(e),l=c.length,u=ji(t).length;if(l!=u&&!s)return!1;var d=l;for(;d--;){var f=c[d];if(!(s?f in t:ut.call(t,f)))return!1}var h=a.get(e);if(h&&a.get(t))return h==t;var v=!0;a.set(e,t),a.set(t,e);var m=s;for(;++d<l;){f=c[d];var g=e[f],b=t[f];if(r)var y=s?r(b,g,f,t,e,a):r(g,b,f,e,t,a);if(!(y===o?g===b||i(g,b,n,r,a):y)){v=!1;break}m||(m="constructor"==f)}if(v&&!m){var k=e.constructor,_=t.constructor;k!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof k&&k instanceof k&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return a.delete(e),a.delete(t),v}(e,t,n,r,i,a)}(e,t,n,r,io,i))}function ao(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=tt(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<a;){var l=(c=n[i])[0],u=e[l],d=c[1];if(s&&c[2]){if(u===o&&!(l in e))return!1}else{var f=new wr;if(r)var h=r(u,d,l,e,t,f);if(!(h===o?io(d,u,p|v,r,f):h))return!1}}return!0}function so(e){return!(!Ts(e)||(t=e,ft&&ft in t))&&(Ss(e)?mt:Ke).test(da(e));var t}function co(e){return"function"==typeof e?e:null==e?Mc:"object"==typeof e?gs(e)?vo(e[0],e[1]):po(e):Fc(e)}function lo(e){if(!Xi(e))return Wn(e);var t=[];for(var n in tt(e))ut.call(e,n)&&"constructor"!=n&&t.push(n);return t}function uo(e){if(!Ts(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Xi(e),n=[];for(var r in e)("constructor"!=r||!t&&ut.call(e,r))&&n.push(r);return n}function fo(e,t){return e<t}function ho(e,t){var n=-1,o=ys(e)?r(e.length):[];return Fr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function po(e){var t=zi(e);return 1==t.length&&t[0][2]?Ji(t[0][0],t[0][1]):function(n){return n===e||ao(n,e,t)}}function vo(e,t){return qi(e)&&Qi(t)?Ji(ua(e),t):function(n){var r=Js(n,e);return r===o&&r===t?ec(n,e):io(t,r,p|v)}}function mo(e,t,n,r,i){e!==t&&Kr(t,(function(a,s){if(i||(i=new wr),Ts(a))!function(e,t,n,r,i,a,s){var c=na(e,n),l=na(t,n),u=s.get(l);if(u)return void Tr(e,n,u);var d=a?a(c,l,n+"",e,t,s):o,f=d===o;if(f){var h=gs(l),p=!h&&_s(l),v=!h&&!p&&Ls(l);d=l,h||p||v?gs(c)?d=c:ks(c)?d=ri(c):p?(f=!1,d=Xo(l,!0)):v?(f=!1,d=Jo(l,!0)):d=[]:js(l)||ms(l)?(d=c,ms(c)?d=Ws(c):Ts(c)&&!Ss(c)||(d=Wi(l))):f=!1}f&&(s.set(l,d),i(d,l,r,a,s),s.delete(l));Tr(e,n,d)}(e,t,s,n,mo,r,i);else{var c=r?r(na(e,s),a,s+"",e,t,i):o;c===o&&(c=a),Tr(e,s,c)}}),ic)}function go(e,t){var n=e.length;if(n)return Yi(t+=t<0?n:0,n)?e[t]:o}function bo(e,t,n){var r=-1;return t=Qt(t.length?t:[Mc],mn(Li())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(ho(e,(function(e,n,o){return{criteria:Qt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var c=ei(o[r],i[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function yo(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Zr(e,a);n(s,a)&&To(i,$o(a,e),s)}return i}function ko(e,t,n,r){var o=r?cn:sn,i=-1,a=t.length,s=e;for(e===t&&(t=ri(t)),n&&(s=Qt(e,mn(n)));++i<a;)for(var c=0,l=t[i],u=n?n(l):l;(c=o(s,u,c,r))>-1;)s!==e&&Lt.call(s,c,1),Lt.call(e,c,1);return e}function _o(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Yi(o)?Lt.call(e,o,1):Fo(e,o)}}return e}function wo(e,t){return e+Fn(Gn()*(t-e+1))}function Oo(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),(t=Fn(t/2))&&(e+=e)}while(t);return n}function So(e,t){return ia(ea(e,t,Mc),e+"")}function Eo(e){return Sr(hc(e))}function Co(e,t){var n=hc(e);return ca(n,Nr(t,0,n.length))}function To(e,t,n,r){if(!Ts(e))return e;for(var i=-1,a=(t=$o(t,e)).length,s=a-1,c=e;null!=c&&++i<a;){var l=ua(t[i]),u=n;if(i!=s){var d=c[l];(u=r?r(d,l,c):o)===o&&(u=Ts(d)?d:Yi(t[i+1])?[]:{})}xr(c,l,u),c=c[l]}return e}var xo=rr?function(e,t){return rr.set(e,t),e}:Mc,Do=Nn?function(e,t){return Nn(e,"toString",{configurable:!0,enumerable:!1,value:Tc(t),writable:!0})}:Mc;function Mo(e){return ca(hc(e))}function jo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Io(e,t){var n;return Fr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=z){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Rs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return No(e,t,Mc,n)}function No(e,t,n,r){t=n(t);for(var i=0,a=null==e?0:e.length,s=t!=t,c=null===t,l=Rs(t),u=t===o;i<a;){var d=Fn((i+a)/2),f=n(e[d]),h=f!==o,p=null===f,v=f==f,m=Rs(f);if(s)var g=r||v;else g=u?v&&(r||h):c?v&&h&&(r||!p):l?v&&h&&!p&&(r||!m):!p&&!m&&(r?f<=t:f<t);g?i=d+1:a=d}return Yn(a,A)}function Ro(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!hs(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Lo(e){return"number"==typeof e?e:Rs(e)?R:+e}function Ao(e){if("string"==typeof e)return e;if(gs(e))return Qt(e,Ao)+"";if(Rs(e))return fr?fr.call(e):"";var t=e+"";return"0"==t&&1/e==-I?"-0":t}function zo(e,t,n){var r=-1,o=Zt,a=e.length,s=!0,c=[],l=c;if(n)s=!1,o=Xt;else if(a>=i){var u=t?null:Oi(e);if(u)return xn(u);s=!1,o=bn,l=new _r}else l=t?[]:c;e:for(;++r<a;){var d=e[r],f=t?t(d):d;if(d=n||0!==d?d:0,s&&f==f){for(var h=l.length;h--;)if(l[h]===f)continue e;t&&l.push(f),c.push(d)}else o(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function Fo(e,t){return null==(e=ta(e,t=$o(t,e)))||delete e[ua(Oa(t))]}function Ho(e,t,n,r){return To(e,t,n(Zr(e,t)),r)}function Vo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?jo(e,r?0:i,r?i+1:o):jo(e,r?i+1:0,r?o:i)}function Bo(e,t){var n=e;return n instanceof gr&&(n=n.value()),en(t,(function(e,t){return t.func.apply(t.thisArg,Jt([e],t.args))}),n)}function Uo(e,t,n){var o=e.length;if(o<2)return o?zo(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],c=-1;++c<o;)c!=i&&(a[i]=zr(a[i]||s,e[c],t,n));return zo(Wr(a,1),t,n)}function Wo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var c=r<a?t[r]:o;n(s,e[r],c)}return s}function Ko(e){return ks(e)?e:[]}function Yo(e){return"function"==typeof e?e:Mc}function $o(e,t){return gs(e)?e:qi(e,t)?[e]:la(Ks(e))}var qo=So;function Go(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:jo(e,t,n)}var Zo=Rn||function(e){return It.clearTimeout(e)};function Xo(e,t){if(t)return e.slice();var n=e.length,r=Mt?Mt(n):new e.constructor(n);return e.copy(r),r}function Qo(e){var t=new e.constructor(e.byteLength);return new Tt(t).set(new Tt(e)),t}function Jo(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=Rs(e),s=t!==o,c=null===t,l=t==t,u=Rs(t);if(!c&&!u&&!a&&e>t||a&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!l)return-1}return 0}function ti(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,l=t.length,u=Kn(a-s,0),d=r(l+u),f=!o;++c<l;)d[c]=t[c];for(;++i<s;)(f||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[c++]=e[i++];return d}function ni(e,t,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,l=-1,u=t.length,d=Kn(a-c,0),f=r(d+u),h=!o;++i<d;)f[i]=e[i];for(var p=i;++l<u;)f[p+l]=t[l];for(;++s<c;)(h||i<a)&&(f[p+n[s]]=e[i++]);return f}function ri(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function oi(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],l=r?r(n[c],e[c],c,n,e):o;l===o&&(l=e[c]),i?Ir(n,c,l):xr(n,c,l)}return n}function ii(e,t){return function(n,r){var o=gs(n)?Kt:Mr,i=t?t():{};return o(n,e,Li(r,2),i)}}function ai(e){return So((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&$i(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=tt(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}function si(e,t){return function(n,r){if(null==n)return n;if(!ys(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=tt(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function ci(e){return function(t,n,r){for(var o=-1,i=tt(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function li(e){return function(t){var n=Sn(t=Ks(t))?jn(t):o,r=n?n[0]:t.charAt(0),i=n?Go(n,1).join(""):t.slice(1);return r[e]()+i}}function ui(e){return function(t){return en(Sc(mc(t).replace(gt,"")),e,"")}}function di(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=pr(e.prototype),r=e.apply(n,t);return Ts(r)?r:n}}function fi(e){return function(t,n,r){var i=tt(t);if(!ys(t)){var a=Li(n,3);t=oc(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function hi(e){return Mi((function(t){var n=t.length,r=n,i=mr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ot(s);if(i&&!c&&"wrapper"==Ni(a))var c=new mr([],!0)}for(r=c?r:n;++r<n;){var l=Ni(a=t[r]),u="wrapper"==l?Pi(a):o;c=u&&Gi(u[0])&&u[1]==(O|y|_|S)&&!u[4].length&&1==u[9]?c[Ni(u[0])].apply(c,u[3]):1==a.length&&Gi(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&gs(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function pi(e,t,n,i,a,s,c,l,u,d){var f=t&O,h=t&m,p=t&g,v=t&(y|k),b=t&E,_=p?o:di(e);return function m(){for(var g=arguments.length,y=r(g),k=g;k--;)y[k]=arguments[k];if(v)var w=Ri(m),O=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(i&&(y=ti(y,i,a,v)),s&&(y=ni(y,s,c,v)),g-=O,v&&g<d){var S=Tn(y,w);return _i(e,t,pi,m.placeholder,n,y,S,l,u,d-g)}var E=h?n:this,C=p?E[e]:e;return g=y.length,l?y=function(e,t){var n=e.length,r=Yn(t.length,n),i=ri(e);for(;r--;){var a=t[r];e[r]=Yi(a,n)?i[a]:o}return e}(y,l):b&&g>1&&y.reverse(),f&&u<g&&(y.length=u),this&&this!==It&&this instanceof m&&(C=_||di(C)),C.apply(E,y)}}function vi(e,t){return function(n,r){return function(e,t,n,r){return $r(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function mi(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Ao(n),r=Ao(r)):(n=Lo(n),r=Lo(r)),i=e(n,r)}return i}}function gi(e){return Mi((function(t){return t=Qt(t,mn(Li())),So((function(n){var r=this;return e(t,(function(e){return Wt(e,r,n)}))}))}))}function bi(e,t){var n=(t=t===o?" ":Ao(t)).length;if(n<2)return n?Oo(t,e):t;var r=Oo(t,zn(e/Mn(t)));return Sn(t)?Go(jn(r),0,e).join(""):r.slice(0,e)}function yi(e){return function(t,n,i){return i&&"number"!=typeof i&&$i(t,n,i)&&(n=i=o),t=Hs(t),n===o?(n=t,t=0):n=Hs(n),function(e,t,n,o){for(var i=-1,a=Kn(zn((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:Hs(i),e)}}function ki(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Us(t),n=Us(n)),e(t,n)}}function _i(e,t,n,r,i,a,s,c,l,u){var d=t&y;t|=d?_:w,(t&=~(d?w:_))&b||(t&=~(m|g));var f=[e,t,i,d?a:o,d?s:o,d?o:a,d?o:s,c,l,u],h=n.apply(o,f);return Gi(e)&&ra(h,f),h.placeholder=r,aa(h,e,t)}function wi(e){var t=et[e];return function(e,n){if(e=Us(e),(n=null==n?0:Yn(Vs(n),292))&&Bn(e)){var r=(Ks(e)+"e").split("e");return+((r=(Ks(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Oi=er&&1/xn(new er([,-0]))[1]==I?function(e){return new er(e)}:Rc;function Si(e){return function(t){var n=Bi(t);return n==G?En(t):n==te?Dn(t):function(e,t){return Qt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ei(e,t,n,i,a,c,l,d){var f=t&g;if(!f&&"function"!=typeof e)throw new ot(s);var h=i?i.length:0;if(h||(t&=~(_|w),i=a=o),l=l===o?l:Kn(Vs(l),0),d=d===o?d:Vs(d),h-=a?a.length:0,t&w){var p=i,v=a;i=a=o}var E=f?o:Pi(e),C=[e,t,n,i,a,p,v,c,l,d];if(E&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<(m|g|O),a=r==O&&n==y||r==O&&n==S&&e[7].length<=t[8]||r==(O|S)&&t[7].length<=t[8]&&n==y;if(!i&&!a)return e;r&m&&(e[2]=t[2],o|=n&m?0:b);var s=t[3];if(s){var c=e[3];e[3]=c?ti(c,s,t[4]):s,e[4]=c?Tn(e[3],u):t[4]}(s=t[5])&&(c=e[5],e[5]=c?ni(c,s,t[6]):s,e[6]=c?Tn(e[5],u):t[6]);(s=t[7])&&(e[7]=s);r&O&&(e[8]=null==e[8]?t[8]:Yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,E),e=C[0],t=C[1],n=C[2],i=C[3],a=C[4],!(d=C[9]=C[9]===o?f?0:e.length:Kn(C[9]-h,0))&&t&(y|k)&&(t&=~(y|k)),t&&t!=m)T=t==y||t==k?function(e,t,n){var i=di(e);return function a(){for(var s=arguments.length,c=r(s),l=s,u=Ri(a);l--;)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:Tn(c,u);return(s-=d.length)<n?_i(e,t,pi,a.placeholder,o,c,d,o,o,n-s):Wt(this&&this!==It&&this instanceof a?i:e,this,c)}}(e,t,d):t!=_&&t!=(m|_)||a.length?pi.apply(o,C):function(e,t,n,o){var i=t&m,a=di(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=o.length,d=r(u+c),f=this&&this!==It&&this instanceof t?a:e;++l<u;)d[l]=o[l];for(;c--;)d[l++]=arguments[++s];return Wt(f,i?n:this,d)}}(e,t,n,i);else var T=function(e,t,n){var r=t&m,o=di(e);return function t(){return(this&&this!==It&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return aa((E?xo:ra)(T,C),e,t)}function Ci(e,t,n,r){return e===o||hs(e,st[n])&&!ut.call(r,n)?t:e}function Ti(e,t,n,r,i,a){return Ts(e)&&Ts(t)&&(a.set(t,e),mo(e,t,o,Ti,a),a.delete(t)),e}function xi(e){return js(e)?o:e}function Di(e,t,n,r,i,a){var s=n&p,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var d=-1,f=!0,h=n&v?new _r:o;for(a.set(e,t),a.set(t,e);++d<c;){var m=e[d],g=t[d];if(r)var b=s?r(g,m,d,t,e,a):r(m,g,d,e,t,a);if(b!==o){if(b)continue;f=!1;break}if(h){if(!nn(t,(function(e,t){if(!bn(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function Mi(e){return ia(ea(e,o,ba),e+"")}function ji(e){return Xr(e,oc,Hi)}function Ii(e){return Xr(e,ic,Vi)}var Pi=rr?function(e){return rr.get(e)}:Rc;function Ni(e){for(var t=e.name+"",n=or[t],r=ut.call(or,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Ri(e){return(ut.call(hr,"placeholder")?hr:e).placeholder}function Li(){var e=hr.iteratee||jc;return e=e===jc?co:e,arguments.length?e(arguments[0],arguments[1]):e}function Ai(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function zi(e){for(var t=oc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Qi(o)]}return t}function Fi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return so(n)?n:o}var Hi=Hn?function(e){return null==e?[]:(e=tt(e),Gt(Hn(e),(function(t){return Nt.call(e,t)})))}:Bc,Vi=Hn?function(e){for(var t=[];e;)Jt(t,Hi(e)),e=jt(e);return t}:Bc,Bi=Qr;function Ui(e,t,n){for(var r=-1,o=(t=$o(t,e)).length,i=!1;++r<o;){var a=ua(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Cs(o)&&Yi(a,o)&&(gs(e)||ms(e))}function Wi(e){return"function"!=typeof e.constructor||Xi(e)?{}:pr(jt(e))}function Ki(e){return gs(e)||ms(e)||!!(At&&e&&e[At])}function Yi(e,t){var n=typeof e;return!!(t=null==t?P:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function $i(e,t,n){if(!Ts(n))return!1;var r=typeof t;return!!("number"==r?ys(n)&&Yi(t,n.length):"string"==r&&t in n)&&hs(n[t],e)}function qi(e,t){if(gs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Rs(e))||(De.test(e)||!xe.test(e)||null!=t&&e in tt(t))}function Gi(e){var t=Ni(e),n=hr[t];if("function"!=typeof n||!(t in gr.prototype))return!1;if(e===n)return!0;var r=Pi(n);return!!r&&e===r[0]}(Xn&&Bi(new Xn(new ArrayBuffer(1)))!=ce||Qn&&Bi(new Qn)!=G||Jn&&"[object Promise]"!=Bi(Jn.resolve())||er&&Bi(new er)!=te||tr&&Bi(new tr)!=ie)&&(Bi=function(e){var t=Qr(e),n=t==Q?e.constructor:o,r=n?da(n):"";if(r)switch(r){case ir:return ce;case ar:return G;case sr:return"[object Promise]";case cr:return te;case lr:return ie}return t});var Zi=ct?Ss:Uc;function Xi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||st)}function Qi(e){return e==e&&!Ts(e)}function Ji(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in tt(n)))}}function ea(e,t,n){return t=Kn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Kn(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),Wt(e,this,c)}}function ta(e,t){return t.length<2?e:Zr(e,jo(t,0,-1))}function na(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ra=sa(xo),oa=An||function(e,t){return It.setTimeout(e,t)},ia=sa(Do);function aa(e,t,n){var r=t+"";return ia(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Yt(F,(function(n){var r="_."+n[0];t&n[1]&&!Zt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Ae);return t?t[1].split(ze):[]}(r),n)))}function sa(e){var t=0,n=0;return function(){var r=$n(),i=D-(r-n);if(n=r,i>0){if(++t>=x)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ca(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=wo(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var la=function(e){var t=ss(e,(function(e){return n.size===l&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Me,(function(e,n,r,o){t.push(r?o.replace(He,"$1"):n||e)})),t}));function ua(e){if("string"==typeof e||Rs(e))return e;var t=e+"";return"0"==t&&1/e==-I?"-0":t}function da(e){if(null!=e){try{return lt.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function fa(e){if(e instanceof gr)return e.clone();var t=new mr(e.__wrapped__,e.__chain__);return t.__actions__=ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var ha=So((function(e,t){return ks(e)?zr(e,Wr(t,1,ks,!0)):[]})),pa=So((function(e,t){var n=Oa(t);return ks(n)&&(n=o),ks(e)?zr(e,Wr(t,1,ks,!0),Li(n,2)):[]})),va=So((function(e,t){var n=Oa(t);return ks(n)&&(n=o),ks(e)?zr(e,Wr(t,1,ks,!0),o,n):[]}));function ma(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vs(n);return o<0&&(o=Kn(r+o,0)),an(e,Li(t,3),o)}function ga(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Vs(n),i=n<0?Kn(r+i,0):Yn(i,r-1)),an(e,Li(t,3),i,!0)}function ba(e){return(null==e?0:e.length)?Wr(e,1):[]}function ya(e){return e&&e.length?e[0]:o}var ka=So((function(e){var t=Qt(e,Ko);return t.length&&t[0]===e[0]?no(t):[]})),_a=So((function(e){var t=Oa(e),n=Qt(e,Ko);return t===Oa(n)?t=o:n.pop(),n.length&&n[0]===e[0]?no(n,Li(t,2)):[]})),wa=So((function(e){var t=Oa(e),n=Qt(e,Ko);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?no(n,o,t):[]}));function Oa(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Sa=So(Ea);function Ea(e,t){return e&&e.length&&t&&t.length?ko(e,t):e}var Ca=Mi((function(e,t){var n=null==e?0:e.length,r=Pr(e,t);return _o(e,Qt(t,(function(e){return Yi(e,n)?+e:e})).sort(ei)),r}));function Ta(e){return null==e?e:Zn.call(e)}var xa=So((function(e){return zo(Wr(e,1,ks,!0))})),Da=So((function(e){var t=Oa(e);return ks(t)&&(t=o),zo(Wr(e,1,ks,!0),Li(t,2))})),Ma=So((function(e){var t=Oa(e);return t="function"==typeof t?t:o,zo(Wr(e,1,ks,!0),o,t)}));function ja(e){if(!e||!e.length)return[];var t=0;return e=Gt(e,(function(e){if(ks(e))return t=Kn(e.length,t),!0})),vn(t,(function(t){return Qt(e,dn(t))}))}function Ia(e,t){if(!e||!e.length)return[];var n=ja(e);return null==t?n:Qt(n,(function(e){return Wt(t,o,e)}))}var Pa=So((function(e,t){return ks(e)?zr(e,t):[]})),Na=So((function(e){return Uo(Gt(e,ks))})),Ra=So((function(e){var t=Oa(e);return ks(t)&&(t=o),Uo(Gt(e,ks),Li(t,2))})),La=So((function(e){var t=Oa(e);return t="function"==typeof t?t:o,Uo(Gt(e,ks),o,t)})),Aa=So(ja);var za=So((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Ia(e,n)}));function Fa(e){var t=hr(e);return t.__chain__=!0,t}function Ha(e,t){return t(e)}var Va=Mi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Pr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof gr&&Yi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Ha,args:[i],thisArg:o}),new mr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var Ba=ii((function(e,t,n){ut.call(e,n)?++e[n]:Ir(e,n,1)}));var Ua=fi(ma),Wa=fi(ga);function Ka(e,t){return(gs(e)?Yt:Fr)(e,Li(t,3))}function Ya(e,t){return(gs(e)?$t:Hr)(e,Li(t,3))}var $a=ii((function(e,t,n){ut.call(e,n)?e[n].push(t):Ir(e,n,[t])}));var qa=So((function(e,t,n){var o=-1,i="function"==typeof t,a=ys(e)?r(e.length):[];return Fr(e,(function(e){a[++o]=i?Wt(t,e,n):ro(e,t,n)})),a})),Ga=ii((function(e,t,n){Ir(e,n,t)}));function Za(e,t){return(gs(e)?Qt:ho)(e,Li(t,3))}var Xa=ii((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Qa=So((function(e,t){if(null==e)return[];var n=t.length;return n>1&&$i(e,t[0],t[1])?t=[]:n>2&&$i(t[0],t[1],t[2])&&(t=[t[0]]),bo(e,Wr(t,1),[])})),Ja=Ln||function(){return It.Date.now()};function es(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ei(e,O,o,o,o,o,t)}function ts(e,t){var n;if("function"!=typeof t)throw new ot(s);return e=Vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ns=So((function(e,t,n){var r=m;if(n.length){var o=Tn(n,Ri(ns));r|=_}return Ei(e,r,t,n,o)})),rs=So((function(e,t,n){var r=m|g;if(n.length){var o=Tn(n,Ri(rs));r|=_}return Ei(t,r,e,n,o)}));function os(e,t,n){var r,i,a,c,l,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new ot(s);function v(t){var n=r,a=i;return r=i=o,d=t,c=e.apply(a,n)}function m(e){var n=e-u;return u===o||n>=t||n<0||h&&e-d>=a}function g(){var e=Ja();if(m(e))return b(e);l=oa(g,function(e){var n=t-(e-u);return h?Yn(n,a-(e-d)):n}(e))}function b(e){return l=o,p&&r?v(e):(r=i=o,c)}function y(){var e=Ja(),n=m(e);if(r=arguments,i=this,u=e,n){if(l===o)return function(e){return d=e,l=oa(g,t),f?v(e):c}(u);if(h)return Zo(l),l=oa(g,t),v(u)}return l===o&&(l=oa(g,t)),c}return t=Us(t)||0,Ts(n)&&(f=!!n.leading,a=(h="maxWait"in n)?Kn(Us(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){l!==o&&Zo(l),d=0,r=u=i=l=o},y.flush=function(){return l===o?c:b(Ja())},y}var is=So((function(e,t){return Ar(e,1,t)})),as=So((function(e,t,n){return Ar(e,Us(t)||0,n)}));function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(s);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ss.Cache||kr),n}function cs(e){if("function"!=typeof e)throw new ot(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=kr;var ls=qo((function(e,t){var n=(t=1==t.length&&gs(t[0])?Qt(t[0],mn(Li())):Qt(Wr(t,1),mn(Li()))).length;return So((function(r){for(var o=-1,i=Yn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Wt(e,this,r)}))})),us=So((function(e,t){var n=Tn(t,Ri(us));return Ei(e,_,o,t,n)})),ds=So((function(e,t){var n=Tn(t,Ri(ds));return Ei(e,w,o,t,n)})),fs=Mi((function(e,t){return Ei(e,S,o,o,o,t)}));function hs(e,t){return e===t||e!=e&&t!=t}var ps=ki(Jr),vs=ki((function(e,t){return e>=t})),ms=oo(function(){return arguments}())?oo:function(e){return xs(e)&&ut.call(e,"callee")&&!Nt.call(e,"callee")},gs=r.isArray,bs=zt?mn(zt):function(e){return xs(e)&&Qr(e)==se};function ys(e){return null!=e&&Cs(e.length)&&!Ss(e)}function ks(e){return xs(e)&&ys(e)}var _s=Vn||Uc,ws=Ft?mn(Ft):function(e){return xs(e)&&Qr(e)==W};function Os(e){if(!xs(e))return!1;var t=Qr(e);return t==Y||t==K||"string"==typeof e.message&&"string"==typeof e.name&&!js(e)}function Ss(e){if(!Ts(e))return!1;var t=Qr(e);return t==$||t==q||t==B||t==J}function Es(e){return"number"==typeof e&&e==Vs(e)}function Cs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=P}function Ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xs(e){return null!=e&&"object"==typeof e}var Ds=Ht?mn(Ht):function(e){return xs(e)&&Bi(e)==G};function Ms(e){return"number"==typeof e||xs(e)&&Qr(e)==Z}function js(e){if(!xs(e)||Qr(e)!=Q)return!1;var t=jt(e);if(null===t)return!0;var n=ut.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&lt.call(n)==pt}var Is=Vt?mn(Vt):function(e){return xs(e)&&Qr(e)==ee};var Ps=Bt?mn(Bt):function(e){return xs(e)&&Bi(e)==te};function Ns(e){return"string"==typeof e||!gs(e)&&xs(e)&&Qr(e)==ne}function Rs(e){return"symbol"==typeof e||xs(e)&&Qr(e)==re}var Ls=Ut?mn(Ut):function(e){return xs(e)&&Cs(e.length)&&!!Et[Qr(e)]};var As=ki(fo),zs=ki((function(e,t){return e<=t}));function Fs(e){if(!e)return[];if(ys(e))return Ns(e)?jn(e):ri(e);if(rn&&e[rn])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[rn]());var t=Bi(e);return(t==G?En:t==te?xn:hc)(e)}function Hs(e){return e?(e=Us(e))===I||e===-I?(e<0?-1:1)*N:e==e?e:0:0===e?e:0}function Vs(e){var t=Hs(e),n=t%1;return t==t?n?t-n:t:0}function Bs(e){return e?Nr(Vs(e),0,L):0}function Us(e){if("number"==typeof e)return e;if(Rs(e))return R;if(Ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pe,"");var n=We.test(e);return n||Ye.test(e)?Dt(e.slice(2),n?2:8):Ue.test(e)?R:+e}function Ws(e){return oi(e,ic(e))}function Ks(e){return null==e?"":Ao(e)}var Ys=ai((function(e,t){if(Xi(t)||ys(t))oi(t,oc(t),e);else for(var n in t)ut.call(t,n)&&xr(e,n,t[n])})),$s=ai((function(e,t){oi(t,ic(t),e)})),qs=ai((function(e,t,n,r){oi(t,ic(t),e,r)})),Gs=ai((function(e,t,n,r){oi(t,oc(t),e,r)})),Zs=Mi(Pr);var Xs=So((function(e,t){e=tt(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&$i(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=ic(a),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===o||hs(d,st[u])&&!ut.call(e,u))&&(e[u]=a[u])}return e})),Qs=So((function(e){return e.push(o,Ti),Wt(sc,o,e)}));function Js(e,t,n){var r=null==e?o:Zr(e,t);return r===o?n:r}function ec(e,t){return null!=e&&Ui(e,t,to)}var tc=vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n}),Tc(Mc)),nc=vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ut.call(e,t)?e[t].push(n):e[t]=[n]}),Li),rc=So(ro);function oc(e){return ys(e)?Or(e):lo(e)}function ic(e){return ys(e)?Or(e,!0):uo(e)}var ac=ai((function(e,t,n){mo(e,t,n)})),sc=ai((function(e,t,n,r){mo(e,t,n,r)})),cc=Mi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Qt(t,(function(t){return t=$o(t,e),r||(r=t.length>1),t})),oi(e,Ii(e),n),r&&(n=Rr(n,d|f|h,xi));for(var o=t.length;o--;)Fo(n,t[o]);return n}));var lc=Mi((function(e,t){return null==e?{}:function(e,t){return yo(e,t,(function(t,n){return ec(e,n)}))}(e,t)}));function uc(e,t){if(null==e)return{};var n=Qt(Ii(e),(function(e){return[e]}));return t=Li(t),yo(e,n,(function(e,n){return t(e,n[0])}))}var dc=Si(oc),fc=Si(ic);function hc(e){return null==e?[]:gn(e,oc(e))}var pc=ui((function(e,t,n){return t=t.toLowerCase(),e+(n?vc(t):t)}));function vc(e){return Oc(Ks(e).toLowerCase())}function mc(e){return(e=Ks(e))&&e.replace(qe,_n).replace(bt,"")}var gc=ui((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),bc=ui((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),yc=li("toLowerCase");var kc=ui((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var _c=ui((function(e,t,n){return e+(n?" ":"")+Oc(t)}));var wc=ui((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Oc=li("toUpperCase");function Sc(e,t,n){return e=Ks(e),(t=n?o:t)===o?function(e){return wt.test(e)}(e)?function(e){return e.match(kt)||[]}(e):function(e){return e.match(Fe)||[]}(e):e.match(t)||[]}var Ec=So((function(e,t){try{return Wt(e,o,t)}catch(n){return Os(n)?n:new Qe(n)}})),Cc=Mi((function(e,t){return Yt(t,(function(t){t=ua(t),Ir(e,t,ns(e[t],e))})),e}));function Tc(e){return function(){return e}}var xc=hi(),Dc=hi(!0);function Mc(e){return e}function jc(e){return co("function"==typeof e?e:Rr(e,d))}var Ic=So((function(e,t){return function(n){return ro(n,e,t)}})),Pc=So((function(e,t){return function(n){return ro(e,n,t)}}));function Nc(e,t,n){var r=oc(t),o=Gr(t,r);null!=n||Ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Gr(t,oc(t)));var i=!(Ts(n)&&"chain"in n&&!n.chain),a=Ss(e);return Yt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=ri(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Jt([this.value()],arguments))})})),e}function Rc(){}var Lc=gi(Qt),Ac=gi(qt),zc=gi(nn);function Fc(e){return qi(e)?dn(ua(e)):function(e){return function(t){return Zr(t,e)}}(e)}var Hc=yi(),Vc=yi(!0);function Bc(){return[]}function Uc(){return!1}var Wc=mi((function(e,t){return e+t}),0),Kc=wi("ceil"),Yc=mi((function(e,t){return e/t}),1),$c=wi("floor");var qc,Gc=mi((function(e,t){return e*t}),1),Zc=wi("round"),Xc=mi((function(e,t){return e-t}),0);return hr.after=function(e,t){if("function"!=typeof t)throw new ot(s);return e=Vs(e),function(){if(--e<1)return t.apply(this,arguments)}},hr.ary=es,hr.assign=Ys,hr.assignIn=$s,hr.assignInWith=qs,hr.assignWith=Gs,hr.at=Zs,hr.before=ts,hr.bind=ns,hr.bindAll=Cc,hr.bindKey=rs,hr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return gs(e)?e:[e]},hr.chain=Fa,hr.chunk=function(e,t,n){t=(n?$i(e,t,n):t===o)?1:Kn(Vs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,c=r(zn(i/t));a<i;)c[s++]=jo(e,a,a+=t);return c},hr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},hr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Jt(gs(n)?ri(n):[n],Wr(t,1))},hr.cond=function(e){var t=null==e?0:e.length,n=Li();return e=t?Qt(e,(function(e){if("function"!=typeof e[1])throw new ot(s);return[n(e[0]),e[1]]})):[],So((function(n){for(var r=-1;++r<t;){var o=e[r];if(Wt(o[0],this,n))return Wt(o[1],this,n)}}))},hr.conforms=function(e){return function(e){var t=oc(e);return function(n){return Lr(n,e,t)}}(Rr(e,d))},hr.constant=Tc,hr.countBy=Ba,hr.create=function(e,t){var n=pr(e);return null==t?n:jr(n,t)},hr.curry=function e(t,n,r){var i=Ei(t,y,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},hr.curryRight=function e(t,n,r){var i=Ei(t,k,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},hr.debounce=os,hr.defaults=Xs,hr.defaultsDeep=Qs,hr.defer=is,hr.delay=as,hr.difference=ha,hr.differenceBy=pa,hr.differenceWith=va,hr.drop=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,(t=n||t===o?1:Vs(t))<0?0:t,r):[]},hr.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,0,(t=r-(t=n||t===o?1:Vs(t)))<0?0:t):[]},hr.dropRightWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!0,!0):[]},hr.dropWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!0):[]},hr.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&$i(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Vs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:Vs(r))<0&&(r+=i),r=n>r?0:Bs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},hr.filter=function(e,t){return(gs(e)?Gt:Ur)(e,Li(t,3))},hr.flatMap=function(e,t){return Wr(Za(e,t),1)},hr.flatMapDeep=function(e,t){return Wr(Za(e,t),I)},hr.flatMapDepth=function(e,t,n){return n=n===o?1:Vs(n),Wr(Za(e,t),n)},hr.flatten=ba,hr.flattenDeep=function(e){return(null==e?0:e.length)?Wr(e,I):[]},hr.flattenDepth=function(e,t){return(null==e?0:e.length)?Wr(e,t=t===o?1:Vs(t)):[]},hr.flip=function(e){return Ei(e,E)},hr.flow=xc,hr.flowRight=Dc,hr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},hr.functions=function(e){return null==e?[]:Gr(e,oc(e))},hr.functionsIn=function(e){return null==e?[]:Gr(e,ic(e))},hr.groupBy=$a,hr.initial=function(e){return(null==e?0:e.length)?jo(e,0,-1):[]},hr.intersection=ka,hr.intersectionBy=_a,hr.intersectionWith=wa,hr.invert=tc,hr.invertBy=nc,hr.invokeMap=qa,hr.iteratee=jc,hr.keyBy=Ga,hr.keys=oc,hr.keysIn=ic,hr.map=Za,hr.mapKeys=function(e,t){var n={};return t=Li(t,3),$r(e,(function(e,r,o){Ir(n,t(e,r,o),e)})),n},hr.mapValues=function(e,t){var n={};return t=Li(t,3),$r(e,(function(e,r,o){Ir(n,r,t(e,r,o))})),n},hr.matches=function(e){return po(Rr(e,d))},hr.matchesProperty=function(e,t){return vo(e,Rr(t,d))},hr.memoize=ss,hr.merge=ac,hr.mergeWith=sc,hr.method=Ic,hr.methodOf=Pc,hr.mixin=Nc,hr.negate=cs,hr.nthArg=function(e){return e=Vs(e),So((function(t){return go(t,e)}))},hr.omit=cc,hr.omitBy=function(e,t){return uc(e,cs(Li(t)))},hr.once=function(e){return ts(2,e)},hr.orderBy=function(e,t,n,r){return null==e?[]:(gs(t)||(t=null==t?[]:[t]),gs(n=r?o:n)||(n=null==n?[]:[n]),bo(e,t,n))},hr.over=Lc,hr.overArgs=ls,hr.overEvery=Ac,hr.overSome=zc,hr.partial=us,hr.partialRight=ds,hr.partition=Xa,hr.pick=lc,hr.pickBy=uc,hr.property=Fc,hr.propertyOf=function(e){return function(t){return null==e?o:Zr(e,t)}},hr.pull=Sa,hr.pullAll=Ea,hr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?ko(e,t,Li(n,2)):e},hr.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?ko(e,t,o,n):e},hr.pullAt=Ca,hr.range=Hc,hr.rangeRight=Vc,hr.rearg=fs,hr.reject=function(e,t){return(gs(e)?Gt:Ur)(e,cs(Li(t,3)))},hr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Li(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return _o(e,o),n},hr.rest=function(e,t){if("function"!=typeof e)throw new ot(s);return So(e,t=t===o?t:Vs(t))},hr.reverse=Ta,hr.sampleSize=function(e,t,n){return t=(n?$i(e,t,n):t===o)?1:Vs(t),(gs(e)?Er:Co)(e,t)},hr.set=function(e,t,n){return null==e?e:To(e,t,n)},hr.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:To(e,t,n,r)},hr.shuffle=function(e){return(gs(e)?Cr:Mo)(e)},hr.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&$i(e,t,n)?(t=0,n=r):(t=null==t?0:Vs(t),n=n===o?r:Vs(n)),jo(e,t,n)):[]},hr.sortBy=Qa,hr.sortedUniq=function(e){return e&&e.length?Ro(e):[]},hr.sortedUniqBy=function(e,t){return e&&e.length?Ro(e,Li(t,2)):[]},hr.split=function(e,t,n){return n&&"number"!=typeof n&&$i(e,t,n)&&(t=n=o),(n=n===o?L:n>>>0)?(e=Ks(e))&&("string"==typeof t||null!=t&&!Is(t))&&!(t=Ao(t))&&Sn(e)?Go(jn(e),0,n):e.split(t,n):[]},hr.spread=function(e,t){if("function"!=typeof e)throw new ot(s);return t=null==t?0:Kn(Vs(t),0),So((function(n){var r=n[t],o=Go(n,0,t);return r&&Jt(o,r),Wt(e,this,o)}))},hr.tail=function(e){var t=null==e?0:e.length;return t?jo(e,1,t):[]},hr.take=function(e,t,n){return e&&e.length?jo(e,0,(t=n||t===o?1:Vs(t))<0?0:t):[]},hr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,(t=r-(t=n||t===o?1:Vs(t)))<0?0:t,r):[]},hr.takeRightWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!1,!0):[]},hr.takeWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3)):[]},hr.tap=function(e,t){return t(e),e},hr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ot(s);return Ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),os(e,t,{leading:r,maxWait:t,trailing:o})},hr.thru=Ha,hr.toArray=Fs,hr.toPairs=dc,hr.toPairsIn=fc,hr.toPath=function(e){return gs(e)?Qt(e,ua):Rs(e)?[e]:ri(la(Ks(e)))},hr.toPlainObject=Ws,hr.transform=function(e,t,n){var r=gs(e),o=r||_s(e)||Ls(e);if(t=Li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ts(e)&&Ss(i)?pr(jt(e)):{}}return(o?Yt:$r)(e,(function(e,r,o){return t(n,e,r,o)})),n},hr.unary=function(e){return es(e,1)},hr.union=xa,hr.unionBy=Da,hr.unionWith=Ma,hr.uniq=function(e){return e&&e.length?zo(e):[]},hr.uniqBy=function(e,t){return e&&e.length?zo(e,Li(t,2)):[]},hr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?zo(e,o,t):[]},hr.unset=function(e,t){return null==e||Fo(e,t)},hr.unzip=ja,hr.unzipWith=Ia,hr.update=function(e,t,n){return null==e?e:Ho(e,t,Yo(n))},hr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Ho(e,t,Yo(n),r)},hr.values=hc,hr.valuesIn=function(e){return null==e?[]:gn(e,ic(e))},hr.without=Pa,hr.words=Sc,hr.wrap=function(e,t){return us(Yo(t),e)},hr.xor=Na,hr.xorBy=Ra,hr.xorWith=La,hr.zip=Aa,hr.zipObject=function(e,t){return Wo(e||[],t||[],xr)},hr.zipObjectDeep=function(e,t){return Wo(e||[],t||[],To)},hr.zipWith=za,hr.entries=dc,hr.entriesIn=fc,hr.extend=$s,hr.extendWith=qs,Nc(hr,hr),hr.add=Wc,hr.attempt=Ec,hr.camelCase=pc,hr.capitalize=vc,hr.ceil=Kc,hr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=Us(n))==n?n:0),t!==o&&(t=(t=Us(t))==t?t:0),Nr(Us(e),t,n)},hr.clone=function(e){return Rr(e,h)},hr.cloneDeep=function(e){return Rr(e,d|h)},hr.cloneDeepWith=function(e,t){return Rr(e,d|h,t="function"==typeof t?t:o)},hr.cloneWith=function(e,t){return Rr(e,h,t="function"==typeof t?t:o)},hr.conformsTo=function(e,t){return null==t||Lr(e,t,oc(t))},hr.deburr=mc,hr.defaultTo=function(e,t){return null==e||e!=e?t:e},hr.divide=Yc,hr.endsWith=function(e,t,n){e=Ks(e),t=Ao(t);var r=e.length,i=n=n===o?r:Nr(Vs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},hr.eq=hs,hr.escape=function(e){return(e=Ks(e))&&Se.test(e)?e.replace(we,wn):e},hr.escapeRegExp=function(e){return(e=Ks(e))&&Ie.test(e)?e.replace(je,"\\$&"):e},hr.every=function(e,t,n){var r=gs(e)?qt:Vr;return n&&$i(e,t,n)&&(t=o),r(e,Li(t,3))},hr.find=Ua,hr.findIndex=ma,hr.findKey=function(e,t){return on(e,Li(t,3),$r)},hr.findLast=Wa,hr.findLastIndex=ga,hr.findLastKey=function(e,t){return on(e,Li(t,3),qr)},hr.floor=$c,hr.forEach=Ka,hr.forEachRight=Ya,hr.forIn=function(e,t){return null==e?e:Kr(e,Li(t,3),ic)},hr.forInRight=function(e,t){return null==e?e:Yr(e,Li(t,3),ic)},hr.forOwn=function(e,t){return e&&$r(e,Li(t,3))},hr.forOwnRight=function(e,t){return e&&qr(e,Li(t,3))},hr.get=Js,hr.gt=ps,hr.gte=vs,hr.has=function(e,t){return null!=e&&Ui(e,t,eo)},hr.hasIn=ec,hr.head=ya,hr.identity=Mc,hr.includes=function(e,t,n,r){e=ys(e)?e:hc(e),n=n&&!r?Vs(n):0;var o=e.length;return n<0&&(n=Kn(o+n,0)),Ns(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&sn(e,t,n)>-1},hr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vs(n);return o<0&&(o=Kn(r+o,0)),sn(e,t,o)},hr.inRange=function(e,t,n){return t=Hs(t),n===o?(n=t,t=0):n=Hs(n),function(e,t,n){return e>=Yn(t,n)&&e<Kn(t,n)}(e=Us(e),t,n)},hr.invoke=rc,hr.isArguments=ms,hr.isArray=gs,hr.isArrayBuffer=bs,hr.isArrayLike=ys,hr.isArrayLikeObject=ks,hr.isBoolean=function(e){return!0===e||!1===e||xs(e)&&Qr(e)==U},hr.isBuffer=_s,hr.isDate=ws,hr.isElement=function(e){return xs(e)&&1===e.nodeType&&!js(e)},hr.isEmpty=function(e){if(null==e)return!0;if(ys(e)&&(gs(e)||"string"==typeof e||"function"==typeof e.splice||_s(e)||Ls(e)||ms(e)))return!e.length;var t=Bi(e);if(t==G||t==te)return!e.size;if(Xi(e))return!lo(e).length;for(var n in e)if(ut.call(e,n))return!1;return!0},hr.isEqual=function(e,t){return io(e,t)},hr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?io(e,t,o,n):!!r},hr.isError=Os,hr.isFinite=function(e){return"number"==typeof e&&Bn(e)},hr.isFunction=Ss,hr.isInteger=Es,hr.isLength=Cs,hr.isMap=Ds,hr.isMatch=function(e,t){return e===t||ao(e,t,zi(t))},hr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,ao(e,t,zi(t),n)},hr.isNaN=function(e){return Ms(e)&&e!=+e},hr.isNative=function(e){if(Zi(e))throw new Qe(a);return so(e)},hr.isNil=function(e){return null==e},hr.isNull=function(e){return null===e},hr.isNumber=Ms,hr.isObject=Ts,hr.isObjectLike=xs,hr.isPlainObject=js,hr.isRegExp=Is,hr.isSafeInteger=function(e){return Es(e)&&e>=-P&&e<=P},hr.isSet=Ps,hr.isString=Ns,hr.isSymbol=Rs,hr.isTypedArray=Ls,hr.isUndefined=function(e){return e===o},hr.isWeakMap=function(e){return xs(e)&&Bi(e)==ie},hr.isWeakSet=function(e){return xs(e)&&Qr(e)==ae},hr.join=function(e,t){return null==e?"":Un.call(e,t)},hr.kebabCase=gc,hr.last=Oa,hr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Vs(n))<0?Kn(r+i,0):Yn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):an(e,ln,i,!0)},hr.lowerCase=bc,hr.lowerFirst=yc,hr.lt=As,hr.lte=zs,hr.max=function(e){return e&&e.length?Br(e,Mc,Jr):o},hr.maxBy=function(e,t){return e&&e.length?Br(e,Li(t,2),Jr):o},hr.mean=function(e){return un(e,Mc)},hr.meanBy=function(e,t){return un(e,Li(t,2))},hr.min=function(e){return e&&e.length?Br(e,Mc,fo):o},hr.minBy=function(e,t){return e&&e.length?Br(e,Li(t,2),fo):o},hr.stubArray=Bc,hr.stubFalse=Uc,hr.stubObject=function(){return{}},hr.stubString=function(){return""},hr.stubTrue=function(){return!0},hr.multiply=Gc,hr.nth=function(e,t){return e&&e.length?go(e,Vs(t)):o},hr.noConflict=function(){return It._===this&&(It._=vt),this},hr.noop=Rc,hr.now=Ja,hr.pad=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return bi(Fn(o),n)+e+bi(zn(o),n)},hr.padEnd=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;return t&&r<t?e+bi(t-r,n):e},hr.padStart=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;return t&&r<t?bi(t-r,n)+e:e},hr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),qn(Ks(e).replace(Ne,""),t||0)},hr.random=function(e,t,n){if(n&&"boolean"!=typeof n&&$i(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Hs(e),t===o?(t=e,e=0):t=Hs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Gn();return Yn(e+i*(t-e+xt("1e-"+((i+"").length-1))),t)}return wo(e,t)},hr.reduce=function(e,t,n){var r=gs(e)?en:hn,o=arguments.length<3;return r(e,Li(t,4),n,o,Fr)},hr.reduceRight=function(e,t,n){var r=gs(e)?tn:hn,o=arguments.length<3;return r(e,Li(t,4),n,o,Hr)},hr.repeat=function(e,t,n){return t=(n?$i(e,t,n):t===o)?1:Vs(t),Oo(Ks(e),t)},hr.replace=function(){var e=arguments,t=Ks(e[0]);return e.length<3?t:t.replace(e[1],e[2])},hr.result=function(e,t,n){var r=-1,i=(t=$o(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[ua(t[r])];a===o&&(r=i,a=n),e=Ss(a)?a.call(e):a}return e},hr.round=Zc,hr.runInContext=e,hr.sample=function(e){return(gs(e)?Sr:Eo)(e)},hr.size=function(e){if(null==e)return 0;if(ys(e))return Ns(e)?Mn(e):e.length;var t=Bi(e);return t==G||t==te?e.size:lo(e).length},hr.snakeCase=kc,hr.some=function(e,t,n){var r=gs(e)?nn:Io;return n&&$i(e,t,n)&&(t=o),r(e,Li(t,3))},hr.sortedIndex=function(e,t){return Po(e,t)},hr.sortedIndexBy=function(e,t,n){return No(e,t,Li(n,2))},hr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Po(e,t);if(r<n&&hs(e[r],t))return r}return-1},hr.sortedLastIndex=function(e,t){return Po(e,t,!0)},hr.sortedLastIndexBy=function(e,t,n){return No(e,t,Li(n,2),!0)},hr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Po(e,t,!0)-1;if(hs(e[n],t))return n}return-1},hr.startCase=_c,hr.startsWith=function(e,t,n){return e=Ks(e),n=null==n?0:Nr(Vs(n),0,e.length),t=Ao(t),e.slice(n,n+t.length)==t},hr.subtract=Xc,hr.sum=function(e){return e&&e.length?pn(e,Mc):0},hr.sumBy=function(e,t){return e&&e.length?pn(e,Li(t,2)):0},hr.template=function(e,t,n){var r=hr.templateSettings;n&&$i(e,t,n)&&(t=o),e=Ks(e),t=qs({},t,r,Ci);var i,a,s=qs({},t.imports,r.imports,Ci),c=oc(s),l=gn(s,c),u=0,d=t.interpolate||Ge,f="__p += '",h=nt((t.escape||Ge).source+"|"+d.source+"|"+(d===Te?Ve:Ge).source+"|"+(t.evaluate||Ge).source+"|$","g"),p="//# sourceURL="+(ut.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++St+"]")+"\n";e.replace(h,(function(t,n,r,o,s,c){return r||(r=o),f+=e.slice(u,c).replace(Ze,On),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),f+="';\n";var v=ut.call(t,"variable")&&t.variable;v||(f="with (obj) {\n"+f+"\n}\n"),f=(a?f.replace(be,""):f).replace(ye,"$1").replace(ke,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ec((function(){return Je(c,p+"return "+f).apply(o,l)}));if(m.source=f,Os(m))throw m;return m},hr.times=function(e,t){if((e=Vs(e))<1||e>P)return[];var n=L,r=Yn(e,L);t=Li(t),e-=L;for(var o=vn(r,t);++n<e;)t(n);return o},hr.toFinite=Hs,hr.toInteger=Vs,hr.toLength=Bs,hr.toLower=function(e){return Ks(e).toLowerCase()},hr.toNumber=Us,hr.toSafeInteger=function(e){return e?Nr(Vs(e),-P,P):0===e?e:0},hr.toString=Ks,hr.toUpper=function(e){return Ks(e).toUpperCase()},hr.trim=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Pe,"");if(!e||!(t=Ao(t)))return e;var r=jn(e),i=jn(t);return Go(r,yn(r,i),kn(r,i)+1).join("")},hr.trimEnd=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Re,"");if(!e||!(t=Ao(t)))return e;var r=jn(e);return Go(r,0,kn(r,jn(t))+1).join("")},hr.trimStart=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Ne,"");if(!e||!(t=Ao(t)))return e;var r=jn(e);return Go(r,yn(r,jn(t))).join("")},hr.truncate=function(e,t){var n=C,r=T;if(Ts(t)){var i="separator"in t?t.separator:i;n="length"in t?Vs(t.length):n,r="omission"in t?Ao(t.omission):r}var a=(e=Ks(e)).length;if(Sn(e)){var s=jn(e);a=s.length}if(n>=a)return e;var c=n-Mn(r);if(c<1)return r;var l=s?Go(s,0,c).join(""):e.slice(0,c);if(i===o)return l+r;if(s&&(c+=l.length-c),Is(i)){if(e.slice(c).search(i)){var u,d=l;for(i.global||(i=nt(i.source,Ks(Be.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;l=l.slice(0,f===o?c:f)}}else if(e.indexOf(Ao(i),c)!=c){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r},hr.unescape=function(e){return(e=Ks(e))&&Oe.test(e)?e.replace(_e,In):e},hr.uniqueId=function(e){var t=++dt;return Ks(e)+t},hr.upperCase=wc,hr.upperFirst=Oc,hr.each=Ka,hr.eachRight=Ya,hr.first=ya,Nc(hr,(qc={},$r(hr,(function(e,t){ut.call(hr.prototype,t)||(qc[t]=e)})),qc),{chain:!1}),hr.VERSION="4.17.15",Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){hr[e].placeholder=hr})),Yt(["drop","take"],(function(e,t){gr.prototype[e]=function(n){n=n===o?1:Kn(Vs(n),0);var r=this.__filtered__&&!t?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Yn(n,r.__takeCount__):r.__views__.push({size:Yn(n,L),type:e+(r.__dir__<0?"Right":"")}),r},gr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Yt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==M||3==n;gr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Yt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");gr.prototype[e]=function(){return this[n](1).value()[0]}})),Yt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");gr.prototype[e]=function(){return this.__filtered__?new gr(this):this[n](1)}})),gr.prototype.compact=function(){return this.filter(Mc)},gr.prototype.find=function(e){return this.filter(e).head()},gr.prototype.findLast=function(e){return this.reverse().find(e)},gr.prototype.invokeMap=So((function(e,t){return"function"==typeof e?new gr(this):this.map((function(n){return ro(n,e,t)}))})),gr.prototype.reject=function(e){return this.filter(cs(Li(e)))},gr.prototype.slice=function(e,t){e=Vs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new gr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Vs(t))<0?n.dropRight(-t):n.take(t-e)),n)},gr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},gr.prototype.toArray=function(){return this.take(L)},$r(gr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=hr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(hr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof gr,l=s[0],u=c||gs(t),d=function(e){var t=i.apply(hr,Jt([e],s));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,h=!!this.__actions__.length,p=a&&!f,v=c&&!h;if(!a&&u){t=v?t:new gr(this);var m=e.apply(t,s);return m.__actions__.push({func:Ha,args:[d],thisArg:o}),new mr(m,f)}return p&&v?e.apply(this,s):(m=this.thru(d),p?r?m.value()[0]:m.value():m)})})),Yt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);hr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(gs(o)?o:[],e)}return this[n]((function(n){return t.apply(gs(n)?n:[],e)}))}})),$r(gr.prototype,(function(e,t){var n=hr[t];if(n){var r=n.name+"";ut.call(or,r)||(or[r]=[]),or[r].push({name:t,func:n})}})),or[pi(o,g).name]=[{name:"wrapper",func:o}],gr.prototype.clone=function(){var e=new gr(this.__wrapped__);return e.__actions__=ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ri(this.__views__),e},gr.prototype.reverse=function(){if(this.__filtered__){var e=new gr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},gr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=gs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Yn(t,e+a);break;case"takeRight":e=Kn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,l=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=Yn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return Bo(e,this.__actions__);var p=[];e:for(;c--&&f<h;){for(var v=-1,m=e[l+=t];++v<d;){var g=u[v],b=g.iteratee,y=g.type,k=b(m);if(y==j)m=k;else if(!k){if(y==M)continue e;break e}}p[f++]=m}return p},hr.prototype.at=Va,hr.prototype.chain=function(){return Fa(this)},hr.prototype.commit=function(){return new mr(this.value(),this.__chain__)},hr.prototype.next=function(){this.__values__===o&&(this.__values__=Fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},hr.prototype.plant=function(e){for(var t,n=this;n instanceof vr;){var r=fa(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},hr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof gr){var t=e;return this.__actions__.length&&(t=new gr(this)),(t=t.reverse()).__actions__.push({func:Ha,args:[Ta],thisArg:o}),new mr(t,this.__chain__)}return this.thru(Ta)},hr.prototype.toJSON=hr.prototype.valueOf=hr.prototype.value=function(){return Bo(this.__wrapped__,this.__actions__)},hr.prototype.first=hr.prototype.head,rn&&(hr.prototype[rn]=function(){return this}),hr}();It._=Pn,(r=function(){return Pn}.call(t,n,t,e))===o||(e.exports=r)}).call(this)}).call(this,n(52)(e))},function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){var r;
10
  /*!
11
  Copyright (c) 2017 Jed Watson.
12
  Licensed under the MIT License (MIT), see
13
  http://jedwatson.github.io/classnames
14
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(142)},function(e,t,n){e.exports=n(184)()},function(e,t,n){"use strict";var r=n(153),o=n(154),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return It(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=r.momentProperties=[];function g(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[r=m[n]])||(e[r]=o);return e}var b=!1;function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function k(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function O(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function x(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function P(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function N(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var L={};function A(e,t){L[e]=t}function z(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(B[e]=o),t&&(B[t[0]]=function(){return z(o.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,o=e.match(F);for(t=0,n=o.length;t<n;t++)B[o[t]]?o[t]=B[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),V[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var Y=/\d/,$=/\d\d/,q=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function le(e,t,n){ce[e]=D(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(ce,e)?ce[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function pe(e,t){he(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function ve(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}var me=0,ge=1,be=2,ye=3,ke=4,_e=5,we=6,Oe=7,Se=8;function Ee(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),P("year","y"),A("year",1),le("Y",oe),le("YY",X,$),le("YYYY",te,G),le("YYYYY",ne,Z),le("YYYYYY",ne,Z),he(["YYYYY","YYYYYY"],me),he("YYYY",(function(e,t){t[me]=2===e.length?r.parseTwoDigitYear(e):w(e)})),he("YY",(function(e,t){t[me]=r.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[me]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Te,xe=De("FullYear",!0);function De(e,t){return function(n){return null!=n?(je(this,e,n),r.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function je(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Te=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),A("month",8),le("M",X),le("MM",X,$),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[ge]=w(e)-1})),he(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ge]=o:h(n).invalidMonth=e}));var Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Te.call(this._shortMonthsParse,a))?o:null:-1!==(o=Te.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Te.call(this._shortMonthsParse,a))?o:-1!==(o=Te.call(this._longMonthsParse,a))?o:null:-1!==(o=Te.call(this._longMonthsParse,a))?o:-1!==(o=Te.call(this._shortMonthsParse,a))?o:null}function Ae(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ze(e){return null!=e?(Ae(this,e),r.updateOffset(this,!0),this):Me(this,"Month")}var Fe=se,He=se;function Ve(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Be(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ue(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function We(e,t,n){var r=7+t-n;return-(7+Ue(e,0,r).getUTCDay()-t)%7+r-1}function Ke(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+We(e,r,o);return s<=0?a=Ee(i=e-1)+s:s>Ee(e)?(i=e+1,a=s-Ee(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ye(e,t,n){var r,o,i=We(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+$e(o=e.year()-1,t,n):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function $e(e,t,n){var r=We(e,t,n),o=We(e+1,t,n);return(Ee(e)-r+o)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),A("week",5),A("isoWeek",5),le("w",X),le("ww",X,$),le("W",X),le("WW",X,$),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=w(e)})),U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=w(e)}));var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Te.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:null}var Je=se,et=se,tt=se;function nt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=de(s[t]),c[t]=de(c[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function rt(){return this.hours()%12||12}function ot(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function it(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,rt),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+rt.apply(this)+z(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+rt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),ot("a",!0),ot("A",!1),P("hour","h"),A("hour",13),le("a",it),le("A",it),le("H",X),le("h",X),le("k",X),le("HH",X,$),le("hh",X,$),le("kk",X,$),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),he(["H","HH"],ye),he(["k","kk"],(function(e,t,n){var r=w(e);t[ye]=24===r?0:r})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[ye]=w(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var r=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[_e]=w(e.substr(o)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var r=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r))})),he("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[_e]=w(e.substr(o))}));var at,st=De("Hours",!0),ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Xe,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},lt={},ut={};function dt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(!lt[t]&&void 0!==e&&e&&e.exports)try{n=at._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ht(n)}catch(r){}return lt[t]}function ht(e,t){var n;return e&&((n=a(t)?vt(e):pt(e,t))?at=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null!==t){var n,r=ct;if(t.abbr=e,null!=lt[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])r=lt[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return lt[e]=new j(M(r,t)),ut[e]&&ut[e].forEach((function(e){pt(e.name,e.config)})),ht(e),lt[e]}return delete lt[e],null}function vt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!o(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;t>0;){if(r=ft(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(o,n,!0)>=t-1)break;t--}i++}return at}(e)}function mt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[be]<1||n[be]>Ie(n[me],n[ge])?be:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[ke]||0!==n[_e]||0!==n[we])?ye:n[ke]<0||n[ke]>59?ke:n[_e]<0||n[_e]>59?_e:n[we]<0||n[we]>999?we:-1,h(e)._overflowDayOfYear&&(t<me||t>be)&&(t=be),h(e)._overflowWeeks&&-1===t&&(t=Oe),h(e)._overflowWeekday&&-1===t&&(t=Se),h(e).overflow=t),e}function gt(e,t,n){return null!=e?e:null!=t?t:n}function bt(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ge]&&function(e){var t,n,r,o,i,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=gt(t.GG,e._a[me],Ye(Pt(),1,4).year),r=gt(t.W,1),((o=gt(t.E,1))<1||o>7)&&(c=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ye(Pt(),i,a);n=gt(t.gg,e._a[me],l.year),r=gt(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(c=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(c=!0)):o=i}r<1||r>$e(n,i,a)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Ke(n,r,o,i,a),e._a[me]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=gt(e._a[me],o[me]),(e._dayOfYear>Ee(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[ge]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[ke]&&0===e._a[_e]&&0===e._a[we]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ue:Be).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],St=/^\/?Date\((\-?\d+)/i;function Et(e){var t,n,r,o,i,a,s=e._i,c=yt.exec(s)||kt.exec(s);if(c){for(h(e).iso=!0,t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(c[1])){o=wt[t][0],r=!1!==wt[t][2];break}if(null==o)return void(e._isValid=!1);if(c[3]){for(t=0,n=Ot.length;t<n;t++)if(Ot[t][1].exec(c[3])){i=(c[2]||" ")+Ot[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(c[4]){if(!_t.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Mt(e)}else e._isValid=!1}var Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Tt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,r,o,i,a,s,c=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var l=(t=c[4],n=c[3],r=c[2],o=c[5],i=c[6],a=c[7],s=[Tt(t),Re.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s=""+e._i,c=s.length,l=0;for(o=K(e._f,e._locale).match(F)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),ve(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=c-l,s.length>0&&h(e).unusedInput.push(s),e._a[ye]<=12&&!0===h(e).bigHour&&e._a[ye]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),bt(e),mt(e)}else Dt(e);else Et(e)}function jt(e){var t=e._i,n=e._f;return e._locale=e._locale||vt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(mt(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),p(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?Mt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=St.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),bt(e)):i(t)?function(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),bt(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function It(e,t,n,r,a){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new y(mt(jt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,n,r){return It(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Nt=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Rt=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Lt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function zt(e){var t=R(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Te.call(At,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<At.length;++r)if(e[At[r]]){if(n)return!1;parseFloat(e[At[r]])!==w(e[At[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=vt(),this._bubble()}function Ft(e){return e instanceof zt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Vt(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)}))}Vt("Z",":"),Vt("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ut(ae,e)}));var Bt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Bt)||["-",0,0],o=60*r[1]+w(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Wt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||c(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):Pt(e).local()}function Kt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var $t=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,r,o,i,a,c,l=e,d=null;return Ft(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(l={},t?l[t]=e:l.milliseconds=e):(d=$t.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:w(d[be])*n,h:w(d[ye])*n,m:w(d[ke])*n,s:w(d[_e])*n,ms:w(Ht(1e3*d[we]))*n}):(d=qt.exec(e))?(n="-"===d[1]?-1:1,l={y:Zt(d[2],n),M:Zt(d[3],n),w:Zt(d[4],n),d:Zt(d[5],n),h:Zt(d[6],n),m:Zt(d[7],n),s:Zt(d[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(i=Pt(l.from),a=Pt(l.to),o=i.isValid()&&a.isValid()?(a=Wt(a,i),i.isBefore(a)?c=Xt(i,a):((c=Xt(a,i)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(l={}).ms=o.milliseconds,l.M=o.months),r=new zt(l),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Qt(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Jt(this,Gt(n="string"==typeof n?+n:n,r),e),this}}function Jt(e,t,n,o){var i=t._milliseconds,a=Ht(t._days),s=Ht(t._months);e.isValid()&&(o=null==o||o,s&&Ae(e,Me(e,"Month")+s*n),a&&je(e,"Date",Me(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Gt.fn=zt.prototype,Gt.invalid=function(){return Gt(NaN)};var en=Qt(1,"add"),tn=Qt(-1,"subtract");function nn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function rn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var on=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function an(){return this._locale}var sn=1e3,cn=60*sn,ln=60*cn,un=3506328*ln;function dn(e,t){return(e%t+t)%t}function fn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-un:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-un:Date.UTC(e,t,n)}function pn(e,t){U(0,[e,e.length],0,t)}function vn(e,t,n,r,o){var i;return null==e?Ye(this,r,o).year:(t>(i=$e(e,r,o))&&(t=i),mn.call(this,e,t,n,r,o))}function mn(e,t,n,r,o){var i=Ke(e,t,n,r,o),a=Ue(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",X,$),le("gg",X,$),le("GGGG",te,G),le("gggg",te,G),le("GGGGG",ne,Z),le("ggggg",ne,Z),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=w(e)})),pe(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),P("quarter","Q"),A("quarter",7),le("Q",Y),he("Q",(function(e,t){t[ge]=3*(w(e)-1)})),U("D",["DD",2],"Do","date"),P("date","D"),A("date",9),le("D",X),le("DD",X,$),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],be),he("Do",(function(e,t){t[be]=w(e.match(X)[0])}));var gn=De("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),A("dayOfYear",4),le("DDD",ee),le("DDDD",q),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),U("m",["mm",2],0,"minute"),P("minute","m"),A("minute",14),le("m",X),le("mm",X,$),he(["m","mm"],ke);var bn=De("Minutes",!1);U("s",["ss",2],0,"second"),P("second","s"),A("second",15),le("s",X),le("ss",X,$),he(["s","ss"],_e);var yn,kn=De("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),A("millisecond",16),le("S",ee,Y),le("SS",ee,$),le("SSS",ee,q),yn="SSSS";yn.length<=9;yn+="S")le(yn,re);function _n(e,t){t[we]=w(1e3*("0."+e))}for(yn="S";yn.length<=9;yn+="S")he(yn,_n);var wn=De("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var On=y.prototype;function Sn(e){return e}On.add=en,On.calendar=function(e,t){var n=e||Pt(),o=Wt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Pt(n)))},On.clone=function(){return new y(this)},On.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Wt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":i=nn(this,r)/12;break;case"month":i=nn(this,r);break;case"quarter":i=nn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_(i)},On.endOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-dn(t+(this._isUTC?0:this.utcOffset()*cn),ln)-1;break;case"minute":t=this._d.valueOf(),t+=cn-dn(t,cn)-1;break;case"second":t=this._d.valueOf(),t+=sn-dn(t,sn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},On.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},On.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.fromNow=function(e){return this.from(Pt(),e)},On.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.toNow=function(e){return this.to(Pt(),e)},On.get=function(e){return D(this[e=N(e)])?this[e]():this},On.invalidAt=function(){return h(this).overflow},On.isAfter=function(e,t){var n=k(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},On.isBefore=function(e,t){var n=k(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},On.isBetween=function(e,t,n,r){var o=k(e)?e:Pt(e),i=k(t)?t:Pt(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},On.isSame=function(e,t){var n,r=k(e)?e:Pt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},On.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},On.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},On.isValid=function(){return p(this)},On.lang=on,On.locale=rn,On.localeData=an,On.max=Rt,On.min=Nt,On.parsingFlags=function(){return d({},h(this))},On.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=R(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=N(e)]))return this[e](t);return this},On.startOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=dn(t+(this._isUTC?0:this.utcOffset()*cn),ln);break;case"minute":t=this._d.valueOf(),t-=dn(t,cn);break;case"second":t=this._d.valueOf(),t-=dn(t,sn)}return this._d.setTime(t),r.updateOffset(this,!0),this},On.subtract=tn,On.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},On.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},On.toDate=function(){return new Date(this.valueOf())},On.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},On.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},On.toJSON=function(){return this.isValid()?this.toISOString():null},On.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},On.unix=function(){return Math.floor(this.valueOf()/1e3)},On.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},On.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},On.year=xe,On.isLeapYear=function(){return Ce(this.year())},On.weekYear=function(e){return vn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},On.isoWeekYear=function(e){return vn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},On.quarter=On.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},On.month=ze,On.daysInMonth=function(){return Ie(this.year(),this.month())},On.week=On.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},On.isoWeek=On.isoWeeks=function(e){var t=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},On.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},On.isoWeeksInYear=function(){return $e(this.year(),1,4)},On.date=gn,On.day=On.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},On.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},On.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},On.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},On.hour=On.hours=st,On.minute=On.minutes=bn,On.second=On.seconds=kn,On.millisecond=On.milliseconds=wn,On.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Kt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Jt(this,Gt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Kt(this)},On.utc=function(e){return this.utcOffset(0,e)},On.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Kt(this),"m")),this},On.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},On.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},On.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},On.isLocal=function(){return!!this.isValid()&&!this._isUTC},On.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},On.isUtc=Yt,On.isUTC=Yt,On.zoneAbbr=function(){return this._isUTC?"UTC":""},On.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},On.dates=E("dates accessor is deprecated. Use date instead.",gn),On.months=E("months accessor is deprecated. Use month instead",ze),On.years=E("years accessor is deprecated. Use year instead",xe),On.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),On.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=jt(e))._a){var t=e._isUTC?f(e._a):Pt(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var En=j.prototype;function Cn(e,t,n,r){var o=vt(),i=f().set(r,t);return o[n](i,e)}function Tn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Cn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Cn(e,r,n,"month");return o}function xn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=vt(),a=e?i._week.dow:0;if(null!=n)return Cn(t,(n+a)%7,r,"day");var c=[];for(o=0;o<7;o++)c[o]=Cn(t,(o+a)%7,r,"day");return c}En.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},En.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},En.invalidDate=function(){return this._invalidDate},En.ordinal=function(e){return this._ordinal.replace("%d",e)},En.preparse=Sn,En.postformat=Sn,En.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},En.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},En.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},En.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},En.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},En.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},En.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},En.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},En.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},En.firstDayOfYear=function(){return this._week.doy},En.firstDayOfWeek=function(){return this._week.dow},En.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},En.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},En.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},En.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},En.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},En.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},En.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},En.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},En.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ht),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",vt);var Dn=Math.abs;function Mn(e,t,n,r){var o=Gt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function jn(e){return e<0?Math.floor(e):Math.ceil(e)}function In(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function Nn(e){return function(){return this.as(e)}}var Rn=Nn("ms"),Ln=Nn("s"),An=Nn("m"),zn=Nn("h"),Fn=Nn("d"),Hn=Nn("w"),Vn=Nn("M"),Bn=Nn("Q"),Un=Nn("y");function Wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Kn=Wn("milliseconds"),Yn=Wn("seconds"),$n=Wn("minutes"),qn=Wn("hours"),Gn=Wn("days"),Zn=Wn("months"),Xn=Wn("years"),Qn=Math.round,Jn={ss:44,s:45,m:45,h:22,d:26,M:11};function er(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var tr=Math.abs;function nr(e){return(e>0)-(e<0)||+e}function rr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=tr(this._milliseconds)/1e3,r=tr(this._days),o=tr(this._months);e=_(n/60),t=_(e/60),n%=60,e%=60;var i=_(o/12),a=o%=12,s=r,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=nr(this._months)!==nr(d)?"-":"",p=nr(this._days)!==nr(d)?"-":"",v=nr(this._milliseconds)!==nr(d)?"-":"";return f+"P"+(i?h+i+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?v+c+"H":"")+(l?v+l+"M":"")+(u?v+u+"S":"")}var or=zt.prototype;return or.isValid=function(){return this._isValid},or.abs=function(){var e=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),e.milliseconds=Dn(e.milliseconds),e.seconds=Dn(e.seconds),e.minutes=Dn(e.minutes),e.hours=Dn(e.hours),e.months=Dn(e.months),e.years=Dn(e.years),this},or.add=function(e,t){return Mn(this,e,t,1)},or.subtract=function(e,t){return Mn(this,e,t,-1)},or.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+In(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},or.asMilliseconds=Rn,or.asSeconds=Ln,or.asMinutes=An,or.asHours=zn,or.asDays=Fn,or.asWeeks=Hn,or.asMonths=Vn,or.asQuarters=Bn,or.asYears=Un,or.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},or._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*jn(Pn(s)+a),a=0,s=0),c.milliseconds=i%1e3,e=_(i/1e3),c.seconds=e%60,t=_(e/60),c.minutes=t%60,n=_(t/60),c.hours=n%24,a+=_(n/24),o=_(In(a)),s+=o,a-=jn(Pn(o)),r=_(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},or.clone=function(){return Gt(this)},or.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},or.milliseconds=Kn,or.seconds=Yn,or.minutes=$n,or.hours=qn,or.days=Gn,or.weeks=function(){return _(this.days()/7)},or.months=Zn,or.years=Xn,or.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Gt(e).abs(),o=Qn(r.as("s")),i=Qn(r.as("m")),a=Qn(r.as("h")),s=Qn(r.as("d")),c=Qn(r.as("M")),l=Qn(r.as("y")),u=o<=Jn.ss&&["s",o]||o<Jn.s&&["ss",o]||i<=1&&["m"]||i<Jn.m&&["mm",i]||a<=1&&["h"]||a<Jn.h&&["hh",a]||s<=1&&["d"]||s<Jn.d&&["dd",s]||c<=1&&["M"]||c<Jn.M&&["MM",c]||l<=1&&["y"]||["yy",l];return u[2]=t,u[3]=+e>0,u[4]=n,er.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},or.toISOString=rr,or.toString=rr,or.toJSON=rr,or.locale=rn,or.localeData=an,or.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rr),or.lang=on,U("X",0,0,"unix"),U("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(w(e))})),r.version="2.24.0",t=Pt,r.fn=On,r.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Pt(1e3*e)},r.months=function(e,t){return Tn(e,t,"months")},r.isDate=c,r.locale=ht,r.invalid=v,r.duration=Gt,r.isMoment=k,r.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},r.parseZone=function(){return Pt.apply(null,arguments).parseZone()},r.localeData=vt,r.isDuration=Ft,r.monthsShort=function(e,t){return Tn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},r.defineLocale=pt,r.updateLocale=function(e,t){if(null!=t){var n,r,o=ct;null!=(r=ft(e))&&(o=r._config),t=M(o,t),(n=new j(t)).parentLocale=lt[e],lt[e]=n,ht(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?lt[e]=lt[e].parentLocale:null!=lt[e]&&delete lt[e]);return lt[e]},r.locales=function(){return C(lt)},r.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},r.normalizeUnits=N,r.relativeTimeRounding=function(e){return void 0===e?Qn:"function"==typeof e&&(Qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Jn[e]&&(void 0===t?Jn[e]:(Jn[e]=t,"s"===e&&(Jn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=On,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(52)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,s=0;s<i.length;s++){var c=i[s];if(void 0===(a=a.get(c)))return;var l=t[c];if(void 0===(a=a.get(l)))return}var u=a.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,a.set("_ekm_value",u),n.set(t,u),u):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,s=0;s<o.length;s++){var c=o[s];a.has(c)||a.set(c,new e),a=a.get(c);var l=t[c];a.has(l)||a.set(l,new e),a=a.get(l)}var u=a.get("_ekm_value");return u&&this._map.delete(u[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,s;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[s=n[a]]!==i[s])return i;return r}}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(134)},function(e,t,n){e.exports=n(189)},function(e,t,n){"use strict";var r=n(19),o=n(84),i=n(85),a=n(183),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",i="Move forward to switch to the next month.",a="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},m=function(e){return e.date},g=function(e){var t=e.date;return"Not available. "+String(t)},b=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:g,dateIsSelected:b};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:g,dateIsSelected:b},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:v,chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:i},t.CalendarDayPhrases={chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=i(n(13)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,p=t.cssPropName,b=void 0===p?"css":p,y=t.flushBefore,k=void 0!==y&&y,_=t.pureComponent,w=void 0!==_&&_,O=void 0,S=void 0,E=void 0,C=void 0,T=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(w);function x(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function D(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?E:C}(t),o=t===l.DIRECTIONS.LTR?O:S,i=d.default.get();return o&&r===i?o:(t===l.DIRECTIONS.RTL?(S=e?d.default.createRTL(e):v,C=i,o=S):(O=e?d.default.createLTR(e):v,E=i,o=O),o)}function M(e,t){return{resolveMethod:x(e),styleDef:D(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():g;return r.state=M(o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(M(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;k&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(h(t={},f,d.default.get()),h(t,s,i()),h(t,b,o),t)))}}]),n}(T);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=m,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[b]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,c.default)(n,e)}};var i=f(n(13)),a=f(n(1)),s=f(n(4)),c=f(n(190)),l=n(193),u=f(n(194)),d=f(n(82));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var p={},v=function(){return p};var m=h({},l.CHANNEL,u.default),g=l.DIRECTIONS.LTR},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(M[e])e=M[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,v=e.b,t={r:255*P(h,255),g:255*P(p,255),b:255*P(v,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=A(e.s),s=A(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=A(e.s),c=A(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,v;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[L(z(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=N(n.s),f(n)}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=N(n.s),f(n)}function y(e){return f(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=N(n.l),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=N(n.l),f(n)}function O(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function D(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(z(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*P(this._r,255))+"%",g:c(100*P(this._g,255))+"%",b:c(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%)":"rgba("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:A(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var M=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(M);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,V,B,U=(V="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",B="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(68);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=s(n(143)),i=s(n(145)),a=s(n(147));function s(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";var r=n(53),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!c,e.exports=u},function(e,t,n){var r=n(6),o=n(187),i=n(188);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},function(e,t,n){"use strict";e.exports=n(228)},function(e,t,n){"use strict";var r=n(164);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf(a.WEEKDAYS)},function(e,t,n){"use strict";var r=n(186);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,a.DISPLAY_FORMAT,a.ISO_FORMAT]:[a.DISPLAY_FORMAT,a.ISO_FORMAT],r=(0,i.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION,a.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.OPEN_DOWN,a.OPEN_UP])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(232);t.default=r.default},function(e,t,n){"use strict";var r=n(138),o=n(139),i=n(67);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=n(22);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ICON_BEFORE_POSITION,a.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.INFO_POSITION_TOP,a.INFO_POSITION_BOTTOM,a.INFO_POSITION_BEFORE,a.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(36));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!i.default.isMoment(e)||!i.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),a=t.month(),s=n===o,c=r===a;return s&&c?e.date()<t.date():s?r<a:n<o};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};a.defaultProps={viewBox:"0 0 12 12"},t.default=a},function(e,t,n){var r=n(230),o=n(231);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(69),a=(r=i)&&r.__esModule?r:{default:r};var s={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return s.obj(e)&&e.type===a.default.all},error:function(e){return s.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&s.func(e.then)},iterator:function(e){return e&&s.func(e.next)&&s.func(e.throw)},fork:function(e){return s.obj(e)&&e.type===a.default.fork},join:function(e){return s.obj(e)&&e.type===a.default.join},race:function(e){return s.obj(e)&&e.type===a.default.race},call:function(e){return s.obj(e)&&e.type===a.default.call},cps:function(e){return s.obj(e)&&e.type===a.default.cps},subscribe:function(e){return s.obj(e)&&e.type===a.default.subscribe},channel:function(e){return s.obj(e)&&s.func(e.subscribe)}};t.default=s},function(e,t,n){"use strict";var r=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=Object.getPrototypeOf||function(e){return e.__proto__},a=void 0,s="undefined"==typeof Uint8Array?void 0:i(Uint8Array),c={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":o?i([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":a&&o&&Symbol.asyncIterator?a[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":o?i(i([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&o?i((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&o?i((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":o?i(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":o?Symbol:void 0,"$ %SymbolPrototype%":o?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":r,"$ %TypedArray%":s,"$ %TypedArrayPrototype%":s?s.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(12);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(0,a.and)([i.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=e[t],c=void 0;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a)).some((function(e,n){var o,a=String(t)+": index "+String(n);return null!=(c=(o=i.default.string).isRequired.apply(o,[s({},a,e),a].concat(r)))})),null==c?null:c}],"Modifiers (Set of Strings)")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",(function(){return l}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(o){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};var c="__consolidated_events_handlers__";function l(e,t,n,r){e[c]||(e[c]=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e[c].add(t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_MONTH_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOfType([i.default.bool,i.default.oneOf([a.START_DATE,a.END_DATE])])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,i.default)(e,t))};var r=a(n(6)),o=a(n(36)),i=a(n(25));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(155),a=n(1),s=n(11);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=s.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(c),a=0;a<c;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(140),o=n(141),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){"use strict";
15
  /*
16
  object-assign
17
  (c) Sindre Sorhus
18
  @license MIT
19
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(c[s[d]]=n[s[d]])}}return c}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(70),i=Object.keys,a=i?function(e){return i(e)}:n(163),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(n){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(22).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=b(n(13)),a=b(n(1)),s=b(n(4)),c=b(n(24)),l=b(n(20)),u=n(12),d=n(16),f=b(n(6)),h=n(14),p=b(n(15)),v=b(n(86)),m=b(n(41)),g=n(7);function b(e){return e&&e.__esModule?e:{default:e}}var y=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:m.default,isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),k={day:(0,f.default)(),daySize:g.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:h.CalendarDayPhrases},_=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.setButtonRef=i.setButtonRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,h=t.phrases;if(!n)return a.default.createElement("td",null);var p=(0,v.default)(n,o,i,c,h),m=p.daySizeStyles,g=p.useDefaultCursor,b=p.selected,y=p.hoveredSpan,k=p.isOutsideRange,_=p.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,g&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,b&&f.CalendarDay__selected,k&&f.CalendarDay__blocked_out_of_range,m),{role:"button",ref:this.setButtonRef,"aria-label":_,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,c):n.format("D"))}}]),t}(a.default.Component);_.propTypes=y,_.defaultProps=k,t.PureCalendarDay=_,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(_)},function(e,t,n){e.exports=n(204)},function(e,t,n){"use strict";var r=n(19),o=n(92),i=n(93),a=n(206),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,i="number"==typeof e;return r&&o?t+n:r&&i?t+e:r?t:o&&i?n+e:o?n:i?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,i=n.lineHeight_small,a=e.spacing,s=a.inputPadding,c=a.displayTextPaddingVertical,l=a.displayTextPaddingTop,u=a.displayTextPaddingBottom,d=a.displayTextPaddingVertical_small,f=a.displayTextPaddingTop_small,h=a.displayTextPaddingBottom_small,p=t?i:o,v=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+v}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.DISPLAY_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=t.clone().startOf("month");i&&(a=a.startOf("week"));if((0,r.default)(e,a))return!1;var s=t.clone().add(n-1,"months").endOf("month");i&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=i(n(36)),o=i(n(46));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=j(n(13)),a=j(n(1)),s=j(n(4)),c=j(n(24)),l=n(12),u=n(16),d=j(n(6)),f=j(n(106)),h=j(n(28)),p=j(n(57)),v=n(14),m=j(n(15)),g=j(n(89)),b=j(n(219)),y=n(222),k=j(y),_=j(n(224)),w=j(n(90)),O=j(n(88)),S=j(n(225)),E=j(n(62)),C=j(n(41)),T=j(n(27)),x=j(n(23)),D=j(n(34)),M=n(7);function j(e){return e&&e.__esModule?e:{default:e}}function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var P=23,N="prev",R="next",L="month_selection",A="year_selection",z=(0,l.forbidExtraProps)((0,i.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:x.default,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,onMultiplyScrollableMonths:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(C.default)),renderCalendarDay:s.default.func,renderDayContents:s.default.func,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,isFocused:s.default.bool,getFirstFocusableDay:s.default.func,onBlur:s.default.func,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,m.default)(v.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),F=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:M.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.DayPickerPhrases,dayAriaLabelFormat:void 0},H=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var i=e.horizontalMonthPadding,a=e.isRTL&&n.isHorizontal()?-(0,w.default)(e.daySize,i):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,w.default)(e.daySize,i),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,h.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,h.default)(),calendarInfoWidth:(0,O.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,h.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,i=e.renderMonthText,a=e.horizontalMonthPadding,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,w.default)(e.daySize,a)}),n!==u)if(n){var f=this.getFocusedDay(s),h=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(h=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:h,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});i!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,O.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,i=t.numberOfMonths,a=this.state,s=a.focusedDate,c=a.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,i+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),M.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,i=o.focusedDate,a=o.showKeyboardShortcuts;if(i){var s=i.clone(),c=!1,l=(0,S.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":a?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,i),d=c+Math.max.apply(Math,[0].concat(I(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:N,translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:L,translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:A,translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(i-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(u)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:R,translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===M.VERTICAL_SCROLLABLE)return 0;var n=1;return t===N?n-=1:t===R&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,E.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,_.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===M.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===M.VERTICAL_ORIENTATION||e===M.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,h=c.withMouseInteractions,p=c.calendarMonthWidth;if(u){var v=l.clone(),m=this.getFirstDayOfWeek();if(u===N){v.subtract(1,"month"),n&&n(v);var g=v.clone().subtract(1,"month"),b=(0,_.default)(g,m);this.calendarMonthWeeks=[b].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if(u===R){v.add(1,"month"),r&&r(v);var y=v.clone().add(o,"month"),k=(0,_.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[k])}else u===L?i&&i(v):u===A&&a&&a(v);var w=null;f?w=f:d||h||(w=this.getFocusedDay(v)),this.setState({currentMonth:v,monthTransition:null,translationValue:s&&this.isHorizontal()?-p:0,nextFocusedDate:null,focusedDate:w},(function(){if(h){var t=(0,S.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+P;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat(I(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,i=t.orientation,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=i===M.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},a.default.createElement(b.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:i,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,i=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=i===M.VERTICAL_SCROLLABLE,h={left:e*l},p={marginLeft:-l/2},v={};this.isHorizontal()?v=h:this.isVertical()&&!f&&(v=p);for(var m=this.getFirstDayOfWeek(),g=[],b=0;b<7;b+=1)g.push(a.default.createElement("li",r({key:b},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),a.default.createElement("small",null,(0,d.default)().day((b+m)%7).format(s))));return a.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,v,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),a.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),g))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,i=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,h=t.hasSetHeight,v=t.calendarInfoWidth,m=t.monthTitleHeight,b=this.props,_=b.enableOutsideDays,w=b.numberOfMonths,O=b.orientation,S=b.modifiers,E=b.withPortal,C=b.onDayClick,T=b.onDayMouseEnter,x=b.onDayMouseLeave,D=b.firstDayOfWeek,j=b.renderMonthText,I=b.renderCalendarDay,P=b.renderDayContents,N=b.renderCalendarInfo,R=b.renderMonthElement,L=b.calendarInfoPosition,A=b.hideKeyboardShortcutsPanel,z=b.onOutsideClick,F=b.monthFormat,H=b.daySize,V=b.isFocused,B=b.isRTL,U=b.styles,W=b.theme,K=b.phrases,Y=b.verticalHeight,$=b.dayAriaLabelFormat,q=b.noBorder,G=b.transitionDuration,Z=b.verticalBorderSpacing,X=b.horizontalMonthPadding,Q=W.reactDates.spacing.dayPickerHorizontalPadding,J=this.isHorizontal(),ee=this.isVertical()?1:w,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=O===M.VERTICAL_SCROLLABLE,oe=void 0;J?oe=this.calendarMonthGridHeight:!this.isVertical()||re||E||(oe=Y||1.75*n);var ie=null!==i,ae=!ie&&V,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=E?y.TOP_LEFT:y.TOP_RIGHT);var ce=J&&h,le=L===M.INFO_POSITION_TOP,ue=L===M.INFO_POSITION_BOTTOM,de=L===M.INFO_POSITION_BEFORE,fe=L===M.INFO_POSITION_AFTER,he=de||fe,pe=N&&a.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(he&&U.DayPicker_calendarInfo__horizontal)),N()),ve=N&&he?v:0,me=this.getFirstVisibleIndex(),ge=n*w+2*Q,be=ge+ve+1,ye={width:J&&ge,height:oe},ke={width:J&&ge},_e={width:J&&be,marginLeft:J&&E?-be/2:null,marginTop:J&&E?-n/2:null};return a.default.createElement("div",r({role:"application","aria-label":K.calendarLabel},(0,u.css)(U.DayPicker,J&&U.DayPicker__horizontal,re&&U.DayPicker__verticalScrollable,J&&E&&U.DayPicker_portal__horizontal,this.isVertical()&&E&&U.DayPicker_portal__vertical,_e,!m&&U.DayPicker__hidden,!q&&U.DayPicker__withBorder)),a.default.createElement(p.default,{onOutsideClick:z},(le||de)&&pe,a.default.createElement("div",(0,u.css)(ke,he&&J&&U.DayPicker_wrapper__horizontal),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_weekHeaders,J&&U.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_transitionContainer,ce&&U.DayPicker_transitionContainer__horizontal,this.isVertical()&&U.DayPicker_transitionContainer__vertical,re&&U.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),a.default.createElement(g.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:_,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ie,modifiers:S,orientation:O,numberOfMonths:w*c,onDayClick:C,onDayMouseEnter:T,onDayMouseLeave:x,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:j,renderCalendarDay:I,renderDayContents:P,renderMonthElement:R,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:F,daySize:H,firstDayOfWeek:D,isFocused:ae,focusedDate:l,phrases:K,isRTL:B,dayAriaLabelFormat:$,transitionDuration:G,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!A&&a.default.createElement(k.default,{block:this.isVertical()&&!E,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:K}))),(ue||fe)&&pe))}}]),t}(a.default.Component);H.propTypes=z,H.defaultProps=F,t.PureDayPicker=H,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,a=t.spacing,s=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:a.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:s+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,i.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(H)},function(e,t,n){"use strict";(function(e){var r,o=n(121);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(148)(e))},function(e,t,n){"use strict";var r=n(236),o=n(237);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(238);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(y);if(_){var w=(_=_[0]).toLowerCase();this.protocol=w,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&m[_]||(y=y.substr(2),this.slashes=!0)}if(!m[_]&&(O||_&&!g[_])){for(var S,E,C=-1,T=0;T<f.length;T++){-1!==(x=y.indexOf(f[T]))&&(-1===C||x<C)&&(C=x)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),C=-1;for(T=0;T<d.length;T++){var x;-1!==(x=y.indexOf(d[T]))&&(-1===C||x<C)&&(C=x)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),j=(T=0,M.length);T<j;T++){var I=M[T];if(I&&!I.match(h)){for(var P="",N=0,R=I.length;N<R;N++)I.charCodeAt(N)>127?P+="x":P+=I[N];if(!P.match(h)){var L=M.slice(0,T),A=M.slice(T+1),z=I.match(p);z&&(L.push(z[1]),A.unshift(z[2])),A.length&&(y="/"+A.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+F,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!v[w])for(T=0,j=u.length;T<j;T++){var V=u[T];if(-1!==y.indexOf(V)){var B=encodeURIComponent(V);B===V&&(B=escape(V)),y=y.split(V).join(B)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=b.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var K=this.search||"";this.path=F+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var v=n.pathname||"",b=n.search||"";n.path=v+b}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,w=_,O=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===O[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=O.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,T=0,x=O.length;x>=0;x--)"."===(E=O[x])?O.splice(x,1):".."===E?(O.splice(x,1),T++):T&&(O.splice(x,1),T--);if(!_&&!w)for(;T--;T)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var D,M=""===O[0]||O[0]&&"/"===O[0].charAt(0);S&&(n.hostname=n.host=M?"":O.length?O.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(_=_||n.host&&O.length)&&!M&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(69),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(165),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,s){for(var c=a,l=0;l<i;){var u=r.ToString(l);if(r.HasProperty(n,u)){var d=r.Get(n,u),f=!1;if(s>0&&(f=r.IsArray(d)),f){c=e(t,d,r.ToLength(r.Get(d,"length")),c,s-1)}else{if(c>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(c),d),c+=1}}l+=1}return c};e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return i(o,e,t,0,n),o}},function(e,t,n){"use strict";var r=n(166),o=n(55),i=o(o({},r),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=i},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(170)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(40),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(32),s={"Property Descriptor":function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t);console.log(a(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(71);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function i(e,t){var n=t(e(o));return function(){return n}}function a(e){return i(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolve(t)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveLTR?r.resolveLTR(t):s(t)}t.default={registerTheme:function(e){o=e},registerInterface:function(e){r=e},create:a,createLTR:a,createRTL:function(e){return i(e,r.createRTL||r.create)},get:function(){return o},resolve:c,resolveLTR:c,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveRTL?r.resolveRTL(t):s(t)},flush:function(){r.flush&&r.flush()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(r.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:r,disabled:r.grayLightest,background:r.white,backgroundDark:"#f2f2f2",backgroundFocused:r.white,border:"rgb(219, 219, 219)",text:r.gray,textDisabled:r.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,color:r.gray,color_active:r.gray,color_hover:r.gray},highlighted:{backgroundColor:r.yellow,backgroundColor_active:r.yellow_dark,backgroundColor_hover:r.yellow_dark,color:r.gray,color_active:r.gray,color_hover:r.gray},minimumNights:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLighter,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter},hoveredSpan:{backgroundColor:r.primaryShade_4,backgroundColor_active:r.primaryShade_3,backgroundColor_hover:r.primaryShade_4,borderColor:r.primaryShade_3,borderColor_active:r.primaryShade_3,borderColor_hover:r.primaryShade_3,color:r.secondary,color_active:r.secondary,color_hover:r.secondary},selectedSpan:{backgroundColor:r.primaryShade_2,backgroundColor_active:r.primaryShade_1,backgroundColor_hover:r.primaryShade_1,borderColor:r.primaryShade_1,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},selected:{backgroundColor:r.primary,backgroundColor_active:r.primary,backgroundColor_hover:r.primary,borderColor:r.primary,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},blocked_calendar:{backgroundColor:r.grayLighter,backgroundColor_active:r.grayLighter,backgroundColor_hover:r.grayLighter,borderColor:r.grayLighter,borderColor_active:r.grayLighter,borderColor_hover:r.grayLighter,color:r.grayLight,color_active:r.grayLight,color_hover:r.grayLight},blocked_out_of_range:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLight,borderColor_active:r.borderLight,borderColor_hover:r.borderLight,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},function(e,t,n){"use strict";var r=n(53),o=n(22),i=function(e){return null!=e},a=n(75)(),s=Object,c=o.call(Function.call,Array.prototype.push),l=o.call(Function.call,Object.prototype.propertyIsEnumerable),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,o,d,f,h,p,v,m=s(e);for(n=1;n<arguments.length;++n){o=s(arguments[n]),f=r(o);var g=a&&(Object.getOwnPropertySymbols||u);if(g)for(h=g(o),d=0;d<h.length;++d)v=h[d],l(o,v)&&c(f,v);for(d=0;d<f.length;++d)p=o[v=f[d]],l(o,v)&&(m[v]=p)}return m}},function(e,t,n){"use strict";var r=n(84);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()?r:function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var s=o.chooseAvailableDate,c=o.dateIsUnavailable,l=o.dateIsSelected,u={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),h=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),p=r.has("blocked-out-of-range"),v={date:e.format(t)},m=(0,i.default)(s,v);r.has(a.BLOCKED_MODIFIER)?m=(0,i.default)(c,v):f&&(m=(0,i.default)(l,v));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:h,isOutsideRange:p,ariaLabel:m}};var r,o=n(195),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=E(n(13)),a=E(n(1)),s=E(n(4)),c=E(n(24)),l=E(n(20)),u=n(12),d=n(16),f=E(n(6)),h=n(14),p=E(n(15)),v=E(n(196)),m=E(n(56)),g=E(n(88)),b=E(n(198)),y=E(n(25)),k=E(n(42)),_=E(n(41)),w=E(n(27)),O=E(n(23)),S=n(7);function E(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(_.default),orientation:w.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:O.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),T={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:S.HORIZONTAL_ORIENTATION,daySize:S.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return a.default.createElement(m.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:h.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={weeks:(0,b.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,b.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,g.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,i=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,h=e.onDayClick,p=e.onDayMouseEnter,m=e.onDayMouseLeave,g=e.onMonthSelect,b=e.onYearSelect,_=e.orientation,w=e.phrases,O=e.renderCalendarDay,E=e.renderDayContents,C=e.renderMonthElement,T=e.renderMonthText,x=e.styles,D=e.verticalBorderSpacing,M=this.state.weeks,j=T?T(u):u.format(f),I=_===S.VERTICAL_SCROLLABLE;return a.default.createElement("div",r({},(0,d.css)(x.CalendarMonth,{padding:"0 "+String(i)+"px"}),{"data-visible":c}),a.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(x.CalendarMonth_caption,I&&x.CalendarMonth_caption__verticalScrollable)),C?C({month:u,onMonthSelect:g,onYearSelect:b}):a.default.createElement("strong",null,j)),a.default.createElement("table",r({},(0,d.css)(!D&&x.CalendarMonth_table,D&&x.CalendarMonth_verticalSpacing,D&&{borderSpacing:"0px "+String(D)+"px"}),{role:"presentation"}),a.default.createElement("tbody",null,M.map((function(e,r){return a.default.createElement(v.default,{key:r},e.map((function(e,r){return O({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:p,onDayMouseLeave:m,onDayClick:h,renderDayContents:E,phrases:w,modifiers:l[(0,k.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(a.default.Component);x.propTypes=C,x.defaultProps=T,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(x)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(a["padding"+o])+parseFloat(a["padding"+i])+parseFloat(a["border"+o+"Width"])+parseFloat(a["border"+i+"Width"]));r&&(l+=parseFloat(a["margin"+o])+parseFloat(a["margin"+i]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(4)),c=T(n(24)),l=T(n(20)),u=n(12),d=n(16),f=T(n(6)),h=n(43),p=n(14),v=T(n(15)),m=T(n(87)),g=T(n(199)),b=T(n(200)),y=T(n(90)),k=T(n(44)),_=T(n(201)),w=T(n(202)),O=T(n(41)),S=T(n(27)),E=T(n(23)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(O.default)),orientation:S.default,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthTransitionEnd:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:E.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,v.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),D={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:C.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:C.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0};function M(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var j=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.orientation===C.VERTICAL_SCROLLABLE;return n.state={months:M(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,g.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,h.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,c=a.numberOfMonths!==r,l=i;s.isSame(n,"month")||c||((0,w.default)(s,n)?(l=i.slice(1)).push(i[i.length-1].clone().add(1,"month")):(0,_.default)(s,n)?(l=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month")):l=M(n,r,o===C.VERTICAL_SCROLLABLE));c&&(l=M(n,r,o===C.VERTICAL_SCROLLABLE));var u=f.default.locale();this.locale!==u&&(this.locale=u,l=l.map((function(e){return e.locale(t.locale)}))),this.setState({months:l})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,s=t.horizontalMonthPadding,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,h=t.orientation,p=t.translationValue,v=t.daySize,g=t.onDayMouseEnter,_=t.onDayMouseLeave,w=t.onDayClick,O=t.renderMonthText,S=t.renderCalendarDay,E=t.renderDayContents,T=t.renderMonthElement,x=t.onMonthTransitionEnd,D=t.firstDayOfWeek,M=t.focusedDate,j=t.isFocused,I=t.isRTL,P=t.styles,N=t.phrases,R=t.dayAriaLabelFormat,L=t.transitionDuration,A=t.verticalBorderSpacing,z=t.setMonthTitleHeight,F=this.state.months,H=h===C.VERTICAL_ORIENTATION,V=h===C.VERTICAL_SCROLLABLE,B=h===C.HORIZONTAL_ORIENTATION,U=(0,y.default)(v,s),W=H||V?U:(u+2)*U,K=(H||V?"translateY":"translateX")+"("+String(p)+"px)";return a.default.createElement("div",r({},(0,d.css)(P.CalendarMonthGrid,B&&P.CalendarMonthGrid__horizontal,H&&P.CalendarMonthGrid__vertical,V&&P.CalendarMonthGrid__vertical_scrollable,c&&P.CalendarMonthGrid__animating,c&&L&&{transition:"transform "+String(L)+"ms ease-in-out"},(0,i.default)({},(0,b.default)(K),{width:W})),{ref:this.setContainerRef,onTransitionEnd:x}),F.map((function(t,i){var b=i>=o&&i<o+u,y=0===i&&!b,C=0===i&&c&&b,x=(0,k.default)(t);return a.default.createElement("div",r({key:x},(0,d.css)(B&&P.CalendarMonthGrid_month__horizontal,y&&P.CalendarMonthGrid_month__hideForAnimation,C&&!H&&!I&&{position:"absolute",left:-U},C&&!H&&I&&{position:"absolute",right:0},C&&H&&{position:"absolute",top:-p},!b&&!c&&P.CalendarMonthGrid_month__hidden)),a.default.createElement(m.default,{month:t,isVisible:b,enableOutsideDays:n,modifiers:l[x],monthFormat:f,orientation:h,onDayMouseEnter:g,onDayMouseLeave:_,onDayClick:w,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:O,renderCalendarDay:S,renderDayContents:E,renderMonthElement:T,firstDayOfWeek:D,daySize:v,focusedDate:b?M:null,isFocused:j,phrases:N,setMonthTitleHeight:z,dayAriaLabelFormat:R,verticalBorderSpacing:A,horizontalMonthPadding:s}))})))}}]),t}(a.default.Component);j.propTypes=x,j.defaultProps=D,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,a=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:a},CalendarMonthGrid__animating:{zIndex:a+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,i.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:a-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(j)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";var r=n(205),o=n(32),i=n(22).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push(t[a]);return n}},function(e,t,n){"use strict";var r=n(92);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(94);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(4)),o=m(n(20)),i=n(12),a=n(14),s=m(n(15)),c=m(n(97)),l=m(n(33)),u=m(n(98)),d=m(n(45)),f=m(n(99)),h=m(n(29)),p=m(n(23)),v=m(n(34));function m(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:v.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,verticalSpacing:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.START_DATE,a.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ANCHOR_LEFT,a.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var i="undefined"!=typeof window?window.innerWidth:0,a=e===r.ANCHOR_LEFT?i-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+a-s,0))};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),i=o.left,a=o.top;e===r.OPEN_UP&&(a=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(i=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(i))+"px, "+String(Math.round(a))+"px, 0)"}};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=i,t.default=function(e){var t=i(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),a=o(e);return t.set(a,a.style.overflowY),a===n?t:i(a,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=k(n(1)),i=k(n(4)),a=k(n(6)),s=k(n(20)),c=n(12),l=k(n(29)),u=n(14),d=k(n(15)),f=k(n(104)),h=k(n(33)),p=k(n(45)),v=k(n(26)),m=k(n(61)),g=k(n(35)),b=k(n(36)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,c.forbidExtraProps)({startDate:s.default.momentObj,startDateId:i.default.string,startDatePlaceholderText:i.default.string,isStartDateFocused:i.default.bool,endDate:s.default.momentObj,endDateId:i.default.string,endDatePlaceholderText:i.default.string,isEndDateFocused:i.default.bool,screenReaderMessage:i.default.string,showClearDates:i.default.bool,showCaret:i.default.bool,showDefaultInputIcon:i.default.bool,inputIconPosition:h.default,disabled:p.default,required:i.default.bool,readOnly:i.default.bool,openDirection:l.default,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,keepOpenOnDateSelect:i.default.bool,reopenPickerOnClearDates:i.default.bool,withFullScreenPortal:i.default.bool,minimumNights:c.nonNegativeInteger,isOutsideRange:i.default.func,displayFormat:i.default.oneOfType([i.default.string,i.default.func]),onFocusChange:i.default.func,onClose:i.default.func,onDatesChange:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,customInputIcon:i.default.node,customArrowIcon:i.default.node,customCloseIcon:i.default.node,isFocused:i.default.bool,phrases:i.default.shape((0,d.default)(u.DateRangePickerInputPhrases)),isRTL:i.default.bool}),w={startDate:null,startDateId:y.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,endDate:null,endDateId:y.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(e){return!(0,g.default)(e,(0,a.default)())},displayFormat:function(){return a.default.localeData().longDateFormat("L")},onFocusChange:function(){},onClose:function(){},onDatesChange:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:u.DateRangePickerInputPhrases,isRTL:!1},O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onClearFocus=n.onClearFocus.bind(n),n.onStartDateChange=n.onStartDateChange.bind(n),n.onStartDateFocus=n.onStartDateFocus.bind(n),n.onEndDateChange=n.onEndDateChange.bind(n),n.onEndDateFocus=n.onEndDateFocus.bind(n),n.clearDates=n.clearDates.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"onClearFocus",value:function(){var e=this.props,t=e.onFocusChange,n=e.onClose,r=e.startDate,o=e.endDate;t(null),n({startDate:r,endDate:o})}},{key:"onEndDateChange",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.minimumNights,i=t.keepOpenOnDateSelect,a=t.onDatesChange,s=(0,v.default)(e,this.getDisplayFormat());!s||r(s)||n&&(0,b.default)(s,n.clone().add(o,"days"))?a({startDate:n,endDate:null}):(a({startDate:n,endDate:s}),i||this.onClearFocus())}},{key:"onEndDateFocus",value:function(){var e=this.props,t=e.startDate,n=e.onFocusChange,r=e.withFullScreenPortal,o=e.disabled;t||!r||o&&o!==y.END_DATE?o&&o!==y.START_DATE||n(y.END_DATE):n(y.START_DATE)}},{key:"onStartDateChange",value:function(e){var t=this.props.endDate,n=this.props,r=n.isOutsideRange,o=n.minimumNights,i=n.onDatesChange,a=n.onFocusChange,s=n.disabled,c=(0,v.default)(e,this.getDisplayFormat()),l=c&&(0,b.default)(t,c.clone().add(o,"days"));!c||r(c)||s===y.END_DATE&&l?i({startDate:null,endDate:t}):(l&&(t=null),i({startDate:c,endDate:t}),a(y.END_DATE))}},{key:"onStartDateFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==y.END_DATE||n(y.START_DATE)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,m.default)(e)}},{key:"clearDates",value:function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,r=e.onFocusChange;t({startDate:null,endDate:null}),n&&r(y.START_DATE)}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,i=e.isStartDateFocused,a=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,l=e.isEndDateFocused,u=e.screenReaderMessage,d=e.showClearDates,h=e.showCaret,p=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,g=e.customArrowIcon,b=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,w=e.openDirection,O=e.isFocused,S=e.phrases,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.isRTL,x=e.noBorder,D=e.block,M=e.small,j=e.regular,I=e.verticalSpacing,P=this.getDateString(t),N=this.getDateString(a);return o.default.createElement(f.default,{startDate:P,startDateId:n,startDatePlaceholderText:r,isStartDateFocused:i,endDate:N,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:l,isFocused:O,disabled:y,required:k,readOnly:_,openDirection:w,showCaret:h,showDefaultInputIcon:p,inputIconPosition:v,customInputIcon:m,customArrowIcon:g,customCloseIcon:b,phrases:S,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,onEndDateTab:this.onClearFocus,showClearDates:d,onClearDates:this.clearDates,screenReaderMessage:u,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,isRTL:T,noBorder:x,block:D,small:M,regular:j,verticalSpacing:I})}}]),t}(o.default.Component);t.default=O,O.propTypes=_,O.defaultProps=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=k(n(13)),i=k(n(1)),a=k(n(4)),s=n(12),c=n(16),l=n(14),u=k(n(15)),d=k(n(29)),f=k(n(105)),h=k(n(33)),p=k(n(45)),v=k(n(109)),m=k(n(110)),g=k(n(37)),b=k(n(111)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{startDateId:a.default.string,startDatePlaceholderText:a.default.string,screenReaderMessage:a.default.string,endDateId:a.default.string,endDatePlaceholderText:a.default.string,onStartDateFocus:a.default.func,onEndDateFocus:a.default.func,onStartDateChange:a.default.func,onEndDateChange:a.default.func,onStartDateShiftTab:a.default.func,onEndDateTab:a.default.func,onClearDates:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,startDate:a.default.string,endDate:a.default.string,isStartDateFocused:a.default.bool,isEndDateFocused:a.default.bool,showClearDates:a.default.bool,disabled:p.default,required:a.default.bool,readOnly:a.default.bool,openDirection:d.default,showCaret:a.default.bool,showDefaultInputIcon:a.default.bool,inputIconPosition:h.default,customInputIcon:a.default.node,customArrowIcon:a.default.node,customCloseIcon:a.default.node,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,isFocused:a.default.bool,phrases:a.default.shape((0,u.default)(l.DateRangePickerInputPhrases)),isRTL:a.default.bool})),w={startDateId:y.START_DATE,endDateId:y.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",screenReaderMessage:"",onStartDateFocus:function(){},onEndDateFocus:function(){},onStartDateChange:function(){},onEndDateChange:function(){},onStartDateShiftTab:function(){},onEndDateTab:function(){},onClearDates:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:l.DateRangePickerInputPhrases,isRTL:!1};function O(e){var t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,a=e.screenReaderMessage,s=e.isStartDateFocused,l=e.onStartDateChange,u=e.onStartDateFocus,d=e.onStartDateShiftTab,h=e.endDate,p=e.endDateId,k=e.endDatePlaceholderText,_=e.isEndDateFocused,w=e.onEndDateChange,O=e.onEndDateFocus,S=e.onEndDateTab,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.onClearDates,x=e.showClearDates,D=e.disabled,M=e.required,j=e.readOnly,I=e.showCaret,P=e.openDirection,N=e.showDefaultInputIcon,R=e.inputIconPosition,L=e.customInputIcon,A=e.customArrowIcon,z=e.customCloseIcon,F=e.isFocused,H=e.phrases,V=e.isRTL,B=e.noBorder,U=e.block,W=e.verticalSpacing,K=e.small,Y=e.regular,$=e.styles,q=L||i.default.createElement(b.default,(0,c.css)($.DateRangePickerInput_calendarIcon_svg)),G=A||i.default.createElement(v.default,(0,c.css)($.DateRangePickerInput_arrow_svg));V&&(G=i.default.createElement(m.default,(0,c.css)($.DateRangePickerInput_arrow_svg))),K&&(G="-");var Z=z||i.default.createElement(g.default,(0,c.css)($.DateRangePickerInput_clearDates_svg,K&&$.DateRangePickerInput_clearDates_svg__small)),X=a||H.keyboardNavigationInstructions,Q=(N||null!==L)&&i.default.createElement("button",r({},(0,c.css)($.DateRangePickerInput_calendarIcon),{type:"button",disabled:D,"aria-label":H.focusStartDate,onClick:E}),q),J=D===y.START_DATE||!0===D,ee=D===y.END_DATE||!0===D;return i.default.createElement("div",(0,c.css)($.DateRangePickerInput,D&&$.DateRangePickerInput__disabled,V&&$.DateRangePickerInput__rtl,!B&&$.DateRangePickerInput__withBorder,U&&$.DateRangePickerInput__block,x&&$.DateRangePickerInput__showClearDates),R===y.ICON_BEFORE_POSITION&&Q,i.default.createElement(f.default,{id:n,placeholder:o,displayValue:t,screenReaderMessage:X,focused:s,isFocused:F,disabled:J,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:l,onFocus:u,onKeyDownShiftTab:d,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),i.default.createElement("div",r({},(0,c.css)($.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),G),i.default.createElement(f.default,{id:p,placeholder:k,displayValue:h,screenReaderMessage:X,focused:_,isFocused:F,disabled:ee,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:w,onFocus:O,onKeyDownTab:S,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),x&&i.default.createElement("button",r({type:"button","aria-label":H.clearDates},(0,c.css)($.DateRangePickerInput_clearDates,K&&$.DateRangePickerInput_clearDates__small,!z&&$.DateRangePickerInput_clearDates_default,!(t||h)&&$.DateRangePickerInput_clearDates__hide),{onClick:T,disabled:D}),Z),R===y.ICON_AFTER_POSITION&&Q)}O.propTypes=_,O.defaultProps=w,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing;return{DateRangePickerInput:{backgroundColor:r.background,display:"inline-block"},DateRangePickerInput__disabled:{background:r.disabled},DateRangePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:"rtl"},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:r.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:r.text,height:o.arrowWidth,width:o.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=v(n(13)),a=v(n(1)),s=v(n(4)),c=n(12),l=n(16),u=v(n(106)),d=v(n(28)),f=v(n(59)),h=v(n(29)),p=n(7);function v(e){return e&&e.__esModule?e:{default:e}}var m="M0,"+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0z",g="M0,"+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0 "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX),b="M0,0 "+String(p.FANG_WIDTH_PX)+",0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+"z",y="M0,0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+",0",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{id:s.default.string.isRequired,placeholder:s.default.string,displayValue:s.default.string,screenReaderMessage:s.default.string,focused:s.default.bool,disabled:s.default.bool,required:s.default.bool,readOnly:s.default.bool,openDirection:h.default,showCaret:s.default.bool,verticalSpacing:c.nonNegativeInteger,small:s.default.bool,block:s.default.bool,regular:s.default.bool,onChange:s.default.func,onFocus:s.default.func,onKeyDownShiftTab:s.default.func,onKeyDownTab:s.default.func,onKeyDownArrowDown:s.default.func,onKeyDownQuestionMark:s.default.func,isFocused:s.default.bool})),_={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:p.OPEN_DOWN,showCaret:!1,verticalSpacing:p.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},isFocused:!1},w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.setInputRef=n.setInputRef.bind(n),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setState({isTouchDevice:(0,d.default)()})}},{key:"componentWillReceiveProps",value:function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.focused,r=t.isFocused;e.focused===n&&e.isFocused===r||n&&r&&this.inputRef.focus()}},{key:"onChange",value:function(e){var t=this.props,n=t.onChange,r=t.onKeyDownQuestionMark,o=e.target.value;"?"===o[o.length-1]?r(e):this.setState({dateString:o},(function(){return n(o)}))}},{key:"onKeyDown",value:function(e){e.stopPropagation(),p.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){var t=this.props,n=t.onKeyDownShiftTab,r=t.onKeyDownTab,o=t.onKeyDownArrowDown,i=t.onKeyDownQuestionMark,a=e.key;"Tab"===a?e.shiftKey?n(e):r(e):"ArrowDown"===a?o(e):"?"===a&&(e.preventDefault(),i(e))}},{key:"setInputRef",value:function(e){this.inputRef=e}},{key:"render",value:function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,o=this.props,i=o.id,s=o.placeholder,c=o.displayValue,u=o.screenReaderMessage,d=o.focused,h=o.showCaret,v=o.onFocus,k=o.disabled,_=o.required,w=o.readOnly,O=o.openDirection,S=o.verticalSpacing,E=o.small,C=o.regular,T=o.block,x=o.styles,D=o.theme.reactDates,M=t||c||"",j="DateInput__screen-reader-message-"+String(i),I=h&&d,P=(0,f.default)(D,E);return a.default.createElement("div",(0,l.css)(x.DateInput,E&&x.DateInput__small,T&&x.DateInput__block,I&&x.DateInput__withFang,k&&x.DateInput__disabled,I&&O===p.OPEN_DOWN&&x.DateInput__openDown,I&&O===p.OPEN_UP&&x.DateInput__openUp),a.default.createElement("input",r({},(0,l.css)(x.DateInput_input,E&&x.DateInput_input__small,C&&x.DateInput_input__regular,w&&x.DateInput_input__readOnly,d&&x.DateInput_input__focused,k&&x.DateInput_input__disabled),{"aria-label":s,type:"text",id:i,name:i,ref:this.setInputRef,value:M,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:v,placeholder:s,autoComplete:"off",disabled:k,readOnly:"boolean"==typeof w?w:n,required:_,"aria-describedby":u&&j})),I&&a.default.createElement("svg",r({role:"presentation",focusable:"false"},(0,l.css)(x.DateInput_fang,O===p.OPEN_DOWN&&{top:P+S-p.FANG_HEIGHT_PX-1},O===p.OPEN_UP&&{bottom:P+S-p.FANG_HEIGHT_PX-1})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangShape),{d:O===p.OPEN_DOWN?m:b})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangStroke),{d:O===p.OPEN_DOWN?g:y}))),u&&a.default.createElement("p",r({},(0,l.css)(x.DateInput_screenReaderMessage),{id:j}),u))}}]),t}(a.default.Component);w.propTypes=k,w.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing,i=t.spacing,a=t.font,s=t.zIndex;return{DateInput:{margin:0,padding:i.inputPadding,background:r.background,position:"relative",display:"inline-block",width:o.inputWidth,verticalAlign:"middle"},DateInput__small:{width:o.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:r.disabled,color:r.textDisabled},DateInput_input:{fontWeight:200,fontSize:a.input.size,lineHeight:a.input.lineHeight,color:r.text,backgroundColor:r.background,width:"100%",padding:String(i.displayTextPaddingVertical)+"px "+String(i.displayTextPaddingHorizontal)+"px",paddingTop:i.displayTextPaddingTop,paddingBottom:i.displayTextPaddingBottom,paddingLeft:i.displayTextPaddingLeft,paddingRight:i.displayTextPaddingRight,border:n.input.border,borderTop:n.input.borderTop,borderRight:n.input.borderRight,borderBottom:n.input.borderBottom,borderLeft:n.input.borderLeft,borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:a.input.size_small,lineHeight:a.input.lineHeight_small,letterSpacing:a.input.letterSpacing_small,padding:String(i.displayTextPaddingVertical_small)+"px "+String(i.displayTextPaddingHorizontal_small)+"px",paddingTop:i.displayTextPaddingTop_small,paddingBottom:i.displayTextPaddingBottom_small,paddingLeft:i.displayTextPaddingLeft_small,paddingRight:i.displayTextPaddingRight_small},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:r.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:n.input.borderRightFocused,borderBottom:n.input.borderBottomFocused,borderLeft:n.input.borderLeftFocused},DateInput_input__disabled:{background:r.disabled,fontStyle:a.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:p.FANG_WIDTH_PX,height:p.FANG_HEIGHT_PX,left:22,zIndex:s+2},DateInput_fangShape:{fill:r.background},DateInput_fangStroke:{stroke:r.core.border,fill:"transparent"}}}))(w)},function(e,t,n){var r=n(209),o=n(60),i="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},function(e,t,n){var r=n(211),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(107).Symbol;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M107.2 1392.9h241.1v-241.1H107.2v241.1zm294.7 0h267.9v-241.1H401.9v241.1zm-294.7-294.7h241.1V830.4H107.2v267.8zm294.7 0h267.9V830.4H401.9v267.8zM107.2 776.8h241.1V535.7H107.2v241.1zm616.2 616.1h267.9v-241.1H723.4v241.1zM401.9 776.8h267.9V535.7H401.9v241.1zm642.9 616.1H1286v-241.1h-241.1v241.1zm-321.4-294.7h267.9V830.4H723.4v267.8zM428.7 375V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.3-5.3 8-11.5 8-18.8zm616.1 723.2H1286V830.4h-241.1v267.8zM723.4 776.8h267.9V535.7H723.4v241.1zm321.4 0H1286V535.7h-241.1v241.1zm26.8-401.8V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.4-5.3 8-11.5 8-18.8zm321.5-53.6v1071.4c0 29-10.6 54.1-31.8 75.3-21.2 21.2-46.3 31.8-75.3 31.8H107.2c-29 0-54.1-10.6-75.3-31.8C10.6 1447 0 1421.9 0 1392.9V321.4c0-29 10.6-54.1 31.8-75.3s46.3-31.8 75.3-31.8h107.2v-80.4c0-36.8 13.1-68.4 39.3-94.6S311.4 0 348.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3 26.2 26.2 39.3 57.8 39.3 94.6v80.4h321.5v-80.4c0-36.8 13.1-68.4 39.3-94.6C922.9 13.1 954.4 0 991.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3s39.3 57.8 39.3 94.6v80.4H1286c29 0 54.1 10.6 75.3 31.8 21.2 21.2 31.8 46.3 31.8 75.3z"}))};a.defaultProps={viewBox:"0 0 1393.1 1500"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=I(n(13)),a=I(n(1)),s=I(n(4)),c=I(n(20)),l=n(12),u=I(n(6)),d=I(n(58)),f=I(n(28)),h=n(14),p=I(n(15)),v=I(n(35)),m=I(n(113)),g=I(n(25)),b=I(n(46)),y=I(n(36)),k=I(n(114)),_=I(n(62)),w=I(n(218)),O=I(n(42)),S=I(n(44)),E=I(n(45)),C=I(n(97)),T=I(n(27)),x=I(n(23)),D=I(n(34)),M=n(7),j=I(n(63));function I(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=(0,l.forbidExtraProps)({startDate:c.default.momentObj,endDate:c.default.momentObj,onDatesChange:s.default.func,startDateOffset:s.default.func,endDateOffset:s.default.func,focusedInput:C.default,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,minimumNights:s.default.number,disabled:E.default,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,firstDayOfWeek:x.default,verticalHeight:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),R={startDate:void 0,endDate:void 0,onDatesChange:function(){},startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:M.DAY_SIZE,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},L=function(e,t){return t===M.START_DATE?e.chooseAvailableStartDate:t===M.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},A=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=(0,f.default)(),n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},"selected-start":function(e){return n.isStartDate(e)},"selected-end":function(e){return n.isEndDate(e)},"blocked-minimum-nights":function(e){return n.doesNotMeetMinimumNights(e)},"selected-span":function(e){return n.isInSelectedSpan(e)},"last-in-range":function(e){return n.isLastInRange(e)},hovered:function(e){return n.isHovered(e)},"hovered-span":function(e){return n.isInHoveredSpan(e)},"hovered-offset":function(e){return n.isInHoveredSpan(e)},"after-hovered-start":function(e){return n.isDayAfterHoveredStartDate(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,a=r.visibleDays,s=L(e.phrases,e.focusedInput);return n.state={hoverDate:null,currentMonth:o,phrases:(0,i.default)({},e.phrases,{chooseAvailableDate:s}),visibleDays:a},n.onDayClick=n.onDayClick.bind(n),n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.onMultiplyScrollableMonths=n.onMultiplyScrollableMonths.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.startDate,r=e.endDate,o=e.focusedInput,a=e.minimumNights,s=e.isOutsideRange,c=e.isDayBlocked,l=e.isDayHighlighted,f=e.phrases,h=e.initialVisibleMonth,p=e.numberOfMonths,v=e.enableOutsideDays,m=this.props,b=m.startDate,y=m.endDate,k=m.focusedInput,_=m.minimumNights,w=m.isOutsideRange,O=m.isDayBlocked,S=m.isDayHighlighted,E=m.phrases,C=m.initialVisibleMonth,T=m.numberOfMonths,x=m.enableOutsideDays,D=this.state.visibleDays,j=!1,I=!1,P=!1;s!==w&&(this.modifiers["blocked-out-of-range"]=function(e){return s(e)},j=!0),c!==O&&(this.modifiers["blocked-calendar"]=function(e){return c(e)},I=!0),l!==S&&(this.modifiers["highlighted-calendar"]=function(e){return l(e)},P=!0);var N=j||I||P,R=n!==b,A=r!==y,z=o!==k;if(p!==T||v!==x||h!==C&&!k&&z){var F=this.getStateForNewMonth(e),H=F.currentMonth;D=F.visibleDays,this.setState({currentMonth:H,visibleDays:D})}var V={};if(R&&(V=this.deleteModifier(V,b,"selected-start"),V=this.addModifier(V,n,"selected-start"),b)){var B=b.clone().add(1,"day"),U=b.clone().add(_+1,"days");V=this.deleteModifierFromRange(V,B,U,"after-hovered-start")}if(A&&(V=this.deleteModifier(V,y,"selected-end"),V=this.addModifier(V,r,"selected-end")),(R||A)&&(b&&y&&(V=this.deleteModifierFromRange(V,b,y.clone().add(1,"day"),"selected-span")),n&&r&&(V=this.deleteModifierFromRange(V,n,r.clone().add(1,"day"),"hovered-span"),V=this.addModifierToRange(V,n.clone().add(1,"day"),r,"selected-span"))),!this.isTouchDevice&&R&&n&&!r){var W=n.clone().add(1,"day"),K=n.clone().add(a+1,"days");V=this.addModifierToRange(V,W,K,"after-hovered-start")}if(_>0&&(z||R||a!==_)){var Y=b||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked")}(z||N)&&(0,d.default)(D).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(z||j)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(z||I)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(z||P)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),a>0&&n&&o===M.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked"));var $=(0,u.default)();if((0,g.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,i.default)({},D,V)}),z||f!==E){var q=L(f,o);this.setState({phrases:(0,i.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,i=n.onBlur,a=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,m=h.endDate;if(u||d)p=(0,w.default)(u,e),m=(0,w.default)(d,e),r||(s(null),c({startDate:p,endDate:m}));else if(a===M.START_DATE){var g=m&&m.clone().subtract(o,"days"),k=(0,y.default)(g,e)||(0,b.default)(p,m),_=f===M.END_DATE;_&&k||(p=e,k&&(m=null)),_&&!k?(s(null),c({startDate:p,endDate:m})):_||s(M.END_DATE)}else if(a===M.END_DATE){var O=p&&p.clone().add(o,"days");p?(0,v.default)(e,O)?(m=e,r||(s(null),c({startDate:p,endDate:m}))):f!==M.START_DATE&&(p=e,m=null):(m=e,s(M.START_DATE))}l({startDate:p,endDate:m}),i()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,a=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var v=(0,w.default)(s,e),m=(0,w.default)(c,e,(function(e){return e.add(1,"day")}));f={start:v,end:m},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,v,m,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===M.END_DATE){if((0,b.default)(u,n)){var k=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,k,"hovered-span")}if(!this.isBlocked(e)&&(0,b.default)(e,n)){var _=e.clone().add(1,"day");p=this.addModifierToRange(p,n,_,"hovered-span")}}if(!n&&r&&o===M.START_DATE&&((0,y.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,y.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var O=n.clone().add(1,"day"),S=n.clone().add(a+1,"days");if(p=this.deleteModifierFromRange(p,O,S,"after-hovered-start"),(0,g.default)(e,n)){var E=n.clone().add(1,"day"),C=n.clone().add(a+1,"days");p=this.addModifierToRange(p,E,C,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,i.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=this.state,s=a.hoverDate,c=a.visibleDays,l=a.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,b.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,b.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,g.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,i.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(2,"months"),u=(0,k.default)(l,1,r,!0),d=a.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n+1,"month"),u=(0,k.default)(l,1,r,!0),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,a=r.visibleDays,s=Object.keys(a).length,c=o.clone().add(s,"month"),l=(0,k.default)(c,t,n,!0);this.setState({visibleDays:(0,i.default)({},a,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,i=n.endDate,a=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(a===M.START_DATE&&o?l=o.clone():a===M.END_DATE&&!i&&o?l=o.clone().add(s,"days"):a===M.END_DATE&&i&&(l=i.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,b.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,O.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,i=e.orientation,a=e.startDate,s=(n||(a?function(){return a}:function(){return t.today}))(),c=i===M.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,k.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.add(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,g))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.addModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.delete(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,g))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.deleteModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,i=t.minimumNights;if(o!==M.END_DATE)return!1;if(n){var a=e.diff(n.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return r((0,u.default)(e).subtract(i,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,m.default)(i,e)&&o>0&&(0,g.default)(i,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,g.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,g.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,i=!!n&&!r&&(e.isBetween(n,o)||(0,g.default)(o,e)),a=!!r&&!n&&(e.isBetween(o,r)||(0,g.default)(o,e)),s=o&&!this.isBlocked(o);return(i||a)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,m.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,g.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,g.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,m=e.renderCalendarDay,g=e.renderDayContents,b=e.renderCalendarInfo,y=e.renderMonthElement,k=e.calendarInfoPosition,_=e.onBlur,w=e.isFocused,O=e.showKeyboardShortcuts,S=e.isRTL,E=e.weekDayFormat,C=e.dayAriaLabelFormat,T=e.verticalHeight,x=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.phrases,L=P.visibleDays;return a.default.createElement(j.default,{orientation:n,enableOutsideDays:d,modifiers:L,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return N},daySize:p,onOutsideClick:l,navPrev:i,navNext:s,noNavButtons:c,renderCalendarDay:m,renderDayContents:g,renderCalendarInfo:b,renderMonthElement:y,calendarInfoPosition:k,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:w,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:_,showKeyboardShortcuts:O,phrases:R,isRTL:S,weekDayFormat:E,dayAriaLabelFormat:C,verticalHeight:T,verticalBorderSpacing:M,noBorder:x,transitionDuration:D,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=A,A.propTypes=N,A.defaultProps=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=i(n(6)),o=i(n(25));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(!r.default.isMoment(e))return{};for(var a={},s=i?e.clone():e.clone().subtract(1,"month"),c=0;c<(i?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p<h.weekday();p+=1){var v=h.clone().subtract(p+1,"day");l.unshift(v)}for(;h<f;)l.push(h.clone()),h.add(1,"day");if(n&&0!==h.weekday())for(var m=h.weekday(),g=0;m<7;m+=1,g+=1){var b=h.clone().add(g,"day");l.push(b)}a[(0,o.default)(s)]=l,s=s.clone().add(1,"month")}return a};var r=i(n(6)),o=i(n(44));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(4)),c=C(n(20)),l=n(12),u=C(n(6)),d=C(n(58)),f=C(n(28)),h=n(14),p=C(n(15)),v=C(n(25)),m=C(n(46)),g=C(n(114)),b=C(n(62)),y=C(n(42)),k=C(n(44)),_=C(n(27)),w=C(n(23)),O=C(n(34)),S=n(7),E=C(n(63));function C(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=(0,l.forbidExtraProps)({date:c.default.momentObj,onDateChange:s.default.func,focused:s.default.bool,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:_.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:w.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:O.default,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),D={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:S.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:S.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:S.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},M=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,a=e.isDayBlocked,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,h=this.props,p=h.isOutsideRange,m=h.isDayBlocked,g=h.isDayHighlighted,b=h.numberOfMonths,y=h.enableOutsideDays,k=h.initialVisibleMonth,_=h.focused,w=h.date,O=this.state.visibleDays,S=!1,E=!1,C=!1;o!==p&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},S=!0),a!==m&&(this.modifiers["blocked-calendar"]=function(e){return a(e)},E=!0),s!==g&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},C=!0);var T=S||E||C;if(l!==b||f!==y||c!==k&&!_&&r){var x=this.getStateForNewMonth(e),D=x.currentMonth;O=x.visibleDays,this.setState({currentMonth:D,visibleDays:O})}var M=r!==_,j={};n!==w&&(j=this.deleteModifier(j,w,"selected"),j=this.addModifier(j,n,"selected")),(M||T)&&(0,d.default)(O).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);j=t.isBlocked(n)?t.addModifier(j,n,"blocked"):t.deleteModifier(j,n,"blocked"),(M||S)&&(j=o(n)?t.addModifier(j,n,"blocked-out-of-range"):t.deleteModifier(j,n,"blocked-out-of-range")),(M||E)&&(j=a(n)?t.addModifier(j,n,"blocked-calendar"):t.deleteModifier(j,n,"blocked-calendar")),(M||C)&&(j=s(n)?t.addModifier(j,n,"highlighted-calendar"):t.deleteModifier(j,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,v.default)(this.today,I)||(j=this.deleteModifier(j,this.today,"today"),j=this.addModifier(j,I,"today"),this.today=I),Object.keys(j).length>0&&this.setState({visibleDays:(0,i.default)({},O,j)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,i.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,i.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(1,"month"),u=(0,g.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n,"month"),u=(0,g.default)(l,1,r),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,i=n.numberOfMonths,a=e.clone().startOf("month");if(o&&(a=o.clone()),this.isBlocked(a)){for(var s=[],c=e.clone().add(i-1,"months").endOf("month"),l=a.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,m.default)(e,a)}));if(u.length>0){var d=r(u,1);a=d[0]}}return a}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,y.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.enableOutsideDays,a=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:a,visibleDays:this.getModifiers((0,g.default)(a,o,i))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,b.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.add(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,g))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,b.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.delete(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,g))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,v.default)(e,t)}},{key:"isToday",value:function(e){return(0,v.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,m=e.renderDayContents,g=e.renderCalendarInfo,b=e.renderMonthElement,y=e.calendarInfoPosition,k=e.isFocused,_=e.isRTL,w=e.phrases,O=e.dayAriaLabelFormat,S=e.onBlur,C=e.showKeyboardShortcuts,T=e.weekDayFormat,x=e.verticalHeight,D=e.noBorder,M=e.transitionDuration,j=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.visibleDays;return a.default.createElement(E.default,{orientation:n,enableOutsideDays:d,modifiers:R,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return N},firstDayOfWeek:p,onOutsideClick:c,navPrev:i,navNext:s,renderMonthText:o,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:g,renderMonthElement:b,calendarInfoPosition:y,isFocused:k,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:S,phrases:w,daySize:h,isRTL:_,showKeyboardShortcuts:C,weekDayFormat:T,dayAriaLabelFormat:O,verticalHeight:x,noBorder:D,transitionDuration:M,verticalBorderSpacing:j,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=M,M.propTypes=x,M.defaultProps=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(4)),o=p(n(20)),i=n(12),a=n(14),s=p(n(15)),c=p(n(33)),l=p(n(98)),u=p(n(99)),d=p(n(29)),f=p(n(23)),h=p(n(34));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:i.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,horizontalMonthPadding:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(13)),i=g(n(1)),a=g(n(4)),s=n(12),c=n(16),l=n(14),u=g(n(15)),d=g(n(105)),f=g(n(33)),h=g(n(37)),p=g(n(111)),v=g(n(29)),m=n(7);function g(e){return e&&e.__esModule?e:{default:e}}var b=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{id:a.default.string.isRequired,placeholder:a.default.string,displayValue:a.default.string,screenReaderMessage:a.default.string,focused:a.default.bool,isFocused:a.default.bool,disabled:a.default.bool,required:a.default.bool,readOnly:a.default.bool,openDirection:v.default,showCaret:a.default.bool,showClearDate:a.default.bool,customCloseIcon:a.default.node,showDefaultInputIcon:a.default.bool,inputIconPosition:f.default,customInputIcon:a.default.node,isRTL:a.default.bool,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,onChange:a.default.func,onClearDate:a.default.func,onFocus:a.default.func,onKeyDownShiftTab:a.default.func,onKeyDownTab:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,phrases:a.default.shape((0,u.default)(l.SingleDatePickerInputPhrases))})),y={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:m.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:m.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){},onClearDate:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},phrases:l.SingleDatePickerInputPhrases};function k(e){var t=e.id,n=e.placeholder,o=e.displayValue,a=e.focused,s=e.isFocused,l=e.disabled,u=e.required,f=e.readOnly,v=e.showCaret,g=e.showClearDate,b=e.showDefaultInputIcon,y=e.inputIconPosition,k=e.phrases,_=e.onClearDate,w=e.onChange,O=e.onFocus,S=e.onKeyDownShiftTab,E=e.onKeyDownTab,C=e.onKeyDownArrowDown,T=e.onKeyDownQuestionMark,x=e.screenReaderMessage,D=e.customCloseIcon,M=e.customInputIcon,j=e.openDirection,I=e.isRTL,P=e.noBorder,N=e.block,R=e.small,L=e.regular,A=e.verticalSpacing,z=e.styles,F=M||i.default.createElement(p.default,(0,c.css)(z.SingleDatePickerInput_calendarIcon_svg)),H=D||i.default.createElement(h.default,(0,c.css)(z.SingleDatePickerInput_clearDate_svg,R&&z.SingleDatePickerInput_clearDate_svg__small)),V=x||k.keyboardNavigationInstructions,B=(b||null!==M)&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_calendarIcon),{type:"button",disabled:l,"aria-label":k.focusStartDate,onClick:O}),F);return i.default.createElement("div",(0,c.css)(z.SingleDatePickerInput,l&&z.SingleDatePickerInput__disabled,I&&z.SingleDatePickerInput__rtl,!P&&z.SingleDatePickerInput__withBorder,N&&z.SingleDatePickerInput__block,g&&z.SingleDatePickerInput__showClearDate),y===m.ICON_BEFORE_POSITION&&B,i.default.createElement(d.default,{id:t,placeholder:n,displayValue:o,screenReaderMessage:V,focused:a,isFocused:s,disabled:l,required:u,readOnly:f,showCaret:v,onChange:w,onFocus:O,onKeyDownShiftTab:S,onKeyDownTab:E,onKeyDownArrowDown:C,onKeyDownQuestionMark:T,openDirection:j,verticalSpacing:A,small:R,regular:L,block:N}),g&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_clearDate,R&&z.SingleDatePickerInput_clearDate__small,!D&&z.SingleDatePickerInput_clearDate__default,!o&&z.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":k.clearDate,disabled:l,onMouseEnter:this&&this.onClearDateMouseEnter,onMouseLeave:this&&this.onClearDateMouseLeave,onClick:_}),H),y===m.ICON_AFTER_POSITION&&B)}k.propTypes=b,k.defaultProps=y,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:r.background},SingleDatePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:"rtl"},SingleDatePickerInput__disabled:{backgroundColor:r.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(k)},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n.n(r),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),u(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),o.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(a.a.Component);d.propTypes={children:c.a.node.isRequired,node:c.a.any};var f=d,h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){o.a.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=a.a.cloneElement(this.props.children)),this.portal=o.a.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(a.a.Component),v=p;p.propTypes={children:c.a.node.isRequired,node:c.a.any};var m=o.a.createPortal?f:v,g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var b=27,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),g(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?a.a.createElement(m,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===b&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(a.a.Component);y.propTypes={children:c.a.func.isRequired,defaultOpen:c.a.bool,node:c.a.any,closeOnEsc:c.a.bool,closeOnOutsideClick:c.a.bool,onOpen:c.a.func,onClose:c.a.func},y.defaultProps={onOpen:function(){},onClose:function(){}};var k=y;n.d(t,"Portal",(function(){return m})),n.d(t,"PortalWithState",(function(){return k}))},function(e,t,n){"use strict";e.exports=n(137)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,o=void 0===n?24:n,i=e.onClick,s=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",s,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:o,width:o,onClick:i},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(149),o=n(150),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))}),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(151)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){
20
- /*!
21
- * clipboard.js v2.0.4
22
- * https://zenorocha.github.io/clipboard.js
23
- *
24
- * Licensed MIT © Zeno Rocha
25
- */
26
- var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(1)),a=c(n(3)),s=c(n(4));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(a.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r},c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},function(e,t,n){var r=n(5),o=n(6);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(7);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}}])},e.exports=r()},function(e,t,n){var r;!function(o,i,a){if(o){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)c[111+f]="f"+f;for(f=0;f<=9;++f)c[f+96]=f.toString();b.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},b.init=function(){var e=b(i);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function b(e){var t=this;if(e=e||i,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function l(e,n,o,i,a,s){var c,l,u,d,f=[],h=o.type;if(!t._callbacks[e])return[];for("keyup"==h&&v(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],(i||!l.seq||r[l.seq]==l.level)&&h==l.action&&("keypress"==h&&!o.metaKey&&!o.ctrlKey||(u=n,d=l.modifiers,u.sort().join(",")===d.sort().join(",")))){var p=!i&&l.combo==a,m=i&&l.seq==i&&l.level==s;(p||m)&&t._callbacks[e].splice(c,1),f.push(l)}return f}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=p(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function f(e,t,i,a){function l(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(c,1e3)}}function d(t){u(i,t,e),"keyup"!==a&&(o=p(t)),setTimeout(c,10)}r[e]=0;for(var f=0;f<t.length;++f){var h=f+1===t.length?d:l(a||g(t[f+1]).action);m(t[f],h,a,e,f)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?f(e,s,n,r):(a=g(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),i={},d=0,f=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;f=!0,i[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else f||u(o[r].callback,n,o[r].combo);var h="keypress"==n.type&&a;n.type!=s||v(e)||h||c(i),a=f&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},h(e,"keypress",d),h(e,"keydown",d),h(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){e.exports=n(182)},function(e,t,n){var r;/*! showdown v 1.9.0 - 10-11-2018 */
27
- (function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},s={},c=o(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function d(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return r.valid=!1,r.error=a+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===c){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+c+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in l=e,t)t.hasOwnProperty(n)&&(c[n]=t[n])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=d(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=f,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,f)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var h=function(e,t,n,r){"use strict";var o,i,a,s,c,l=r||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+n,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(o=0;a=d.exec(e);)if(f.test(a[0]))o++||(s=(i=d.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var p={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(o&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=h(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=h(e,n,r,o),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=l,f={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&p(c,e[a].listeners[c])}}function p(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},c)c.hasOwnProperty(n)&&(t[n]=c[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),f=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var s=t[r].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){a=l[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",s=0;s<o.length;s++)a+=i.subParser("makeMarkdown.node")(o[s],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){if(i.helper.isUndefined(l)&&(l=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(l=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+c+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,v=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,g=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,b=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,s,c){var l=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=n||"",h=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'<a href="'+r+'"'+d+">"+l+"</a>"+u+h}},k=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(b,k(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(v,y(t)):e.replace(p,y(t))).replace(g,k(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,s=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="<pre><code>"+a+c+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>",s=i.subParser("hashHTMLSpans")(s,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n'}return e=o+"<html"+s+">\n<head>\n"+i+a+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var s=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var a=0;a<r.length;++a)for(var s,c=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],o,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(l,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l=r+1,u="<h"+l+s+">"+a+"</h"+l+">";return i.subParser("hashBlock")(u,t,n)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(s,(function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',d=r-1+o.length,f="<h"+d+u+">"+l+"</h"+d+">";return i.subParser("hashBlock")(f,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,s,c,l){var u=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(d[r])||(l=d[r]),i.helper.isUndefined(f[r])||(a=f[r].width,s=f[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&s&&(h+=' width="'+(a="*"===a?"auto":a)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,s,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,n),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||d.search(/\n{2,}/)>-1?(d=i.subParser("githubCodeBlocks")(d,t,n),d=i.subParser("blockGamut")(d,t,n)):(d=(d=i.subParser("lists")(d,t,n)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,n)).replace(/\n\n+/g,"\n\n"),d=a?i.subParser("paragraphs")(d,t,n):i.subParser("spanGamut")(d,t,n)),d="<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=o(e,n);-1!==d?(l+="\n\n<"+n+f+">\n"+r(u.slice(0,d),!!i)+"</"+n+">\n",c="ul"===(n="ul"===n?"ol":"ul")?a:s,t(u.slice(d))):l+="\n\n<"+n+f+">\n"+r(u,!!i)+"</"+n+">\n"}(e);else{var u=o(e,n);l="\n\n<"+n+u+">\n"+r(e,!!i)+"</"+n+">\n"}return l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var c=r[s];c.search(/¨(K|G)(\d+)\1/g)>=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",o.push(c))}for(a=o.length,s=0;s<a;s++){for(var l="",u=o[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,h=RegExp.$2;l=(l="K"===f?n.gHtmlBlocks[h]:d?i.subParser("encodeCode")(n.ghCodeBlocks[h].text,t,n):n.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+l:(l&&(n.gTitles[r]=l.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var s,c,l,u,d=a[0].split("|").map((function(e){return e.trim()})),f=a[1].split("|").map((function(e){return e.trim()})),h=[],p=[],v=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&h.push(a[o].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(o=0;o<f.length;++o)v.push((s=f[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<d.length;++o)i.helper.isUndefined(v[o])&&(v[o]=""),p.push((c=d[o],l=v[o],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=i.subParser("spanGamut")(c,t,n))+"</th>\n"));for(o=0;o<h.length;++o){for(var g=[],b=0;b<p.length;++b)i.helper.isUndefined(h[o][b]),g.push(r(h[o][b],v[b]));m.push(g)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(p,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var s=i.subParser("makeMarkdown.node")(r[a],t);""!==s&&(n+=s)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,s=a.length,c=0;c<s;++c)o+=i.subParser("makeMarkdown.node")(a[c],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,s=e.getAttribute("start")||1,c=0;c<a;++c)if(void 0!==o[c].tagName&&"li"===o[c].tagName.toLowerCase()){r+=("ol"===n?s.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[c],t),++s}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;n<s.length;++n){var l=i.subParser("makeMarkdown.tableCell")(s[n],t),u="---";if(s[n].hasAttribute("style"))switch(s[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}a[0][n]=l.trim(),a[1][n]=u}for(n=0;n<c.length;++n){var d=a.push([])-1,f=c[n].getElementsByTagName("td");for(r=0;r<s.length;++r){var h=" ";void 0!==f[r]&&(h=i.subParser("makeMarkdown.tableCell")(f[r],t)),a[d].push(h)}}var p=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var v=a[n][r].length;v>p&&(p=v)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),p-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],p,"-"):a[n][r]=i.helper.padEnd(a[n][r],p);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var o,i,a=n[r.type],s=t(r);if(a)for(o=0;o<a.length;o++)(i=a[o](r,e))&&e.dispatch(i);return s}}}).effects=n,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){
28
- /*!
29
-
30
- diff v3.5.0
31
-
32
- Software License Agreement (BSD License)
33
-
34
- Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
35
-
36
- All rights reserved.
37
-
38
- Redistribution and use of this software in source and binary forms, with or without modification,
39
- are permitted provided that the following conditions are met:
40
-
41
- * Redistributions of source code must retain the above
42
- copyright notice, this list of conditions and the
43
- following disclaimer.
44
-
45
- * Redistributions in binary form must reproduce the above
46
- copyright notice, this list of conditions and the
47
- following disclaimer in the documentation and/or other
48
- materials provided with the distribution.
49
-
50
- * Neither the name of Kevin Decker nor the names of its
51
- contributors may be used to endorse or promote products
52
- derived from this software without specific prior
53
- written permission.
54
-
55
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
56
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
57
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
58
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
59
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
60
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
61
- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
62
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63
- @license
64
- */
65
- var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(2),s=n(3),c=n(5),l=n(6),u=n(7),d=n(8),f=n(9),h=n(10),p=n(11),v=n(13),m=n(14),g=n(16),b=n(17);t.Diff=i.default,t.diffChars=a.diffChars,t.diffWords=s.diffWords,t.diffWordsWithSpace=s.diffWordsWithSpace,t.diffLines=c.diffLines,t.diffTrimmedLines=c.diffTrimmedLines,t.diffSentences=l.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=h.applyPatch,t.applyPatches=h.applyPatches,t.parsePatch=p.parsePatch,t.merge=v.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=b.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,s=0,c=0;i<a;i++){var l=t[i];if(l.removed){if(l.value=e.join(r.slice(c,c+l.count)),c+=l.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!l.added&&o){var d=n.slice(s,s+l.count);d=d.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),l.value=e.join(d)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(c+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var a=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,d=c+l,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&h+1>=l)return s([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],h=f[n+1],p=(h?h.newPos:0)-n;d&&(f[n-1]=void 0);var v=d&&d.newPos+1<c,m=h&&0<=p&&p<l;if(v||m){if(!v||m&&d.newPos<h.newPos?(i=o(h),a.pushComponent(i.components,void 0,!0)):((i=d).newPos++,a.pushComponent(i.components,!0,void 0)),p=a.extractCommon(i,t,e,n),i.newPos+1>=c&&p+1>=l)return s(r(a,i.components,t,e,a.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var v=p();if(v)return v}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,s=a-r,c=0;a+1<o&&s+1<i&&this.equals(t[a+1],n[s+1]);)a++,s++,c++;return c&&e.components.push({count:c}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),l.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return l.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,l=t.wordDiff=new i.default;l.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!c.test(e)&&!c.test(t)},l.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&s.test(t[n])&&s.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return s.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return s.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=t.lineDiff=new i.default;s.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.sentenceDiff=new i.default;a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.cssDiff=new i.default;a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return l.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},s=n(5),c=Object.prototype.toString,l=t.jsonDiff=new a.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var a=void 0;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var s=void 0;if("[object Array]"===c.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),a=0;a<e.length;a+=1)s[a]=u(e[a],t,n,o,i);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),s={},n.push(s);var l=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&l.push(d);for(l.sort(),a=0;a<l.length;a+=1)s[d=l[a]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else s=e;return s}l.useLongestToken=!0,l.tokenize=s.lineDiff.tokenize,l.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},l.equals=function(e,t){return a.default.prototype.equals.call(l,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.arrayDiff=new i.default;a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=s,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=s(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,c=n.compareLine||function(e,t,n,r){return t===r},l=0,u=n.fuzzFactor||0,d=0,f=0,h=void 0,p=void 0;function v(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",a=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!c(t+1,r[t],i,a)&&++l>u)return!1;t++}}return!0}for(var m=0;m<s.length;m++){for(var g=s[m],b=r.length-g.oldLines,y=0,k=f+g.oldStart-1,_=(0,a.default)(k,d,b);void 0!==y;y=_())if(v(g,k+y)){g.offset=f+=y;break}if(void 0===y)return!1;d=g.offset+g.oldStart+g.oldLines}for(var w=0,O=0;O<s.length;O++){var S=s[O],E=S.oldStart+S.offset+w-1;w+=S.newLines-S.oldLines,E<0&&(E=0);for(var C=0;C<S.lines.length;C++){var T=S.lines[C],x=T.length>0?T[0]:" ",D=T.length>0?T.substr(1):T,M=S.linedelimiters[C];if(" "===x)E++;else if("-"===x)r.splice(E,1),i.splice(E,1);else if("+"===x)r.splice(E,0,D),i.splice(E,0,M),E++;else if("\\"===x){var j=S.lines[C-1]?S.lines[C-1][0]:null;"+"===j?h=!0:"-"===j&&(p=!0)}}}if(h)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var I=0;I<r.length-1;I++)r[I]=r[I]+i[I];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(s(e),s(e),e.hunks=[];i<n.length;){var l=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(c());else{if(l&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(l));i++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function c(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},s=0,c=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var l=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===l?s++:"-"===l?c++:" "===l&&(s++,c++)}if(s||1!==a.newLines||(a.newLines=0),c||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(c!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function s(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,s())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=s,t.merge=function(e,t,n){e=c(e,n),t=c(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(l(e)?l(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,a=0,s=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},v=t.hunks[i]||{oldStart:1/0};if(d(p,v))r.hunks.push(f(p,a)),o++,s+=p.newLines-p.oldLines;else if(d(v,p))r.hunks.push(f(v,s)),i++,a+=v.newLines-v.oldLines;else{var m={oldStart:Math.min(p.oldStart,v.oldStart),oldLines:0,newStart:Math.min(p.newStart+a,v.oldStart+s),newLines:0,lines:[]};h(m,p.oldStart,p.lines,v.oldStart,v.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function s(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function c(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function l(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function h(e,t,n,r,o){var i={offset:t,lines:n,index:0},c={offset:r,lines:o,index:0};for(g(e,i,c),g(e,c,i);i.index<i.lines.length&&c.index<c.lines.length;){var l=i.lines[i.index],u=c.lines[c.index];if("-"!==l[0]&&"+"!==l[0]||"-"!==u[0]&&"+"!==u[0])if("+"===l[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,a(y(i)))}else if("+"===u[0]&&" "===l[0]){var f;(f=e.lines).push.apply(f,a(y(c)))}else"-"===l[0]&&" "===u[0]?v(e,i,c):"-"===u[0]&&" "===l[0]?v(e,c,i,!0):l===u?(e.lines.push(l),i.index++,c.index++):m(e,y(i),y(c));else p(e,i,c)}b(e,i),b(e,c),s(e)}function p(e,t,n){var r=y(t),o=y(n);if(k(r)&&k(o)){var s,c;if((0,i.arrayStartsWith)(r,o)&&_(n,r,r.length-o.length))return void(s=e.lines).push.apply(s,a(r));if((0,i.arrayStartsWith)(o,r)&&_(t,o,o.length-r.length))return void(c=e.lines).push.apply(c,a(o))}else if((0,i.arrayEqual)(r,o)){var l;return void(l=e.lines).push.apply(l,a(r))}m(e,r,o)}function v(e,t,n,r){var o,i=y(t),s=function(e,t){for(var n=[],r=[],o=0,i=!1,a=!1;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],c=t[o];if("+"===c[0])break;if(i=i||" "!==s[0],r.push(c),o++,"+"===s[0])for(a=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];c.substr(1)===s.substr(1)?(n.push(s),e.index++):a=!0}if("+"===(t[o]||"")[0]&&i&&(a=!0),a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);s.merged?(o=e.lines).push.apply(o,a(s.merged)):m(e,r?s:i,r?i:s)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function g(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function b(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function y(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function _(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=a,t.createPatch=function(e,t,n,r,o,i){return a(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,a,s,c){c||(c={}),void 0===c.context&&(c.context=4);var l=(0,r.diffLines)(n,i,c);function u(e){return e.map((function(e){return" "+e}))}l.push({value:"",lines:[]});for(var d=[],f=0,h=0,p=[],v=1,m=1,g=function(e){var t=l[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!f){var s=l[e-1];f=v,h=m,s&&(p=c.context>0?u(s.lines.slice(-c.context)):[],f-=p.length,h-=p.length)}(a=p).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:v+=r.length}else{if(f)if(r.length<=2*c.context&&e<l.length-2){var g;(g=p).push.apply(g,o(u(r)))}else{var b,y=Math.min(r.length,c.context);(b=p).push.apply(b,o(u(r.slice(0,y))));var k={oldStart:f,oldLines:v-f+y,newStart:h,newLines:m-h+y,lines:p};if(e>=l.length-2&&r.length<=c.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=r.length||_?_&&w||p.push("\"):p.splice(k.oldLines,0,"\")}d.push(k),f=0,h=0,p=[]}v+=r.length,m+=r.length}},b=0;b<l.length;b++)g(b);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:s,hunks:d}}function a(e,t,n,r,o,a,s){var c=i(e,t,n,r,o,a,s),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+c.oldFileName+(void 0===c.oldHeader?"":"\t"+c.oldHeader)),l.push("+++ "+c.newFileName+(void 0===c.newHeader?"":"\t"+c.newHeader));for(var u=0;u<c.hunks.length;u++){var d=c.hunks[u];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],s=!0;return function e(d){var f=n?i(d):d,h={},p=!0,v={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(p=!1)},delete:function(e){delete v.parent.node[v.key],e&&(p=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(p=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){s=!1},block:function(){p=!1}};if(!s)return v;function m(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=a(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){v.circular=o[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var g=t.call(v,v.node);return void 0!==g&&v.update&&v.update(g),h.before&&h.before.call(v,v.node),p?("object"!=typeof v.node||null===v.node||v.circular||(o.push(v),m(),l(v.keys,(function(t,o){r.push(t),h.pre&&h.pre.call(v,v.node[t],t);var i=e(v.node[t]);n&&u.call(v.node,t)&&(v.node[t]=i.node),i.isLast=o==v.keys.length-1,i.isFirst=0==o,h.post&&h.post.call(v,i),r.pop()})),o.pop()),h.after&&h.after.call(v,v.node),v):v}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===s(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===s(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===s(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===s(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===s(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===s(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return l(a(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var s=i(r);return e.push(r),t.push(s),l(a(r),(function(e){s[e]=n(r[e])})),e.pop(),t.pop(),s}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function s(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};l(a(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,n){"use strict";
66
- /** @license React v16.8.6
67
- * react.production.min.js
68
- *
69
- * Copyright (c) Facebook, Inc. and its affiliates.
70
- *
71
- * This source code is licensed under the MIT license found in the
72
- * LICENSE file in the root directory of this source tree.
73
- */var r=n(51),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k={};function _(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||y}function w(){}function O(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&b("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var S=O.prototype=new w;S.constructor=O,r(S,_.prototype),S.isPureReactComponent=!0;var E={current:null},C={current:null},T=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var r=void 0,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:C.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,I=[];function P(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+L(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+L(s=t[l],l);c+=e(s,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+L(s,l++),r,o);else"object"===s&&b("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function z(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(j,"$&/")+"/"),R(e,z,t=P(t,i,r,o)),N(t)}function H(){var e=E.current;return null===e&&b("321"),e}var V={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,A,t=P(null,null,t,n)),N(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){return M(e)||b("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:O,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return H().useCallback(e,t)},useContext:function(e,t){return H().useContext(e,t)},useEffect:function(e,t){return H().useEffect(e,t)},useImperativeHandle:function(e,t,n){return H().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return H().useLayoutEffect(e,t)},useMemo:function(e,t){return H().useMemo(e,t)},useReducer:function(e,t,n){return H().useReducer(e,t,n)},useRef:function(e){return H().useRef(e)},useState:function(e){return H().useState(e)},Fragment:s,StrictMode:c,Suspense:p,createElement:D,cloneElement:function(e,t,n){null==e&&b("267",e);var o=void 0,a=r({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=C.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)T.call(t,o)&&!x.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){u=Array(o);for(var d=0;d<o;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=D.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.8.6",unstable_ConcurrentMode:f,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:C,assign:r}},B={default:V},U=B&&V||B;e.exports=U.default||U},function(e,t,n){"use strict";
74
- /** @license React v16.8.6
75
- * react-dom.production.min.js
76
  *
77
  * Copyright (c) Facebook, Inc. and its affiliates.
78
  *
79
  * This source code is licensed under the MIT license found in the
80
  * LICENSE file in the root directory of this source tree.
81
- */var r=n(1),o=n(51),i=n(135);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function s(e,t,n,r,o,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}r||a("227");var c=!1,l=null,u=!1,d=null,f={onError:function(e){c=!0,l=e}};function h(e,t,n,r,o,i,a,u,d){c=!1,l=null,s.apply(f,arguments)}var p=null,v={};function m(){if(p)for(var e in v){var t=v[e],n=p.indexOf(e);if(-1<n||a("96",e),!b[n])for(var r in t.extractEvents||a("97",e),b[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,c=r;y.hasOwnProperty(c)&&a("99",c),y[c]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&g(l[o],s,c);o=!0}else i.registrationName?(g(i.registrationName,s,c),o=!0):o=!1;o||a("98",r,e)}}}function g(e,t,n){k[e]&&a("100",e),k[e]=t,_[e]=t.eventTypes[n].dependencies}var b=[],y={},k={},_={},w=null,O=null,S=null;function E(e,t,n){var r=e.type||"unknown-event";e.currentTarget=S(n),function(e,t,n,r,o,i,s,f,p){if(h.apply(this,arguments),c){if(c){var v=l;c=!1,l=null}else a("198"),v=void 0;u||(u=!0,d=v)}}(r,t,void 0,e),e.currentTarget=null}function C(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var x=null;function D(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)E(e,t[r],n[r]);else t&&E(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var M={injectEventPluginOrder:function(e){p&&a("101"),p=Array.prototype.slice.call(e),m()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];v.hasOwnProperty(t)&&v[t]===r||(v[t]&&a("102",t),v[t]=r,n=!0)}n&&m()}};function j(e,t){var n=e.stateNode;if(!n)return null;var r=w(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&a("231",t,typeof n),n)}function I(e){if(null!==e&&(x=C(x,e)),e=x,x=null,e&&(T(e,D),x&&a("95"),u))throw e=d,u=!1,d=null,e}var P=Math.random().toString(36).slice(2),N="__reactInternalInstance$"+P,R="__reactEventHandlers$"+P;function L(e){if(e[N])return e[N];for(;!e[N];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[N]).tag||6===e.tag?e:null}function A(e){return!(e=e[N])||5!==e.tag&&6!==e.tag?null:e}function z(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function F(e){return e[R]||null}function H(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function V(e,t,n){(t=j(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function B(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=H(t);for(t=n.length;0<t--;)V(n[t],"captured",e);for(t=0;t<n.length;t++)V(n[t],"bubbled",e)}}function U(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=j(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function W(e){e&&e.dispatchConfig.registrationName&&U(e._targetInst,null,e)}function K(e){T(e,B)}var Y=!("undefined"==typeof window||!window.document||!window.document.createElement);function $(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var q={animationend:$("Animation","AnimationEnd"),animationiteration:$("Animation","AnimationIteration"),animationstart:$("Animation","AnimationStart"),transitionend:$("Transition","TransitionEnd")},G={},Z={};function X(e){if(G[e])return G[e];if(!q[e])return e;var t,n=q[e];for(t in n)if(n.hasOwnProperty(t)&&t in Z)return G[e]=n[t];return e}Y&&(Z=document.createElement("div").style,"AnimationEvent"in window||(delete q.animationend.animation,delete q.animationiteration.animation,delete q.animationstart.animation),"TransitionEvent"in window||delete q.transitionend.transition);var Q=X("animationend"),J=X("animationiteration"),ee=X("animationstart"),te=X("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=null,oe=null,ie=null;function ae(){if(ie)return ie;var e,t,n=oe,r=n.length,o="value"in re?re.value:re.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return ie=o.slice(e,1<t?1-t:void 0)}function se(){return!0}function ce(){return!1}function le(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?se:ce,this.isPropagationStopped=ce,this}function ue(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function de(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ue,e.release=de}o(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=se)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=se)},persist:function(){this.isPersistent=se},isPersistent:ce,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ce,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(le);var he=le.extend({data:null}),pe=le.extend({data:null}),ve=[9,13,27,32],me=Y&&"CompositionEvent"in window,ge=null;Y&&"documentMode"in document&&(ge=document.documentMode);var be=Y&&"TextEvent"in window&&!ge,ye=Y&&(!me||ge&&8<ge&&11>=ge),ke=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Oe(e,t){switch(e){case"keyup":return-1!==ve.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ee=!1;var Ce={eventTypes:_e,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(me)e:{switch(e){case"compositionstart":o=_e.compositionStart;break e;case"compositionend":o=_e.compositionEnd;break e;case"compositionupdate":o=_e.compositionUpdate;break e}o=void 0}else Ee?Oe(e,n)&&(o=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=_e.compositionStart);return o?(ye&&"ko"!==n.locale&&(Ee||o!==_e.compositionStart?o===_e.compositionEnd&&Ee&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Ee=!0)),o=he.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),K(o),i=o):i=null,(e=be?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(we=!0,ke);case"textInput":return(e=t.data)===ke&&we?null:e;default:return null}}(e,n):function(e,t){if(Ee)return"compositionend"===e||!me&&Oe(e,t)?(e=ae(),ie=oe=re=null,Ee=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ye&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=pe.getPooled(_e.beforeInput,t,n,r)).data=e,K(t)):t=null,null===i?t:null===t?i:[i,t]}},Te=null,xe=null,De=null;function Me(e){if(e=O(e)){"function"!=typeof Te&&a("280");var t=w(e.stateNode);Te(e.stateNode,e.type,t)}}function je(e){xe?De?De.push(e):De=[e]:xe=e}function Ie(){if(xe){var e=xe,t=De;if(De=xe=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Pe(e,t){return e(t)}function Ne(e,t,n){return e(t,n)}function Re(){}var Le=!1;function Ae(e,t){if(Le)return e(t);Le=!0;try{return Pe(e,t)}finally{Le=!1,(null!==xe||null!==De)&&(Re(),Ie())}}var ze={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ze[e.type]:"textarea"===t}function He(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ve(e){if(!Y)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ue(e){e._valueTracker||(e._valueTracker=function(e){var t=Be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function We(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ke=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ke.hasOwnProperty("ReactCurrentDispatcher")||(Ke.ReactCurrentDispatcher={current:null});var Ye=/^(.*)[\\\/]/,$e="function"==typeof Symbol&&Symbol.for,qe=$e?Symbol.for("react.element"):60103,Ge=$e?Symbol.for("react.portal"):60106,Ze=$e?Symbol.for("react.fragment"):60107,Xe=$e?Symbol.for("react.strict_mode"):60108,Qe=$e?Symbol.for("react.profiler"):60114,Je=$e?Symbol.for("react.provider"):60109,et=$e?Symbol.for("react.context"):60110,tt=$e?Symbol.for("react.concurrent_mode"):60111,nt=$e?Symbol.for("react.forward_ref"):60112,rt=$e?Symbol.for("react.suspense"):60113,ot=$e?Symbol.for("react.memo"):60115,it=$e?Symbol.for("react.lazy"):60116,at="function"==typeof Symbol&&Symbol.iterator;function st(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=at&&e[at]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case tt:return"ConcurrentMode";case Ze:return"Fragment";case Ge:return"Portal";case Qe:return"Profiler";case Xe:return"StrictMode";case rt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case et:return"Context.Consumer";case Je:return"Context.Provider";case nt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return ct(e.type);case it:if(e=1===e._status?e._result:null)return ct(e)}return null}function lt(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ct(e.type);n=null,r&&(n=ct(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Ye,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var ut=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dt=Object.prototype.hasOwnProperty,ft={},ht={};function pt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){vt[e]=new pt(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];vt[t]=new pt(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){vt[e]=new pt(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){vt[e]=new pt(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){vt[e]=new pt(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){vt[e]=new pt(e,3,!0,e,null)})),["capture","download"].forEach((function(e){vt[e]=new pt(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){vt[e]=new pt(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){vt[e]=new pt(e,5,!1,e.toLowerCase(),null)}));var mt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function bt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!dt.call(ht,e)||!dt.call(ft,e)&&(ut.test(e)?ht[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function yt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function kt(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _t(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=yt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function wt(e,t){null!=(t=t.checked)&&bt(e,"checked",t,!1)}function Ot(e,t){wt(e,t);var n=yt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Et(e,t.type,n):t.hasOwnProperty("defaultValue")&&Et(e,t.type,yt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function St(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Et(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){vt[e]=new pt(e,1,!1,e.toLowerCase(),null)}));var Ct={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Tt(e,t,n){return(e=le.getPooled(Ct.change,e,t,n)).type="change",je(n),K(e),e}var xt=null,Dt=null;function Mt(e){I(e)}function jt(e){if(We(z(e)))return e}function It(e,t){if("change"===e)return t}var Pt=!1;function Nt(){xt&&(xt.detachEvent("onpropertychange",Rt),Dt=xt=null)}function Rt(e){"value"===e.propertyName&&jt(Dt)&&Ae(Mt,e=Tt(Dt,e,He(e)))}function Lt(e,t,n){"focus"===e?(Nt(),Dt=n,(xt=t).attachEvent("onpropertychange",Rt)):"blur"===e&&Nt()}function At(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jt(Dt)}function zt(e,t){if("click"===e)return jt(t)}function Ft(e,t){if("input"===e||"change"===e)return jt(t)}Y&&(Pt=Ve("input")&&(!document.documentMode||9<document.documentMode));var Ht={eventTypes:Ct,_isInputEventSupported:Pt,extractEvents:function(e,t,n,r){var o=t?z(t):window,i=void 0,a=void 0,s=o.nodeName&&o.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===o.type?i=It:Fe(o)?Pt?i=Ft:(i=At,a=Lt):(s=o.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=zt),i&&(i=i(e,t)))return Tt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Et(o,"number",o.value)}},Vt=le.extend({view:null,detail:null}),Bt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ut(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Bt[e])&&!!t[e]}function Wt(){return Ut}var Kt=0,Yt=0,$t=!1,qt=!1,Gt=Vt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Wt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Kt;return Kt=e.screenX,$t?"mousemove"===e.type?e.screenX-t:0:($t=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Yt;return Yt=e.screenY,qt?"mousemove"===e.type?e.screenY-t:0:(qt=!0,0)}}),Zt=Gt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qt={eventTypes:Xt,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?L(t):null):i=null,i===t)return null;var a=void 0,s=void 0,c=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=Gt,s=Xt.mouseLeave,c=Xt.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Zt,s=Xt.pointerLeave,c=Xt.pointerEnter,l="pointer");var u=null==i?o:z(i);if(o=null==t?o:z(t),(e=a.getPooled(s,i,n,r)).type=l+"leave",e.target=u,e.relatedTarget=o,(n=a.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=u,r=t,i&&r)e:{for(o=r,l=0,a=t=i;a;a=H(a))l++;for(a=0,c=o;c;c=H(c))a++;for(;0<l-a;)t=H(t),l--;for(;0<a-l;)o=H(o),a--;for(;l--;){if(t===o||t===o.alternate)break e;t=H(t),o=H(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(l=i.alternate)||l!==o);)t.push(i),i=H(i);for(i=[];r&&r!==o&&(null===(l=r.alternate)||l!==o);)i.push(r),r=H(r);for(r=0;r<t.length;r++)U(t[r],"bubbled",e);for(r=i.length;0<r--;)U(i[r],"captured",n);return[e,n]}};function Jt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var en=Object.prototype.hasOwnProperty;function tn(e,t){if(Jt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!en.call(t,n[r])||!Jt(e[n[r]],t[n[r]]))return!1;return!0}function nn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function rn(e){2!==nn(e)&&a("188")}function on(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=nn(e))&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var s=o.child;s;){if(s===n)return rn(o),e;if(s===r)return rn(o),t;s=s.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{s=!1;for(var c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}s||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var an=le.extend({animationName:null,elapsedTime:null,pseudoElement:null}),sn=le.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cn=Vt.extend({relatedTarget:null});function ln(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fn=Vt.extend({key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ln(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?dn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Wt,charCode:function(e){return"keypress"===e.type?ln(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ln(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),hn=Gt.extend({dataTransfer:null}),pn=Vt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Wt}),vn=le.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),mn=Gt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["abort","abort"],[Q,"animationEnd"],[J,"animationIteration"],[ee,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[te,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],bn={},yn={};function kn(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},bn[e]=t,yn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(e){kn(e,!0)})),gn.forEach((function(e){kn(e,!1)}));var _n={eventTypes:bn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=yn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=yn[e];if(!o)return null;switch(e){case"keypress":if(0===ln(n))return null;case"keydown":case"keyup":e=fn;break;case"blur":case"focus":e=cn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Gt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=pn;break;case Q:case J:case ee:e=an;break;case te:e=vn;break;case"scroll":e=Vt;break;case"wheel":e=mn;break;case"copy":case"cut":case"paste":e=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Zt;break;default:e=le}return K(t=e.getPooled(o,t,n,r)),t}},wn=_n.isInteractiveTopLevelEventType,On=[];function Sn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=L(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=He(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,s=0;s<b.length;s++){var c=b[s];c&&(c=c.extractEvents(r,t,i,o))&&(a=C(a,c))}I(a)}}var En=!0;function Cn(e,t){if(!t)return null;var n=(wn(e)?xn:Dn).bind(null,e);t.addEventListener(e,n,!1)}function Tn(e,t){if(!t)return null;var n=(wn(e)?xn:Dn).bind(null,e);t.addEventListener(e,n,!0)}function xn(e,t){Ne(Dn,e,t)}function Dn(e,t){if(En){var n=He(t);if(null===(n=L(n))||"number"!=typeof n.tag||2===nn(n)||(n=null),On.length){var r=On.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Ae(Sn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>On.length&&On.push(e)}}}var Mn={},jn=0,In="_reactListenersID"+(""+Math.random()).slice(2);function Pn(e){return Object.prototype.hasOwnProperty.call(e,In)||(e[In]=jn++,Mn[e[In]]={}),Mn[e[In]]}function Nn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(Gs){return e.body}}function Rn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ln(e,t){var n,r=Rn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Rn(r)}}function An(){for(var e=window,t=Nn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Nn((e=t.contentWindow).document)}return t}function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Fn(e){var t=An(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&zn(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ln(n,i);var a=Ln(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hn=Y&&"documentMode"in document&&11>=document.documentMode,Vn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bn=null,Un=null,Wn=null,Kn=!1;function Yn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kn||null==Bn||Bn!==Nn(n)?null:("selectionStart"in(n=Bn)&&zn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wn&&tn(Wn,n)?null:(Wn=n,(e=le.getPooled(Vn.select,Un,e,t)).type="select",e.target=Bn,K(e),e))}var $n={eventTypes:Vn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Pn(i),o=_.onSelect;for(var a=0;a<o.length;a++){var s=o[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?z(t):window,e){case"focus":(Fe(i)||"true"===i.contentEditable)&&(Bn=i,Un=t,Wn=null);break;case"blur":Wn=Un=Bn=null;break;case"mousedown":Kn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kn=!1,Yn(n,r);case"selectionchange":if(Hn)break;case"keydown":case"keyup":return Yn(n,r)}return null}};function qn(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Gn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+yt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Zn(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:yt(n)}}function Qn(e,t){var n=yt(t.value),r=yt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w=F,O=A,S=z,M.injectEventPluginsByName({SimpleEventPlugin:_n,EnterLeaveEventPlugin:Qt,ChangeEventPlugin:Ht,SelectEventPlugin:$n,BeforeInputEventPlugin:Ce});var er={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function tr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?tr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rr=void 0,or=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==er.svg||"innerHTML"in e)e.innerHTML=t;else{for((rr=rr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ar={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sr=["Webkit","ms","Moz","O"];function cr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ar
1
+ module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=83)}([function(e,t,n){(function(e){var r;
2
  /**
3
  * @license
4
  * Lodash <https://lodash.com/>
6
  * Released under MIT license <https://lodash.com/license>
7
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
8
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
9
+ */(function(){var o="Expected a function",i="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",u="[object Array]",l="[object Boolean]",s="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",h="[object Map]",v="[object Number]",m="[object Object]",b="[object RegExp]",g="[object Set]",y="[object String]",_="[object Symbol]",w="[object WeakMap]",k="[object ArrayBuffer]",O="[object DataView]",z="[object Float32Array]",x="[object Float64Array]",j="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",M="[object Uint8Array]",C="[object Uint16Array]",T="[object Uint32Array]",P=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,A=/[&<>"']/g,N=RegExp(L.source),I=RegExp(A.source),R=/<%-([\s\S]+?)%>/g,D=/<%([\s\S]+?)%>/g,F=/<%=([\s\S]+?)%>/g,B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,q=RegExp(W.source),K=/^\s+/,Q=/\s/,G=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,J=/[()=,{}\[\]\/\s]/,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,se=/['\n\r\u2028\u2029\\]/g,fe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\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",pe="[\\ud800-\\udfff]",he="["+de+"]",ve="["+fe+"]",me="\\d+",be="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+de+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_e="\\ud83c[\\udffb-\\udfff]",we="[^\\ud800-\\udfff]",ke="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xe="(?:"+ge+"|"+ye+")",je="(?:"+ze+"|"+ye+")",Se="(?:"+ve+"|"+_e+")"+"?",Ee="[\\ufe0e\\ufe0f]?"+Se+("(?:\\u200d(?:"+[we,ke,Oe].join("|")+")[\\ufe0e\\ufe0f]?"+Se+")*"),Me="(?:"+[be,ke,Oe].join("|")+")"+Ee,Ce="(?:"+[we+ve+"?",ve,ke,Oe,pe].join("|")+")",Te=RegExp("['’]","g"),Pe=RegExp(ve,"g"),He=RegExp(_e+"(?="+_e+")|"+Ce+Ee,"g"),Ve=RegExp([ze+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,ze,"$"].join("|")+")",je+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,ze+xe,"$"].join("|")+")",ze+"?"+xe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ze+"+(?:['’](?: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_])",me,Me].join("|"),"g"),Le=RegExp("[\\u200d\\ud800-\\udfff"+fe+"\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ie=-1,Re={};Re[z]=Re[x]=Re[j]=Re[S]=Re[E]=Re[M]=Re["[object Uint8ClampedArray]"]=Re[C]=Re[T]=!0,Re[c]=Re[u]=Re[k]=Re[l]=Re[O]=Re[s]=Re[f]=Re[d]=Re[h]=Re[v]=Re[m]=Re[b]=Re[g]=Re[y]=Re[w]=!1;var De={};De[c]=De[u]=De[k]=De[O]=De[l]=De[s]=De[z]=De[x]=De[j]=De[S]=De[E]=De[h]=De[v]=De[m]=De[b]=De[g]=De[y]=De[_]=De[M]=De["[object Uint8ClampedArray]"]=De[C]=De[T]=!0,De[f]=De[d]=De[w]=!1;var Fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Be=parseFloat,Ue=parseInt,$e="object"==typeof window&&window&&window.Object===Object&&window,We="object"==typeof self&&self&&self.Object===Object&&self,qe=$e||We||Function("return this")(),Ke=t&&!t.nodeType&&t,Qe=Ke&&"object"==typeof e&&e&&!e.nodeType&&e,Ge=Qe&&Qe.exports===Ke,Ze=Ge&&$e.process,Ye=function(){try{var e=Qe&&Qe.require&&Qe.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}(),Xe=Ye&&Ye.isArrayBuffer,Je=Ye&&Ye.isDate,et=Ye&&Ye.isMap,tt=Ye&&Ye.isRegExp,nt=Ye&&Ye.isSet,rt=Ye&&Ye.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function it(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function st(e,t){return!!(null==e?0:e.length)&&_t(e,t,0)>-1}function ft(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=zt("length");function gt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function _t(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):yt(e,kt,n)}function wt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function kt(e){return e!=e}function Ot(e,t){var n=null==e?0:e.length;return n?St(e,t)/n:NaN}function zt(e){return function(t){return null==t?void 0:t[e]}}function xt(e){return function(t){return null==e?void 0:e[t]}}function jt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function St(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Et(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Mt(e){return e?e.slice(0,Kt(e)+1).replace(K,""):e}function Ct(e){return function(t){return e(t)}}function Tt(e,t){return dt(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function Ht(e,t){for(var n=-1,r=e.length;++n<r&&_t(t,e[n],0)>-1;);return n}function Vt(e,t){for(var n=e.length;n--&&_t(t,e[n],0)>-1;);return n}function Lt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var At=xt({"À":"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"}),Nt=xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function It(e){return"\\"+Fe[e]}function Rt(e){return Le.test(e)}function Dt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ft(e,t){return function(n){return e(t(n))}}function Bt(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var c=e[n];c!==t&&c!==i||(e[n]=i,a[o++]=n)}return a}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return Rt(e)?function(e){var t=He.lastIndex=0;for(;He.test(e);)++t;return t}(e):bt(e)}function qt(e){return Rt(e)?function(e){return e.match(He)||[]}(e):function(e){return e.split("")}(e)}function Kt(e){for(var t=e.length;t--&&Q.test(e.charAt(t)););return t}var Qt=xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Gt=function e(t){var n,r=(t=null==t?qe:Gt.defaults(qe.Object(),t,Gt.pick(qe,Ne))).Array,Q=t.Date,fe=t.Error,de=t.Function,pe=t.Math,he=t.Object,ve=t.RegExp,me=t.String,be=t.TypeError,ge=r.prototype,ye=de.prototype,_e=he.prototype,we=t["__core-js_shared__"],ke=ye.toString,Oe=_e.hasOwnProperty,ze=0,xe=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=_e.toString,Se=ke.call(he),Ee=qe._,Me=ve("^"+ke.call(Oe).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ce=Ge?t.Buffer:void 0,He=t.Symbol,Le=t.Uint8Array,Fe=Ce?Ce.allocUnsafe:void 0,$e=Ft(he.getPrototypeOf,he),We=he.create,Ke=_e.propertyIsEnumerable,Qe=ge.splice,Ze=He?He.isConcatSpreadable:void 0,Ye=He?He.iterator:void 0,bt=He?He.toStringTag:void 0,xt=function(){try{var e=ti(he,"defineProperty");return e({},"",{}),e}catch(t){}}(),Zt=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Yt=Q&&Q.now!==qe.Date.now&&Q.now,Xt=t.setTimeout!==qe.setTimeout&&t.setTimeout,Jt=pe.ceil,en=pe.floor,tn=he.getOwnPropertySymbols,nn=Ce?Ce.isBuffer:void 0,rn=t.isFinite,on=ge.join,an=Ft(he.keys,he),cn=pe.max,un=pe.min,ln=Q.now,sn=t.parseInt,fn=pe.random,dn=ge.reverse,pn=ti(t,"DataView"),hn=ti(t,"Map"),vn=ti(t,"Promise"),mn=ti(t,"Set"),bn=ti(t,"WeakMap"),gn=ti(he,"create"),yn=bn&&new bn,_n={},wn=Ei(pn),kn=Ei(hn),On=Ei(vn),zn=Ei(mn),xn=Ei(bn),jn=He?He.prototype:void 0,Sn=jn?jn.valueOf:void 0,En=jn?jn.toString:void 0;function Mn(e){if(Wa(e)&&!Va(e)&&!(e instanceof Hn)){if(e instanceof Pn)return e;if(Oe.call(e,"__wrapped__"))return Mi(e)}return new Pn(e)}var Cn=function(){function e(){}return function(t){if(!$a(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Tn(){}function Pn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function An(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new An;++t<n;)this.add(e[t])}function In(e){var t=this.__data__=new Ln(e);this.size=t.size}function Rn(e,t){var n=Va(e),r=!n&&Ha(e),o=!n&&!r&&Ia(e),i=!n&&!r&&!o&&Ja(e),a=n||r||o||i,c=a?Et(e.length,me):[],u=c.length;for(var l in e)!t&&!Oe.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ui(l,u))||c.push(l);return c}function Dn(e){var t=e.length;return t?e[Nr(0,t-1)]:void 0}function Fn(e,t){return xi(yo(e),Zn(t,0,e.length))}function Bn(e){return xi(yo(e))}function Un(e,t,n){(void 0!==n&&!Ca(e[t],n)||void 0===n&&!(t in e))&&Qn(e,t,n)}function $n(e,t,n){var r=e[t];Oe.call(e,t)&&Ca(r,n)&&(void 0!==n||t in e)||Qn(e,t,n)}function Wn(e,t){for(var n=e.length;n--;)if(Ca(e[n][0],t))return n;return-1}function qn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Kn(e,t){return e&&_o(t,wc(t),e)}function Qn(e,t,n){"__proto__"==t&&xt?xt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:mc(e,t[n]);return i}function Zn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Yn(e,t,n,r,o,i){var a,u=1&t,f=2&t,w=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var P=Va(e);if(P){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Oe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return yo(e,a)}else{var H=oi(e),V=H==d||H==p;if(Ia(e))return po(e,u);if(H==m||H==c||V&&!o){if(a=f||V?{}:ai(e),!u)return f?function(e,t){return _o(e,ri(e),t)}(e,function(e,t){return e&&_o(t,kc(t),e)}(a,e)):function(e,t){return _o(e,ni(e),t)}(e,Kn(a,e))}else{if(!De[H])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case k:return ho(e);case l:case s:return new r(+e);case O:return function(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case z:case x:case j:case S:case E:case M:case"[object Uint8ClampedArray]":case C:case T:return vo(e,n);case h:return new r;case v:case y:return new r(e);case b:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case _:return o=e,Sn?he(Sn.call(o)):{}}var o}(e,H,u)}}i||(i=new In);var L=i.get(e);if(L)return L;i.set(e,a),Za(e)?e.forEach((function(r){a.add(Yn(r,t,n,r,e,i))})):qa(e)&&e.forEach((function(r,o){a.set(o,Yn(r,t,n,o,e,i))}));var A=P?void 0:(w?f?Qo:Ko:f?kc:wc)(e);return at(A||e,(function(r,o){A&&(r=e[o=r]),$n(a,o,Yn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Jn(e,t,n){if("function"!=typeof e)throw new be(o);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=st,a=!0,c=e.length,u=[],l=t.length;if(!c)return u;n&&(t=dt(t,Ct(n))),r?(i=ft,a=!1):t.length>=200&&(i=Pt,a=!1,t=new Nn(t));e:for(;++o<c;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;u.push(s)}else i(t,f,r)||u.push(s)}return u}Mn.templateSettings={escape:R,evaluate:D,interpolate:F,variable:"",imports:{_:Mn}},Mn.prototype=Tn.prototype,Mn.prototype.constructor=Mn,Pn.prototype=Cn(Tn.prototype),Pn.prototype.constructor=Pn,Hn.prototype=Cn(Tn.prototype),Hn.prototype.constructor=Hn,Vn.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},Vn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Vn.prototype.get=function(e){var t=this.__data__;if(gn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Oe.call(t,e)?t[e]:void 0},Vn.prototype.has=function(e){var t=this.__data__;return gn?void 0!==t[e]:Oe.call(t,e)},Vn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gn&&void 0===t?"__lodash_hash_undefined__":t,this},Ln.prototype.clear=function(){this.__data__=[],this.size=0},Ln.prototype.delete=function(e){var t=this.__data__,n=Wn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},Ln.prototype.get=function(e){var t=this.__data__,n=Wn(t,e);return n<0?void 0:t[n][1]},Ln.prototype.has=function(e){return Wn(this.__data__,e)>-1},Ln.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},An.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(hn||Ln),string:new Vn}},An.prototype.delete=function(e){var t=Jo(this,e).delete(e);return this.size-=t?1:0,t},An.prototype.get=function(e){return Jo(this,e).get(e)},An.prototype.has=function(e){return Jo(this,e).has(e)},An.prototype.set=function(e,t){var n=Jo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Nn.prototype.add=Nn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(e){return this.__data__.has(e)},In.prototype.clear=function(){this.__data__=new Ln,this.size=0},In.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},In.prototype.get=function(e){return this.__data__.get(e)},In.prototype.has=function(e){return this.__data__.has(e)},In.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ln){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new An(r)}return n.set(e,t),this.size=n.size,this};var tr=Oo(lr),nr=Oo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Xa(a):n(a,c)))var c=a,u=i}return u}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ar(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ci),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ar(c,t-1,n,r,o):pt(o,c):r||(o[o.length]=c)}return o}var cr=zo(),ur=zo(!0);function lr(e,t){return e&&cr(e,t,wc)}function sr(e,t){return e&&ur(e,t,wc)}function fr(e,t){return lt(t,(function(t){return Fa(e[t])}))}function dr(e,t){for(var n=0,r=(t=uo(t,e)).length;null!=e&&n<r;)e=e[Si(t[n++])];return n&&n==r?e:void 0}function pr(e,t,n){var r=t(e);return Va(e)?r:pt(r,n(e))}function hr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":bt&&bt in he(e)?function(e){var t=Oe.call(e,bt),n=e[bt];try{e[bt]=void 0;var r=!0}catch(i){}var o=je.call(e);r&&(t?e[bt]=n:delete e[bt]);return o}(e):function(e){return je.call(e)}(e)}function vr(e,t){return e>t}function mr(e,t){return null!=e&&Oe.call(e,t)}function br(e,t){return null!=e&&t in he(e)}function gr(e,t,n){for(var o=n?ft:st,i=e[0].length,a=e.length,c=a,u=r(a),l=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,Ct(t))),l=un(f.length,l),u[c]=!n&&(t||i>=120&&f.length>=120)?new Nn(c&&f):void 0}f=e[0];var d=-1,p=u[0];e:for(;++d<i&&s.length<l;){var h=f[d],v=t?t(h):h;if(h=n||0!==h?h:0,!(p?Pt(p,v):o(s,v,n))){for(c=a;--c;){var m=u[c];if(!(m?Pt(m,v):o(e[c],v,n)))continue e}p&&p.push(v),s.push(h)}}return s}function yr(e,t,n){var r=null==(e=bi(e,t=uo(t,e)))?e:e[Si(Di(t))];return null==r?void 0:ot(r,e,n)}function _r(e){return Wa(e)&&hr(e)==c}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!Wa(e)&&!Wa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Va(e),d=Va(t),p=a?u:oi(e),w=d?u:oi(t),z=(p=p==c?m:p)==m,x=(w=w==c?m:w)==m,j=p==w;if(j&&Ia(e)){if(!Ia(t))return!1;a=!0,z=!1}if(j&&!z)return i||(i=new In),a||Ja(e)?Wo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!i(new Le(e),new Le(t)));case l:case s:case v:return Ca(+e,+t);case f:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case h:var c=Dt;case g:var u=1&r;if(c||(c=Ut),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var p=Wo(c(e),c(t),r,o,i,a);return a.delete(e),p;case _:if(Sn)return Sn.call(e)==Sn.call(t)}return!1}(e,t,p,n,r,o,i);if(!(1&n)){var S=z&&Oe.call(e,"__wrapped__"),E=x&&Oe.call(t,"__wrapped__");if(S||E){var M=S?e.value():e,C=E?t.value():t;return i||(i=new In),o(M,C,n,r,i)}}if(!j)return!1;return i||(i=new In),function(e,t,n,r,o,i){var a=1&n,c=Ko(e),u=c.length,l=Ko(t).length;if(u!=l&&!a)return!1;var s=u;for(;s--;){var f=c[s];if(!(a?f in t:Oe.call(t,f)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);var v=a;for(;++s<u;){f=c[s];var m=e[f],b=t[f];if(r)var g=a?r(b,m,f,t,e,i):r(m,b,f,e,t,i);if(!(void 0===g?m===b||o(m,b,n,r,i):g)){h=!1;break}v||(v="constructor"==f)}if(h&&!v){var y=e.constructor,_=t.constructor;y==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function kr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=he(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var u=(c=n[o])[0],l=e[u],s=c[1];if(a&&c[2]){if(void 0===l&&!(u in e))return!1}else{var f=new In;if(r)var d=r(l,s,u,e,t,f);if(!(void 0===d?wr(s,l,3,r,f):d))return!1}}return!0}function Or(e){return!(!$a(e)||(t=e,xe&&xe in t))&&(Fa(e)?Me:ie).test(Ei(e));var t}function zr(e){return"function"==typeof e?e:null==e?Kc:"object"==typeof e?Va(e)?Cr(e[0],e[1]):Mr(e):nu(e)}function xr(e){if(!pi(e))return an(e);var t=[];for(var n in he(e))Oe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function jr(e){if(!$a(e))return function(e){var t=[];if(null!=e)for(var n in he(e))t.push(n);return t}(e);var t=pi(e),n=[];for(var r in e)("constructor"!=r||!t&&Oe.call(e,r))&&n.push(r);return n}function Sr(e,t){return e<t}function Er(e,t){var n=-1,o=Aa(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Mr(e){var t=ei(e);return 1==t.length&&t[0][2]?vi(t[0][0],t[0][1]):function(n){return n===e||kr(n,e,t)}}function Cr(e,t){return si(e)&&hi(t)?vi(Si(e),t):function(n){var r=mc(n,e);return void 0===r&&r===t?bc(n,e):wr(t,r,3)}}function Tr(e,t,n,r,o){e!==t&&cr(t,(function(i,a){if(o||(o=new In),$a(i))!function(e,t,n,r,o,i,a){var c=yi(e,n),u=yi(t,n),l=a.get(u);if(l)return void Un(e,n,l);var s=i?i(c,u,n+"",e,t,a):void 0,f=void 0===s;if(f){var d=Va(u),p=!d&&Ia(u),h=!d&&!p&&Ja(u);s=u,d||p||h?Va(c)?s=c:Na(c)?s=yo(c):p?(f=!1,s=po(u,!0)):h?(f=!1,s=vo(u,!0)):s=[]:Qa(u)||Ha(u)?(s=c,Ha(c)?s=cc(c):$a(c)&&!Fa(c)||(s=ai(u))):f=!1}f&&(a.set(u,s),o(s,u,r,i,a),a.delete(u));Un(e,n,s)}(e,t,a,n,Tr,r,o);else{var c=r?r(yi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Un(e,a,c)}}),kc)}function Pr(e,t){var n=e.length;if(n)return ui(t+=t<0?n:0,n)?e[t]:void 0}function Hr(e,t,n){t=t.length?dt(t,(function(e){return Va(e)?function(t){return dr(t,1===e.length?e[0]:e)}:e})):[Kc];var r=-1;return t=dt(t,Ct(Xo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Er(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var u=mo(o[r],i[r]);if(u){if(r>=c)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Vr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=dr(e,a);n(c,a)&&Br(i,uo(a,e),c)}return i}function Lr(e,t,n,r){var o=r?wt:_t,i=-1,a=t.length,c=e;for(e===t&&(t=yo(t)),n&&(c=dt(e,Ct(n)));++i<a;)for(var u=0,l=t[i],s=n?n(l):l;(u=o(c,s,u,r))>-1;)c!==e&&Qe.call(c,u,1),Qe.call(e,u,1);return e}function Ar(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ui(o)?Qe.call(e,o,1):eo(e,o)}}return e}function Nr(e,t){return e+en(fn()*(t-e+1))}function Ir(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Rr(e,t){return ki(mi(e,t,Kc),e+"")}function Dr(e){return Dn(Cc(e))}function Fr(e,t){var n=Cc(e);return xi(n,Zn(t,0,n.length))}function Br(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=uo(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var u=Si(t[o]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=a){var s=c[u];void 0===(l=r?r(s,u,c):void 0)&&(l=$a(s)?s:ui(t[o+1])?[]:{})}$n(c,u,l),c=c[u]}return e}var Ur=yn?function(e,t){return yn.set(e,t),e}:Kc,$r=xt?function(e,t){return xt(e,"toString",{configurable:!0,enumerable:!1,value:$c(t),writable:!0})}:Kc;function Wr(e){return xi(Cc(e))}function qr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Kr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Qr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Gr(e,t,Kc,n)}function Gr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,u=Xa(t),l=void 0===t;o<i;){var s=en((o+i)/2),f=n(e[s]),d=void 0!==f,p=null===f,h=f==f,v=Xa(f);if(a)var m=r||h;else m=l?h&&(r||d):c?h&&d&&(r||!p):u?h&&d&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);m?o=s+1:i=s}return un(i,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ca(c,u)){var u=c;i[o++]=0===a?0:a}}return i}function Yr(e){return"number"==typeof e?e:Xa(e)?NaN:+e}function Xr(e){if("string"==typeof e)return e;if(Va(e))return dt(e,Xr)+"";if(Xa(e))return En?En.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Jr(e,t,n){var r=-1,o=st,i=e.length,a=!0,c=[],u=c;if(n)a=!1,o=ft;else if(i>=200){var l=t?null:Ro(e);if(l)return Ut(l);a=!1,o=Pt,u=new Nn}else u=t?[]:c;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),c.push(s)}else o(u,f,n)||(u!==c&&u.push(f),c.push(s))}return c}function eo(e,t){return null==(e=bi(e,t=uo(t,e)))||delete e[Si(Di(t))]}function to(e,t,n,r){return Br(e,t,n(dr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?qr(e,r?0:i,r?i+1:o):qr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof Hn&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Jr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],u=-1;++u<o;)u!=i&&(a[i]=er(a[i]||c,e[u],t,n));return Jr(ar(a,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function ao(e){return Na(e)?e:[]}function co(e){return"function"==typeof e?e:Kc}function uo(e,t){return Va(e)?e:si(e,t)?[e]:ji(uc(e))}var lo=Rr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:qr(e,t,n)}var fo=Zt||function(e){return qe.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function ho(e){var t=new e.constructor(e.byteLength);return new Le(t).set(new Le(e)),t}function vo(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function mo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,c=null===t,u=t==t,l=Xa(t);if(!c&&!l&&!i&&e>t||i&&a&&u&&!c&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!u)return-1}return 0}function bo(e,t,n,o){for(var i=-1,a=e.length,c=n.length,u=-1,l=t.length,s=cn(a-c,0),f=r(l+s),d=!o;++u<l;)f[u]=t[u];for(;++i<c;)(d||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[u++]=e[i++];return f}function go(e,t,n,o){for(var i=-1,a=e.length,c=-1,u=n.length,l=-1,s=t.length,f=cn(a-u,0),d=r(f+s),p=!o;++i<f;)d[i]=e[i];for(var h=i;++l<s;)d[h+l]=t[l];for(;++c<u;)(p||i<a)&&(d[h+n[c]]=e[i++]);return d}function yo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function _o(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),o?Qn(n,c,u):$n(n,c,u)}return n}function wo(e,t){return function(n,r){var o=Va(n)?it:qn,i=t?t():{};return o(n,e,Xo(r,2),i)}}function ko(e){return Rr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&li(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=he(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function Oo(e,t){return function(n,r){if(null==n)return n;if(!Aa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=he(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function zo(e){return function(t,n,r){for(var o=-1,i=he(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(!1===n(i[u],u,i))break}return t}}function xo(e){return function(t){var n=Rt(t=uc(t))?qt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function jo(e){return function(t){return ht(Fc(Hc(t).replace(Te,"")),e,"")}}function So(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Cn(e.prototype),r=e.apply(n,t);return $a(r)?r:n}}function Eo(e){return function(t,n,r){var o=he(t);if(!Aa(t)){var i=Xo(n,3);t=wc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Mo(e){return qo((function(t){var n=t.length,r=n,i=Pn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new be(o);if(i&&!c&&"wrapper"==Zo(a))var c=new Pn([],!0)}for(r=c?r:n;++r<n;){var u=Zo(a=t[r]),l="wrapper"==u?Go(a):void 0;c=l&&fi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[Zo(l[0])].apply(c,l[3]):1==a.length&&fi(a)?c[u]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Va(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Co(e,t,n,o,i,a,c,u,l,s){var f=128&t,d=1&t,p=2&t,h=24&t,v=512&t,m=p?void 0:So(e);return function b(){for(var g=arguments.length,y=r(g),_=g;_--;)y[_]=arguments[_];if(h)var w=Yo(b),k=Lt(y,w);if(o&&(y=bo(y,o,i,h)),a&&(y=go(y,a,c,h)),g-=k,h&&g<s){var O=Bt(y,w);return No(e,t,Co,b.placeholder,n,y,O,u,l,s-g)}var z=d?n:this,x=p?z[e]:e;return g=y.length,u?y=gi(y,u):v&&g>1&&y.reverse(),f&&l<g&&(y.length=l),this&&this!==qe&&this instanceof b&&(x=m||So(x)),x.apply(z,y)}}function To(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Po(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Xr(n),r=Xr(r)):(n=Yr(n),r=Yr(r)),o=e(n,r)}return o}}function Ho(e){return qo((function(t){return t=dt(t,Ct(Xo())),Rr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Vo(e,t){var n=(t=void 0===t?" ":Xr(t)).length;if(n<2)return n?Ir(t,e):t;var r=Ir(t,Jt(e/Wt(t)));return Rt(t)?so(qt(r),0,e).join(""):r.slice(0,e)}function Lo(e){return function(t,n,o){return o&&"number"!=typeof o&&li(t,n,o)&&(n=o=void 0),t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n,o){for(var i=-1,a=cn(Jt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:rc(o),e)}}function Ao(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ac(t),n=ac(n)),e(t,n)}}function No(e,t,n,r,o,i,a,c,u,l){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,c,u,l],d=n.apply(void 0,f);return fi(e)&&_i(d,f),d.placeholder=r,Oi(d,e,t)}function Io(e){var t=pe[e];return function(e,n){if(e=ac(e),(n=null==n?0:un(oc(n),292))&&rn(e)){var r=(uc(e)+"e").split("e");return+((r=(uc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ro=mn&&1/Ut(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Xc;function Do(e){return function(t){var n=oi(t);return n==h?Dt(t):n==g?$t(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Fo(e,t,n,a,c,u,l,s){var f=2&t;if(!f&&"function"!=typeof e)throw new be(o);var d=a?a.length:0;if(d||(t&=-97,a=c=void 0),l=void 0===l?l:cn(oc(l),0),s=void 0===s?s:oc(s),d-=c?c.length:0,64&t){var p=a,h=c;a=c=void 0}var v=f?void 0:Go(e),m=[e,t,n,a,c,p,h,u,l,s];if(v&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?bo(l,u,t[4]):u,e[4]=l?Bt(e[3],i):t[4]}(u=t[5])&&(l=e[5],e[5]=l?go(l,u,t[6]):u,e[6]=l?Bt(e[5],i):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:un(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(m,v),e=m[0],t=m[1],n=m[2],a=m[3],c=m[4],!(s=m[9]=void 0===m[9]?f?0:e.length:cn(m[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var o=So(e);return function i(){for(var a=arguments.length,c=r(a),u=a,l=Yo(i);u--;)c[u]=arguments[u];var s=a<3&&c[0]!==l&&c[a-1]!==l?[]:Bt(c,l);if((a-=s.length)<n)return No(e,t,Co,i.placeholder,void 0,c,s,void 0,void 0,n-a);var f=this&&this!==qe&&this instanceof i?o:e;return ot(f,this,c)}}(e,t,s):32!=t&&33!=t||c.length?Co.apply(void 0,m):function(e,t,n,o){var i=1&t,a=So(e);return function t(){for(var c=-1,u=arguments.length,l=-1,s=o.length,f=r(s+u),d=this&&this!==qe&&this instanceof t?a:e;++l<s;)f[l]=o[l];for(;u--;)f[l++]=arguments[++c];return ot(d,i?n:this,f)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=So(e);return function t(){var i=this&&this!==qe&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return Oi((v?Ur:_i)(b,m),e,t)}function Bo(e,t,n,r){return void 0===e||Ca(e,_e[n])&&!Oe.call(r,n)?t:e}function Uo(e,t,n,r,o,i){return $a(e)&&$a(t)&&(i.set(t,e),Tr(e,t,void 0,Uo,i),i.delete(t)),e}function $o(e){return Qa(e)?void 0:e}function Wo(e,t,n,r,o,i){var a=1&n,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var l=i.get(e),s=i.get(t);if(l&&s)return l==t&&s==e;var f=-1,d=!0,p=2&n?new Nn:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var h=e[f],v=t[f];if(r)var m=a?r(v,h,f,t,e,i):r(h,v,f,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!mt(t,(function(e,t){if(!Pt(p,t)&&(h===e||o(h,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(h!==v&&!o(h,v,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function qo(e){return ki(mi(e,void 0,Li),e+"")}function Ko(e){return pr(e,wc,ni)}function Qo(e){return pr(e,kc,ri)}var Go=yn?function(e){return yn.get(e)}:Xc;function Zo(e){for(var t=e.name+"",n=_n[t],r=Oe.call(_n,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Yo(e){return(Oe.call(Mn,"placeholder")?Mn:e).placeholder}function Xo(){var e=Mn.iteratee||Qc;return e=e===Qc?zr:e,arguments.length?e(arguments[0],arguments[1]):e}function Jo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,hi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Or(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=he(e),lt(tn(e),(function(t){return Ke.call(e,t)})))}:iu,ri=tn?function(e){for(var t=[];e;)pt(t,ni(e)),e=$e(e);return t}:iu,oi=hr;function ii(e,t,n){for(var r=-1,o=(t=uo(t,e)).length,i=!1;++r<o;){var a=Si(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ua(o)&&ui(a,o)&&(Va(e)||Ha(e))}function ai(e){return"function"!=typeof e.constructor||pi(e)?{}:Cn($e(e))}function ci(e){return Va(e)||Ha(e)||!!(Ze&&e&&e[Ze])}function ui(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t}function li(e,t,n){if(!$a(n))return!1;var r=typeof t;return!!("number"==r?Aa(n)&&ui(t,n.length):"string"==r&&t in n)&&Ca(n[t],e)}function si(e,t){if(Va(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Xa(e))||(U.test(e)||!B.test(e)||null!=t&&e in he(t))}function fi(e){var t=Zo(e),n=Mn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var r=Go(n);return!!r&&e===r[0]}(pn&&oi(new pn(new ArrayBuffer(1)))!=O||hn&&oi(new hn)!=h||vn&&"[object Promise]"!=oi(vn.resolve())||mn&&oi(new mn)!=g||bn&&oi(new bn)!=w)&&(oi=function(e){var t=hr(e),n=t==m?e.constructor:void 0,r=n?Ei(n):"";if(r)switch(r){case wn:return O;case kn:return h;case On:return"[object Promise]";case zn:return g;case xn:return w}return t});var di=we?Fa:au;function pi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function hi(e){return e==e&&!$a(e)}function vi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in he(n)))}}function mi(e,t,n){return t=cn(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=cn(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(c),ot(e,this,u)}}function bi(e,t){return t.length<2?e:dr(e,qr(t,0,-1))}function gi(e,t){for(var n=e.length,r=un(t.length,n),o=yo(e);r--;){var i=t[r];e[r]=ui(i,n)?o[i]:void 0}return e}function yi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _i=zi(Ur),wi=Xt||function(e,t){return qe.setTimeout(e,t)},ki=zi($r);function Oi(e,t,n){var r=t+"";return ki(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(G,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!st(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split(Y):[]}(r),n)))}function zi(e){var t=0,n=0;return function(){var r=ln(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function xi(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Nr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var ji=function(e){var t=za(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace($,(function(e,n,r,o){t.push(r?o.replace(ee,"$1"):n||e)})),t}));function Si(e){if("string"==typeof e||Xa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ei(e){if(null!=e){try{return ke.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Mi(e){if(e instanceof Hn)return e.clone();var t=new Pn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ci=Rr((function(e,t){return Na(e)?er(e,ar(t,1,Na,!0)):[]})),Ti=Rr((function(e,t){var n=Di(t);return Na(n)&&(n=void 0),Na(e)?er(e,ar(t,1,Na,!0),Xo(n,2)):[]})),Pi=Rr((function(e,t){var n=Di(t);return Na(n)&&(n=void 0),Na(e)?er(e,ar(t,1,Na,!0),void 0,n):[]}));function Hi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),yt(e,Xo(t,3),o)}function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=oc(n),o=n<0?cn(r+o,0):un(o,r-1)),yt(e,Xo(t,3),o,!0)}function Li(e){return(null==e?0:e.length)?ar(e,1):[]}function Ai(e){return e&&e.length?e[0]:void 0}var Ni=Rr((function(e){var t=dt(e,ao);return t.length&&t[0]===e[0]?gr(t):[]})),Ii=Rr((function(e){var t=Di(e),n=dt(e,ao);return t===Di(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?gr(n,Xo(t,2)):[]})),Ri=Rr((function(e){var t=Di(e),n=dt(e,ao);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?gr(n,void 0,t):[]}));function Di(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Fi=Rr(Bi);function Bi(e,t){return e&&e.length&&t&&t.length?Lr(e,t):e}var Ui=qo((function(e,t){var n=null==e?0:e.length,r=Gn(e,t);return Ar(e,dt(t,(function(e){return ui(e,n)?+e:e})).sort(mo)),r}));function $i(e){return null==e?e:dn.call(e)}var Wi=Rr((function(e){return Jr(ar(e,1,Na,!0))})),qi=Rr((function(e){var t=Di(e);return Na(t)&&(t=void 0),Jr(ar(e,1,Na,!0),Xo(t,2))})),Ki=Rr((function(e){var t=Di(e);return t="function"==typeof t?t:void 0,Jr(ar(e,1,Na,!0),void 0,t)}));function Qi(e){if(!e||!e.length)return[];var t=0;return e=lt(e,(function(e){if(Na(e))return t=cn(e.length,t),!0})),Et(t,(function(t){return dt(e,zt(t))}))}function Gi(e,t){if(!e||!e.length)return[];var n=Qi(e);return null==t?n:dt(n,(function(e){return ot(t,void 0,e)}))}var Zi=Rr((function(e,t){return Na(e)?er(e,t):[]})),Yi=Rr((function(e){return oo(lt(e,Na))})),Xi=Rr((function(e){var t=Di(e);return Na(t)&&(t=void 0),oo(lt(e,Na),Xo(t,2))})),Ji=Rr((function(e){var t=Di(e);return t="function"==typeof t?t:void 0,oo(lt(e,Na),void 0,t)})),ea=Rr(Qi);var ta=Rr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Gi(e,n)}));function na(e){var t=Mn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=qo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Hn&&ui(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new Pn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ia=wo((function(e,t,n){Oe.call(e,n)?++e[n]:Qn(e,n,1)}));var aa=Eo(Hi),ca=Eo(Vi);function ua(e,t){return(Va(e)?at:tr)(e,Xo(t,3))}function la(e,t){return(Va(e)?ct:nr)(e,Xo(t,3))}var sa=wo((function(e,t,n){Oe.call(e,n)?e[n].push(t):Qn(e,n,[t])}));var fa=Rr((function(e,t,n){var o=-1,i="function"==typeof t,a=Aa(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?ot(t,e,n):yr(e,t,n)})),a})),da=wo((function(e,t,n){Qn(e,n,t)}));function pa(e,t){return(Va(e)?dt:Er)(e,Xo(t,3))}var ha=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var va=Rr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,ar(t,1),[])})),ma=Yt||function(){return qe.Date.now()};function ba(e,t,n){return t=n?void 0:t,Fo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ga(e,t){var n;if("function"!=typeof t)throw new be(o);return e=oc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=Rr((function(e,t,n){var r=1;if(n.length){var o=Bt(n,Yo(ya));r|=32}return Fo(e,r,t,n,o)})),_a=Rr((function(e,t,n){var r=3;if(n.length){var o=Bt(n,Yo(_a));r|=32}return Fo(t,r,e,n,o)}));function wa(e,t,n){var r,i,a,c,u,l,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new be(o);function h(t){var n=r,o=i;return r=i=void 0,s=t,c=e.apply(o,n)}function v(e){return s=e,u=wi(b,t),f?h(e):c}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-s>=a}function b(){var e=ma();if(m(e))return g(e);u=wi(b,function(e){var n=t-(e-l);return d?un(n,a-(e-s)):n}(e))}function g(e){return u=void 0,p&&r?h(e):(r=i=void 0,c)}function y(){var e=ma(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===u)return v(l);if(d)return fo(u),u=wi(b,t),h(l)}return void 0===u&&(u=wi(b,t)),c}return t=ac(t)||0,$a(n)&&(f=!!n.leading,a=(d="maxWait"in n)?cn(ac(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==u&&fo(u),s=0,r=l=i=u=void 0},y.flush=function(){return void 0===u?c:g(ma())},y}var ka=Rr((function(e,t){return Jn(e,1,t)})),Oa=Rr((function(e,t,n){return Jn(e,ac(t)||0,n)}));function za(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new be(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(za.Cache||An),n}function xa(e){if("function"!=typeof e)throw new be(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}za.Cache=An;var ja=lo((function(e,t){var n=(t=1==t.length&&Va(t[0])?dt(t[0],Ct(Xo())):dt(ar(t,1),Ct(Xo()))).length;return Rr((function(r){for(var o=-1,i=un(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return ot(e,this,r)}))})),Sa=Rr((function(e,t){return Fo(e,32,void 0,t,Bt(t,Yo(Sa)))})),Ea=Rr((function(e,t){return Fo(e,64,void 0,t,Bt(t,Yo(Ea)))})),Ma=qo((function(e,t){return Fo(e,256,void 0,void 0,void 0,t)}));function Ca(e,t){return e===t||e!=e&&t!=t}var Ta=Ao(vr),Pa=Ao((function(e,t){return e>=t})),Ha=_r(function(){return arguments}())?_r:function(e){return Wa(e)&&Oe.call(e,"callee")&&!Ke.call(e,"callee")},Va=r.isArray,La=Xe?Ct(Xe):function(e){return Wa(e)&&hr(e)==k};function Aa(e){return null!=e&&Ua(e.length)&&!Fa(e)}function Na(e){return Wa(e)&&Aa(e)}var Ia=nn||au,Ra=Je?Ct(Je):function(e){return Wa(e)&&hr(e)==s};function Da(e){if(!Wa(e))return!1;var t=hr(e);return t==f||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Qa(e)}function Fa(e){if(!$a(e))return!1;var t=hr(e);return t==d||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ba(e){return"number"==typeof e&&e==oc(e)}function Ua(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var qa=et?Ct(et):function(e){return Wa(e)&&oi(e)==h};function Ka(e){return"number"==typeof e||Wa(e)&&hr(e)==v}function Qa(e){if(!Wa(e)||hr(e)!=m)return!1;var t=$e(e);if(null===t)return!0;var n=Oe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Se}var Ga=tt?Ct(tt):function(e){return Wa(e)&&hr(e)==b};var Za=nt?Ct(nt):function(e){return Wa(e)&&oi(e)==g};function Ya(e){return"string"==typeof e||!Va(e)&&Wa(e)&&hr(e)==y}function Xa(e){return"symbol"==typeof e||Wa(e)&&hr(e)==_}var Ja=rt?Ct(rt):function(e){return Wa(e)&&Ua(e.length)&&!!Re[hr(e)]};var ec=Ao(Sr),tc=Ao((function(e,t){return e<=t}));function nc(e){if(!e)return[];if(Aa(e))return Ya(e)?qt(e):yo(e);if(Ye&&e[Ye])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ye]());var t=oi(e);return(t==h?Dt:t==g?Ut:Cc)(e)}function rc(e){return e?(e=ac(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oc(e){var t=rc(e),n=t%1;return t==t?n?t-n:t:0}function ic(e){return e?Zn(oc(e),0,4294967295):0}function ac(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Mt(e);var n=oe.test(e);return n||ae.test(e)?Ue(e.slice(2),n?2:8):re.test(e)?NaN:+e}function cc(e){return _o(e,kc(e))}function uc(e){return null==e?"":Xr(e)}var lc=ko((function(e,t){if(pi(t)||Aa(t))_o(t,wc(t),e);else for(var n in t)Oe.call(t,n)&&$n(e,n,t[n])})),sc=ko((function(e,t){_o(t,kc(t),e)})),fc=ko((function(e,t,n,r){_o(t,kc(t),e,r)})),dc=ko((function(e,t,n,r){_o(t,wc(t),e,r)})),pc=qo(Gn);var hc=Rr((function(e,t){e=he(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&li(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=kc(i),c=-1,u=a.length;++c<u;){var l=a[c],s=e[l];(void 0===s||Ca(s,_e[l])&&!Oe.call(e,l))&&(e[l]=i[l])}return e})),vc=Rr((function(e){return e.push(void 0,Uo),ot(zc,void 0,e)}));function mc(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function bc(e,t){return null!=e&&ii(e,t,br)}var gc=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),e[t]=n}),$c(Kc)),yc=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),Oe.call(e,t)?e[t].push(n):e[t]=[n]}),Xo),_c=Rr(yr);function wc(e){return Aa(e)?Rn(e):xr(e)}function kc(e){return Aa(e)?Rn(e,!0):jr(e)}var Oc=ko((function(e,t,n){Tr(e,t,n)})),zc=ko((function(e,t,n,r){Tr(e,t,n,r)})),xc=qo((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=uo(t,e),r||(r=t.length>1),t})),_o(e,Qo(e),n),r&&(n=Yn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var jc=qo((function(e,t){return null==e?{}:function(e,t){return Vr(e,t,(function(t,n){return bc(e,n)}))}(e,t)}));function Sc(e,t){if(null==e)return{};var n=dt(Qo(e),(function(e){return[e]}));return t=Xo(t),Vr(e,n,(function(e,n){return t(e,n[0])}))}var Ec=Do(wc),Mc=Do(kc);function Cc(e){return null==e?[]:Tt(e,wc(e))}var Tc=jo((function(e,t,n){return t=t.toLowerCase(),e+(n?Pc(t):t)}));function Pc(e){return Dc(uc(e).toLowerCase())}function Hc(e){return(e=uc(e))&&e.replace(ue,At).replace(Pe,"")}var Vc=jo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Lc=jo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ac=xo("toLowerCase");var Nc=jo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ic=jo((function(e,t,n){return e+(n?" ":"")+Dc(t)}));var Rc=jo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Dc=xo("toUpperCase");function Fc(e,t,n){return e=uc(e),void 0===(t=n?void 0:t)?function(e){return Ae.test(e)}(e)?function(e){return e.match(Ve)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Bc=Rr((function(e,t){try{return ot(e,void 0,t)}catch(n){return Da(n)?n:new fe(n)}})),Uc=qo((function(e,t){return at(t,(function(t){t=Si(t),Qn(e,t,ya(e[t],e))})),e}));function $c(e){return function(){return e}}var Wc=Mo(),qc=Mo(!0);function Kc(e){return e}function Qc(e){return zr("function"==typeof e?e:Yn(e,1))}var Gc=Rr((function(e,t){return function(n){return yr(n,e,t)}})),Zc=Rr((function(e,t){return function(n){return yr(e,n,t)}}));function Yc(e,t,n){var r=wc(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,wc(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Fa(e);return at(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Xc(){}var Jc=Ho(dt),eu=Ho(ut),tu=Ho(mt);function nu(e){return si(e)?zt(Si(e)):function(e){return function(t){return dr(t,e)}}(e)}var ru=Lo(),ou=Lo(!0);function iu(){return[]}function au(){return!1}var cu=Po((function(e,t){return e+t}),0),uu=Io("ceil"),lu=Po((function(e,t){return e/t}),1),su=Io("floor");var fu,du=Po((function(e,t){return e*t}),1),pu=Io("round"),hu=Po((function(e,t){return e-t}),0);return Mn.after=function(e,t){if("function"!=typeof t)throw new be(o);return e=oc(e),function(){if(--e<1)return t.apply(this,arguments)}},Mn.ary=ba,Mn.assign=lc,Mn.assignIn=sc,Mn.assignInWith=fc,Mn.assignWith=dc,Mn.at=pc,Mn.before=ga,Mn.bind=ya,Mn.bindAll=Uc,Mn.bindKey=_a,Mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Mn.chain=na,Mn.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:cn(oc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Jt(o/t));i<o;)c[a++]=qr(e,i,i+=t);return c},Mn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Mn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return pt(Va(n)?yo(n):[n],ar(t,1))},Mn.cond=function(e){var t=null==e?0:e.length,n=Xo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new be(o);return[n(e[0]),e[1]]})):[],Rr((function(n){for(var r=-1;++r<t;){var o=e[r];if(ot(o[0],this,n))return ot(o[1],this,n)}}))},Mn.conforms=function(e){return function(e){var t=wc(e);return function(n){return Xn(n,e,t)}}(Yn(e,1))},Mn.constant=$c,Mn.countBy=ia,Mn.create=function(e,t){var n=Cn(e);return null==t?n:Kn(n,t)},Mn.curry=function e(t,n,r){var o=Fo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Mn.curryRight=function e(t,n,r){var o=Fo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Mn.debounce=wa,Mn.defaults=hc,Mn.defaultsDeep=vc,Mn.defer=ka,Mn.delay=Oa,Mn.difference=Ci,Mn.differenceBy=Ti,Mn.differenceWith=Pi,Mn.drop=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=n||void 0===t?1:oc(t))<0?0:t,r):[]},Mn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,0,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t):[]},Mn.dropRightWhile=function(e,t){return e&&e.length?no(e,Xo(t,3),!0,!0):[]},Mn.dropWhile=function(e,t){return e&&e.length?no(e,Xo(t,3),!0):[]},Mn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=oc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:oc(r))<0&&(r+=o),r=n>r?0:ic(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Mn.filter=function(e,t){return(Va(e)?lt:ir)(e,Xo(t,3))},Mn.flatMap=function(e,t){return ar(pa(e,t),1)},Mn.flatMapDeep=function(e,t){return ar(pa(e,t),1/0)},Mn.flatMapDepth=function(e,t,n){return n=void 0===n?1:oc(n),ar(pa(e,t),n)},Mn.flatten=Li,Mn.flattenDeep=function(e){return(null==e?0:e.length)?ar(e,1/0):[]},Mn.flattenDepth=function(e,t){return(null==e?0:e.length)?ar(e,t=void 0===t?1:oc(t)):[]},Mn.flip=function(e){return Fo(e,512)},Mn.flow=Wc,Mn.flowRight=qc,Mn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Mn.functions=function(e){return null==e?[]:fr(e,wc(e))},Mn.functionsIn=function(e){return null==e?[]:fr(e,kc(e))},Mn.groupBy=sa,Mn.initial=function(e){return(null==e?0:e.length)?qr(e,0,-1):[]},Mn.intersection=Ni,Mn.intersectionBy=Ii,Mn.intersectionWith=Ri,Mn.invert=gc,Mn.invertBy=yc,Mn.invokeMap=fa,Mn.iteratee=Qc,Mn.keyBy=da,Mn.keys=wc,Mn.keysIn=kc,Mn.map=pa,Mn.mapKeys=function(e,t){var n={};return t=Xo(t,3),lr(e,(function(e,r,o){Qn(n,t(e,r,o),e)})),n},Mn.mapValues=function(e,t){var n={};return t=Xo(t,3),lr(e,(function(e,r,o){Qn(n,r,t(e,r,o))})),n},Mn.matches=function(e){return Mr(Yn(e,1))},Mn.matchesProperty=function(e,t){return Cr(e,Yn(t,1))},Mn.memoize=za,Mn.merge=Oc,Mn.mergeWith=zc,Mn.method=Gc,Mn.methodOf=Zc,Mn.mixin=Yc,Mn.negate=xa,Mn.nthArg=function(e){return e=oc(e),Rr((function(t){return Pr(t,e)}))},Mn.omit=xc,Mn.omitBy=function(e,t){return Sc(e,xa(Xo(t)))},Mn.once=function(e){return ga(2,e)},Mn.orderBy=function(e,t,n,r){return null==e?[]:(Va(t)||(t=null==t?[]:[t]),Va(n=r?void 0:n)||(n=null==n?[]:[n]),Hr(e,t,n))},Mn.over=Jc,Mn.overArgs=ja,Mn.overEvery=eu,Mn.overSome=tu,Mn.partial=Sa,Mn.partialRight=Ea,Mn.partition=ha,Mn.pick=jc,Mn.pickBy=Sc,Mn.property=nu,Mn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},Mn.pull=Fi,Mn.pullAll=Bi,Mn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Lr(e,t,Xo(n,2)):e},Mn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Lr(e,t,void 0,n):e},Mn.pullAt=Ui,Mn.range=ru,Mn.rangeRight=ou,Mn.rearg=Ma,Mn.reject=function(e,t){return(Va(e)?lt:ir)(e,xa(Xo(t,3)))},Mn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Xo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Ar(e,o),n},Mn.rest=function(e,t){if("function"!=typeof e)throw new be(o);return Rr(e,t=void 0===t?t:oc(t))},Mn.reverse=$i,Mn.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:oc(t),(Va(e)?Fn:Fr)(e,t)},Mn.set=function(e,t,n){return null==e?e:Br(e,t,n)},Mn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Br(e,t,n,r)},Mn.shuffle=function(e){return(Va(e)?Bn:Wr)(e)},Mn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=r):(t=null==t?0:oc(t),n=void 0===n?r:oc(n)),qr(e,t,n)):[]},Mn.sortBy=va,Mn.sortedUniq=function(e){return e&&e.length?Zr(e):[]},Mn.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Xo(t,2)):[]},Mn.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=uc(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=Xr(t))&&Rt(e)?so(qt(e),0,n):e.split(t,n):[]},Mn.spread=function(e,t){if("function"!=typeof e)throw new be(o);return t=null==t?0:cn(oc(t),0),Rr((function(n){var r=n[t],o=so(n,0,t);return r&&pt(o,r),ot(e,this,o)}))},Mn.tail=function(e){var t=null==e?0:e.length;return t?qr(e,1,t):[]},Mn.take=function(e,t,n){return e&&e.length?qr(e,0,(t=n||void 0===t?1:oc(t))<0?0:t):[]},Mn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t,r):[]},Mn.takeRightWhile=function(e,t){return e&&e.length?no(e,Xo(t,3),!1,!0):[]},Mn.takeWhile=function(e,t){return e&&e.length?no(e,Xo(t,3)):[]},Mn.tap=function(e,t){return t(e),e},Mn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new be(o);return $a(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),wa(e,t,{leading:r,maxWait:t,trailing:i})},Mn.thru=ra,Mn.toArray=nc,Mn.toPairs=Ec,Mn.toPairsIn=Mc,Mn.toPath=function(e){return Va(e)?dt(e,Si):Xa(e)?[e]:yo(ji(uc(e)))},Mn.toPlainObject=cc,Mn.transform=function(e,t,n){var r=Va(e),o=r||Ia(e)||Ja(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Fa(i)?Cn($e(e)):{}}return(o?at:lr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Mn.unary=function(e){return ba(e,1)},Mn.union=Wi,Mn.unionBy=qi,Mn.unionWith=Ki,Mn.uniq=function(e){return e&&e.length?Jr(e):[]},Mn.uniqBy=function(e,t){return e&&e.length?Jr(e,Xo(t,2)):[]},Mn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Jr(e,void 0,t):[]},Mn.unset=function(e,t){return null==e||eo(e,t)},Mn.unzip=Qi,Mn.unzipWith=Gi,Mn.update=function(e,t,n){return null==e?e:to(e,t,co(n))},Mn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,co(n),r)},Mn.values=Cc,Mn.valuesIn=function(e){return null==e?[]:Tt(e,kc(e))},Mn.without=Zi,Mn.words=Fc,Mn.wrap=function(e,t){return Sa(co(t),e)},Mn.xor=Yi,Mn.xorBy=Xi,Mn.xorWith=Ji,Mn.zip=ea,Mn.zipObject=function(e,t){return io(e||[],t||[],$n)},Mn.zipObjectDeep=function(e,t){return io(e||[],t||[],Br)},Mn.zipWith=ta,Mn.entries=Ec,Mn.entriesIn=Mc,Mn.extend=sc,Mn.extendWith=fc,Yc(Mn,Mn),Mn.add=cu,Mn.attempt=Bc,Mn.camelCase=Tc,Mn.capitalize=Pc,Mn.ceil=uu,Mn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ac(n))==n?n:0),void 0!==t&&(t=(t=ac(t))==t?t:0),Zn(ac(e),t,n)},Mn.clone=function(e){return Yn(e,4)},Mn.cloneDeep=function(e){return Yn(e,5)},Mn.cloneDeepWith=function(e,t){return Yn(e,5,t="function"==typeof t?t:void 0)},Mn.cloneWith=function(e,t){return Yn(e,4,t="function"==typeof t?t:void 0)},Mn.conformsTo=function(e,t){return null==t||Xn(e,t,wc(t))},Mn.deburr=Hc,Mn.defaultTo=function(e,t){return null==e||e!=e?t:e},Mn.divide=lu,Mn.endsWith=function(e,t,n){e=uc(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Zn(oc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Mn.eq=Ca,Mn.escape=function(e){return(e=uc(e))&&I.test(e)?e.replace(A,Nt):e},Mn.escapeRegExp=function(e){return(e=uc(e))&&q.test(e)?e.replace(W,"\\$&"):e},Mn.every=function(e,t,n){var r=Va(e)?ut:rr;return n&&li(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Mn.find=aa,Mn.findIndex=Hi,Mn.findKey=function(e,t){return gt(e,Xo(t,3),lr)},Mn.findLast=ca,Mn.findLastIndex=Vi,Mn.findLastKey=function(e,t){return gt(e,Xo(t,3),sr)},Mn.floor=su,Mn.forEach=ua,Mn.forEachRight=la,Mn.forIn=function(e,t){return null==e?e:cr(e,Xo(t,3),kc)},Mn.forInRight=function(e,t){return null==e?e:ur(e,Xo(t,3),kc)},Mn.forOwn=function(e,t){return e&&lr(e,Xo(t,3))},Mn.forOwnRight=function(e,t){return e&&sr(e,Xo(t,3))},Mn.get=mc,Mn.gt=Ta,Mn.gte=Pa,Mn.has=function(e,t){return null!=e&&ii(e,t,mr)},Mn.hasIn=bc,Mn.head=Ai,Mn.identity=Kc,Mn.includes=function(e,t,n,r){e=Aa(e)?e:Cc(e),n=n&&!r?oc(n):0;var o=e.length;return n<0&&(n=cn(o+n,0)),Ya(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&_t(e,t,n)>-1},Mn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),_t(e,t,o)},Mn.inRange=function(e,t,n){return t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n){return e>=un(t,n)&&e<cn(t,n)}(e=ac(e),t,n)},Mn.invoke=_c,Mn.isArguments=Ha,Mn.isArray=Va,Mn.isArrayBuffer=La,Mn.isArrayLike=Aa,Mn.isArrayLikeObject=Na,Mn.isBoolean=function(e){return!0===e||!1===e||Wa(e)&&hr(e)==l},Mn.isBuffer=Ia,Mn.isDate=Ra,Mn.isElement=function(e){return Wa(e)&&1===e.nodeType&&!Qa(e)},Mn.isEmpty=function(e){if(null==e)return!0;if(Aa(e)&&(Va(e)||"string"==typeof e||"function"==typeof e.splice||Ia(e)||Ja(e)||Ha(e)))return!e.length;var t=oi(e);if(t==h||t==g)return!e.size;if(pi(e))return!xr(e).length;for(var n in e)if(Oe.call(e,n))return!1;return!0},Mn.isEqual=function(e,t){return wr(e,t)},Mn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Mn.isError=Da,Mn.isFinite=function(e){return"number"==typeof e&&rn(e)},Mn.isFunction=Fa,Mn.isInteger=Ba,Mn.isLength=Ua,Mn.isMap=qa,Mn.isMatch=function(e,t){return e===t||kr(e,t,ei(t))},Mn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,kr(e,t,ei(t),n)},Mn.isNaN=function(e){return Ka(e)&&e!=+e},Mn.isNative=function(e){if(di(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Mn.isNil=function(e){return null==e},Mn.isNull=function(e){return null===e},Mn.isNumber=Ka,Mn.isObject=$a,Mn.isObjectLike=Wa,Mn.isPlainObject=Qa,Mn.isRegExp=Ga,Mn.isSafeInteger=function(e){return Ba(e)&&e>=-9007199254740991&&e<=9007199254740991},Mn.isSet=Za,Mn.isString=Ya,Mn.isSymbol=Xa,Mn.isTypedArray=Ja,Mn.isUndefined=function(e){return void 0===e},Mn.isWeakMap=function(e){return Wa(e)&&oi(e)==w},Mn.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==hr(e)},Mn.join=function(e,t){return null==e?"":on.call(e,t)},Mn.kebabCase=Vc,Mn.last=Di,Mn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=oc(n))<0?cn(r+o,0):un(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):yt(e,kt,o,!0)},Mn.lowerCase=Lc,Mn.lowerFirst=Ac,Mn.lt=ec,Mn.lte=tc,Mn.max=function(e){return e&&e.length?or(e,Kc,vr):void 0},Mn.maxBy=function(e,t){return e&&e.length?or(e,Xo(t,2),vr):void 0},Mn.mean=function(e){return Ot(e,Kc)},Mn.meanBy=function(e,t){return Ot(e,Xo(t,2))},Mn.min=function(e){return e&&e.length?or(e,Kc,Sr):void 0},Mn.minBy=function(e,t){return e&&e.length?or(e,Xo(t,2),Sr):void 0},Mn.stubArray=iu,Mn.stubFalse=au,Mn.stubObject=function(){return{}},Mn.stubString=function(){return""},Mn.stubTrue=function(){return!0},Mn.multiply=du,Mn.nth=function(e,t){return e&&e.length?Pr(e,oc(t)):void 0},Mn.noConflict=function(){return qe._===this&&(qe._=Ee),this},Mn.noop=Xc,Mn.now=ma,Mn.pad=function(e,t,n){e=uc(e);var r=(t=oc(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Vo(en(o),n)+e+Vo(Jt(o),n)},Mn.padEnd=function(e,t,n){e=uc(e);var r=(t=oc(t))?Wt(e):0;return t&&r<t?e+Vo(t-r,n):e},Mn.padStart=function(e,t,n){e=uc(e);var r=(t=oc(t))?Wt(e):0;return t&&r<t?Vo(t-r,n)+e:e},Mn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(uc(e).replace(K,""),t||0)},Mn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=rc(e),void 0===t?(t=e,e=0):t=rc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return un(e+o*(t-e+Be("1e-"+((o+"").length-1))),t)}return Nr(e,t)},Mn.reduce=function(e,t,n){var r=Va(e)?ht:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},Mn.reduceRight=function(e,t,n){var r=Va(e)?vt:jt,o=arguments.length<3;return r(e,Xo(t,4),n,o,nr)},Mn.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:oc(t),Ir(uc(e),t)},Mn.replace=function(){var e=arguments,t=uc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Mn.result=function(e,t,n){var r=-1,o=(t=uo(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Si(t[r])];void 0===i&&(r=o,i=n),e=Fa(i)?i.call(e):i}return e},Mn.round=pu,Mn.runInContext=e,Mn.sample=function(e){return(Va(e)?Dn:Dr)(e)},Mn.size=function(e){if(null==e)return 0;if(Aa(e))return Ya(e)?Wt(e):e.length;var t=oi(e);return t==h||t==g?e.size:xr(e).length},Mn.snakeCase=Nc,Mn.some=function(e,t,n){var r=Va(e)?mt:Kr;return n&&li(e,t,n)&&(t=void 0),r(e,Xo(t,3))},Mn.sortedIndex=function(e,t){return Qr(e,t)},Mn.sortedIndexBy=function(e,t,n){return Gr(e,t,Xo(n,2))},Mn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Qr(e,t);if(r<n&&Ca(e[r],t))return r}return-1},Mn.sortedLastIndex=function(e,t){return Qr(e,t,!0)},Mn.sortedLastIndexBy=function(e,t,n){return Gr(e,t,Xo(n,2),!0)},Mn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Qr(e,t,!0)-1;if(Ca(e[n],t))return n}return-1},Mn.startCase=Ic,Mn.startsWith=function(e,t,n){return e=uc(e),n=null==n?0:Zn(oc(n),0,e.length),t=Xr(t),e.slice(n,n+t.length)==t},Mn.subtract=hu,Mn.sum=function(e){return e&&e.length?St(e,Kc):0},Mn.sumBy=function(e,t){return e&&e.length?St(e,Xo(t,2)):0},Mn.template=function(e,t,n){var r=Mn.templateSettings;n&&li(e,t,n)&&(t=void 0),e=uc(e),t=fc({},t,r,Bo);var o,i,a=fc({},t.imports,r.imports,Bo),c=wc(a),u=Tt(a,c),l=0,s=t.interpolate||le,f="__p += '",d=ve((t.escape||le).source+"|"+s.source+"|"+(s===F?te:le).source+"|"+(t.evaluate||le).source+"|$","g"),p="//# sourceURL="+(Oe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ie+"]")+"\n";e.replace(d,(function(t,n,r,a,c,u){return r||(r=a),f+=e.slice(l,u).replace(se,It),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),f+="';\n";var h=Oe.call(t,"variable")&&t.variable;if(h){if(J.test(h))throw new fe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(P,""):f).replace(H,"$1").replace(V,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=Bc((function(){return de(c,p+"return "+f).apply(void 0,u)}));if(v.source=f,Da(v))throw v;return v},Mn.times=function(e,t){if((e=oc(e))<1||e>9007199254740991)return[];var n=4294967295,r=un(e,4294967295);e-=4294967295;for(var o=Et(r,t=Xo(t));++n<e;)t(n);return o},Mn.toFinite=rc,Mn.toInteger=oc,Mn.toLength=ic,Mn.toLower=function(e){return uc(e).toLowerCase()},Mn.toNumber=ac,Mn.toSafeInteger=function(e){return e?Zn(oc(e),-9007199254740991,9007199254740991):0===e?e:0},Mn.toString=uc,Mn.toUpper=function(e){return uc(e).toUpperCase()},Mn.trim=function(e,t,n){if((e=uc(e))&&(n||void 0===t))return Mt(e);if(!e||!(t=Xr(t)))return e;var r=qt(e),o=qt(t);return so(r,Ht(r,o),Vt(r,o)+1).join("")},Mn.trimEnd=function(e,t,n){if((e=uc(e))&&(n||void 0===t))return e.slice(0,Kt(e)+1);if(!e||!(t=Xr(t)))return e;var r=qt(e);return so(r,0,Vt(r,qt(t))+1).join("")},Mn.trimStart=function(e,t,n){if((e=uc(e))&&(n||void 0===t))return e.replace(K,"");if(!e||!(t=Xr(t)))return e;var r=qt(e);return so(r,Ht(r,qt(t))).join("")},Mn.truncate=function(e,t){var n=30,r="...";if($a(t)){var o="separator"in t?t.separator:o;n="length"in t?oc(t.length):n,r="omission"in t?Xr(t.omission):r}var i=(e=uc(e)).length;if(Rt(e)){var a=qt(e);i=a.length}if(n>=i)return e;var c=n-Wt(r);if(c<1)return r;var u=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return u+r;if(a&&(c+=u.length-c),Ga(o)){if(e.slice(c).search(o)){var l,s=u;for(o.global||(o=ve(o.source,uc(ne.exec(o))+"g")),o.lastIndex=0;l=o.exec(s);)var f=l.index;u=u.slice(0,void 0===f?c:f)}}else if(e.indexOf(Xr(o),c)!=c){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},Mn.unescape=function(e){return(e=uc(e))&&N.test(e)?e.replace(L,Qt):e},Mn.uniqueId=function(e){var t=++ze;return uc(e)+t},Mn.upperCase=Rc,Mn.upperFirst=Dc,Mn.each=ua,Mn.eachRight=la,Mn.first=Ai,Yc(Mn,(fu={},lr(Mn,(function(e,t){Oe.call(Mn.prototype,t)||(fu[t]=e)})),fu),{chain:!1}),Mn.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Mn[e].placeholder=Mn})),at(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=void 0===n?1:cn(oc(n),0);var r=this.__filtered__&&!t?new Hn(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(Kc)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Rr((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return yr(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(xa(Xo(e)))},Hn.prototype.slice=function(e,t){e=oc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oc(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(4294967295)},lr(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Mn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Mn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Hn,u=a[0],l=c||Va(t),s=function(e){var t=o.apply(Mn,pt([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=c&&!d;if(!i&&l){t=h?t:new Hn(this);var v=e.apply(t,a);return v.__actions__.push({func:ra,args:[s],thisArg:void 0}),new Pn(v,f)}return p&&h?e.apply(this,a):(v=this.thru(s),p?r?v.value()[0]:v.value():v)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ge[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Mn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),lr(Hn.prototype,(function(e,t){var n=Mn[t];if(n){var r=n.name+"";Oe.call(_n,r)||(_n[r]=[]),_n[r].push({name:t,func:n})}})),_n[Co(void 0,2).name]=[{name:"wrapper",func:void 0}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=un(t,e+a);break;case"takeRight":e=cn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,u=c-a,l=r?c:a-1,s=this.__iteratees__,f=s.length,d=0,p=un(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return ro(e,this.__actions__);var h=[];e:for(;u--&&d<p;){for(var v=-1,m=e[l+=t];++v<f;){var b=s[v],g=b.iteratee,y=b.type,_=g(m);if(2==y)m=_;else if(!_){if(1==y)continue e;break e}}h[d++]=m}return h},Mn.prototype.at=oa,Mn.prototype.chain=function(){return na(this)},Mn.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},Mn.prototype.next=function(){void 0===this.__values__&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Mn.prototype.plant=function(e){for(var t,n=this;n instanceof Tn;){var r=Mi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Mn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new Pn(t,this.__chain__)}return this.thru($i)},Mn.prototype.toJSON=Mn.prototype.valueOf=Mn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Mn.prototype.first=Mn.prototype.head,Ye&&(Mn.prototype[Ye]=function(){return this}),Mn}();qe._=Gt,void 0===(r=function(){return Gt}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(59)(e))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(23);var o=n(27),i=n(20);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"e",(function(){return Be})),n.d(t,"a",(function(){return a.a})),n.d(t,"d",(function(){return Ue})),n.d(t,"b",(function(){return $e})),n.d(t,"c",(function(){return We}));var r={};n.r(r),n.d(r,"getIsResolving",(function(){return U})),n.d(r,"hasStartedResolution",(function(){return $})),n.d(r,"hasFinishedResolution",(function(){return W})),n.d(r,"isResolving",(function(){return q})),n.d(r,"getCachedResolvers",(function(){return K}));var o={};n.r(o),n.d(o,"startResolution",(function(){return Q})),n.d(o,"finishResolution",(function(){return G})),n.d(o,"invalidateResolution",(function(){return Z})),n.d(o,"invalidateResolutionForStore",(function(){return Y})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return X}));var i=n(26),a=n.n(i),c=n(6),u=n(1),l=n(0),s=n(31),f=n.n(s),d=n(24),p=n.n(d);function h(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,c,"next",e)}function c(e){h(i,r,o,a,c,"throw",e)}a(void 0)}))}}var m=n(40),b=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+b(),REPLACE:"@@redux/REPLACE"+b(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+b()}};function y(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(_)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],c=a,u=!1;function l(){c===a&&(c=a.slice())}function s(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return l(),c.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,l();var n=c.indexOf(e);c.splice(n,1)}}}function d(e){if(!y(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,e)}finally{u=!1}for(var t=a=c,n=0;n<t.length;n++){(0,t[n])()}return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,d({type:g.REPLACE})}function h(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[m.a]=function(){return this},e}return d({type:g.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[m.a]=h,r}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(n,!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return O({},n,{dispatch:r=z.apply(void 0,i)(n.dispatch)})}}}function j(e){return!!e&&"function"==typeof e[Symbol.iterator]&&"function"==typeof e.next}var S=n(51),E=n(32),M=n.n(E);function C(e){return Object(l.isPlainObject)(e)&&Object(l.isString)(e.type)}function T(e,t){return C(e)&&e.type===t}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(l.map)(e,(function(e,t){return function(n,r,o,i,a){if(!T(n,t))return!1;var c=e(n);return M()(c)?c.then(i,a):i(c),!0}})),r=function(e,n){return!!C(e)&&(t(e),n(),!0)};n.push(r);var o=Object(S.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){C(e)&&t(e),n(e)}),r)}))}}var H=function(){return function(e){return function(t){return M()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},V=n(3),L=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Object(c.a)(n,2),i=o[0],a=o[1],u=Object(l.get)(e.stores,[t,"resolvers",i]);u&&u.shouldInvalidate&&a.forEach((function(n,o){!1===n&&u.shouldInvalidate.apply(u,[r].concat(Object(V.a)(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},A=n(35),N=n.n(A);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D,F=Object(l.flowRight)([(D="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[D];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:R({},t,Object(u.a)({},r,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new N.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new N.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new N.a(e);return o.delete(t.args),o}return e})),B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(l.has)(e,[t.selectorName])?Object(l.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return F(e,t)}return e};function U(e,t,n){var r=Object(l.get)(e,[t]);if(r)return r.get(n)}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==U(e,t,n)}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===U(e,t,n)}function q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===U(e,t,n)}function K(e){return e}function Q(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function G(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Z(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Y(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function X(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function te(e,t,n){var i,c=t.reducer,u=function(e,t,n){var r=[L(n,e),H];if(t.controls){var o=Object(l.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=P(e,t.dispatch);return function(e){return function(t){return j(t)?n(t):e(t)}}}}(o))}var i=[x.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var c=t.reducer,u=t.initialState;return _(a()({metadata:B,root:c}),{root:u},Object(l.flowRight)(i))}(e,t,n),s=function(e,t){return Object(l.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(ee({},o,{},t.actions),u),f=function(e,t){return Object(l.mapValues)(e,(function(e){var n=function(){var n=arguments.length,r=new Array(n+1);r[0]=t.__unstableOriginalGetState();for(var o=0;o<n;o++)r[o+1]=arguments[o];return e.apply(void 0,r)};return n.hasResolver=!1,n}))}(ee({},Object(l.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),{},Object(l.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=n),function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),u);if(t.resolvers){var d=function(e,t,n){var r=Object(l.mapValues)(e,(function(e){var t=e.fulfill;return ee({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(l.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];function u(){return l.apply(this,arguments)}function l(){return(l=v(p.a.mark((function e(){var t,c;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(c=n.__unstableOriginalGetState(),!$(c.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Q(o,a)),e.next=9,ne.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(G(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return u.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,f,u);i=d.resolvers,f=d.selectors}u.__unstableOriginalGetState=u.getState,u.getState=function(){return u.__unstableOriginalGetState().root};var h=u&&function(e){var t=u.__unstableOriginalGetState();u.subscribe((function(){var n=u.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:c,store:u,actions:s,selectors:f,resolvers:i,getSelectors:function(){return f},getActions:function(){return s},subscribe:h}}function ne(e,t,n){return re.apply(this,arguments)}function re(){return(re=v(p.a.mark((function e(t,n,r){var o,i,a,c,u,s=arguments;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(l.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=s.length,a=new Array(i>3?i-3:0),c=3;c<i;c++)a[c-3]=s[c];if(!(u=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(u);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ae=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return ie({},t,Object(u.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return ie({},t,Object(u.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var le,se,fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(l.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}var u=f()((function(e){return Object(l.mapValues)(Object(l.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,n){return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return new Promise((function(r){var a=function(){return e.hasFinishedResolution(n,o)},c=function(){return t.apply(null,o)},u=c();if(a())return r(u);var l=i((function(){a()&&(l(),r(c()))}))}))}}))}),{maxSize:1});function s(e){return u(a(e))}function d(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function p(e){return Object(l.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return v[t].apply(null,arguments)}}))}function h(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var v={registerGenericStore:h,stores:n,namespaces:n,subscribe:i,select:a,__experimentalResolveSelect:s,dispatch:d,use:m};function m(e,t){return v=ue({},v,{},e(v,t))}return v.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=te(e,t,v);return h(e,n),n.store},h("core/data",ae(v)),Object.entries(e).forEach((function(e){var t=Object(c.a)(e,2),n=t[0],r=t[1];return v.registerStore(n,r)})),t&&t.subscribe(o),p(v)}(),de=(n(19),{getItem:function(e){return le&&le[e]?le[e]:null},setItem:function(e,t){le||de.clear(),le[e]=String(t)},clear:function(){le=Object.create(null)}}),pe=de;try{(se=window.localStorage).setItem("__wpDataTestLocalStorage",""),se.removeItem("__wpDataTestLocalStorage")}catch(qe){se=pe}function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var me=se;function be(e){var t,n=e.storage,r=void 0===n?me:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(qe){t={}}}return t},set:function(e,n){t=ve({},t,Object(u.a)({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ge=function(e,t){var n=be(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=ve({},r,{initialState:i=Object(l.isPlainObject)(i)&&Object(l.isPlainObject)(o)?Object(l.merge)({},i,o):o})}var c=e.registerStore(t,r);return c.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var c=r.reduce((function(e,t){return Object.assign(e,Object(u.a)({},t,(function(e,n){return n.nextState[t]})))}),{});i=a()(c),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var l=o(void 0,{nextState:e()});return function(){var r=o(l,{nextState:e()});r!==l&&(n.set(t,r),l=r)}}(c.getState,t,r.persist)),c}}};ge.__unstableMigrate=function(e){var t=be(e),n=t.get(),r=Object(l.get)(n,["core/editor","preferences","insertUsage"]);r&&t.set("core/block-editor",{preferences:{insertUsage:r}});var o=n["core/edit-post"],i=Object.keys(n).length>0,a=Object(l.has)(n,["core/edit-post","preferences","features","fullscreenMode"]);i&&!a&&(o=Object(l.merge)({},o,{preferences:{features:{fullscreenMode:!1}}}));var c=Object(l.get)(n,["core/nux","preferences","areTipsEnabled"]),u=Object(l.has)(n,["core/edit-post","preferences","features","welcomeGuide"]);void 0===c||u||(o=Object(l.merge)({},o,{preferences:{features:{welcomeGuide:c}}})),o!==n["core/edit-post"]&&t.set("core/edit-post",o)};var ye=n(8),_e=n(5),we=n(50),ke=n(9),Oe=n(10),ze=n(11),xe=n(12),je=n(13),Se=n(17),Ee=n.n(Se);Object(we.a)((function(e){return e.prototype instanceof _e.Component?function(e){function t(){return Object(ke.a)(this,t),Object(ze.a)(this,Object(xe.a)(t).apply(this,arguments))}return Object(je.a)(t,e),Object(Oe.a)(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Ee()(e,this.props)||!Ee()(t,this.state)}}]),t}(e):function(t){function n(){return Object(ke.a)(this,n),Object(ze.a)(this,Object(xe.a)(n).apply(this,arguments))}return Object(je.a)(n,t),Object(Oe.a)(n,[{key:"shouldComponentUpdate",value:function(e){return!Ee()(e,this.props)}},{key:"render",value:function(){return Object(_e.createElement)(e,this.props)}}]),n}(_e.Component)}),"pure");function Me(e,t){var n=Object(_e.useState)((function(){return{inputs:t,result:e()}}))[0],r=Object(_e.useRef)(n),o=Boolean(t&&r.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,r.current.inputs))?r.current:{inputs:t,result:e()};return Object(_e.useEffect)((function(){r.current=o}),[o]),o.result}var Ce="undefined"==typeof window?function(e){setTimeout((function(){return e(Date.now())}),0)}:window.requestIdleCallback||window.requestAnimationFrame,Te=Object(_e.createContext)(fe),Pe=Te.Consumer,He=(Te.Provider,Pe);function Ve(){return Object(_e.useContext)(Te)}var Le=Object(_e.createContext)(!1);Le.Consumer,Le.Provider;var Ae,Ne,Ie,Re,De="undefined"!=typeof window?_e.useLayoutEffect:_e.useEffect,Fe=(Ae=[],Ne=new WeakMap,Ie=!1,Re=function e(t){var n="number"==typeof t?function(){return!1}:function(){return t.timeRemaining()>0};do{if(0===Ae.length)return void(Ie=!1);var r=Ae.shift();Ne.get(r)(),Ne.delete(r)}while(n());Ce(e)},{add:function(e,t){Ne.has(e)||Ae.push(e),Ne.set(e,t),Ie||(Ie=!0,Ce(Re))},flush:function(e){if(!Ne.has(e))return!1;var t=Ae.indexOf(e);Ae.splice(t,1);var n=Ne.get(e);return Ne.delete(e),n(),!0}});function Be(e,t){var n,r=Object(_e.useCallback)(e,t),o=Ve(),i=Object(_e.useContext)(Le),a=Me((function(){return{queue:!0}}),[o]),u=Object(_e.useReducer)((function(e){return e+1}),0),l=Object(c.a)(u,2)[1],s=Object(_e.useRef)(),f=Object(_e.useRef)(i),d=Object(_e.useRef)(),p=Object(_e.useRef)(),h=Object(_e.useRef)();try{n=s.current!==r||p.current?r(o.select,o):d.current}catch(qe){var v="An error occurred while running 'mapSelect': ".concat(qe.message);if(p.current)throw v+="\nThe error may be correlated with this previous error:\n",v+="".concat(p.current.stack,"\n\n"),v+="Original stack trace:",new Error(v);console.error(v)}return De((function(){s.current=r,d.current=n,p.current=void 0,h.current=!0,f.current!==i&&(f.current=i,Fe.flush(a))})),De((function(){var e=function(){if(h.current){try{var e=s.current(o.select,o);if(Ee()(d.current,e))return;d.current=e}catch(qe){p.current=qe}l()}};f.current?Fe.add(a,e):e();var t=o.subscribe((function(){f.current?Fe.add(a,e):e()}));return function(){h.current=!1,t(),Fe.flush(a)}}),[o]),n}"undefined"!=typeof window?_e.useLayoutEffect:_e.useEffect,Object(we.a)((function(e){return function(t){return Object(_e.createElement)(He,null,(function(n){return Object(_e.createElement)(e,Object(ye.a)({},t,{registry:n}))}))}}),"withRegistry");var Ue=fe.select,$e=(fe.__experimentalResolveSelect,fe.dispatch),We=(fe.subscribe,fe.registerGenericStore,fe.registerStore);fe.use},function(e,t,n){"use strict";e.exports=n(57)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(28);var o=n(20),i=n(29);function a(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a}));var r=n(5),o=function(e,t){return Object(r.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php esc_html_e( '".concat(e,"', '").concat(t,"' ) ?>")}})},i=function(e,t,n){return Object(r.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _x( '".concat(e,"', '").concat(t,"', '").concat(n,"' ) ) ?>")}})},a=function(e){return e}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(21),o=n(14);function i(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g}));var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e){return function(t,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(o(t)&&r(n))if("function"==typeof i)if("number"==typeof a){var c={callback:i,priority:a,namespace:n};if(e[t]){var u,l=e[t].handlers;for(u=l.length;u>0&&!(a>=l[u-1].priority);u--);u===l.length?l[u]=c:l.splice(u,0,c),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=u&&e.currentIndex++}))}else e[t]={handlers:[c],runs:0};"hookAdded"!==t&&b("hookAdded",t,n,i,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){return function(n,i){if(o(n)&&(t||r(i))){if(!e[n])return 0;var a=0;if(t)a=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var c=e[n].handlers,u=function(t){c[t].namespace===i&&(c.splice(t,1),a++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},l=c.length-1;l>=0;l--)u(l);return"hookRemoved"!==n&&b("hookRemoved",n,i),a}}};var c=function(e){return function(t,n){return void 0!==n?t in e&&e[t].handlers.some((function(e){return e.namespace===n})):t in e}};n(3);var u=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var c={name:n,currentIndex:0};for(e.__current.push(c);c.currentIndex<r.length;){var u=r[c.currentIndex],l=u.callback.apply(null,i);t&&(i[0]=l),c.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var l=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var s=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var f=function(e){return function(t){if(o(t))return e[t]&&e[t].runs?e[t].runs:0}};var d=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:i(e),addFilter:i(t),removeAction:a(e),removeFilter:a(t),hasAction:c(e),hasFilter:c(t),removeAllActions:a(e,!0),removeAllFilters:a(t,!0),doAction:u(e),applyFilters:u(t,!0),currentAction:l(e),currentFilter:l(t),doingAction:s(e),doingFilter:s(t),didAction:f(e),didFilter:f(t),actions:e,filters:t}},p=d(),h=(p.addAction,p.addFilter),v=(p.removeAction,p.removeFilter,p.hasAction),m=p.hasFilter,b=(p.removeAllActions,p.removeAllFilters,p.doAction),g=p.applyFilters;p.currentAction,p.currentFilter,p.doingAction,p.doingFilter,p.didAction,p.didFilter,p.actions,p.filters},function(e,t,n){var r;
10
  /*!
11
  Copyright (c) 2017 Jed Watson.
12
  Licensed under the MIT License (MIT), see
13
  http://jedwatson.github.io/classnames
14
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";var r=n(60),o=n(61),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(15),o=Object.create(null);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,i=t.alternative,a=t.plugin,c=t.link,u=t.hint,l=a?" from ".concat(a):"",s=n?" and will be removed".concat(l," in version ").concat(n):"",f=i?" Please use ".concat(i," instead."):"",d=c?" See: ".concat(c):"",p=u?" Note: ".concat(u):"",h="".concat(e," is deprecated").concat(s,".").concat(f).concat(d).concat(p);h in o||(Object(r.d)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(70)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(47),a=(r=i)&&r.__esModule?r:{default:r};var c={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return c.obj(e)&&e.type===a.default.all},error:function(e){return c.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&c.func(e.then)},iterator:function(e){return e&&c.func(e.next)&&c.func(e.throw)},fork:function(e){return c.obj(e)&&e.type===a.default.fork},join:function(e){return c.obj(e)&&e.type===a.default.join},race:function(e){return c.obj(e)&&e.type===a.default.race},call:function(e){return c.obj(e)&&e.type===a.default.call},cps:function(e){return c.obj(e)&&e.type===a.default.cps},subscribe:function(e){return c.obj(e)&&e.type===a.default.subscribe},channel:function(e){return c.obj(e)&&c.func(e.subscribe)}};t.default=c},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,c;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[c=n[a]]!==i[c])return i;return r}}},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(65),o=n(66),i=n(67),a=n(69);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,c=r,u=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<u;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==r&&(c===o&&(o=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(t=new Array(u),a=0;a<u;a++)t[a]=arguments[a];return c={args:t,val:e.apply(null,t)},r?(r.prev=c,c.next=r):o=c,i===n?(o=o.prev).next=null:i++,r=c,c.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){var r=n(38);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l}));var r=n(1),o=n(3),i=n(0),a=n(7);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(i.includes)(["iPad","iPhone"],t)}var u=9,l=27,s="alt",f="ctrl",d="shift",p={primary:function(e){return e()?["meta"]:[f]},primaryShift:function(e){return e()?[d,"meta"]:[f,d]},primaryAlt:function(e){return e()?[s,"meta"]:[f,s]},secondary:function(e){return e()?[d,s,"meta"]:[f,d,s]},access:function(e){return e()?[f,s]:[d,s]},ctrl:function(){return[f]},alt:function(){return[s]},ctrlShift:function(){return[f,d]},shift:function(){return[d]},shiftAlt:function(){return[d,s]}},h=(Object(i.mapValues)(p,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return[].concat(Object(o.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(i.mapValues)(p,(function(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,u=a(),l=(n={},Object(r.a)(n,s,u?"⌥":"Alt"),Object(r.a)(n,f,u?"^":"Ctrl"),Object(r.a)(n,"meta","⌘"),Object(r.a)(n,d,u?"⇧":"Shift"),n),p=e(a).reduce((function(e,t){var n=Object(i.get)(l,t,t);return[].concat(Object(o.a)(e),u?[n]:[n,"+"])}),[]),h=Object(i.capitalize)(t);return[].concat(Object(o.a)(p),[h])}})));Object(i.mapValues)(h,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return e(t,n).join("")}})),Object(i.mapValues)(p,(function(e){return function(t){var n,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,l=u(),p=(n={},Object(r.a)(n,d,"Shift"),Object(r.a)(n,"meta",l?"Command":"Control"),Object(r.a)(n,f,"Control"),Object(r.a)(n,s,l?"Option":"Alt"),Object(r.a)(n,",",Object(a.a)("Comma")),Object(r.a)(n,".",Object(a.a)("Period")),Object(r.a)(n,"`",Object(a.a)("Backtick")),n);return[].concat(Object(o.a)(e(u)),[t]).map((function(e){return Object(i.capitalize)(Object(i.get)(p,e,e))})).join(l?" ":" + ")}})),Object(i.mapValues)(p,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,o=e(r);return!!o.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(i.includes)(o,t.key.toLowerCase()))}}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,c=0;c<i.length;c++){var u=i[c];if(void 0===(a=a.get(u)))return;var l=t[u];if(void 0===(a=a.get(l)))return}var s=a.get("_ekm_value");return s?(n.delete(s[0]),s[0]=t,a.set("_ekm_value",s),n.set(t,s),s):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,c=0;c<o.length;c++){var u=o[c];a.has(u)||a.set(u,new e),a=a.get(u);var l=t[u];a.has(l)||a.set(l,new e),a=a.get(l)}var s=a.get("_ekm_value");return s&&this._map.delete(s[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u}));var r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function o(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function i(e){return e.replace(/</g,"&lt;")}function a(e){return function(e){return e.replace(/>/g,"&gt;")}(function(e){return e.replace(/"/g,"&quot;")}(o(e)))}function c(e){return i(o(e))}function u(e){return!r.test(e)}},function(e,t,n){"use strict";
15
  /*
16
  object-assign
17
  (c) Sindre Sorhus
18
  @license MIT
19
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,c,u=a(e),l=1;l<arguments.length;l++){for(var s in n=Object(arguments[l]))o.call(n,s)&&(u[s]=n[s]);if(r){c=r(n);for(var f=0;f<c.length;f++)i.call(n,c[f])&&(u[c[f]]=n[c[f]])}}return u}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";e.exports=n(56)},function(e,t,n){"use strict";(function(e){var r,o=n(52);r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(76)(e))},function(e,t,n){"use strict";var r,o;function i(e){return[e]}function a(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,u;function l(){n=o?new WeakMap:a()}function s(){var n,r,o,i,a,l=arguments.length;for(i=new Array(l),o=0;o<l;o++)i[o]=arguments[o];for(a=t.apply(null,i),(n=u(a)).isUniqueByDependants||(n.lastDependants&&!c(a,n.lastDependants,0)&&n.clear(),n.lastDependants=a),r=n.head;r;){if(c(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=i),u=o?function(e){var t,o,i,c,u,l=n,s=!0;for(t=0;t<e.length;t++){if(o=e[t],!(u=o)||"object"!=typeof u){s=!1;break}l.has(o)?l=l.get(o):(i=new WeakMap,l.set(o,i),l=i)}return l.has(r)||((c=a()).isUniqueByDependants=s,l.set(r,c)),l.get(r)}:function(){return n},s.getDependants=t,s.clear=l,l(),s}},function(e,t,n){var r=n(77),o=n(78);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var c=0;c<16;++c)t[i+c]=a[c];return t||o(a)}},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,c=0,u=o.round,l=o.min,s=o.max,f=o.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,c=null,u=null,f=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(C[e])e=C[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:R(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&($(e.r)&&$(e.g)&&$(e.b)?(p=e.r,h=e.g,v=e.b,t={r:255*H(p,255),g:255*H(h,255),b:255*H(v,255)},f=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):$(e.h)&&$(e.s)&&$(e.v)?(r=N(e.s),c=N(e.v),t=function(e,t,n){e=6*H(e,360),t=H(t,100),n=H(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),c=n*(1-i*t),u=n*(1-(1-i)*t),l=r%6;return{r:255*[n,c,a,a,u,n][l],g:255*[u,n,n,c,a,a][l],b:255*[a,a,u,n,n,c][l]}}(e.h,r,c),f=!0,d="hsv"):$(e.h)&&$(e.s)&&$(e.l)&&(r=N(e.s),u=N(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=H(e,360),t=H(t,100),n=H(n,100),0===t)r=o=i=n;else{var c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;r=a(u,c,e+1/3),o=a(u,c,e),i=a(u,c,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,u),f=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,h,v;return n=P(n),{ok:f,format:e.format||d,r:l(255,s(t.r,0)),g:l(255,s(t.g,0)),b:l(255,s(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=u(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=n.ok,this._tc_id=c++}function p(e,t,n){e=H(e,255),t=H(t,255),n=H(n,255);var r,o,i=s(e,t,n),a=l(e,t,n),c=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=c>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,l:c}}function h(e,t,n){e=H(e,255),t=H(t,255),n=H(n,255);var r,o,i=s(e,t,n),a=l(e,t,n),c=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,v:c}}function v(e,t,n,r){var o=[A(u(e).toString(16)),A(u(t).toString(16)),A(u(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[A(I(r)),A(u(e).toString(16)),A(u(t).toString(16)),A(u(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=V(n.s),d(n)}function g(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=V(n.s),d(n)}function y(e){return d(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=V(n.l),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=s(0,l(255,n.r-u(-t/100*255))),n.g=s(0,l(255,n.g-u(-t/100*255))),n.b=s(0,l(255,n.b-u(-t/100*255))),d(n)}function k(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=V(n.l),d(n)}function O(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function z(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function x(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function j(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function E(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function M(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(d({h:r,s:o,v:i})),i=(i+c)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=u(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[A(u(e).toString(16)),A(u(t).toString(16)),A(u(n).toString(16)),A(I(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(100*H(this._r,255))+"%",g:u(100*H(this._g,255))+"%",b:u(100*H(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+u(100*H(this._r,255))+"%, "+u(100*H(this._g,255))+"%, "+u(100*H(this._b,255))+"%)":"rgba("+u(100*H(this._r,255))+"%, "+u(100*H(this._g,255))+"%, "+u(100*H(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(z,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:N(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100;return d({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},d.mostReadable=function(e,t,n){var r,o,i,a,c=null,u=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=d.readability(e,t[l]))>u&&(u=r,c=d(t[l]));return d.isReadable(e,c,{level:i,size:a})||!o?c:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var C=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(C);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function H(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,s(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function V(e){return l(1,s(0,e))}function L(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function N(e){return e<=1&&(e=100*e+"%"),e}function I(e){return o.round(255*parseFloat(e)).toString(16)}function R(e){return L(e)/255}var D,F,B,U=(F="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",B="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";var r=n(80),o=n(81),i=n(49);e.exports={formats:i,parse:o,stringify:r}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(47),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],c=Object.keys(a),u=0;u<c.length;++u){var l=c[u],s=a[l];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:l}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var c=r.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=r.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&r.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var c=t;return o(t)&&!o(n)&&(c=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),c)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){return function(n){var o=e(n),i=n.displayName,a=void 0===i?n.name||"Component":i;return o.displayName="".concat(Object(r.upperFirst)(Object(r.camelCase)(t)),"(").concat(a,")"),o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(46);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=c(n(71)),i=c(n(73)),a=c(n(75));function c(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;/*! showdown v 1.9.1 - 02-11-2019 */
20
+ (function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},c={},u=o(!0),l="vanilla",s={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function f(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",c=e[o];if("object"!=typeof c)return r.valid=!1,r.error=a+"must be an object, but "+typeof c+" given",r;if(!i.helper.isString(c.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof c.type+" given",r;var u=c.type=c.type.toLowerCase();if("language"===u&&(u=c.type="lang"),"html"===u&&(u=c.type="output"),"lang"!==u&&"output"!==u&&"listener"!==u)return r.valid=!1,r.error=a+"type "+u+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===u){if(i.helper.isUndefined(c.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(c.filter)&&i.helper.isUndefined(c.regex))return r.valid=!1,r.error=a+u+' extensions must define either a "regex" property or a "filter" method',r;if(c.listeners){if("object"!=typeof c.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof c.listeners+" given",r;for(var l in c.listeners)if(c.listeners.hasOwnProperty(l)&&"function"!=typeof c.listeners[l])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof c.listeners[l]+" given",r}if(c.filter){if("function"!=typeof c.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof c.filter+" given",r}else if(c.regex){if(i.helper.isString(c.regex)&&(c.regex=new RegExp(c.regex,"g")),!(c.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof c.regex+" given",r;if(i.helper.isUndefined(c.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function d(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return u[e]=t,this},i.getOption=function(e){"use strict";return u[e]},i.getOptions=function(){"use strict";return u},i.resetOptions=function(){"use strict";u=o(!0)},i.setFlavor=function(e){"use strict";if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=s[e];for(var n in l=e,t)t.hasOwnProperty(n)&&(u[n]=t[n])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(s.hasOwnProperty(e))return s[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=f(t,e);if(!n.valid)throw Error(n.error);c[e]=t},i.getAllExtensions=function(){"use strict";return c},i.removeExtension=function(e){"use strict";delete c[e]},i.resetExtensions=function(){"use strict";c={}},i.validateExtension=function(e){"use strict";var t=f(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=d,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,d)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var p=function(e,t,n,r){"use strict";var o,i,a,c,u,l=r||"",s=l.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+l.replace(/g/g,"")),d=new RegExp(t,l.replace(/g/g,"")),p=[];do{for(o=0;a=f.exec(e);)if(d.test(a[0]))o++||(c=(i=f.lastIndex)-a[0].length);else if(o&&!--o){u=a.index+a[0].length;var h={left:{start:c,end:i},match:{start:i,end:a.index},right:{start:a.index,end:u},wholeMatch:{start:c,end:u}};if(p.push(h),!s)return p}}while(o&&(f.lastIndex=i));return p};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=p(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var c=p(e,n,r,o),u=e,l=c.length;if(l>0){var s=[];0!==c[0].wholeMatch.start&&s.push(e.slice(0,c[0].wholeMatch.start));for(var f=0;f<l;++f)s.push(t(e.slice(c[f].wholeMatch.start,c[f].wholeMatch.end),e.slice(c[f].match.start,c[f].match.end),e.slice(c[f].left.start,c[f].left.end),e.slice(c[f].right.start,c[f].right.end))),f<l-1&&s.push(e.slice(c[f].wholeMatch.end,c[f+1].wholeMatch.start));c[l-1].wholeMatch.end<e.length&&s.push(e.slice(c[l-1].wholeMatch.end)),u=s.join("")}return u},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=l,d={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var u in e[a].listeners)e[a].listeners.hasOwnProperty(u)&&h(u,e[a].listeners[u])}}function h(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},u)u.hasOwnProperty(n)&&(t[n]=u[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,p)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return h(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),d=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var c=t[r].firstChild.className.split(" "),u=0;u<c.length;++u){var l=c[u].match(/^language-(.+)$/);if(null!==l){a=l[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",c=0;c<o.length;c++)a+=i.subParser("makeMarkdown.node")(o[c],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){p(e,t=t||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=s[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?d.raw:d.parsed},this.getMetadataFormat=function(){return d.format},this._setMetadataPair=function(e,t){d.parsed[e]=t},this._setMetadataFormat=function(e){d.format=e},this._setMetadataRaw=function(e){d.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,c,u,l){if(i.helper.isUndefined(l)&&(l=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(l=n.gTitles[o])}var s='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(s+=' title="'+(l=(l=l.replace(/"/g,"&quot;")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(s+=' rel="noopener noreferrer" target="¨E95Eblank"'),s+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var c=t.ghMentionsLink.replace(/\{u}/g,a),u="";return t.openLinksInNewWindow&&(u=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'<a href="'+c+'"'+u+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,v=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,c,u){var l=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),s="",f="",d=n||"",p=u||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&c&&(s=c),e.openLinksInNewWindow&&(f=' rel="noopener noreferrer" target="¨E95Eblank"'),d+'<a href="'+r+'"'+f+">"+l+"</a>"+s+p}},_=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(g,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(v,y(t)):e.replace(h,y(t))).replace(b,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,c=o,u="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(u=""),a="<pre><code>"+a+u+"</code></pre>",i.subParser("hashBlock")(a,t,n)+c}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var c=a;return c=(c=c.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),c=r+"<code>"+(c=i.subParser("encodeCode")(c,t,n))+"</code>",c=i.subParser("hashHTMLSpans")(c,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',c="",u="";for(var l in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":c=' lang="'+n.metadata.parsed[l]+'"',u+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n';break;default:u+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n'}return e=o+"<html"+c+">\n<head>\n"+i+a+u+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var c=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+c+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var c=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(c)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var a=0;a<r.length;++a)for(var c,u=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",s="</"+r[a]+">";-1!==(c=i.helper.regexIndexOf(e,u));){var f=i.helper.splitAtIndex(e,c),d=i.helper.replaceRecursiveRegExp(f[1],o,l,s,"im");if(d===f[1])break;e=f[0].concat(d)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var c=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:c})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),c=t.noHeaderId?"":' id="'+u(o)+'"',l="<h"+r+c+">"+a+"</h"+r+">";return i.subParser("hashBlock")(l,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),c=t.noHeaderId?"":' id="'+u(o)+'"',l=r+1,s="<h"+l+c+">"+a+"</h"+l+">";return i.subParser("hashBlock")(s,t,n)}));var c=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function u(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(c,(function(e,o,a){var c=a;t.customizedHeaderId&&(c=a.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(c,t,n),s=t.noHeaderId?"":' id="'+u(a)+'"',f=r-1+o.length,d="<h"+f+s+">"+l+"</h"+f+">";return i.subParser("hashBlock")(d,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,c,u,l){var s=n.gUrls,f=n.gTitles,d=n.gDimensions;if(r=r.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(s[r]))return e;o=s[r],i.helper.isUndefined(f[r])||(l=f[r]),i.helper.isUndefined(d[r])||(a=d[r].width,c=d[r].height)}t=t.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var p='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(p+=' title="'+(l=l.replace(/"/g,"&quot;").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&c&&(p+=' width="'+(a="*"===a?"auto":a)+'"',p+=' height="'+(c="*"===c?"auto":c)+'"'),p+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,c,u){return r(e,t,n,o=o.replace(/\s/g,""),i,a,c,u)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,c,u,l,s){s=s&&""!==s.trim();var f=i.subParser("outdent")(u,t,n),d="";return l&&t.tasklists&&(d=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return s&&(e+=" checked"),e+=">"}))),f=f.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||f.search(/\n{2,}/)>-1?(f=i.subParser("githubCodeBlocks")(f,t,n),f=i.subParser("blockGamut")(f,t,n)):(f=(f=i.subParser("lists")(f,t,n)).replace(/\n$/,""),f=(f=i.subParser("hashHTMLBlocks")(f,t,n)).replace(/\n\n+/g,"\n\n"),f=a?i.subParser("paragraphs")(f,t,n):i.subParser("spanGamut")(f,t,n)),f="<li"+d+">"+(f=f.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,c=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,u="ul"===n?a:c,l="";if(-1!==e.search(u))!function t(s){var f=s.search(u),d=o(e,n);-1!==f?(l+="\n\n<"+n+d+">\n"+r(s.slice(0,f),!!i)+"</"+n+">\n",u="ul"===(n="ul"===n?"ol":"ul")?a:c,t(s.slice(f))):l+="\n\n<"+n+d+">\n"+r(s,!!i)+"</"+n+">\n"}(e);else{var s=o(e,n);l="\n\n<"+n+s+">\n"+r(e,!!i)+"</"+n+">\n"}return l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,c=0;c<a;c++){var u=r[c];u.search(/¨(K|G)(\d+)\1/g)>=0?o.push(u):u.search(/\S/)>=0&&(u=(u=i.subParser("spanGamut")(u,t,n)).replace(/^([ \t]*)/g,"<p>"),u+="</p>",o.push(u))}for(a=o.length,c=0;c<a;c++){for(var l="",s=o[c],f=!1;/¨(K|G)(\d+)\1/.test(s);){var d=RegExp.$1,p=RegExp.$2;l=(l="K"===d?n.gHtmlBlocks[p]:f?i.subParser("encodeCode")(n.ghCodeBlocks[p].text,t,n):n.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),s=s.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(s)&&(f=!0)}o[c]=s}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,c,u,l){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),u?u+l:(l&&(n.gTitles[r]=l.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&a&&c&&(n.gDimensions[r]={width:a,height:c}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var c,u,l,s,f=a[0].split("|").map((function(e){return e.trim()})),d=a[1].split("|").map((function(e){return e.trim()})),p=[],h=[],v=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&p.push(a[o].split("|").map((function(e){return e.trim()})));if(f.length<d.length)return e;for(o=0;o<d.length;++o)v.push((c=d[o],/^:[ \t]*--*$/.test(c)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(c)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(c)?' style="text-align:center;"':""));for(o=0;o<f.length;++o)i.helper.isUndefined(v[o])&&(v[o]=""),h.push((u=f[o],l=v[o],s=void 0,s="",u=u.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(s=' id="'+u.replace(/ /g,"_").toLowerCase()+'"'),"<th"+s+l+">"+(u=i.subParser("spanGamut")(u,t,n))+"</th>\n"));for(o=0;o<p.length;++o){for(var b=[],g=0;g<h.length;++g)i.helper.isUndefined(p[o][g]),b.push(r(p[o][g],v[g]));m.push(b)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(h,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var c=i.subParser("makeMarkdown.node")(r[a],t);""!==c&&(n+=c)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,c=a.length,u=0;u<c;++u)o+=i.subParser("makeMarkdown.node")(a[u],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,c=e.getAttribute("start")||1,u=0;u<a;++u)if(void 0!==o[u].tagName&&"li"===o[u].tagName.toLowerCase()){r+=("ol"===n?c.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[u],t),++c}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],c=e.querySelectorAll("thead>tr>th"),u=e.querySelectorAll("tbody>tr");for(n=0;n<c.length;++n){var l=i.subParser("makeMarkdown.tableCell")(c[n],t),s="---";if(c[n].hasAttribute("style"))switch(c[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":s=":---";break;case"text-align:right;":s="---:";break;case"text-align:center;":s=":---:"}a[0][n]=l.trim(),a[1][n]=s}for(n=0;n<u.length;++n){var f=a.push([])-1,d=u[n].getElementsByTagName("td");for(r=0;r<c.length;++r){var p=" ";void 0!==d[r]&&(p=i.subParser("makeMarkdown.tableCell")(d[r],t)),a[f].push(p)}}var h=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var v=a[n][r].length;v>h&&(h=v)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),h-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],h,"-"):a[n][r]=i.helper.padEnd(a[n][r],h);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e){e.exports=JSON.parse('{"production":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gathering-tweetstorms","gif","google-calendar","image-compare","instagram-gallery","likes","mailchimp","map","markdown","opentable","pinterest","podcast-player","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","revue","send-a-message","whatsapp-button","seo","sharing","shortlinks","simple-payments","slideshow","social-previews","story","subscriptions","tiled-gallery","videopress","wordads"],"beta":["amazon"],"experimental":["anchor-fm","premium-content","conversation","dialogue"],"no-post-editor":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gif","google-calendar","instagram-gallery","mailchimp","map","markdown","opentable","pinterest","rating-star","recurring-payments","related-posts","repeat-visitor","revue","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"]}')},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";
21
+ /** @license React v16.13.1
22
+ * react-dom-server.browser.production.min.js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  *
24
  * Copyright (c) Facebook, Inc. and its affiliates.
25
  *
26
  * This source code is licensed under the MIT license found in the
27
  * LICENSE file in the root directory of this source tree.