Version Description
Release date: June 2, 2021
Security:
- Carousel: prevent fetching comments from posts, and from attachments of private posts.
Download this release
Release Info
Developer | jeherve |
Plugin | Jetpack by WordPress.com |
Version | 7.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.8 to 7.4.3
- .svnignore +8 -0
- 3rd-party/3rd-party.php +31 -0
- 3rd-party/bbpress.php +50 -0
- 3rd-party/beaverbuilder.php +20 -0
- 3rd-party/bitly.php +34 -0
- 3rd-party/buddypress.php +9 -0
- 3rd-party/class.jetpack-amp-support.php +348 -0
- 3rd-party/class.jetpack-modules-overrides.php +143 -0
- 3rd-party/debug-bar.php +19 -0
- 3rd-party/debug-bar/class.jetpack-search-debug-bar.php +173 -0
- 3rd-party/debug-bar/debug-bar.css +56 -0
- 3rd-party/debug-bar/debug-bar.js +22 -0
- 3rd-party/domain-mapping.php +113 -0
- 3rd-party/polldaddy.php +7 -0
- 3rd-party/qtranslate-x.php +19 -0
- 3rd-party/vaultpress.php +42 -0
- 3rd-party/woocommerce-services.php +133 -0
- 3rd-party/woocommerce.php +105 -0
- 3rd-party/wpml.php +62 -0
- CODE-OF-CONDUCT.md +28 -0
- _inc/accessible-focus.js +19 -0
- _inc/blocks/business-hours/view.css +1 -0
- _inc/blocks/business-hours/view.deps.json +1 -0
- _inc/blocks/business-hours/view.js +1 -0
- _inc/blocks/business-hours/view.rtl.css +1 -0
- _inc/blocks/contact-info/view.css +1 -0
- _inc/blocks/contact-info/view.deps.json +1 -0
- _inc/blocks/contact-info/view.js +1 -0
- _inc/blocks/contact-info/view.rtl.css +1 -0
- _inc/blocks/editor-beta.css +1 -0
- _inc/blocks/editor-beta.deps.json +1 -0
- _inc/blocks/editor-beta.js +24 -0
- _inc/blocks/editor-beta.rtl.css +1 -0
- _inc/blocks/editor.css +1 -0
- _inc/blocks/editor.deps.json +1 -0
- _inc/blocks/editor.js +24 -0
- _inc/blocks/editor.rtl.css +1 -0
.svnignore
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
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 |
+
}
|
3rd-party/bbpress.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action( 'init', 'jetpack_bbpress_compat', 11 ); // Priority 11 needed to ensure sharing_display is loaded.
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Adds Jetpack + bbPress Compatibility filters.
|
6 |
+
*
|
7 |
+
* @author Brandon Kraft
|
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 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Enable Markdown support for bbpress post types.
|
19 |
+
*
|
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.
|
31 |
+
*
|
32 |
+
* @since 4.9.0
|
33 |
+
*/
|
34 |
+
if ( class_exists( 'Jetpack_Photon' ) && Jetpack::is_module_active( 'photon' ) ) {
|
35 |
+
add_filter( 'bbp_get_topic_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
|
36 |
+
add_filter( 'bbp_get_reply_content', array( 'Jetpack_Photon', 'filter_the_content' ), 999999 );
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Display Jetpack "Sharing" buttons on bbPress 2.x forums/ topics/ lead topics/ replies.
|
42 |
+
*
|
43 |
+
* Determination if the sharing buttons should display on the post type is handled within sharing_display().
|
44 |
+
*
|
45 |
+
* @author David Decker
|
46 |
+
* @since 3.7.0
|
47 |
+
*/
|
48 |
+
function jetpack_sharing_bbpress() {
|
49 |
+
sharing_display( null, true );
|
50 |
+
}
|
3rd-party/beaverbuilder.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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();
|
3rd-party/bitly.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
3rd-party/buddypress.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
9 |
+
}
|
3rd-party/class.jetpack-amp-support.php
ADDED
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
|
2 |
+
/**
|
3 |
+
* Manages compatibility with the amp-wp plugin
|
4 |
+
*
|
5 |
+
* @see https://github.com/Automattic/amp-wp
|
6 |
+
*/
|
7 |
+
class Jetpack_AMP_Support {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Apply custom AMP changes onthe frontend.
|
11 |
+
*/
|
12 |
+
public static function init() {
|
13 |
+
|
14 |
+
// Add Stats tracking pixel on Jetpack sites when the Stats module is active.
|
15 |
+
if (
|
16 |
+
Jetpack::is_module_active( 'stats' )
|
17 |
+
&& ! ( defined( 'IS_WPCOM' ) && IS_WPCOM )
|
18 |
+
) {
|
19 |
+
add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
|
20 |
+
}
|
21 |
+
|
22 |
+
// Sharing.
|
23 |
+
add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
|
24 |
+
|
25 |
+
// enforce freedom mode for videopress.
|
26 |
+
add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
|
27 |
+
|
28 |
+
// include Jetpack og tags when rendering native AMP head.
|
29 |
+
add_action( 'amp_post_template_head', array( 'Jetpack_AMP_Support', 'amp_post_jetpack_og_tags' ) );
|
30 |
+
|
31 |
+
// Post rendering changes for legacy AMP.
|
32 |
+
add_action( 'pre_amp_render_post', array( 'Jetpack_AMP_Support', 'amp_disable_the_content_filters' ) );
|
33 |
+
|
34 |
+
// Add post template metadata for legacy AMP.
|
35 |
+
add_filter( 'amp_post_template_metadata', array( 'Jetpack_AMP_Support', 'amp_post_template_metadata' ), 10, 2 );
|
36 |
+
}
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Apply custom AMP changes in wp-admin.
|
40 |
+
*/
|
41 |
+
public static function admin_init() {
|
42 |
+
// disable Likes metabox for post editor if AMP canonical disabled.
|
43 |
+
add_filter( 'post_flair_disable', array( 'Jetpack_AMP_Support', 'is_amp_canonical' ), 99 );
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Is the page in AMP 'canonical mode'.
|
48 |
+
* Used when themes register support for AMP with `add_theme_support( 'amp' )`.
|
49 |
+
*
|
50 |
+
* @return bool is_amp_canonical
|
51 |
+
*/
|
52 |
+
public static function is_amp_canonical() {
|
53 |
+
return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Does the page return AMP content.
|
58 |
+
*
|
59 |
+
* @return bool $is_amp_request Are we on am AMP view.
|
60 |
+
*/
|
61 |
+
public static function is_amp_request() {
|
62 |
+
$is_amp_request = ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() );
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Returns true if the current request should return valid AMP content.
|
66 |
+
*
|
67 |
+
* @since 6.2.0
|
68 |
+
*
|
69 |
+
* @param boolean $is_amp_request Is this request supposed to return valid AMP content?
|
70 |
+
*/
|
71 |
+
return apply_filters( 'jetpack_is_amp_request', $is_amp_request );
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Remove content filters added by Jetpack.
|
76 |
+
*/
|
77 |
+
public static function amp_disable_the_content_filters() {
|
78 |
+
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
|
79 |
+
add_filter( 'videopress_show_2015_player', '__return_true' );
|
80 |
+
add_filter( 'protected_embeds_use_form_post', '__return_false' );
|
81 |
+
remove_filter( 'the_title', 'widont' );
|
82 |
+
}
|
83 |
+
|
84 |
+
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'filter' ), 11 );
|
85 |
+
remove_filter( 'pre_kses', array( 'Filter_Embedded_HTML_Objects', 'maybe_create_links' ), 100 );
|
86 |
+
}
|
87 |
+
|
88 |
+
/**
|
89 |
+
* Add Jetpack stats pixel.
|
90 |
+
*
|
91 |
+
* @since 6.2.1
|
92 |
+
*/
|
93 |
+
public static function add_stats_pixel() {
|
94 |
+
if ( ! has_action( 'wp_footer', 'stats_footer' ) ) {
|
95 |
+
return;
|
96 |
+
}
|
97 |
+
stats_render_amp_footer( stats_build_view_data() );
|
98 |
+
}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Add publisher and image metadata to legacy AMP post.
|
102 |
+
*
|
103 |
+
* @since 6.2.0
|
104 |
+
*
|
105 |
+
* @param array $metadata Metadata array.
|
106 |
+
* @param WP_Post $post Post.
|
107 |
+
* @return array Modified metadata array.
|
108 |
+
*/
|
109 |
+
public static function amp_post_template_metadata( $metadata, $post ) {
|
110 |
+
if ( isset( $metadata['publisher'] ) && ! isset( $metadata['publisher']['logo'] ) ) {
|
111 |
+
$metadata = self::add_site_icon_to_metadata( $metadata );
|
112 |
+
}
|
113 |
+
|
114 |
+
if ( ! isset( $metadata['image'] ) ) {
|
115 |
+
$metadata = self::add_image_to_metadata( $metadata, $post );
|
116 |
+
}
|
117 |
+
|
118 |
+
return $metadata;
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Add blavatar to legacy AMP post metadata.
|
123 |
+
*
|
124 |
+
* @since 6.2.0
|
125 |
+
*
|
126 |
+
* @param array $metadata Metadata.
|
127 |
+
*
|
128 |
+
* @return array Metadata.
|
129 |
+
*/
|
130 |
+
private static function add_site_icon_to_metadata( $metadata ) {
|
131 |
+
$size = 60;
|
132 |
+
$site_icon_url = class_exists( 'Jetpack_Sync_Functions' ) ? Jetpack_Sync_Functions::site_icon_url( $size ) : '';
|
133 |
+
|
134 |
+
if ( function_exists( 'blavatar_domain' ) ) {
|
135 |
+
$metadata['publisher']['logo'] = array(
|
136 |
+
'@type' => 'ImageObject',
|
137 |
+
'url' => blavatar_url( blavatar_domain( site_url() ), 'img', $size, self::staticize_subdomain( 'https://wordpress.com/i/favicons/apple-touch-icon-60x60.png' ) ),
|
138 |
+
'width' => $size,
|
139 |
+
'height' => $size,
|
140 |
+
);
|
141 |
+
} elseif ( $site_icon_url ) {
|
142 |
+
$metadata['publisher']['logo'] = array(
|
143 |
+
'@type' => 'ImageObject',
|
144 |
+
'url' => $site_icon_url,
|
145 |
+
'width' => $size,
|
146 |
+
'height' => $size,
|
147 |
+
);
|
148 |
+
}
|
149 |
+
|
150 |
+
return $metadata;
|
151 |
+
}
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Add image to legacy AMP post metadata.
|
155 |
+
*
|
156 |
+
* @since 6.2.0
|
157 |
+
*
|
158 |
+
* @param array $metadata Metadata.
|
159 |
+
* @param WP_Post $post Post.
|
160 |
+
* @return array Metadata.
|
161 |
+
*/
|
162 |
+
private static function add_image_to_metadata( $metadata, $post ) {
|
163 |
+
$image = Jetpack_PostImages::get_image(
|
164 |
+
$post->ID,
|
165 |
+
array(
|
166 |
+
'fallback_to_avatars' => true,
|
167 |
+
'avatar_size' => 200,
|
168 |
+
// AMP already attempts these.
|
169 |
+
'from_thumbnail' => false,
|
170 |
+
'from_attachment' => false,
|
171 |
+
)
|
172 |
+
);
|
173 |
+
|
174 |
+
if ( empty( $image ) ) {
|
175 |
+
return self::add_fallback_image_to_metadata( $metadata );
|
176 |
+
}
|
177 |
+
|
178 |
+
if ( ! isset( $image['src_width'] ) ) {
|
179 |
+
$dimensions = self::extract_image_dimensions_from_getimagesize(
|
180 |
+
array(
|
181 |
+
$image['src'] => false,
|
182 |
+
)
|
183 |
+
);
|
184 |
+
|
185 |
+
if ( false !== $dimensions[ $image['src'] ] ) {
|
186 |
+
$image['src_width'] = $dimensions['width'];
|
187 |
+
$image['src_height'] = $dimensions['height'];
|
188 |
+
}
|
189 |
+
}
|
190 |
+
|
191 |
+
$metadata['image'] = array(
|
192 |
+
'@type' => 'ImageObject',
|
193 |
+
'url' => $image['src'],
|
194 |
+
);
|
195 |
+
if ( isset( $image['src_width'] ) ) {
|
196 |
+
$metadata['image']['width'] = $image['src_width'];
|
197 |
+
}
|
198 |
+
if ( isset( $image['src_width'] ) ) {
|
199 |
+
$metadata['image']['height'] = $image['src_height'];
|
200 |
+
}
|
201 |
+
|
202 |
+
return $metadata;
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Add fallback image to legacy AMP post metadata.
|
207 |
+
*
|
208 |
+
* @since 6.2.0
|
209 |
+
*
|
210 |
+
* @param array $metadata Metadata.
|
211 |
+
* @return array Metadata.
|
212 |
+
*/
|
213 |
+
private static function add_fallback_image_to_metadata( $metadata ) {
|
214 |
+
/** This filter is documented in functions.opengraph.php */
|
215 |
+
$default_image = apply_filters( 'jetpack_open_graph_image_default', 'https://wordpress.com/i/blank.jpg' );
|
216 |
+
|
217 |
+
$metadata['image'] = array(
|
218 |
+
'@type' => 'ImageObject',
|
219 |
+
'url' => self::staticize_subdomain( $default_image ),
|
220 |
+
'width' => 200,
|
221 |
+
'height' => 200,
|
222 |
+
);
|
223 |
+
|
224 |
+
return $metadata;
|
225 |
+
}
|
226 |
+
|
227 |
+
/**
|
228 |
+
* Return static WordPress.com domain to use to load resources from WordPress.com.
|
229 |
+
*
|
230 |
+
* @param string $domain Asset URL.
|
231 |
+
*/
|
232 |
+
private static function staticize_subdomain( $domain ) {
|
233 |
+
// deal with WPCOM vs Jetpack.
|
234 |
+
if ( function_exists( 'staticize_subdomain' ) ) {
|
235 |
+
return staticize_subdomain( $domain );
|
236 |
+
} else {
|
237 |
+
return Jetpack::staticize_subdomain( $domain );
|
238 |
+
}
|
239 |
+
}
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Extract image dimensions via wpcom/imagesize, only on WPCOM
|
243 |
+
*
|
244 |
+
* @since 6.2.0
|
245 |
+
*
|
246 |
+
* @param array $dimensions Dimensions.
|
247 |
+
* @return array Dimensions.
|
248 |
+
*/
|
249 |
+
private static function extract_image_dimensions_from_getimagesize( $dimensions ) {
|
250 |
+
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM && function_exists( 'require_lib' ) ) ) {
|
251 |
+
return $dimensions;
|
252 |
+
}
|
253 |
+
require_lib( 'wpcom/imagesize' );
|
254 |
+
|
255 |
+
foreach ( $dimensions as $url => $value ) {
|
256 |
+
if ( is_array( $value ) ) {
|
257 |
+
continue;
|
258 |
+
}
|
259 |
+
$result = wpcom_getimagesize( $url );
|
260 |
+
if ( is_array( $result ) ) {
|
261 |
+
$dimensions[ $url ] = array(
|
262 |
+
'width' => $result[0],
|
263 |
+
'height' => $result[1],
|
264 |
+
);
|
265 |
+
}
|
266 |
+
}
|
267 |
+
|
268 |
+
return $dimensions;
|
269 |
+
}
|
270 |
+
|
271 |
+
/**
|
272 |
+
* Display Open Graph Meta tags in AMP views.
|
273 |
+
*/
|
274 |
+
public static function amp_post_jetpack_og_tags() {
|
275 |
+
if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) {
|
276 |
+
Jetpack::init()->check_open_graph();
|
277 |
+
}
|
278 |
+
|
279 |
+
if ( function_exists( 'jetpack_og_tags' ) ) {
|
280 |
+
jetpack_og_tags();
|
281 |
+
}
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Force Freedom mode in VideoPress.
|
286 |
+
*
|
287 |
+
* @param array $options Array of VideoPress shortcode options.
|
288 |
+
*/
|
289 |
+
public static function videopress_enable_freedom_mode( $options ) {
|
290 |
+
if ( self::is_amp_request() ) {
|
291 |
+
$options['freedom'] = true;
|
292 |
+
}
|
293 |
+
return $options;
|
294 |
+
}
|
295 |
+
|
296 |
+
/**
|
297 |
+
* Display custom markup for the sharing buttons when in an AMP view.
|
298 |
+
*
|
299 |
+
* @param string $markup Content markup of the Jetpack sharing links.
|
300 |
+
* @param array $sharing_enabled Array of Sharing Services currently enabled.
|
301 |
+
*/
|
302 |
+
public static function render_sharing_html( $markup, $sharing_enabled ) {
|
303 |
+
if ( ! self::is_amp_request() ) {
|
304 |
+
return $markup;
|
305 |
+
}
|
306 |
+
|
307 |
+
remove_action( 'wp_footer', 'sharing_add_footer' );
|
308 |
+
if ( empty( $sharing_enabled ) ) {
|
309 |
+
return $markup;
|
310 |
+
}
|
311 |
+
$supported_services = array(
|
312 |
+
'facebook' => array(
|
313 |
+
/** This filter is documented in modules/sharedaddy/sharing-sources.php */
|
314 |
+
'data-param-app_id' => apply_filters( 'jetpack_sharing_facebook_app_id', '249643311490' ),
|
315 |
+
),
|
316 |
+
'twitter' => array(),
|
317 |
+
'pinterest' => array(),
|
318 |
+
'whatsapp' => array(),
|
319 |
+
'tumblr' => array(),
|
320 |
+
'linkedin' => array(),
|
321 |
+
);
|
322 |
+
$sharing_links = array();
|
323 |
+
foreach ( $sharing_enabled['visible'] as $id => $service ) {
|
324 |
+
if ( ! isset( $supported_services[ $id ] ) ) {
|
325 |
+
$sharing_links[] = "<!-- not supported: $id -->";
|
326 |
+
continue;
|
327 |
+
}
|
328 |
+
$args = array_merge(
|
329 |
+
array(
|
330 |
+
'type' => $id,
|
331 |
+
),
|
332 |
+
$supported_services[ $id ]
|
333 |
+
);
|
334 |
+
$sharing_link = '<amp-social-share';
|
335 |
+
foreach ( $args as $key => $value ) {
|
336 |
+
$sharing_link .= sprintf( ' %s="%s"', sanitize_key( $key ), esc_attr( $value ) );
|
337 |
+
}
|
338 |
+
$sharing_link .= '></amp-social-share>';
|
339 |
+
$sharing_links[] = $sharing_link;
|
340 |
+
}
|
341 |
+
return preg_replace( '#(?<=<div class="sd-content">).+?(?=</div>)#s', implode( '', $sharing_links ), $markup );
|
342 |
+
}
|
343 |
+
}
|
344 |
+
|
345 |
+
add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
|
346 |
+
|
347 |
+
add_action( 'admin_init', array( 'Jetpack_AMP_Support', 'admin_init' ), 1 );
|
348 |
+
|
3rd-party/class.jetpack-modules-overrides.php
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Provides methods for dealing with module overrides.
|
5 |
+
*
|
6 |
+
* @since 5.9.0
|
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
|
14 |
+
*/
|
15 |
+
private $overrides = null;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Clears the $overrides member used for caching.
|
19 |
+
*
|
20 |
+
* Since get_overrides() can be passed a falsey value to skip caching, this is probably
|
21 |
+
* most useful for clearing cache between tests.
|
22 |
+
*
|
23 |
+
* @return void
|
24 |
+
*/
|
25 |
+
public function clear_cache() {
|
26 |
+
$this->overrides = null;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Returns true if there is a filter on the jetpack_active_modules option.
|
31 |
+
*
|
32 |
+
* @return bool Whether there is a filter on the jetpack_active_modules option.
|
33 |
+
*/
|
34 |
+
public function do_overrides_exist() {
|
35 |
+
return (bool) ( has_filter( 'option_jetpack_active_modules' ) || has_filter( 'jetpack_active_modules' ) );
|
36 |
+
}
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Gets the override for a given module.
|
40 |
+
*
|
41 |
+
* @param string $module_slug The module's slug.
|
42 |
+
* @param boolean $use_cache Whether or not cached overrides should be used.
|
43 |
+
*
|
44 |
+
* @return bool|string False if no override for module. 'active' or 'inactive' if there is an override.
|
45 |
+
*/
|
46 |
+
public function get_module_override( $module_slug, $use_cache = true ) {
|
47 |
+
$overrides = $this->get_overrides( $use_cache );
|
48 |
+
|
49 |
+
if ( ! isset( $overrides[ $module_slug ] ) ) {
|
50 |
+
return false;
|
51 |
+
}
|
52 |
+
|
53 |
+
return $overrides[ $module_slug ];
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Returns an array of module overrides where the key is the module slug and the value
|
58 |
+
* is true if the module is forced on and false if the module is forced off.
|
59 |
+
*
|
60 |
+
* @param bool $use_cache Whether or not cached overrides should be used.
|
61 |
+
*
|
62 |
+
* @return array The array of module overrides.
|
63 |
+
*/
|
64 |
+
public function get_overrides( $use_cache = true ) {
|
65 |
+
if ( $use_cache && ! is_null( $this->overrides ) ) {
|
66 |
+
return $this->overrides;
|
67 |
+
}
|
68 |
+
|
69 |
+
if ( ! $this->do_overrides_exist() ) {
|
70 |
+
return array();
|
71 |
+
}
|
72 |
+
|
73 |
+
$available_modules = Jetpack::get_available_modules();
|
74 |
+
|
75 |
+
/**
|
76 |
+
* First, let's get all modules that have been forced on.
|
77 |
+
*/
|
78 |
+
|
79 |
+
/** This filter is documented in wp-includes/option.php */
|
80 |
+
$filtered = apply_filters( 'option_jetpack_active_modules', array() );
|
81 |
+
|
82 |
+
/** This filter is documented in class.jetpack.php */
|
83 |
+
$filtered = apply_filters( 'jetpack_active_modules', $filtered );
|
84 |
+
|
85 |
+
$forced_on = array_diff( $filtered, array() );
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Second, let's get all modules forced off.
|
89 |
+
*/
|
90 |
+
|
91 |
+
/** This filter is documented in wp-includes/option.php */
|
92 |
+
$filtered = apply_filters( 'option_jetpack_active_modules', $available_modules );
|
93 |
+
|
94 |
+
/** This filter is documented in class.jetpack.php */
|
95 |
+
$filtered = apply_filters( 'jetpack_active_modules', $filtered );
|
96 |
+
|
97 |
+
$forced_off = array_diff( $available_modules, $filtered );
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Last, build the return value.
|
101 |
+
*/
|
102 |
+
$return_value = array();
|
103 |
+
foreach ( $forced_on as $on ) {
|
104 |
+
$return_value[ $on ] = 'active';
|
105 |
+
}
|
106 |
+
|
107 |
+
foreach ( $forced_off as $off ) {
|
108 |
+
$return_value[ $off ] = 'inactive';
|
109 |
+
}
|
110 |
+
|
111 |
+
$this->overrides = $return_value;
|
112 |
+
|
113 |
+
return $return_value;
|
114 |
+
}
|
115 |
+
|
116 |
+
/**
|
117 |
+
* A reference to an instance of this class.
|
118 |
+
*
|
119 |
+
* @var Jetpack_Modules_Overrides
|
120 |
+
*/
|
121 |
+
private static $instance = null;
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Returns the singleton instance of Jetpack_Modules_Overrides
|
125 |
+
*
|
126 |
+
* @return Jetpack_Modules_Overrides
|
127 |
+
*/
|
128 |
+
public static function instance() {
|
129 |
+
if ( is_null( self::$instance ) ) {
|
130 |
+
self::$instance = new Jetpack_Modules_Overrides();
|
131 |
+
}
|
132 |
+
|
133 |
+
return self::$instance;
|
134 |
+
}
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Private construct to enforce singleton.
|
138 |
+
*/
|
139 |
+
private function __construct() {
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
Jetpack_Modules_Overrides::instance();
|
3rd-party/debug-bar.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Checks if the search module is active, and if so, will initialize the singleton instance
|
5 |
+
* of Jetpack_Search_Debug_Bar and add it to the array of debug bar panels.
|
6 |
+
*
|
7 |
+
* @param array $panels The array of debug bar panels.
|
8 |
+
* @return array $panel The array of debug bar panels with our added panel.
|
9 |
+
*/
|
10 |
+
function init_jetpack_search_debug_bar( $panels ) {
|
11 |
+
if ( ! Jetpack::is_module_active( 'search' ) ) {
|
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 |
+
}
|
19 |
+
add_filter( 'debug_bar_panels', 'init_jetpack_search_debug_bar' );
|
3rd-party/debug-bar/class.jetpack-search-debug-bar.php
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Singleton class instantiated by Jetpack_Searc_Debug_Bar::instance() that handles
|
5 |
+
* rendering the Jetpack Search debug bar menu item and panel.
|
6 |
+
*/
|
7 |
+
class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
|
8 |
+
/**
|
9 |
+
* Holds singleton instance
|
10 |
+
*
|
11 |
+
* @var Jetpack_Search_Debug_Bar
|
12 |
+
*/
|
13 |
+
protected static $instance = null;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* The title to use in the debug bar navigation
|
17 |
+
*
|
18 |
+
* @var string
|
19 |
+
*/
|
20 |
+
public $title;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Constructor
|
24 |
+
*/
|
25 |
+
public function __construct() {
|
26 |
+
$this->title( esc_html__( 'Jetpack Search', 'jetpack' ) );
|
27 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
28 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
29 |
+
add_action( 'login_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
30 |
+
add_action( 'enqueue_embed_scripts', array( $this, 'enqueue_scripts' ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Returns the singleton instance of Jetpack_Search_Debug_Bar
|
35 |
+
*
|
36 |
+
* @return Jetpack_Search_Debug_Bar
|
37 |
+
*/
|
38 |
+
public static function instance() {
|
39 |
+
if ( is_null( self::$instance ) ) {
|
40 |
+
self::$instance = new Jetpack_Search_Debug_Bar();
|
41 |
+
}
|
42 |
+
return self::$instance;
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Enqueues styles for our panel in the debug bar
|
47 |
+
*
|
48 |
+
* @return void
|
49 |
+
*/
|
50 |
+
public function enqueue_scripts() {
|
51 |
+
// Do not enqueue scripts if we haven't already enqueued Debug Bar or Query Monitor styles.
|
52 |
+
if ( ! wp_style_is( 'debug-bar' ) && ! wp_style_is( 'query-monitor' ) ) {
|
53 |
+
return;
|
54 |
+
}
|
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 |
+
|
67 |
+
/**
|
68 |
+
* Should the Jetpack Search Debug Bar show?
|
69 |
+
*
|
70 |
+
* Since we've previously done a check for the search module being activated, let's just return true.
|
71 |
+
* Later on, we can update this to only show when `is_search()` is true.
|
72 |
+
*
|
73 |
+
* @return boolean
|
74 |
+
*/
|
75 |
+
public function is_visible() {
|
76 |
+
return true;
|
77 |
+
}
|
78 |
+
|
79 |
+
/**
|
80 |
+
* Renders the panel content
|
81 |
+
*
|
82 |
+
* @return void
|
83 |
+
*/
|
84 |
+
public function render() {
|
85 |
+
if ( ! class_exists( 'Jetpack_Search' ) ) {
|
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'] );
|
99 |
+
unset( $last_query_info['response'] );
|
100 |
+
unset( $last_query_info['response_code'] );
|
101 |
+
|
102 |
+
if ( is_null( $last_query_info['es_time'] ) ) {
|
103 |
+
$last_query_info['es_time'] = esc_html_x(
|
104 |
+
'cache hit',
|
105 |
+
'displayed in search results when results are cached',
|
106 |
+
'jetpack'
|
107 |
+
);
|
108 |
+
}
|
109 |
+
|
110 |
+
$temp = array_merge(
|
111 |
+
array( 'response_code' => $response_code ),
|
112 |
+
array( 'args' => $args ),
|
113 |
+
$last_query_info,
|
114 |
+
array( 'response' => $response )
|
115 |
+
);
|
116 |
+
|
117 |
+
$last_query_info = $temp;
|
118 |
+
}
|
119 |
+
?>
|
120 |
+
<div class="jetpack-search-debug-bar">
|
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 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Responsible for rendering the HTML necessary for the JSON toggle
|
148 |
+
*
|
149 |
+
* @param array $value The resonse from the API as an array.
|
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;).
|
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 |
+
}
|
3rd-party/debug-bar/debug-bar.css
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.jetpack-search-debug-bar h2,
|
2 |
+
.qm-debug-bar-output .jetpack-search-debug-bar h2 {
|
3 |
+
float: none !important;
|
4 |
+
padding: 0 !important;
|
5 |
+
text-align: left !important;
|
6 |
+
}
|
7 |
+
|
8 |
+
.qm-debug-bar-output .jetpack-search-debug-bar h2 {
|
9 |
+
margin-top: 1em !important;
|
10 |
+
}
|
11 |
+
|
12 |
+
.qm-debug-bar-output .jetpack-search-debug-bar h2:first-child {
|
13 |
+
margin-top: .5em !important;
|
14 |
+
}
|
15 |
+
|
16 |
+
.debug-menu-target h3 {
|
17 |
+
padding-top: 0
|
18 |
+
}
|
19 |
+
|
20 |
+
.jetpack-search-debug-output-toggle .print-r {
|
21 |
+
display: none;
|
22 |
+
}
|
23 |
+
|
24 |
+
.json-toggle-wrap {
|
25 |
+
position: relative;
|
26 |
+
}
|
27 |
+
|
28 |
+
.json-toggle-wrap .toggle {
|
29 |
+
position: absolute;
|
30 |
+
bottom: 10px;
|
31 |
+
right: 10px;
|
32 |
+
background: #fff;
|
33 |
+
border: 1px solid #000;
|
34 |
+
cursor: pointer;
|
35 |
+
padding: 2px 4px;
|
36 |
+
}
|
37 |
+
|
38 |
+
.json-toggle-wrap .ugly {
|
39 |
+
display: none;
|
40 |
+
}
|
41 |
+
|
42 |
+
.json-toggle-wrap.pretty .pretty {
|
43 |
+
display: none;
|
44 |
+
}
|
45 |
+
|
46 |
+
.json-toggle-wrap.pretty .ugly {
|
47 |
+
display: inline;
|
48 |
+
}
|
49 |
+
|
50 |
+
.jetpack-search-debug-bar pre {
|
51 |
+
white-space: pre-wrap;
|
52 |
+
white-space: -moz-pre-wrap;
|
53 |
+
white-space: -pre-wrap;
|
54 |
+
white-space: -o-pre-wrap;
|
55 |
+
word-wrap: break-word;
|
56 |
+
}
|
3rd-party/debug-bar/debug-bar.js
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* global jQuery, JSON */
|
2 |
+
|
3 |
+
( function( $ ) {
|
4 |
+
$( document ).ready( function() {
|
5 |
+
$( '.jetpack-search-debug-bar .json-toggle-wrap .toggle' ).click( function() {
|
6 |
+
var t = $( this ),
|
7 |
+
wrap = t.closest( '.json-toggle-wrap' ),
|
8 |
+
pre = wrap.find( 'pre' ),
|
9 |
+
content = pre.text(),
|
10 |
+
isPretty = wrap.hasClass( 'pretty' );
|
11 |
+
|
12 |
+
if ( ! isPretty ) {
|
13 |
+
pre.text( JSON.stringify( JSON.parse( content ), null, 2 ) );
|
14 |
+
} else {
|
15 |
+
content.replace( '\t', '' ).replace( '\n', '' ).replace( ' ', '' );
|
16 |
+
pre.text( JSON.stringify( JSON.parse( content ) ) );
|
17 |
+
}
|
18 |
+
|
19 |
+
wrap.toggleClass( 'pretty' );
|
20 |
+
} );
|
21 |
+
} );
|
22 |
+
} )( jQuery );
|
3rd-party/domain-mapping.php
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class Jetpack_3rd_Party_Domain_Mapping
|
5 |
+
*
|
6 |
+
* This class contains methods that are used to provide compatibility between Jetpack sync and domain mapping plugins.
|
7 |
+
*/
|
8 |
+
class Jetpack_3rd_Party_Domain_Mapping {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var Jetpack_3rd_Party_Domain_Mapping
|
12 |
+
**/
|
13 |
+
private static $instance = null;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* An array of methods that are used to hook the Jetpack sync filters for home_url and site_url to a mapping plugin.
|
17 |
+
*
|
18 |
+
* @var array
|
19 |
+
*/
|
20 |
+
static $test_methods = array(
|
21 |
+
'hook_wordpress_mu_domain_mapping',
|
22 |
+
'hook_wpmu_dev_domain_mapping'
|
23 |
+
);
|
24 |
+
|
25 |
+
static function init() {
|
26 |
+
if ( is_null( self::$instance ) ) {
|
27 |
+
self::$instance = new Jetpack_3rd_Party_Domain_Mapping;
|
28 |
+
}
|
29 |
+
|
30 |
+
return self::$instance;
|
31 |
+
}
|
32 |
+
|
33 |
+
private function __construct() {
|
34 |
+
add_action( 'plugins_loaded', array( $this, 'attempt_to_hook_domain_mapping_plugins' ) );
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* This function is called on the plugins_loaded action and will loop through the $test_methods
|
39 |
+
* to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables.
|
40 |
+
*/
|
41 |
+
function attempt_to_hook_domain_mapping_plugins() {
|
42 |
+
if ( ! Jetpack_Constants::is_defined( 'SUNRISE' ) ) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
+
|
46 |
+
$hooked = false;
|
47 |
+
$count = count( self::$test_methods );
|
48 |
+
for ( $i = 0; $i < $count && ! $hooked; $i++ ) {
|
49 |
+
$hooked = call_user_func( array( $this, self::$test_methods[ $i ] ) );
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* This method will test for a constant and function that are known to be used with Donncha's WordPress MU
|
55 |
+
* Domain Mapping plugin. If conditions are met, we hook the domain_mapping_siteurl() function to Jetpack sync
|
56 |
+
* filters for home_url and site_url callables.
|
57 |
+
*
|
58 |
+
* @return bool
|
59 |
+
*/
|
60 |
+
function hook_wordpress_mu_domain_mapping() {
|
61 |
+
if ( ! Jetpack_Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) {
|
62 |
+
return false;
|
63 |
+
}
|
64 |
+
|
65 |
+
add_filter( 'jetpack_sync_home_url', 'domain_mapping_siteurl' );
|
66 |
+
add_filter( 'jetpack_sync_site_url', 'domain_mapping_siteurl' );
|
67 |
+
|
68 |
+
return true;
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* This method will test for a class and method known to be used in WPMU Dev's domain mapping plugin. If the
|
73 |
+
* method exists, then we'll hook the swap_to_mapped_url() to our Jetpack sync filters for home_url and site_url.
|
74 |
+
*
|
75 |
+
* @return bool
|
76 |
+
*/
|
77 |
+
function hook_wpmu_dev_domain_mapping() {
|
78 |
+
if ( ! $this->class_exists( 'domain_map' ) || ! $this->method_exists( 'domain_map', 'utils' ) ) {
|
79 |
+
return false;
|
80 |
+
}
|
81 |
+
|
82 |
+
$utils = $this->get_domain_mapping_utils_instance();
|
83 |
+
add_filter( 'jetpack_sync_home_url', array( $utils, 'swap_to_mapped_url' ) );
|
84 |
+
add_filter( 'jetpack_sync_site_url', array( $utils, 'swap_to_mapped_url' ) );
|
85 |
+
|
86 |
+
return true;
|
87 |
+
}
|
88 |
+
|
89 |
+
/*
|
90 |
+
* Utility Methods
|
91 |
+
*
|
92 |
+
* These methods are very minimal, and in most cases, simply pass on arguments. Why create them you ask?
|
93 |
+
* So that we can test.
|
94 |
+
*/
|
95 |
+
|
96 |
+
public function method_exists( $class, $method ) {
|
97 |
+
return method_exists( $class, $method );
|
98 |
+
}
|
99 |
+
|
100 |
+
public function class_exists( $class ) {
|
101 |
+
return class_exists( $class );
|
102 |
+
}
|
103 |
+
|
104 |
+
public function function_exists( $function ) {
|
105 |
+
return function_exists( $function );
|
106 |
+
}
|
107 |
+
|
108 |
+
public function get_domain_mapping_utils_instance() {
|
109 |
+
return domain_map::utils();
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
Jetpack_3rd_Party_Domain_Mapping::init();
|
3rd-party/polldaddy.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Prevent qTranslate X from redirecting REST calls.
|
4 |
+
*
|
5 |
+
* @since 5.3
|
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 |
+
*/
|
13 |
+
function jetpack_no_qtranslate_rest_url_redirect( $url_lang, $url_orig, $url_info ) {
|
14 |
+
if ( false !== strpos( $url_info['wp-path'], 'wp-json/jetpack' ) ) {
|
15 |
+
return false;
|
16 |
+
}
|
17 |
+
return $url_lang;
|
18 |
+
}
|
19 |
+
add_filter( 'qtranslate_language_detect_redirect', 'jetpack_no_qtranslate_rest_url_redirect', 10, 3 );
|
3rd-party/vaultpress.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Notify user that VaultPress has been disabled. Hide VaultPress notice that requested attention.
|
5 |
+
*
|
6 |
+
* @since 5.8
|
7 |
+
*/
|
8 |
+
function jetpack_vaultpress_rewind_enabled_notice() {
|
9 |
+
// The deactivation is performed here because there may be pages that admin_init runs on,
|
10 |
+
// such as admin_ajax, that could deactivate the plugin without showing this notification.
|
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 vp-deactivated">
|
19 |
+
<h2 style="margin-bottom: 0.25em;"><?php _e( 'Jetpack is now handling your backups.', 'jetpack' ); ?></h2>
|
20 |
+
<p><?php _e( 'VaultPress is no longer needed and has been deactivated.', 'jetpack' ); ?></p>
|
21 |
+
</div>
|
22 |
+
<style>#vp-notice{display:none;}</style>
|
23 |
+
<?php
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* If Backup & Scan is enabled, remove its entry in sidebar, deactivate VaultPress, and show a notification.
|
28 |
+
*
|
29 |
+
* @since 5.8
|
30 |
+
*/
|
31 |
+
function jetpack_vaultpress_rewind_check() {
|
32 |
+
if ( Jetpack::is_active() &&
|
33 |
+
Jetpack::is_plugin_active( 'vaultpress/vaultpress.php' ) &&
|
34 |
+
Jetpack::is_rewind_enabled()
|
35 |
+
) {
|
36 |
+
remove_submenu_page( 'jetpack', 'vaultpress' );
|
37 |
+
|
38 |
+
add_action( 'admin_notices', 'jetpack_vaultpress_rewind_enabled_notice' );
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
add_action( 'admin_init', 'jetpack_vaultpress_rewind_check', 11 );
|
3rd-party/woocommerce-services.php
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
class WC_Services_Installer {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @var Jetpack
|
11 |
+
**/
|
12 |
+
private $jetpack;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* @var WC_Services_Installer
|
16 |
+
**/
|
17 |
+
private static $instance = null;
|
18 |
+
|
19 |
+
static function init() {
|
20 |
+
if ( is_null( self::$instance ) ) {
|
21 |
+
self::$instance = new WC_Services_Installer();
|
22 |
+
}
|
23 |
+
return self::$instance;
|
24 |
+
}
|
25 |
+
|
26 |
+
public function __construct() {
|
27 |
+
$this->jetpack = Jetpack::init();
|
28 |
+
|
29 |
+
add_action( 'admin_init', array( $this, 'add_error_notice' ) );
|
30 |
+
add_action( 'admin_init', array( $this, 'try_install' ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Verify the intent to install WooCommerce Services, and kick off installation.
|
35 |
+
*/
|
36 |
+
public function try_install() {
|
37 |
+
if ( ! isset( $_GET['wc-services-action'] ) ) {
|
38 |
+
return;
|
39 |
+
}
|
40 |
+
check_admin_referer( 'wc-services-install' );
|
41 |
+
|
42 |
+
$result = false;
|
43 |
+
|
44 |
+
switch ( $_GET['wc-services-action'] ) {
|
45 |
+
case 'install':
|
46 |
+
if ( current_user_can( 'install_plugins' ) ) {
|
47 |
+
$this->jetpack->stat( 'jitm', 'wooservices-install-' . JETPACK__VERSION );
|
48 |
+
$result = $this->install();
|
49 |
+
if ( $result ) {
|
50 |
+
$result = $this->activate();
|
51 |
+
}
|
52 |
+
}
|
53 |
+
break;
|
54 |
+
|
55 |
+
case 'activate':
|
56 |
+
if ( current_user_can( 'activate_plugins' ) ) {
|
57 |
+
$this->jetpack->stat( 'jitm', 'wooservices-activate-' . JETPACK__VERSION );
|
58 |
+
$result = $this->activate();
|
59 |
+
}
|
60 |
+
break;
|
61 |
+
}
|
62 |
+
|
63 |
+
$redirect = isset( $_GET['redirect'] ) ? admin_url( $_GET['redirect'] ) : wp_get_referer();
|
64 |
+
|
65 |
+
if ( $result ) {
|
66 |
+
$this->jetpack->stat( 'jitm', 'wooservices-activated-' . JETPACK__VERSION );
|
67 |
+
} else {
|
68 |
+
$redirect = add_query_arg( 'wc-services-install-error', true, $redirect );
|
69 |
+
}
|
70 |
+
|
71 |
+
wp_safe_redirect( $redirect );
|
72 |
+
|
73 |
+
exit;
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Set up installation error admin notice.
|
78 |
+
*/
|
79 |
+
public function add_error_notice() {
|
80 |
+
if ( ! empty( $_GET['wc-services-install-error'] ) ) {
|
81 |
+
add_action( 'admin_notices', array( $this, 'error_notice' ) );
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Notify the user that the installation of WooCommerce Services failed.
|
87 |
+
*/
|
88 |
+
public function error_notice() {
|
89 |
+
?>
|
90 |
+
<div class="notice notice-error is-dismissible">
|
91 |
+
<p><?php _e( 'There was an error installing WooCommerce Services.', 'jetpack' ); ?></p>
|
92 |
+
</div>
|
93 |
+
<?php
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Download and install the WooCommerce Services plugin.
|
98 |
+
*
|
99 |
+
* @return bool result of installation
|
100 |
+
*/
|
101 |
+
private function install() {
|
102 |
+
include_once( ABSPATH . '/wp-admin/includes/admin.php' );
|
103 |
+
include_once( ABSPATH . '/wp-admin/includes/plugin-install.php' );
|
104 |
+
include_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
105 |
+
include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' );
|
106 |
+
include_once( ABSPATH . '/wp-admin/includes/class-plugin-upgrader.php' );
|
107 |
+
|
108 |
+
$api = plugins_api( 'plugin_information', array( 'slug' => 'woocommerce-services' ) );
|
109 |
+
|
110 |
+
if ( is_wp_error( $api ) ) {
|
111 |
+
return false;
|
112 |
+
}
|
113 |
+
|
114 |
+
$upgrader = new Plugin_Upgrader( new Automatic_Upgrader_Skin() );
|
115 |
+
$result = $upgrader->install( $api->download_link );
|
116 |
+
|
117 |
+
return true === $result;
|
118 |
+
}
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Activate the WooCommerce Services plugin.
|
122 |
+
*
|
123 |
+
* @return bool result of activation
|
124 |
+
*/
|
125 |
+
private function activate() {
|
126 |
+
$result = activate_plugin( 'woocommerce-services/woocommerce-services.php' );
|
127 |
+
|
128 |
+
// activate_plugin() returns null on success
|
129 |
+
return is_null( $result );
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
WC_Services_Installer::init();
|
3rd-party/woocommerce.php
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
10 |
+
*/
|
11 |
+
if ( ! class_exists( 'WooCommerce' ) ) {
|
12 |
+
return;
|
13 |
+
}
|
14 |
+
|
15 |
+
add_action( 'woocommerce_share', 'jetpack_woocommerce_social_share_icons', 10 );
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Wrap in function exists check since this requires WooCommerce 3.3+.
|
19 |
+
*/
|
20 |
+
if ( function_exists( 'wc_get_default_products_per_row' ) ) {
|
21 |
+
add_filter( 'infinite_scroll_render_callbacks', 'jetpack_woocommerce_infinite_scroll_render_callback', 10 );
|
22 |
+
add_action( 'wp_enqueue_scripts', 'jetpack_woocommerce_infinite_scroll_style', 10 );
|
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 |
+
|
37 |
+
/**
|
38 |
+
* Remove sharing display from account, cart, and checkout pages in WooCommerce.
|
39 |
+
*/
|
40 |
+
function jetpack_woocommerce_remove_share() {
|
41 |
+
/**
|
42 |
+
* Double check WooCommerce exists - unlikely to fail due to the hook being used but better safe than sorry.
|
43 |
+
*/
|
44 |
+
if ( ! class_exists( 'WooCommerce' ) ) {
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
|
48 |
+
if ( is_cart() || is_checkout() || is_account_page() ) {
|
49 |
+
remove_filter( 'the_content', 'sharing_display', 19 );
|
50 |
+
if ( class_exists( 'Jetpack_Likes' ) ) {
|
51 |
+
remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
55 |
+
add_action( 'loop_start', 'jetpack_woocommerce_remove_share' );
|
56 |
+
|
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 ) {
|
64 |
+
$callbacks[] = 'jetpack_woocommerce_infinite_scroll_render';
|
65 |
+
return $callbacks;
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Add a default renderer for WooCommerce products within infinite scroll.
|
70 |
+
*/
|
71 |
+
function jetpack_woocommerce_infinite_scroll_render() {
|
72 |
+
if ( ! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag() ) {
|
73 |
+
return;
|
74 |
+
}
|
75 |
+
|
76 |
+
woocommerce_product_loop_start();
|
77 |
+
|
78 |
+
while ( have_posts() ) {
|
79 |
+
the_post();
|
80 |
+
wc_get_template_part( 'content', 'product' );
|
81 |
+
}
|
82 |
+
|
83 |
+
woocommerce_product_loop_end();
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
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 );
|
3rd-party/wpml.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Only load these if WPML plugin is installed and active.
|
4 |
+
*/
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Load routines only if WPML is loaded.
|
8 |
+
*
|
9 |
+
* @since 4.4.0
|
10 |
+
*/
|
11 |
+
function wpml_jetpack_init() {
|
12 |
+
add_action( 'jetpack_widget_get_top_posts', 'wpml_jetpack_widget_get_top_posts', 10, 3 );
|
13 |
+
add_filter( 'grunion_contact_form_field_html', 'grunion_contact_form_field_html_filter', 10, 3 );
|
14 |
+
}
|
15 |
+
add_action( 'wpml_loaded', 'wpml_jetpack_init' );
|
16 |
+
|
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 ) {
|
30 |
+
$lang_information = wpml_get_language_information( $post['post_id'] );
|
31 |
+
if ( ! is_wp_error( $lang_information ) ) {
|
32 |
+
$post_language = substr( $lang_information['locale'], 0, 2 );
|
33 |
+
if ( $post_language !== $sitepress->get_current_language() ) {
|
34 |
+
unset( $posts[ $k ] );
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
return $posts;
|
40 |
+
}
|
41 |
+
|
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' ) ) {
|
55 |
+
if ( $sitepress->get_current_language() !== $sitepress->get_default_language() ) {
|
56 |
+
$label_translation = icl_translate( 'jetpack ', $field_label . '_label', $field_label );
|
57 |
+
$r = str_replace( $field_label, $label_translation, $r );
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
return $r;
|
62 |
+
}
|
CODE-OF-CONDUCT.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/
|
_inc/accessible-focus.js
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
8 |
+
if ( keyboardNavigationKeycodes.indexOf( event.keyCode ) !== -1 ) {
|
9 |
+
keyboardNavigation = true;
|
10 |
+
document.documentElement.classList.add( 'accessible-focus' );
|
11 |
+
}
|
12 |
+
} );
|
13 |
+
document.addEventListener( 'mouseup', function() {
|
14 |
+
if ( ! keyboardNavigation ) {
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
keyboardNavigation = false;
|
18 |
+
document.documentElement.classList.remove( 'accessible-focus' );
|
19 |
+
} );
|
_inc/blocks/business-hours/view.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:left}.jetpack-business-hours dt{clear:both;font-weight:700;margin-right:.5rem}.jetpack-business-hours dd{margin:0}
|
_inc/blocks/business-hours/view.deps.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
[]
|
_inc/blocks/business-hours/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=252)}({252:function(e,t,n){n(36),e.exports=n(253)},253:function(e,t,n){"use strict";n.r(t);n(68)},27:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},36:function(e,t,n){"use strict";n.r(t);n(27)},68:function(e,t,n){}}));
|
_inc/blocks/business-hours/view.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:right}.jetpack-business-hours dt{clear:both;font-weight:700;margin-left:.5rem}.jetpack-business-hours dd{margin:0}
|
_inc/blocks/contact-info/view.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-contact-info{margin-bottom:1.5em}
|
_inc/blocks/contact-info/view.deps.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
[]
|
_inc/blocks/contact-info/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=254)}({254:function(e,t,n){n(36),e.exports=n(255)},255:function(e,t,n){"use strict";n.r(t);n(72)},27:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},36:function(e,t,n){"use strict";n.r(t);n(27)},72:function(e,t,n){}}));
|
_inc/blocks/contact-info/view.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-contact-info{margin-bottom:1.5em}
|
_inc/blocks/editor-beta.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours dd span{display:block}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:left}.jetpack-business-hours dt{clear:both;font-weight:700;margin-right:.5rem}.jetpack-business-hours dd{margin:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:var(--muriel-hot-red-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:var(--muriel-hot-green-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-membership-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-membership-button .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-membership-button .membership-button__field-price{margin-left:10px}.wp-block-jetpack-membership-button .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-membership-button .membership-button__field-button{margin:4px}.wp-block-jetpack-membership-button .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-membership-button .membership-button__disclaimer{margin-top:20px;font-style:italic}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:.8em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;transform:scale(1)}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field{padding:7px}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}
|
_inc/blocks/editor-beta.deps.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
["lodash","moment","react","wp-api-fetch","wp-blob","wp-blocks","wp-components","wp-compose","wp-data","wp-date","wp-edit-post","wp-editor","wp-element","wp-escape-html","wp-hooks","wp-i18n","wp-keycodes","wp-plugins","wp-token-list"]
|
_inc/blocks/editor-beta.js
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],o=t[1],c=0,s=[];c<a.length;c++)r=a[c],i[r]&&s.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={3:0},i={3:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{11:1,12:1}[e]&&t.push(r[e]=new Promise(function(t,n){for(var r="rtl"===document.dir?({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".rtl.css":({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".css",i=a.p+r,o=document.getElementsByTagName("link"),c=0;c<o.length;c++){var s=(u=o[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===r||s===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var u;if((s=(u=l[c]).getAttribute("data-href"))===r||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.request=r,n(a)},p.href=i,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){r[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=function(e){return a.p+""+({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".js"}(e),c=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,o=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");o.type=r,o.request=a,n[1](o)}i[e]=void 0}};var l=setTimeout(function(){c({type:"timeout",target:s})},12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return a(a.s=249)}([function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.components},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.editor},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(70),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(71);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;
|
2 |
+
/*!
|
3 |
+
Copyright (c) 2017 Jed Watson.
|
4 |
+
Licensed under the MIT License (MIT), see
|
5 |
+
http://jedwatson.github.io/classnames
|
6 |
+
*/
|
7 |
+
/*!
|
8 |
+
Copyright (c) 2017 Jed Watson.
|
9 |
+
Licensed under the MIT License (MIT), see
|
10 |
+
http://jedwatson.github.io/classnames
|
11 |
+
*/
|
12 |
+
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=i.apply(null,r);o&&e.push(o)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.blocks},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(80);var p=/[&<>"]/,h=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function m(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(59);t.lib={},t.lib.mdurl=n(81),t.lib.ucmicro=n(135),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)})},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(h,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(13),i=n.n(r),a=n(16),o=n(93),c=n(44),s=o.beta||[];function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(c.a)(e),o=r.available;r.unavailableReason;if(!o)return!1;var l=Object(a.registerBlockType)("jetpack/".concat(e),s.includes(e)?i()({},t,{title:"".concat(t.title," (beta)")}):t);return n.forEach(function(e){return Object(a.registerBlockType)("jetpack/".concat(e.name),e.settings)}),l}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"h",function(){return a}),n.d(t,"i",function(){return o}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return p});var r=["image"],i=4,a=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(48),i=n(49),a=n(50);e.exports=function(e,t){return r(e)||i(e,t)||a()}},function(e,t,n){var r=n(65),i=n(66),a=n(67);e.exports=function(e){return r(e)||i(e)||a()}},function(e,t){e.exports=wp.blob},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n(1),a={name:"map",prefix:"jetpack",title:Object(i.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i._x)("map","block search term","jetpack"),Object(i._x)("location","block search term","jetpack"),Object(i._x)("navigation","block search term","jetpack")],description:Object(i.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.__)("Basic","jetpack")},{value:"black_and_white",label:Object(i.__)("Black and white","jetpack")},{value:"satellite",label:Object(i.__)("Satellite","jetpack")},{value:"terrain",label:Object(i.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},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){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){e.exports=wp.keycodes},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"a",function(){return o}),n.d(t,"e",function(){return c});var r="after-visits",i="before-visits",a=3,o="jp-visit-counter",c=15552e3},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return u});var r=n(57),i=n(5),a=16/9,o=.8,c=600,s="wp-block-jetpack-slideshow_autoplay-paused";function l(e){u(e),p(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",function(){e.el&&(e.el.classList.contains(s)?(e.el.classList.remove(s),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(s),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))})}function u(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,a),1),i="undefined"!=typeof window?window.innerHeight*o:c,s=Math.min(e.width/r,i),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}}function p(e){Object(i.forEach)(e.slides,function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")}),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(e)}function h(e){Object(i.forEach)(e.pagination.bullets,function(t){t.addEventListener("click",function(){var t=e.slides[e.realIndex];setTimeout(function(){t.focus()},500)})})}},function(e,t){e.exports=React},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=_(0,0,0,0);function f(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+f(e["border-"+n+"-width"])},0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],a=e["padding-"+i];t[i]=f(a)}return t}(r),a=i.left+i.right,o=i.top+i.bottom,c=f(r.width),s=f(r.height);if("border-box"===r.boxSizing&&(Math.round(c+a)!==t&&(c-=b(r,"left","right")+a),Math.round(s+o)!==n&&(s-=b(r,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(c+a)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return _(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return _(0,0,t.width,t.height)}(e):g(e):m}function _(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){return function(e,t){var n,r,i,a,o,c,s,l=(r=(n=t).x,i=n.y,a=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),s);h(this,{target:e,contentRect:l})}}(),O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new k(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new O(t,n,this);w.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var C=void 0!==a.ResizeObserver?a.ResizeObserver:E;t.a=C},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(42),i=n(44);function a(e,t){var n=Object(i.a)(e),a=n.available;n.unavailableReason;return!!a&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(10),m=n.n(d),f=n(0),b=n(1),g=n(12),v=n.n(g),y=n(15),_=n(2),j=n(6),k=n(5),O=window.getComputedStyle,w=Object(_.withFallbackStyles)(function(e,t){var n,r,i,a,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=O(r).backgroundColor),n&&(a=O(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||a}}),E=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,a=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},i()(e,a,a),i()(e,"has-background",r),i()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,a=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(j.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,formattingControls:[]})),Object(f.createElement)(j.InspectorControls,null,Object(f.createElement)(j.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){a(e),i({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),i({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(j.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(y.compose)([Object(j.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){"use strict";var r=n(209),i=n(211);function a(){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){i.isString(e)&&(e=y(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={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},v=n(212);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),c=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var _=s.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var j=o.exec(y);if(j){var k=(j=j[0]).toLowerCase();this.protocol=k,y=y.substr(j.length)}if(n||j||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||j&&b[j]||(y=y.substr(2),this.slashes=!0)}if(!b[j]&&(O||j&&!g[j])){for(var w,E,C=-1,x=0;x<h.length;x++){-1!==(S=y.indexOf(h[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(w=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(w)),C=-1;for(x=0;x<p.length;x++){var S;-1!==(S=y.indexOf(p[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var M=F[x];if(M&&!M.match(d)){for(var T="",D=0,N=M.length;D<N;D++)M.charCodeAt(D)>127?T+="x":T+=M[D];if(!T.match(d)){var z=F.slice(0,x),L=F.slice(x+1),R=M.match(m);R&&(z.push(R[1]),L.unshift(R[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=z.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var I=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+I,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){I=this.pathname||"";var G=this.search||"";this.path=I+G}return this.href=this.format(),this},a.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||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(c=c.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[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 p=Object.keys(e),h=0;h<p.length;h++){var d=p[h];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.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 f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),j=_||y||n.host&&e.pathname,k=j,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(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&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),j=j&&(""===m[0]||""===O[0])),_)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=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.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,x=0,S=O.length;S>=0;S--)"."===(E=O[S])?O.splice(S,1):".."===E?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!j&&!k)for(;x--;x)O.unshift("..");!j||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(j=j||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.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},a.prototype.parseHost=function(){var e=this.host,t=c.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){var r=n(108);e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t){function n(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function c(e){n(o,i,a,c,s,"next",e)}function s(e){n(o,i,a,c,s,"throw",e)}c(void 0)})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),i=n(2),a=n(45),o=n(42),c=(n(115),n(46)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(a.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null})}})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function i(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t){e.exports=wp.plugins},function(e,t,n){"use strict";var r=n(13),i=n.n(r),a=n(96),o=n.n(a),c=n(97),s=n.n(c),l=n(55),u=n.n(l),p=n(98),h=n.n(p),d=n(64),m=n.n(d),f=n(99),b=n.n(f),g=n(63);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(a?
|
13 |
+
/*
|
14 |
+
* Exposes number format capability
|
15 |
+
*
|
16 |
+
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
17 |
+
* @license See CREDITS.md
|
18 |
+
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
19 |
+
*/
|
20 |
+
function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,a):""+Math.round(i)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<a&&(s[1]=s[1]||"",s[1]+=new Array(a-s[1].length+1).join("0")),s.join(c)}var y=o()("i18n-calypso"),_=[function(e){return e}],j={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function C(e,t){for(var n=_.length-1;n>=0;n--){var r=_[n](Object.assign({},t));if(e.state.locale[r.original])return E(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:h()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v(e,"number"==typeof t?t:t.decimals||0,t.decPoint||this.state.numberFormatSettings.decimal_point||".",t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",")},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==j[n+e])return j[n+e];var r=b()().update(e).digest("hex");return j[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)_.push(r(!1));else{var i=t.substr(5).indexOf("-");if(i<0){var a=Number(t.substr(5));_.push(r(a))}else for(var o=Number(t.substr(5,i)),c=Number(t.substr(6+i)),s=o;s<=c;s++)_.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=E(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=E(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!C(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var i=C(this,t);if(i||(i=E(this.state.jed,t)),t.args){var a=Array.isArray(t.args)?t.args.slice(0):[t.args];a.unshift(i);try{i=u.a.sprintf.apply(u.a,a)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",a)}}return t.components&&(i=s()({mixedString:i,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach(function(e){i=e(i,t)}),n&&this.state.translations.set(e,i),i},x.prototype.reRenderTranslations=function(){y("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),M=n.n(P),T=n(11),D=n.n(T),N=n(8),z=n.n(N),L=n(9),R=n.n(L),I=n(4),B=n.n(I),q=n(10),V=n.n(q),H=n(3),U=n.n(H),G=n(31),$=n.n(G),K=n(21),Z=n.n(K),W=new F,J=(W.moment,W.numberFormat.bind(W)),Y=(W.translate.bind(W),W.configure.bind(W),W.setLocale.bind(W),W.getLocale.bind(W),W.getLocaleSlug.bind(W),W.addTranslations.bind(W),W.reRenderTranslations.bind(W),W.registerComponentUpdateHook.bind(W),W.registerTranslateHook.bind(W),W.state,W.stateObserver,W.on.bind(W),W.off.bind(W),W.emit.bind(W),A={moment:(S=W).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(W),n(41));function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var a=i()({},r,n),o=a.decimal,c=a.grouping,s=a.precision,l=a.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",function(){return X})},function(e,t,n){"use strict";var r=n(13),i=n.n(r),a=n(5),o="Jetpack_Editor_Initial_State";function c(e){var t=Object(a.get)("object"==typeof window?window:null,[o],null),n=Object(a.get)(t,["available_blocks",e,"available"],!1),r=Object(a.get)(t,["available_blocks",e,"unavailable_reason"],"unknown");return i()({available:n},!n&&{unavailableReason:r})}n.d(t,"a",function(){return c})},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(0),i=n(2),a=n(12),o=n.n(a);t.a=function(e){var t=e.size,n=void 0===t?24:t,a=e.className;return Object(r.createElement)(i.SVG,{className:o()("jetpack-logo",a),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return s});var r=n(21),i=n.n(r),a=n(20);function o(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],d=1/c*(n-a.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map(function(e){return(n-a.b*(e.childElementCount-1))*p(e)[0]}),s=o(c,r);i.forEach(function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=o(u(e).map(function(e){return i/h(e)}),n);Array.from(e.children).forEach(function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-a.b*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:d,rowWidth:n-a.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce(function(e,t){var n=i()(e,2),r=n[0],a=n[1],o=i()(t,2),c=o[0],s=o[1];return[r+c,a+s]},[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=wp.date},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,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=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-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,a=n(31),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),i=n(1),a=n(2),o=n(42),c=n(40),s=Object(a.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("Likes and Sharing","jetpack")},e)):null})}})},function(e,t,n){var r=n(35),i=n(215),a=n(216),o=n(217)("photon");e.exports=function(e,t){var n=r.parse(e,!0,!0),s="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=r.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,h=i(p),d=a(h),m="i"+Math.floor(3*d()),o('determined server "%s" to use with "%s"',m,p),m+".wp.com"),s&&(l.query.ssl=1)}var p,h,d,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[c[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=r.format(l);return o("generated Photon URL: %s",g),g};var c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){
|
21 |
+
/**
|
22 |
+
* @preserve jed.js https://github.com/SlexAxton/Jed
|
23 |
+
*/
|
24 |
+
!function(n,r){var i=Array.prototype,a=Object.prototype,o=i.slice,c=a.hasOwnProperty,s=i.forEach,l={},u={forEach:function(e,t,n){var r,i,a;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(a in e)if(c.call(e,a)&&t.call(n,e[a],a,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function h(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var a;if(r=r||n,e=e||this._textdomain,!this.options)return(a=new p).dcnpgettext.call(a,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,d=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===i)s=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");s=h(f)(i)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(o=d[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[h(f)(i)]),c[h()(i)]):(c=o[s])||(c=[n,r])[h()(i)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,a,o,c,s,l,u,p=1,h=n.length,d="",m=[];for(a=0;a<h;a++)if("string"===(d=e(n[a])))m.push(n[a]);else if("array"===d){if((c=n[a])[2])for(i=r[p],o=0;o<c[2].length;o++){if(!i.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);i=i[c[2][o]]}else i=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(i))throw b("[sprintf] expecting number but found %s",e(i));switch(null==i&&(i=""),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(c[8])&&c[3]&&i>=0?"+"+i:i,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(i).length,s=c[6]?t(l,u):"",m.push(c[5]?i+s:s+i)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var a=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(a.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))a.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";a.push(c[1])}n[2]=a}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}();p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),b.apply(null,t)}(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},p.PF={},p.PF.parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,a,o){var c=a.length-1;switch(i){case 1:return{type:"GROUP",expr:a[c-1]};case 2:this.$={type:"TERNARY",expr:a[c-4],truthy:a[c-2],falsey:a[c]};break;case 3:this.$={type:"OR",left:a[c-2],right:a[c]};break;case 4:this.$={type:"AND",left:a[c-2],right:a[c]};break;case 5:this.$={type:"LT",left:a[c-2],right:a[c]};break;case 6:this.$={type:"LTE",left:a[c-2],right:a[c]};break;case 7:this.$={type:"GT",left:a[c-2],right:a[c]};break;case 8:this.$={type:"GTE",left:a[c-2],right:a[c]};break;case 9:this.$={type:"NEQ",left:a[c-2],right:a[c]};break;case 10:this.$={type:"EQ",left:a[c-2],right:a[c]};break;case 11:this.$={type:"MOD",left:a[c-2],right:a[c]};break;case 12:this.$={type:"GROUP",expr:a[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,m,f,b,g,v,y,_,j,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==h&&(h=p()),f=a[m]&&a[m][h]),void 0===f||!f.length||!f[0]){if(!l){for(g in _=[],a[m])this.terminals_[g]&&g>2&&_.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:_})}if(3==l){if(1==h)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,h=p()}for(;!(2..toString()in a[m]);){if(0==m)throw new Error(O||"Parsing halted.");j=1,n.length=n.length-2*j,r.length=r.length-j,i.length=i.length-j,m=n[n.length-1]}d=h,h=2,f=a[m=n[n.length-1]]&&a[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(f[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(f[1]),h=null,d?(h=d,d=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:i[i.length-(v||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(v||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,i)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),i=i.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),i.push(k._$),y=a[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(21),i=n.n(r),a=n(39),o=n.n(a),c=n(5);n(91);function s(){return l.apply(this,arguments)}function l(){return(l=o()(regeneratorRuntime.mark(function e(){var t,r,a,o,s,l,u,p=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},a=p.length>2&&void 0!==p[2]?p[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(a,function(e){return function(){e(this)}})},e.next=6,Promise.all([n.e(12).then(n.t.bind(null,246,7)),n.e(12).then(n.t.bind(null,247,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},o,r)));case 10:case"end":return e.stop()}},e)}))).apply(this,arguments)}},function(e,t){e.exports=wp.escapeHtml},function(e,t,n){"use strict";var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),_=n(1),j=n(5),k=n(2),O=(n(76),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"handleClick",function(){(0,n.props.onClick)(m()(n))}),v()(m()(n),"getPoint",function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,a=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,E=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"closeClick",function(){n.props.unsetActiveMarker()}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=E;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()}),v()(m()(e),"onMapClick",function(){e.setState({activeMarker:null})}),v()(m()(e),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(m()(e),"updateActiveMarker",function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(j.assign)(i[r],t),e.props.onSetPoints(i)}),v()(m()(e),"deleteActiveMarker",function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})}),v()(m()(e),"sizeMap",function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=.8*window.innerHeight,a=Math.min(.75*r,i);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()}),v()(m()(e),"setBoundsByMarkers",function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,a=e.state,o=a.map,c=a.activeMarker,s=a.mapboxgl,l=a.zoomControl,u=a.boundsSetProgrammatically;if(o&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),r.length>1)return o.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void o.removeControl(l);if(o.setCenter(p.getCenter()),u){o.setZoom(12),i(12)}else o.setZoom(parseInt(n,10));o.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(m()(e),"scriptsLoaded",function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(j.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,a=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,d=Object(j.get)(s,"props.point")||{},m=d.title,f=d.caption,b=y.Children.map(i,function(e){if("AddPoint"===Object(j.get)(e,"props.tagName"))return e}),g=c&&l&&n.map(function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:a,onClick:u})}),v=l&&Object(y.createElement)(C,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.TextControl,{label:Object(_.__)("Marker Title","jetpack"),value:m,onChange:function(e){return h({title:e})}}),Object(y.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(_.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(_.__)("Delete Marker","jetpack"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,m),Object(y.createElement)("p",null,f)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,a=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(11).then(n.t.bind(null,279,7)),n.e(11).then(n.t.bind(null,280,7))]).then(function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,a=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",function(e){o("mapbox_error",e.error.message)});var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",function(){t.props.onSetZoom(s.getZoom())}),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(90),i=n(89);function a(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=s(i.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,i){var a=n-t;r(a%4==0);for(var o=new Array(a/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===i?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,o=(a<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+a>>>0)<a?1:0,e+n+i+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,o,c){return t+r+a+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+a>>>0)<a?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,o,c,s,l){return t+r+a+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,a,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var l=s.length,u=m(s,l);for(n=0;n<l;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,p(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,p(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},c.prototype.listenerCount=d,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){e.exports=moment},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){},,function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=n(130)},function(e,t,n){"use strict";e.exports.encode=n(131),e.exports.decode=n(132),e.exports.format=n(133),e.exports.parse=n(134)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=a,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,a,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=a,i--),n=0;n<i;n+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(a=e.tokens[r.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&o.push(i.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=a)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,a=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=o?"strong_open":"em_open",i.tag=o?"strong":"em",i.nesting=1,i.markup=o?a+a:a,i.content="",(i=e.tokens[r.token]).type=o?"strong_close":"em_close",i.tag=o?"strong":"em",i.nesting=-1,i.markup=o?a+a:a,i.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){},,function(e){e.exports={production:["business-hours","contact-form","contact-info","gif","likes","mailchimp","map","markdown","publicize","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],beta:["seo"]}},function(e,t,n){"use strict";e.exports=n(129)},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 i,a,o=n[r.type],c=t(r);if(o)for(i=0;i<o.length;i++)(a=o[i](r,e))&&e.dispatch(a);return c}}}).effects=n,t}},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)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},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;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var 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(185)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=c(n(31)),a=c(n(187)),o=c(n(190));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,h,d,m,f=[],b={};for(h=0;h<e.length;h++)if("string"!==(p=e[h]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=h;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,i=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+i.value+"`")}(c,e),d=l(e.slice(c+1,u),t),o=i.default.cloneElement(n,{},d),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach(function(e,t){e&&(b["interpolation-child-"+t]=e)}),(0,a.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,o.default)(t);try{return l(a,n)}catch(c){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(63),i=n(89);function a(e){if(!(this instanceof a))return new a(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=a,i(a,r.EventEmitter),Object.defineProperty(a.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),a.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},a.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},a.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},a.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},a.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},a.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},a.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},a.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(62),i=n(191),a=n(192),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=a.ft_1,u=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],u=this.h[2],h=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(i,5),l(m,a,u,h),d,n[r],p[m]);d=h,h=u,u=o(a,30),a=i,i=f}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t){e.exports=wp.tokenList},function(e,t){e.exports=wp.hooks},function(e,t,n){},,function(e,t,n){},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";var r=n(17),i=n(137),a=n(141),o=n(142),c=n(150),s=n(164),l=n(177),u=n(81),p=n(179),h={default:n(180),zero:n(181),commonmark:n(182)},d=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!d.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new a,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),a=0,o=e.length;a<o;a++)if(c=e.charCodeAt(a),n&&37===c&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))u+=e.slice(a,a+3),a+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<o&&(s=e.charCodeAt(a+1))>=56320&&s<=57343){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[a]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,a,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(a=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&a)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&a)&&128==(192&o))?(l+=(s=i<<12&61440|a<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&a)&&128==(192&o)&&128==(192&c))?((s=i<<18&1835008|a<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,a,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(f);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&d[g]||(f=f.substr(2),this.slashes=!0)),!d[g]&&(s||g&&!m[g])){var v,y,_=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===_||c<_)&&(_=c);for(-1!==(y=-1===_?f.lastIndexOf("@"):f.lastIndexOf("@",_))&&(v=f.slice(0,y),f=f.slice(y+1),this.auth=v),_=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===_||c<_)&&(_=c);-1===_&&(_=f.length),":"===f[_-1]&&_--;var j=f.slice(0,_);f=f.slice(_),this.parseHost(j),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var E="",C=0,x=w.length;C<x;C++)w.charCodeAt(C)>127?E+="x":E+=w[C];if(!E.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(h);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var M=f.indexOf("?");return-1!==M&&(this.search=f.substr(M),f=f.slice(0,M)),f&&(this.pathname=f),m[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(82),t.Cc=n(83),t.Cf=n(136),t.P=n(59),t.Z=n(84)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(138),t.parseLinkDestination=n(139),t.parseLinkTitle=n(140)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(17).isSpace,i=n(17).unescapeAll;e.exports=function(e,t,n){var a,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t))||r(a))return s;if(62===a)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n)t+=2;else{if(40===a&&o++,41===a){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(17).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return s;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(17).assign,i=n(17).unescapeAll,a=n(17).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",d="";return h&&(d=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,d)||a(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+d]):l[s][1]+=" "+n.langPrefix+d,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return a(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",a=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===o.nesting?"</":"<")+o.tag,i+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(i+=" /"),o.block&&(a=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?a=!1:-1===r.nesting&&r.tag===o.tag&&(a=!1))),i+=a?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,c=e.length;o<c;o++)void 0!==a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,a=e.length;i<a;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,a,o="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(a=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[a]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(60),i=[["normalize",n(143)],["block",n(144)],["inline",n(145)],["linkify",n(146)],["replacements",n(147)],["smartquotes",n(148)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},a.prototype.State=n(149),e.exports=a},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(17).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j=e.tokens;if(e.md.options.linkify)for(n=0,a=j.length;n<a;n++)if("inline"===j[n].type&&e.md.linkify.pretest(j[n].content))for(f=0,t=(o=j[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(_=s.content,/^<a[>\s]/i.test(_)&&f>0&&f--,i(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],m=s.level,d=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>d&&((c=new e.Token("text","",0)).content=p.slice(d,h),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),d=y[u].lastIndex);d<p.length&&((c=new e.Token("text","",0)).content=p.slice(d),c.level=m,l.push(c)),j[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,a=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(a,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(17).isWhiteSpace,i=n(17).isPunctChar,a=n(17).isMdAsciiPunct,o=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,o,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E,C,x,S;for(C=[],n=0;n<e.length;n++){for(o=e[n],m=e[n].level,w=C.length-1;w>=0&&!(C[w].level<=m);w--);if(C.length=w+1,"text"===o.type){h=0,d=(u=o.content).length;e:for(;h<d&&(c.lastIndex=h,p=c.exec(u));){if(k=O=!0,h=p.index+1,E="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<d)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=a(b)||i(String.fromCharCode(b)),y=a(g)||i(String.fromCharCode(g)),_=r(b),(j=r(g))?k=!1:y&&(_||v||(k=!1)),_?O=!1:v&&(j||y||(O=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(O=k=!1),k&&O&&(k=!1,O=y),k||O){if(O)for(w=C.length-1;w>=0&&(f=C[w],!(C[w].level<m));w--)if(f.single===E&&C[w].level===m){f=C[w],E?(x=t.md.options.quotes[2],S=t.md.options.quotes[3]):(x=t.md.options.quotes[0],S=t.md.options.quotes[1]),o.content=l(o.content,p.index,S),e[f.token].content=l(e[f.token].content,f.pos,x),h+=S.length-1,f.token===n&&(h+=x.length-1),d=(u=o.content).length,C.length=w;continue e}k?C.push({token:n,pos:p.index,single:E,level:m}):O&&E&&(o.content=l(o.content,p.index,s))}else E&&(o.content=l(o.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(61);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(60),i=[["table",n(151),["paragraph","reference"]],["code",n(152)],["fence",n(153),["paragraph","reference","blockquote","list"]],["blockquote",n(154),["paragraph","reference","blockquote","list"]],["hr",n(155),["paragraph","reference","blockquote","list"]],["list",n(156),["paragraph","reference","blockquote"]],["reference",n(157)],["heading",n(158),["paragraph","reference","blockquote"]],["lheading",n(159)],["html_block",n(160),["paragraph","reference","blockquote"]],["paragraph",n(162)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}a.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),a=i.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},a.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},a.prototype.State=n(163),e.exports=a},function(e,t,n){"use strict";var r=n(17).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function a(e){var t,n=[],r=0,i=e.length,a=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):a%2==0&&(c=!0,s=r):124!==t||a%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?a++:a=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,h,d,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),f=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(h=a(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=a(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<d;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u]?h[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(a=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),a.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,a,o,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(a=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(o=e.src.slice(h,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(d=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<a||(h=e.skipSpaces(h))<d)){p=!0;break}return a=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,a,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E=e.lineMax,C=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(i)return!0;for(s=d=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,d++,a=!1,_=!0):9===e.src.charCodeAt(C)?(_=!0,(e.bsCount[t]+d)%4==3?(C++,s++,d++,a=!1):a=!0):_=!1,m=[e.bMarks[t]],e.bMarks[t]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?d+=4-(d+e.bsCount[t]+(a?1:0))%4:d++,C++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((C=e.bMarks[h]+e.tShift[h])>=(x=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(C++)||w){if(u)break;for(j=!1,c=0,l=k.length;c<l;c++)if(k[c](e,h,n,!0)){j=!0;break}if(j){e.lineMax=h,0!==e.blkIndent&&(m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=d=e.sCount[h]+C-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(C)?(C++,s++,d++,a=!1,_=!0):9===e.src.charCodeAt(C)?(_=!0,(e.bsCount[h]+d)%4==3?(C++,s++,d++,a=!1):a=!0):_=!1,m.push(e.bMarks[h]),e.bMarks[h]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?d+=4-(d+e.bsCount[h]+(a?1:0))%4:d++,C++;u=C>=x,f.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(_?1:0),v.push(e.sCount[h]),e.sCount[h]=d-s,y.push(e.tShift[h]),e.tShift[h]=C-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,h),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(l++))&&45!==a&&95!==a)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==a&&!r(c))return!1;c===a&&o++}return!(o<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0))}},function(e,t,n){"use strict";var r=n(17).isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=o)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}e.exports=function(e,t,n,r){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E,C,x,S,A,F,P,M,T,D=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(D=!0),(S=a(e,t))>=0){if(h=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),D&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(D&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(T=e.push("ordered_list_open","ol",1),1!==v&&(T.attrs=[["start",v]])):T=e.push("bullet_list_open","ul",1),T.map=f=[t,0],T.markup=String.fromCharCode(g),_=t,A=!1,M=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";_<n;){for(x=S,y=e.eMarks[_],p=j=e.sCount[_]+S-(e.bMarks[t]+e.tShift[t]);x<y;){if(9===(o=e.src.charCodeAt(x)))j+=4-(j+e.bsCount[_])%4;else{if(32!==o)break;j++}x++}if((u=(c=x)>=y?1:j-p)>4&&(u=1),l=p+u,(T=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),T.map=d=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=j,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(N=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=O,e.tight=C,(T=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),_=t=e.line,d[1]=_,c=e.bMarks[t],_>=n)break;if(e.sCount[_]<e.blkIndent)break;for(P=!1,s=0,m=M.length;s<m;s++)if(M[s](e,_,n,!0)){P=!0;break}if(P)break;if(h){if((S=a(e,_))<0)break}else if((S=i(e,_))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(T=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=_,e.line=_,e.parentType=w,N&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t,n,a){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,_=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(y=!1,p=0,h=_.length;p<h;p++)if(_[p](e,E,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(j=b.str,O=b.pos,k+=b.lines):(j="",O=c,k=s);O<w&&(o=v.charCodeAt(O),i(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&j)for(j="",O=c,k=s;O<w&&(o=v.charCodeAt(O),i(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(d=r(v.slice(1,m)))&&(!!a||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:j,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,a=e.src.charCodeAt(++l);35===a&&l<u&&o<=6;)o++,a=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(a))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c,s,l,u,p,h,d=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d])<(l=e.eMarks[d])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,a=0,o=m.length;a<o;a++)if(m[a](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(161),i=n(85).HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<a.length&&!a[i][0].test(s);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),a[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(61),i=n(17).isSpace;function a(e,t,n,r){var a,o,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(a=o.charCodeAt(s),!h){if(i(a)){u++,9===a?p+=4-p%4:p++;continue}h=!0}10!==a&&s!==l-1||(10!==a&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},a.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},a.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},a.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},a.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},a.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},a.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},a.prototype.getLines=function(e,t,n,r){var a,o,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),a=0;h<t;h++,a++){for(o=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&o<n;){if(c=this.src.charCodeAt(s),i(c))9===c?o+=4-(o+this.bsCount[h])%4:o++;else{if(!(s-p<this.tShift[h]))break;o++}s++}u[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(60),i=[["text",n(165)],["newline",n(166)],["escape",n(167)],["backticks",n(168)],["strikethrough",n(86).tokenize],["emphasis",n(87).tokenize],["link",n(169)],["image",n(170)],["autolink",n(171)],["html_inline",n(172)],["entity",n(173)]],a=[["balance_pairs",n(174)],["strikethrough",n(86).postProcess],["emphasis",n(87).postProcess],["text_collapse",n(175)]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](c)},o.prototype.State=n(176),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t){var n,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},function(e,t,n){"use strict";for(var r=n(17).isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),a++;a<o&&(n=e.src.charCodeAt(a),r(n));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),a=o=s;-1!==(a=e.src.indexOf("`",o));){for(o=a+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-a===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,a).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?l=u.pos:d=""),b=l;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);else h="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;d=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",d]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d,m,f,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(d=h.str,u=h.pos;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);else d="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,d=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,d&&n.push(["title",d])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,a,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(a=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(85).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,o=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=a)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(80),i=n(17).has,a=n(17).isValidEntityCode,o=n(17).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=a(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,a=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=a[t]).close)for(n=t-r.jump-1;n>=0;){if((i=a[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(61),i=n(17).isWhiteSpace,a=n(17).isPunctChar,o=n(17).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,d,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||a(String.fromCharCode(n)),d=o(r)||a(String.fromCharCode(r)),u=i(n),(h=i(r))?f=!1:d&&(u||p||(f=!1)),u?b=!1:p&&(h||d||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||d)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(178)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var r,o={validate:null,link:null};if(e.__compiled__[t]=o,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?a(n.validate)?o.validate=n.validate:u(t,n):o.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}),void(a(n.normalize)?o.normalize=n.normalize:n.normalize?u(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function d(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(82).source,t.src_Cc=n(83).source,t.src_Z=n(84).source,t.src_P=n(59).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",function(){return m}),n.d(t,"ucs2encode",function(){return f}),n.d(t,"decode",function(){return v}),n.d(t,"encode",function(){return y}),n.d(t,"toASCII",function(){return j}),n.d(t,"toUnicode",function(){return _});var r=n(22),i=n.n(r),a=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function h(e){throw new RangeError(l[e])}function d(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function m(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}var f=function(e){return String.fromCodePoint.apply(String,i()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,i=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&h("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var d=i,m=1,f=36;;f+=36){p>=r&&h("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((a-i)/m))&&h("overflow"),i+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var y=36-v;m>u(a/y)&&h("overflow"),m*=y}var _=n.length+1;c=g(i-d,_,0==d),u(i/_)>a-o&&h("overflow"),o+=u(i/_),i%=_,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},y=function(e){var t=[],n=(e=m(e)).length,r=128,i=0,o=72,c=!0,s=!1,l=void 0;try{for(var d,f=e[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var v=d.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var y=t.length,_=y;for(y&&t.push("-");_<n;){var j=a,k=!0,O=!1,w=void 0;try{for(var E,C=e[Symbol.iterator]();!(k=(E=C.next()).done);k=!0){var x=E.value;x>=r&&x<j&&(j=x)}}catch(B){O=!0,w=B}finally{try{k||null==C.return||C.return()}finally{if(O)throw w}}var S=_+1;j-r>u((a-i)/S)&&h("overflow"),i+=(j-r)*S,r=j;var A=!0,F=!1,P=void 0;try{for(var M,T=e[Symbol.iterator]();!(A=(M=T.next()).done);A=!0){var D=M.value;if(D<r&&++i>a&&h("overflow"),D==r){for(var N=i,z=36;;z+=36){var L=z<=o?1:z>=o+26?26:z-o;if(N<L)break;var R=N-L,I=36-L;t.push(p(b(L+R%I,0))),N=u(R/I)}t.push(p(b(N,0))),o=g(i,S,_==y),i=0,++_}}}catch(B){F=!0,P=B}finally{try{A||null==T.return||T.return()}finally{if(F)throw P}}++i,++r}return t.join("")},_=function(e){return d(e,function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e})},j=function(e){return d(e,function(e){return c.test(e)?"xn--"+y(e):e})},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:y,toASCII:j,toUnicode:_};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},,function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e}),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(186),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=7*a,c=365.25*a;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return s(e,t,a,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=n(31),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(88),o=n(188),c=n(189),s=".",l=":",u="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function h(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function d(e,t,n,r){var a,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===i)return n(r,e,""===t?s+h(e,0):t),1;var m=0,f=""===t?s:t+l;if(Array.isArray(e))for(var b=0;b<e.length;b++)m+=d(a=e[b],f+h(a,b),n,r);else{var g=function(e){var t=e&&(u&&e[u]||e[p]);if("function"==typeof t)return t}(e);if(g){0;for(var v,y=g.call(e),_=0;!(v=y.next()).done;)m+=d(a=v.value,f+h(a,_++),n,r)}else if("object"===c){0;var j=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===j?"object with keys {"+Object.keys(e).join(", ")+"}":j,"")}}return m}var m=/\/+/g;function f(e){return(""+e).replace(m,"$&/")}var b,g,v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},_=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function j(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function k(e,t,n){var i,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?O(p,c,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(i=p,o=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(i,{key:o},void 0!==i.props?i.props.children:void 0)),c.push(p))}function O(e,t,n,r,i){var a="";null!=n&&(a=f(n)+"/");var o=j.getPooled(t,a,r,i);!function(e,t,n){null==e||d(e,"",t,n)}(e,k,o),j.release(o)}j.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},b=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(g=j).instancePool=[],g.getPooled=b||v,g.poolSize||(g.poolSize=10),g.release=_;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,a,o,c,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,a,o,c,s],p=0;(l=new Error(t.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(88);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(62),i=n(90);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(62).rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof window&&window;a.global!==a&&a.window!==a&&a.self;var o,c=2147483647,s=36,l=1,u=26,p=38,h=700,d=72,m=128,f="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=s-l,j=Math.floor,k=String.fromCharCode;function O(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function x(e){return w(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?j(e/h):e>>1,e+=j(e/t);e>_*u>>1;r+=s)e=j(e/_);return j(r+(_+1)*e/(e+p))}function F(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],_=e.length,k=0,w=m,E=d;for((n=e.lastIndexOf(f))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&O("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(a=k,o=1,p=s;i>=_&&O("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>j((c-k)/o))&&O("overflow"),k+=h*o,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=s)o>j(c/(g=s-b))&&O("overflow"),o*=g;E=A(k-a,t=y.length+1,0==a),j(k/t)>c-w&&O("overflow"),w+=j(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function P(e){var t,n,r,i,a,o,p,h,b,g,v,y,_,w,E,x=[];for(y=(e=C(e)).length,t=m,n=0,a=d,o=0;o<y;++o)(v=e[o])<128&&x.push(k(v));for(r=i=x.length,i&&x.push(f);r<y;){for(p=c,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>j((c-n)/(_=r+1))&&O("overflow"),n+=(p-t)*_,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>c&&O("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=s)E=h-g,w=s-g,x.push(k(S(g+E%w,0))),h=j(E/w);x.push(k(S(h,0))),a=A(n,_,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:C,encode:x},decode:F,encode:P,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+P(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?F(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(210)(e))},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";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(213),t.encode=t.stringify=n(214)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,d,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),h=decodeURIComponent(u),d=decodeURIComponent(p),r(a,h)?Array.isArray(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var a=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return a+encodeURIComponent(r(e))}).join(t):a+encodeURIComponent(r(e[i]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,a,o=-1;for(t=0,i=e.length;t<i;t+=1){for(a=255&(o^e[t]),r=0;r<8;r+=1)1==(1&a)?a=a>>>1^n:a>>>=1;o=o>>>8^a}return-1^o}function i(e,n){var r,a,o;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,a=0,o=e.length;a<o;a+=1)r=r>>>8^t[255&(r^e[a])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,function(e){return e.charCodeAt(0)})):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],a=window,o=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,a=0,o=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);a<r;)c[a]=a++;for(a=0;a<r;a++)c[a]=c[o=l&o+e[a%n]+(t=c[a])],c[o]=t;(i.g=function(e){for(var t,n=0,a=i.i,o=i.j,c=i.S;e--;)t=c[a=l&a+1],n=n*r+c[l&(c[a]=c[o=l&o+t])+(c[o]=t)];return i.i=a,i.j=o,n})(r)}function h(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var l=[],u=(h(function e(t,n){var r,i=[],a=(typeof t)[0];if(n&&"o"==a)for(r in t)try{i.push(e(t[r],n-1))}catch(o){}return i.length?i:"s"==a?t:t+"\0"}(n&&n.entropy||!1?[t,d(i)]:0 in arguments?t:function(e){try{return a.crypto.getRandomValues(e=new Uint8Array(r)),d(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,d(i)]}}(),3),l),new p(l));return h(d(u.S),i),function(){for(var e=u.g(6),t=o,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},h(Math.random(),i)},function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(218)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,a=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(a=i))}),e.splice(a,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)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="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.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"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,i=+new Date,a=i-(n||i);e.diff=a,e.prev=n,e.curr=i,n=i;for(var o=new Array(arguments.length),c=0;c<o.length;c++)o[c]=arguments[c];o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var i=t.formatters[r];if("function"==typeof i){var a=o[s];n=i.call(e,a),o.splice(s,1),s--}return n}),t.formatArgs.call(e,o),(r.log||t.log||console.log.bind(console)).apply(e,o)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=i,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function i(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var a=t.instances[n];a.enabled=t.enabled(a.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(219),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=365.25*a;function c(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*i;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?c(s=e,a,"day")||c(s,i,"hour")||c(s,r,"minute")||c(s,n,"second")||s+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",function(){return At}),n.d(r,"attributes",function(){return Pt}),n.d(r,"support",function(){return Mt});var i=n(18),a=n(13),o=n.n(a),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),h=n(5),d=n(2),m=n(22),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),_=n(8),j=n.n(_),k=n(9),O=n.n(k),w=n(4),E=n.n(w),C=n(10),x=n.n(C),S=n(6),A=[{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],F=Object(u.__)("Pick an image filter","jetpack");function P(e){var t=e.value,n=e.onChange;return Object(l.createElement)(d.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(d.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:F,tooltip:F,icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(d.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map(function(e){var i,a=e.icon,o=e.title,c=e.value;return Object(l.createElement)(d.MenuItem,{className:t===c?"is-active":void 0,icon:a,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},o)}))}})}var M=n(12),T=n.n(M),D=n(28),N=n(23),z=n(14),L=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",function(){n.props.isSelected||n.props.onSelect()}),s()(E()(n),"onImageKeyDown",function(e){n.img.current===document.activeElement&&n.props.isSelected&&[D.BACKSPACE,D.DELETE].includes(e.keyCode)&&n.props.onRemove()}),n}return x()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,a=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!a&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,a=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,h=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(h){case"media":e=g;break;case"attachment":e=p}var y=Object(N.isBlobURL)(f),_=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:y?void 0:g,srcSet:y?void 0:b,tabIndex:"0",style:y?{backgroundImage:"url(".concat(f,")")}:void 0}),y&&Object(l.createElement)(d.Spinner,null));return Object(l.createElement)("figure",{className:T()("tiled-gallery__item",s()({"is-selected":c,"is-transient":y},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(d.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,_):_)}}]),t}(l.Component),R=Object(z.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(L);function I(e){var t,n=e.alt,r=e.imageFilter,i=e.height,a=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(N.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":a,"data-link":o,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:T()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},d):d)}var B=n(32);function q(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:T()("tiled-gallery__row",n)},t)}var U=n(47);function G(e){var t=e.height,n=e.width;return t&&n?n/t:1}var $=pe([2,1,2],5),K=he([de,de,me,de,de]),Z=he([de,de,de,me,de,de,de]),W=pe([3,1,3],5),J=he([me,de,de,me]),Y=pe([1,2,1],5),X=he([me,de,de,de]),Q=pe([1,3],3),ee=he([de,de,de,me]),te=pe([3,1],3),ne=he([be(1.6),Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2))]),re=pe([1,2],3),ie=pe([1,1,1,1,1],1),ae=pe([1,1,1,1],1),oe=pe([1,1,1],3),ce=he([Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2)),be(1.6)]),se=pe([2,1],3),le=he([function(e){return e>=2}]);function ue(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&K(r)&&$(n)?[2,1,2]:r.length>15&&Z(r)&&W(n)?[3,1,3]:5!==r.length&&J(r)&&Y(n)?[1,2,1]:X(r)&&Q(n)?[1,3]:ee(r)&&te(n)?[3,1]:ne(r)&&re(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ie(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ae(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&oe(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:ce(r)&&se(n)?[2,1]:le(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function pe(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),function(t){return Object(h.isEqual)(t,e)})}}function he(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function de(e){return e>=1&&e<2}function me(e){return e<1}function fe(e){return function(t){return t>=e}}function be(e){return function(t){return t<e}}var ge=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(U.a)(n).forEach(function(e){return Object(U.b)(e,r)})},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}})}),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,G)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):ue(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(H,{key:t},e.map(function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(q,{key:t},n)}))}))}}]),t}(l.Component),ve=n(20);function ye(e){var t=e.columns,n=e.renderedImages,r=Math.min(ve.h,t),i=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(q,{key:t},e)}))}))}var _e=n(37),je=n.n(_e),ke=n(54),Oe=n.n(ke),we=n(35);function Ee(e){return["circle","square"].includes(e)}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(N.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],i=e.height,a=e.width,o=t.layoutStyle,c=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?xe:Oe.a;if(Ee(o)&&a&&i){var s=Math.min(ve.i,a,i);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l;if(Ee(o)){var u=Math.min(600,a,i),p=Math.min(ve.i,a,i);l=Object(h.range)(u,p,300).map(function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"all"});return t?"".concat(t," ").concat(e,"w"):null}).filter(Boolean).join(",")}else{var d=Math.min(600,a),m=Math.min(ve.i,a);l=Object(h.range)(d,m,300).map(function(e){var t=c(r,{strip:"all",width:e});return t?"".concat(t," ").concat(e,"w"):null}).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,je()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(we.format)(i)}var Se=function(e){function t(){return g()(this,t),j()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,a=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,d=n.setImageAttributes,m=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),f=a?I:R,b=Ce(e,{layoutStyle:c}),g=b.src,v=b.srcSet;return Object(l.createElement)(f,{alt:e.alt,"aria-label":m,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:a?void 0:s(t),onSelect:a?void 0:p(t),origUrl:e.url,setAttributes:a?void 0:d(t),srcSet:v,url:g,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=Ee(o)?ye:ge,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Ae=n(102),Fe=n.n(Ae);function Pe(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=new Fe.a(t).values()[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var c=a.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(h.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,i=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return Object(h.find)(e,"isDefault")}(e,t);return n?n.name:null}var Me=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function Te(e){return Math.min(3,e.images.length)}var De=function(e){var t=Object(h.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(h.get)(e,["sizes","large","url"])||Object(h.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ne=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:ve.a,filesList:e,onFileChange:function(e){var r=e.map(function(e){return De(e)});n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})}),s()(E()(n),"onRemoveImage",function(e){return function(){var t=Object(h.filter)(n.props.attributes.images,function(t,n){return e!==n}),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}}),s()(E()(n),"onSelectImage",function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}}),s()(E()(n),"onSelectImages",function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map(function(e){return De(e)})})}),s()(E()(n),"setColumnsNumber",function(e){return n.setAttributes({columns:e})}),s()(E()(n),"setImageAttributes",function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],t)],f()(r.slice(e+1)))})}}),s()(E()(n),"setLinkTo",function(e){return n.setAttributes({linkTo:e})}),s()(E()(n),"uploadFromFiles",function(e){return n.addFiles(e.target.files)}),n}return x()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,a=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,h=r.columns,m=void 0===h?Te(r):h,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(d.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ve.a,multiple:!0,gallery:!0,value:b.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(l.createElement)(d.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit Gallery","jetpack"),icon:"edit",onClick:t})}})),Object(l.createElement)(P,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:Lt}),className:a,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ve.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var _=Pe(ve.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(d.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(_)&&b.length>1&&Object(l.createElement)(d.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ve.h,b.length)}),Object(l.createElement)(d.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:Me}))),c,Object(l.createElement)(Se,{align:p,className:a,columns:m,imageFilter:f,images:b,layoutStyle:_,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(d.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),ze=Object(d.withNotices)(Ne);n(220);function Le(e){var t,n=e["aria-label"],r=e.alt,i=e.height,a=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(N.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Re(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function Ie(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Be(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:T()("tiled-gallery__row",n)},t)}var qe=n(21),Ve=n.n(qe),He=4,Ue=20,Ge=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function $e(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function Ke(e,t){!function(e,t,n){var r=Ve()(t,2),i=r[0],a=r[1],o=1/i*(n-He*(e.childElementCount-1)-a);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=Ze(e),a=i.map(function(e){return(n-He*(e.childElementCount-1))*Je(e)[0]}),o=$e(a,r);i.forEach(function(e,t){var r=a[t],i=o[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=$e(We(e).map(function(e){return i/Ye(e)}),n);Array.from(e.children).forEach(function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-He*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:o,rowWidth:n-He*(e.childElementCount-1)})}(e,function(e){return Ze(e).map(Je).reduce(function(e,t){var n=Ve()(e,2),r=n[0],i=n[1],a=Ve()(t,2),o=a[0],c=a[1];return[r+o,i+c]},[0,0])}(e),t)}function Ze(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function We(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function Je(e){var t=We(e),n=t.length,r=1/t.map(Ye).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function Ye(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function Xe(e){var t=e.height,n=e.width;return t&&n?n/t:1}var Qe=vt([2,1,2],5),et=yt([_t,_t,jt,_t,_t]),tt=yt([_t,_t,_t,jt,_t,_t,_t]),nt=vt([3,1,3],5),rt=yt([jt,_t,_t,jt]),it=vt([1,2,1],5),at=yt([jt,_t,_t,_t]),ot=vt([1,3],3),ct=yt([_t,_t,_t,jt]),st=vt([3,1],3),lt=yt([Ot(1.6),Object(h.overEvery)(kt(.9),Ot(2)),Object(h.overEvery)(kt(.9),Ot(2))]),ut=vt([1,2],3),pt=vt([1,1,1,1,1],1),ht=vt([1,1,1,1],1),dt=vt([1,1,1],3),mt=yt([Object(h.overEvery)(kt(.9),Ot(2)),Object(h.overEvery)(kt(.9),Ot(2)),Ot(1.6)]),ft=vt([2,1],3),bt=yt([function(e){return e>=2}]);function gt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&et(r)&&Qe(n)?[2,1,2]:r.length>15&&tt(r)&&nt(n)?[3,1,3]:5!==r.length&&rt(r)&&it(n)?[1,2,1]:at(r)&&ot(n)?[1,3]:ct(r)&&st(n)?[3,1]:lt(r)&&ut(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&pt(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ht(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&dt(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:mt(r)&&ft(n)?[2,1]:bt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function vt(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),function(t){return Object(h.isEqual)(t,e)})}}function yt(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function _t(e){return e>=1&&e<2}function jt(e){return e<1}function kt(e){return function(t){return t>=e}}function Ot(e){return function(t){return t<e}}var wt=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e,t=i.value,n=t.contentRect,r=t.target,a=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach(function(e){return Ke(e,a)})},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}})}),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,Xe)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):gt(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(Ie,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(Be,{key:t},e.map(function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(Re,{key:t},n)}))}))}}]),t}(l.Component);function Et(e){var t=e.columns,n=e.renderedImages,r=Math.min(Ue,t),i=n.length%r;return Object(l.createElement)(Ie,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(Be,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(Re,{key:t},e)}))}))}var Ct=function(e){function t(){return g()(this,t),j()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(N.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?St:Oe.a;if(xt(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return a(i,{resize:"".concat(o,",").concat(o)})}return a(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,a=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Le,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:a===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=xt(o)?Et:wt,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function xt(e){return["circle","square"].includes(e)}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,je()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(we.format)(i)}function At(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,a=t.columns,o=void 0===a?function(e){return Math.min(3,e.images.length)}(t):a,c=t.linkTo;return Object(l.createElement)(Ct,{align:r,className:i,columns:o,images:n,layoutStyle:Pe(Ge,i),linkTo:c})}var Ft,Pt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Mt={align:["center","wide","full"],customClassName:!1,html:!1},Tt=(Ft={},s()(Ft,ve.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Ft,ve.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Ft,ve.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Ft,ve.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Ft),Dt=ve.g.map(function(e){return o()({},e,{label:Tt[e.name]})});function Nt(e){return Object(h.filter)(e,function(e){var t=e.id,n=e.url;return t&&n})}var zt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ve.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Lt=Object(l.createElement)(d.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(d.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Rt={attributes:zt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack"),icon:Lt,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Dt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Nt(e).length>0},transform:function(e){var t=Nt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}}),ids:t.map(function(e){return e.id})})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Nt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}}),ids:t.map(function(e){return e.id})}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,i=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:i})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map(function(e){var n=e.id,r=e.url,i=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:i})}):Object(p.createBlock)("core/image")}}]},edit:ze,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,a=t.className,o=t.columns,c=void 0===o?Te(t):o,s=t.linkTo;return Object(l.createElement)(Se,{align:i,className:a,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Pe(ve.g,a),linkTo:s})},deprecated:[r]};Object(i.a)("tiled-gallery",Rt)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",function(){return p}),n.d(r,"refreshConnectionTestResults",function(){return h}),n.d(r,"fetchFromAPI",function(){return d});var i={};n.r(i),n.d(i,"getFailedConnections",function(){return m}),n.d(i,"getMustReauthConnections",function(){return f});var a=n(0),o=n(1),c=n(2),s=n(45),l=n(6),u=(n(183),n(14));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function h(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function d(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter(function(e){return!1===e.test_success})}function f(e){return e.filter(function(e){return"must_reauth"===e.test_success}).map(function(e){return e.service_name})}var b=n(22),g=n.n(b),v=n(95),y=n.n(v),_=n(5),j=n(39),k=n.n(j),O=n(24),w=n.n(O);function E(){return(E=k()(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,w()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(p(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}},e,null,[[1,8]])}))).apply(this,arguments)}var C={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return E.apply(this,arguments)}};var x,S,A,F,P,M={FETCH_FROM_API:function(e){var t=e.path;return w()({path:t})}},T=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:M,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=T,A=[y()(C)],F=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},P={getState:x.getState,dispatch:function(){return F.apply(void 0,arguments)}},S=A.map(function(e){return e(P)}),F=_.flowRight.apply(void 0,g()(S))(x.dispatch),x.dispatch=F;var D=n(40),N=n(15),z=n(7),L=n.n(z),R=n(11),I=n.n(R),B=n(8),q=n.n(B),V=n(9),H=n.n(V),U=n(4),G=n.n(U),$=n(10),K=n.n($),Z=n(3),W=n.n(Z),J=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"refreshConnectionClick",function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var a=window.open(r,i,""),o=window.setInterval(function(){!1!==a.closed&&(window.clearInterval(o),n.props.refreshConnections())},500)}),n}return K()(t,e),I()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter(function(e){return e.can_refresh});return t.length?Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map(function(t){return Object(a.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)})):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter(function(e){return!e.can_refresh});return e.length?e.map(function(e){return Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,e.test_message))}):null}},{key:"render",value:function(){return Object(a.createElement)(a.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(a.Component),Y=Object(N.compose)([Object(u.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}}),Object(u.withDispatch)(function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}})])(J),X=n(13),Q=n.n(X),ee=n(12),te=n.n(ee),ne=n(26),re=n.n(ne),ie=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ae=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),oe=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ce=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),se=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(a.createElement)(c.Icon,re()({icon:ie},n));case"twitter":return Object(a.createElement)(c.Icon,re()({icon:ae},n));case"linkedin":return Object(a.createElement)(c.Icon,re()({icon:oe},n));case"tumblr":return Object(a.createElement)(c.Icon,re()({icon:ce},n))}return null};function le(){return window&&window._currentSiteId?window._currentSiteId:window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}var ue=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"maybeDisplayLinkedInNotice",function(){return n.connectionNeedsReauth()&&Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(a.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(le())},Object(o.__)("Go to Sharing settings","jetpack")))}),W()(G()(n),"connectionNeedsReauth",function(){return Object(_.includes)(n.props.mustReauthConnections,n.props.name)}),W()(G()(n),"onConnectionChange",function(){var e=n.props.id;n.props.toggleConnection(e)}),n}return K()(t,e),I()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some(function(e){return e.service_name===n})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(a.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(a.createElement)(c.Disabled,null,u)),Object(a.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(a.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(a.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(a.createElement)(se,{serviceName:l}),Object(a.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(a.Component),pe=Object(u.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}})(ue),he=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"settingsClick",function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),a=window.setInterval(function(){!1!==i.closed&&(window.clearInterval(a),r())},500)}),n}return K()(t,e),I()(t,[{key:"getButtonLink",value:function(){var e=le();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=te()("jetpack-publicize-add-connection-container",this.props.className);return Object(a.createElement)("div",{className:e},Object(a.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(a.Component),de=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"state",{hasEditedShareMessage:!1}),W()(G()(n),"fieldId",Object(_.uniqueId)("jetpack-publicize-message-field-")),W()(G()(n),"onMessageChange",function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)}),n}return K()(t,e),I()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),c=256-i.length,s=te()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(a.createElement)("div",{id:"publicize-form"},Object(a.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map(function(e){var t=e.display_name,r=e.enabled,i=e.id,o=e.service_name,c=e.toggleable;return Object(a.createElement)(pe,{disabled:!c,enabled:r,key:i,id:i,label:t,name:o,toggleConnection:n})})),Object(a.createElement)(he,{refreshCallback:r}),t.some(function(e){return e.enabled})&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(a.createElement)("div",{className:"jetpack-publicize-message-box"},Object(a.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(a.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(a.Component),me=Object(N.compose)([Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(_.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}}),Object(u.withDispatch)(function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map(function(e){return Q()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(de),fe=Object(N.compose)([Object(u.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(u.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,n=e.refreshConnections;return Object(a.createElement)(a.Fragment,null,t&&t.some(function(e){return e.enabled})&&Object(a.createElement)(Y,null),Object(a.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(a.createElement)(me,{refreshCallback:n}),t&&0===t.length&&Object(a.createElement)(he,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))}),be={render:function(){return Object(a.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(a.createElement)(D.a,null,Object(a.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(a.createElement)(fe,null))),Object(a.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(a.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(a.createElement)(fe,null)))}},ge=n(33);Object(ge.a)("publicize",be)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],h=function(e){var t=e.isSelected;return Object(i.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},d=n(19),m=(n(111),n(72),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),_=n(9),j=n.n(_),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),a&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,a=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=a?"+".concat(a,","):"",d=o?"+".concat(o,","):"";d=c?"".concat(d,"+").concat(c):d;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(d).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some(function(e){return""!==e})&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(a.__)("Open address in Google Maps","jetpack")},Object(i.createElement)(C,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(C,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=y()(this,(e=j()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return E()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,h=t.postal,d=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,h,d].some(function(e){return""!==e}),v=l()({"jetpack-address-block":!0,"is-selected":f}),y=Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(a.__)("Street Address","jetpack"),"aria-label":Object(a.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(a.__)("Address Line 2","jetpack"),"aria-label":Object(a.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(a.__)("Address Line 3","jetpack"),"aria-label":Object(a.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:u,placeholder:Object(a.__)("City","jetpack"),"aria-label":Object(a.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(a.__)("State/Province/Region","jetpack"),"aria-label":Object(a.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(a.__)("Postal/Zip Code","jetpack"),"aria-label":Object(a.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:d,placeholder:Object(a.__)("Country","jetpack"),"aria-label":Object(a.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),F={title:Object(a.__)("Address","jetpack"),description:Object(a.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(a._x)("location","block search term","jetpack"),Object(a._x)("direction","block search term","jetpack"),Object(a._x)("place","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(38),M=n.n(P),T=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map(function(e,t){var n=e.replace(/([.,\/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&M.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)}))},D=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},N=function(e){var t=e.setAttributes;return D("email",e,Object(a.__)("Email","jetpack"),T,function(e){return t({email:e})})},z={title:Object(a.__)("Email Address","jetpack"),description:Object(a.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(a._x)("message","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:N,save:T,parent:["jetpack/contact-info"]};var L=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,a=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9\/+\/(]/.test(r[0])?(a=a.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[a.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},a):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},R=function(e){var t=e.setAttributes;return D("phone",e,Object(a.__)("Phone number","jetpack"),L,function(e){return t({phone:e})})},I={title:Object(a.__)("Phone Number","jetpack"),description:Object(a.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(a._x)("mobile","block search term","jetpack"),Object(a._x)("telephone","block search term","jetpack"),Object(a._x)("cell","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:R,save:L},B={title:Object(a.__)("Contact Info","jetpack"),description:Object(a.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("phone","block search term","jetpack"),Object(a._x)("address","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:h,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))}},q=[{name:"address",settings:F},{name:"email",settings:z},{name:"phone",settings:I}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(13),a=n.n(i),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(106),n(7)),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),_=n.n(y),j=n(10),k=n.n(j),O=n(12),w=n.n(O),E=n(38),C=n.n(E),x=n(15),S=n(26),A=n.n(S),F=n(37),P=n.n(F),M=n(52),T=n.n(M),D=(n(109),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,a=P()(e,["children","isError"]),c=w()("help-message",{"help-message-is-error":i});return n&&Object(o.createElement)("div",A()({className:c},a),i&&Object(o.createElement)(T.a,{size:"24"}),Object(o.createElement)("span",null,n))}),N=n(19),z=n(34),L=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],R=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(_()(n)),n.onBlurTo=n.onBlurTo.bind(_()(n)),n.onChangeTo=n.onChangeTo.bind(_()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(_()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(_()(n)),n.getToValidationError=n.getToValidationError.bind(_()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(_()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(_()(n)),n.hasEmailError=n.hasEmailError.bind(_()(n));var o=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:o&&o.length?o:null},n}return k()(t,e),m()(t,[{key:"getIntroMessage",value:function(){return Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")}},{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!C.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,a=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:a,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(D,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(D,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:i,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email feedback settings","jetpack")},this.renderToAndSubjectFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:L,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(z.a,this.props)))}}]),t}(o.Component),I=Object(x.compose)([x.withInstanceId])(R),B=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,a=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),i&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:a,onChange:function(e){return t({required:e})}}),!i&&a&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var q=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,a=e.setAttributes,s=e.defaultValue,p=e.placeholder,h=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(B,{required:r,label:i,setAttributes:a,isSelected:t}),placeholder:p,value:p,onChange:function(e){return a({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return a({id:e})}}))))};var V=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,a=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(B,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:a,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},H=Object(x.withInstanceId)(function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,a=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(B,{required:n,label:r,setAttributes:i,isSelected:a}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return i({id:e})}}))))})}),U=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(_()(n)),n.onKeyPress=n.onKeyPress.bind(_()(n)),n.onDeleteOption=n.onDeleteOption.bind(_()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),G=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(_()(n)),n.addNewOption=n.addNewOption.bind(_()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,a=t.label,s=t.setAttributes,p=t.isSelected,h=t.id,d=this.props.options,m=this.state.inFocus;return d.length||(d=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(B,{required:i,label:a,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},d.map(function(t,r){return Object(o.createElement)(U,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})})),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),$=Object(x.withInstanceId)(G),K={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact","block search term","jetpack")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:I,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!(!e.has_form_settings_set&&"Submit"===e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},Z={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},W=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},J=function(e){return function(t){return Object(o.createElement)(q,{type:e,label:W(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},Y=function(e){return function(t){return Object(o.createElement)($,{label:W(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},X=[{name:"field-text",settings:a()({},Z,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:J("text")})},{name:"field-name",settings:a()({},Z,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:J("text")})},{name:"field-email",settings:a()({},Z,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:J("email")})},{name:"field-url",settings:a()({},Z,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:J("url")})},{name:"field-date",settings:a()({},Z,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:J("text")})},{name:"field-telephone",settings:a()({},Z,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:J("tel")})},{name:"field-textarea",settings:a()({},Z,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(V,{label:W(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:a()({},Z,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(H,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:a()({},Z.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:a()({},Z,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:Y("checkbox"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:a()({},Z,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:Y("radio"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:a()({},Z,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:Y("select"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",K,X)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(25),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),_=n(24),j=n.n(_),k=n(1),O=n(2),w=n(6),E=(n(119),n(22)),C=n.n(E),x=n(12),S=n.n(x),A=n(5),F=n(28),P=n(15);function M(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],a=i.keywords,o=void 0===a?[]:a;if("string"==typeof i.label&&(o=[].concat(C()(o),[i.label])),n.push(i),n.length===t)break}return n}var T=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(m()(e),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(m()(e),"onChange",function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?M(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()}),v()(m()(e),"onKeyDown",function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,a=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===i?a.length:i)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(i+1)%a.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(a[i]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then(function(t){var r;if(i===n.activePromise){var a=t.map(function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),o=M(a),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",a),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,a=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=o.className,d=l.length>0,m=d?"components-autocomplete-listbox-".concat(a):null,f=d?"components-autocomplete-item-".concat(a,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:d,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),d&&Object(y.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,function(t,n){return Object(y.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(a,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(y.Component),D=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(T),N=Object(k.__)("Add a marker…","jetpack"),z=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text}),v()(m()(e),"search",function(t){var n=e.props,r=n.apiKey,i=n.onError,a="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise(function(e,t){var n=new XMLHttpRequest;n.open("GET",a),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var a=JSON.parse(n.responseText);i(a.statusText,a.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()})}),v()(m()(e),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(D,{completer:this.autocompleter,onReset:this.onReset},function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,a=t.onChange,o=t.onKeyDown;return Object(y.createElement)(O.TextControl,{placeholder:N,ref:e.textRef,onChange:a,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:o})})))}}]),t}(y.Component);z.defaultProps={onError:function(){}};var L=z,R=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(y.createElement)(O.Popover,{className:"component__add-point__popover"},Object(y.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(O.Dashicon,{icon:"no"})),Object(y.createElement)(L,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:i,onError:r})))}}]),t}(y.Component);R.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var I=R,B=(n(121),function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,a=r.onChange,o=i.slice(0);o.splice(n,1),a(o)}),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,a=r.onChange,o=i.slice(0);o[n][e]=t,a(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,n){return Object(y.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,V=n(58),H=(n(123),function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,a=t.map(function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(O.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)});return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(O.ButtonGroup,null,a))}}]),t}(y.Component));H.defaultProps={label:"",options:[],value:null,onChange:function(){}};var U=H,G=0,$=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"addPoint",function(t){var n=e.props,r=n.attributes,i=n.setAttributes,a=r.points,o=a.slice(0),c=!1;a.map(function(e){e.id===t.id&&(c=!0)}),c||(o.push(t),i({points:o}),e.setState({addPointVisibility:!1}))}),v()(m()(e),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(m()(e),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(m()(e),"updateAPIKey",function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")}),v()(m()(e),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(m()(e),"onError",function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)}),e.state={addPointVisibility:!1,apiState:G},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,a="/wpcom/v2/service-api-keys/mapbox",o=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},function(){j()(o).then(function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,a=t.attributes,o=t.noticeUI,c=t.notices,s=a.mapStyle,l=a.mapDetails,u=a.points,p=a.zoom,h=a.mapCenter,d=a.markerColor,m=a.align,f=this.state,b=f.addPointVisibility,g=f.apiKey,v=f.apiKeyControl,_=f.apiState,j=f.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:m,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(O.Toolbar,null,Object(y.createElement)(O.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(y.createElement)(U,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(y.createElement)(q,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(y.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(O.ButtonGroup,null,Object(y.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(y.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),C=Object(y.createElement)(O.Placeholder,{icon:i.a.icon},Object(y.createElement)(O.Spinner,null)),x=Object(y.createElement)(O.Placeholder,{icon:i.a.icon,label:Object(k.__)("Map","jetpack"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(y.createElement)("br",null),Object(y.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(y.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),Object(y.createElement)(O.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:j,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:v,onChange:this.updateAPIKeyControl}),Object(y.createElement)(O.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:j||!v||v.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack")))),S=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(V.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:d,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:g,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},b&&Object(y.createElement)(I,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:g,onError:this.onError,tagName:"AddPoint"}))));return Object(y.createElement)(y.Fragment,null,o,_===G&&C,1===_&&x,2===_&&S)}}]),t}(y.Component),K=Object(O.withNotices)($),Z=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,a=e.zoom,o=e.mapCenter,c=e.markerColor,s=i.map(function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))}),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":a,"data-map-center":JSON.stringify(o),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),W=(n(78),n(125),i.a.name),J={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z};Object(r.a)(W,J)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(12),k=n.n(j),O=n(38),w=n.n(O),E=n(15),C=n(14),x=n(5),S=n(41),A=n(26),F=n.n(A),P=n(37),M=n.n(P),T=n(52),D=n.n(T),N=(n(201),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,a=void 0!==r&&r,o=M()(e,["children","isError"]),c=k()("simple-payments__help-message",{"simple-payments__help-message-is-error":a});return n&&Object(i.createElement)("div",F()({className:c},o),a&&Object(i.createElement)(D.a,{size:"24"}),Object(i.createElement)("span",null,n))}),z=(n(203),n(100)),L=n.n(z),R=n(101),I=n.n(R),B=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,h=void 0===p?null:p,d=e.featuredMediaTitle,m=void 0===d?null:d;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},h&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:h,alt:m}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),s&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,s)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(a.__)("Pay with PayPal","jetpack"),src:L.a,srcSet:"".concat(I.a," 2x")}))))))},q=n(6),V=function(e){return function(t){return e({featuredMediaId:Object(x.get)(t,"id",0),featuredMediaUrl:Object(x.get)(t,"url",null),featuredMediaTitle:Object(x.get)(t,"title",null)})}},H=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(q.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(q.MediaUpload,{onSelect:V(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit Image","jetpack"),icon:"edit",onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(a.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(q.MediaPlaceholder,{icon:"format-image",labels:{title:Object(a.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:V(c)})},U=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],G=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},$=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(S.a)(t),i=r.precision,a=r.symbol,o=e.toFixed(i);return n?"".concat(o," ").concat(Object(x.trimEnd)(a,".")):o},K=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),_()(b()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),_()(b()(n),"validateAttributes",function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i}),_()(b()(n),"validateCurrency",function(){var e=n.props.attributes.currency;return U.includes(e)}),_()(b()(n),"validatePrice",function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Object(S.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(a.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(a.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):G(r)>i?0===i?(n.setState({fieldPriceError:Object(a.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(a.sprintf)(Object(a._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i,"jetpack"),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(a.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)}),_()(b()(n),"validateEmail",function(){var e=n.props.attributes.email;return e?w.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(a.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)}),_()(b()(n),"validateTitle",function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(a.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)}),_()(b()(n),"handleEmailChange",function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})}),_()(b()(n),"handleFeaturedMediaSelect",function(e){n.props.setAttributes({featuredMediaId:Object(x.get)(e,"id",0)})}),_()(b()(n),"handleContentChange",function(e){n.props.setAttributes({content:e})}),_()(b()(n),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})}),_()(b()(n),"handleCurrencyChange",function(e){n.props.setAttributes({currency:e})}),_()(b()(n),"handleMultipleChange",function(e){n.props.setAttributes({multiple:!!e})}),_()(b()(n),"handleTitleChange",function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})}),_()(b()(n),"getCurrencyList",U.map(function(e){var t=Object(S.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(x.trimEnd)(t,"."))}})),n}return v()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(x.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(x.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.content,a=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(x.get)(e,["content","raw"],i),currency:Object(x.get)(e,["meta","spay_currency"],a),email:Object(x.get)(e,["meta","spay_email"],o),featuredMediaId:Object(x.get)(e,["featured_media"],c),multiple:Boolean(Object(x.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(x.get)(e,["meta","spay_price"],l||void 0),title:Object(x.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,a=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:a,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(C.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},function(){o("postType","jp_pay_product",e.toApi()).then(function(e){return e&&r({productId:e.id}),e}).catch(function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),i):null,fieldPriceError:"spay_price"===n?Object(a.__)("Invalid price.","jetpack"):null})}}).finally(function(){e.setState({isSavingProduct:!1})})})}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,h=c.setAttributes,d=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,y=s.featuredMediaTitle,_=s.multiple,j=s.price,O=s.productId,w=s.title,E=v||l&&l.source_url,C=y||l&&l.alt_text,S=O&&Object(x.isEmpty)(d);if(!p&&S)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(B,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&j&&w&&!t&&!n&&!r)return Object(i.createElement)(B,{"aria-busy":"false",content:m,featuredMediaUrl:E,featuredMediaTitle:C,formattedPrice:$(j,f),multiple:_,title:w});var A=S?o.Disabled:"div";return Object(i.createElement)(A,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(H,{featuredMediaId:g,featuredMediaUrl:E,featuredMediaTitle:C,setAttributes:h}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:k()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(a.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(a.__)("Item name","jetpack"),required:!0,type:"text",value:w}),Object(i.createElement)(N,{id:"".concat(u,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(a.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(a.__)("Describe your item in a few words","jetpack"),value:m}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(a.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:k()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(a.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:$(0,f,!1),required:!0,step:"1",type:"number",value:j||""}),Object(i.createElement)(N,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(_),label:Object(a.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:k()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(a.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(a.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(i.createElement)(N,{id:"".concat(u,"-email-error"),isError:!0},t),Object(i.createElement)(N,{id:"".concat(u,"-email-help")},Object(a.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(a.__)("Create one on PayPal","jetpack")))))}}]),t}(i.Component),Z=Object(C.withSelect)(function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,a=e("core/editor"),o=a.isSavingPost,c=a.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(x.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(x.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?i(u):null}}),W=Object(E.compose)(Z,E.withInstanceId)(K);n(205);var J={title:Object(a.__)("Simple Payments button","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Lets you create and embed credit and debit card payment buttons with minimal setup.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(a._x)("shop","block search term","jetpack"),Object(a._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:W,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",J)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(13),s=n.n(c),l=n(22),u=n.n(l),p=n(7),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),_=n.n(y),j=n(10),k=n.n(j),O=n(3),w=n.n(O),E=n(15),C=n(5),x=n(23),S=n(14),A=n(6),F=n(12),P=n.n(F),M=n(32),T=n(56),D=n(30),N=function(e){function t(e){var n;return h()(this,t),n=b()(this,v()(t).call(this,e)),w()(_()(n),"pendingRequestAnimationFrame",null),w()(_()(n),"resizeObserver",null),w()(_()(n),"initializeResizeObserver",function(e){n.clearResizeObserver(),n.resizeObserver=new M.a(function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame(function(){Object(D.d)(e),e.update()})}),n.resizeObserver.observe(e.el)}),w()(_()(n),"clearPendingRequestAnimationFrame",function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)}),w()(_()(n),"clearResizeObserver",function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)}),w()(_()(n),"prefersReducedMotion",function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}),w()(_()(n),"buildSwiper",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(T.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:D.b,imagesReady:D.d,paginationRender:D.c,transitionEnd:D.a})}),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then(function(t){e.swiperInstance=t,e.initializeResizeObserver(t)}).catch(function(){t(Object(a.__)("The Swiper library could not be loaded.","jetpack"))})}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,i=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(i===e.align&&Object(C.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(function(e){n.swiperInstance=e,n.initializeResizeObserver(e)}).catch(function(){u(Object(a.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrappper swiper-wrapper"},c.map(function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:P()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(x.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))})),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);w()(N,"defaultProps",{effect:"slide"});var z=N,L=(n(207),["image"]),R=[{label:Object(a._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(a._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}],I=function(e){return Object(C.pick)(e,["alt","id","link","url","caption"])},B=function(e){function t(){var e;return h()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(_()(e),"onSelectImages",function(t){var n=t.map(function(e){return I(e)});e.setAttributes({images:n})}),w()(_()(e),"onRemoveImage",function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,function(e,n){return t!==n});e.setState({selectedImage:null}),e.setAttributes({images:n})}}),w()(_()(e),"addFiles",function(t){var n=e.props.attributes.images||[],r=e.props,i=r.lockPostSaving,a=r.unlockPostSaving,o=r.noticeOperations;i("slideshowBlockLock"),Object(A.mediaUpload)({allowedTypes:L,filesList:t,onFileChange:function(t){var r=t.map(function(e){return I(e)});e.setAttributes({images:[].concat(u()(n),u()(r))}),r.every(function(e){return Object(x.isBlobURL)(e.url)})||a("slideshowBlockLock")},onError:o.createErrorNotice})}),w()(_()(e),"uploadFromFiles",function(t){return e.addFiles(t.target.files)}),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,c=e.noticeOperations,s=e.noticeUI,l=e.setAttributes,u=t.align,p=t.autoplay,h=t.delay,d=t.effect,m=t.images,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(A.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Autoplay","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Autoplay","jetpack"),help:Object(a.__)("Autoplay between slides","jetpack"),checked:p,onChange:function(e){l({autoplay:e})}}),p&&Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Delay between transitions (in seconds)","jetpack"),value:h,onChange:function(e){l({delay:e})},min:1,max:5}),p&&f&&Object(i.createElement)("span",null,Object(a.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Effects","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Transition effect","jetpack"),value:d,onChange:function(e){l({effect:e})},options:R}))),Object(i.createElement)(A.BlockControls,null,!!m.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(A.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:L,multiple:!0,gallery:!0,value:m.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit Slideshow","jetpack"),icon:"edit",onClick:t})}}))));return 0===m.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(A.MediaPlaceholder,{icon:Object(i.createElement)(A.BlockIcon,{icon:G}),className:n,labels:{title:Object(a.__)("Slideshow","jetpack"),instructions:Object(a.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:L,multiple:!0,notices:s,onError:c.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,s,Object(i.createElement)(z,{align:u,autoplay:p,className:n,delay:h,effect:d,images:m,onError:c.createErrorNotice}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),r&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.__)("Upload an image","jetpack"))))}}]),t}(i.Component),q=Object(E.compose)(Object(S.withDispatch)(function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}}),o.withNotices)(B),V=n(16);function H(e){return Object(C.filter)(e,function(e){var t=e.id,n=e.url;return t&&n})}var U={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return H(e).length>0},transform:function(e){var t=H(e);return Object(V.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}}),ids:t.map(function(e){return e.id})})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=H(e.images);return t.length>0?Object(V.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}}),ids:t.map(function(e){return e.id})}):Object(V.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(V.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(V.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(V.createBlock)("core/image")}}]},G=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),$={title:Object(a.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(a._x)("image","block search term","jetpack"),Object(a._x)("gallery","block search term","jetpack"),Object(a._x)("slider","block search term","jetpack")],description:Object(a.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"}},supports:{align:["center","wide","full"],html:!1},icon:G,edit:q,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,a=t.delay,o=t.effect,c=t.images,s=e.className;return Object(i.createElement)(z,{align:n,autoplay:r,className:s,delay:a,effect:o,images:c})},transforms:U};Object(r.a)("slideshow",$)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=(n(127),n(7)),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(6),k=n(15),O=n(14),w=n(94),E=new(n.n(w).a),C=function(e){"A"===e.target.nodeName&&(window.confirm(Object(a.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},x=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:C},r.length?E.render(r):"")},S="editor",A=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"input",null),_()(b()(n),"state",{activePanel:S}),_()(b()(n),"bindInput",function(e){n.input=e}),_()(b()(n),"updateSource",function(e){return n.props.setAttributes({source:e})}),_()(b()(n),"handleKeyDown",function(e){var t=n.props,r=t.attributes,i=t.removeBlock,a=r.source;8===e.keyCode&&""===a&&(i(),e.preventDefault())}),_()(b()(n),"toggleMode",function(e){return function(){return n.setState({activePanel:e})}}),n}return v()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(S)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===S&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(a.__)("Write your _Markdown_ **here**…","jetpack")):Object(i.createElement)("div",{className:n},Object(i.createElement)(j.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(S,Object(a.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(a.__)("Preview","jetpack")))),"preview"!==c&&r?Object(i.createElement)(j.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(a.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(i.createElement)(x,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),F=Object(k.compose)([Object(O.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(O.withDispatch)(function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(n)}}})])(A),P={title:Object(a.__)("Markdown","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(a._x)("formatting","block search term","jetpack"),Object(a._x)("syntax","block search term","jetpack"),Object(a._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:F,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(x,{className:n,source:t.source})}};Object(r.a)("markdown",P)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(6),k=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(a.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map(function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)}))}})}n(222);var E=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"handleHideMobileChange",function(e){n.props.setAttributes({hideMobile:!!e})}),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.format,c=t.hideMobile,s=k.filter(function(e){return e.tag===r})[0];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(j.BlockControls,null,Object(i.createElement)(w,{value:r,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(r)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:s.width,height:s.height+s.editorPadding}},Object(i.createElement)(o.Placeholder,{icon:x,label:C}),Object(i.createElement)(o.ToggleControl,{checked:Boolean(c),label:Object(a.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange}))))}}]),t}(i.Component),C=Object(a.__)("Ad","jetpack"),x=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),S={title:C,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Earn income by adding high quality ads to your post","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.__)("Learn all about WordAds","jetpack"))),icon:x,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},category:"jetpack",keywords:[Object(a.__)("ads","jetpack"),"WordAds",Object(a.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:E,save:function(){return null}};Object(r.a)("wordads",S)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=(n(104),n(68),n(26)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),_=n.n(y),j=n(3),k=n.n(j),O=n(24),w=n.n(O),E=n(12),C=n.n(E),x=n(51),S=n(6),A=n(13),F=n.n(A),P=n(5),M="09:00",T="17:00",D=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:C()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:M,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:T,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:C()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(a.__)("Add Hours","jetpack"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))}),k()(v()(n),"setHour",function(e,t,r){var i=n.props,a=i.day,o=i.attributes;(0,i.setAttributes)({days:o.days.map(function(n){return n.name===a.name?F()({},n,{hours:n.hours.map(function(n,i){return i===r?F()({},n,k()({},t,e)):n})}):n})})}),k()(v()(n),"toggleClosed",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){if(t.name===r.name){var n=e?[{opening:M,closing:T}]:[];return F()({},t,{hours:n})}return t})})}),k()(v()(n),"addInterval",function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,a=r.days;t.hours.push({opening:"",closing:""}),i({days:a.map(function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e})})}),k()(v()(n),"removeInterval",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter(function(t,n){return e!==n})}):t})})}),n}return _()(t,e),h()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.__)("Closed","jetpack"):Object(a.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:C()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:C()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),N=n(21),z=n.n(N),L=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",function(e,t){return Object(i.createElement)("span",{key:t},Object(a.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)))}),n}return _()(t,e),h()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=z()(n,2),i=r[0],a=r[1],o=new Date;return!(!i||!a)&&(o.setHours(i),o.setMinutes(a),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter(function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(i.createElement)("dd",null,Object(P.isEmpty)(o)?Object(a._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval)))}}]),t}(i.Component),R={days:{Sun:Object(a.__)("Sunday","jetpack"),Mon:Object(a.__)("Monday","jetpack"),Tue:Object(a.__)("Tuesday","jetpack"),Wed:Object(a.__)("Wednesday","jetpack"),Thu:Object(a.__)("Thursday","jetpack"),Fri:Object(a.__)("Friday","jetpack"),Sat:Object(a.__)("Saturday","jetpack")},startOfWeek:0},I=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{localization:R,hasFetched:!1}),n}return _()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:R},function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then(function(t){e.setState({localization:t,hasFetched:!0})},function(){e.setState({localization:R,hasFetched:!0})})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,h=u.hasFetched,d=p.startOfWeek,m=l.concat(l.slice(0,d)).slice(d);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(S.BlockIcon,{icon:q}),label:Object(a.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:C()(r,"jetpack-business-hours")},m.map(function(e,t){return Object(i.createElement)(L,{key:t,day:e,localization:p,timeFormat:f})}))}return Object(i.createElement)("div",{className:C()(r,"is-edit")},m.map(function(t,n){return Object(i.createElement)(D,s()({key:n,day:t,localization:p},e.props))}))}}]),t}(i.Component),B=n(19),q=Object(B.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),V={title:Object(a.__)("Business Hours","jetpack"),description:Object(a.__)("Display opening hours for your business.","jetpack"),icon:q,category:"jetpack",supports:{html:!0},keywords:[Object(a._x)("opening hours","block search term","jetpack"),Object(a._x)("closing time","block search term","jetpack"),Object(a._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}]}},edit:function(e){return Object(i.createElement)(I,e)},save:function(){return null}};Object(r.a)("business-hours",V)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),_=n(3),j=n.n(_),k=n(24),O=n.n(k),w=n(34),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),j()(g()(n),"state",{subscriberCountString:""}),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(i.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(i.createElement)(w.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},l&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(c.TextControl,{placeholder:s}),Object(i.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then(function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(a.sprintf)(Object(a._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(a.__)("Subscriber count unavailable","jetpack")})})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var C=n(19),x={title:Object(a.__)("Subscription Form","jetpack"),description:Object(i.createElement)("p",null,Object(a.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(C.a)(Object(i.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(a._x)("subscribe","block search term","jetpack"),Object(a._x)("join","block search term","jetpack"),Object(a._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(a.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(a.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,a=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(a,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(19),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),_=n(3),j=n.n(_),k=n(6),O=n(14),w=n(12),E=n.n(w),C=n(29),x=[{value:C.b,label:Object(a.__)("Show after threshold","jetpack")},{value:C.c,label:Object(a.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),j()(g()(n),"state",{isThresholdValid:!0}),j()(g()(n),"setCriteria",function(e){return n.props.setAttributes({criteria:e})}),j()(g()(n),"setThreshold",function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})}),n}return y()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(a.sprintf)(Object(a._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(a.sprintf)(Object(a._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(i.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(i.createElement)(o.Placeholder,{icon:F,label:Object(a.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(a.__)("Please enter a valid number.","jetpack"),label:Object(a.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(i.createElement)(o.RadioControl,{label:Object(a.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(i.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(i.createElement)(k.InnerBlocks,null))}}]),t}(i.Component),A=Object(O.withSelect)(function(e,t){var n=e("core/editor"),r=n.isBlockSelected,i=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||i(t.clientId)}})(S),F=(n(197),Object(c.a)(Object(i.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(a.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(a._x)("return","block search term","jetpack"),Object(a._x)("visitors","block search term","jetpack"),Object(a._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(a.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(k.InnerBlocks.Content,null))}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(21),i=n.n(r),a=n(13),o=n.n(a),c=n(23),s=n(16),l=n(6),u=n(103),p=n(5),h=n(39),d=n.n(h),m=n(7),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),_=n(9),j=n.n(_),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=n(3),x=n.n(C),S=n(0),A=n(24),F=n.n(A),P=n(12),M=n.n(P),T=n(1),D=n(15),N=n(2),z=n(14),L=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(N.Spinner,null),Object(S.createElement)("p",null,t))},R=Object(D.createHigherOrderComponent)(Object(D.compose)([Object(z.withSelect)(function(e,t){var n=t.attributes,r=n.guid,i=n.src,a=e("core"),o=a.getEmbedPreview,s=a.isRequestingEmbedPreview,l=!!r&&"https://videopress.com/v/".concat(r),u=!!l&&o(l);return{isFetchingPreview:!!l&&s(l),isUploading:Object(c.isBlobURL)(i),preview:u}}),function(e){return function(t){function n(){var e;return f()(this,n),e=y()(this,j()(n).apply(this,arguments)),x()(O()(e),"fallbackToCore",function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})}),x()(O()(e),"setGuid",d()(regeneratorRuntime.mark(function t(){var n,r,i,a,o,c,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,a=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,F()({path:"/wp/v2/media/".concat(a)});case 9:if(o=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,a===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:o}),(s=Object(p.get)(o,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}},t,null,[[5,19]])}))),x()(O()(e),"switchToEditing",function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})}),x()(O()(e),"onRemovePoster",function(){e.props.setAttributes({poster:""}),e.posterImageButton.current.focus()}),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.id!==e.attributes.id&&this.setGuid()}},{key:"render",value:function(){var t=this.props,n=t.attributes,r=t.className,i=t.isFetchingPreview,a=t.isSelected,o=t.isUploading,c=t.preview,s=t.setAttributes,u=this.state,p=u.fallback,h=u.isFetchingMedia;if(o)return Object(S.createElement)(L,{text:Object(T.__)("Uploading…","jetpack")});if(h||i)return Object(S.createElement)(L,{text:Object(T.__)("Embedding…","jetpack")});if(p||!c)return Object(S.createElement)(e,this.props);var d=c.html,m=c.scripts,f=n.caption;return Object(S.createElement)(S.Fragment,null,Object(S.createElement)(l.BlockControls,null,Object(S.createElement)(N.Toolbar,null,Object(S.createElement)(N.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(T.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)("figure",{className:M()(r,"wp-block-embed","is-type-video")},Object(S.createElement)(N.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(N.SandBox,{html:d,scripts:m}))),(!l.RichText.isEmpty(f)||a)&&Object(S.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(T.__)("Write caption…","jetpack"),value:f,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),I=Object(D.createHigherOrderComponent)(function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).caption,i=n.guid;if(!i)return e(t);var a="https://videopress.com/v/".concat(i);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(a,"\n")),!l.RichText.isEmpty(r)&&Object(S.createElement)(l.RichText.Content,{tagName:"figcaption",value:r}))}},"withVideoPressSave"),B=n(44);Object(u.addFilter)("blocks.registerBlockType","jetpack/videopress",function(e,t){if("core/video"!==t)return e;var n=Object(B.a)("videopress"),r=n.available,a=n.unavailableReason;return r||["missing_plan","missing_module"].includes(a)?o()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:o()({},e.transforms,{from:[{type:"files",isMatch:function(e){return Object(p.every)(e,function(e){return 0===e.type.indexOf("video/")})},priority:9,transform:function(e,t){var n=[];return e.forEach(function(e){var r=Object(s.createBlock)("core/video",{src:Object(c.createBlobURL)(e)});Object(l.mediaUpload)({filesList:[e],onFileChange:function(e){var n=i()(e,1)[0],a=n.id,o=n.url;t(r.clientId,{id:a,src:o})},allowedTypes:["video"]}),n.push(r)}),n}}]}),supports:o()({},e.supports,{reusable:!1}),edit:R(e.edit),save:I(e.save),deprecated:[{attributes:e.attributes,save:e.save,isEligible:function(e){return!e.guid}}]}):e})},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(24),_=n.n(y),j=n(12),k=n.n(j),O=n(34),w=n(6),E=0,C=1,x=2,S="processing",A="success",F="error",P=function(e){function t(){var e;return s()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"componentDidMount",function(){e.apiCall()}),v()(m()(e),"onError",function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}),v()(m()(e),"apiCall",function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};_()(t).then(function(t){var n=t.connect_url,r="connected"===t.code?C:x;e.setState({connected:r,connectURL:n})},function(t){var n=x;e.setState({connected:n,connectURL:null}),e.onError(t.message)})}),v()(m()(e),"auditionNotification",function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)}),v()(m()(e),"clearAudition",function(){e.setState({audition:null})}),v()(m()(e),"updateProcessingText",function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification(S)}),v()(m()(e),"updateSuccessText",function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification(A)}),v()(m()(e),"updateErrorText",function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification(F)}),v()(m()(e),"updateEmailPlaceholder",function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()}),v()(m()(e),"labelForAuditionType",function(t){var n=e.props.attributes,r=n.processingLabel,i=n.successLabel,a=n.errorLabel;return t===S?r:t===A?i:t===F?a:null}),v()(m()(e),"roleForAuditionType",function(e){return e===F?"alert":"status"}),v()(m()(e),"render",function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=t.noticeUI,l=t.setAttributes,u=e.state,p=u.audition,h=u.connected,d=u.connectURL,m=n.emailPlaceholder,f=n.consentText,b=n.processingLabel,g=n.successLabel,y=n.errorLabel,_="wp-block-jetpack-mailchimp_",j=Object(i.createElement)(o.Placeholder,{icon:T,notices:c},Object(i.createElement)(o.Spinner,null)),S=Object(i.createElement)(o.Placeholder,{icon:T,label:Object(a.__)("Mailchimp","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(a.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:d,target:"_blank"},Object(a.__)("Set up Mailchimp form","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(a.__)("Re-check Connection","jetpack")))),A=Object(i.createElement)(w.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Text Elements","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Email Placeholder","jetpack"),value:m,onChange:e.updateEmailPlaceholder})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Notifications","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Processing text","jetpack"),value:b,onChange:e.updateProcessingText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Success text","jetpack"),value:g,onChange:e.updateSuccessText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Error text","jetpack"),value:y,onChange:e.updateErrorText})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Connection","jetpack")},Object(i.createElement)(o.ExternalLink,{href:d},Object(a.__)("Manage Connection","jetpack")))),F=k()(r,v()({},"".concat(_,"notication-audition"),p)),P=Object(i.createElement)("div",{className:F},Object(i.createElement)(o.TextControl,{"aria-label":m,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:m,title:Object(a.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(i.createElement)(O.a,e.props),Object(i.createElement)(w.RichText,{tagName:"p",placeholder:Object(a.__)("Write consent text","jetpack"),value:f,onChange:function(e){return l({consentText:e})},inlineToolbar:!0}),p&&Object(i.createElement)("div",{className:"".concat(_,"notification ").concat(_).concat(p),role:e.roleForAuditionType(p)},e.labelForAuditionType(p)));return Object(i.createElement)(i.Fragment,null,s,h===E&&j,h===x&&S,h===C&&A,h===C&&P)}),e.state={audition:null,connected:E,connectURL:null},e.timeout=null,e}return b()(t,e),t}(i.Component),M=Object(o.withNotices)(P),T=(n(117),Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),D={title:Object(a.__)("Mailchimp","jetpack"),icon:T,description:Object(a.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("subscription","block search term","jetpack"),Object(a._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(a.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(a.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(a.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},processingLabel:{type:"string",default:Object(a.__)("Processing…","jetpack")},successLabel:{type:"string",default:Object(a.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(a.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")}},edit:M,save:function(){return null}};Object(r.a)("mailchimp",D)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(10),b=n.n(f),g=n(6),v=n(5),y=n(14),_=n(15);function j(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(a.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(a.__)("Placeholder image","jetpack")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(a.__)("Grey square","jetpack")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(a.__)("Icon for image","jetpack")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(a.__)("August 3, 2018","jetpack")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(a.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),h()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,h=t.postLayout,d=t.postsToShow,m=[{icon:"grid-view",title:Object(a.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===h},{icon:"list-view",title:Object(a.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===h}],f=[],b=0;b<d;b++)r[b]?f.push(Object(i.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(i.createElement)(j,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Related Posts Settings","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Number of posts","jetpack"),value:d,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:m})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":h},Object(i.createElement)(O,{posts:f}))))}}]),t}(i.Component),E=Object(_.compose)(_.withInstanceId,Object(y.withSelect)(function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}}))(w),C=(n(195),{title:Object(a.__)("Related Posts","jetpack"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(a._x)("Similar content","block search term","jetpack"),Object(a._x)("Linked","block search term","jetpack"),Object(a._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null}});Object(r.a)("related-posts",C)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(15),c=n(6),s=n(14),l=n(53),u=Object(s.withSelect)(function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}}),p=Object(s.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),h={render:Object(o.compose)([u,p])(function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))})},d=n(33);Object(d.a)("sharing",h)},function(e,t,n){"use strict";n.r(t);var r=n(7),i=n.n(r),a=n(11),o=n.n(a),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),d=n(0),m=n(1),f=n(5),b=n(2),g=n(14),v=n(4),y=n.n(v),_=n(3),j=n.n(_),k=(n(199),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(a))),j()(y()(n),"state",{hasCopied:!1}),j()(y()(n),"onCopy",function(){return n.setState({hasCopied:!0})}),j()(y()(n),"onFinishCopy",function(){return n.setState({hasCopied:!1})}),j()(y()(n),"onFocus",function(e){return e.target.select()}),n}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(d.createElement)("div",{className:"jetpack-clipboard-input"},Object(d.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(d.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(d.Component)),O=n(40),w={render:function(){return Object(d.createElement)(C,null)}},E=function(e){function t(){return i()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(d.createElement)(O.a,null,Object(d.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(d.createElement)(k,{link:e}))):null}}]),t}(d.Component),C=Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}})(E),x=n(33);Object(x.a)("shortlinks",w)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(2),o=n(1),c=n(7),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(12),_=n.n(y),j=n(34),k=n(24),O=n.n(k),w=n(5),E=n(41),C=n(43),x=n(6),S=0,A=1,F=2,P=0,M=1,T=2,D=function(e){function t(){var e;return s()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"componentDidMount",function(){e.apiCall()}),v()(m()(e),"onError",function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}),v()(m()(e),"apiCall",function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};O()(t).then(function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:F}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,i=t.should_upgrade_to_access_memberships,a=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?A:F;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:i,upgradeURL:a,siteSlug:o})},function(t){var n=F;e.setState({connected:n,connectURL:null}),e.onError(t.message)})}),v()(m()(e),"getCurrencyList",R.map(function(e){var t=Object(E.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(w.trimEnd)(t,"."))}})),v()(m()(e),"handleCurrencyChange",function(t){return e.setState({editedProductCurrency:t})}),v()(m()(e),"handleRenewIntervalChange",function(t){return e.setState({editedProductRenewInterval:t})}),v()(m()(e),"handlePriceChange",function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})}),v()(m()(e),"handleTitleChange",function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})}),v()(m()(e),"saveProduct",function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:T});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};O()(t).then(function(t){e.setState({addingMembershipAmount:P,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)},function(t){e.setState({addingMembershipAmount:M}),e.onError(t.message)})}else e.setState({editedProductTitleValid:!1})}),v()(m()(e),"renderAmount",function(e){var t=Object(C.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)}),v()(m()(e),"renderAddMembershipAmount",function(){return e.state.addingMembershipAmount===P?Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:M})}},Object(o.__)("Add a Recurring Payments Plan","jetpack")):e.state.addingMembershipAmount!==T?Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"membership-button__price-container"},Object(i.createElement)(a.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(i.createElement)(a.TextControl,{label:Object(o.__)("Price","jetpack"),className:_()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(C.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(i.createElement)(a.TextControl,{className:_()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(i.createElement)("div",null,Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,className:"membership-button__field-button",onClick:e.saveProduct},Object(o.__)("Add Amount","jetpack")),Object(i.createElement)(a.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:P})}},Object(o.__)("Cancel","jetpack")))):void 0}),v()(m()(e),"getFormattedPriceByProductId",function(t){var n=e.state.products.filter(function(e){return parseInt(e.id)===parseInt(t)}).pop();return Object(C.a)(parseFloat(n.price),n.currency)}),v()(m()(e),"setMembershipAmount",function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})}),v()(m()(e),"renderMembershipAmounts",function(){return Object(i.createElement)("div",null,e.state.products.map(function(t){return Object(i.createElement)(a.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))}))}),v()(m()(e),"renderDisclaimer",function(){return Object(i.createElement)("div",{className:"membership-button__disclaimer"},Object(i.createElement)(a.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))}),v()(m()(e),"render",function(){var t=e.props,n=t.className,r=t.notices,c=e.state,s=c.connected,l=c.connectURL,u=c.products,p=Object(i.createElement)(x.InspectorControls,null,Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map(function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}})})),Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(i.createElement)(a.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),h=_()(n,["wp-block-button__link","components-button","is-primary","is-button"]),d=Object(i.createElement)(j.a,{className:h,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(i.createElement)(i.Fragment,null,e.props.noticeUI,e.state.shouldUpgrade&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),Object(i.createElement)("br",null),e.renderDisclaimer())),(s===S||e.state.addingMembershipAmount===T)&&!e.props.attributes.planId&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),notices:r},Object(i.createElement)(a.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&s===F&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("In order to start selling Recurring Payments plans, you have to connect to Stripe:","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:l,target:"_blank"},Object(o.__)("Connect to Stripe or set up an account","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isLink:!0,onClick:e.apiCall},Object(o.__)("Re-check Connection","jetpack")),e.renderDisclaimer())),!e.state.shouldUpgrade&&!e.props.attributes.planId&&s===A&&0===u.length&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("Add your first Recurring Payments plan:","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),e.renderAddMembershipAmount(),e.renderDisclaimer())),!e.state.shouldUpgrade&&!e.props.attributes.planId&&e.state.addingMembershipAmount!==T&&s===A&&u.length>0&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("Select payment plan:","jetpack"),e.renderMembershipAmounts(),Object(o.__)("Or add another Recurring Payments plan:","jetpack"),Object(i.createElement)("br",null),e.renderAddMembershipAmount(),e.renderDisclaimer())),e.state.products&&p,e.props.attributes.planId&&d)}),e.state={connected:S,connectURL:null,addingMembershipAmount:P,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null,e}return b()(t,e),t}(i.Component),N=Object(a.withNotices)(D),z=(n(193),Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(i.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(a.G,null,Object(i.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),L={title:Object(o.__)("Recurring Payments button","jetpack"),icon:z,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"}},edit:N,save:function(){return null}},R=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",L)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(15),c=n(6),s=n(14),l=n(53),u=Object(s.withSelect)(function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}}),p=Object(s.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),h={render:Object(o.compose)([u,p])(function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))})},d=n(33);Object(d.a)("likes",h)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(12),k=n.n(j),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(a.__)("Search for a term or paste a Giphy URL","jetpack"),C=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),_()(b()(n),"textControlRef",Object(i.createRef)()),_()(b()(n),"state",{captionFocus:!1,results:null}),_()(b()(n),"onFormSubmit",function(e){e.preventDefault(),n.onSubmit()}),_()(b()(n),"onSubmit",function(){var e=n.props.attributes.searchText;n.parseSearch(e)}),_()(b()(n),"parseSearch",function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))}),_()(b()(n),"urlForSearch",function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")}),_()(b()(n),"urlForId",function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))}),_()(b()(n),"splitAndLast",function(e,t){var n=e.split(t);return n[n.length-1]}),_()(b()(n),"fetch",function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,i=r[0];if(!i.images)return;n.setState({results:r},function(){n.selectGiphy(i)})}},t.send()}),_()(b()(n),"selectGiphy",function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),i="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:i})}),_()(b()(n),"setFocus",function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})}),_()(b()(n),"hasSearchText",function(){var e=n.props.attributes.searchText;return e&&e.length>0}),_()(b()(n),"thumbnailClicked",function(e){n.selectGiphy(e)}),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,h=n.searchText,d=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:d},v=k()(r,"align".concat(l)),y=Object(i.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:h}),Object(i.createElement)(o.Button,{isLarge:!0,onClick:this.onSubmit},Object(a.__)("Search","jetpack")));return Object(i.createElement)("div",{className:v},Object(i.createElement)(O.InspectorControls,null,Object(i.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(i.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(i.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(i.createElement)("figure",null,c&&y,c&&b&&b.length>1&&Object(i.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map(function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(i.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})})),Object(i.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(i.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(i.createElement)("iframe",{src:p,title:h})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(i.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(a.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(i.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},y))}}]),t}(i.Component),x=(n(74),n(113),Object(a.__)("GIF","jetpack")),S=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(a._x)("animated","block search term","jetpack"),Object(a._x)("giphy","block search term","jetpack"),Object(a._x)("image","block search term","jetpack")],description:Object(a.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:C,save:function(){return null}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);n(27);var r=n(22),i=n.n(r),a=n(0),o=n(16),c=n(46);Object(o.setCategories)([].concat(i()(Object(o.getCategories)().filter(function(e){return"jetpack"!==e.slug})),[{slug:"jetpack",title:"Jetpack",icon:Object(a.createElement)(c.a,null)}]))},,,,,function(e,t,n){n(244),n(233),n(227),n(226),n(243),n(242),n(237),n(228),n(231),n(225),n(241),n(238),n(235),n(239),n(240),n(229),n(230),n(234),n(224),n(236),n(232),e.exports=n(275)},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(45),c=(n(250),n(40)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),_=n(3),j=n.n(_),k=n(15),O=n(5),w=n(14),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),j()(g()(n),"onMessageChange",function(e){n.props.updateSeoDescription(e.target.value)}),n}return y()(t,e),p()(t,[{key:"render",value:function(){var e=this.props.seoDescription;return Object(r.createElement)("div",{className:"jetpack-seo-message-box"},Object(r.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:Object(i.__)("Write a description…","jetpack"),rows:4}),Object(r.createElement)("div",{className:"jetpack-seo-character-count"},Object(i.sprintf)(Object(i._n)("%d character","%d characters",e.length,"jetpack"),e.length)))}}]),t}(r.Component),C=Object(k.compose)([Object(w.withSelect)(function(e){return{seoDescription:Object(O.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}}),Object(w.withDispatch)(function(e){return{updateSeoDescription:function(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}}})])(E),x={render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("SEO Description","jetpack")},Object(r.createElement)(C,null))),Object(r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:Object(r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},Object(i.__)("SEO Description","jetpack"))},Object(r.createElement)(C,null)))}},S=n(33);Object(S.a)("seo",x)}]));
|
_inc/blocks/editor-beta.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours dd span{display:block}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:right}.jetpack-business-hours dt{clear:both;font-weight:700;margin-left:.5rem}.jetpack-business-hours dd{margin:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 0 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:var(--muriel-hot-red-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:var(--muriel-hot-green-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-membership-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-membership-button .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-membership-button .membership-button__field-price{margin-right:10px}.wp-block-jetpack-membership-button .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-membership-button .membership-button__field-button{margin:4px}.wp-block-jetpack-membership-button .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-membership-button .membership-button__disclaimer{margin-top:20px;font-style:italic}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:.8em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-left:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;transform:scale(1)}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field{padding:7px}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}
|
_inc/blocks/editor.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours dd span{display:block}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:left}.jetpack-business-hours dt{clear:both;font-weight:700;margin-right:.5rem}.jetpack-business-hours dd{margin:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:var(--muriel-hot-red-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:var(--muriel-hot-green-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-membership-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-membership-button .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-membership-button .membership-button__field-price{margin-left:10px}.wp-block-jetpack-membership-button .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-membership-button .membership-button__field-button{margin:4px}.wp-block-jetpack-membership-button .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-membership-button .membership-button__disclaimer{margin-top:20px;font-style:italic}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin-top:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:.8em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#eb0001}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrappper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active{background-color:currentColor;opacity:1;transform:scale(1)}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.wp-block-jetpack-wordads{background:#fff}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field{padding:7px}.jetpack-wordads-leaderboard .components-placeholder{min-height:90px}.jetpack-wordads-mobile_leaderboard .components-placeholder{min-height:72px}.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}
|
_inc/blocks/editor.deps.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
["lodash","moment","react","wp-api-fetch","wp-blob","wp-blocks","wp-components","wp-compose","wp-data","wp-date","wp-edit-post","wp-editor","wp-element","wp-escape-html","wp-hooks","wp-i18n","wp-keycodes","wp-plugins","wp-token-list"]
|
_inc/blocks/editor.js
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],o=t[1],c=0,s=[];c<a.length;c++)r=a[c],i[r]&&s.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={2:0},i={2:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{11:1,12:1}[e]&&t.push(r[e]=new Promise(function(t,n){for(var r="rtl"===document.dir?({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".rtl.css":({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".css",i=a.p+r,o=document.getElementsByTagName("link"),c=0;c<o.length;c++){var s=(u=o[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===r||s===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var u;if((s=(u=l[c]).getAttribute("data-href"))===r||s===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.request=r,n(a)},p.href=i,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){r[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=function(e){return a.p+""+({11:"vendors~map/mapbox-gl",12:"vendors~swiper"}[e]||e)+"."+{11:"04cbfc67fccf81ea9659",12:"9b37c99b023f13fed6fb"}[e]+".js"}(e),c=function(t){s.onerror=s.onload=null,clearTimeout(l);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,o=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");o.type=r,o.request=a,n[1](o)}i[e]=void 0}};var l=setTimeout(function(){c({type:"timeout",target:s})},12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return a(a.s=248)}([function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.components},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.editor},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(70),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(71);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;
|
2 |
+
/*!
|
3 |
+
Copyright (c) 2017 Jed Watson.
|
4 |
+
Licensed under the MIT License (MIT), see
|
5 |
+
http://jedwatson.github.io/classnames
|
6 |
+
*/
|
7 |
+
/*!
|
8 |
+
Copyright (c) 2017 Jed Watson.
|
9 |
+
Licensed under the MIT License (MIT), see
|
10 |
+
http://jedwatson.github.io/classnames
|
11 |
+
*/
|
12 |
+
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=i.apply(null,r);o&&e.push(o)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}},function(e,t){e.exports=wp.data},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.blocks},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(80);var p=/[&<>"]/,h=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function m(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(59);t.lib={},t.lib.mdurl=n(81),t.lib.ucmicro=n(135),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)})},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(h,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(13),i=n.n(r),a=n(16),o=n(93),c=n(44),s=o.beta||[];function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(c.a)(e),o=r.available;r.unavailableReason;if(!o)return!1;var l=Object(a.registerBlockType)("jetpack/".concat(e),s.includes(e)?i()({},t,{title:"".concat(t.title," (beta)")}):t);return n.forEach(function(e){return Object(a.registerBlockType)("jetpack/".concat(e.name),e.settings)}),l}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"h",function(){return a}),n.d(t,"i",function(){return o}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return p});var r=["image"],i=4,a=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(48),i=n(49),a=n(50);e.exports=function(e,t){return r(e)||i(e,t)||a()}},function(e,t,n){var r=n(65),i=n(66),a=n(67);e.exports=function(e){return r(e)||i(e)||a()}},function(e,t){e.exports=wp.blob},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n(1),a={name:"map",prefix:"jetpack",title:Object(i.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i._x)("map","block search term","jetpack"),Object(i._x)("location","block search term","jetpack"),Object(i._x)("navigation","block search term","jetpack")],description:Object(i.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.__)("Basic","jetpack")},{value:"black_and_white",label:Object(i.__)("Black and white","jetpack")},{value:"satellite",label:Object(i.__)("Satellite","jetpack")},{value:"terrain",label:Object(i.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},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){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){e.exports=wp.keycodes},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"a",function(){return o}),n.d(t,"e",function(){return c});var r="after-visits",i="before-visits",a=3,o="jp-visit-counter",c=15552e3},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return u});var r=n(57),i=n(5),a=16/9,o=.8,c=600,s="wp-block-jetpack-slideshow_autoplay-paused";function l(e){u(e),p(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",function(){e.el&&(e.el.classList.contains(s)?(e.el.classList.remove(s),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(s),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))})}function u(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,a),1),i="undefined"!=typeof window?window.innerHeight*o:c,s=Math.min(e.width/r,i),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}}function p(e){Object(i.forEach)(e.slides,function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")}),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(e)}function h(e){Object(i.forEach)(e.pagination.bullets,function(t){t.addEventListener("click",function(){var t=e.slides[e.realIndex];setTimeout(function(){t.focus()},500)})})}},function(e,t){e.exports=React},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=_(0,0,0,0);function f(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+f(e["border-"+n+"-width"])},0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],a=e["padding-"+i];t[i]=f(a)}return t}(r),a=i.left+i.right,o=i.top+i.bottom,c=f(r.width),s=f(r.height);if("border-box"===r.boxSizing&&(Math.round(c+a)!==t&&(c-=b(r,"left","right")+a),Math.round(s+o)!==n&&(s-=b(r,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(c+a)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return _(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return _(0,0,t.width,t.height)}(e):g(e):m}function _(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){return function(e,t){var n,r,i,a,o,c,s,l=(r=(n=t).x,i=n.y,a=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),s);h(this,{target:e,contentRect:l})}}(),O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new k(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new O(t,n,this);w.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var C=void 0!==a.ResizeObserver?a.ResizeObserver:E;t.a=C},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(42),i=n(44);function a(e,t){var n=Object(i.a)(e),a=n.available;n.unavailableReason;return!!a&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(10),m=n.n(d),f=n(0),b=n(1),g=n(12),v=n.n(g),y=n(15),_=n(2),j=n(6),k=n(5),O=window.getComputedStyle,w=Object(_.withFallbackStyles)(function(e,t){var n,r,i,a,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=O(r).backgroundColor),n&&(a=O(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||a}}),E=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,a=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},i()(e,a,a),i()(e,"has-background",r),i()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,a=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(j.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,formattingControls:[]})),Object(f.createElement)(j.InspectorControls,null,Object(f.createElement)(j.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){a(e),i({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),i({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(j.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(y.compose)([Object(j.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){"use strict";var r=n(209),i=n(211);function a(){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){i.isString(e)&&(e=y(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={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},v=n(212);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),c=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var _=s.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var j=o.exec(y);if(j){var k=(j=j[0]).toLowerCase();this.protocol=k,y=y.substr(j.length)}if(n||j||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||j&&b[j]||(y=y.substr(2),this.slashes=!0)}if(!b[j]&&(O||j&&!g[j])){for(var w,E,C=-1,x=0;x<h.length;x++){-1!==(S=y.indexOf(h[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(w=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(w)),C=-1;for(x=0;x<p.length;x++){var S;-1!==(S=y.indexOf(p[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var M=F[x];if(M&&!M.match(d)){for(var T="",D=0,N=M.length;D<N;D++)M.charCodeAt(D)>127?T+="x":T+=M[D];if(!T.match(d)){var z=F.slice(0,x),L=F.slice(x+1),R=M.match(m);R&&(z.push(R[1]),L.unshift(R[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=z.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var I=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+I,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){I=this.pathname||"";var G=this.search||"";this.path=I+G}return this.href=this.format(),this},a.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||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(c=c.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[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 p=Object.keys(e),h=0;h<p.length;h++){var d=p[h];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.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 f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),j=_||y||n.host&&e.pathname,k=j,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(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&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),j=j&&(""===m[0]||""===O[0])),_)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=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.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,x=0,S=O.length;S>=0;S--)"."===(E=O[S])?O.splice(S,1):".."===E?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!j&&!k)for(;x--;x)O.unshift("..");!j||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(j=j||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.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},a.prototype.parseHost=function(){var e=this.host,t=c.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){var r=n(108);e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t){function n(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function c(e){n(o,i,a,c,s,"next",e)}function s(e){n(o,i,a,c,s,"throw",e)}c(void 0)})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),i=n(2),a=n(45),o=n(42),c=(n(115),n(46)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(a.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null})}})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function i(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t){e.exports=wp.plugins},function(e,t,n){"use strict";var r=n(13),i=n.n(r),a=n(96),o=n.n(a),c=n(97),s=n.n(c),l=n(55),u=n.n(l),p=n(98),h=n.n(p),d=n(64),m=n.n(d),f=n(99),b=n.n(f),g=n(63);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(a?
|
13 |
+
/*
|
14 |
+
* Exposes number format capability
|
15 |
+
*
|
16 |
+
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
17 |
+
* @license See CREDITS.md
|
18 |
+
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
19 |
+
*/
|
20 |
+
function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,a):""+Math.round(i)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<a&&(s[1]=s[1]||"",s[1]+=new Array(a-s[1].length+1).join("0")),s.join(c)}var y=o()("i18n-calypso"),_=[function(e){return e}],j={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function C(e,t){for(var n=_.length-1;n>=0;n--){var r=_[n](Object.assign({},t));if(e.state.locale[r.original])return E(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:h()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v(e,"number"==typeof t?t:t.decimals||0,t.decPoint||this.state.numberFormatSettings.decimal_point||".",t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",")},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==j[n+e])return j[n+e];var r=b()().update(e).digest("hex");return j[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)_.push(r(!1));else{var i=t.substr(5).indexOf("-");if(i<0){var a=Number(t.substr(5));_.push(r(a))}else for(var o=Number(t.substr(5,i)),c=Number(t.substr(6+i)),s=o;s<=c;s++)_.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=E(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=E(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!C(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var i=C(this,t);if(i||(i=E(this.state.jed,t)),t.args){var a=Array.isArray(t.args)?t.args.slice(0):[t.args];a.unshift(i);try{i=u.a.sprintf.apply(u.a,a)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",a)}}return t.components&&(i=s()({mixedString:i,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach(function(e){i=e(i,t)}),n&&this.state.translations.set(e,i),i},x.prototype.reRenderTranslations=function(){y("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),M=n.n(P),T=n(11),D=n.n(T),N=n(8),z=n.n(N),L=n(9),R=n.n(L),I=n(4),B=n.n(I),q=n(10),V=n.n(q),H=n(3),U=n.n(H),G=n(31),$=n.n(G),K=n(21),Z=n.n(K),W=new F,J=(W.moment,W.numberFormat.bind(W)),Y=(W.translate.bind(W),W.configure.bind(W),W.setLocale.bind(W),W.getLocale.bind(W),W.getLocaleSlug.bind(W),W.addTranslations.bind(W),W.reRenderTranslations.bind(W),W.registerComponentUpdateHook.bind(W),W.registerTranslateHook.bind(W),W.state,W.stateObserver,W.on.bind(W),W.off.bind(W),W.emit.bind(W),A={moment:(S=W).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(W),n(41));function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var a=i()({},r,n),o=a.decimal,c=a.grouping,s=a.precision,l=a.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",function(){return X})},function(e,t,n){"use strict";var r=n(13),i=n.n(r),a=n(5),o="Jetpack_Editor_Initial_State";function c(e){var t=Object(a.get)("object"==typeof window?window:null,[o],null),n=Object(a.get)(t,["available_blocks",e,"available"],!1),r=Object(a.get)(t,["available_blocks",e,"unavailable_reason"],"unknown");return i()({available:n},!n&&{unavailableReason:r})}n.d(t,"a",function(){return c})},function(e,t){e.exports=wp.editPost},function(e,t,n){"use strict";var r=n(0),i=n(2),a=n(12),o=n.n(a);t.a=function(e){var t=e.size,n=void 0===t?24:t,a=e.className;return Object(r.createElement)(i.SVG,{className:o()("jetpack-logo",a),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return s});var r=n(21),i=n.n(r),a=n(20);function o(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],d=1/c*(n-a.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map(function(e){return(n-a.b*(e.childElementCount-1))*p(e)[0]}),s=o(c,r);i.forEach(function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=o(u(e).map(function(e){return i/h(e)}),n);Array.from(e.children).forEach(function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-a.b*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:d,rowWidth:n-a.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce(function(e,t){var n=i()(e,2),r=n[0],a=n[1],o=i()(t,2),c=o[0],s=o[1];return[r+c,a+s]},[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=wp.date},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,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=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-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,a=n(31),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),i=n(1),a=n(2),o=n(42),c=n(40),s=Object(a.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("Likes and Sharing","jetpack")},e)):null})}})},function(e,t,n){var r=n(35),i=n(215),a=n(216),o=n(217)("photon");e.exports=function(e,t){var n=r.parse(e,!0,!0),s="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=r.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,h=i(p),d=a(h),m="i"+Math.floor(3*d()),o('determined server "%s" to use with "%s"',m,p),m+".wp.com"),s&&(l.query.ssl=1)}var p,h,d,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[c[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=r.format(l);return o("generated Photon URL: %s",g),g};var c={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){
|
21 |
+
/**
|
22 |
+
* @preserve jed.js https://github.com/SlexAxton/Jed
|
23 |
+
*/
|
24 |
+
!function(n,r){var i=Array.prototype,a=Object.prototype,o=i.slice,c=a.hasOwnProperty,s=i.forEach,l={},u={forEach:function(e,t,n){var r,i,a;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(a in e)if(c.call(e,a)&&t.call(n,e[a],a,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function h(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var a;if(r=r||n,e=e||this._textdomain,!this.options)return(a=new p).dcnpgettext.call(a,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,d=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===i)s=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");s=h(f)(i)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(o=d[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[h(f)(i)]),c[h()(i)]):(c=o[s])||(c=[n,r])[h()(i)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,a,o,c,s,l,u,p=1,h=n.length,d="",m=[];for(a=0;a<h;a++)if("string"===(d=e(n[a])))m.push(n[a]);else if("array"===d){if((c=n[a])[2])for(i=r[p],o=0;o<c[2].length;o++){if(!i.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);i=i[c[2][o]]}else i=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(i))throw b("[sprintf] expecting number but found %s",e(i));switch(null==i&&(i=""),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(c[8])&&c[3]&&i>=0?"+"+i:i,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(i).length,s=c[6]?t(l,u):"",m.push(c[5]?i+s:s+i)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var a=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(a.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))a.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";a.push(c[1])}n[2]=a}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}();p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),b.apply(null,t)}(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},p.PF={},p.PF.parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,a,o){var c=a.length-1;switch(i){case 1:return{type:"GROUP",expr:a[c-1]};case 2:this.$={type:"TERNARY",expr:a[c-4],truthy:a[c-2],falsey:a[c]};break;case 3:this.$={type:"OR",left:a[c-2],right:a[c]};break;case 4:this.$={type:"AND",left:a[c-2],right:a[c]};break;case 5:this.$={type:"LT",left:a[c-2],right:a[c]};break;case 6:this.$={type:"LTE",left:a[c-2],right:a[c]};break;case 7:this.$={type:"GT",left:a[c-2],right:a[c]};break;case 8:this.$={type:"GTE",left:a[c-2],right:a[c]};break;case 9:this.$={type:"NEQ",left:a[c-2],right:a[c]};break;case 10:this.$={type:"EQ",left:a[c-2],right:a[c]};break;case 11:this.$={type:"MOD",left:a[c-2],right:a[c]};break;case 12:this.$={type:"GROUP",expr:a[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,m,f,b,g,v,y,_,j,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==h&&(h=p()),f=a[m]&&a[m][h]),void 0===f||!f.length||!f[0]){if(!l){for(g in _=[],a[m])this.terminals_[g]&&g>2&&_.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:_})}if(3==l){if(1==h)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,h=p()}for(;!(2..toString()in a[m]);){if(0==m)throw new Error(O||"Parsing halted.");j=1,n.length=n.length-2*j,r.length=r.length-j,i.length=i.length-j,m=n[n.length-1]}d=h,h=2,f=a[m=n[n.length-1]]&&a[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(f[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(f[1]),h=null,d?(h=d,d=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:i[i.length-(v||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(v||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,i)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),i=i.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),i.push(k._$),y=a[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(21),i=n.n(r),a=n(39),o=n.n(a),c=n(5);n(91);function s(){return l.apply(this,arguments)}function l(){return(l=o()(regeneratorRuntime.mark(function e(){var t,r,a,o,s,l,u,p=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},a=p.length>2&&void 0!==p[2]?p[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(a,function(e){return function(){e(this)}})},e.next=6,Promise.all([n.e(12).then(n.t.bind(null,246,7)),n.e(12).then(n.t.bind(null,247,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},o,r)));case 10:case"end":return e.stop()}},e)}))).apply(this,arguments)}},function(e,t){e.exports=wp.escapeHtml},function(e,t,n){"use strict";var r=n(21),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),_=n(1),j=n(5),k=n(2),O=(n(76),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"handleClick",function(){(0,n.props.onClick)(m()(n))}),v()(m()(n),"getPoint",function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,a=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,E=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"closeClick",function(){n.props.unsetActiveMarker()}),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=E;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()}),v()(m()(e),"onMapClick",function(){e.setState({activeMarker:null})}),v()(m()(e),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(m()(e),"updateActiveMarker",function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(j.assign)(i[r],t),e.props.onSetPoints(i)}),v()(m()(e),"deleteActiveMarker",function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})}),v()(m()(e),"sizeMap",function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=.8*window.innerHeight,a=Math.min(.75*r,i);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()}),v()(m()(e),"setBoundsByMarkers",function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,a=e.state,o=a.map,c=a.activeMarker,s=a.mapboxgl,l=a.zoomControl,u=a.boundsSetProgrammatically;if(o&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),r.length>1)return o.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void o.removeControl(l);if(o.setCenter(p.getCenter()),u){o.setZoom(12),i(12)}else o.setZoom(parseInt(n,10));o.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(m()(e),"scriptsLoaded",function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(j.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,a=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,d=Object(j.get)(s,"props.point")||{},m=d.title,f=d.caption,b=y.Children.map(i,function(e){if("AddPoint"===Object(j.get)(e,"props.tagName"))return e}),g=c&&l&&n.map(function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:a,onClick:u})}),v=l&&Object(y.createElement)(C,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.TextControl,{label:Object(_.__)("Marker Title","jetpack"),value:m,onChange:function(e){return h({title:e})}}),Object(y.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(_.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(_.__)("Delete Marker","jetpack"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,m),Object(y.createElement)("p",null,f)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,a=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(11).then(n.t.bind(null,279,7)),n.e(11).then(n.t.bind(null,280,7))]).then(function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,a=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",function(e){o("mapbox_error",e.error.message)});var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",function(){t.props.onSetZoom(s.getZoom())}),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(90),i=n(89);function a(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=s(i.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,i){var a=n-t;r(a%4==0);for(var o=new Array(a/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===i?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,o=(a<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+a>>>0)<a?1:0,e+n+i+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,o,c){return t+r+a+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+a>>>0)<a?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,o,c,s,l){return t+r+a+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,a,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var l=s.length,u=m(s,l);for(n=0;n<l;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,p(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,p(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},c.prototype.listenerCount=d,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){e.exports=moment},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){},,function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";e.exports=n(130)},function(e,t,n){"use strict";e.exports.encode=n(131),e.exports.decode=n(132),e.exports.format=n(133),e.exports.parse=n(134)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=a,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,a,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=a,i--),n=0;n<i;n+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(a=e.tokens[r.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&o.push(i.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=a)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,a=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=o?"strong_open":"em_open",i.tag=o?"strong":"em",i.nesting=1,i.markup=o?a+a:a,i.content="",(i=e.tokens[r.token]).type=o?"strong_close":"em_close",i.tag=o?"strong":"em",i.nesting=-1,i.markup=o?a+a:a,i.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){},,function(e){e.exports={production:["business-hours","contact-form","contact-info","gif","likes","mailchimp","map","markdown","publicize","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],beta:["seo"]}},function(e,t,n){"use strict";e.exports=n(129)},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 i,a,o=n[r.type],c=t(r);if(o)for(i=0;i<o.length;i++)(a=o[i](r,e))&&e.dispatch(a);return c}}}).effects=n,t}},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)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},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;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var 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(185)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=c(n(31)),a=c(n(187)),o=c(n(190));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,h,d,m,f=[],b={};for(h=0;h<e.length;h++)if("string"!==(p=e[h]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=h;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,i=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+i.value+"`")}(c,e),d=l(e.slice(c+1,u),t),o=i.default.cloneElement(n,{},d),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach(function(e,t){e&&(b["interpolation-child-"+t]=e)}),(0,a.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,o.default)(t);try{return l(a,n)}catch(c){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(63),i=n(89);function a(e){if(!(this instanceof a))return new a(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=a,i(a,r.EventEmitter),Object.defineProperty(a.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),a.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},a.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},a.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},a.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},a.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},a.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},a.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},a.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(62),i=n(191),a=n(192),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=a.ft_1,u=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],u=this.h[2],h=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(i,5),l(m,a,u,h),d,n[r],p[m]);d=h,h=u,u=o(a,30),a=i,i=f}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t){e.exports=wp.tokenList},function(e,t){e.exports=wp.hooks},function(e,t,n){},,function(e,t,n){},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";var r=n(17),i=n(137),a=n(141),o=n(142),c=n(150),s=n(164),l=n(177),u=n(81),p=n(179),h={default:n(180),zero:n(181),commonmark:n(182)},d=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!d.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new a,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),a=0,o=e.length;a<o;a++)if(c=e.charCodeAt(a),n&&37===c&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))u+=e.slice(a,a+3),a+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<o&&(s=e.charCodeAt(a+1))>=56320&&s<=57343){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[a]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,i,a,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(a=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&a)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&a)&&128==(192&o))?(l+=(s=i<<12&61440|a<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&a)&&128==(192&o)&&128==(192&c))?((s=i<<18&1835008|a<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,a,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(f);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&d[g]||(f=f.substr(2),this.slashes=!0)),!d[g]&&(s||g&&!m[g])){var v,y,_=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===_||c<_)&&(_=c);for(-1!==(y=-1===_?f.lastIndexOf("@"):f.lastIndexOf("@",_))&&(v=f.slice(0,y),f=f.slice(y+1),this.auth=v),_=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===_||c<_)&&(_=c);-1===_&&(_=f.length),":"===f[_-1]&&_--;var j=f.slice(0,_);f=f.slice(_),this.parseHost(j),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var E="",C=0,x=w.length;C<x;C++)w.charCodeAt(C)>127?E+="x":E+=w[C];if(!E.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(h);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var M=f.indexOf("?");return-1!==M&&(this.search=f.substr(M),f=f.slice(0,M)),f&&(this.pathname=f),m[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(82),t.Cc=n(83),t.Cf=n(136),t.P=n(59),t.Z=n(84)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(138),t.parseLinkDestination=n(139),t.parseLinkTitle=n(140)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(17).isSpace,i=n(17).unescapeAll;e.exports=function(e,t,n){var a,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t))||r(a))return s;if(62===a)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n)t+=2;else{if(40===a&&o++,41===a){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(17).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return s;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(17).assign,i=n(17).unescapeAll,a=n(17).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",d="";return h&&(d=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,d)||a(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+d]):l[s][1]+=" "+n.langPrefix+d,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return a(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",a=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===o.nesting?"</":"<")+o.tag,i+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(i+=" /"),o.block&&(a=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?a=!1:-1===r.nesting&&r.tag===o.tag&&(a=!1))),i+=a?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,c=e.length;o<c;o++)void 0!==a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,a=e.length;i<a;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,a,o="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(a=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[a]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(60),i=[["normalize",n(143)],["block",n(144)],["inline",n(145)],["linkify",n(146)],["replacements",n(147)],["smartquotes",n(148)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},a.prototype.State=n(149),e.exports=a},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(17).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j=e.tokens;if(e.md.options.linkify)for(n=0,a=j.length;n<a;n++)if("inline"===j[n].type&&e.md.linkify.pretest(j[n].content))for(f=0,t=(o=j[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(_=s.content,/^<a[>\s]/i.test(_)&&f>0&&f--,i(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],m=s.level,d=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>d&&((c=new e.Token("text","",0)).content=p.slice(d,h),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),d=y[u].lastIndex);d<p.length&&((c=new e.Token("text","",0)).content=p.slice(d),c.level=m,l.push(c)),j[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,a=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(a,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(17).isWhiteSpace,i=n(17).isPunctChar,a=n(17).isMdAsciiPunct,o=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,o,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E,C,x,S;for(C=[],n=0;n<e.length;n++){for(o=e[n],m=e[n].level,w=C.length-1;w>=0&&!(C[w].level<=m);w--);if(C.length=w+1,"text"===o.type){h=0,d=(u=o.content).length;e:for(;h<d&&(c.lastIndex=h,p=c.exec(u));){if(k=O=!0,h=p.index+1,E="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<d)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=a(b)||i(String.fromCharCode(b)),y=a(g)||i(String.fromCharCode(g)),_=r(b),(j=r(g))?k=!1:y&&(_||v||(k=!1)),_?O=!1:v&&(j||y||(O=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(O=k=!1),k&&O&&(k=!1,O=y),k||O){if(O)for(w=C.length-1;w>=0&&(f=C[w],!(C[w].level<m));w--)if(f.single===E&&C[w].level===m){f=C[w],E?(x=t.md.options.quotes[2],S=t.md.options.quotes[3]):(x=t.md.options.quotes[0],S=t.md.options.quotes[1]),o.content=l(o.content,p.index,S),e[f.token].content=l(e[f.token].content,f.pos,x),h+=S.length-1,f.token===n&&(h+=x.length-1),d=(u=o.content).length,C.length=w;continue e}k?C.push({token:n,pos:p.index,single:E,level:m}):O&&E&&(o.content=l(o.content,p.index,s))}else E&&(o.content=l(o.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(61);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(60),i=[["table",n(151),["paragraph","reference"]],["code",n(152)],["fence",n(153),["paragraph","reference","blockquote","list"]],["blockquote",n(154),["paragraph","reference","blockquote","list"]],["hr",n(155),["paragraph","reference","blockquote","list"]],["list",n(156),["paragraph","reference","blockquote"]],["reference",n(157)],["heading",n(158),["paragraph","reference","blockquote"]],["lheading",n(159)],["html_block",n(160),["paragraph","reference","blockquote"]],["paragraph",n(162)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}a.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),a=i.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},a.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},a.prototype.State=n(163),e.exports=a},function(e,t,n){"use strict";var r=n(17).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function a(e){var t,n=[],r=0,i=e.length,a=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):a%2==0&&(c=!0,s=r):124!==t||a%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?a++:a=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,h,d,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),f=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(h=a(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=a(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<d;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u]?h[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(a=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),a.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,a,o,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(a=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(o=e.src.slice(h,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(d=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<a||(h=e.skipSpaces(h))<d)){p=!0;break}return a=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,a,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E=e.lineMax,C=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(i)return!0;for(s=d=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,d++,a=!1,_=!0):9===e.src.charCodeAt(C)?(_=!0,(e.bsCount[t]+d)%4==3?(C++,s++,d++,a=!1):a=!0):_=!1,m=[e.bMarks[t]],e.bMarks[t]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?d+=4-(d+e.bsCount[t]+(a?1:0))%4:d++,C++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((C=e.bMarks[h]+e.tShift[h])>=(x=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(C++)||w){if(u)break;for(j=!1,c=0,l=k.length;c<l;c++)if(k[c](e,h,n,!0)){j=!0;break}if(j){e.lineMax=h,0!==e.blkIndent&&(m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=d=e.sCount[h]+C-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(C)?(C++,s++,d++,a=!1,_=!0):9===e.src.charCodeAt(C)?(_=!0,(e.bsCount[h]+d)%4==3?(C++,s++,d++,a=!1):a=!0):_=!1,m.push(e.bMarks[h]),e.bMarks[h]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?d+=4-(d+e.bsCount[h]+(a?1:0))%4:d++,C++;u=C>=x,f.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(_?1:0),v.push(e.sCount[h]),e.sCount[h]=d-s,y.push(e.tShift[h]),e.tShift[h]=C-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,h),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(l++))&&45!==a&&95!==a)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==a&&!r(c))return!1;c===a&&o++}return!(o<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0))}},function(e,t,n){"use strict";var r=n(17).isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=o)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}e.exports=function(e,t,n,r){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k,O,w,E,C,x,S,A,F,P,M,T,D=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(D=!0),(S=a(e,t))>=0){if(h=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),D&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(D&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(T=e.push("ordered_list_open","ol",1),1!==v&&(T.attrs=[["start",v]])):T=e.push("bullet_list_open","ul",1),T.map=f=[t,0],T.markup=String.fromCharCode(g),_=t,A=!1,M=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";_<n;){for(x=S,y=e.eMarks[_],p=j=e.sCount[_]+S-(e.bMarks[t]+e.tShift[t]);x<y;){if(9===(o=e.src.charCodeAt(x)))j+=4-(j+e.bsCount[_])%4;else{if(32!==o)break;j++}x++}if((u=(c=x)>=y?1:j-p)>4&&(u=1),l=p+u,(T=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),T.map=d=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=j,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(N=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=O,e.tight=C,(T=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),_=t=e.line,d[1]=_,c=e.bMarks[t],_>=n)break;if(e.sCount[_]<e.blkIndent)break;for(P=!1,s=0,m=M.length;s<m;s++)if(M[s](e,_,n,!0)){P=!0;break}if(P)break;if(h){if((S=a(e,_))<0)break}else if((S=i(e,_))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(T=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=_,e.line=_,e.parentType=w,N&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t,n,a){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,_,j,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,_=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(y=!1,p=0,h=_.length;p<h;p++)if(_[p](e,E,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(j=b.str,O=b.pos,k+=b.lines):(j="",O=c,k=s);O<w&&(o=v.charCodeAt(O),i(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&j)for(j="",O=c,k=s;O<w&&(o=v.charCodeAt(O),i(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(d=r(v.slice(1,m)))&&(!!a||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:j,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,a=e.src.charCodeAt(++l);35===a&&l<u&&o<=6;)o++,a=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(a))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c,s,l,u,p,h,d=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d])<(l=e.eMarks[d])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,a=0,o=m.length;a<o;a++)if(m[a](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(161),i=n(85).HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<a.length&&!a[i][0].test(s);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),a[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(61),i=n(17).isSpace;function a(e,t,n,r){var a,o,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(a=o.charCodeAt(s),!h){if(i(a)){u++,9===a?p+=4-p%4:p++;continue}h=!0}10!==a&&s!==l-1||(10!==a&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},a.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},a.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},a.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},a.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},a.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},a.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},a.prototype.getLines=function(e,t,n,r){var a,o,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),a=0;h<t;h++,a++){for(o=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&o<n;){if(c=this.src.charCodeAt(s),i(c))9===c?o+=4-(o+this.bsCount[h])%4:o++;else{if(!(s-p<this.tShift[h]))break;o++}s++}u[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(60),i=[["text",n(165)],["newline",n(166)],["escape",n(167)],["backticks",n(168)],["strikethrough",n(86).tokenize],["emphasis",n(87).tokenize],["link",n(169)],["image",n(170)],["autolink",n(171)],["html_inline",n(172)],["entity",n(173)]],a=[["balance_pairs",n(174)],["strikethrough",n(86).postProcess],["emphasis",n(87).postProcess],["text_collapse",n(175)]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](c)},o.prototype.State=n(176),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(17).isSpace;e.exports=function(e,t){var n,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},function(e,t,n){"use strict";for(var r=n(17).isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),a++;a<o&&(n=e.src.charCodeAt(a),r(n));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),a=o=s;-1!==(a=e.src.indexOf("`",o));){for(o=a+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-a===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,a).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?l=u.pos:d=""),b=l;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);else h="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;d=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",d]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(17).normalizeReference,i=n(17).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d,m,f,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(d=h.str,u=h.pos;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);else d="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,d=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,d&&n.push(["title",d])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,a,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(a=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(85).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,o=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=a)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(80),i=n(17).has,a=n(17).isValidEntityCode,o=n(17).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=a(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,a=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=a[t]).close)for(n=t-r.jump-1;n>=0;){if((i=a[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(61),i=n(17).isWhiteSpace,a=n(17).isPunctChar,o=n(17).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,d,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||a(String.fromCharCode(n)),d=o(r)||a(String.fromCharCode(r)),u=i(n),(h=i(r))?f=!1:d&&(u||p||(f=!1)),u?b=!1:p&&(h||d||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||d)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(178)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var r,o={validate:null,link:null};if(e.__compiled__[t]=o,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?a(n.validate)?o.validate=n.validate:u(t,n):o.validate=(r=n.validate,function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}),void(a(n.normalize)?o.normalize=n.normalize:n.normalize?u(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function d(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(82).source,t.src_Cc=n(83).source,t.src_Z=n(84).source,t.src_P=n(59).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",function(){return m}),n.d(t,"ucs2encode",function(){return f}),n.d(t,"decode",function(){return v}),n.d(t,"encode",function(){return y}),n.d(t,"toASCII",function(){return j}),n.d(t,"toUnicode",function(){return _});var r=n(22),i=n.n(r),a=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function h(e){throw new RangeError(l[e])}function d(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function m(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}var f=function(e){return String.fromCodePoint.apply(String,i()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,i=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&h("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var d=i,m=1,f=36;;f+=36){p>=r&&h("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((a-i)/m))&&h("overflow"),i+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var y=36-v;m>u(a/y)&&h("overflow"),m*=y}var _=n.length+1;c=g(i-d,_,0==d),u(i/_)>a-o&&h("overflow"),o+=u(i/_),i%=_,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},y=function(e){var t=[],n=(e=m(e)).length,r=128,i=0,o=72,c=!0,s=!1,l=void 0;try{for(var d,f=e[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var v=d.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var y=t.length,_=y;for(y&&t.push("-");_<n;){var j=a,k=!0,O=!1,w=void 0;try{for(var E,C=e[Symbol.iterator]();!(k=(E=C.next()).done);k=!0){var x=E.value;x>=r&&x<j&&(j=x)}}catch(B){O=!0,w=B}finally{try{k||null==C.return||C.return()}finally{if(O)throw w}}var S=_+1;j-r>u((a-i)/S)&&h("overflow"),i+=(j-r)*S,r=j;var A=!0,F=!1,P=void 0;try{for(var M,T=e[Symbol.iterator]();!(A=(M=T.next()).done);A=!0){var D=M.value;if(D<r&&++i>a&&h("overflow"),D==r){for(var N=i,z=36;;z+=36){var L=z<=o?1:z>=o+26?26:z-o;if(N<L)break;var R=N-L,I=36-L;t.push(p(b(L+R%I,0))),N=u(R/I)}t.push(p(b(N,0))),o=g(i,S,_==y),i=0,++_}}}catch(B){F=!0,P=B}finally{try{A||null==T.return||T.return()}finally{if(F)throw P}}++i,++r}return t.join("")},_=function(e){return d(e,function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e})},j=function(e){return d(e,function(e){return c.test(e)?"xn--"+y(e):e})},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:y,toASCII:j,toUnicode:_};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},,function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e}),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(186),Object.keys(e).forEach(function(t){r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=7*a,c=365.25*a;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return s(e,t,a,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=n(31),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(88),o=n(188),c=n(189),s=".",l=":",u="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function h(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function d(e,t,n,r){var a,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===i)return n(r,e,""===t?s+h(e,0):t),1;var m=0,f=""===t?s:t+l;if(Array.isArray(e))for(var b=0;b<e.length;b++)m+=d(a=e[b],f+h(a,b),n,r);else{var g=function(e){var t=e&&(u&&e[u]||e[p]);if("function"==typeof t)return t}(e);if(g){0;for(var v,y=g.call(e),_=0;!(v=y.next()).done;)m+=d(a=v.value,f+h(a,_++),n,r)}else if("object"===c){0;var j=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===j?"object with keys {"+Object.keys(e).join(", ")+"}":j,"")}}return m}var m=/\/+/g;function f(e){return(""+e).replace(m,"$&/")}var b,g,v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},_=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function j(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function k(e,t,n){var i,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?O(p,c,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(i=p,o=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(i,{key:o},void 0!==i.props?i.props.children:void 0)),c.push(p))}function O(e,t,n,r,i){var a="";null!=n&&(a=f(n)+"/");var o=j.getPooled(t,a,r,i);!function(e,t,n){null==e||d(e,"",t,n)}(e,k,o),j.release(o)}j.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},b=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(g=j).instancePool=[],g.getPooled=b||v,g.poolSize||(g.poolSize=10),g.release=_;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,a,o,c,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,a,o,c,s],p=0;(l=new Error(t.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(88);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(62),i=n(90);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(62).rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof window&&window;a.global!==a&&a.window!==a&&a.self;var o,c=2147483647,s=36,l=1,u=26,p=38,h=700,d=72,m=128,f="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=s-l,j=Math.floor,k=String.fromCharCode;function O(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function x(e){return w(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?j(e/h):e>>1,e+=j(e/t);e>_*u>>1;r+=s)e=j(e/_);return j(r+(_+1)*e/(e+p))}function F(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],_=e.length,k=0,w=m,E=d;for((n=e.lastIndexOf(f))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&O("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(a=k,o=1,p=s;i>=_&&O("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>j((c-k)/o))&&O("overflow"),k+=h*o,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=s)o>j(c/(g=s-b))&&O("overflow"),o*=g;E=A(k-a,t=y.length+1,0==a),j(k/t)>c-w&&O("overflow"),w+=j(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function P(e){var t,n,r,i,a,o,p,h,b,g,v,y,_,w,E,x=[];for(y=(e=C(e)).length,t=m,n=0,a=d,o=0;o<y;++o)(v=e[o])<128&&x.push(k(v));for(r=i=x.length,i&&x.push(f);r<y;){for(p=c,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>j((c-n)/(_=r+1))&&O("overflow"),n+=(p-t)*_,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>c&&O("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=s)E=h-g,w=s-g,x.push(k(S(g+E%w,0))),h=j(E/w);x.push(k(S(h,0))),a=A(n,_,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:C,encode:x},decode:F,encode:P,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+P(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?F(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(210)(e))},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";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(213),t.encode=t.stringify=n(214)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,d,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),h=decodeURIComponent(u),d=decodeURIComponent(p),r(a,h)?Array.isArray(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var a=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return a+encodeURIComponent(r(e))}).join(t):a+encodeURIComponent(r(e[i]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,a,o=-1;for(t=0,i=e.length;t<i;t+=1){for(a=255&(o^e[t]),r=0;r<8;r+=1)1==(1&a)?a=a>>>1^n:a>>>=1;o=o>>>8^a}return-1^o}function i(e,n){var r,a,o;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,a=0,o=e.length;a<o;a+=1)r=r>>>8^t[255&(r^e[a])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,function(e){return e.charCodeAt(0)})):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],a=window,o=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,a=0,o=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);a<r;)c[a]=a++;for(a=0;a<r;a++)c[a]=c[o=l&o+e[a%n]+(t=c[a])],c[o]=t;(i.g=function(e){for(var t,n=0,a=i.i,o=i.j,c=i.S;e--;)t=c[a=l&a+1],n=n*r+c[l&(c[a]=c[o=l&o+t])+(c[o]=t)];return i.i=a,i.j=o,n})(r)}function h(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var l=[],u=(h(function e(t,n){var r,i=[],a=(typeof t)[0];if(n&&"o"==a)for(r in t)try{i.push(e(t[r],n-1))}catch(o){}return i.length?i:"s"==a?t:t+"\0"}(n&&n.entropy||!1?[t,d(i)]:0 in arguments?t:function(e){try{return a.crypto.getRandomValues(e=new Uint8Array(r)),d(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,d(i)]}}(),3),l),new p(l));return h(d(u.S),i),function(){for(var e=u.g(6),t=o,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},h(Math.random(),i)},function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(218)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,a=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(a=i))}),e.splice(a,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)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="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.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"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,i=+new Date,a=i-(n||i);e.diff=a,e.prev=n,e.curr=i,n=i;for(var o=new Array(arguments.length),c=0;c<o.length;c++)o[c]=arguments[c];o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var i=t.formatters[r];if("function"==typeof i){var a=o[s];n=i.call(e,a),o.splice(s,1),s--}return n}),t.formatArgs.call(e,o),(r.log||t.log||console.log.bind(console)).apply(e,o)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=i,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function i(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var a=t.instances[n];a.enabled=t.enabled(a.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(219),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=365.25*a;function c(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*i;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&!1===isNaN(e))return t.long?c(s=e,a,"day")||c(s,i,"hour")||c(s,r,"minute")||c(s,n,"second")||s+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",function(){return At}),n.d(r,"attributes",function(){return Pt}),n.d(r,"support",function(){return Mt});var i=n(18),a=n(13),o=n.n(a),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),h=n(5),d=n(2),m=n(22),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),_=n(8),j=n.n(_),k=n(9),O=n.n(k),w=n(4),E=n.n(w),C=n(10),x=n.n(C),S=n(6),A=[{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],F=Object(u.__)("Pick an image filter","jetpack");function P(e){var t=e.value,n=e.onChange;return Object(l.createElement)(d.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(d.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:F,tooltip:F,icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(d.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map(function(e){var i,a=e.icon,o=e.title,c=e.value;return Object(l.createElement)(d.MenuItem,{className:t===c?"is-active":void 0,icon:a,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},o)}))}})}var M=n(12),T=n.n(M),D=n(28),N=n(23),z=n(14),L=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",function(){n.props.isSelected||n.props.onSelect()}),s()(E()(n),"onImageKeyDown",function(e){n.img.current===document.activeElement&&n.props.isSelected&&[D.BACKSPACE,D.DELETE].includes(e.keyCode)&&n.props.onRemove()}),n}return x()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,a=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!a&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,a=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,h=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(h){case"media":e=g;break;case"attachment":e=p}var y=Object(N.isBlobURL)(f),_=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:y?void 0:g,srcSet:y?void 0:b,tabIndex:"0",style:y?{backgroundImage:"url(".concat(f,")")}:void 0}),y&&Object(l.createElement)(d.Spinner,null));return Object(l.createElement)("figure",{className:T()("tiled-gallery__item",s()({"is-selected":c,"is-transient":y},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(d.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,_):_)}}]),t}(l.Component),R=Object(z.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(L);function I(e){var t,n=e.alt,r=e.imageFilter,i=e.height,a=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(N.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":a,"data-link":o,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:T()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},d):d)}var B=n(32);function q(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:T()("tiled-gallery__row",n)},t)}var U=n(47);function G(e){var t=e.height,n=e.width;return t&&n?n/t:1}var $=pe([2,1,2],5),K=he([de,de,me,de,de]),Z=he([de,de,de,me,de,de,de]),W=pe([3,1,3],5),J=he([me,de,de,me]),Y=pe([1,2,1],5),X=he([me,de,de,de]),Q=pe([1,3],3),ee=he([de,de,de,me]),te=pe([3,1],3),ne=he([be(1.6),Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2))]),re=pe([1,2],3),ie=pe([1,1,1,1,1],1),ae=pe([1,1,1,1],1),oe=pe([1,1,1],3),ce=he([Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2)),be(1.6)]),se=pe([2,1],3),le=he([function(e){return e>=2}]);function ue(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&K(r)&&$(n)?[2,1,2]:r.length>15&&Z(r)&&W(n)?[3,1,3]:5!==r.length&&J(r)&&Y(n)?[1,2,1]:X(r)&&Q(n)?[1,3]:ee(r)&&te(n)?[3,1]:ne(r)&&re(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ie(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ae(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&oe(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:ce(r)&&se(n)?[2,1]:le(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function pe(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),function(t){return Object(h.isEqual)(t,e)})}}function he(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function de(e){return e>=1&&e<2}function me(e){return e<1}function fe(e){return function(t){return t>=e}}function be(e){return function(t){return t<e}}var ge=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(U.a)(n).forEach(function(e){return Object(U.b)(e,r)})},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}})}),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,G)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):ue(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(H,{key:t},e.map(function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(q,{key:t},n)}))}))}}]),t}(l.Component),ve=n(20);function ye(e){var t=e.columns,n=e.renderedImages,r=Math.min(ve.h,t),i=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(q,{key:t},e)}))}))}var _e=n(37),je=n.n(_e),ke=n(54),Oe=n.n(ke),we=n(35);function Ee(e){return["circle","square"].includes(e)}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(N.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],i=e.height,a=e.width,o=t.layoutStyle,c=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?xe:Oe.a;if(Ee(o)&&a&&i){var s=Math.min(ve.i,a,i);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l;if(Ee(o)){var u=Math.min(600,a,i),p=Math.min(ve.i,a,i);l=Object(h.range)(u,p,300).map(function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"all"});return t?"".concat(t," ").concat(e,"w"):null}).filter(Boolean).join(",")}else{var d=Math.min(600,a),m=Math.min(ve.i,a);l=Object(h.range)(d,m,300).map(function(e){var t=c(r,{strip:"all",width:e});return t?"".concat(t," ").concat(e,"w"):null}).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,je()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(we.format)(i)}var Se=function(e){function t(){return g()(this,t),j()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,a=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,d=n.setImageAttributes,m=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),f=a?I:R,b=Ce(e,{layoutStyle:c}),g=b.src,v=b.srcSet;return Object(l.createElement)(f,{alt:e.alt,"aria-label":m,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:a?void 0:s(t),onSelect:a?void 0:p(t),origUrl:e.url,setAttributes:a?void 0:d(t),srcSet:v,url:g,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=Ee(o)?ye:ge,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Ae=n(102),Fe=n.n(Ae);function Pe(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=new Fe.a(t).values()[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var c=a.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(h.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,i=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return Object(h.find)(e,"isDefault")}(e,t);return n?n.name:null}var Me=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function Te(e){return Math.min(3,e.images.length)}var De=function(e){var t=Object(h.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(h.get)(e,["sizes","large","url"])||Object(h.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ne=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:ve.a,filesList:e,onFileChange:function(e){var r=e.map(function(e){return De(e)});n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})}),s()(E()(n),"onRemoveImage",function(e){return function(){var t=Object(h.filter)(n.props.attributes.images,function(t,n){return e!==n}),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}}),s()(E()(n),"onSelectImage",function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}}),s()(E()(n),"onSelectImages",function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map(function(e){return De(e)})})}),s()(E()(n),"setColumnsNumber",function(e){return n.setAttributes({columns:e})}),s()(E()(n),"setImageAttributes",function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],t)],f()(r.slice(e+1)))})}}),s()(E()(n),"setLinkTo",function(e){return n.setAttributes({linkTo:e})}),s()(E()(n),"uploadFromFiles",function(e){return n.addFiles(e.target.files)}),n}return x()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,a=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,h=r.columns,m=void 0===h?Te(r):h,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(d.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ve.a,multiple:!0,gallery:!0,value:b.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(l.createElement)(d.IconButton,{className:"components-toolbar__control",label:Object(u.__)("Edit Gallery","jetpack"),icon:"edit",onClick:t})}})),Object(l.createElement)(P,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:Lt}),className:a,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ve.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var _=Pe(ve.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(d.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(_)&&b.length>1&&Object(l.createElement)(d.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ve.h,b.length)}),Object(l.createElement)(d.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:Me}))),c,Object(l.createElement)(Se,{align:p,className:a,columns:m,imageFilter:f,images:b,layoutStyle:_,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(d.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),ze=Object(d.withNotices)(Ne);n(220);function Le(e){var t,n=e["aria-label"],r=e.alt,i=e.height,a=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(N.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Re(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function Ie(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Be(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:T()("tiled-gallery__row",n)},t)}var qe=n(21),Ve=n.n(qe),He=4,Ue=20,Ge=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function $e(e,t){var n=(t-e.reduce(function(e,t){return e+t},0))/e.length;return e.map(function(e){return e+n})}function Ke(e,t){!function(e,t,n){var r=Ve()(t,2),i=r[0],a=r[1],o=1/i*(n-He*(e.childElementCount-1)-a);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=Ze(e),a=i.map(function(e){return(n-He*(e.childElementCount-1))*Je(e)[0]}),o=$e(a,r);i.forEach(function(e,t){var r=a[t],i=o[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=$e(We(e).map(function(e){return i/Ye(e)}),n);Array.from(e.children).forEach(function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))})}(e,{colHeight:n-He*(e.childElementCount-1),width:i,rawWidth:r})})}(e,{rawHeight:o,rowWidth:n-He*(e.childElementCount-1)})}(e,function(e){return Ze(e).map(Je).reduce(function(e,t){var n=Ve()(e,2),r=n[0],i=n[1],a=Ve()(t,2),o=a[0],c=a[1];return[r+o,i+c]},[0,0])}(e),t)}function Ze(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function We(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function Je(e){var t=We(e),n=t.length,r=1/t.map(Ye).reduce(function(e,t){return e+1/t},0);return[r,r*n||1]}function Ye(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function Xe(e){var t=e.height,n=e.width;return t&&n?n/t:1}var Qe=vt([2,1,2],5),et=yt([_t,_t,jt,_t,_t]),tt=yt([_t,_t,_t,jt,_t,_t,_t]),nt=vt([3,1,3],5),rt=yt([jt,_t,_t,jt]),it=vt([1,2,1],5),at=yt([jt,_t,_t,_t]),ot=vt([1,3],3),ct=yt([_t,_t,_t,jt]),st=vt([3,1],3),lt=yt([Ot(1.6),Object(h.overEvery)(kt(.9),Ot(2)),Object(h.overEvery)(kt(.9),Ot(2))]),ut=vt([1,2],3),pt=vt([1,1,1,1,1],1),ht=vt([1,1,1,1],1),dt=vt([1,1,1],3),mt=yt([Object(h.overEvery)(kt(.9),Ot(2)),Object(h.overEvery)(kt(.9),Ot(2)),Ot(1.6)]),ft=vt([2,1],3),bt=yt([function(e){return e>=2}]);function gt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&et(r)&&Qe(n)?[2,1,2]:r.length>15&&tt(r)&&nt(n)?[3,1,3]:5!==r.length&&rt(r)&&it(n)?[1,2,1]:at(r)&&ot(n)?[1,3]:ct(r)&&st(n)?[3,1]:lt(r)&&ut(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&pt(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ht(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&dt(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:mt(r)&&ft(n)?[2,1]:bt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function vt(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),function(t){return Object(h.isEqual)(t,e)})}}function yt(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function _t(e){return e>=1&&e<2}function jt(e){return e<1}function kt(e){return function(t){return t>=e}}function Ot(e){return function(t){return t<e}}var wt=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=j()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame(function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e,t=i.value,n=t.contentRect,r=t.target,a=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach(function(e){return Ke(e,a)})},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}})}),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,Xe)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):gt(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(Ie,{galleryRef:this.gallery},c.map(function(e,t){return Object(l.createElement)(Be,{key:t},e.map(function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(Re,{key:t},n)}))}))}}]),t}(l.Component);function Et(e){var t=e.columns,n=e.renderedImages,r=Math.min(Ue,t),i=n.length%r;return Object(l.createElement)(Ie,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(Be,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(Re,{key:t},e)}))}))}var Ct=function(e){function t(){return g()(this,t),j()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(N.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?St:Oe.a;if(xt(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return a(i,{resize:"".concat(o,",").concat(o)})}return a(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,a=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Le,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:a===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=xt(o)?Et:wt,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function xt(e){return["circle","square"].includes(e)}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,je()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(we.format)(i)}function At(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,a=t.columns,o=void 0===a?function(e){return Math.min(3,e.images.length)}(t):a,c=t.linkTo;return Object(l.createElement)(Ct,{align:r,className:i,columns:o,images:n,layoutStyle:Pe(Ge,i),linkTo:c})}var Ft,Pt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Mt={align:["center","wide","full"],customClassName:!1,html:!1},Tt=(Ft={},s()(Ft,ve.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Ft,ve.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Ft,ve.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Ft,ve.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Ft),Dt=ve.g.map(function(e){return o()({},e,{label:Tt[e.name]})});function Nt(e){return Object(h.filter)(e,function(e){var t=e.id,n=e.url;return t&&n})}var zt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ve.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Lt=Object(l.createElement)(d.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(d.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Rt={attributes:zt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack"),icon:Lt,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Dt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Nt(e).length>0},transform:function(e){var t=Nt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}}),ids:t.map(function(e){return e.id})})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Nt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}}),ids:t.map(function(e){return e.id})}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,i=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:i})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map(function(e){var n=e.id,r=e.url,i=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:i})}):Object(p.createBlock)("core/image")}}]},edit:ze,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,a=t.className,o=t.columns,c=void 0===o?Te(t):o,s=t.linkTo;return Object(l.createElement)(Se,{align:i,className:a,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Pe(ve.g,a),linkTo:s})},deprecated:[r]};Object(i.a)("tiled-gallery",Rt)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",function(){return p}),n.d(r,"refreshConnectionTestResults",function(){return h}),n.d(r,"fetchFromAPI",function(){return d});var i={};n.r(i),n.d(i,"getFailedConnections",function(){return m}),n.d(i,"getMustReauthConnections",function(){return f});var a=n(0),o=n(1),c=n(2),s=n(45),l=n(6),u=(n(183),n(14));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function h(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function d(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter(function(e){return!1===e.test_success})}function f(e){return e.filter(function(e){return"must_reauth"===e.test_success}).map(function(e){return e.service_name})}var b=n(22),g=n.n(b),v=n(95),y=n.n(v),_=n(5),j=n(39),k=n.n(j),O=n(24),w=n.n(O);function E(){return(E=k()(regeneratorRuntime.mark(function e(t,n){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,w()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(p(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}},e,null,[[1,8]])}))).apply(this,arguments)}var C={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return E.apply(this,arguments)}};var x,S,A,F,P,M={FETCH_FROM_API:function(e){var t=e.path;return w()({path:t})}},T=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:M,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=T,A=[y()(C)],F=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},P={getState:x.getState,dispatch:function(){return F.apply(void 0,arguments)}},S=A.map(function(e){return e(P)}),F=_.flowRight.apply(void 0,g()(S))(x.dispatch),x.dispatch=F;var D=n(40),N=n(15),z=n(7),L=n.n(z),R=n(11),I=n.n(R),B=n(8),q=n.n(B),V=n(9),H=n.n(V),U=n(4),G=n.n(U),$=n(10),K=n.n($),Z=n(3),W=n.n(Z),J=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"refreshConnectionClick",function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var a=window.open(r,i,""),o=window.setInterval(function(){!1!==a.closed&&(window.clearInterval(o),n.props.refreshConnections())},500)}),n}return K()(t,e),I()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter(function(e){return e.can_refresh});return t.length?Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map(function(t){return Object(a.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)})):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter(function(e){return!e.can_refresh});return e.length?e.map(function(e){return Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,e.test_message))}):null}},{key:"render",value:function(){return Object(a.createElement)(a.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(a.Component),Y=Object(N.compose)([Object(u.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}}),Object(u.withDispatch)(function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}})])(J),X=n(13),Q=n.n(X),ee=n(12),te=n.n(ee),ne=n(26),re=n.n(ne),ie=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ae=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),oe=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ce=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),se=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(a.createElement)(c.Icon,re()({icon:ie},n));case"twitter":return Object(a.createElement)(c.Icon,re()({icon:ae},n));case"linkedin":return Object(a.createElement)(c.Icon,re()({icon:oe},n));case"tumblr":return Object(a.createElement)(c.Icon,re()({icon:ce},n))}return null};function le(){return window&&window._currentSiteId?window._currentSiteId:window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}var ue=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"maybeDisplayLinkedInNotice",function(){return n.connectionNeedsReauth()&&Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(a.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(le())},Object(o.__)("Go to Sharing settings","jetpack")))}),W()(G()(n),"connectionNeedsReauth",function(){return Object(_.includes)(n.props.mustReauthConnections,n.props.name)}),W()(G()(n),"onConnectionChange",function(){var e=n.props.id;n.props.toggleConnection(e)}),n}return K()(t,e),I()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some(function(e){return e.service_name===n})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(a.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(a.createElement)(c.Disabled,null,u)),Object(a.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(a.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(a.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(a.createElement)(se,{serviceName:l}),Object(a.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(a.Component),pe=Object(u.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}})(ue),he=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"settingsClick",function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),a=window.setInterval(function(){!1!==i.closed&&(window.clearInterval(a),r())},500)}),n}return K()(t,e),I()(t,[{key:"getButtonLink",value:function(){var e=le();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=te()("jetpack-publicize-add-connection-container",this.props.className);return Object(a.createElement)("div",{className:e},Object(a.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(a.Component),de=function(e){function t(){var e,n;L()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),W()(G()(n),"state",{hasEditedShareMessage:!1}),W()(G()(n),"fieldId",Object(_.uniqueId)("jetpack-publicize-message-field-")),W()(G()(n),"onMessageChange",function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)}),n}return K()(t,e),I()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),c=256-i.length,s=te()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(a.createElement)("div",{id:"publicize-form"},Object(a.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map(function(e){var t=e.display_name,r=e.enabled,i=e.id,o=e.service_name,c=e.toggleable;return Object(a.createElement)(pe,{disabled:!c,enabled:r,key:i,id:i,label:t,name:o,toggleConnection:n})})),Object(a.createElement)(he,{refreshCallback:r}),t.some(function(e){return e.enabled})&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(a.createElement)("div",{className:"jetpack-publicize-message-box"},Object(a.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(a.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(a.Component),me=Object(N.compose)([Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(_.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}}),Object(u.withDispatch)(function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map(function(e){return Q()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(de),fe=Object(N.compose)([Object(u.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(u.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,n=e.refreshConnections;return Object(a.createElement)(a.Fragment,null,t&&t.some(function(e){return e.enabled})&&Object(a.createElement)(Y,null),Object(a.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(a.createElement)(me,{refreshCallback:n}),t&&0===t.length&&Object(a.createElement)(he,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))}),be={render:function(){return Object(a.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(a.createElement)(D.a,null,Object(a.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(a.createElement)(fe,null))),Object(a.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(a.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(a.createElement)(fe,null)))}},ge=n(33);Object(ge.a)("publicize",be)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],h=function(e){var t=e.isSelected;return Object(i.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},d=n(19),m=(n(111),n(72),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),_=n(9),j=n.n(_),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),a&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,a=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=a?"+".concat(a,","):"",d=o?"+".concat(o,","):"";d=c?"".concat(d,"+").concat(c):d;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(d).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some(function(e){return""!==e})&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(a.__)("Open address in Google Maps","jetpack")},Object(i.createElement)(C,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(C,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=y()(this,(e=j()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return E()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,h=t.postal,d=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,h,d].some(function(e){return""!==e}),v=l()({"jetpack-address-block":!0,"is-selected":f}),y=Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(a.__)("Street Address","jetpack"),"aria-label":Object(a.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(a.__)("Address Line 2","jetpack"),"aria-label":Object(a.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(a.__)("Address Line 3","jetpack"),"aria-label":Object(a.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:u,placeholder:Object(a.__)("City","jetpack"),"aria-label":Object(a.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(a.__)("State/Province/Region","jetpack"),"aria-label":Object(a.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(a.__)("Postal/Zip Code","jetpack"),"aria-label":Object(a.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:d,placeholder:Object(a.__)("Country","jetpack"),"aria-label":Object(a.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),F={title:Object(a.__)("Address","jetpack"),description:Object(a.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(a._x)("location","block search term","jetpack"),Object(a._x)("direction","block search term","jetpack"),Object(a._x)("place","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(38),M=n.n(P),T=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map(function(e,t){var n=e.replace(/([.,\/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&M.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)}))},D=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},N=function(e){var t=e.setAttributes;return D("email",e,Object(a.__)("Email","jetpack"),T,function(e){return t({email:e})})},z={title:Object(a.__)("Email Address","jetpack"),description:Object(a.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(a._x)("message","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:N,save:T,parent:["jetpack/contact-info"]};var L=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,a=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9\/+\/(]/.test(r[0])?(a=a.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[a.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},a):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},R=function(e){var t=e.setAttributes;return D("phone",e,Object(a.__)("Phone number","jetpack"),L,function(e){return t({phone:e})})},I={title:Object(a.__)("Phone Number","jetpack"),description:Object(a.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(a._x)("mobile","block search term","jetpack"),Object(a._x)("telephone","block search term","jetpack"),Object(a._x)("cell","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:R,save:L},B={title:Object(a.__)("Contact Info","jetpack"),description:Object(a.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("phone","block search term","jetpack"),Object(a._x)("address","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:h,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))}},q=[{name:"address",settings:F},{name:"email",settings:z},{name:"phone",settings:I}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(13),a=n.n(i),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(106),n(7)),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),_=n.n(y),j=n(10),k=n.n(j),O=n(12),w=n.n(O),E=n(38),C=n.n(E),x=n(15),S=n(26),A=n.n(S),F=n(37),P=n.n(F),M=n(52),T=n.n(M),D=(n(109),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,a=P()(e,["children","isError"]),c=w()("help-message",{"help-message-is-error":i});return n&&Object(o.createElement)("div",A()({className:c},a),i&&Object(o.createElement)(T.a,{size:"24"}),Object(o.createElement)("span",null,n))}),N=n(19),z=n(34),L=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],R=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(_()(n)),n.onBlurTo=n.onBlurTo.bind(_()(n)),n.onChangeTo=n.onChangeTo.bind(_()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(_()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(_()(n)),n.getToValidationError=n.getToValidationError.bind(_()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(_()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(_()(n)),n.hasEmailError=n.hasEmailError.bind(_()(n));var o=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:o&&o.length?o:null},n}return k()(t,e),m()(t,[{key:"getIntroMessage",value:function(){return Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")}},{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!C.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,a=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:a,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(D,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(D,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:i,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email feedback settings","jetpack")},this.renderToAndSubjectFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:L,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(z.a,this.props)))}}]),t}(o.Component),I=Object(x.compose)([x.withInstanceId])(R),B=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,a=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),i&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:a,onChange:function(e){return t({required:e})}}),!i&&a&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var q=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,a=e.setAttributes,s=e.defaultValue,p=e.placeholder,h=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(B,{required:r,label:i,setAttributes:a,isSelected:t}),placeholder:p,value:p,onChange:function(e){return a({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return a({id:e})}}))))};var V=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,a=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(B,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:a,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},H=Object(x.withInstanceId)(function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,a=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(B,{required:n,label:r,setAttributes:i,isSelected:a}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return i({id:e})}}))))})}),U=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(_()(n)),n.onKeyPress=n.onKeyPress.bind(_()(n)),n.onDeleteOption=n.onDeleteOption.bind(_()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),G=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(_()(n)),n.addNewOption=n.addNewOption.bind(_()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,a=t.label,s=t.setAttributes,p=t.isSelected,h=t.id,d=this.props.options,m=this.state.inFocus;return d.length||(d=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(B,{required:i,label:a,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},d.map(function(t,r){return Object(o.createElement)(U,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})})),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),$=Object(x.withInstanceId)(G),K={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact","block search term","jetpack")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:I,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!(!e.has_form_settings_set&&"Submit"===e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},Z={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},W=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},J=function(e){return function(t){return Object(o.createElement)(q,{type:e,label:W(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},Y=function(e){return function(t){return Object(o.createElement)($,{label:W(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},X=[{name:"field-text",settings:a()({},Z,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:J("text")})},{name:"field-name",settings:a()({},Z,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:J("text")})},{name:"field-email",settings:a()({},Z,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:J("email")})},{name:"field-url",settings:a()({},Z,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:J("url")})},{name:"field-date",settings:a()({},Z,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:J("text")})},{name:"field-telephone",settings:a()({},Z,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:J("tel")})},{name:"field-textarea",settings:a()({},Z,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(V,{label:W(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:a()({},Z,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(H,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:a()({},Z.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:a()({},Z,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:Y("checkbox"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:a()({},Z,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:Y("radio"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:a()({},Z,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(N.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:Y("select"),attributes:a()({},Z.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",K,X)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(25),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),_=n(24),j=n.n(_),k=n(1),O=n(2),w=n(6),E=(n(119),n(22)),C=n.n(E),x=n(12),S=n.n(x),A=n(5),F=n(28),P=n(15);function M(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],a=i.keywords,o=void 0===a?[]:a;if("string"==typeof i.label&&(o=[].concat(C()(o),[i.label])),n.push(i),n.length===t)break}return n}var T=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(m()(e),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(m()(e),"onChange",function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?M(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()}),v()(m()(e),"onKeyDown",function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,a=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===i?a.length:i)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(i+1)%a.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(a[i]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then(function(t){var r;if(i===n.activePromise){var a=t.map(function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),o=M(a),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",a),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,a=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=o.className,d=l.length>0,m=d?"components-autocomplete-listbox-".concat(a):null,f=d?"components-autocomplete-item-".concat(a,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:d,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),d&&Object(y.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,function(t,n){return Object(y.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(a,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(y.Component),D=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(T),N=Object(k.__)("Add a marker…","jetpack"),z=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text}),v()(m()(e),"search",function(t){var n=e.props,r=n.apiKey,i=n.onError,a="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise(function(e,t){var n=new XMLHttpRequest;n.open("GET",a),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var a=JSON.parse(n.responseText);i(a.statusText,a.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()})}),v()(m()(e),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(D,{completer:this.autocompleter,onReset:this.onReset},function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,a=t.onChange,o=t.onKeyDown;return Object(y.createElement)(O.TextControl,{placeholder:N,ref:e.textRef,onChange:a,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:o})})))}}]),t}(y.Component);z.defaultProps={onError:function(){}};var L=z,R=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(y.createElement)(O.Popover,{className:"component__add-point__popover"},Object(y.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(O.Dashicon,{icon:"no"})),Object(y.createElement)(L,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:i,onError:r})))}}]),t}(y.Component);R.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var I=R,B=(n(121),function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,a=r.onChange,o=i.slice(0);o.splice(n,1),a(o)}),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,a=r.onChange,o=i.slice(0);o[n][e]=t,a(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,n){return Object(y.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,V=n(58),H=(n(123),function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,a=t.map(function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(O.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)});return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(O.ButtonGroup,null,a))}}]),t}(y.Component));H.defaultProps={label:"",options:[],value:null,onChange:function(){}};var U=H,G=0,$=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"addPoint",function(t){var n=e.props,r=n.attributes,i=n.setAttributes,a=r.points,o=a.slice(0),c=!1;a.map(function(e){e.id===t.id&&(c=!0)}),c||(o.push(t),i({points:o}),e.setState({addPointVisibility:!1}))}),v()(m()(e),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(m()(e),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(m()(e),"updateAPIKey",function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")}),v()(m()(e),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(m()(e),"onError",function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)}),e.state={addPointVisibility:!1,apiState:G},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,a="/wpcom/v2/service-api-keys/mapbox",o=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},function(){j()(o).then(function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,a=t.attributes,o=t.noticeUI,c=t.notices,s=a.mapStyle,l=a.mapDetails,u=a.points,p=a.zoom,h=a.mapCenter,d=a.markerColor,m=a.align,f=this.state,b=f.addPointVisibility,g=f.apiKey,v=f.apiKeyControl,_=f.apiState,j=f.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:m,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(O.Toolbar,null,Object(y.createElement)(O.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(y.createElement)(U,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(y.createElement)(q,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(y.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(O.ButtonGroup,null,Object(y.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(y.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),C=Object(y.createElement)(O.Placeholder,{icon:i.a.icon},Object(y.createElement)(O.Spinner,null)),x=Object(y.createElement)(O.Placeholder,{icon:i.a.icon,label:Object(k.__)("Map","jetpack"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(y.createElement)("br",null),Object(y.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(y.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),Object(y.createElement)(O.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:j,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:v,onChange:this.updateAPIKeyControl}),Object(y.createElement)(O.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:j||!v||v.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack")))),S=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(V.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:d,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:g,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},b&&Object(y.createElement)(I,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:g,onError:this.onError,tagName:"AddPoint"}))));return Object(y.createElement)(y.Fragment,null,o,_===G&&C,1===_&&x,2===_&&S)}}]),t}(y.Component),K=Object(O.withNotices)($),Z=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,a=e.zoom,o=e.mapCenter,c=e.markerColor,s=i.map(function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))}),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":a,"data-map-center":JSON.stringify(o),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),W=(n(78),n(125),i.a.name),J={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z};Object(r.a)(W,J)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(12),k=n.n(j),O=n(38),w=n.n(O),E=n(15),C=n(14),x=n(5),S=n(41),A=n(26),F=n.n(A),P=n(37),M=n.n(P),T=n(52),D=n.n(T),N=(n(201),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,a=void 0!==r&&r,o=M()(e,["children","isError"]),c=k()("simple-payments__help-message",{"simple-payments__help-message-is-error":a});return n&&Object(i.createElement)("div",F()({className:c},o),a&&Object(i.createElement)(D.a,{size:"24"}),Object(i.createElement)("span",null,n))}),z=(n(203),n(100)),L=n.n(z),R=n(101),I=n.n(R),B=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,h=void 0===p?null:p,d=e.featuredMediaTitle,m=void 0===d?null:d;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},h&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:h,alt:m}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),s&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,s)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(a.__)("Pay with PayPal","jetpack"),src:L.a,srcSet:"".concat(I.a," 2x")}))))))},q=n(6),V=function(e){return function(t){return e({featuredMediaId:Object(x.get)(t,"id",0),featuredMediaUrl:Object(x.get)(t,"url",null),featuredMediaTitle:Object(x.get)(t,"title",null)})}},H=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(q.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(q.MediaUpload,{onSelect:V(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit Image","jetpack"),icon:"edit",onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(a.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(q.MediaPlaceholder,{icon:"format-image",labels:{title:Object(a.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:V(c)})},U=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],G=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},$=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(S.a)(t),i=r.precision,a=r.symbol,o=e.toFixed(i);return n?"".concat(o," ").concat(Object(x.trimEnd)(a,".")):o},K=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),_()(b()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),_()(b()(n),"validateAttributes",function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i}),_()(b()(n),"validateCurrency",function(){var e=n.props.attributes.currency;return U.includes(e)}),_()(b()(n),"validatePrice",function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Object(S.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(a.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(a.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):G(r)>i?0===i?(n.setState({fieldPriceError:Object(a.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(a.sprintf)(Object(a._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i,"jetpack"),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(a.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)}),_()(b()(n),"validateEmail",function(){var e=n.props.attributes.email;return e?w.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(a.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)}),_()(b()(n),"validateTitle",function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(a.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)}),_()(b()(n),"handleEmailChange",function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})}),_()(b()(n),"handleFeaturedMediaSelect",function(e){n.props.setAttributes({featuredMediaId:Object(x.get)(e,"id",0)})}),_()(b()(n),"handleContentChange",function(e){n.props.setAttributes({content:e})}),_()(b()(n),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})}),_()(b()(n),"handleCurrencyChange",function(e){n.props.setAttributes({currency:e})}),_()(b()(n),"handleMultipleChange",function(e){n.props.setAttributes({multiple:!!e})}),_()(b()(n),"handleTitleChange",function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})}),_()(b()(n),"getCurrencyList",U.map(function(e){var t=Object(S.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(x.trimEnd)(t,"."))}})),n}return v()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(x.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(x.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.content,a=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(x.get)(e,["content","raw"],i),currency:Object(x.get)(e,["meta","spay_currency"],a),email:Object(x.get)(e,["meta","spay_email"],o),featuredMediaId:Object(x.get)(e,["featured_media"],c),multiple:Boolean(Object(x.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(x.get)(e,["meta","spay_price"],l||void 0),title:Object(x.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,a=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:a,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(C.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},function(){o("postType","jp_pay_product",e.toApi()).then(function(e){return e&&r({productId:e.id}),e}).catch(function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),i):null,fieldPriceError:"spay_price"===n?Object(a.__)("Invalid price.","jetpack"):null})}}).finally(function(){e.setState({isSavingProduct:!1})})})}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,h=c.setAttributes,d=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,y=s.featuredMediaTitle,_=s.multiple,j=s.price,O=s.productId,w=s.title,E=v||l&&l.source_url,C=y||l&&l.alt_text,S=O&&Object(x.isEmpty)(d);if(!p&&S)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(B,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&j&&w&&!t&&!n&&!r)return Object(i.createElement)(B,{"aria-busy":"false",content:m,featuredMediaUrl:E,featuredMediaTitle:C,formattedPrice:$(j,f),multiple:_,title:w});var A=S?o.Disabled:"div";return Object(i.createElement)(A,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(H,{featuredMediaId:g,featuredMediaUrl:E,featuredMediaTitle:C,setAttributes:h}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:k()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(a.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(a.__)("Item name","jetpack"),required:!0,type:"text",value:w}),Object(i.createElement)(N,{id:"".concat(u,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(a.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(a.__)("Describe your item in a few words","jetpack"),value:m}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(a.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:k()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(a.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:$(0,f,!1),required:!0,step:"1",type:"number",value:j||""}),Object(i.createElement)(N,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(_),label:Object(a.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:k()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(a.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(a.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(i.createElement)(N,{id:"".concat(u,"-email-error"),isError:!0},t),Object(i.createElement)(N,{id:"".concat(u,"-email-help")},Object(a.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(a.__)("Create one on PayPal","jetpack")))))}}]),t}(i.Component),Z=Object(C.withSelect)(function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,a=e("core/editor"),o=a.isSavingPost,c=a.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(x.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(x.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?i(u):null}}),W=Object(E.compose)(Z,E.withInstanceId)(K);n(205);var J={title:Object(a.__)("Simple Payments button","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Lets you create and embed credit and debit card payment buttons with minimal setup.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(a._x)("shop","block search term","jetpack"),Object(a._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:W,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",J)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(13),s=n.n(c),l=n(22),u=n.n(l),p=n(7),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),_=n.n(y),j=n(10),k=n.n(j),O=n(3),w=n.n(O),E=n(15),C=n(5),x=n(23),S=n(14),A=n(6),F=n(12),P=n.n(F),M=n(32),T=n(56),D=n(30),N=function(e){function t(e){var n;return h()(this,t),n=b()(this,v()(t).call(this,e)),w()(_()(n),"pendingRequestAnimationFrame",null),w()(_()(n),"resizeObserver",null),w()(_()(n),"initializeResizeObserver",function(e){n.clearResizeObserver(),n.resizeObserver=new M.a(function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame(function(){Object(D.d)(e),e.update()})}),n.resizeObserver.observe(e.el)}),w()(_()(n),"clearPendingRequestAnimationFrame",function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)}),w()(_()(n),"clearResizeObserver",function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)}),w()(_()(n),"prefersReducedMotion",function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}),w()(_()(n),"buildSwiper",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Object(T.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:D.b,imagesReady:D.d,paginationRender:D.c,transitionEnd:D.a})}),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then(function(t){e.swiperInstance=t,e.initializeResizeObserver(t)}).catch(function(){t(Object(a.__)("The Swiper library could not be loaded.","jetpack"))})}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,i=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(i===e.align&&Object(C.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(function(e){n.swiperInstance=e,n.initializeResizeObserver(e)}).catch(function(){u(Object(a.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrappper swiper-wrapper"},c.map(function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:P()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(x.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))})),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);w()(N,"defaultProps",{effect:"slide"});var z=N,L=(n(207),["image"]),R=[{label:Object(a._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(a._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}],I=function(e){return Object(C.pick)(e,["alt","id","link","url","caption"])},B=function(e){function t(){var e;return h()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(_()(e),"onSelectImages",function(t){var n=t.map(function(e){return I(e)});e.setAttributes({images:n})}),w()(_()(e),"onRemoveImage",function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,function(e,n){return t!==n});e.setState({selectedImage:null}),e.setAttributes({images:n})}}),w()(_()(e),"addFiles",function(t){var n=e.props.attributes.images||[],r=e.props,i=r.lockPostSaving,a=r.unlockPostSaving,o=r.noticeOperations;i("slideshowBlockLock"),Object(A.mediaUpload)({allowedTypes:L,filesList:t,onFileChange:function(t){var r=t.map(function(e){return I(e)});e.setAttributes({images:[].concat(u()(n),u()(r))}),r.every(function(e){return Object(x.isBlobURL)(e.url)})||a("slideshowBlockLock")},onError:o.createErrorNotice})}),w()(_()(e),"uploadFromFiles",function(t){return e.addFiles(t.target.files)}),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map(function(e){var t=e.id;return parseInt(t,10)})})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,c=e.noticeOperations,s=e.noticeUI,l=e.setAttributes,u=t.align,p=t.autoplay,h=t.delay,d=t.effect,m=t.images,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(A.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Autoplay","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Autoplay","jetpack"),help:Object(a.__)("Autoplay between slides","jetpack"),checked:p,onChange:function(e){l({autoplay:e})}}),p&&Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Delay between transitions (in seconds)","jetpack"),value:h,onChange:function(e){l({delay:e})},min:1,max:5}),p&&f&&Object(i.createElement)("span",null,Object(a.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Effects","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Transition effect","jetpack"),value:d,onChange:function(e){l({effect:e})},options:R}))),Object(i.createElement)(A.BlockControls,null,!!m.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(A.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:L,multiple:!0,gallery:!0,value:m.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit Slideshow","jetpack"),icon:"edit",onClick:t})}}))));return 0===m.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(A.MediaPlaceholder,{icon:Object(i.createElement)(A.BlockIcon,{icon:G}),className:n,labels:{title:Object(a.__)("Slideshow","jetpack"),instructions:Object(a.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:L,multiple:!0,notices:s,onError:c.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,s,Object(i.createElement)(z,{align:u,autoplay:p,className:n,delay:h,effect:d,images:m,onError:c.createErrorNotice}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),r&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.__)("Upload an image","jetpack"))))}}]),t}(i.Component),q=Object(E.compose)(Object(S.withDispatch)(function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}}),o.withNotices)(B),V=n(16);function H(e){return Object(C.filter)(e,function(e){var t=e.id,n=e.url;return t&&n})}var U={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return H(e).length>0},transform:function(e){var t=H(e);return Object(V.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}}),ids:t.map(function(e){return e.id})})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=H(e.images);return t.length>0?Object(V.createBlock)("jetpack/slideshow",{images:t.map(function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}}),ids:t.map(function(e){return e.id})}):Object(V.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(V.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(V.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(V.createBlock)("core/image")}}]},G=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),$={title:Object(a.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(a._x)("image","block search term","jetpack"),Object(a._x)("gallery","block search term","jetpack"),Object(a._x)("slider","block search term","jetpack")],description:Object(a.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"}},supports:{align:["center","wide","full"],html:!1},icon:G,edit:q,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,a=t.delay,o=t.effect,c=t.images,s=e.className;return Object(i.createElement)(z,{align:n,autoplay:r,className:s,delay:a,effect:o,images:c})},transforms:U};Object(r.a)("slideshow",$)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=(n(127),n(7)),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(6),k=n(15),O=n(14),w=n(94),E=new(n.n(w).a),C=function(e){"A"===e.target.nodeName&&(window.confirm(Object(a.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},x=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:C},r.length?E.render(r):"")},S="editor",A=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"input",null),_()(b()(n),"state",{activePanel:S}),_()(b()(n),"bindInput",function(e){n.input=e}),_()(b()(n),"updateSource",function(e){return n.props.setAttributes({source:e})}),_()(b()(n),"handleKeyDown",function(e){var t=n.props,r=t.attributes,i=t.removeBlock,a=r.source;8===e.keyCode&&""===a&&(i(),e.preventDefault())}),_()(b()(n),"toggleMode",function(e){return function(){return n.setState({activePanel:e})}}),n}return v()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(S)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===S&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(a.__)("Write your _Markdown_ **here**…","jetpack")):Object(i.createElement)("div",{className:n},Object(i.createElement)(j.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(S,Object(a.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(a.__)("Preview","jetpack")))),"preview"!==c&&r?Object(i.createElement)(j.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(a.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(i.createElement)(x,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),F=Object(k.compose)([Object(O.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(O.withDispatch)(function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(n)}}})])(A),P={title:Object(a.__)("Markdown","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(a._x)("formatting","block search term","jetpack"),Object(a._x)("syntax","block search term","jetpack"),Object(a._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:F,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(x,{className:n,source:t.source})}};Object(r.a)("markdown",P)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(6),k=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(a.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map(function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)}))}})}n(222);var E=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),_()(b()(n),"handleHideMobileChange",function(e){n.props.setAttributes({hideMobile:!!e})}),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.format,c=t.hideMobile,s=k.filter(function(e){return e.tag===r})[0];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(j.BlockControls,null,Object(i.createElement)(w,{value:r,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(r)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:s.width,height:s.height+s.editorPadding}},Object(i.createElement)(o.Placeholder,{icon:x,label:C}),Object(i.createElement)(o.ToggleControl,{checked:Boolean(c),label:Object(a.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange}))))}}]),t}(i.Component),C=Object(a.__)("Ad","jetpack"),x=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),S={title:C,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Earn income by adding high quality ads to your post","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.__)("Learn all about WordAds","jetpack"))),icon:x,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},category:"jetpack",keywords:[Object(a.__)("ads","jetpack"),"WordAds",Object(a.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:E,save:function(){return null}};Object(r.a)("wordads",S)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=(n(104),n(68),n(26)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),_=n.n(y),j=n(3),k=n.n(j),O=n(24),w=n.n(O),E=n(12),C=n.n(E),x=n(51),S=n(6),A=n(13),F=n.n(A),P=n(5),M="09:00",T="17:00",D=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:C()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:M,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:T,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:C()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(a.__)("Add Hours","jetpack"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))}),k()(v()(n),"setHour",function(e,t,r){var i=n.props,a=i.day,o=i.attributes;(0,i.setAttributes)({days:o.days.map(function(n){return n.name===a.name?F()({},n,{hours:n.hours.map(function(n,i){return i===r?F()({},n,k()({},t,e)):n})}):n})})}),k()(v()(n),"toggleClosed",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){if(t.name===r.name){var n=e?[{opening:M,closing:T}]:[];return F()({},t,{hours:n})}return t})})}),k()(v()(n),"addInterval",function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,a=r.days;t.hours.push({opening:"",closing:""}),i({days:a.map(function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e})})}),k()(v()(n),"removeInterval",function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map(function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter(function(t,n){return e!==n})}):t})})}),n}return _()(t,e),h()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.__)("Closed","jetpack"):Object(a.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:C()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:C()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),N=n(21),z=n.n(N),L=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",function(e,t){return Object(i.createElement)("span",{key:t},Object(a.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)))}),n}return _()(t,e),h()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=z()(n,2),i=r[0],a=r[1],o=new Date;return!(!i||!a)&&(o.setHours(i),o.setMinutes(a),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter(function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(i.createElement)("dd",null,Object(P.isEmpty)(o)?Object(a._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval)))}}]),t}(i.Component),R={days:{Sun:Object(a.__)("Sunday","jetpack"),Mon:Object(a.__)("Monday","jetpack"),Tue:Object(a.__)("Tuesday","jetpack"),Wed:Object(a.__)("Wednesday","jetpack"),Thu:Object(a.__)("Thursday","jetpack"),Fri:Object(a.__)("Friday","jetpack"),Sat:Object(a.__)("Saturday","jetpack")},startOfWeek:0},I=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{localization:R,hasFetched:!1}),n}return _()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:R},function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then(function(t){e.setState({localization:t,hasFetched:!0})},function(){e.setState({localization:R,hasFetched:!0})})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,h=u.hasFetched,d=p.startOfWeek,m=l.concat(l.slice(0,d)).slice(d);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(S.BlockIcon,{icon:q}),label:Object(a.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:C()(r,"jetpack-business-hours")},m.map(function(e,t){return Object(i.createElement)(L,{key:t,day:e,localization:p,timeFormat:f})}))}return Object(i.createElement)("div",{className:C()(r,"is-edit")},m.map(function(t,n){return Object(i.createElement)(D,s()({key:n,day:t,localization:p},e.props))}))}}]),t}(i.Component),B=n(19),q=Object(B.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),V={title:Object(a.__)("Business Hours","jetpack"),description:Object(a.__)("Display opening hours for your business.","jetpack"),icon:q,category:"jetpack",supports:{html:!0},keywords:[Object(a._x)("opening hours","block search term","jetpack"),Object(a._x)("closing time","block search term","jetpack"),Object(a._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}]}},edit:function(e){return Object(i.createElement)(I,e)},save:function(){return null}};Object(r.a)("business-hours",V)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),_=n(3),j=n.n(_),k=n(24),O=n.n(k),w=n(34),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),j()(g()(n),"state",{subscriberCountString:""}),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(i.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(i.createElement)(w.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},l&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(c.TextControl,{placeholder:s}),Object(i.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then(function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(a.sprintf)(Object(a._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(a.__)("Subscriber count unavailable","jetpack")})})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var C=n(19),x={title:Object(a.__)("Subscription Form","jetpack"),description:Object(i.createElement)("p",null,Object(a.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(C.a)(Object(i.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(a._x)("subscribe","block search term","jetpack"),Object(a._x)("join","block search term","jetpack"),Object(a._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(a.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(a.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,a=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(a,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(19),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),_=n(3),j=n.n(_),k=n(6),O=n(14),w=n(12),E=n.n(w),C=n(29),x=[{value:C.b,label:Object(a.__)("Show after threshold","jetpack")},{value:C.c,label:Object(a.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),j()(g()(n),"state",{isThresholdValid:!0}),j()(g()(n),"setCriteria",function(e){return n.props.setAttributes({criteria:e})}),j()(g()(n),"setThreshold",function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})}),n}return y()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(a.sprintf)(Object(a._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(a.sprintf)(Object(a._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(i.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(i.createElement)(o.Placeholder,{icon:F,label:Object(a.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(a.__)("Please enter a valid number.","jetpack"),label:Object(a.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(i.createElement)(o.RadioControl,{label:Object(a.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(i.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(i.createElement)(k.InnerBlocks,null))}}]),t}(i.Component),A=Object(O.withSelect)(function(e,t){var n=e("core/editor"),r=n.isBlockSelected,i=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||i(t.clientId)}})(S),F=(n(197),Object(c.a)(Object(i.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(a.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(a._x)("return","block search term","jetpack"),Object(a._x)("visitors","block search term","jetpack"),Object(a._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(a.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(k.InnerBlocks.Content,null))}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(21),i=n.n(r),a=n(13),o=n.n(a),c=n(23),s=n(16),l=n(6),u=n(103),p=n(5),h=n(39),d=n.n(h),m=n(7),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),_=n(9),j=n.n(_),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=n(3),x=n.n(C),S=n(0),A=n(24),F=n.n(A),P=n(12),M=n.n(P),T=n(1),D=n(15),N=n(2),z=n(14),L=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(N.Spinner,null),Object(S.createElement)("p",null,t))},R=Object(D.createHigherOrderComponent)(Object(D.compose)([Object(z.withSelect)(function(e,t){var n=t.attributes,r=n.guid,i=n.src,a=e("core"),o=a.getEmbedPreview,s=a.isRequestingEmbedPreview,l=!!r&&"https://videopress.com/v/".concat(r),u=!!l&&o(l);return{isFetchingPreview:!!l&&s(l),isUploading:Object(c.isBlobURL)(i),preview:u}}),function(e){return function(t){function n(){var e;return f()(this,n),e=y()(this,j()(n).apply(this,arguments)),x()(O()(e),"fallbackToCore",function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})}),x()(O()(e),"setGuid",d()(regeneratorRuntime.mark(function t(){var n,r,i,a,o,c,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,a=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,F()({path:"/wp/v2/media/".concat(a)});case 9:if(o=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,a===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:o}),(s=Object(p.get)(o,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}},t,null,[[5,19]])}))),x()(O()(e),"switchToEditing",function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})}),x()(O()(e),"onRemovePoster",function(){e.props.setAttributes({poster:""}),e.posterImageButton.current.focus()}),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.id!==e.attributes.id&&this.setGuid()}},{key:"render",value:function(){var t=this.props,n=t.attributes,r=t.className,i=t.isFetchingPreview,a=t.isSelected,o=t.isUploading,c=t.preview,s=t.setAttributes,u=this.state,p=u.fallback,h=u.isFetchingMedia;if(o)return Object(S.createElement)(L,{text:Object(T.__)("Uploading…","jetpack")});if(h||i)return Object(S.createElement)(L,{text:Object(T.__)("Embedding…","jetpack")});if(p||!c)return Object(S.createElement)(e,this.props);var d=c.html,m=c.scripts,f=n.caption;return Object(S.createElement)(S.Fragment,null,Object(S.createElement)(l.BlockControls,null,Object(S.createElement)(N.Toolbar,null,Object(S.createElement)(N.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(T.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)("figure",{className:M()(r,"wp-block-embed","is-type-video")},Object(S.createElement)(N.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(N.SandBox,{html:d,scripts:m}))),(!l.RichText.isEmpty(f)||a)&&Object(S.createElement)(l.RichText,{tagName:"figcaption",placeholder:Object(T.__)("Write caption…","jetpack"),value:f,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),I=Object(D.createHigherOrderComponent)(function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).caption,i=n.guid;if(!i)return e(t);var a="https://videopress.com/v/".concat(i);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(a,"\n")),!l.RichText.isEmpty(r)&&Object(S.createElement)(l.RichText.Content,{tagName:"figcaption",value:r}))}},"withVideoPressSave"),B=n(44);Object(u.addFilter)("blocks.registerBlockType","jetpack/videopress",function(e,t){if("core/video"!==t)return e;var n=Object(B.a)("videopress"),r=n.available,a=n.unavailableReason;return r||["missing_plan","missing_module"].includes(a)?o()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:o()({},e.transforms,{from:[{type:"files",isMatch:function(e){return Object(p.every)(e,function(e){return 0===e.type.indexOf("video/")})},priority:9,transform:function(e,t){var n=[];return e.forEach(function(e){var r=Object(s.createBlock)("core/video",{src:Object(c.createBlobURL)(e)});Object(l.mediaUpload)({filesList:[e],onFileChange:function(e){var n=i()(e,1)[0],a=n.id,o=n.url;t(r.clientId,{id:a,src:o})},allowedTypes:["video"]}),n.push(r)}),n}}]}),supports:o()({},e.supports,{reusable:!1}),edit:R(e.edit),save:I(e.save),deprecated:[{attributes:e.attributes,save:e.save,isEligible:function(e){return!e.guid}}]}):e})},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(24),_=n.n(y),j=n(12),k=n.n(j),O=n(34),w=n(6),E=0,C=1,x=2,S="processing",A="success",F="error",P=function(e){function t(){var e;return s()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"componentDidMount",function(){e.apiCall()}),v()(m()(e),"onError",function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}),v()(m()(e),"apiCall",function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};_()(t).then(function(t){var n=t.connect_url,r="connected"===t.code?C:x;e.setState({connected:r,connectURL:n})},function(t){var n=x;e.setState({connected:n,connectURL:null}),e.onError(t.message)})}),v()(m()(e),"auditionNotification",function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)}),v()(m()(e),"clearAudition",function(){e.setState({audition:null})}),v()(m()(e),"updateProcessingText",function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification(S)}),v()(m()(e),"updateSuccessText",function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification(A)}),v()(m()(e),"updateErrorText",function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification(F)}),v()(m()(e),"updateEmailPlaceholder",function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()}),v()(m()(e),"labelForAuditionType",function(t){var n=e.props.attributes,r=n.processingLabel,i=n.successLabel,a=n.errorLabel;return t===S?r:t===A?i:t===F?a:null}),v()(m()(e),"roleForAuditionType",function(e){return e===F?"alert":"status"}),v()(m()(e),"render",function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=t.noticeUI,l=t.setAttributes,u=e.state,p=u.audition,h=u.connected,d=u.connectURL,m=n.emailPlaceholder,f=n.consentText,b=n.processingLabel,g=n.successLabel,y=n.errorLabel,_="wp-block-jetpack-mailchimp_",j=Object(i.createElement)(o.Placeholder,{icon:T,notices:c},Object(i.createElement)(o.Spinner,null)),S=Object(i.createElement)(o.Placeholder,{icon:T,label:Object(a.__)("Mailchimp","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(a.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:d,target:"_blank"},Object(a.__)("Set up Mailchimp form","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(a.__)("Re-check Connection","jetpack")))),A=Object(i.createElement)(w.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Text Elements","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Email Placeholder","jetpack"),value:m,onChange:e.updateEmailPlaceholder})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Notifications","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Processing text","jetpack"),value:b,onChange:e.updateProcessingText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Success text","jetpack"),value:g,onChange:e.updateSuccessText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Error text","jetpack"),value:y,onChange:e.updateErrorText})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Connection","jetpack")},Object(i.createElement)(o.ExternalLink,{href:d},Object(a.__)("Manage Connection","jetpack")))),F=k()(r,v()({},"".concat(_,"notication-audition"),p)),P=Object(i.createElement)("div",{className:F},Object(i.createElement)(o.TextControl,{"aria-label":m,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:m,title:Object(a.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(i.createElement)(O.a,e.props),Object(i.createElement)(w.RichText,{tagName:"p",placeholder:Object(a.__)("Write consent text","jetpack"),value:f,onChange:function(e){return l({consentText:e})},inlineToolbar:!0}),p&&Object(i.createElement)("div",{className:"".concat(_,"notification ").concat(_).concat(p),role:e.roleForAuditionType(p)},e.labelForAuditionType(p)));return Object(i.createElement)(i.Fragment,null,s,h===E&&j,h===x&&S,h===C&&A,h===C&&P)}),e.state={audition:null,connected:E,connectURL:null},e.timeout=null,e}return b()(t,e),t}(i.Component),M=Object(o.withNotices)(P),T=(n(117),Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),D={title:Object(a.__)("Mailchimp","jetpack"),icon:T,description:Object(a.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("subscription","block search term","jetpack"),Object(a._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(a.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(a.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(a.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},processingLabel:{type:"string",default:Object(a.__)("Processing…","jetpack")},successLabel:{type:"string",default:Object(a.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(a.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")}},edit:M,save:function(){return null}};Object(r.a)("mailchimp",D)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(10),b=n.n(f),g=n(6),v=n(5),y=n(14),_=n(15);function j(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(a.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(a.__)("Placeholder image","jetpack")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(a.__)("Grey square","jetpack")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(a.__)("Icon for image","jetpack")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(a.__)("August 3, 2018","jetpack")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(a.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),h()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,h=t.postLayout,d=t.postsToShow,m=[{icon:"grid-view",title:Object(a.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===h},{icon:"list-view",title:Object(a.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===h}],f=[],b=0;b<d;b++)r[b]?f.push(Object(i.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(i.createElement)(j,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Related Posts Settings","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Number of posts","jetpack"),value:d,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:m})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":h},Object(i.createElement)(O,{posts:f}))))}}]),t}(i.Component),E=Object(_.compose)(_.withInstanceId,Object(y.withSelect)(function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}}))(w),C=(n(195),{title:Object(a.__)("Related Posts","jetpack"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(a._x)("Similar content","block search term","jetpack"),Object(a._x)("Linked","block search term","jetpack"),Object(a._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null}});Object(r.a)("related-posts",C)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(15),c=n(6),s=n(14),l=n(53),u=Object(s.withSelect)(function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}}),p=Object(s.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),h={render:Object(o.compose)([u,p])(function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))})},d=n(33);Object(d.a)("sharing",h)},function(e,t,n){"use strict";n.r(t);var r=n(7),i=n.n(r),a=n(11),o=n.n(a),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),d=n(0),m=n(1),f=n(5),b=n(2),g=n(14),v=n(4),y=n.n(v),_=n(3),j=n.n(_),k=(n(199),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(a))),j()(y()(n),"state",{hasCopied:!1}),j()(y()(n),"onCopy",function(){return n.setState({hasCopied:!0})}),j()(y()(n),"onFinishCopy",function(){return n.setState({hasCopied:!1})}),j()(y()(n),"onFocus",function(e){return e.target.select()}),n}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(d.createElement)("div",{className:"jetpack-clipboard-input"},Object(d.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(d.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(d.Component)),O=n(40),w={render:function(){return Object(d.createElement)(C,null)}},E=function(e){function t(){return i()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(d.createElement)(O.a,null,Object(d.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(d.createElement)(k,{link:e}))):null}}]),t}(d.Component),C=Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}})(E),x=n(33);Object(x.a)("shortlinks",w)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(2),o=n(1),c=n(7),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(12),_=n.n(y),j=n(34),k=n(24),O=n.n(k),w=n(5),E=n(41),C=n(43),x=n(6),S=0,A=1,F=2,P=0,M=1,T=2,D=function(e){function t(){var e;return s()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"componentDidMount",function(){e.apiCall()}),v()(m()(e),"onError",function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}),v()(m()(e),"apiCall",function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};O()(t).then(function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:F}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,i=t.should_upgrade_to_access_memberships,a=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?A:F;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:i,upgradeURL:a,siteSlug:o})},function(t){var n=F;e.setState({connected:n,connectURL:null}),e.onError(t.message)})}),v()(m()(e),"getCurrencyList",R.map(function(e){var t=Object(E.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(w.trimEnd)(t,"."))}})),v()(m()(e),"handleCurrencyChange",function(t){return e.setState({editedProductCurrency:t})}),v()(m()(e),"handleRenewIntervalChange",function(t){return e.setState({editedProductRenewInterval:t})}),v()(m()(e),"handlePriceChange",function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})}),v()(m()(e),"handleTitleChange",function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})}),v()(m()(e),"saveProduct",function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:T});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};O()(t).then(function(t){e.setState({addingMembershipAmount:P,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)},function(t){e.setState({addingMembershipAmount:M}),e.onError(t.message)})}else e.setState({editedProductTitleValid:!1})}),v()(m()(e),"renderAmount",function(e){var t=Object(C.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)}),v()(m()(e),"renderAddMembershipAmount",function(){return e.state.addingMembershipAmount===P?Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:M})}},Object(o.__)("Add a Recurring Payments Plan","jetpack")):e.state.addingMembershipAmount!==T?Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"membership-button__price-container"},Object(i.createElement)(a.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(i.createElement)(a.TextControl,{label:Object(o.__)("Price","jetpack"),className:_()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(C.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(i.createElement)(a.TextControl,{className:_()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(i.createElement)("div",null,Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,className:"membership-button__field-button",onClick:e.saveProduct},Object(o.__)("Add Amount","jetpack")),Object(i.createElement)(a.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:P})}},Object(o.__)("Cancel","jetpack")))):void 0}),v()(m()(e),"getFormattedPriceByProductId",function(t){var n=e.state.products.filter(function(e){return parseInt(e.id)===parseInt(t)}).pop();return Object(C.a)(parseFloat(n.price),n.currency)}),v()(m()(e),"setMembershipAmount",function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})}),v()(m()(e),"renderMembershipAmounts",function(){return Object(i.createElement)("div",null,e.state.products.map(function(t){return Object(i.createElement)(a.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))}))}),v()(m()(e),"renderDisclaimer",function(){return Object(i.createElement)("div",{className:"membership-button__disclaimer"},Object(i.createElement)(a.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))}),v()(m()(e),"render",function(){var t=e.props,n=t.className,r=t.notices,c=e.state,s=c.connected,l=c.connectURL,u=c.products,p=Object(i.createElement)(x.InspectorControls,null,Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map(function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}})})),Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(i.createElement)(a.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),h=_()(n,["wp-block-button__link","components-button","is-primary","is-button"]),d=Object(i.createElement)(j.a,{className:h,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(i.createElement)(i.Fragment,null,e.props.noticeUI,e.state.shouldUpgrade&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),Object(i.createElement)("br",null),e.renderDisclaimer())),(s===S||e.state.addingMembershipAmount===T)&&!e.props.attributes.planId&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),notices:r},Object(i.createElement)(a.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&s===F&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("In order to start selling Recurring Payments plans, you have to connect to Stripe:","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:l,target:"_blank"},Object(o.__)("Connect to Stripe or set up an account","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(a.Button,{isLink:!0,onClick:e.apiCall},Object(o.__)("Re-check Connection","jetpack")),e.renderDisclaimer())),!e.state.shouldUpgrade&&!e.props.attributes.planId&&s===A&&0===u.length&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("Add your first Recurring Payments plan:","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),e.renderAddMembershipAmount(),e.renderDisclaimer())),!e.state.shouldUpgrade&&!e.props.attributes.planId&&e.state.addingMembershipAmount!==T&&s===A&&u.length>0&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(x.BlockIcon,{icon:z}),label:Object(o.__)("Recurring Payments","jetpack"),notices:r},Object(i.createElement)("div",{className:"components-placeholder__instructions wp-block-jetpack-membership-button"},Object(o.__)("Select payment plan:","jetpack"),e.renderMembershipAmounts(),Object(o.__)("Or add another Recurring Payments plan:","jetpack"),Object(i.createElement)("br",null),e.renderAddMembershipAmount(),e.renderDisclaimer())),e.state.products&&p,e.props.attributes.planId&&d)}),e.state={connected:S,connectURL:null,addingMembershipAmount:P,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null,e}return b()(t,e),t}(i.Component),N=Object(a.withNotices)(D),z=(n(193),Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(i.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(a.G,null,Object(i.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),L={title:Object(o.__)("Recurring Payments button","jetpack"),icon:z,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"}},edit:N,save:function(){return null}},R=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",L)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(15),c=n(6),s=n(14),l=n(53),u=Object(s.withSelect)(function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}}),p=Object(s.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),h={render:Object(o.compose)([u,p])(function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))})},d=n(33);Object(d.a)("likes",h)},function(e,t,n){"use strict";n.r(t);var r=n(18),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),_=n.n(y),j=n(12),k=n.n(j),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(a.__)("Search for a term or paste a Giphy URL","jetpack"),C=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),_()(b()(n),"textControlRef",Object(i.createRef)()),_()(b()(n),"state",{captionFocus:!1,results:null}),_()(b()(n),"onFormSubmit",function(e){e.preventDefault(),n.onSubmit()}),_()(b()(n),"onSubmit",function(){var e=n.props.attributes.searchText;n.parseSearch(e)}),_()(b()(n),"parseSearch",function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))}),_()(b()(n),"urlForSearch",function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")}),_()(b()(n),"urlForId",function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))}),_()(b()(n),"splitAndLast",function(e,t){var n=e.split(t);return n[n.length-1]}),_()(b()(n),"fetch",function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,i=r[0];if(!i.images)return;n.setState({results:r},function(){n.selectGiphy(i)})}},t.send()}),_()(b()(n),"selectGiphy",function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),i="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:i})}),_()(b()(n),"setFocus",function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})}),_()(b()(n),"hasSearchText",function(){var e=n.props.attributes.searchText;return e&&e.length>0}),_()(b()(n),"thumbnailClicked",function(e){n.selectGiphy(e)}),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,h=n.searchText,d=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:d},v=k()(r,"align".concat(l)),y=Object(i.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:h}),Object(i.createElement)(o.Button,{isLarge:!0,onClick:this.onSubmit},Object(a.__)("Search","jetpack")));return Object(i.createElement)("div",{className:v},Object(i.createElement)(O.InspectorControls,null,Object(i.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(i.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(i.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(i.createElement)("figure",null,c&&y,c&&b&&b.length>1&&Object(i.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map(function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(i.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})})),Object(i.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(i.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(i.createElement)("iframe",{src:p,title:h})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(i.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(a.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(i.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},y))}}]),t}(i.Component),x=(n(74),n(113),Object(a.__)("GIF","jetpack")),S=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(a._x)("animated","block search term","jetpack"),Object(a._x)("giphy","block search term","jetpack"),Object(a._x)("image","block search term","jetpack")],description:Object(a.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:C,save:function(){return null}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);n(27);var r=n(22),i=n.n(r),a=n(0),o=n(16),c=n(46);Object(o.setCategories)([].concat(i()(Object(o.getCategories)().filter(function(e){return"jetpack"!==e.slug})),[{slug:"jetpack",title:"Jetpack",icon:Object(a.createElement)(c.a,null)}]))},,,,function(e,t,n){n(244),n(233),n(227),n(226),n(243),n(242),n(237),n(228),n(231),n(225),n(241),n(238),n(235),n(239),n(240),n(229),n(230),n(234),n(224),n(236),e.exports=n(232)}]));
|
_inc/blocks/editor.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-block-jetpack-business-hours{overflow:hidden}.wp-block-jetpack-business-hours dd span{display:block}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}.jetpack-business-hours:after,.jetpack-business-hours:before{content:"";display:table;table-layout:fixed}.jetpack-business-hours:after{clear:both}.jetpack-business-hours dd,.jetpack-business-hours dt{float:right}.jetpack-business-hours dt{clear:both;font-weight:700;margin-left:.5rem}.jetpack-business-hours dd{margin:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 0 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{height:0;margin:0;text-indent:-9999px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:var(--muriel-hot-red-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:var(--muriel-hot-green-500);color:var(--muriel-white)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-membership-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-membership-button .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-membership-button .membership-button__field-price{margin-right:10px}.wp-block-jetpack-membership-button .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-membership-button .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-membership-button .membership-button__field-button{margin:4px}.wp-block-jetpack-membership-button .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-membership-button .membership-button__disclaimer{margin-top:20px;font-style:italic}.jp-related-posts-i2__row{display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;lin
|