summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-04-28 17:39:03 -0400
committerYury German <blueknight@gentoo.org>2019-04-28 17:39:03 -0400
commit2ab16973706e120bc344c83be6295b54fd908c57 (patch)
tree358267a52d9542c77c90e3663cea32d13b8cb639
parentUpdate twentysixteen 1.7 (diff)
downloadblogs-gentoo-2ab16973706e120bc344c83be6295b54fd908c57.tar.gz
blogs-gentoo-2ab16973706e120bc344c83be6295b54fd908c57.tar.bz2
blogs-gentoo-2ab16973706e120bc344c83be6295b54fd908c57.zip
Updating packages for 5.1.1
Signed-off-by: Yury German <blueknight@gentoo.org>
-rw-r--r--plugins/akismet/_inc/akismet.css37
-rw-r--r--plugins/akismet/_inc/akismet.js18
-rw-r--r--plugins/akismet/akismet.php4
-rw-r--r--plugins/akismet/class.akismet.php5
-rw-r--r--plugins/akismet/readme.txt11
-rw-r--r--plugins/akismet/views/config.php2
-rw-r--r--plugins/akismet/views/get.php2
-rw-r--r--plugins/akismet/views/notice.php2
-rw-r--r--plugins/google-authenticator/LICENSE339
-rw-r--r--plugins/google-authenticator/google-authenticator.php591
-rw-r--r--plugins/google-authenticator/lang/google-authenticator.pot220
-rw-r--r--plugins/google-authenticator/readme.txt29
-rw-r--r--plugins/jetpack/3rd-party/class.jetpack-amp-support.php73
-rw-r--r--plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php14
-rw-r--r--plugins/jetpack/_inc/blocks/block-manifest.json13
-rw-r--r--plugins/jetpack/_inc/blocks/contact-info/view.css1
-rw-r--r--plugins/jetpack/_inc/blocks/contact-info/view.js1
-rw-r--r--plugins/jetpack/_inc/blocks/contact-info/view.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.js10
-rw-r--r--plugins/jetpack/_inc/blocks/editor-beta.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor.css2
-rw-r--r--plugins/jetpack/_inc/blocks/editor.js10
-rw-r--r--plugins/jetpack/_inc/blocks/editor.rtl.css2
-rw-r--r--plugins/jetpack/_inc/blocks/gif/view.css1
-rw-r--r--plugins/jetpack/_inc/blocks/gif/view.js1
-rw-r--r--plugins/jetpack/_inc/blocks/gif/view.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/images/cat-blog-87a988c0432f7f3ceb5bfe782db1431d.pngbin57843 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/devices-cddfc9159d108e7b62bcfbad49cdad37.jpgbin26555 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/mobile-wedding-ec7cce11cd6ea354451d78beac70755d.jpgbin38164 -> 0 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png (renamed from plugins/jetpack/_inc/blocks/images/paypal-button@2x-fe4d34770a47484f401cecbb892f8456.png)bin8186 -> 8186 bytes
-rw-r--r--plugins/jetpack/_inc/blocks/index.json25
-rw-r--r--plugins/jetpack/_inc/blocks/mailchimp/view.css1
-rw-r--r--plugins/jetpack/_inc/blocks/mailchimp/view.js1
-rw-r--r--plugins/jetpack/_inc/blocks/mailchimp/view.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/map/mapbox-gl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/map/mapbox-gl.js1
-rw-r--r--plugins/jetpack/_inc/blocks/map/mapbox-gl.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/map/view.js2
-rw-r--r--plugins/jetpack/_inc/blocks/repeat-visitor/view.js7
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.css1
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.js1
-rw-r--r--plugins/jetpack/_inc/blocks/slideshow/view.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/tiled-gallery/view.css1
-rw-r--r--plugins/jetpack/_inc/blocks/tiled-gallery/view.js1
-rw-r--r--plugins/jetpack/_inc/blocks/tiled-gallery/view.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.js1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.rtl.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.css1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.js1
-rw-r--r--plugins/jetpack/_inc/blocks/vendors~swiper.rtl.css1
-rw-r--r--plugins/jetpack/_inc/build/admin.dops-style.css598
-rw-r--r--plugins/jetpack/_inc/build/admin.dops-style.rtl.css846
-rw-r--r--plugins/jetpack/_inc/build/admin.js52
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js2
-rw-r--r--plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/editor-view.min.js2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/grunion.min.js2
-rw-r--r--plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.js2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.js2
-rw-r--r--plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.js2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.js2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js2
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js2
-rw-r--r--plugins/jetpack/_inc/build/facebook-embed.min.js2
-rw-r--r--plugins/jetpack/_inc/build/idc-notice.min.js2
-rw-r--r--plugins/jetpack/_inc/build/infinite-scroll/infinity.min.js4
-rw-r--r--plugins/jetpack/_inc/build/jetpack-admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-connection-banner.min.js2
-rw-r--r--plugins/jetpack/_inc/build/jetpack-jitm.min.js2
-rw-r--r--plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js2
-rw-r--r--plugins/jetpack/_inc/build/jquery.spin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js18
-rw-r--r--plugins/jetpack/_inc/build/likes/post-count.min.js2
-rw-r--r--plugins/jetpack/_inc/build/likes/queuehandler.min.js2
-rw-r--r--plugins/jetpack/_inc/build/masterbar/tracks-events.min.js2
-rw-r--r--plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js2
-rw-r--r--plugins/jetpack/_inc/build/postmessage.min.js2
-rw-r--r--plugins/jetpack/_inc/build/publicize/assets/publicize.min.js5
-rw-r--r--plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.js2
-rw-r--r--plugins/jetpack/_inc/build/related-posts/related-posts.min.js2
-rw-r--r--plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.js2
-rw-r--r--plugins/jetpack/_inc/build/sharedaddy/sharing.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.js5
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/main.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/quiz.min.js2
-rw-r--r--plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.js2
-rw-r--r--plugins/jetpack/_inc/build/spin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/static-ie-notice.html2
-rw-r--r--plugins/jetpack/_inc/build/style.min.css2
-rw-r--r--plugins/jetpack/_inc/build/style.min.rtl.css2
-rw-r--r--plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js2
-rw-r--r--plugins/jetpack/_inc/build/twitter-timeline.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/editor-view.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.js2
-rw-r--r--plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/google-plus/js/admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/milestone/admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.js2
-rw-r--r--plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.js2
-rw-r--r--plugins/jetpack/_inc/class.jetpack-provision.php4
-rw-r--r--plugins/jetpack/_inc/jetpack-jitm.js80
-rw-r--r--plugins/jetpack/_inc/jetpack-server-sandbox.php1
-rw-r--r--plugins/jetpack/_inc/jetpack-strings.php1551
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-admin-page.php40
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php31
-rw-r--r--plugins/jetpack/_inc/lib/admin-pages/class.jetpack-settings-page.php16
-rw-r--r--plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php297
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-password-checker.php1288
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-photon-image-sizes.php182
-rw-r--r--plugins/jetpack/_inc/lib/class.jetpack-photon-image.php243
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php4
-rw-r--r--plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-site-endpoints.php75
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/business-hours.php49
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-mailchimp.php79
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/gutenberg-available-extensions.php71
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php4
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connections.php8
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-services.php8
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/service-api-keys.php281
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/subscribers.php62
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php171
-rw-r--r--plugins/jetpack/_inc/lib/core-api/wpcom-fields/post-fields-publicize-connections.php18
-rw-r--r--plugins/jetpack/_inc/lib/debugger/0-load.php13
-rw-r--r--plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-test-base.php302
-rw-r--r--plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-tests.php338
-rw-r--r--plugins/jetpack/_inc/lib/debugger/class-jetpack-debugger.php530
-rw-r--r--plugins/jetpack/_inc/lib/tracks/tracks-ajax.js12
-rw-r--r--plugins/jetpack/changelog.txt240
-rw-r--r--plugins/jetpack/class.jetpack-admin.php6
-rw-r--r--plugins/jetpack/class.jetpack-affiliate.php78
-rw-r--r--plugins/jetpack/class.jetpack-cli.php24
-rw-r--r--plugins/jetpack/class.jetpack-connection-banner.php962
-rw-r--r--plugins/jetpack/class.jetpack-data.php12
-rw-r--r--plugins/jetpack/class.jetpack-debugger.php543
-rw-r--r--plugins/jetpack/class.jetpack-gutenberg.php532
-rw-r--r--plugins/jetpack/class.jetpack-jitm.php29
-rw-r--r--plugins/jetpack/class.jetpack-modules-list-table.php4
-rw-r--r--plugins/jetpack/class.jetpack-network.php10
-rw-r--r--plugins/jetpack/class.jetpack-options.php3
-rw-r--r--plugins/jetpack/class.jetpack-plan.php231
-rw-r--r--plugins/jetpack/class.jetpack-post-images.php230
-rw-r--r--plugins/jetpack/class.jetpack-signature.php4
-rw-r--r--plugins/jetpack/class.jetpack-tracks.php2
-rw-r--r--plugins/jetpack/class.jetpack-twitter-cards.php19
-rw-r--r--plugins/jetpack/class.jetpack-xmlrpc-server.php4
-rw-r--r--plugins/jetpack/class.jetpack.php443
-rw-r--r--plugins/jetpack/class.json-api-endpoints.php10
-rw-r--r--plugins/jetpack/class.json-api.php79
-rw-r--r--plugins/jetpack/class.photon.php168
-rw-r--r--plugins/jetpack/composer.json15
-rw-r--r--plugins/jetpack/css/dashboard-widget-rtl.css30
-rw-r--r--plugins/jetpack/css/dashboard-widget-rtl.css.map2
-rw-r--r--plugins/jetpack/css/dashboard-widget-rtl.min.css2
-rw-r--r--plugins/jetpack/css/dashboard-widget.css30
-rw-r--r--plugins/jetpack/css/dashboard-widget.css.map2
-rw-r--r--plugins/jetpack/css/dashboard-widget.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm-rtl.css106
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm-rtl.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm-rtl.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm.css106
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-admin-jitm.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-banners-rtl.css367
-rw-r--r--plugins/jetpack/css/jetpack-banners-rtl.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-banners-rtl.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-banners.css367
-rw-r--r--plugins/jetpack/css/jetpack-banners.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-banners.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-idc-rtl.css17
-rw-r--r--plugins/jetpack/css/jetpack-idc-rtl.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-idc-rtl.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-idc.css17
-rw-r--r--plugins/jetpack/css/jetpack-idc.css.map2
-rw-r--r--plugins/jetpack/css/jetpack-idc.min.css2
-rw-r--r--plugins/jetpack/css/jetpack-rtl.css24
-rw-r--r--plugins/jetpack/css/jetpack.css24
-rw-r--r--plugins/jetpack/extensions/README.md40
-rw-r--r--plugins/jetpack/extensions/blocks/business-hours/business-hours.php132
-rw-r--r--plugins/jetpack/extensions/blocks/contact-info/class-jetpack-contact-info-block.php114
-rw-r--r--plugins/jetpack/extensions/blocks/contact-info/contact-info.php40
-rw-r--r--plugins/jetpack/extensions/blocks/gif/gif.php67
-rw-r--r--plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php136
-rw-r--r--plugins/jetpack/extensions/blocks/map/map.php37
-rw-r--r--plugins/jetpack/extensions/blocks/markdown/markdown.php20
-rw-r--r--plugins/jetpack/extensions/blocks/repeat-visitor/repeat-visitor.php41
-rw-r--r--plugins/jetpack/extensions/blocks/slideshow/slideshow.php35
-rw-r--r--plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery.php46
-rw-r--r--plugins/jetpack/extensions/blocks/vr/vr.php10
-rw-r--r--plugins/jetpack/extensions/blocks/wordads/wordads.php121
-rw-r--r--plugins/jetpack/functions.opengraph.php10
-rw-r--r--plugins/jetpack/functions.photon.php14
-rw-r--r--plugins/jetpack/images/apps.svg10
-rw-r--r--plugins/jetpack/images/apps/triple-devices.svg2
-rw-r--r--plugins/jetpack/images/characters.svg2
-rw-r--r--plugins/jetpack/images/cloud-based.svg2
-rw-r--r--plugins/jetpack/images/connect-jetpack.svg2
-rw-r--r--plugins/jetpack/images/customize-theme-2.svg32
-rw-r--r--plugins/jetpack/images/customize-theme.svg2
-rw-r--r--plugins/jetpack/images/feature-photon-lrg.jpgbin197234 -> 0 bytes
-rw-r--r--plugins/jetpack/images/feature-photon-med.jpgbin119127 -> 0 bytes
-rw-r--r--plugins/jetpack/images/feature-photon-sm.jpgbin83168 -> 0 bytes
-rw-r--r--plugins/jetpack/images/generating-cash-2.svg2
-rw-r--r--plugins/jetpack/images/get-apps.svg2
-rw-r--r--plugins/jetpack/images/jetpack-design.svg2
-rw-r--r--plugins/jetpack/images/jetpack-google-analytics.svg1
-rw-r--r--plugins/jetpack/images/jetpack-gutenberg.svg2
-rw-r--r--plugins/jetpack/images/jetpack-marketing.svg1
-rw-r--r--plugins/jetpack/images/jetpack-performance-icon.svg1
-rw-r--r--plugins/jetpack/images/jetpack-performance.svg2
-rw-r--r--plugins/jetpack/images/jetpack-powering-up.svg229
-rw-r--r--plugins/jetpack/images/jetpack-search-icon.svg1
-rw-r--r--plugins/jetpack/images/jetpack-search.svg26
-rw-r--r--plugins/jetpack/images/jetpack-security.svg1
-rw-r--r--plugins/jetpack/images/jetpack-site-activity.svg1
-rw-r--r--plugins/jetpack/images/jetpack-spam.svg1
-rw-r--r--plugins/jetpack/images/jetpack-speed-icon.svg1
-rw-r--r--plugins/jetpack/images/jetpack-speed.svg1
-rw-r--r--plugins/jetpack/images/jetpack-support.svg1
-rw-r--r--plugins/jetpack/images/jetpack-themes.svg1
-rw-r--r--plugins/jetpack/images/jetpack-updates.svg1
-rw-r--r--plugins/jetpack/images/jetpack-video-hosting.svg1
-rw-r--r--plugins/jetpack/images/jetpack-welcome.svg20
-rw-r--r--plugins/jetpack/images/jetpack-wordads.svg1
-rw-r--r--plugins/jetpack/images/jupiter.svg2
-rw-r--r--plugins/jetpack/images/long-clouds.svg3
-rw-r--r--plugins/jetpack/images/man-and-laptop.svg2
-rw-r--r--plugins/jetpack/images/people-around-page.svg2
-rw-r--r--plugins/jetpack/images/plans/plan-business.svg2
-rw-r--r--plugins/jetpack/images/plans/plan-free.svg2
-rw-r--r--plugins/jetpack/images/plans/plan-personal.svg2
-rw-r--r--plugins/jetpack/images/plans/plan-premium.svg2
-rw-r--r--plugins/jetpack/images/security.svg2
-rw-r--r--plugins/jetpack/images/stars-full.svg2
-rw-r--r--plugins/jetpack/images/stars-left.svg2
-rw-r--r--plugins/jetpack/images/stars-right.svg2
-rw-r--r--plugins/jetpack/images/stat-bars.svg1
-rw-r--r--plugins/jetpack/images/stats-people.svg2
-rw-r--r--plugins/jetpack/images/themes.svg2
-rw-r--r--plugins/jetpack/images/wordads.svg2
-rw-r--r--plugins/jetpack/jetpack.php43
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-comment-counts-endpoint.php2
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-get-site-endpoint.php12
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-list-comments-endpoint.php9
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-post-endpoint.php7
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php18
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-2-endpoint.php1
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-3-endpoint.php1
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-v1-4-endpoint.php1
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-endpoint.php8
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php12
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php14
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-cron-endpoint.php7
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-jps-woocommerce-connect-endpoint.php58
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php13
-rw-r--r--plugins/jetpack/json-endpoints/jetpack/json-api-jetpack-endpoints.php37
-rw-r--r--plugins/jetpack/languages/jetpack-bg_BG.mobin237597 -> 234980 bytes
-rw-r--r--plugins/jetpack/languages/jetpack-gl_ES.mobin274444 -> 271096 bytes
-rw-r--r--plugins/jetpack/languages/json/jetpack-af-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-af.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ar-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ar.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ary-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ary.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-az-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-az.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bg_BG-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bg_BG.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bs_BA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-bs_BA.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ca-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ca.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ckb-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ckb.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cs_CZ-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cs_CZ.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cy-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-cy.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-da_DK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-da_DK.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-de_DE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-de_DE.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-de_DE_formal-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-de_DE_formal.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-el-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-el.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_AU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_AU.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_CA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_CA.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_GB-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_GB.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_NZ-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_NZ.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_ZA-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-en_ZA.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-eo-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-eo.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_AR-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-es_AR.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_CL-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-es_CL.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_CR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_CR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_ES-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_ES.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_MX-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_MX.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-es_VE-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-es_VE.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-fa_IR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fa_IR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fi-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fi.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_BE-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-fr_BE.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_FR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-fr_FR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gd-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gd.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gl_ES-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-gl_ES.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-he_IL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-he_IL.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hr-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hr.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hu_HU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-hu_HU.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-id_ID-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-id_ID.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-is_IS-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-is_IS.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-it_IT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-it_IT.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ja-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ja.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ka_GE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ka_GE.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ko_KR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ko_KR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lt_LT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lt_LT.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lv-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-lv.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-mk_MK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-mk_MK.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ms_MY-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ms_MY.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-my_MM-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-my_MM.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nb_NO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nb_NO.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nl_NL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nl_NL.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nl_NL_formal-1bac79e646a8bf4081a5011ab72d5807.json (renamed from plugins/jetpack/languages/json/jetpack-nl_NL_formal.json)0
-rw-r--r--plugins/jetpack/languages/json/jetpack-nn_NO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-nn_NO.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pl_PL-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pl_PL.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_BR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_BR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_PT-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-pt_PT.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ro_RO-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ro_RO.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ru_RU-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ru_RU.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sa_IN-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sa_IN.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-si_LK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-si_LK.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sk_SK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sk_SK.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sl_SI-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sl_SI.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sq-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sq.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sr_RS-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sr_RS.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sv_SE-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-sv_SE.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-te-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-te.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-th-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-th.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-tr_TR-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-tr_TR.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-uk-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-uk.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ur-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-ur.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-vi-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-vi.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_CN-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_CN.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_HK-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_HK.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_TW-1bac79e646a8bf4081a5011ab72d5807.json1
-rw-r--r--plugins/jetpack/languages/json/jetpack-zh_TW.json1
-rw-r--r--plugins/jetpack/locales.php162
-rw-r--r--plugins/jetpack/modules/after-the-deadline.php2
-rw-r--r--plugins/jetpack/modules/after-the-deadline/jquery.atd.js2
-rw-r--r--plugins/jetpack/modules/after-the-deadline/tinymce/editor_plugin.js2
-rw-r--r--plugins/jetpack/modules/after-the-deadline/tinymce/plugin.js2
-rw-r--r--plugins/jetpack/modules/blocks.php31
-rw-r--r--plugins/jetpack/modules/calypsoify/class.jetpack-calypsoify.php70
-rw-r--r--plugins/jetpack/modules/calypsoify/gutenberg-styles/button.scss143
-rw-r--r--plugins/jetpack/modules/calypsoify/style-gutenberg-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/calypsoify/style-gutenberg.min.css2
-rw-r--r--plugins/jetpack/modules/calypsoify/style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/calypsoify/style.min.css2
-rw-r--r--plugins/jetpack/modules/carousel.php3
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel-ie8fix.css13
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel-rtl.css2
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel.js18
-rw-r--r--plugins/jetpack/modules/carousel/jetpack-carousel.php50
-rw-r--r--plugins/jetpack/modules/comment-likes.php6
-rw-r--r--plugins/jetpack/modules/contact-form.php7
-rw-r--r--plugins/jetpack/modules/contact-form/admin.php2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.css60
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-inline-editing-style.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style-rtl.css32
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style.css3
-rw-r--r--plugins/jetpack/modules/contact-form/css/editor-style.min.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/grunion-rtl.css2
-rw-r--r--plugins/jetpack/modules/contact-form/css/grunion.css1
-rw-r--r--plugins/jetpack/modules/contact-form/grunion-contact-form.php133
-rw-r--r--plugins/jetpack/modules/copy-post.php338
-rw-r--r--plugins/jetpack/modules/custom-css.php22
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php6
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/lang.inc.php2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css-4.7.php22
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/css/rtl/codemirror-rtl.css2
-rw-r--r--plugins/jetpack/modules/custom-css/custom-css/js/css-editor.js2
-rw-r--r--plugins/jetpack/modules/gravatar-hovercards.php3
-rw-r--r--plugins/jetpack/modules/infinite-scroll.php11
-rw-r--r--plugins/jetpack/modules/infinite-scroll/infinity.php8
-rw-r--r--plugins/jetpack/modules/lazy-images.php4
-rw-r--r--plugins/jetpack/modules/lazy-images/lazy-images.php15
-rw-r--r--plugins/jetpack/modules/likes.php104
-rw-r--r--plugins/jetpack/modules/likes/jetpack-likes-settings.php82
-rw-r--r--plugins/jetpack/modules/likes/queuehandler.js2
-rw-r--r--plugins/jetpack/modules/markdown/easy-markdown.php3
-rw-r--r--plugins/jetpack/modules/masterbar.php14
-rw-r--r--plugins/jetpack/modules/masterbar/masterbar.php4
-rw-r--r--plugins/jetpack/modules/minileven/minileven.php7
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/content-gallery.php12
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/footer.php7
-rw-r--r--plugins/jetpack/modules/minileven/theme/pub/minileven/rtl.css8
-rw-r--r--plugins/jetpack/modules/module-extras.php11
-rw-r--r--plugins/jetpack/modules/module-headings.php42
-rw-r--r--plugins/jetpack/modules/module-info.php15
-rw-r--r--plugins/jetpack/modules/monitor.php4
-rw-r--r--plugins/jetpack/modules/photon-cdn.php42
-rw-r--r--plugins/jetpack/modules/photon-cdn/jetpack-manifest.php785
-rw-r--r--plugins/jetpack/modules/photon.php6
-rw-r--r--plugins/jetpack/modules/plugin-search.php602
-rw-r--r--plugins/jetpack/modules/plugin-search/plugin-search.css84
-rw-r--r--plugins/jetpack/modules/plugin-search/plugin-search.js264
-rw-r--r--plugins/jetpack/modules/plugin-search/psh-128.pngbin0 -> 12524 bytes
-rw-r--r--plugins/jetpack/modules/plugin-search/psh-256.pngbin0 -> 27512 bytes
-rw-r--r--plugins/jetpack/modules/plugin-search/psh.svg1
-rw-r--r--plugins/jetpack/modules/protect.php10
-rw-r--r--plugins/jetpack/modules/protect/blocked-login-page.php2
-rw-r--r--plugins/jetpack/modules/protect/math-fallback.php70
-rw-r--r--plugins/jetpack/modules/publicize.php9
-rw-r--r--plugins/jetpack/modules/publicize/assets/connected.gifbin1681 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/assets/facebook-logo.pngbin18719 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/assets/linkedin-logo.pngbin6783 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/assets/publicize-rtl.css227
-rw-r--r--plugins/jetpack/modules/publicize/assets/publicize-rtl.min.css1
-rw-r--r--plugins/jetpack/modules/publicize/assets/publicize.css226
-rw-r--r--plugins/jetpack/modules/publicize/assets/publicize.js184
-rw-r--r--plugins/jetpack/modules/publicize/assets/publicize.min.css2
-rw-r--r--plugins/jetpack/modules/publicize/assets/rtl/publicize-rtl.css200
-rw-r--r--plugins/jetpack/modules/publicize/assets/spinner.gifbin457 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/assets/tumblr-logo.pngbin8902 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/assets/twitter-logo.pngbin4524 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/publicize/publicize-jetpack.php20
-rw-r--r--plugins/jetpack/modules/publicize/publicize.php55
-rw-r--r--plugins/jetpack/modules/publicize/ui.php349
-rw-r--r--plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php4
-rw-r--r--plugins/jetpack/modules/related-posts.php7
-rw-r--r--plugins/jetpack/modules/related-posts/class.related-posts-customize.php32
-rw-r--r--plugins/jetpack/modules/related-posts/jetpack-related-posts.php320
-rw-r--r--plugins/jetpack/modules/related-posts/related-posts-rtl.css2
-rw-r--r--plugins/jetpack/modules/related-posts/related-posts.css92
-rw-r--r--plugins/jetpack/modules/related-posts/related-posts.js18
-rw-r--r--plugins/jetpack/modules/search.php4
-rw-r--r--plugins/jetpack/modules/search/class.jetpack-search.php61
-rw-r--r--plugins/jetpack/modules/sharedaddy.php7
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.css34
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing.css34
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing.js3
-rw-r--r--plugins/jetpack/modules/sharedaddy/admin-sharing.min.css2
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/googleplus1.pngbin602 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/googleplus1@2x.pngbin1134 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/icon-googleplus-2x.pngbin1333 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/icon-googleplus.pngbin722 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/smart-googleplus1.pngbin2323 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/images/smart-googleplus1@2x.pngbin3398 -> 0 bytes
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing-service.php29
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing-sources.php228
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.css35
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.js5
-rw-r--r--plugins/jetpack/modules/sharedaddy/sharing.php76
-rw-r--r--plugins/jetpack/modules/shortcodes.php16
-rw-r--r--plugins/jetpack/modules/shortcodes/archiveorg-book.php6
-rw-r--r--plugins/jetpack/modules/shortcodes/archiveorg.php14
-rw-r--r--plugins/jetpack/modules/shortcodes/brightcove.php27
-rw-r--r--plugins/jetpack/modules/shortcodes/crowdsignal.php53
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css2
-rw-r--r--plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css2
-rw-r--r--plugins/jetpack/modules/shortcodes/email-subscribe.php6
-rw-r--r--plugins/jetpack/modules/shortcodes/getty.php44
-rw-r--r--plugins/jetpack/modules/shortcodes/googleapps.php62
-rw-r--r--plugins/jetpack/modules/shortcodes/googleplus.php11
-rw-r--r--plugins/jetpack/modules/shortcodes/gravatar.php14
-rw-r--r--plugins/jetpack/modules/shortcodes/hulu.php68
-rw-r--r--plugins/jetpack/modules/shortcodes/instagram.php88
-rw-r--r--plugins/jetpack/modules/shortcodes/kickstarter.php8
-rw-r--r--plugins/jetpack/modules/shortcodes/lytro.php296
-rw-r--r--plugins/jetpack/modules/shortcodes/mailchimp.php59
-rw-r--r--plugins/jetpack/modules/shortcodes/quiz.php41
-rw-r--r--plugins/jetpack/modules/shortcodes/sitemap.php2
-rw-r--r--plugins/jetpack/modules/shortcodes/slideshare.php7
-rw-r--r--plugins/jetpack/modules/shortcodes/tweet.php167
-rw-r--r--plugins/jetpack/modules/shortcodes/unavailable.php34
-rw-r--r--plugins/jetpack/modules/shortcodes/ustream.php88
-rw-r--r--plugins/jetpack/modules/shortcodes/wordads.php6
-rw-r--r--plugins/jetpack/modules/shortcodes/youtube.php6
-rw-r--r--plugins/jetpack/modules/shortlinks.php47
-rw-r--r--plugins/jetpack/modules/simple-payments/simple-payments.php19
-rw-r--r--plugins/jetpack/modules/sitemaps.php1
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-builder.php16
-rw-r--r--plugins/jetpack/modules/sso.php83
-rw-r--r--plugins/jetpack/modules/stats.php56
-rw-r--r--plugins/jetpack/modules/subscriptions.php367
-rw-r--r--plugins/jetpack/modules/subscriptions/readme.md12
-rw-r--r--plugins/jetpack/modules/subscriptions/subscriptions.css22
-rw-r--r--plugins/jetpack/modules/subscriptions/views.php755
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentynineteen-rtl.css1
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentynineteen.css85
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentynineteen.php2
-rw-r--r--plugins/jetpack/modules/theme-tools/compat/twentysixteen.php4
-rw-r--r--plugins/jetpack/modules/theme-tools/featured-content.php15
-rw-r--r--plugins/jetpack/modules/theme-tools/responsive-videos.php30
-rw-r--r--plugins/jetpack/modules/theme-tools/social-menu/icon-functions.php4
-rw-r--r--plugins/jetpack/modules/theme-tools/social-menu/social-menu.css4
-rw-r--r--plugins/jetpack/modules/theme-tools/social-menu/social-menu.svg3
-rw-r--r--plugins/jetpack/modules/tiled-gallery.php14
-rw-r--r--plugins/jetpack/modules/tiled-gallery/tiled-gallery.php1
-rw-r--r--plugins/jetpack/modules/vaultpress.php7
-rw-r--r--plugins/jetpack/modules/videopress.php5
-rw-r--r--plugins/jetpack/modules/videopress/class.jetpack-videopress.php2
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-gutenberg.php169
-rw-r--r--plugins/jetpack/modules/videopress/class.videopress-options.php2
-rw-r--r--plugins/jetpack/modules/widget-visibility/widget-conditions.php2
-rw-r--r--plugins/jetpack/modules/widgets.php26
-rw-r--r--plugins/jetpack/modules/widgets/blog-stats.php2
-rw-r--r--plugins/jetpack/modules/widgets/contact-info.php37
-rw-r--r--plugins/jetpack/modules/widgets/eu-cookie-law/style.css1
-rw-r--r--plugins/jetpack/modules/widgets/google-plus/js/admin.js22
-rw-r--r--plugins/jetpack/modules/widgets/googleplus-badge.php330
-rw-r--r--plugins/jetpack/modules/widgets/milestone/milestone.php8
-rw-r--r--plugins/jetpack/modules/widgets/my-community.php13
-rw-r--r--plugins/jetpack/modules/widgets/search.php31
-rw-r--r--plugins/jetpack/modules/widgets/social-icons.php39
-rw-r--r--plugins/jetpack/modules/widgets/top-posts.php2
-rw-r--r--plugins/jetpack/modules/widgets/twitter-timeline.php16
-rw-r--r--plugins/jetpack/modules/woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php57
-rw-r--r--plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php17
-rw-r--r--plugins/jetpack/modules/wordads/php/params.php2
-rw-r--r--plugins/jetpack/modules/wordads/wordads.php109
-rw-r--r--plugins/jetpack/readme.txt142
-rw-r--r--plugins/jetpack/sal/class.json-api-post-base.php9
-rw-r--r--plugins/jetpack/sal/class.json-api-site-base.php6
-rw-r--r--plugins/jetpack/sal/class.json-api-site-jetpack-base.php8
-rw-r--r--plugins/jetpack/scss/jetpack-admin-jitm.scss26
-rw-r--r--plugins/jetpack/scss/organisms/_banners.scss352
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-actions.php103
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-defaults.php60
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-functions.php90
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php5
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-listener.php67
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-attachments.php2
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-callables.php33
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-comments.php28
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-constants.php2
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-full-sync.php30
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-import.php1
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-menus.php10
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-meta.php22
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-network-options.php13
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-options.php16
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-plugins.php44
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-posts.php45
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-terms.php21
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-themes.php124
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-updates.php100
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-users.php110
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php10
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-wp-super-cache.php40
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module.php25
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-modules.php2
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-queue.php79
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-sender.php40
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-server.php4
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-settings.php44
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-simple-codec.php2
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-users.php2
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-wp-replicastore.php120
-rw-r--r--plugins/jetpack/sync/interface.jetpack-sync-replicastore.php1
-rw-r--r--plugins/jetpack/views/admin/must-connect-main-blog.php26
-rw-r--r--plugins/openid/admin_panels.php180
-rw-r--r--plugins/openid/comments.php236
-rw-r--r--plugins/openid/common.php519
-rw-r--r--plugins/openid/consumer.php157
-rw-r--r--plugins/openid/lib/Auth/OpenID/SQLStore.php2
-rw-r--r--plugins/openid/lib/Auth/OpenID/Server.php2
-rw-r--r--plugins/openid/openid.php13
-rw-r--r--plugins/openid/readme.txt8
-rw-r--r--plugins/openid/server.php414
-rw-r--r--plugins/openid/server_ext.php6
642 files changed, 18193 insertions, 9663 deletions
diff --git a/plugins/akismet/_inc/akismet.css b/plugins/akismet/_inc/akismet.css
index bf40fb14..d051c011 100644
--- a/plugins/akismet/_inc/akismet.css
+++ b/plugins/akismet/_inc/akismet.css
@@ -216,8 +216,16 @@ table.comments td.comment p a:after {
/**
* For the activation notice on the plugins page.
*/
+
+#akismet_setup_prompt {
+ background: none;
+ border: none;
+ margin: 0;
+ padding: 0;
+ width: 100%;
+}
+
.akismet_activate {
- min-width: 825px;
border: 1px solid #4F800D;
padding: 5px;
margin: 15px 0;
@@ -287,6 +295,7 @@ table.comments td.comment p a:after {
}
.akismet_activate .aa_button_container {
+ box-sizing: border-box;
display: inline-block;
background: #DEF1B8;
padding: 5px;
@@ -311,6 +320,32 @@ table.comments td.comment p a:after {
font-weight: normal;
}
+@media (max-width: 550px) {
+ .akismet_activate .aa_a {
+ display: none;
+ }
+
+ .akismet_activate .aa_button_container {
+ width: 100%;
+ }
+}
+
+@media (max-width: 782px) {
+ .akismet_activate {
+ min-width: 0;
+ }
+}
+
+@media (max-width: 850px) {
+ #akismet_setup_prompt .aa_description {
+ display: none;
+ }
+
+ .akismet_activate {
+ min-width: 0;
+ }
+}
+
.jetpack_page_akismet-key-config #wpcontent, .settings_page_akismet-key-config #wpcontent {
padding-left: 0;
}
diff --git a/plugins/akismet/_inc/akismet.js b/plugins/akismet/_inc/akismet.js
index b5df186f..8ed3add1 100644
--- a/plugins/akismet/_inc/akismet.js
+++ b/plugins/akismet/_inc/akismet.js
@@ -282,4 +282,22 @@ jQuery( function ( $ ) {
url: './options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide',
});
});
+
+ $( ".akismet-could-be-primary" ).each( function () {
+ var form = $( this ).closest( 'form' );
+
+ form.data( 'initial-state', form.serialize() );
+
+ form.on( 'change keyup', function () {
+ var self = $( this );
+ var submit_button = self.find( ".akismet-could-be-primary" );
+
+ if ( self.serialize() != self.data( 'initial-state' ) ) {
+ submit_button.addClass( "akismet-is-primary" );
+ }
+ else {
+ submit_button.removeClass( "akismet-is-primary" );
+ }
+ } );
+ } );
});
diff --git a/plugins/akismet/akismet.php b/plugins/akismet/akismet.php
index 800dd724..2e07b3ef 100644
--- a/plugins/akismet/akismet.php
+++ b/plugins/akismet/akismet.php
@@ -6,7 +6,7 @@
Plugin Name: Akismet Anti-Spam
Plugin URI: https://akismet.com/
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
-Version: 4.1
+Version: 4.1.1
Author: Automattic
Author URI: https://automattic.com/wordpress-plugins/
License: GPLv2 or later
@@ -37,7 +37,7 @@ if ( !function_exists( 'add_action' ) ) {
exit;
}
-define( 'AKISMET_VERSION', '4.1' );
+define( 'AKISMET_VERSION', '4.1.1' );
define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'AKISMET_DELETE_LIMIT', 100000 );
diff --git a/plugins/akismet/class.akismet.php b/plugins/akismet/class.akismet.php
index 9b70d9ec..7dc8ba91 100644
--- a/plugins/akismet/class.akismet.php
+++ b/plugins/akismet/class.akismet.php
@@ -575,6 +575,11 @@ class Akismet {
if ( $new_status == $old_status )
return;
+ if ( 'spam' === $new_status || 'spam' === $old_status ) {
+ // Clear the cache of the "X comments in your spam queue" count on the dashboard.
+ wp_cache_delete( 'akismet_spam_count', 'widget' );
+ }
+
# we don't need to record a history item for deleted comments
if ( $new_status == 'delete' )
return;
diff --git a/plugins/akismet/readme.txt b/plugins/akismet/readme.txt
index 9473fb95..41495d86 100644
--- a/plugins/akismet/readme.txt
+++ b/plugins/akismet/readme.txt
@@ -2,8 +2,8 @@
Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eoigal, cfinke, automattic, jgs, procifer, stephdau
Tags: akismet, comments, spam, antispam, anti-spam, anti spam, comment moderation, comment spam, contact form spam, spam comments
Requires at least: 4.0
-Tested up to: 5.0
-Stable tag: 4.1
+Tested up to: 5.1
+Stable tag: 4.1.1
License: GPLv2 or later
Akismet checks your comments and contact form submissions against our global database of spam to protect you and your site from malicious content.
@@ -30,6 +30,13 @@ Upload the Akismet plugin to your blog, Activate it, then enter your [Akismet.co
== Changelog ==
+= 4.1.1 =
+*Release Date - 31 January 2019*
+
+* Fixed the "Setup Akismet" notice so it resizes responsively.
+* Only highlight the "Save Changes" button in the Akismet config when changes have been made.
+* The count of comments in your spam queue shown on the dashboard show now always be up-to-date.
+
= 4.1 =
*Release Date - 12 November 2018*
diff --git a/plugins/akismet/views/config.php b/plugins/akismet/views/config.php
index cc6fdd20..6bbcd6d4 100644
--- a/plugins/akismet/views/config.php
+++ b/plugins/akismet/views/config.php
@@ -173,7 +173,7 @@
<?php wp_nonce_field(Akismet_Admin::NONCE) ?>
<div id="publishing-action">
<input type="hidden" name="action" value="enter-key">
- <input type="submit" name="submit" id="submit" class="akismet-button akismet-is-primary" value="<?php esc_attr_e('Save Changes', 'akismet');?>">
+ <input type="submit" name="submit" id="submit" class="akismet-button akismet-could-be-primary" value="<?php esc_attr_e('Save Changes', 'akismet');?>">
</div>
<div class="clear"></div>
</div>
diff --git a/plugins/akismet/views/get.php b/plugins/akismet/views/get.php
index c9dbf108..bfd34c7c 100644
--- a/plugins/akismet/views/get.php
+++ b/plugins/akismet/views/get.php
@@ -2,5 +2,5 @@
<input type="hidden" name="passback_url" value="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>"/>
<input type="hidden" name="blog" value="<?php echo esc_url( get_option( 'home' ) ); ?>"/>
<input type="hidden" name="redirect" value="<?php echo isset( $redirect ) ? $redirect : 'plugin-signup'; ?>"/>
- <input type="submit" class="<?php echo isset( $classes ) && count( $classes ) > 0 ? implode( ' ', $classes ) : 'akismet-button akismet-is-primary';?>" value="<?php echo esc_attr( $text ); ?>"/>
+ <input type="submit" class="<?php echo isset( $classes ) && count( $classes ) > 0 ? implode( ' ', $classes ) : 'akismet-button';?>" value="<?php echo esc_attr( $text ); ?>"/>
</form> \ No newline at end of file
diff --git a/plugins/akismet/views/notice.php b/plugins/akismet/views/notice.php
index 62476bd2..7f70fc12 100644
--- a/plugins/akismet/views/notice.php
+++ b/plugins/akismet/views/notice.php
@@ -1,5 +1,5 @@
<?php if ( $type == 'plugin' ) :?>
-<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
+<div class="updated" id="akismet_setup_prompt">
<form name="akismet_activate" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="POST">
<div class="akismet_activate">
<div class="aa_a">A</div>
diff --git a/plugins/google-authenticator/LICENSE b/plugins/google-authenticator/LICENSE
new file mode 100644
index 00000000..d159169d
--- /dev/null
+++ b/plugins/google-authenticator/LICENSE
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/plugins/google-authenticator/google-authenticator.php b/plugins/google-authenticator/google-authenticator.php
index a2c46d85..6c19c17c 100644
--- a/plugins/google-authenticator/google-authenticator.php
+++ b/plugins/google-authenticator/google-authenticator.php
@@ -1,19 +1,21 @@
<?php
/*
Plugin Name: Google Authenticator
-Plugin URI: http://henrik.schack.dk/google-authenticator-for-wordpress
+Plugin URI: https://github.com/ivankruchkoff/google-authenticator
Description: Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry app as One Time Password generator.
-Author: Henrik Schack
-Version: 0.48
-Author URI: http://henrik.schack.dk/
-Compatibility: WordPress 4.5
+Author: Ivan Kruchkoff
+Version: 0.51
+Author URI: https://github.com/ivankruchkoff
+Compatibility: WordPress 5.1
Text Domain: google-authenticator
Domain Path: /lang
----------------------------------------------------------------------------
+ Thanks to Henrik Schack for creating / maintaining versions 0.20 to 0.48
+ Thanks to Ivan Kruchkoff for his UX improvements in user signup.
Thanks to Bryan Ruiz for his Base32 encode/decode class, found at php.net.
- Thanks to Tobias Bäthge for his major code rewrite and German translation.
+ Thanks to Tobias Bäthge for his major code rewrite and German translation.
Thanks to Pascal de Bruijn for his relaxed mode idea.
Thanks to Daniel Werl for his usability tips.
Thanks to Dion Hulse for his bugfixes.
@@ -22,30 +24,36 @@ Domain Path: /lang
Thanks to Ian Dunn for fixing some depricated function calls.
Thanks to Kimmo Suominen for fixing the iPhone description issue.
Thanks to Alex Concha for some security tips.
- Thanks to Sébastien Prunier for his Spanish and French translations.
+ Thanks to Sébastien Prunier for his Spanish and French translations.
----------------------------------------------------------------------------
- Copyright 2013 Henrik Schack (email : henrik@schack.dk)
+ Versions from 0.49 onwards
+ Copyright 2019 Ivan Kruchkoff
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ Versions up to and including 0.48
+ Copyright 2013 Henrik Schack (email : henrik@schack.dk)
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class GoogleAuthenticator {
static $instance; // to store a reference to the plugin, allows other plugins to remove actions
+const SETUP_PAGE = 'google_authenticator_user_page';
+protected $error_message = null;
/**
* Constructor, entry point of the plugin
@@ -59,10 +67,15 @@ function __construct() {
* Initialization, Hooks, and localization
*/
function init() {
- require_once( 'base32.php' );
-
- add_action( 'login_form', array( $this, 'loginform' ) );
- add_action( 'login_footer', array( $this, 'loginfooter' ) );
+ if ( ! class_exists( 'Base32' ) ) {
+ require_once( 'base32.php' );
+ }
+
+ if ( ! $this->is_two_screen_signin_enabled() ) {
+ add_action( 'login_form', array( $this, 'loginform' ) );
+ add_action( 'login_footer', array( $this, 'loginfooter' ) );
+ }
+
add_filter( 'authenticate', array( $this, 'check_otp' ), 50, 3 );
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
@@ -74,36 +87,51 @@ function init() {
add_action( 'edit_user_profile', array( $this, 'edit_user_profile' ) );
add_action( 'edit_user_profile_update', array( $this, 'edit_user_profile_update' ) );
- add_action('admin_enqueue_scripts', array($this, 'add_qrcode_script'));
+ add_action( 'admin_enqueue_scripts', array( $this, 'add_qrcode_script' ) );
+ add_action( 'admin_menu', array ( $this, 'add_pages' ) );
+ add_action( 'network_admin_menu', array ( $this, 'add_pages' ) );
+ add_action( 'current_screen', array ( $this, 'redirect_if_setup_required' ) );
+ add_action( 'admin_notices', array ( $this, 'successful_signup_message' ) );
+ add_action( 'load-admin_page_google_authenticator_user_page', array( $this, 'save_submitted_setup_page' ) );
load_plugin_textdomain( 'google-authenticator', false, basename( dirname( __FILE__ ) ) . '/lang' );
}
+/**
+ * Whether we show Google Auth code on the login screen, or after the user has entered their username and password.
+ *
+ * If it's on a separate screen, it means username / passwords can still be bruteforced, but logins can't occur without 2fa
+ *
+ * @return bool
+ */
+function is_two_screen_signin_enabled() {
+ $two_screen_mfa = is_multisite() ? get_site_option( 'googleauthenticator_two_screen_signin' ) : get_option( 'googleauthenticator_two_screen_signin' );
+ return !! $two_screen_mfa;
+}
/**
* Check the verification code entered by the user.
*/
-function verify( $secretkey, $thistry, $relaxedmode, $lasttimeslot ) {
+function verify( $secretkey, $thistry, $relaxedmode, $lasttimeslot ) {
// Did the user enter 6 digits ?
if ( strlen( $thistry ) != 6) {
return false;
} else {
$thistry = intval ( $thistry );
}
-
// If user is running in relaxed mode, we allow more time drifting
- // ±4 min, as opposed to ± 30 seconds in normal mode.
+ // ±4 min, as opposed to ± 30 seconds in normal mode.
if ( $relaxedmode == 'enabled' ) {
$firstcount = -8;
- $lastcount = 8;
+ $lastcount = 8;
} else {
$firstcount = -1;
- $lastcount = 1;
+ $lastcount = 1;
}
-
+
$tm = floor( time() / 30 );
-
+
$secretkey=Base32::decode($secretkey);
// Keys from 30 seconds before and after are valid aswell.
for ($i=$firstcount; $i<=$lastcount; $i++) {
@@ -161,12 +189,358 @@ function add_qrcode_script() {
}
/**
+ * Add 2fa pages to menus
+ */
+function add_pages() {
+ // No menu entry for this page
+ add_submenu_page( null, esc_html__( 'Google Authenticator', 'google-authenticator' ), null, 'read', self::SETUP_PAGE, array( $this, 'user_setup_page' ) );
+
+ // Site admin screen
+ add_submenu_page( 'options-general.php', esc_html__( 'Google Authenticator', 'google-authenticator' ), esc_html__( 'Google Authenticator', 'google-authenticator' ), 'manage_options', 'google_authenticator', array( $this, 'admin_setup_page' ) );
+
+ // Network admin screen
+ add_submenu_page( 'settings.php', esc_html__( 'Google Authenticator', 'google-authenticator' ), esc_html__( 'Google Authenticator', 'google-authenticator' ), 'manage_network_options', 'google_authenticator', array( $this, 'network_admin_setup_page' ) );
+}
+
+/**
+ * Determine if a user needs to setup authy 2fa
+ * @return bool
+ */
+function user_needs_to_setup_google_authenticator() {
+ $user = wp_get_current_user();
+ $enabled = trim(get_user_option( 'googleauthenticator_enabled', $user->ID ) ) === 'enabled';
+ if ( $enabled ) {
+ return false;
+ }
+
+ $must_signup = false;
+ $user_role = $user->roles[0];
+ $check_single_site_admin_options = true;
+
+ if ( is_multisite() ) {
+ $roles = get_site_option( 'googleauthenticator_mandatory_mfa_roles', array() );
+ if ( in_array( $user_role, $roles ) ) {
+ $must_signup = true;
+ }
+ $check_single_site_admin_options = '1' !== get_site_option( 'googleauthenticator_network_only' ) ;
+ }
+
+ if ( ! $must_signup && $check_single_site_admin_options ) {
+ $roles = get_option( 'googleauthenticator_mandatory_mfa_roles', array() );
+ if ( in_array( $user_role, $roles ) ) {
+ $must_signup = true;
+ }
+
+ }
+
+ return apply_filters( 'google_authenticator_needs_setup', $must_signup, $user );
+}
+
+/**
+ * Send users to the signup page if they must signup.
+ */
+function redirect_if_setup_required() {
+ if ( $this->user_needs_to_setup_google_authenticator() ) {
+ $screen = get_current_screen();
+ $pagename = 'admin_page_' . self::SETUP_PAGE;
+ if ( is_a( $screen, 'WP_Screen') && in_array( $screen->id, array( $pagename, 'profile' ) ) ) {
+ return;
+ }
+
+ // Some check against super admin so they can enable/disable the plugin.
+ $location = admin_url( 'admin.php?page=' . self::SETUP_PAGE );
+ wp_redirect( $location);
+ exit;
+ }
+}
+
+/**
+ * Save the GA secret if valid totp is provided
+ * @return void
+ */
+function save_submitted_setup_page() {
+ $this->error_message = null; // Reset a previous error message if it was set
+ $user = wp_get_current_user();
+ $secret = empty( $_POST['GA_secret'] ) ? false : sanitize_text_field( $_POST['GA_secret']);
+ $otp = empty( $_POST['GA_otp_code'] ) ? false : sanitize_text_field( $_POST['GA_otp_code']);
+ if ( ! strlen( $secret ) || ! strlen( $otp ) ) {
+ return;
+ }
+ $relaxed_mode = trim( get_user_option( 'googleauthenticator_relaxedmode', $user->ID ) );
+ $relaxed_mode = 'enabled' === $relaxed_mode ? 'enabled' : 'disabled';
+ if ( $timeslot = $this->verify( $secret, $otp, $relaxed_mode, '' ) ) {
+ update_user_option( $user->ID, 'googleauthenticator_lasttimeslot', $timeslot, true );
+ update_user_option( $user->ID, 'googleauthenticator_secret', $secret, true );
+ update_user_option( $user->ID, 'googleauthenticator_enabled', 'enabled', true );
+ $location = admin_url( 'index.php?googleauthenticator=enabled' );
+ wp_redirect( $location );
+ exit;
+ };
+
+ $this->error_message = new WP_Error( 'invalid-otp', esc_html__( "OTP code doesn't match supplied secret, please check you've configured Authenticator correctly.", 'google-authenticator' ) );
+}
+
+/**
+ * Show the user a success message after we redirect them following successful google authenticator setup
+ */
+function successful_signup_message() {
+ if ( ! empty( $_GET['googleauthenticator'] ) && 'enabled' === $_GET['googleauthenticator'] ) : ?>
+ <div class="updated notice">
+ <p><?php esc_html_e( 'Congratulations, you have successfully enabled Google Authenticator for your account', 'google-authenticator' ); ?></p>
+ </div>
+
+ <?php endif;
+}
+
+/**
+ * Callback function to render the google authenticator setup page
+ */
+function user_setup_page() {
+ $user = wp_get_current_user();
+ $enabled = trim(get_user_option( 'googleauthenticator_enabled', $user->ID ) ) === 'enabled';
+ if ( $enabled ) {
+ $location = admin_url( 'index.php' );
+ wp_redirect( $location );
+ exit;
+ }
+ $error = $this->error_message;
+
+ $app_links = array(
+ array(
+ 'text' => __( 'iOS: Authy', 'google-authenticator' ),
+ 'link' => 'https://itunes.apple.com/app/authy/id494168017',
+ ),
+ array(
+ 'text' => __( 'iOS: Google Authenticator', 'google-authenticator' ),
+ 'link' => 'https://itunes.apple.com/app/authy/id494168017',
+ ),
+ array(
+ 'text' => __( 'Android: Authy', 'google-authenticator' ),
+ 'link' => 'https://itunes.apple.com/app/authy/id494168017',
+ ),
+ array(
+ 'text' => __( 'Android: Google Authenticator', 'google-authenticator' ),
+ 'link' => 'https://itunes.apple.com/app/authy/id494168017',
+ ),
+ array(
+ 'text' => __( 'Windows Phone', 'google-authenticator' ),
+ 'link' => 'https://www.microsoft.com/store/p/authenticator/9nblggh08h54',
+ ),
+ array(
+ 'text' => __( 'Chrome Browser', 'google-authenticator' ),
+ 'link' => 'https://chrome.google.com/webstore/detail/authy-chrome-extension/fhgenkpocbhhddlgkjnfghpjanffonno',
+ ),
+ array(
+ 'text' => __( 'Desktop', 'google-authenticator' ),
+ 'link' => 'https://authy.com/download/',
+ ),
+
+ );
+
+ ?>
+ <div class="wrap">
+ <h1><?php esc_html_e( 'Google Authenticator Settings', 'google-authenticator' ); ?></h1>
+ <?php if (is_wp_error( $error ) ): ?>
+ <div class="error notice"><p><?php esc_html_e( $error->get_error_message() ); ?></p></div>
+ <?php endif; ?>
+ <p><?php echo esc_html__( "If you haven't already done so, please install the Authy or Google Authenticator app on your mobile device from the App Store:", 'google-authenticator' ); ?></p>
+ <ul>
+ <?php foreach( $app_links as $app_link ): ?>
+ <li><a href="<?php echo esc_url( $app_link[ 'link' ] ); ?>"><?php echo esc_html( $app_link[ 'text' ] ); ?></a></li>
+ <?php endforeach; ?>
+ </ul>
+ <p><?php echo esc_html__( 'The easiest way to enable your account is to add an account by scanning the QR code using the app.', 'google-authenticator' ); ?></p>
+ <p>
+ <?php echo esc_html__( "An account can also be added by typing in the secret. After you've added your account to the App, please type the code you see on the screen into the Authenticator Code field and press the Verify Authenticator Code button.", 'google-authenticator' ); ?>
+ </p>
+ <p>
+ <?php echo esc_html__( 'If the account setup was successful, you will be logged out, and will need to login again using your Username, Password and Authenticator code generated using the App on your mobile device.', 'google-authenticator' ); ?>
+ </p>
+ <form method="post">
+ <?php $this->profile_personal_options( array(
+ 'show_active' => false,
+ 'show_relaxed_mode' => false,
+ 'show_description' => false,
+ 'show_secret_qr' => true,
+ 'show_secret_buttons' => false,
+ 'show_authenticator_code' => true,
+ 'show_app_password' => false,
+ )); ?>
+ </form>
+ </div>
+ <?php
+}
+
+/**
+ * Save site / network wide settings
+ * @param $is_network
+ */
+function save_submitted_admin_setup_page( $is_network ) {
+ $nonce = filter_input( INPUT_POST, 'googleauthenticator', FILTER_SANITIZE_STRING );
+ if ( wp_verify_nonce( $nonce, 'googleauthenticator' ) ) {
+ if ( $is_network ) {
+ $network_settings_only = array_key_exists( 'network_settings_only', $_POST );
+ if ( current_user_can( 'manage_network_options' ) ) {
+ update_site_option( 'googleauthenticator_network_only', $network_settings_only );
+ }
+ }
+ $two_screen_mfa = array_key_exists( 'two_screen_approach', $_POST ) && 'true' === $_POST[ 'two_screen_approach' ];
+ if ( is_multisite() && $is_network ) {
+ if ( current_user_can( 'manage_network_options' ) ) {
+ update_site_option( 'googleauthenticator_two_screen_signin', $two_screen_mfa );
+ }
+ } elseif ( ! $is_network ) {
+ if ( current_user_can( 'manage_options' ) ) {
+ update_option( 'googleauthenticator_two_screen_signin', $two_screen_mfa );
+ }
+ }
+ $roles = isset( $_POST['roles'] ) ? (array) $_POST['roles'] : array();
+ $roles = array_map( 'sanitize_text_field', $roles );
+
+ if ( $is_network ) {
+ if ( current_user_can( 'manage_network_options' ) ) {
+ update_site_option( 'googleauthenticator_mandatory_mfa_roles', $roles );
+ }
+ } else {
+ if ( current_user_can( 'manage_options' ) ) {
+ update_option( 'googleauthenticator_mandatory_mfa_roles', $roles );
+ }
+ }
+ return true;
+ }
+}
+
+/**
+ * Callback function to render the google authenticator setup page
+ */
+function common_admin_setup_page( $is_network = false ) {
+ if ( $is_network ) {
+ $site_ids = get_sites( 'fields=ids' );
+ $roles = get_editable_roles();
+ foreach( $site_ids as $site_id ) {
+ switch_to_blog( $site_id );
+ $roles = array_merge( $roles, get_editable_roles() );
+ restore_current_blog();
+ }
+ $edit_enabled = true;
+ } else {
+ $roles = get_editable_roles();
+ $edit_enabled = is_multisite() ? boolval( get_site_option( 'googleauthenticator_network_only') ) : true;
+ }
+ $is_updated = $this->save_submitted_admin_setup_page( $is_network );
+ ?>
+ <div class="wrap">
+ <h1><?php esc_html_e( 'Google Authenticator Settings', 'google-authenticator' ); ?></h1>
+ <?php if ( $is_updated ): ?>
+ <?php if ( $is_network ): ?>
+ <div class="notice notice-success is-dismissible"><p><?php esc_html_e( 'Successfullly saved your settings for the network', 'google-authenticator' ); ?></p></div>
+ <?php else: ?>
+ <div class="notice notice-success is-dismissible"><p><?php esc_html_e( 'Successfullly saved your settings for the site', 'google-authenticator' ); ?></p></div>
+ <?php endif; ?>
+ <?php endif; ?>
+ <form method="post">
+ <?php if ( $is_network ): ?>
+ <h2><?php esc_html_e( 'Network Settings', 'google-authenticator' ); ?></h2>
+ <p>
+ <label>
+ <input name="network_settings_only" type="checkbox" value="true" <?php checked( get_site_option( 'googleauthenticator_network_only' ) ); ?>>
+ <?php esc_html_e( 'Only use network-wide settings, ignoring site settings.', 'google-authenticator' ); ?>
+ </label>
+ </p>
+ <?php endif; ?>
+ <?php if ( is_multisite() && $is_network || ! is_multisite() ): ?>
+ <?php $two_screen_mfa = is_multisite() ? get_site_option( 'googleauthenticator_two_screen_signin' ) : get_option( 'googleauthenticator_two_screen_signin' ); ?>
+ <h2><?php esc_html_e( 'Two Screen Signin', 'google-authenticator' ); ?></h2>
+ <p>
+ <label>
+ <input name="two_screen_approach" type="checkbox" value="true" <?php checked( $two_screen_mfa ); ?>>
+ <?php esc_html_e( 'Ask for authenticator code on secondary login screen', 'google-authenticator' ); ?>
+ </label>
+ </p>
+ <?php endif; ?>
+ <h2><?php esc_html_e( 'Roles requiring Google Authenticator Enabled', 'google-authenticator' ); ?></h2>
+ <?php foreach ($roles as $role_key => $role) {
+ $this->show_role_checkbox( $role_key, $role, $is_network );
+ }
+ if ( $edit_enabled ) {
+ wp_nonce_field( 'googleauthenticator', 'googleauthenticator' );
+ submit_button();
+ } else {
+ esc_html_e( 'Network-wide settings in effect, only a super admin can modify them.', 'google-authenticator' );
+ if ( current_user_can( 'manage_network' ) ) :?>
+ <a href="<?php echo network_admin_url( 'settings.php?page=google_authenticator' ) ?>"><?php esc_html_e( 'Change network wide Google Authenticator settings', 'google-authenticator' ); ?></a>
+ <?php endif;
+ }
+ ?>
+
+ </form>
+ </div>
+ <?php
+}
+
+/**
+ * Render a checkbox for a role
+ * @param $role_key
+ * @param $role
+ * @param $is_network
+ */
+function show_role_checkbox( $role_key, $role, $is_network ) {
+ $network_roles = get_site_option( 'googleauthenticator_mandatory_mfa_roles', array() );
+ $network_only = is_multisite() && boolval( get_site_option( 'googleauthenticator_network_only' ) );
+ $roles = get_option( 'googleauthenticator_mandatory_mfa_roles', array() );
+ if ( $network_only ) {
+ $checked = in_array( $role_key, $network_roles );
+ } else {
+ $checked = in_array( $role_key, array_merge( $roles, $network_roles ) );
+ }
+
+ /**
+ * Criteria under which permission field can be readonly.
+ * 1. Site must be a multisite AND
+ * Either
+ * a. googleauthenticator_network_only network option is set via /wp-admin/network/settings.php?page=google_authenticator
+ *
+ * OR
+ * b. the network option for this role is set via /wp-admin/network/settings.php?page=google_authenticator
+ */
+ $readonly = is_multisite() && ( ( ! $is_network && $network_only ) || ( ! $is_network && in_array( $role_key, $network_roles ) && ! in_array( $role_key, $roles ) ) );
+ $readonly_label = '';
+
+ if ( $readonly ) {
+ if ( current_user_can( 'manage_network' ) ) {
+ $readonly_label = __( "Sorry, you can't disable checks for this role as it's enabled at the network level.", 'google-authenticator' );
+ } else {
+ $readonly_label = sprintf( __( 'Sorry, this role is enabled at the network level and can only be disabled via the <a href="%s">network settings</a>', 'google-authenticator' ), network_admin_url( 'settings.php?page=google_authenticator' ) );
+ }
+ }
+
+ $readonly = $readonly ? ' readonly="readonly"' : '';
+ ?>
+ <p><label><input name="roles[]" type="checkbox"<?php echo esc_html( $readonly ) . checked( $checked, true, false ); ?>value="<?php esc_attr_e( $role_key ); ?>"><strong><?php esc_html_e( $role[ 'name' ] ); ?></strong></label> <?php echo $readonly_label; ?></p>
+ <?php
+}
+
+/**
+ * Admin setup screen
+ */
+function admin_setup_page() {
+ $this->common_admin_setup_page();
+
+}
+
+/**
+ * Network admin setup screen
+ */
+function network_admin_setup_page() {
+ $this->common_admin_setup_page( true );
+}
+/**
* Add verification code field to login form.
*/
function loginform() {
echo "\t<p>\n";
echo "\t\t<label title=\"".__('If you don\'t have Google Authenticator enabled for your WordPress account, leave this field empty.','google-authenticator')."\">".__('Google Authenticator code','google-authenticator')."<span id=\"google-auth-info\"></span><br />\n";
- echo "\t\t<input type=\"text\" name=\"googleotp\" id=\"user_email\" class=\"input\" value=\"\" size=\"20\" style=\"ime-mode: inactive;\" /></label>\n";
+ echo "\t\t<input type=\"text\" name=\"googleotp\" id=\"googleotp\" class=\"input\" value=\"\" size=\"20\" style=\"ime-mode: inactive;\" /></label>\n";
echo "\t</p>\n";
}
@@ -184,7 +558,7 @@ function loginfooter() {
/**
* Login form handling.
* Check Google Authenticator verification code, if user has been setup to do so.
- * @param wordpressuser
+ * @param wordpressuser / WP_Error
* @return user/loginstatus
*/
function check_otp( $user, $username = '', $password = '' ) {
@@ -237,8 +611,14 @@ function check_otp( $user, $username = '', $password = '' ) {
return new WP_Error( 'invalid_google_authenticator_password', __( '<strong>ERROR</strong>: The Google Authenticator password is incorrect.', 'google-authenticator' ) );
}
} else {
- return new WP_Error( 'invalid_google_authenticator_token', __( '<strong>ERROR</strong>: The Google Authenticator code is incorrect or has expired.', 'google-authenticator' ) );
- }
+ if ( ! $this->is_two_screen_signin_enabled() ) {
+ return new WP_Error( 'invalid_google_authenticator_token', __( '<strong>ERROR</strong>: The Google Authenticator code is incorrect or has expired.', 'google-authenticator' ) );
+ } else {
+ wp_logout();
+ $this->secondary_login_screen();
+ exit;
+ }
+ }
}
}
// Google Authenticator isn't enabled for this account,
@@ -246,12 +626,55 @@ function check_otp( $user, $username = '', $password = '' ) {
return $userstate;
}
+function secondary_login_screen() {
+ $redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : admin_url();
+ login_header( esc_html__('Secondary Login Screen', 'google-authenticator' ) );
+ if ( array_key_exists( 'googleotp', $_REQUEST ) ) {
+ if ( 0 === strlen( $_REQUEST[ 'googleotp'] ) ) {
+ $error_message = __( '<strong>ERROR</strong>: The Google Authenticator code is missing.', 'google-authenticator' );
+ } else {
+ $error_message = __( '<strong>ERROR</strong>: The Google Authenticator code is incorrect or has expired.', 'google-authenticator' );
+ }
+ echo '<div id="login_error">' . $error_message . '</div>';
+ }?>
+ <form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
+ <input type="hidden" name="log" value="<?php echo esc_attr( $_REQUEST['log'] ); ?>" />
+ <input type="hidden" name="pwd" value="<?php echo esc_attr( $_REQUEST['pwd'] ); ?>" />
+ <input type="hidden" name="wp-submit" value="<?php echo esc_attr( $_REQUEST['wp-submit'] ); ?>" />
+ <?php if ( array_key_exists( 'rememberme', $_REQUEST ) && 'forever' === $_REQUEST[ 'rememberme']): ?>
+ <input name="rememberme" type="hidden" id="rememberme" value="forever" />
+ <?php endif; ?>
+ <?php $this->loginform(); ?>
+ <p><?php esc_html_e( 'Please enter the Google Authenticator code using the app on your device.', 'google-authenticator' ); ?></p>
+ <p class="submit">
+ <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Log In'); ?>" />
+ <input type="hidden" name="redirect_to" value="<?php echo esc_attr($redirect_to); ?>" />
+ <input type="hidden" name="testcookie" value="1" />
+ </p>
+ </form>
+ <?php
+ login_footer();
+}
+
/**
* Extend personal profile page with Google Authenticator settings.
*/
-function profile_personal_options() {
- global $user_id, $is_profile_page;
+function profile_personal_options( $args = array() ) {
+ $defaults = array(
+ 'show_active' => true,
+ 'show_relaxed_mode' => true,
+ 'show_description' => true,
+ 'show_secret_qr' => false,
+ 'show_secret_buttons' => true,
+ 'show_authenticator_code' => false,
+ 'show_app_password' => true,
+ );
+
+ $args = wp_parse_args( $args, $defaults );
+
+ $user = wp_get_current_user();
+ $user_id = $user->ID;
// If editing of Google Authenticator settings has been disabled, just return
$GA_hidefromuser = trim( get_user_option( 'googleauthenticator_hidefromuser', $user_id ) );
@@ -270,65 +693,86 @@ function profile_personal_options() {
$GA_password = "XXXX XXXX XXXX XXXX";
}
- // In case the user has no secret ready (new install), we create one.
+ // In case the user has no secret ready (new install), we create one. or use the one they just posted
if ( '' == $GA_secret ) {
- $GA_secret = $this->create_secret();
+ $GA_secret = array_key_exists( 'GA_secret', $_REQUEST ) ? sanitize_text_field( $_REQUEST[ 'GA_secret' ] ) : $this->create_secret();
}
- // Use "WordPress Blog" as default description
if ( '' == $GA_description ) {
- $GA_description = __( 'WordPressBlog', 'google-authenticator' );
+ // Super admins and users with accounts on more than one site get the network name as the helpful name,
+ // everyone else gets the site that they're on
+ if ( is_multisite() && ( 1 < count( get_blogs_of_user( $user_id ) || is_super_admin() ) ) ) {
+ $GA_description = sanitize_text_field( get_blog_details( get_network()->id )->blogname );
+ } else {
+ $GA_description = sanitize_text_field( get_bloginfo( 'name' ) );
+ }
}
echo "<h3>".__( 'Google Authenticator Settings', 'google-authenticator' )."</h3>\n";
echo "<table class=\"form-table\">\n";
echo "<tbody>\n";
- echo "<tr>\n";
- echo "<th scope=\"row\">".__( 'Active', 'google-authenticator' )."</th>\n";
- echo "<td>\n";
- echo "<input name=\"GA_enabled\" id=\"GA_enabled\" class=\"tog\" type=\"checkbox\"" . checked( $GA_enabled, 'enabled', false ) . "/>\n";
- echo "</td>\n";
- echo "</tr>\n";
- if ( $is_profile_page || IS_PROFILE_PAGE ) {
+ if ( $args['show_active'] ) {
echo "<tr>\n";
- echo "<th scope=\"row\">".__( 'Relaxed mode', 'google-authenticator' )."</th>\n";
+ echo "<th scope=\"row\">".__( 'Active', 'google-authenticator' )."</th>\n";
echo "<td>\n";
- echo "<input name=\"GA_relaxedmode\" id=\"GA_relaxedmode\" class=\"tog\" type=\"checkbox\"" . checked( $GA_relaxedmode, 'enabled', false ) . "/><span class=\"description\">".__(' Relaxed mode allows for more time drifting on your phone clock (&#177;4 min).','google-authenticator')."</span>\n";
+ echo "<input name=\"GA_enabled\" id=\"GA_enabled\" class=\"tog\" type=\"checkbox\"" . checked( $GA_enabled, 'enabled', false ) . "/>\n";
echo "</td>\n";
echo "</tr>\n";
-
- echo "<tr>\n";
- echo "<th><label for=\"GA_description\">".__('Description','google-authenticator')."</label></th>\n";
- echo "<td><input name=\"GA_description\" id=\"GA_description\" value=\"{$GA_description}\" type=\"text\" size=\"25\" /><span class=\"description\">".__(' Description that you\'ll see in the Google Authenticator app on your phone.','google-authenticator')."</span><br /></td>\n";
- echo "</tr>\n";
+ }
+ if ( $args['show_relaxed_mode'] ) {
echo "<tr>\n";
- echo "<th><label for=\"GA_secret\">".__('Secret','google-authenticator')."</label></th>\n";
+ echo "<th scope=\"row\">" . __( 'Relaxed mode', 'google-authenticator' ) . "</th>\n";
echo "<td>\n";
- echo "<input name=\"GA_secret\" id=\"GA_secret\" value=\"{$GA_secret}\" readonly=\"readonly\" type=\"text\" size=\"25\" />";
- echo "<input name=\"GA_newsecret\" id=\"GA_newsecret\" value=\"".__("Create new secret",'google-authenticator')."\" type=\"button\" class=\"button\" />";
- echo "<input name=\"show_qr\" id=\"show_qr\" value=\"".__("Show/Hide QR code",'google-authenticator')."\" type=\"button\" class=\"button\" onclick=\"ShowOrHideQRCode();\" />";
+ echo "<input name=\"GA_relaxedmode\" id=\"GA_relaxedmode\" class=\"tog\" type=\"checkbox\"" . checked( $GA_relaxedmode, 'enabled', false ) . "/><span class=\"description\">" . __( ' Relaxed mode allows for more time drifting on your phone clock (&#177;4 min).', 'google-authenticator' ) . "</span>\n";
echo "</td>\n";
echo "</tr>\n";
+ }
- echo "<tr>\n";
- echo "<th></th>\n";
- echo "<td><div id=\"GA_QR_INFO\" style=\"display: none\" >";
- echo "<div id=\"GA_QRCODE\"/></div>";
+ $show_description_style = $args['show_description'] ? '' : 'display:none';
+ echo "<tr style=\"{$show_description_style}\">\n";
+ echo "<th><label for=\"GA_description\">" . esc_html__( 'Description', 'google-authenticator' ) . "</label></th>\n";
+ echo "<td><input name=\"GA_description\" id=\"GA_description\" value=\"{$GA_description}\" type=\"text\" size=\"25\" /><span class=\"description\">" . __( ' Description that you\'ll see in the Google Authenticator app on your phone.', 'google-authenticator' ) . "</span><br /></td>\n";
+ echo "</tr>\n";
- echo '<span class="description"><br/> ' . __( 'Scan this with the Google Authenticator app.', 'google-authenticator' ) . '</span>';
- echo "</div></td>\n";
- echo "</tr>\n";
+ echo "<tr>\n";
+ echo "<th><label for=\"GA_secret\">".__('Secret','google-authenticator')."</label></th>\n";
+ echo "<td>\n";
+ echo "<input name=\"GA_secret\" id=\"GA_secret\" value=\"" . esc_attr( $GA_secret) . "\" readonly=\"readonly\" type=\"text\" size=\"25\" />";
+ if ( $args['show_secret_buttons']) {
+ echo "<input name=\"GA_newsecret\" id=\"GA_newsecret\" value=\"".__("Create new secret",'google-authenticator')."\" type=\"button\" class=\"button\" />";
+ echo "<input name=\"show_qr\" id=\"show_qr\" value=\"".__("Show/Hide QR code",'google-authenticator')."\" type=\"button\" class=\"button\" onclick=\"ShowOrHideQRCode();\" />";
+ }
+ echo "</td>\n";
+ echo "</tr>\n";
+ echo "<tr>\n";
+ echo "<th></th>\n";
+
+ $qr_style = $args['show_secret_qr'] ? '' : 'display: none';
+ echo "<td><div id=\"GA_QR_INFO\" style=\"{$qr_style}\" >";
+ echo "<div id=\"GA_QRCODE\"/></div>";
+
+ echo '<span class="description"><br/> ' . __( 'Scan this with the Google Authenticator app.', 'google-authenticator' ) . '</span>';
+ echo "</div></td>\n";
+ echo "</tr>\n";
+ if ( $args['show_secret_qr']) : ?>
+ <script>
+ var qrcode="otpauth://totp/WordPress:"+escape(jQuery('#GA_description').val())+"?secret="+jQuery('#GA_secret').val()+"&issuer=WordPress";
+ jQuery('#GA_QRCODE').qrcode(qrcode);
+ </script>
+ <?php endif;
+
+ if ( $args['show_app_password']) {
echo "<tr>\n";
echo "<th scope=\"row\">".__( 'Enable App password', 'google-authenticator' )."</th>\n";
echo "<td>\n";
echo "<input name=\"GA_pwdenabled\" id=\"GA_pwdenabled\" class=\"tog\" type=\"checkbox\"" . checked( $GA_pwdenabled, 'enabled', false ) . "/><span class=\"description\">".__(' Enabling an App password will decrease your overall login security.','google-authenticator')."</span>\n";
echo "</td>\n";
echo "</tr>\n";
-
+
echo "<tr>\n";
echo "<th></th>\n";
echo "<td>\n";
@@ -339,7 +783,18 @@ function profile_personal_options() {
echo "</tr>\n";
}
+
+ if ( $args['show_authenticator_code']) {
+ echo "<tr>\n";
+ echo "<th><label for=\"GA_otp_code\">" . __( 'Authenticator Code', 'google-authenticator' ) . "</label></th>\n";
+ echo "<td><input name=\"GA_otp_code\" id=\"GA_otp_code\" type=\"text\" size=\"25\" /><span class=\"description\">" . __( 'After adding the site to your google authy account, add your authenticator code here.', 'google-authenticator' ) . "</span><br /></td>\n";
+ echo "</tr>\n";
+ }
+
echo "</tbody></table>\n";
+ if ( $args['show_authenticator_code']) {
+ submit_button( esc_html__( 'Verify Authenticator Code', 'google-authenticator' ) );
+ }
echo "<script type=\"text/javascript\">\n";
echo "var GAnonce='".wp_create_nonce('GoogleAuthenticatoraction')."';\n";
@@ -546,4 +1001,4 @@ function ajax_callback() {
} // end class
$google_authenticator = new GoogleAuthenticator;
-?>
+
diff --git a/plugins/google-authenticator/lang/google-authenticator.pot b/plugins/google-authenticator/lang/google-authenticator.pot
index c14d5c1b..a300d648 100644
--- a/plugins/google-authenticator/lang/google-authenticator.pot
+++ b/plugins/google-authenticator/lang/google-authenticator.pot
@@ -1,98 +1,244 @@
-# Copyright (C) 2014 Google Authenticator
+# Copyright (C) 2017 Google Authenticator
# This file is distributed under the same license as the Google Authenticator package.
msgid ""
msgstr ""
-"Project-Id-Version: Google Authenticator 0.47\n"
-"Report-Msgid-Bugs-To: http://wordpress.org/tag/google-authenticator\n"
-"POT-Creation-Date: 2014-01-11 07:14:22+00:00\n"
+"Project-Id-Version: Google Authenticator 0.49\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/google-"
+"authenticator\n"
+"POT-Creation-Date: 2017-10-28 00:02:58+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
+"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
-#: google-authenticator.php:166
-msgid "If you don't have Google Authenticator enabled for your WordPress account, leave this field empty."
+#. #-#-#-#-# google-authenticator.pot (Google Authenticator 0.49) #-#-#-#-#
+#. Plugin Name of the plugin/theme
+#: google-authenticator.php:190 google-authenticator.php:193
+msgid "Google Authenticator"
+msgstr ""
+
+#: google-authenticator.php:268
+msgid ""
+"OTP code doesn't match supplied secret, please check you've configured "
+"Authenticator correctly."
+msgstr ""
+
+#: google-authenticator.php:277
+msgid ""
+"Congratulations, you have successfully enabled Google Authenticator for your "
+"account "
+msgstr ""
+
+#: google-authenticator.php:298
+msgid "iOS: Authy"
+msgstr ""
+
+#: google-authenticator.php:302
+msgid "iOS: Google Authenticator"
+msgstr ""
+
+#: google-authenticator.php:306
+msgid "Android: Authy"
+msgstr ""
+
+#: google-authenticator.php:310
+msgid "Android: Google Authenticator"
+msgstr ""
+
+#: google-authenticator.php:314
+msgid "Windows Phone"
+msgstr ""
+
+#: google-authenticator.php:318
+msgid "Chrome Browser"
+msgstr ""
+
+#: google-authenticator.php:322
+msgid "Desktop"
+msgstr ""
+
+#: google-authenticator.php:330 google-authenticator.php:415
+#: google-authenticator.php:693 google-authenticator.php:914
+msgid "Google Authenticator Settings"
+msgstr ""
+
+#: google-authenticator.php:334
+msgid ""
+"If you haven't already done so, please install the Authy or Google "
+"Authenticator app on your mobile device from the App Store:"
+msgstr ""
+
+#: google-authenticator.php:340
+msgid ""
+"The easiest way to enable your account is to add an account by scanning the "
+"QR code using the app."
+msgstr ""
+
+#: google-authenticator.php:342
+msgid ""
+"An account can also be added by typing in the secret. After you've added "
+"your account to the App, please type the code you see on the screen into the "
+"Authenticator Code field and press the Verify Authenticator Code button."
+msgstr ""
+
+#: google-authenticator.php:345
+msgid ""
+"If the account setup was successful, you will be logged out, and will need "
+"to login again using your Username, Password and Authenticator code "
+"generated using the App on your mobile device."
+msgstr ""
+
+#: google-authenticator.php:417
+msgid "foo"
+msgstr ""
+
+#: google-authenticator.php:421
+msgid "Network Settings"
msgstr ""
-#: google-authenticator.php:166
+#: google-authenticator.php:425
+msgid "Only use network-wide settings, ignoring site settings."
+msgstr ""
+
+#: google-authenticator.php:431
+msgid "Two Screen Signin"
+msgstr ""
+
+#: google-authenticator.php:435
+msgid "Ask for authenticator code on secondary login screen"
+msgstr ""
+
+#: google-authenticator.php:439
+msgid "Roles requiring Google Authenticator Enabled"
+msgstr ""
+
+#: google-authenticator.php:447
+msgid "Network-wide settings in effect, only a super admin can modify them."
+msgstr ""
+
+#: google-authenticator.php:449
+msgid "Change network wide Google Authenticator settings"
+msgstr ""
+
+#: google-authenticator.php:489
+msgid ""
+"Sorry, you can't disable checks for this role as it's enabled at the network "
+"level."
+msgstr ""
+
+#: google-authenticator.php:491
+msgid ""
+"Sorry, this role is enabled at the network level and can only be disabled "
+"via the <a href=\"%s\">network settings</a>"
+msgstr ""
+
+#: google-authenticator.php:520
+msgid ""
+"If you don't have Google Authenticator enabled for your WordPress account, "
+"leave this field empty."
+msgstr ""
+
+#: google-authenticator.php:520
msgid "Google Authenticator code"
msgstr ""
-#: google-authenticator.php:231
+#: google-authenticator.php:593
msgid "<strong>ERROR</strong>: The Google Authenticator password is incorrect."
msgstr ""
-#: google-authenticator.php:234
-msgid "<strong>ERROR</strong>: The Google Authenticator code is incorrect or has expired."
+#: google-authenticator.php:597 google-authenticator.php:618
+msgid ""
+"<strong>ERROR</strong>: The Google Authenticator code is incorrect or has "
+"expired."
+msgstr ""
+
+#: google-authenticator.php:616
+msgid "<strong>ERROR</strong>: The Google Authenticator code is missing."
msgstr ""
-#: google-authenticator.php:274
-msgid "WordPressBlog"
+#: google-authenticator.php:630
+msgid ""
+"Please enter the Google Authenticator code using the app on your device."
msgstr ""
-#: google-authenticator.php:277 google-authenticator.php:469
-msgid "Google Authenticator Settings"
+#: google-authenticator.php:632
+msgid "Log In"
msgstr ""
-#: google-authenticator.php:282 google-authenticator.php:481
+#: google-authenticator.php:700 google-authenticator.php:926
msgid "Active"
msgstr ""
-#: google-authenticator.php:290
+#: google-authenticator.php:709
msgid "Relaxed mode"
msgstr ""
-#: google-authenticator.php:292
-msgid " Relaxed mode allows for more time drifting on your phone clock (&#177;4 min)."
+#: google-authenticator.php:711
+msgid ""
+" Relaxed mode allows for more time drifting on your phone clock (&#177;4 "
+"min)."
msgstr ""
-#: google-authenticator.php:297
+#: google-authenticator.php:718
msgid "Description"
msgstr ""
-#: google-authenticator.php:298
-msgid " Description that you'll see in the Google Authenticator app on your phone."
+#: google-authenticator.php:719
+msgid ""
+" Description that you'll see in the Google Authenticator app on your phone."
msgstr ""
-#: google-authenticator.php:302
+#: google-authenticator.php:723
msgid "Secret"
msgstr ""
-#: google-authenticator.php:305
+#: google-authenticator.php:727
msgid "Create new secret"
msgstr ""
-#: google-authenticator.php:306
+#: google-authenticator.php:728
msgid "Show/Hide QR code"
msgstr ""
-#: google-authenticator.php:315
+#: google-authenticator.php:740
msgid "Scan this with the Google Authenticator app."
msgstr ""
-#: google-authenticator.php:320
+#: google-authenticator.php:752
msgid "Enable App password"
msgstr ""
-#: google-authenticator.php:322
+#: google-authenticator.php:754
msgid " Enabling an App password will decrease your overall login security."
msgstr ""
-#: google-authenticator.php:330
+#: google-authenticator.php:762
msgid "Create new password"
msgstr ""
-#: google-authenticator.php:331
-msgid " Password is not stored in cleartext, this is your only chance to see it."
+#: google-authenticator.php:763
+msgid ""
+" Password is not stored in cleartext, this is your only chance to see it."
+msgstr ""
+
+#: google-authenticator.php:771
+msgid "Authenticator Code"
msgstr ""
-#: google-authenticator.php:474
-msgid "Hide settings from user"
+#: google-authenticator.php:772
+msgid ""
+"After adding the site to your google authy account, add your authenticator "
+"code here."
msgstr ""
-#. Plugin Name of the plugin/theme
-msgid "Google Authenticator"
+
+#: google-authenticator.php:778
+msgid "Verify Authenticator Code"
+msgstr ""
+
+#: google-authenticator.php:919
+msgid "Hide settings from user"
msgstr ""
#. Plugin URI of the plugin/theme
@@ -100,7 +246,9 @@ msgid "http://henrik.schack.dk/google-authenticator-for-wordpress"
msgstr ""
#. Description of the plugin/theme
-msgid "Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry app as One Time Password generator."
+msgid ""
+"Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry "
+"app as One Time Password generator."
msgstr ""
#. Author of the plugin/theme
diff --git a/plugins/google-authenticator/readme.txt b/plugins/google-authenticator/readme.txt
index 865d784e..d21c547f 100644
--- a/plugins/google-authenticator/readme.txt
+++ b/plugins/google-authenticator/readme.txt
@@ -1,10 +1,11 @@
=== Google Authenticator ===
-Contributors: Henrik.Schack
-Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=henrik%40schack%2edk&lc=US&item_name=Google%20Authenticator&item_number=Google%20Authenticator&no_shipping=0&no_note=1&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8
+Contributors: ivankk
Tags: authentication,otp,password,security,login,android,iphone,blackberry
Requires at least: 4.5
-Tested up to: 4.7
-Stable tag: 0.48
+Tested up to: 5.1
+Stable tag: 0.51
+License: GPLv2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
Google Authenticator for your WordPress blog.
@@ -55,8 +56,8 @@ just delete the wp-content/plugins/google-authenticator directory, and you'll be
= I don't own a Smartphone, isn't there another way to generate these secret codes ? =
-Yes, there is a webbased version here : http://gauth.apps.gbraad.nl/
-Github project here : https://github.com/gbraad/html5-google-authenticator
+Yes, there is a webbased version here : https://gauth.apps.gbraad.nl/
+Github project here : https://github.com/gbraad/gauth
= Can I create backupcodes ? =
@@ -79,6 +80,20 @@ please remember to remove the "Check credentials on all login attempts" checkmar
4. Google Authenticator app on Android
== Changelog ==
+= 0.51 =
+* Fix a regression that broke app passwords
+
+= 0.50 =
+* New maintainer ivankk
+* Conditionally include base32 class
+
+= 0.49 =
+* More streamlined sign-up flow for users, configuration screen for admins.
+* Multisite support to either enable 2fa by role on a site, and/or on a network.
+* Added filter google_authenticator_needs_setup to determine if user needs to enable 2fa.
+* Added two part login process that can ask for 2fa code on a second login screen.
+* Fixed a security bug that continued check_otp even if authenticate had already returned an error.
+
= 0.48 =
* Security fix / compatability with WordPress 4.5
@@ -151,6 +166,8 @@ please remember to remove the "Check credentials on all login attempts" checkmar
Thanks to:
+[Henrik.Schack](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=henrik%40schack%2edk&lc=US&item_name=Google%20Authenticator&item_number=Google%20Authenticator&no_shipping=0&no_note=1&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8) for writing/maintaining versions 0.20 through 0.48
+
[Tobias Bäthge](http://tobias.baethge.com/) for his code rewrite and German translation.
[Pascal de Bruijn](http://blog.pcode.nl/) for his "relaxed mode" idea.
diff --git a/plugins/jetpack/3rd-party/class.jetpack-amp-support.php b/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
index 780bc100..87e021b5 100644
--- a/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
+++ b/plugins/jetpack/3rd-party/class.jetpack-amp-support.php
@@ -8,30 +8,15 @@
class Jetpack_AMP_Support {
static function init() {
- if ( ! self::is_amp_request() ) {
- return;
- }
// enable stats
if ( Jetpack::is_module_active( 'stats' ) ) {
add_action( 'amp_post_template_footer', array( 'Jetpack_AMP_Support', 'add_stats_pixel' ) );
}
- // carousel
- add_filter( 'jp_carousel_maybe_disable', '__return_true' );
-
- // sharing
- add_filter( 'sharing_enqueue_scripts', '__return_false' );
- add_filter( 'jetpack_sharing_counts', '__return_false' );
- add_filter( 'sharing_js', '__return_false' );
+ // Sharing.
add_filter( 'jetpack_sharing_display_markup', array( 'Jetpack_AMP_Support', 'render_sharing_html' ), 10, 2 );
- // disable lazy images
- add_filter( 'lazyload_is_enabled', '__return_false' );
-
- // disable imploding CSS
- add_filter( 'jetpack_implode_frontend_css', '__return_false' );
-
// enforce freedom mode for videopress
add_filter( 'videopress_shortcode_options', array( 'Jetpack_AMP_Support', 'videopress_enable_freedom_mode' ) );
@@ -50,37 +35,12 @@ class Jetpack_AMP_Support {
add_filter( 'post_flair_disable', array( 'Jetpack_AMP_Support', 'is_amp_canonical' ), 99 );
}
- static function init_filter_jetpack_widgets() {
- if ( ! self::is_amp_request() ) {
- return;
- }
-
- // widgets
- add_filter( 'jetpack_widgets_to_include', array( 'Jetpack_AMP_Support', 'filter_available_widgets' ) );
- }
-
static function is_amp_canonical() {
return function_exists( 'amp_is_canonical' ) && amp_is_canonical();
}
static function is_amp_request() {
- // can't use is_amp_endpoint() since it's not ready early enough in init.
- // is_amp_endpoint() implementation calls is_feed, which bails with a notice if plugins_loaded isn't finished
- // "Conditional query tags do not work before the query is run"
- $is_amp_request =
- defined( 'AMP__VERSION' )
- &&
- ! is_admin() // this is necessary so that modules can still be enabled/disabled/configured as per normal via Jetpack admin
- &&
- function_exists( 'amp_is_canonical' ) // this is really just testing if the plugin exists
- &&
- (
- amp_is_canonical()
- ||
- isset( $_GET[ amp_get_slug() ] )
- ||
- ( version_compare( AMP__VERSION, '1.0', '<' ) && self::has_amp_suffix() ) // after AMP 1.0, the amp suffix will no longer be supported
- );
+ $is_amp_request = ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() );
/**
* Returns true if the current request should return valid AMP content.
@@ -92,23 +52,6 @@ class Jetpack_AMP_Support {
return apply_filters( 'jetpack_is_amp_request', $is_amp_request );
}
- static function has_amp_suffix() {
- $request_path = wp_parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH );
- return $request_path && preg_match( '#/amp/?$#i', $request_path );
- }
-
- static function filter_available_widgets( $widgets ) {
- if ( self::is_amp_request() ) {
- $widgets = array_filter( $widgets, array( 'Jetpack_AMP_Support', 'is_supported_widget' ) );
- }
-
- return $widgets;
- }
-
- static function is_supported_widget( $widget_path ) {
- return substr( $widget_path, -14 ) !== '/milestone.php';
- }
-
static function amp_disable_the_content_filters() {
if ( defined( 'WPCOM') && WPCOM ) {
add_filter( 'videopress_show_2015_player', '__return_true' );
@@ -299,11 +242,17 @@ class Jetpack_AMP_Support {
}
static function videopress_enable_freedom_mode( $options ) {
- $options['freedom'] = true;
+ if ( self::is_amp_request() ) {
+ $options['freedom'] = true;
+ }
return $options;
}
static function render_sharing_html( $markup, $sharing_enabled ) {
+ if ( ! self::is_amp_request() ) {
+ return $markup;
+ }
+
remove_action( 'wp_footer', 'sharing_add_footer' );
if ( empty( $sharing_enabled ) ) {
return $markup;
@@ -349,7 +298,3 @@ add_action( 'init', array( 'Jetpack_AMP_Support', 'init' ), 1 );
add_action( 'admin_init', array( 'Jetpack_AMP_Support', 'admin_init' ), 1 );
-// this is necessary since for better or worse Jetpack modules and widget files are loaded during plugins_loaded, which means we must
-// take the opportunity to intercept initialisation before that point, either by adding explicit detection into the module,
-// or preventing it from loading in the first place (better for performance)
-add_action( 'plugins_loaded', array( 'Jetpack_AMP_Support', 'init_filter_jetpack_widgets' ), 1 );
diff --git a/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php b/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php
index c32d7e01..025f7c21 100644
--- a/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php
+++ b/plugins/jetpack/3rd-party/debug-bar/class.jetpack-search-debug-bar.php
@@ -152,7 +152,19 @@ class Jetpack_Search_Debug_Bar extends Debug_Bar_Panel {
public function render_json_toggle( $value ) {
?>
<div class="json-toggle-wrap">
- <pre class="json"><?php echo wp_json_encode( $value ); ?></pre>
+ <pre class="json"><?php
+ // esc_html() will not double-encode entities (&amp; -> &amp;amp;).
+ // If any entities are part of the JSON blob, we want to re-encoode them
+ // (double-encode them) so that they are displayed correctly in the debug
+ // bar.
+ // Use _wp_specialchars() "manually" to ensure entities are encoded correctly.
+ echo _wp_specialchars(
+ wp_json_encode( $value ),
+ ENT_NOQUOTES, // Don't need to encode quotes (output is for a text node).
+ 'UTF-8', // wp_json_encode() outputs UTF-8 (really just ASCII), not the blog's charset.
+ true // Do "double-encode" existing HTML entities
+ );
+ ?></pre>
<span class="pretty toggle"><?php echo esc_html_x( 'Pretty', 'label for formatting JSON', 'jetpack' ); ?></span>
<span class="ugly toggle"><?php echo esc_html_x( 'Minify', 'label for formatting JSON', 'jetpack' ); ?></span>
</div>
diff --git a/plugins/jetpack/_inc/blocks/block-manifest.json b/plugins/jetpack/_inc/blocks/block-manifest.json
deleted file mode 100644
index 6a8f5ec9..00000000
--- a/plugins/jetpack/_inc/blocks/block-manifest.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "blocks": [
- "contact-form",
- "map",
- "markdown",
- "publicize",
- "simple-payments"
- ],
- "betaBlocks": [
- "related-posts",
- "vr"
- ]
-} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.css b/plugins/jetpack/_inc/blocks/contact-info/view.css
new file mode 100644
index 00000000..df73d91a
--- /dev/null
+++ b/plugins/jetpack/_inc/blocks/contact-info/view.css
@@ -0,0 +1 @@
+.wp-block-jetpack-contact-info{margin-bottom:1.5em} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.js b/plugins/jetpack/_inc/blocks/contact-info/view.js
new file mode 100644
index 00000000..da674620
--- /dev/null
+++ b/plugins/jetpack/_inc/blocks/contact-info/view.js
@@ -0,0 +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=288)}({288:function(e,t,n){n(38),e.exports=n(289)},289:function(e,t,n){"use strict";n.r(t);n(72)},33:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},38:function(e,t,n){"use strict";n.r(t);n(33)},72:function(e,t,n){}})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.rtl.css b/plugins/jetpack/_inc/blocks/contact-info/view.rtl.css
new file mode 100644
index 00000000..df73d91a
--- /dev/null
+++ b/plugins/jetpack/_inc/blocks/contact-info/view.rtl.css
@@ -0,0 +1 @@
+.wp-block-jetpack-contact-info{margin-bottom:1.5em} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.css b/plugins/jetpack/_inc/blocks/editor-beta.css
index 56219051..6498f945 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.css
+++ b/plugins/jetpack/_inc/blocks/editor-beta.css
@@ -1 +1 @@
-.help-message{display:-ms-flexbox;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:#d94f4f}.help-message.help-message-is-error svg{fill:#d94f4f}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:6px}.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:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-ms-flex-positive:1;flex-grow:1}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0;margin-bottom:2px}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none}.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:-ms-flexbox;display:flex;-ms-flex-align:center;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;-ms-flex-positive:1;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{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px;padding-right:8px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-ms-flex-positive:1;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]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.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=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-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,.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::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.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=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]: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,.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::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder,.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::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder,.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;padding:7px 14px;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:a .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::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder,.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 a{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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) 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]{padding:0;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;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}.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,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.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:#aaa}.component__locations__panel{margin-bottom:1em}.component__locations__panel:empty{display:none}.component__locations__panel .components-panel__body,.component__locations__panel .components-panel__body:first-child,.component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.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}.component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.component__map-theme-picker__button:hover{transform:scale(1.1)}.component__map-theme-picker__button.is-selected{border-color:#000}.component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.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:#d3d3d3;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:.3em}.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-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 currentColor}.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}.publicize-jetpack-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{font-size:2em;margin-right:.2em}.jetpack-publicize-connection-label{-ms-flex:1;flex:1;margin-right:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-add-icon{font-family:Dashicons;font-size:2em;margin-right:.2em;color:#555d66}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:1em}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-ms-flexbox;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:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#d94f4f}.simple-payments__loading{animation:b 1.6s ease-in-out infinite}@keyframes b{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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-ms-flex:0 0 auto;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{-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;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}.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:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;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{-ms-flex:1 1 100%;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-related-posts.alignfull{padding:0 20px}.wp-block-jetpack-related-posts.aligncenter .wp-block-jetpack-related-posts__preview-post-link{text-align:center}.is-grid .wp-block-jetpack-related-posts__preview-items{display:-ms-flexbox;display:flex;margin:0 -10px}.is-grid .wp-block-jetpack-related-posts__preview-post{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-link{font-size:inherit}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-date{color:#6c7781}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-context{color:#6c7781;font-size:12px;margin:0}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-left:auto;margin-right:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around} \ No newline at end of file
+.wp-block-jetpack-business-hours{overflow:hidden}.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-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding: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 .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .required{color:#dc3232}.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}.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{padding:10px 18px}.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 iframe{border:0;left:0;height:100%;position:absolute;top:0;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 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:#ccc}.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:#eb0001;color:#fff}.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:#008a00;color:#fff}.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,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.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:#aaa}.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 #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;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:#d3d3d3;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-gutenberg-social-icon.is-google-plus{fill:#df4a32}.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}.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}.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:#eb0001;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 .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 .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;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 .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)}.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 .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 img{opacity:.3}.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%;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__media-placeholder-icon{height:20px;margin-right:1ch;width:20px}.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}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-left:auto;margin-right:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{justify-content:space-around} \ No newline at end of file
diff --git a/plugins/jetpack/_inc/blocks/editor-beta.js b/plugins/jetpack/_inc/blocks/editor-beta.js
index 0adfd723..977562cc 100644
--- a/plugins/jetpack/_inc/blocks/editor-beta.js
+++ b/plugins/jetpack/_inc/blocks/editor-beta.js
@@ -1,4 +1,4 @@
-!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){function t(t){for(var r,n,i=t[0],a=t[1],s=0,c=[];s<i.length;s++)n=i[s],o[n]&&c.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(l&&l(t);c.length;)c.shift()()}var r={},n={1:0},o={1:0};function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{2:1}[e]&&t.push(n[e]=new Promise(function(t,r){for(var n="rtl"===document.dir?({2:"map/mapbox-gl"}[e]||e)+".rtl.css":({2:"map/mapbox-gl"}[e]||e)+".css",o=i.p+n,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var c=(u=a[s]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===n||c===o))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var u;if((c=(u=l[s]).getAttribute("data-href"))===n||c===o)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 n=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,r(i)},p.href=o,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){n[e]=0}));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=a);var s,c=document.getElementsByTagName("head")[0],l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({2:"map/mapbox-gl"}[e]||e)+".js"}(e),s=function(t){l.onerror=l.onload=null,clearTimeout(u);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+n+": "+i+")");a.type=n,a.request=i,r[1](a)}o[e]=void 0}};var u=setTimeout(function(){s({type:"timeout",target:l})},12e4);l.onerror=l.onload=s,c.appendChild(l)}return Promise.all(t)},i.m=e,i.c=r,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var l=s;return i(i.s=221)}([function(e,t,r){"use strict";r.d(t,"a",function(){return s}),r.d(t,"b",function(){return c}),r.d(t,"c",function(){return l});var n=r(20),o=r.n(n),i=r(14),a=function(e){var t=o()(e);return t.push("jetpack"),t};function s(){return i.__.apply(void 0,o()(a(arguments)))}function c(){return i._n.apply(void 0,o()(a(arguments)))}function l(){return i._x.apply(void 0,o()(a(arguments)))}},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=wp.components},function(e,t){e.exports=wp.element},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},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,r){var n=r(23),o=r(1);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(50);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(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 a(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(58);var p=/[&<>"]/,d=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(38);t.lib={},t.lib.mdurl=r(59),t.lib.ucmicro=r(103),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(r){e[r]=t[r]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(r):e}(e,r)})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,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 g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t){e.exports=window.lodash},function(e,t){e.exports=wp.editor},function(e,t,r){var n;
+!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],s=0,c=[];s<a.length;s++)r=a[s],i[r]&&c.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);c.length;)c.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]&&{9:1,10:1}[e]&&t.push(r[e]=new Promise(function(t,n){for(var r="rtl"===document.dir?({9:"vendors~map/mapbox-gl",10:"vendors~swiper"}[e]||e)+".rtl.css":({9:"vendors~map/mapbox-gl",10:"vendors~swiper"}[e]||e)+".css",i=a.p+r,o=document.getElementsByTagName("link"),s=0;s<o.length;s++){var c=(u=o[s]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===r||c===i))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var u;if((c=(u=l[s]).getAttribute("data-href"))===r||c===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 s,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+""+({9:"vendors~map/mapbox-gl",10:"vendors~swiper"}[e]||e)+".js"}(e),s=function(t){c.onerror=c.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(){s({type:"timeout",target:c})},12e4);c.onerror=c.onload=s,document.head.appendChild(c)}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||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var l=s;return a(a.s=283)}([function(e,t){e.exports=wp.element},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var r=n(21),i=n.n(r),a=n(15),o=function(e){var t=i()(e);return t.push("jetpack"),t};function s(){return a.__.apply(void 0,i()(o(arguments)))}function c(){return a._n.apply(void 0,i()(o(arguments)))}function l(){return a._x.apply(void 0,i()(o(arguments)))}},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=window.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;
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
@@ -9,17 +9,17 @@
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
-!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.compose},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(11),o=r(15),i=r(34);function a(e,t){var r=Object(i.a)(),a=Object(n.get)(r,["available_blocks",e,"available"],!1);return!(r&&!a)&&Object(o.registerBlockType)("jetpack/".concat(e),t)}},function(e,t,r){var n=r(4);e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(0),o={name:"jetpack/map",title:Object(n.a)("Map"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.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-.5zM15 19l-6-2.11V5l6 2.11V19z"}),React.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),category:"jetpack",keywords:[Object(n.a)("map"),Object(n.a)("location")],description:Object(n.a)("Add an interactive map showing one or more locations."),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"}},mapStyleOptions:[{value:"default",label:Object(n.a)("Basic")},{value:"black_and_white",label:Object(n.a)("Black and white")},{value:"satellite",label:Object(n.a)("Satellite")},{value:"terrain",label:Object(n.a)("Terrain")}],validAlignments:["center","wide","full"],markerIcon:React.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},React.createElement("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},React.createElement("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),React.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,r){var n=r(47),o=r(48),i=r(49);e.exports=function(e){return n(e)||o(e)||i()}},function(e,t){e.exports=wp.data},function(e,t,r){"use strict";e.exports=r(78)},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t){e.exports=wp.keycodes},function(e,t){e.exports=wp.apiFetch},function(e,t,r){var n=r(67)(Object,"create");e.exports=n},function(e,t,r){var n=r(181);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(187);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){"use strict";r.r(t);var n=r(30),o=r.n(n),i=r(31),a=r.n(i),s=r(13),c=r.n(s),l=r(32),u=r.n(l);r(83);t.default=function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,i=void 0!==n&&n,s=a()(e,["children","isError"]),l=c()("help-message",{"help-message-is-error":i});return r&&React.createElement("div",o()({className:l},s),i&&React.createElement(u.a,{size:"24"}),React.createElement("span",null,r))}},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t,r){var n=r(82);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,i=e.onClick,a=(e.icon,e.className),s=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",a,!!function(e){return 0==e%18}(r)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",n({className:c,height:r,width:r,onClick:i},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 o=function(e){return e&&e.__esModule?e:{default:e}}(r(22));e.exports=t.default},function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/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(!n.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,r){"use strict";r.d(t,"a",function(){return s});var n=r(23),o=r.n(n),i=r(11),a=["Jetpack_Editor_Initial_State"];function s(){return Object(i.get)("object"===("undefined"==typeof window?"undefined":o()(window))?window:null,a,null)}},function(e,t,r){var n=r(154);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(51),o=r(52),i=r(53);e.exports=function(e,t){return n(e)||o(e,t)||i()}},function(e,t,r){"use strict";var n=r(36),o=r.n(n),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(0),k=r(11),_=r(2),C=r(3),E=(r(54),function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"handleClick",function(){(0,r.props.onClick)(g()(g()(r)))}),v()(g()(g()(r)),"getPoint",function(){var e=r.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),r}return h()(t,e),c()(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,r=e.point,n=e.mapboxgl,o=e.markerColor,i=this.handleClick,a=[r.coordinates.longitude,r.coordinates.latitude],s=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(a):(s.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(s).setLngLat(a).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),s.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="'+o+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(C.Component));E.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var x=E,w=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"closeClick",function(){r.props.unsetActiveMarker()}),r}return h()(t,e),c()(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(C.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,r=e.activeMarker;this.infowindow.setLngLat(r.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(C.Component);w.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var j=w;var A=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onMarkerClick",function(t){var r=e.props.onMarkerClick;e.setState({activeMarker:t}),r()}),v()(g()(g()(e)),"onMapClick",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"updateActiveMarker",function(t){var r=e.props.points,n=e.state.activeMarker.props.index,o=r.slice(0);Object(k.assign)(o[n],t),e.props.onSetPoints(o)}),v()(g()(g()(e)),"deleteActiveMarker",function(){var t=e.props.points,r=e.state.activeMarker.props.index,n=t.slice(0);n.splice(r,1),e.props.onSetPoints(n),e.setState({activeMarker:null})}),v()(g()(g()(e)),"sizeMap",function(){var t=e.state.map,r=e.mapRef.current,n=r.offsetWidth,o=.8*window.innerHeight,i=Math.min(.75*n,o);r.style.height=i+"px",t.resize(),e.setBoundsByMarkers()}),v()(g()(g()(e)),"setBoundsByMarkers",function(){var t=e.props,r=t.zoom,n=t.points,o=t.onSetZoom,i=e.state,a=i.map,s=i.activeMarker,c=i.mapboxgl,l=i.zoomControl,u=i.boundsSetProgrammatically;if(a&&n.length&&!s){var p=new c.LngLatBounds;if(n.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),n.length>1)return a.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void a.removeControl(l);if(a.setCenter(p.getCenter()),u){a.setZoom(12),o(12)}else a.setZoom(parseInt(r,10));a.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(g()(g()(e)),"scriptsLoaded",function(){var t=e.props,r=t.mapCenter,n=t.points;e.setState({loaded:!0}),n.length,e.initMap(r)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(C.createRef)(),e.debouncedSizeMap=Object(k.debounce)(e.sizeMap,250),e}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.points,n=t.admin,o=t.children,i=t.markerColor,a=this.state,s=a.map,c=a.activeMarker,l=a.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,f=Object(k.get)(c,"props.point")||{},h=f.title,m=f.caption,g=C.Children.map(o,function(e){if("AddPoint"===Object(k.get)(e,"props.tagName"))return e}),b=s&&l&&r.map(function(e,t){return React.createElement(x,{key:t,point:e,index:t,map:s,mapboxgl:l,markerColor:i,onClick:u})}),v=l&&React.createElement(j,{activeMarker:c,map:s,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&n&&React.createElement(C.Fragment,null,React.createElement(_.TextControl,{label:Object(y.a)("Marker Title"),value:h,onChange:function(e){return d({title:e})}}),React.createElement(_.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.a)("Marker Caption"),value:m,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),React.createElement(_.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},React.createElement(_.Dashicon,{icon:"trash",size:"15"})," ",Object(y.a)("Delete Marker"))),c&&!n&&React.createElement(C.Fragment,null,React.createElement("h3",null,h),React.createElement("p",null,m)));return React.createElement(C.Fragment,null,React.createElement("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},b),v,g)}},{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,r=t.apiKey,n=t.children,o=t.points,i=t.mapStyle,a=t.mapDetails,s=this.state.map;r&&r.length>0&&r!==e.apiKey&&this.loadMapLibraries(),n!==e.children&&!1!==n&&this.clearCurrentMarker(),o!==e.points&&this.setBoundsByMarkers(),o.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&a===e.mapDetails||s.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([r.e(2).then(r.t.bind(null,231,7)),r.e(2).then(r.t.bind(null,232,7))]).then(function(r){var n=o()(r,1)[0].default;n.accessToken=t,e.setState({mapboxgl:n},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,r=this.state.mapboxgl,n=this.props,o=n.zoom,i=n.onMapLoaded,a=n.onError,s=n.admin,c=null;try{c=new r.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(o,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}c.on("error",function(e){a("mapbox_error",e.error.message)});var l=new r.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",function(){t.props.onSetZoom(c.getZoom())}),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:l},function(){t.debouncedSizeMap(),c.addControl(l),s||c.addControl(new r.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.resize(),i(),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}(C.Component);A.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=A},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\u0AF0\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-\u2E49\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.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(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(66),o=r(160),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&n(e)==i}},function(e,t,r){var n=r(44).Symbol;e.exports=n},function(e,t,r){var n=r(157),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){e.exports=r(80)()},function(e,t,r){"use strict";r.r(t);var n=r(23);"object"===("undefined"==typeof window?"undefined":r.n(n)()(window))&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}},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){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";e.exports=r(98)},function(e,t,r){"use strict";e.exports.encode=r(99),e.exports.decode=r(100),e.exports.format=r(101),e.exports.parse=r(102)},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\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+n+"|"+o+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),r=0;r<o;r+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a=[],s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(n=s[t]).marker&&-1!==n.end&&(o=s[n.end],(i=e.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(r=(t=a.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:n.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=s[t]).marker&&42!==r.marker||-1!==r.end&&(n=s[r.end],a=t>0&&s[t-1].end===r.end+1&&s[t-1].token===r.token-1&&s[r.end+1].token===n.token+1&&s[t-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[r.end+1].token].content="",t--))}},function(e,t,r){var n=r(43),o=r(158),i=r(159),a="[object Null]",s="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?o(e):i(e)}},function(e,t,r){var n=r(168),o=r(173);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(70);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(43),o=r(191),i=r(41),a=r(42),s=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-s?"-0":r}},function(e,t,r){"use strict";e.exports=r(97)},function(e,t){e.exports=wp.editPost},function(e,t){e.exports=wp.plugins},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)})}}},function(e,t,r){e.exports=r.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,r){e.exports=r.p+"images/paypal-button@2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,r){var n=r(70),o=r(197),i=r(199),a=r(204),s=r(69),c=/\s+$/;e.exports=function(e,t,r){if((e=s(e))&&(r||void 0===t))return e.replace(c,"");if(!e||!(t=n(t)))return e;var l=a(e),u=i(l,a(t))+1;return o(l,0,u).join("")}},function(e,t,r){"use strict";
-/** @license React v16.6.1
+!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 s in r)n.call(r,s)&&r[s]&&e.push(s)}}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.compose},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.data},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 s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function m(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(58);t.lib={},t.lib.mdurl=n(81),t.lib.ucmicro=n(136),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(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,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 a});var r=n(16),i=n(39);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=Object(i.a)(e),o=a.available;a.unavailableReason;if(!o)return!1;var s=Object(r.registerBlockType)("jetpack/".concat(e),t);return n.forEach(function(e){return Object(r.registerBlockType)("jetpack/".concat(e.name),e.settings)}),s}},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){var r=n(67),i=n(68),a=n(69);e.exports=function(e){return r(e)||i(e)||a()}},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 s}),n.d(t,"d",function(){return c}),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,s="circle",c="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:s},{name:u},{name:c}]},function(e,t,n){var r=n(45),i=n(46),a=n(47);e.exports=function(e,t){return r(e)||i(e,t)||a()}},function(e,t){e.exports=wp.blob},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.a)("Map"),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.a)("map"),Object(i.a)("location")],description:Object(i.a)("Add an interactive map showing one or more locations."),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.a)("Basic")},{value:"black_and_white",label:Object(i.a)("Black and white")},{value:"satellite",label:Object(i.a)("Satellite")},{value:"terrain",label:Object(i.a)("Terrain")}],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){e.exports=wp.apiFetch},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){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 s});var r="after-visits",i="before-visits",a=3,o="jp-visit-counter",s=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(56),i=n(5),a=16/9,o=.8,s=600,c="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(c)?(e.el.classList.remove(c),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(c),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:s,c=Math.min(e.width/r,i),l="".concat(Math.floor(c),"px"),u="".concat(Math.floor(c/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,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)},s=2;var c=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 c(){o(a)}function l(){var e=Date.now();if(n){if(e-i<s)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return l}(this.refresh.bind(this),c)}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=j(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,s=f(r.width),c=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=b(r,"left","right")+a),Math.round(c+o)!==n&&(c-=b(r,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return j(i.left,i.top,s,c)}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 j(0,0,t.width,t.height)}(e):g(e):m}function j(e,t,n,r){return{x:e,y:t,width:n,height:r}}var O=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=j(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,s,c,l=(r=(n=t).x,i=n.y,a=n.width,o=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),h(c,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),c);h(this,{target:e,contentRect:l})}}(),_=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 O(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 _(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";var r=n(88),i=n(247);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,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\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(248);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("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var j=c.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var O=o.exec(y);if(O){var k=(O=O[0]).toLowerCase();this.protocol=k,y=y.substr(O.length)}if(n||O||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===y.substr(0,2);!_||O&&b[O]||(y=y.substr(2),this.slashes=!0)}if(!b[O]&&(_||O&&!g[O])){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 M=this.hostname.split(/\./),T=(x=0,M.length);x<T;x++){var z=M[x];if(z&&!z.match(d)){for(var D="",N=0,F=z.length;N<F;N++)z.charCodeAt(N)>127?D+="x":D+=z[N];if(!D.match(d)){var P=M.slice(0,x),R=M.slice(x+1),I=z.match(m);I&&(P.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,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,T=u.length;x<T;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){L=this.pathname||"";var G=this.search||"";this.path=L+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 s=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),s&&"?"!==s.charAt(0)&&(s="?"+s),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.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 s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var 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),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),O=j||y||n.host&&e.pathname,k=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&&(""===_[0]?_[0]=n.host:_.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),O=O&&(""===m[0]||""===_[0])),j)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,_=m;else if(m.length)_||(_=[]),_.pop(),_=_.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=_.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(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=_.slice(-1)[0],C=(n.host||e.host||_.length>1)&&("."===E||".."===E)||""===E,x=0,S=_.length;S>=0;S--)"."===(E=_[S])?_.splice(S,1):".."===E?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!O&&!k)for(;x--;x)_.unshift("..");!O||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),C&&"/"!==_.join("/").substr(-1)&&_.push("");var A,M=""===_[0]||_[0]&&"/"===_[0].charAt(0);w&&(n.hostname=n.host=M?"":_.length?_.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(O=O||n.host&&_.length)&&!M&&_.unshift(""),_.length?n.pathname=_.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=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},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 s=e[a](o),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).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 s(e){n(o,i,a,s,c,"next",e)}function c(e){n(o,i,a,s,c,"throw",e)}s(void 0)})}}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),a=n(7),o=n.n(a),s=n(11),c=n.n(s),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(12),g=n.n(b),v=n(14),y=n(2),j=n(6),O=n(5),k=n(1),_=window.getComputedStyle,w=Object(y.withFallbackStyles)(function(e,t){var n,r,i,a,o=t.textButtonColor,s=t.backgroundButtonColor,c=s&&s.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=_(r).backgroundColor),n&&(a=_(n).color),{fallbackBackgroundColor:c||i,fallbackTextColor:l||a}}),E=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return m()(t,e),c()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(O.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(O.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(O.get)(n,"class"),o=Object(O.get)(r,"class");return g()("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,s=t.customBackgroundButtonColor||n,c=t.customTextButtonColor||r,l={border:"none",backgroundColor:s,color:c},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(k.a)("Add text…"),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(k.a)("Button Color Settings"),colorSettings:[{value:s,onChange:function(e){a(e),i({customBackgroundButtonColor:e})},label:Object(k.a)("Background Color")},{value:c,onChange:function(e){o(e),i({customTextButtonColor:e})},label:Object(k.a)("Text Color")}]}),Object(f.createElement)(j.ContrastChecker,{textColor:c,backgroundColor:s})))}}]),t}(f.Component);t.a=Object(v.compose)([Object(j.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},,function(e,t,n){"use strict";var r=n(13),i=n.n(r),a=n(5),o=n(95),s="Jetpack_Editor_Initial_State";function c(e){var t=Object(a.get)("object"==typeof window?window:null,[s],null),n=Object(a.includes)(o.beta,e),r=Object(a.get)(t,["available_blocks",e,"available"],n),c=Object(a.get)(t,["available_blocks",e,"unavailable_reason"],"unknown");return i()({available:r},!r&&{unavailableReason:c})}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(40),o=n(53),s=(n(185),n(43)),c=Object(i.createSlotFill)("JetpackPluginSidebar"),l=c.Fill,u=c.Slot,p=function(e){var t=e.children;return Object(r.createElement)(l,null,t)};p.Slot=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)(s.a,null)},"Jetpack"),Object(r.createElement)(a.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(s.a,null)},e)):null})},Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(p.Slot,null)}}),t.a=p},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(53),i=n(39);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(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 s}),n.d(t,"a",function(){return c});var r=n(23),i=n.n(r),a=n(22);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 s(e,t){!function(e,t,n){var r=i()(t,2),s=r[0],c=r[1],d=1/s*(n-a.b*(e.childElementCount-1)-c);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),s=i.map(function(e){return(n-a.b*(e.childElementCount-1))*p(e)[0]}),c=o(s,r);i.forEach(function(e,t){var r=s[t],i=c[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),s=o[0],c=o[1];return[r+s,a+c]},[0,0])}(e),t)}function c(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,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(c){i=!0,a=c}finally{try{r||null==s.return||s.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,n){var r=n(91)(Object,"create");e.exports=r},function(e,t,n){var r=n(214);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(220);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},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,s=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",s,(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},c,{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(109),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t){e.exports=wp.plugins},function(e,t,n){var r=n(32),i=n(251),a=n(252),o=n(253)("photon");e.exports=function(e,t){var n=r.parse(e,!0,!0),c="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"),c&&(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[s[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 s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(23),i=n.n(r),a=n(36),o=n.n(a),s=n(5);n(93);function c(){return l.apply(this,arguments)}function l(){return(l=o()(regeneratorRuntime.mark(function e(){var t,r,a,o,c,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(s.mapValues)(a,function(e){return function(){e(this)}})},e.next=6,Promise.all([n.e(10).then(n.t.bind(null,279,7)),n.e(10).then(n.t.bind(null,280,7))]);case 6:return c=e.sent,l=i()(c,1),u=l[0].default,e.abrupt("return",new u(t,Object(s.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(23),i=n.n(r),a=n(7),o=n.n(a),s=n(11),c=n.n(s),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),j=n(1),O=n(5),k=n(2),_=(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),c()(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],s=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(s.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(s).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),s.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));_.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=_,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),c()(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(O.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,s=a.activeMarker,c=a.mapboxgl,l=a.zoomControl,u=a.boundsSetProgrammatically;if(o&&r.length&&!s){var p=new c.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(O.debounce)(e.sizeMap,250),e}return b()(t,e),c()(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,s=o.map,c=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,d=Object(O.get)(c,"props.point")||{},m=d.title,f=d.caption,b=y.Children.map(i,function(e){if("AddPoint"===Object(O.get)(e,"props.tagName"))return e}),g=s&&l&&n.map(function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:s,mapboxgl:l,markerColor:a,onClick:u})}),v=l&&Object(y.createElement)(C,{activeMarker:c,map:s,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.TextControl,{label:Object(j.a)("Marker Title"),value:m,onChange:function(e){return h({title:e})}}),Object(y.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(j.a)("Marker Caption"),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(j.a)("Delete Marker"))),c&&!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,s=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||s.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(9).then(n.t.bind(null,310,7)),n.e(9).then(n.t.bind(null,311,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,s=r.admin,c=null;try{c=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)}c.on("error",function(e){o("mapbox_error",e.error.message)});var l=new n.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",function(){t.props.onSetZoom(c.getZoom())}),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:l},function(){t.debouncedSizeMap(),c.addControl(l),s||c.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.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){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(90),i=n(193),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==a}},function(e,t,n){var r=n(64).Symbol;e.exports=r},function(e,t,n){var r=n(190),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t,n){e.exports=function(){"use strict";var e=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},t=m,n=s,r=function(e){return c(s(e))},i=c,a=d,o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function s(e){for(var t,n=[],r=0,i=0,a="";null!=(t=o.exec(e));){var s=t[0],c=t[1],l=t.index;if(a+=e.slice(i,l),i=l+s.length,c)a+=c[1];else{a&&(n.push(a),a="");var p=t[2],h=t[3],d=t[4],m=t[5],f=t[6],b=t[7],g="+"===f||"*"===f,v="?"===f||"*"===f,y=p||"/",j=d||m||(b?".*":"[^"+y+"]+?");n.push({name:h||r++,prefix:p||"",delimiter:y,optional:v,repeat:g,pattern:u(j)})}}return i<e.length&&(a+=e.substr(i)),a&&n.push(a),n}function c(t){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^"+t[r].pattern+"$"));return function(r){for(var i="",a=r||{},o=0;o<t.length;o++){var s=t[o];if("string"!=typeof s){var c,l=a[s.name];if(null==l){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to be defined')}if(e(l)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received "'+l+'"');if(0===l.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var u=0;u<l.length;u++){if(c=encodeURIComponent(l[u]),!n[o].test(c))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received "'+c+'"');i+=(0===u?s.prefix:s.delimiter)+c}}else{if(c=encodeURIComponent(l),!n[o].test(c))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+c+'"');i+=s.prefix+c}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function h(e){return e.sensitive?"":"i"}function d(e,t){for(var n=(t=t||{}).strict,r=!1!==t.end,i="",a=e[e.length-1],o="string"==typeof a&&/\/$/.test(a),s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var u=l(c.prefix),p=c.pattern;c.repeat&&(p+="(?:"+u+p+")*"),p=c.optional?u?"(?:"+u+"("+p+"))?":"("+p+")?":u+"("+p+")",i+=p}}return n||(i=(o?i.slice(0,-2):i)+"(?:\\/(?=$))?"),i+=r?"$":n&&o?"":"(?=\\/|$)",new RegExp("^"+i,h(t))}function m(t,n,r){return e(n=n||[])?r||(r={}):(r=n,n=[]),t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return p(e,t)}(t,n):e(t)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(m(e[i],t,n).source);return p(new RegExp("(?:"+r.join("|")+")",h(n)),t)}(t,n,r):function(e,t,n){for(var r=s(e),i=d(r,n),a=0;a<r.length;a++)"string"!=typeof r[a]&&t.push(r[a]);return p(i,t)}(t,n,r)}t.parse=n,t.compile=r,t.tokensToFunction=i,t.tokensToRegExp=a;var f,b="undefined"!=typeof document,g="undefined"!=typeof window,v="undefined"!=typeof history,y="undefined"!=typeof process,j=b&&document.ontouchstart?"touchstart":"click",O=g&&!(!window.history.location&&!window.location);function k(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function _(e,t){if("function"==typeof e)return _.call(this,"*",e);if("function"==typeof t)for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.callbacks.push(n.middleware(arguments[r]));else"string"==typeof e?this["string"==typeof t?"redirect":"show"](e,t):this.start(e)}function w(e,t,n){var r=this.page=n||_,i=r._window,a=r._hashbang,o=r._getBase();"/"===e[0]&&0!==e.indexOf(o)&&(e=o+(a?"#!":"")+e);var s=e.indexOf("?");this.canonicalPath=e;var c=new RegExp("^"+o.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1"));if(this.path=e.replace(c,"")||"/",a&&(this.path=this.path.replace("#!","")||"/"),this.title=b&&i.document.title,this.state=t||{},this.state.path=e,this.querystring=~s?r._decodeURLEncodedURIComponent(e.slice(s+1)):"",this.pathname=r._decodeURLEncodedURIComponent(~s?e.slice(0,s):e),this.params={},this.hash="",!a){if(!~this.path.indexOf("#"))return;var l=this.path.split("#");this.path=this.pathname=l[0],this.hash=r._decodeURLEncodedURIComponent(l[1])||"",this.querystring=this.querystring.split("#")[0]}}function E(e,n,r){this.page=r||C;var i=n||{};i.strict=i.strict||r._strict,this.path="*"===e?"(.*)":e,this.method="GET",this.regexp=t(this.path,this.keys=[],i)}k.prototype.configure=function(e){var t=e||{};this._window=t.window||g&&window,this._decodeURLComponents=!1!==t.decodeURLComponents,this._popstate=!1!==t.popstate&&g,this._click=!1!==t.click&&b,this._hashbang=!!t.hashbang;var n=this._window;this._popstate?n.addEventListener("popstate",this._onpopstate,!1):g&&n.removeEventListener("popstate",this._onpopstate,!1),this._click?n.document.addEventListener(j,this.clickHandler,!1):b&&n.document.removeEventListener(j,this.clickHandler,!1),this._hashbang&&g&&!v?n.addEventListener("hashchange",this._onpopstate,!1):g&&n.removeEventListener("hashchange",this._onpopstate,!1)},k.prototype.base=function(e){if(0===arguments.length)return this._base;this._base=e},k.prototype._getBase=function(){var e=this._base;if(e)return e;var t=g&&this._window&&this._window.location;return g&&this._hashbang&&t&&"file:"===t.protocol&&(e=t.pathname),e},k.prototype.strict=function(e){if(0===arguments.length)return this._strict;this._strict=e},k.prototype.start=function(e){var t=e||{};if(this.configure(t),!1!==t.dispatch){var n;if(this._running=!0,O){var r=this._window,i=r.location;n=this._hashbang&&~i.hash.indexOf("#!")?i.hash.substr(2)+i.search:this._hashbang?i.search+i.hash:i.pathname+i.search+i.hash}this.replace(n,null,!0,t.dispatch)}},k.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var e=this._window;this._click&&e.document.removeEventListener(j,this.clickHandler,!1),g&&e.removeEventListener("popstate",this._onpopstate,!1),g&&e.removeEventListener("hashchange",this._onpopstate,!1)}},k.prototype.show=function(e,t,n,r){var i=new w(e,t,this),a=this.prevContext;return this.prevContext=i,this.current=i.path,!1!==n&&this.dispatch(i,a),!1!==i.handled&&!1!==r&&i.pushState(),i},k.prototype.back=function(e,t){var n=this;if(this.len>0){var r=this._window;v&&r.history.back(),this.len--}else e?setTimeout(function(){n.show(e,t)}):setTimeout(function(){n.show(n._getBase(),t)})},k.prototype.redirect=function(e,t){var n=this;"string"==typeof e&&"string"==typeof t&&_.call(this,e,function(e){setTimeout(function(){n.replace(t)},0)}),"string"==typeof e&&void 0===t&&setTimeout(function(){n.replace(e)},0)},k.prototype.replace=function(e,t,n,r){var i=new w(e,t,this),a=this.prevContext;return this.prevContext=i,this.current=i.path,i.init=n,i.save(),!1!==r&&this.dispatch(i,a),i},k.prototype.dispatch=function(e,t){var n=0,r=0,i=this;function a(){var t=i.callbacks[n++];if(e.path===i.current)return t?void t(e,a):function(e){if(!e.handled){var t=this._window;(this._hashbang?O&&this._getBase()+t.location.hash.replace("#!",""):O&&t.location.pathname+t.location.search)!==e.canonicalPath&&(this.stop(),e.handled=!1,O&&(t.location.href=e.canonicalPath))}}.call(i,e);e.handled=!1}t?function e(){var n=i.exits[r++];if(!n)return a();n(t,e)}():a()},k.prototype.exit=function(e,t){if("function"==typeof e)return this.exit("*",e);for(var n=new E(e,null,this),r=1;r<arguments.length;++r)this.exits.push(n.middleware(arguments[r]))},k.prototype.clickHandler=function(e){if(1===this._which(e)&&!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented)){var t=e.target,n=e.path||(e.composedPath?e.composedPath():null);if(n)for(var r=0;r<n.length;r++)if(n[r].nodeName&&"A"===n[r].nodeName.toUpperCase()&&n[r].href){t=n[r];break}for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;if(t&&"A"===t.nodeName.toUpperCase()){var i="object"==typeof t.href&&"SVGAnimatedString"===t.href.constructor.name;if(!t.hasAttribute("download")&&"external"!==t.getAttribute("rel")){var a=t.getAttribute("href");if((this._hashbang||!this._samePath(t)||!t.hash&&"#"!==a)&&!(a&&a.indexOf("mailto:")>-1)&&(i?!t.target.baseVal:!t.target)&&(i||this.sameOrigin(t.href))){var o=i?t.href.baseVal:t.pathname+t.search+(t.hash||"");o="/"!==o[0]?"/"+o:o,y&&o.match(/^\/[a-zA-Z]:\//)&&(o=o.replace(/^\/[a-zA-Z]:\//,"/"));var s=o,c=this._getBase();0===o.indexOf(c)&&(o=o.substr(c.length)),this._hashbang&&(o=o.replace("#!","")),(!c||s!==o||O&&"file:"===this._window.location.protocol)&&(e.preventDefault(),this.show(s))}}}}},k.prototype._onpopstate=(f=!1,g?(b&&"complete"===document.readyState?f=!0:window.addEventListener("load",function(){setTimeout(function(){f=!0},0)}),function(e){if(f)if(e.state){var t=e.state.path;this.replace(t,e.state)}else if(O){var n=this._window.location;this.show(n.pathname+n.search+n.hash,void 0,void 0,!1)}}):function(){}),k.prototype._which=function(e){return null==(e=e||g&&this._window.event).which?e.button:e.which},k.prototype._toURL=function(e){var t=this._window;if("function"==typeof URL&&O)return new URL(e,t.location.toString());if(b){var n=t.document.createElement("a");return n.href=e,n}},k.prototype.sameOrigin=function(e){if(!e||!O)return!1;var t=this._toURL(e),n=this._window,r=n.location;return r.protocol===t.protocol&&r.hostname===t.hostname&&r.port===t.port},k.prototype._samePath=function(e){if(!O)return!1;var t=this._window,n=t.location;return e.pathname===n.pathname&&e.search===n.search},k.prototype._decodeURLEncodedURIComponent=function(e){return"string"!=typeof e?e:this._decodeURLComponents?decodeURIComponent(e.replace(/\+/g," ")):e},w.prototype.pushState=function(){var e=this.page,t=e._window,n=e._hashbang;e.len++,v&&t.history.pushState(this.state,this.title,n&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},w.prototype.save=function(){var e=this.page;v&&e._window.history.replaceState(this.state,this.title,e._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},E.prototype.middleware=function(e){var t=this;return function(n,r){if(t.match(n.path,n.params))return e(n,r);r()}},E.prototype.match=function(e,t){var n=this.keys,r=e.indexOf("?"),i=~r?e.slice(0,r):e,a=this.regexp.exec(decodeURIComponent(i));if(!a)return!1;for(var o=1,s=a.length;o<s;++o){var c=n[o-1],l=this.page._decodeURLEncodedURIComponent(a[o]);void 0===l&&hasOwnProperty.call(t,c.name)||(t[c.name]=l)}return!0};var C=function e(){var t=new k;function n(){return _.apply(t,arguments)}return n.callbacks=t.callbacks,n.exits=t.exits,n.base=t.base.bind(t),n.strict=t.strict.bind(t),n.start=t.start.bind(t),n.stop=t.stop.bind(t),n.show=t.show.bind(t),n.back=t.back.bind(t),n.redirect=t.redirect.bind(t),n.replace=t.replace.bind(t),n.dispatch=t.dispatch.bind(t),n.exit=t.exit.bind(t),n.configure=t.configure.bind(t),n.sameOrigin=t.sameOrigin.bind(t),n.clickHandler=t.clickHandler.bind(t),n.create=e,Object.defineProperty(n,"len",{get:function(){return t.len},set:function(e){t.len=e}}),Object.defineProperty(n,"current",{get:function(){return t.current},set:function(e){t.current=e}}),n.Context=w,n.Route=E,n}(),x=C,S=C;return x.default=S,x}()},function(e,t,n){"use strict";var r=n(228),i=n(229);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,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\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(230);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("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var j=c.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var O=o.exec(y);if(O){var k=(O=O[0]).toLowerCase();this.protocol=k,y=y.substr(O.length)}if(n||O||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===y.substr(0,2);!_||O&&b[O]||(y=y.substr(2),this.slashes=!0)}if(!b[O]&&(_||O&&!g[O])){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 M=this.hostname.split(/\./),T=(x=0,M.length);x<T;x++){var z=M[x];if(z&&!z.match(d)){for(var D="",N=0,F=z.length;N<F;N++)z.charCodeAt(N)>127?D+="x":D+=z[N];if(!D.match(d)){var P=M.slice(0,x),R=M.slice(x+1),I=z.match(m);I&&(P.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,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,T=u.length;x<T;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){L=this.pathname||"";var G=this.search||"";this.path=L+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 s=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),s&&"?"!==s.charAt(0)&&(s="?"+s),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.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 s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var 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),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),O=j||y||n.host&&e.pathname,k=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&&(""===_[0]?_[0]=n.host:_.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),O=O&&(""===m[0]||""===_[0])),j)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,_=m;else if(m.length)_||(_=[]),_.pop(),_=_.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=_.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(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=_.slice(-1)[0],C=(n.host||e.host||_.length>1)&&("."===E||".."===E)||""===E,x=0,S=_.length;S>=0;S--)"."===(E=_[S])?_.splice(S,1):".."===E?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!O&&!k)for(;x--;x)_.unshift("..");!O||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),C&&"/"!==_.join("/").substr(-1)&&_.push("");var A,M=""===_[0]||_[0]&&"/"===_[0].charAt(0);w&&(n.hostname=n.host=M?"":_.length?_.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(O=O||n.host&&_.length)&&!M&&_.unshift(""),_.length?n.pathname=_.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=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){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){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(131)},function(e,t,n){"use strict";e.exports.encode=n(132),e.exports.decode=n(133),e.exports.format=n(134),e.exports.parse=n(135)},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,s=e.src.charCodeAt(o);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(s),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:s,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=[],s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(r=s[t]).marker&&-1!==r.end&&(i=s[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,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=s[t]).marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],o=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[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[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},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,s=2147483647,c=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"},j=c-l,O=Math.floor,k=String.fromCharCode;function _(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?O(e/h):e>>1,e+=O(e/t);e>j*u>>1;r+=c)e=O(e/j);return O(r+(j+1)*e/(e+p))}function M(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],j=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&&_("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(a=k,o=1,p=c;i>=j&&_("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:c)>=c||h>O((s-k)/o))&&_("overflow"),k+=h*o,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=c)o>O(s/(g=c-b))&&_("overflow"),o*=g;E=A(k-a,t=y.length+1,0==a),O(k/t)>s-w&&_("overflow"),w+=O(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function T(e){var t,n,r,i,a,o,p,h,b,g,v,y,j,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=s,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>O((s-n)/(j=r+1))&&_("overflow"),n+=(p-t)*j,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>s&&_("overflow"),v==t){for(h=n,b=c;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=c)E=h-g,w=c-g,x.push(k(S(g+E%w,0))),h=O(E/w);x.push(k(S(h,0))),a=A(n,j,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:C,encode:x},decode:M,encode:T,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?M(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(89)(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){var r=n(63),i=n(191),a=n(192),o="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:o:c&&c in Object(e)?i(e):a(e)}},function(e,t,n){var r=n(201),i=n(206);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){},,function(e){e.exports={production:["business-hours","contact-form","contact-info","gif","mailchimp","map","markdown","publicize","related-posts","repeat-visitor","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],beta:["seo","vr"]}},function(e,t,n){"use strict";e.exports=n(130)},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],s=t(r);if(o)for(i=0;i<o.length;i++)(a=o[i](r,e))&&e.dispatch(a);return s}}}).effects=n,t}},function(e,t,n){var r=n(187);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},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){"use strict";e.exports=n(110)},function(e,t,n){"use strict";
+/** @license React v16.8.3
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var n=r(79),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k={};function _(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}function C(){}function E(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=_.prototype;var x=E.prototype=new C;x.constructor=E,n(x,_.prototype),x.isPureReactComponent=!0;var w={current:null,currentDispatcher:null},j=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n=void 0,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)j.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,D=[];function M(e,t,r,n){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function T(e,t,r){return null==e?0:function e(t,r,n,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return n(o,t,""===r?"."+z(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=r+z(s=t[l],l);c+=e(s,u,n,o)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=r+z(s,l++),n,o);else"object"===s&&v("31","[object Object]"==(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return c}(e,"",t,r)}function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,n,r,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function L(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),T(e,q,t=M(t,i,n,o)),P(t)}var N={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return L(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;T(e,F,t=M(null,null,t,r)),P(t)},count:function(e){return T(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return O(e)||v("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},Fragment:s,StrictMode:c,Suspense:h,createElement:S,cloneElement:function(e,t,r){(null===e||void 0===e)&&v("267",e);var o=void 0,a=n({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=w.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)j.call(t,o)&&!A.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=r;else if(1<o){u=Array(o);for(var p=0;p<o;p++)u[p]=arguments[p+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=S.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:n}};N.unstable_ConcurrentMode=d,N.unstable_Profiler=l;var I={default:N},B=I&&N||I;e.exports=B.default||B},function(e,t,r){"use strict";
+ */var r=n(111),i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,u=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,m=i?Symbol.for("react.suspense"):60113,f=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,a,o,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,o,s],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};function O(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}function k(){}function _(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||y}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=O.prototype;var w=_.prototype=new k;w.constructor=_,r(w,O.prototype),w.isPureReactComponent=!0;var E={current:null},C={current:null},x=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,n){var r=void 0,i={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:a,type:e,key:o,ref:s,props:i,_owner:C.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var T=/\/+/g,z=[];function D(e,t,n,r){if(z.length){var i=z.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>z.length&&z.push(e)}function F(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case a:case o:c=!0}}if(c)return r(i,t,""===n?"."+P(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+P(s=t[l],l);c+=e(s,u,r,i)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+P(s,l++),r,i);else"object"===s&&v("31","[object Object]"==(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,function(e){return e}):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,i){var a="";null!=n&&(a=(""+n).replace(T,"$&/")+"/"),F(e,I,t=D(t,a,r,i)),N(t)}function B(){var e=E.current;return null===e&&v("307"),e}var q={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;F(e,R,t=D(null,null,t,n)),N(t)},count:function(e){return F(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return M(e)||v("143"),e}},createRef:function(){return{current:null}},Component:O,PureComponent:_,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,n){return B().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,n){return B().useReducer(e,t,n)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:s,StrictMode:c,Suspense:m,createElement:A,cloneElement:function(e,t,n){null==e&&v("267",e);var i=void 0,o=r({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=C.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(i in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)x.call(t,i)&&!S.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))o.children=n;else if(1<i){u=Array(i);for(var p=0;p<i;p++)u[p]=arguments[p+2];o.children=u}return{$$typeof:a,type:e.type,key:s,ref:c,props:o,_owner:l}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.8.3",unstable_ConcurrentMode:h,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:C,assign:r}},V={default:q},H=V&&q||V;e.exports=H.default||H},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
-*/var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))o.call(r,l)&&(s[l]=r[l]);if(n){a=n(r);for(var u=0;u<a.length;u++)i.call(r,a[u])&&(s[a[u]]=r[a[u]])}}return s}},function(e,t,r){"use strict";var n=r(81);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";var n=r(10),o=r(105),i=r(109),a=r(110),s=r(118),c=r(132),l=r(145),u=r(59),p=r(147),d={default:r(149),zero:r(150),commonmark:r(151)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return n.assign(this.options,e),this},y.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=d[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&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},y.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);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 r=new this.core.State(e,this,t);return this.core.process(r),r.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 r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.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,r){"use strict";var n={};function o(e,t,r){var i,a,s,c,l,u="";for("string"!=typeof t&&(r=t,t=o.defaultChars),void 0===r&&(r=!0),l=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),r&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(s<128)u+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(c=e.charCodeAt(i+1))>=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t){var r;return"string"!=typeof t&&(t=o.defaultChars),r=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),o.push(r);for(t=0;t<e.length;t++)o[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,o,i,a,s,c,l="";for(t=0,n=e.length;t<n;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?l+=r[o]:192==(224&o)&&t+3<n&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(c=o<<6&1984|63&i)<128?"��":String.fromCharCode(c),t+=3):224==(240&o)&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(l+=(c=o<<12&61440|i<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&o)&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&a)&&128==(192&s))?((c=o<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||c>1114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="�";return l})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,r){"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,r){"use strict";function n(){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 o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),l=["%","/","?",";","#"].concat(c),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,i,s,c,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=o.exec(m);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,m=m.substr(b.length)),(t||b||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===m.substr(0,2))||b&&f[b]||(m=m.substr(2),this.slashes=!0)),!f[b]&&(c||b&&!h[b])){var v,y,k=-1;for(r=0;r<u.length;r++)-1!==(s=m.indexOf(u[r]))&&(-1===k||s<k)&&(k=s);for(-1!==(y=-1===k?m.lastIndexOf("@"):m.lastIndexOf("@",k))&&(v=m.slice(0,y),m=m.slice(y+1),this.auth=v),k=-1,r=0;r<l.length;r++)-1!==(s=m.indexOf(l[r]))&&(-1===k||s<k)&&(k=s);-1===k&&(k=m.length),":"===m[k-1]&&k--;var _=m.slice(0,k);m=m.slice(k),this.parseHost(_),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var E=this.hostname.split(/\./);for(r=0,n=E.length;r<n;r++){var x=E[r];if(x&&!x.match(p)){for(var w="",j=0,A=x.length;j<A;j++)x.charCodeAt(j)>127?w+="x":w+=x[j];if(!w.match(p)){var S=E.slice(0,r),O=E.slice(r+1),R=x.match(d);R&&(S.push(R[1]),O.unshift(R[2])),O.length&&(m=O.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf("#");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var M=m.indexOf("?");return-1!==M&&(this.search=m.substr(M),m=m.slice(0,M)),m&&(this.pathname=m),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=i.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 n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(60),t.Cc=r(61),t.Cf=r(104),t.P=r(38),t.Z=r(62)},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|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(106),t.parseLinkDestination=r(107),t.parseLinkTitle=r(108)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s}},function(e,t,r){"use strict";var n=r(10).isSpace,o=r(10).unescapeAll;e.exports=function(e,t,r){var i,a,s=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(i=e.charCodeAt(t))||n(i))return c;if(62===i)return c.pos=t+1,c.str=o(e.slice(s+1,t)),c.ok=!0,c;92===i&&t+1<r?t+=2:t++}return c}for(a=0;t<r&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<r)t+=2;else{if(40===i&&a++,41===i){if(0===a)break;a--}t++}return s===t?c:0!==a?c:(c.str=o(e.slice(s,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var n=r(10).unescapeAll;e.exports=function(e,t,r){var o,i,a=0,s=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t<r;){if((o=e.charCodeAt(t))===i)return c.pos=t+1,c.lines=a,c.str=n(e.slice(s+1,t)),c.ok=!0,c;10===o?a++:92===o&&t+1<r&&(t++,10===e.charCodeAt(t)&&a++),t++}return c}},function(e,t,r){"use strict";var n=r(10).assign,o=r(10).unescapeAll,i=r(10).escapeHtml,a={};function s(){this.rules=n({},a)}a.code_inline=function(e,t,r,n,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,r,n,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,r,n,a){var s,c,l,u,p=e[t],d=p.info?o(p.info).trim():"",f="";return d&&(f=d.split(/\s+/g)[0]),0===(s=r.highlight&&r.highlight(p.content,f)||i(p.content)).indexOf("<pre")?s+"\n":d?(c=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],c<0?l.push(["class",r.langPrefix+f]):l[c][1]+=" "+r.langPrefix+f,u={attrs:l},"<pre><code"+a.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return n},s.prototype.renderToken=function(e,t,r){var n,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&r.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden?i=!1:-1===n.nesting&&n.tag===a.tag&&(i=!1))),o+=i?">\n":">")},s.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[n=e[a].type]?o+=i[n](e,a,t,r,this):o+=this.renderToken(e,a,t);return o},s.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,i=e.length;o<i;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},s.prototype.render=function(e,t,r){var n,o,i,a="",s=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(i=e[n].type)?a+=this.renderInline(e[n].children,t,r):void 0!==s[i]?a+=s[e[n].type](e,n,t,r,this):a+=this.renderToken(e,n,t,r);return a},e.exports=s},function(e,t,r){"use strict";var n=r(39),o=[["normalize",r(111)],["block",r(112)],["inline",r(113)],["linkify",r(114)],["replacements",r(115)],["smartquotes",r(116)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},i.prototype.State=r(117),e.exports=i},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(o,"�"),e.src=t}},function(e,t,r){"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,r){"use strict";e.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(10).arrayReplaceAt;function o(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_=e.tokens;if(e.md.options.linkify)for(r=0,a=_.length;r<a;r++)if("inline"===_[r].type&&e.md.linkify.pretest(_[r].content))for(g=0,t=(s=_[r].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("html_inline"===l.type&&(o(l.content)&&g>0&&g--,i(l.content)&&g++),!(g>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,k=e.md.linkify.match(d),u=[],m=l.level,h=0,p=0;p<k.length;p++)b=k[p].url,v=e.md.normalizeLink(b),e.md.validateLink(v)&&(y=k[p].text,y=k[p].schema?"mailto:"!==k[p].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=k[p].index)>h&&((c=new e.Token("text","",0)).content=d.slice(h,f),c.level=m,u.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",v]],c.level=m++,c.markup="linkify",c.info="auto",u.push(c),(c=new e.Token("text","",0)).content=y,c.level=m,u.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",u.push(c),h=k[p].lastIndex);h<d.length&&((c=new e.Token("text","",0)).content=d.slice(h),c.level=m,u.push(c)),_[r].children=s=n(s,t,u)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function s(e,t){return a[t.toLowerCase()]}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(i,s)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function l(e){var t,r,o=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||o||n.test(r.content)&&(r.content=r.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"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}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)&&c(e.tokens[t].children),n.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(10).isWhiteSpace,o=r(10).isPunctChar,i=r(10).isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="’";function l(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var r,a,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w,j,A,S;for(j=[],r=0;r<e.length;r++){for(a=e[r],h=e[r].level,x=j.length-1;x>=0&&!(j[x].level<=h);x--);if(j.length=x+1,"text"===a.type){d=0,f=(u=a.content).length;e:for(;d<f&&(s.lastIndex=d,p=s.exec(u));){if(C=E=!0,d=p.index+1,w="'"===p[0],g=32,p.index-1>=0)g=u.charCodeAt(p.index-1);else for(x=r-1;x>=0&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x--)if("text"===e[x].type){g=e[x].content.charCodeAt(e[x].content.length-1);break}if(b=32,d<f)b=u.charCodeAt(d);else for(x=r+1;x<e.length&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x++)if("text"===e[x].type){b=e[x].content.charCodeAt(0);break}if(v=i(g)||o(String.fromCharCode(g)),y=i(b)||o(String.fromCharCode(b)),k=n(g),(_=n(b))?C=!1:y&&(k||v||(C=!1)),k?E=!1:v&&(_||y||(E=!1)),34===b&&'"'===p[0]&&g>=48&&g<=57&&(E=C=!1),C&&E&&(C=!1,E=y),C||E){if(E)for(x=j.length-1;x>=0&&(m=j[x],!(j[x].level<h));x--)if(m.single===w&&j[x].level===h){m=j[x],w?(A=t.md.options.quotes[2],S=t.md.options.quotes[3]):(A=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,p.index,S),e[m.token].content=l(e[m.token].content,m.pos,A),d+=S.length-1,m.token===r&&(d+=A.length-1),f=(u=a.content).length,j.length=x;continue e}C?j.push({token:r,pos:p.index,single:w,level:h}):E&&w&&(a.content=l(a.content,p.index,c))}else w&&(a.content=l(a.content,p.index,c))}}}}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&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(40);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(39),o=[["table",r(119),["paragraph","reference"]],["code",r(120)],["fence",r(121),["paragraph","reference","blockquote","list"]],["blockquote",r(122),["paragraph","reference","blockquote","list"]],["hr",r(123),["paragraph","reference","blockquote","list"]],["list",r(124),["paragraph","reference","blockquote"]],["reference",r(125)],["heading",r(126),["paragraph","reference","blockquote"]],["lheading",r(127)],["html_block",r(128),["paragraph","reference","blockquote"]],["paragraph",r(130)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,c=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<i&&!o[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=r(131),e.exports=i},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function i(e){var t,r=[],n=0,o=e.length,i=0,a=0,s=!1,c=0;for(t=e.charCodeAt(n);n<o;)96===t?s?(s=!1,c=n):i%2==0&&(s=!0,c=n):124!==t||i%2!=0||s||(r.push(e.substring(a,n)),a=n+1),92===t?i++:i=0,++n===o&&s&&(s=!1,n=c+1),t=e.charCodeAt(n);return r.push(e.substring(a)),r}e.exports=function(e,t,r,a){var s,c,l,u,p,d,f,h,m,g,b,v;if(t+2>r)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!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!n(s))return!1;l++}for(d=(c=o(e,t+1)).split("|"),m=[],u=0;u<d.length;u++){if(!(g=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(c=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(d=i(c.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=e.push("table_open","table",1)).map=b=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(h=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),(h=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<r&&!(e.sCount[p]<e.blkIndent)&&-1!==(c=o(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(c.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u<f;u++)h=e.push("td_open","td",1),m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u]?d[u].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),b[1]=v[1]=p,e.line=p,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,i,a,s,c,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>f)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if(c=d,(i=(d=e.skipChars(d,o))-c)<3)return!1;if(u=e.src.slice(c,d),(a=e.src.slice(d,f)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(s=t;!(++s>=r)&&!((d=c=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,o))-c<i||(d=e.skipSpaces(d))<f)){p=!0;break}return i=e.sCount[t],e.line=s+(p?1:0),(l=e.push("fence","code",0)).info=a,l.content=e.getLines(t+1,s,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w=e.lineMax,j=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(o)return!0;for(c=f=e.sCount[t]+j-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(j)?(j++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(j)?(k=!0,(e.bsCount[t]+f)%4==3?(j++,c++,f++,i=!1):i=!0):k=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<A&&(a=e.src.charCodeAt(j),n(a));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,j++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(k?1:0),u=j>=A,v=[e.sCount[t]],e.sCount[t]=f-c,y=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",x=!1,d=t+1;d<r&&(e.sCount[d]<e.blkIndent&&(x=!0),!((j=e.bMarks[d]+e.tShift[d])>=(A=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||x){if(u)break;for(_=!1,s=0,l=C.length;s<l;s++)if(C[s](e,d,r,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(c=f=e.sCount[d]+j-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(j)?(j++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(j)?(k=!0,(e.bsCount[d]+f)%4==3?(j++,c++,f++,i=!1):i=!0):k=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<A&&(a=e.src.charCodeAt(j),n(a));)9===a?f+=4-(f+e.bsCount[d]+(i?1:0))%4:f++,j++;u=j>=A,m.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(k?1:0),v.push(e.sCount[d]),e.sCount[d]=f-c,y.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(E=e.push("blockquote_open","blockquote",1)).markup=">",E.map=p=[t,0],e.md.block.tokenize(e,t,d),(E=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=w,e.parentType=b,p[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=y[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(a=1;l<u;){if((s=e.src.charCodeAt(l++))!==i&&!n(s))return!1;s===i&&a++}return!(a<3)&&(!!o||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(a+1).join(String.fromCharCode(i)),!0))}},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(r=e.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<i&&(a=e.src.charCodeAt(o),!n(a))?-1:o}function i(e,t){var r,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=a)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i<a&&(r=e.src.charCodeAt(i),!n(r))?-1:i}e.exports=function(e,t,r,n){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w,j,A,S,O,R,D,M,P,T=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(T=!0),(S=i(e,t))>=0){if(d=!0,R=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(R,S-R-1)),T&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;d=!1}if(T&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(S-1),n)return!0;for(g=e.tokens.length,d?(P=e.push("ordered_list_open","ol",1),1!==v&&(P.attrs=[["start",v]])):P=e.push("bullet_list_open","ul",1),P.map=m=[t,0],P.markup=String.fromCharCode(b),k=t,O=!1,M=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";k<r;){for(A=S,y=e.eMarks[k],p=_=e.sCount[k]+S-(e.bMarks[t]+e.tShift[t]);A<y;){if(9===(a=e.src.charCodeAt(A)))_+=4-(_+e.bsCount[k])%4;else{if(32!==a)break;_++}A++}if((u=(s=A)>=y?1:_-p)>4&&(u=1),l=p+u,(P=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),P.map=f=[t,0],C=e.blkIndent,j=e.tight,w=e.tShift[t],E=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=_,s>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!O||(z=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=w,e.sCount[t]=E,e.tight=j,(P=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),k=t=e.line,f[1]=k,s=e.bMarks[t],k>=r)break;if(e.sCount[k]<e.blkIndent)break;for(D=!1,c=0,h=M.length;c<h;c++)if(M[c](e,k,r,!0)){D=!0;break}if(D)break;if(d){if((S=i(e,k))<0)break}else if((S=o(e,k))<0)break;if(b!==e.src.charCodeAt(S-1))break}return(P=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),m[1]=k,e.line=k,e.parentType=x,z&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t,r,i){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C=0,E=e.bMarks[t]+e.tShift[t],x=e.eMarks[t],w=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E<x;)if(93===e.src.charCodeAt(E)&&92!==e.src.charCodeAt(E-1)){if(E+1===x)return!1;if(58!==e.src.charCodeAt(E+1))return!1;break}for(l=e.lineMax,k=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";w<l&&!e.isEmpty(w);w++)if(!(e.sCount[w]-e.blkIndent>3||e.sCount[w]<0)){for(y=!1,p=0,d=k.length;p<d;p++)if(k[p](e,w,l,!0)){y=!0;break}if(y)break}for(x=(v=e.getLines(t,w,e.blkIndent,!1).trim()).length,E=1;E<x;E++){if(91===(a=v.charCodeAt(E)))return!1;if(93===a){h=E;break}10===a?C++:92===a&&++E<x&&10===v.charCodeAt(E)&&C++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(E=h+2;E<x;E++)if(10===(a=v.charCodeAt(E)))C++;else if(!o(a))break;if(!(g=e.md.helpers.parseLinkDestination(v,E,x)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=E=g.pos,c=C+=g.lines,b=E;E<x;E++)if(10===(a=v.charCodeAt(E)))C++;else if(!o(a))break;for(g=e.md.helpers.parseLinkTitle(v,E,x),E<x&&b!==E&&g.ok?(_=g.str,E=g.pos,C+=g.lines):(_="",E=s,C=c);E<x&&(a=v.charCodeAt(E),o(a));)E++;if(E<x&&10!==v.charCodeAt(E)&&_)for(_="",E=s,C=c;E<x&&(a=v.charCodeAt(E),o(a));)E++;return!(E<x&&10!==v.charCodeAt(E))&&(!!(f=n(v.slice(1,h)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:_,href:u}),e.parentType=m,e.line=t+C+1,!0)))}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(a=1,i=e.src.charCodeAt(++l);35===i&&l<u&&a<=6;)a++,i=e.src.charCodeAt(++l);return!(a>6||l<u&&!n(i))&&(!!o||(u=e.skipSpacesBack(u,l),(s=e.skipCharsBack(u,35,l))>l&&n(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(c=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s,c,l,u,p,d,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";f<r&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,f,r,!0)){o=!0;break}if(o)break}}return!!u&&(n=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,r){"use strict";var n=r(129),o=r(63).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,a,s,c,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(c=e.src.slice(l,u),o=0;o<i.length&&!i[o][0].test(c);o++);if(o===i.length)return!1;if(n)return i[o][2];if(a=t+1,!i[o][1].test(c))for(;a<r&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],c=e.src.slice(l,u),i[o][1].test(c)){0!==c.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,r){"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,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o<i;o++)if(l[o](e,c,u,!0)){n=!0;break}if(n)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,r){"use strict";var n=r(40),o=r(10).isSpace;function i(e,t,r,n){var i,a,s,c,l,u,p,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,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="",d=!1,s=c=u=p=0,l=(a=this.src).length;c<l;c++){if(i=a.charCodeAt(c),!d){if(o(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&c!==l-1||(10!==i&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,r){var o=new n(e,t,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,a,s,c,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(a=0,p=c=this.bMarks[d],l=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];c<l&&a<r;){if(s=this.src.charCodeAt(c),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(c-p<this.tShift[d]))break;a++}c++}u[i]=a>r?new Array(a-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},function(e,t,r){"use strict";var n=r(39),o=[["text",r(133)],["newline",r(134)],["escape",r(135)],["backticks",r(136)],["strikethrough",r(64).tokenize],["emphasis",r(65).tokenize],["link",r(137)],["image",r(138)],["autolink",r(139)],["html_inline",r(140)],["entity",r(141)]],i=[["balance_pairs",r(142)],["strikethrough",r(64).postProcess],["emphasis",r(65).postProcess],["text_collapse",r(143)]];function a(){var e;for(this.ruler=new n,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new n,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<i&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},a.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,r,n){var o,i,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=r(144),e.exports=a},function(e,t,r){"use strict";function n(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 r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t){var r,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(r=e.pending.length-1,o=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-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)),i++;i<o&&n(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,r){"use strict";for(var n=r(10).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<a){if((r=e.src.charCodeAt(i))<256&&0!==o[r])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),i++;i<a&&(r=e.src.charCodeAt(i),n(r));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),i=a=c;-1!==(i=e.src.indexOf("`",a));){for(a=i+1;a<n&&96===e.src.charCodeAt(a);)a++;if(a-i===o.length)return t||((s=e.push("code_inline","code",0)).markup=o,s.content=e.src.slice(c,i).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f="",h=e.pos,m=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)<m&&40===e.src.charCodeAt(l)){for(b=!1,l++;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(l>=m)return!1;for(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f=""),g=l;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&g!==l&&u.ok)for(d=u.str,l=u.pos;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);else d="";(l>=m||41!==e.src.charCodeAt(l))&&(b=!0),l++}if(b){if(void 0===e.env.references)return!1;if(l<m&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(g,l++):l=s+1):l=s+1,a||(a=e.src.slice(c,s)),!(p=e.env.references[n(a)]))return e.pos=h,!1;f=p.href,d=p.title}return t||(e.pos=c,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",f]],d&&r.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f,h,m,g,b="",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,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=y)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&g!==u&&d.ok)for(f=d.str,u=d.pos;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);else f="";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)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=c+1):u=c+1,s||(s=e.src.slice(l,c)),!(p=e.env.references[n(s)]))return e.pos=v,!1;b=p.href,f=p.title}return t||(a=e.src.slice(l,c),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=r=[["src",b],["alt",""]],h.children=m,h.content=a,f&&r.push(["title",f])),e.pos=u,e.posMax=y,!0}},function(e,t,r){"use strict";var n=/^<([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])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,i,a,s,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((r=e.src.slice(u)).indexOf(">")<0)&&(o.test(r)?(s=(i=r.match(o))[0].slice(1,-1),c=e.md.normalizeLink(s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!n.test(r)&&(s=(a=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,r){"use strict";var n=r(63).HTML_TAG_RE;e.exports=function(e,t){var r,o,i,a=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=i)&&(!(33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(a).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var n=r(58),o=r(10).has,i=r(10).isValidEntityCode,a=r(10).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,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(s))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(r)?a(r):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(c))&&o(n,l[1]))return t||(e.pending+=n[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o,i=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((n=i[t]).close)for(r=t-n.jump-1;r>=0;){if((o=i[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=t-r,n.open=!1,o.end=t,o.jump=0;break}r-=o.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++)n+=o[t].nesting,o[t].level=n,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}},function(e,t,r){"use strict";var n=r(40),o=r(10).isWhiteSpace,i=r(10).isPunctChar,a=r(10).isMdAsciiPunct;function s(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,r){this.pending&&this.pushPending();var o=new n(e,t,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},s.prototype.scanDelims=function(e,t){var r,n,s,c,l,u,p,d,f,h=e,m=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,n=h<b?this.src.charCodeAt(h):32,p=a(r)||i(String.fromCharCode(r)),f=a(n)||i(String.fromCharCode(n)),u=o(r),(d=o(n))?m=!1:f&&(u||p||(m=!1)),u?g=!1:p&&(d||f||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||f)),{can_open:c,can_close:l,length:s}},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.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=r(146)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(l),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var c=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,function(e){return"[object Object]"===o(e)}(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:u(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?u(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?u(t,r):c.push(t)}}),c.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(a).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 d(e,t){var r=new function(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);t||function(e){return Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},f.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s,c;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(d(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(d(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(60).source,t.src_Cc=r(61).source,t.src_Z=r(62).source,t.src_P=r(38).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,r){(function(e){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,l=1,u=26,p=38,d=700,f=72,h=128,m="-",g=/^xn--/,b=/[^\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"},k=c-l,_=Math.floor,C=String.fromCharCode;function E(e){throw RangeError(y[e])}function x(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function w(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+x((e=e.replace(v,".")).split("."),t).join(".")}function j(e){for(var t,r,n=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function A(e){return x(e,function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,r){var n=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>k*u>>1;n+=c)e=_(e/k);return _(n+(k+1)*e/(e+p))}function D(e){var t,r,n,o,i,a,p,d,g,b,v=[],y=e.length,k=0,C=h,x=f;for((r=e.lastIndexOf(m))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&E("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=k,a=1,p=c;o>=y&&E("invalid-input"),((d=S(e.charCodeAt(o++)))>=c||d>_((s-k)/a))&&E("overflow"),k+=d*a,!(d<(g=p<=x?l:p>=x+u?u:p-x));p+=c)a>_(s/(b=c-g))&&E("overflow"),a*=b;x=R(k-i,t=v.length+1,0==i),_(k/t)>s-C&&E("overflow"),C+=_(k/t),k%=t,v.splice(k++,0,C)}return A(v)}function M(e){var t,r,n,o,i,a,p,d,g,b,v,y,k,x,w,A=[];for(y=(e=j(e)).length,t=h,r=0,i=f,a=0;a<y;++a)(v=e[a])<128&&A.push(C(v));for(n=o=A.length,o&&A.push(m);n<y;){for(p=s,a=0;a<y;++a)(v=e[a])>=t&&v<p&&(p=v);for(p-t>_((s-r)/(k=n+1))&&E("overflow"),r+=(p-t)*k,t=p,a=0;a<y;++a)if((v=e[a])<t&&++r>s&&E("overflow"),v==t){for(d=r,g=c;!(d<(b=g<=i?l:g>=i+u?u:g-i));g+=c)w=d-b,x=c-b,A.push(C(O(b+w%x,0))),d=_(w/x);A.push(C(O(d,0))),i=R(r,k,n==o),r=0,++n}++r,++t}return A.join("")}a={version:"1.3.2",ucs2:{decode:j,encode:A},decode:D,encode:M,toASCII:function(e){return w(e,function(e){return b.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return w(e,function(e){return g.test(e)?D(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(148)(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,r){"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,r){"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,r){"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,r){},,function(e,t,r){var n=r(155),o=r(192);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t,r){var n=r(41),o=r(156),i=r(161),a=r(69);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,r){var n=r(41),o=r(42),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){var r="object"==typeof window&&window&&window.Object===Object&&window;e.exports=r},function(e,t,r){var n=r(43),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(162)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=i},function(e,t,r){var n=r(163),o=500;e.exports=function(e){var t=n(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(164),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},function(e,t,r){var n=r(165),o=r(186),i=r(188),a=r(189),s=r(190);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(166),o=r(178),i=r(185);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(167),o=r(174),i=r(175),a=r(176),s=r(177);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(169),o=r(170),i=r(68),a=r(172),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},function(e,t,r){var n=r(66),o=r(68),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==a||t==s||t==i||t==c}},function(e,t,r){var n=r(171),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(44)["__core-js_shared__"];e.exports=n},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t,r){var n=r(179),o=r(180),i=r(182),a=r(183),s=r(184);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(27),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(27);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(67)(r(44),"Map");e.exports=n},function(e,t,r){var n=r(28);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(28);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(42),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){var n=r(198);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t,r){var n=r(200);e.exports=function(e,t){for(var r=e.length;r--&&n(t,e[r],0)>-1;);return r}},function(e,t,r){var n=r(201),o=r(202),i=r(203);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(205),o=r(206),i=r(207);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return r.test(e)}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+o+")"+"?",l="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),u="(?:"+[i+n+"?",n,a,s,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n=r(18),o=r.n(n),i=r(15),a=r(3),s=r(12),c=(r(85),r(6)),l=r.n(c),u=r(5),p=r.n(u),d=r(7),f=r.n(d),h=r(8),m=r.n(h),g=r(9),b=r.n(g),v=r(1),y=r.n(v),k=r(13),_=r.n(k),C=r(2),E=r(14),x=r(33),w=r.n(x),j=r(16),A=r(0),S=function(e){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e)},O=r(29),R=["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"],D=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeSubject=r.onChangeSubject.bind(y()(y()(r))),r.onBlurTo=r.onBlurTo.bind(y()(y()(r))),r.onChangeTo=r.onChangeTo.bind(y()(y()(r))),r.onChangeSubmit=r.onChangeSubmit.bind(y()(y()(r))),r.onFormSettingsSet=r.onFormSettingsSet.bind(y()(y()(r))),r.getToValidationError=r.getToValidationError.bind(y()(y()(r))),r.renderToAndSubjectFields=r.renderToAndSubjectFields.bind(y()(y()(r))),r.preventEnterSubmittion=r.preventEnterSubmittion.bind(y()(y()(r))),r.hasEmailError=r.hasEmailError.bind(y()(y()(r)));var a=(o[0].attributes.to?o[0].attributes.to:"").split(",").map(r.getToValidationError).filter(Boolean);return r.state={toError:a&&a.length?a:null},r}return b()(t,e),p()(t,[{key:"getIntroMessage",value:function(){return Object(A.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(A.a)("You can enter multiple email addresses separated by commas.")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!w.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({submit_button_text:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({has_form_settings_set:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(E.sprintf)(Object(A.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(E.sprintf)(Object(A.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(E.sprintf)(Object(A.a)("%s are not a valid email address."),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,r=t.instanceId,n=t.attributes,o=n.subject,i=n.to;return React.createElement(a.Fragment,null,React.createElement(C.TextControl,{"aria-describedby":"contact-form-".concat(r,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(A.a)("Email address"),placeholder:Object(A.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),React.createElement(O.default,{isError:!0,id:"contact-form-".concat(r,"-email-error")},this.getfieldEmailError(e)),React.createElement(O.default,{id:"contact-form-".concat(r,"-email-help")},this.getEmailHelpMessage()),React.createElement(C.TextControl,{label:Object(A.a)("Email subject line"),value:o,placeholder:Object(A.a)("Let's work together"),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,r=e.attributes,n=r.has_form_settings_set,o=r.submit_button_text,i=_()(t,"jetpack-contact-form",{"has-intro":!n});return React.createElement(a.Fragment,null,React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Email feedback settings")},this.renderToAndSubjectFields())),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Button settings")},React.createElement(C.TextControl,{label:Object(A.a)("Submit button label"),value:o,placeholder:Object(A.a)("Submit"),onChange:this.onChangeSubmit}))),React.createElement("div",{className:i},!n&&React.createElement(C.Placeholder,{label:Object(A.a)("Form"),icon:S(React.createElement("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"}))},React.createElement("form",{onSubmit:this.onFormSettingsSet},React.createElement("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),React.createElement("p",{className:"jetpack-contact-form__intro-message"},Object(A.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),React.createElement("div",{className:"jetpack-contact-form__create"},React.createElement(C.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(A.a)("Add form"))))),n&&React.createElement(s.InnerBlocks,{allowedBlocks:R,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&React.createElement("div",{className:"button button-primary button-default jetpack-submit-button"},o||Object(A.a)("Submit"))))}}]),t}(a.Component),M=Object(j.compose)([j.withInstanceId])(D),P=function(e){var t=e.setAttributes,r=e.label,n=e.resetFocus,o=e.isSelected,i=e.required;return React.createElement("div",{className:"jetpack-field-label"},React.createElement(s.PlainText,{value:r,className:"jetpack-field-label__input",onChange:function(e){n&&n(),t({label:e})},placeholder:Object(A.a)("Write label…")}),o&&React.createElement(C.ToggleControl,{label:Object(A.a)("Required"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&React.createElement("span",{className:"required"},Object(A.a)("(required)")))};var T=function(e){var t=e.isSelected,r=e.type,n=e.required,o=e.label,i=e.setAttributes,c=e.defaultValue,l=e.placeholder,u=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:_()("jetpack-field",{"is-selected":t})},React.createElement(C.TextControl,{type:r,label:React.createElement(P,{required:n,label:o,setAttributes:i,isSelected:t}),placeholder:l,value:l,onChange:function(e){return i({placeholder:e})},title:Object(A.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("Default Value"),value:c,onChange:function(e){return i({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))};var z=function(e){var t=e.required,r=e.label,n=e.setAttributes,o=e.isSelected,i=e.defaultValue,c=e.placeholder,l=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:"jetpack-field"},React.createElement(C.TextareaControl,{label:React.createElement(P,{required:t,label:r,setAttributes:n,isSelected:o}),placeholder:c,value:c,onChange:function(e){return n({placeholder:e})},title:Object(A.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("Default Value"),value:i,onChange:function(e){return n({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:l,onChange:function(e){return n({id:e})}}))))},F=Object(j.withInstanceId)(function(e){var t=e.instanceId,r=e.required,n=e.label,o=e.setAttributes,i=e.isSelected,c=e.defaultValue,l=e.id;return React.createElement(C.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:React.createElement(a.Fragment,null,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:c}),React.createElement(P,{required:r,label:n,setAttributes:o,isSelected:i}),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.ToggleControl,{label:Object(A.a)("Default Checked State"),checked:c,onChange:function(e){return o({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:l,onChange:function(e){return o({id:e})}}))))})}),q=r(23),L=r.n(q),N=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.onKeyPress=r.onKeyPress.bind(y()(y()(r))),r.onDeleteOption=r.onDeleteOption.bind(y()(y()(r))),r.textInput=Object(a.createRef)(),r}return b()(t,e),p()(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,r=e.option,n=e.type;return React.createElement("li",{className:"jetpack-option"},n&&"select"!==n&&React.createElement("input",{className:"jetpack-option__type",type:n,disabled:!0}),React.createElement("input",{type:"text",className:"jetpack-option__input",value:r,placeholder:Object(A.a)("Write option…"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&React.createElement(C.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(A.a)("Remove option"),onClick:this.onDeleteOption}))}}]),t}(a.Component),I=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.addNewOption=r.addNewOption.bind(y()(y()(r))),r.state={inFocus:null},r}return b()(t,e),p()(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,r=this.props.options.slice(0);null===t?(r.splice(e,1),e>0&&this.setState({inFocus:e-1})):(r.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:r})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),r=0;"object"===L()(e)?(t.push(""),r=t.length-1):(t.splice(e+1,0,""),r=e+1),this.setState({inFocus:r}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,r=t.type,n=t.instanceId,o=t.required,i=t.label,c=t.setAttributes,l=t.isSelected,u=t.id,p=this.props.options,d=this.state.inFocus;return p.length||(p=[""],d=0),React.createElement(a.Fragment,null,React.createElement(C.BaseControl,{id:"jetpack-field-multiple-".concat(n),className:"jetpack-field jetpack-field-multiple",label:React.createElement(P,{required:o,label:i,setAttributes:c,isSelected:l,resetFocus:function(){return e.setState({inFocus:null})}})},React.createElement("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(n)},p.map(function(t,n){return React.createElement(N,{type:r,key:n,option:t,index:n,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:n===d&&l,isSelected:l})})),l&&React.createElement(C.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(A.a)("Insert option"),onClick:this.addNewOption},Object(A.a)("Add option"))),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:u,onChange:function(e){return c({id:e})}}))))}}]),t}(a.Component),B=Object(j.withInstanceId)(I),V=r(17);Object(V.a)("contact-form",{title:Object(A.a)("Form"),description:Object(A.a)("A simple way to get feedback from folks visiting your site."),icon:S(React.createElement("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(A.a)("email"),Object(A.a)("feedback"),Object(A.a)("contact")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(A.a)("Submit")},has_form_settings_set:{type:"string",default:null}},edit:M,save:s.InnerBlocks.Content});var H={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(i.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.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(i.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(i.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},U=function(e){var t=e.attributes,r=e.name;return null===t.label?Object(i.getBlockType)(r).title:t.label},$=function(e){return function(t){return React.createElement(T,{type:e,label:U(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},Z=function(e){return function(t){return React.createElement(B,{label:U(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}};Object(V.a)("field-text",o()({},H,{title:Object(A.a)("Text"),description:Object(A.a)("When you need just a small amount of text, add a text input."),icon:S(React.createElement("path",{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:$("text")})),Object(V.a)("field-name",o()({},H,{title:Object(A.a)("Name"),description:Object(A.a)("Introductions are important. Add an input for folks to add their name."),icon:S(React.createElement("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:$("text")})),Object(V.a)("field-email",o()({},H,{title:Object(A.a)("Email"),keywords:[Object(A.a)("e-mail"),Object(A.a)("mail"),"email"],description:Object(A.a)("Want to reply to folks? Add an email address input."),icon:S(React.createElement("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:$("email")})),Object(V.a)("field-url",o()({},H,{title:Object(A.a)("Website"),keywords:["url",Object(A.a)("internet page"),"link"],description:Object(A.a)("Add an address input for a website."),icon:S(React.createElement("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:$("url")})),Object(V.a)("field-date",o()({},H,{title:Object(A.a)("Date Picker"),keywords:[Object(A.a)("Calendar"),Object(A.a)("day month year","block search term")],description:Object(A.a)("The best way to set a date. Add a date picker."),icon:S(React.createElement("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:$("text")})),Object(V.a)("field-telephone",o()({},H,{title:Object(A.a)("Telephone"),keywords:[Object(A.a)("Phone"),Object(A.a)("Cellular phone"),Object(A.a)("Mobile")],description:Object(A.a)("Add a phone number input."),icon:S(React.createElement("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:$("tel")})),Object(V.a)("field-textarea",o()({},H,{title:Object(A.a)("Message"),keywords:[Object(A.a)("Textarea"),"textarea",Object(A.a)("Multiline text")],description:Object(A.a)("Let folks speak their mind. This text box is great for longer responses."),icon:S(React.createElement("path",{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return React.createElement(z,{label:U(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})),Object(V.a)("field-checkbox",o()({},H,{title:Object(A.a)("Checkbox"),keywords:[Object(A.a)("Confirm"),Object(A.a)("Accept")],description:Object(A.a)("Add a single checkbox."),icon:S(React.createElement("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 React.createElement(F,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:o()({},H.attributes,{label:{type:"string",default:""}})})),Object(V.a)("field-checkbox-multiple",o()({},H,{title:Object(A.a)("Checkbox group"),keywords:[Object(A.a)("Choose Multiple"),Object(A.a)("Option")],description:Object(A.a)("People love options. Add several checkbox items."),icon:S(React.createElement("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:Z("checkbox"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose several"}})})),Object(V.a)("field-radio",o()({},H,{title:Object(A.a)("Radio"),keywords:[Object(A.a)("Choose"),Object(A.a)("Select"),Object(A.a)("Option")],description:Object(A.a)("Inpsired by radios, only one radio item can be selected at a time. Add several radio button items."),icon:S(React.createElement(a.Fragment,null,React.createElement("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"}),React.createElement("circle",{cx:"12",cy:"12",r:"5"}))),edit:Z("radio"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose one"}})})),Object(V.a)("field-select",o()({},H,{title:Object(A.a)("Select"),keywords:[Object(A.a)("Choose"),Object(A.a)("Dropdown"),Object(A.a)("Option")],description:Object(A.a)("Compact, but powerful. Add a select box with several items."),icon:S(React.createElement("path",{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:Z("select"),attributes:o()({},H.attributes,{label:{type:"string",default:"Select one"}})}))},function(e,t,r){"use strict";r.r(t);var n=r(15),o=r(19),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(25),k=r.n(y),_=r(0),C=r(3),E=r(2),x=r(12),w=r(20),j=r.n(w),A=r(13),S=r.n(A),O=r(11),R=r(24),D=r(14),M=r(16);function P(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=[],n=0;n<e.length;n++){var o=e[n],i=o.keywords,a=void 0===i?[]:i;if("string"==typeof o.label&&(a=j()(a).concat([o.label])),r.push(o),r.length===t)break}return r}var T=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(g()(g()(e)),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(g()(g()(e)),"onChange",function(t){var r=e.props.completer,n=e.state.options;if(t){r&&(r.isDebounced?e.debouncedLoadOptions(r,t):e.loadOptions(r,t));var o=r?P(n):[];r&&e.setState({selectedIndex:0,filteredOptions:o,query:t})}else e.reset()}),v()(g()(g()(e)),"onKeyDown",function(t){var r=e.state,n=r.isOpen,o=r.selectedIndex,i=r.filteredOptions;if(n){var a;switch(t.keyCode){case R.UP:a=(0===o?i.length:o)-1,e.setState({selectedIndex:a});break;case R.DOWN:a=(o+1)%i.length,e.setState({selectedIndex:a});break;case R.ENTER:e.select(i[o]);break;case R.LEFT:case R.RIGHT:case R.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(O.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return h()(t,e),c()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),c()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var r=this,n=e.options,o=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then(function(t){var n;if(o===r.activePromise){var i=t.map(function(t,r){return{key:"".concat(r),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),a=P(i),s=a.length===r.state.filteredOptions.length?r.state.selectedIndex:0;r.setState((n={},v()(n,"options",i),v()(n,"filteredOptions",a),v()(n,"selectedIndex",s),v()(n,"isOpen",a.length>0),n)),r.announce(a)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(D.sprintf)(Object(_.b)("%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"),e.length),"assertive"):t(Object(_.a)("No results."),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,r=this.onKeyDown,n=this.props,o=n.children,i=n.instanceId,a=n.completer,s=this.state,c=s.selectedIndex,l=s.filteredOptions,u=(l[c]||{}).key,p=void 0===u?"":u,d=a.className,f=l.length>0,h=f?"components-autocomplete-listbox-".concat(i):null,m=f?"components-autocomplete-item-".concat(i,"-").concat(p):null;return React.createElement("div",{className:"components-autocomplete"},o({isExpanded:f,listBoxId:h,activeId:m,onChange:t,onKeyDown:r}),f&&React.createElement(E.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},React.createElement("div",{id:h,role:"listbox",className:"components-autocomplete__results"},Object(O.map)(l,function(t,r){return React.createElement(E.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":r===c,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":r===c}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(C.Component),z=Object(M.compose)([E.withSpokenMessages,M.withInstanceId,E.withFocusOutside])(T),F=Object(_.a)("Add a marker..."),q=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"getOptionCompletion",function(t){var r=t.value,n={placeTitle:r.text,title:r.text,caption:r.place_name,id:r.id,coordinates:{longitude:r.geometry.coordinates[0],latitude:r.geometry.coordinates[1]}};return e.props.onAddPoint(n),r.text}),v()(g()(g()(e)),"search",function(t){var r=e.props,n=r.apiKey,o=r.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+n;return new Promise(function(e,t){var r=new XMLHttpRequest;r.open("GET",i),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n.features)}else{var i=JSON.parse(r.responseText);o(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},r.send()})}),v()(g()(g()(e)),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(C.createRef)(),e.containerRef=Object(C.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return React.createElement("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return h()(t,e),c()(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 React.createElement("div",{ref:this.containerRef},React.createElement(E.BaseControl,{label:t,className:"components-location-search"},React.createElement(z,{completer:this.autocompleter,onReset:this.onReset},function(t){var r=t.isExpanded,n=t.listBoxId,o=t.activeId,i=t.onChange,a=t.onKeyDown;return React.createElement(E.TextControl,{placeholder:F,ref:e.textRef,onChange:i,"aria-expanded":r,"aria-owns":n,"aria-activedescendant":o,onKeyDown:a})})))}}]),t}(C.Component);q.defaultProps={onError:function(){}};var L=q,N=(r(87),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,r=e.onAddPoint,n=e.onError,o=e.apiKey;return React.createElement(E.Button,{className:"component__add-point"},Object(_.a)("Add marker"),React.createElement(E.Popover,{className:"component__add-point__popover"},React.createElement(E.Button,{className:"component__add-point__close",onClick:t},React.createElement(E.Dashicon,{icon:"no"})),React.createElement(L,{onAddPoint:r,label:Object(_.a)("Add a location"),apiKey:o,onError:n})))}}]),t}(C.Component));N.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var I=N,B=(r(89),function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onDeletePoint",function(t){var r=parseInt(t.target.getAttribute("data-id")),n=e.props,o=n.points,i=n.onChange,a=o.slice(0);a.splice(r,1),i(a)}),e.state={selectedCell:null},e}return h()(t,e),c()(t,[{key:"setMarkerField",value:function(e,t,r){var n=this.props,o=n.points,i=n.onChange,a=o.slice(0);a[r][e]=t,i(a)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,r){return React.createElement(E.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},React.createElement(E.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,r)}}),React.createElement(E.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,r)}}),React.createElement(E.Button,{"data-id":r,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},React.createElement(E.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return React.createElement("div",{className:"component__locations"},React.createElement(E.Panel,{className:"component__locations__panel"},t))}}]),t}(C.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var V=B,H=r(37),U=(r(91),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.options,r=e.value,n=e.onChange,o=e.label,i=t.map(function(e,t){var o=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===r?"is-selected":"");return React.createElement(E.Button,{className:o,title:e.label,key:t,onClick:function(){return n(e.value)}},e.label)});return React.createElement("div",{className:"component__map-theme-picker components-base-control"},React.createElement("label",{className:"components-base-control__label"},o),React.createElement(E.ButtonGroup,null,i))}}]),t}(C.Component));U.defaultProps={label:"",options:[],value:null,onChange:function(){}};var $=U,Z=0,K=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"addPoint",function(t){var r=e.props,n=r.attributes,o=r.setAttributes,i=n.points,a=i.slice(0),s=!1;i.map(function(e){e.id===t.id&&(s=!0)}),s||(a.push(t),o({points:a}),e.setState({addPointVisibility:!1}))}),v()(g()(g()(e)),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(g()(g()(e)),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(g()(g()(e)),"updateAPIKey",function(){var t=e.props.noticeOperations,r=e.state.apiKeyControl;t.removeAllNotices(),r&&e.apiCall(r,"POST")}),v()(g()(g()(e)),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(g()(g()(e)),"onError",function(t,r){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(r)}),e.state={addPointVisibility:!1,apiState:Z},e.mapRef=Object(C.createRef)(),e}return h()(t,e),c()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=this.props.noticeOperations,o=this.state.apiKey,i="/jetpack/v4/service-api-keys/mapbox",a=t?{path:i,method:r,data:{service_api_key:t}}:{path:i,method:r};this.setState({apiRequestOutstanding:!0},function(){k()(a).then(function(t){n.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:o})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.setAttributes,i=t.attributes,a=t.noticeUI,s=t.notices,c=i.mapStyle,l=i.mapDetails,u=i.points,p=i.zoom,d=i.mapCenter,f=i.markerColor,h=i.align,m=this.state,g=m.addPointVisibility,b=m.apiKey,v=m.apiKeyControl,y=m.apiState,k=m.apiRequestOutstanding,w=React.createElement(C.Fragment,null,React.createElement(x.BlockControls,null,React.createElement(x.BlockAlignmentToolbar,{value:h,onChange:this.updateAlignment,controls:["center","wide","full"]}),React.createElement(E.Toolbar,null,React.createElement(E.IconButton,{icon:o.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),React.createElement(x.InspectorControls,null,React.createElement(E.PanelBody,{title:Object(_.a)("Map Theme")},React.createElement($,{value:c,onChange:function(e){return n({mapStyle:e})},options:o.a.mapStyleOptions}),React.createElement(E.ToggleControl,{label:Object(_.a)("Show street names"),checked:l,onChange:function(e){return n({mapDetails:e})}})),React.createElement(x.PanelColorSettings,{title:Object(_.a)("Colors"),initialOpen:!0,colorSettings:[{value:f,onChange:function(e){return n({markerColor:e})},label:"Marker Color"}]}),u.length?React.createElement(E.PanelBody,{title:Object(_.a)("Markers"),initialOpen:!1},React.createElement(V,{points:u,onChange:function(e){n({points:e})}})):null,React.createElement(E.PanelBody,{title:Object(_.a)("Mapbox Access Token"),initialOpen:!1},React.createElement(E.TextControl,{label:Object(_.a)("Mapbox Access Token"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),React.createElement(E.ButtonGroup,null,React.createElement(E.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(_.a)("Update Token")),React.createElement(E.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(_.a)("Remove Token")))))),j=React.createElement(E.Placeholder,{icon:o.a.icon},React.createElement(E.Spinner,null)),A=React.createElement(E.Placeholder,{icon:o.a.icon,label:Object(_.a)("Map"),notices:s},React.createElement(C.Fragment,null,React.createElement("div",{className:"components-placeholder__instructions"},React.createElement("p",null,Object(_.a)("To use the map block, you need an Access Token.")),React.createElement("p",null,React.createElement(E.ExternalLink,{href:"https://www.mapbox.com"},Object(_.a)("Create an account or log in to Mapbox."))),React.createElement("p",null,Object(_.a)("Locate and copy the default access token. Then, paste it into the field below."))),React.createElement(E.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:k,placeholder:Object(_.a)("Paste Token Here"),value:v,onChange:this.updateAPIKeyControl}),React.createElement(E.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:k||!v||v.length<1,onClick:this.updateAPIKey},Object(_.a)("Set Token")))),S=React.createElement(C.Fragment,null,w,React.createElement("div",{className:r},React.createElement(H.a,{ref:this.mapRef,mapStyle:c,mapDetails:l,points:u,zoom:p,mapCenter:d,markerColor:f,onSetZoom:function(e){n({zoom:e})},admin:!0,apiKey:b,onSetPoints:function(e){return n({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},g&&React.createElement(I,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:b,onError:this.onError,tagName:"AddPoint"}))));return React.createElement(C.Fragment,null,a,y===Z&&j,1===y&&A,2===y&&S)}}]),t}(C.Component),G=Object(E.withNotices)(K),W=function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,r=e.mapStyle,n=e.mapDetails,o=e.points,i=e.zoom,a=e.mapCenter,s=e.markerColor,c=o.map(function(e,t){var r=e.coordinates,n=r.longitude,o="https://www.google.com/maps/search/?api=1&query="+r.latitude+","+n;return React.createElement("li",{key:t},React.createElement("a",{href:o},e.title))}),l=t?"align".concat(t):null;return React.createElement("div",{className:l,"data-map-style":r,"data-map-details":n,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(a),"data-marker-color":s},o.length>0&&React.createElement("ul",null,c))}}]),t}(C.Component);r(56),r(93);Object(n.registerBlockType)(o.a.name,{title:o.a.title,icon:o.a.icon,category:o.a.category,keywords:o.a.keywords,description:o.a.description,attributes:o.a.attributes,getEditWrapperProps:function(e){var t=e.align;if(-1!==o.a.validAlignments.indexOf(t))return{"data-align":t}},edit:G,save:W})},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=r(74),a=r.n(i),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(13),C=r.n(_),E=r(33),x=r.n(E),w=r(16),j=r(21),A=r(11),S=r(14),O=r(30),R=r.n(O),D=r(31),M=r.n(D),P=r(32),T=r.n(P),z=(r(193),function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,o=void 0!==n&&n,i=M()(e,["children","isError"]),a=C()("simple-payments__help-message",{"simple-payments__help-message-is-error":o});return r&&React.createElement("div",R()({className:a},i),o&&React.createElement(T.a,{size:"24"}),React.createElement("span",null,r))}),F=r(0),q=(r(195),r(75)),L=r.n(q),N=r(76),I=r.n(N),B=function(e){var t=e.title,r=void 0===t?"":t,n=e.content,o=void 0===n?"":n,i=e.formattedPrice,a=void 0===i?"":i,s=e.multiple,c=void 0!==s&&s;return React.createElement("div",{className:"jetpack-simple-payments-wrapper"},React.createElement("div",{className:"jetpack-simple-payments-product"},React.createElement("div",{className:"jetpack-simple-payments-details"},r&&React.createElement("div",{className:"jetpack-simple-payments-title"},React.createElement("p",null,r)),o&&React.createElement("div",{className:"jetpack-simple-payments-description"},React.createElement("p",null,o)),a&&React.createElement("div",{className:"jetpack-simple-payments-price"},React.createElement("p",null,a)),React.createElement("div",{className:"jetpack-simple-payments-purchase-box"},c&&React.createElement("div",{className:"jetpack-simple-payments-items"},React.createElement("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),React.createElement("div",{className:"jetpack-simple-payments-button"},React.createElement("img",{alt:Object(F.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(I.a," 2x")}))))))},V=r(77),H=r.n(V),U={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 $(e){return U[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var Z=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],K=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},G=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=$(t),o=n.precision,i=n.symbol,a=e.toFixed(o);return r?"".concat(a," ").concat(H()(i,".")):a},W=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(v()(r)),"shouldInjectPaymentAttributes",!!r.props.attributes.productId),k()(v()(v()(r)),"validateAttributes",function(){var e=r.validatePrice(),t=r.validateTitle(),n=r.validateEmail(),o=r.validateCurrency();return e&&t&&n&&o}),k()(v()(v()(r)),"validateCurrency",function(){var e=r.props.attributes.currency;return Z.includes(e)}),k()(v()(v()(r)),"validatePrice",function(){var e=r.props.attributes,t=e.currency,n=e.price,o=$(t).precision;return n&&0!==parseFloat(n)?Number.isNaN(parseFloat(n))?(r.setState({fieldPriceError:Object(F.a)("Invalid price")}),!1):parseFloat(n)<0?(r.setState({fieldPriceError:Object(F.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):K(n)>o?0===o?(r.setState({fieldPriceError:Object(F.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(r.setState({fieldPriceError:Object(S.sprintf)(Object(F.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",o),o)}),!1):(r.state.fieldPriceError&&r.setState({fieldPriceError:null}),!0):(r.setState({fieldPriceError:Object(F.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),k()(v()(v()(r)),"validateEmail",function(){var e=r.props.attributes.email;return e?x.a.validate(e)?(r.state.fieldEmailError&&r.setState({fieldEmailError:null}),!0):(r.setState({fieldEmailError:Object(S.sprintf)(Object(F.a)("%s is not a valid email address."),e)}),!1):(r.setState({fieldEmailError:Object(F.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),k()(v()(v()(r)),"validateTitle",function(){return r.props.attributes.title?(r.state.fieldTitleError&&r.setState({fieldTitleError:null}),!0):(r.setState({fieldTitleError:Object(F.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),k()(v()(v()(r)),"handleEmailChange",function(e){r.props.setAttributes({email:e}),r.setState({fieldEmailError:null})}),k()(v()(v()(r)),"handleContentChange",function(e){r.props.setAttributes({content:e})}),k()(v()(v()(r)),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?r.props.setAttributes({price:void 0}):r.props.setAttributes({price:e}),r.setState({fieldPriceError:null})}),k()(v()(v()(r)),"handleCurrencyChange",function(e){r.props.setAttributes({currency:e})}),k()(v()(v()(r)),"handleMultipleChange",function(e){r.props.setAttributes({multiple:!!e})}),k()(v()(v()(r)),"handleTitleChange",function(e){r.props.setAttributes({title:e}),r.setState({fieldTitleError:null})}),k()(v()(v()(r)),"getCurrencyList",Z.map(function(e){var t=$(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}})),r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,r=e.hasPublishAction;!t.productId&&r&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.hasPublishAction,n=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&r&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.simplePayment,o=t.content,i=t.currency,a=t.email,s=t.multiple,c=t.price,l=t.productId,u=t.title;l&&n&&(r({content:Object(A.get)(n,["content","raw"],o),currency:Object(A.get)(n,["meta","spay_currency"],i),email:Object(A.get)(n,["meta","spay_email"],a),multiple:Boolean(Object(A.get)(n,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(n,["meta","spay_price"],c||void 0),title:Object(A.get)(n,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes)}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,r=e.currency,n=e.email,o=e.multiple,i=e.price,a=e.productId,s=e.title;return{id:a,content:t,featured_media:0,meta:{spay_currency:r,spay_email:n,spay_multiple:o,spay_price:i},status:a?"publish":"draft",title:s}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,r=t.attributes,n=t.setAttributes,o=r.email,i=Object(j.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},a()(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i("postType","jp_pay_product",e.toApi()).then(function(e){return e&&n({productId:e.id}),e}).catch(function(t){if(t&&t.data){var r=t.data.key;e.setState({fieldEmailError:"spay_email"===r?Object(S.sprintf)(Object(F.a)("%s is not a valid email address."),o):null,fieldPriceError:"spay_price"===r?Object(F.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})});case 1:case"end":return t.stop()}},t,this)})))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,r=e.fieldPriceError,o=e.fieldTitleError,i=this.props,a=i.attributes,s=i.instanceId,c=i.isSelected,l=i.simplePayment,u=a.content,p=a.currency,d=a.email,f=a.multiple,h=a.price,m=a.productId,g=a.title,b=m&&!l;if(!c&&b)return React.createElement("div",{className:"simple-payments__loading"},React.createElement(B,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!c&&d&&h&&g&&!t&&!r&&!o)return React.createElement(B,{"aria-busy":"false",content:u,formattedPrice:G(h,p),multiple:f,title:g});var v=b?n.Disabled:"div";return React.createElement(v,{className:"wp-block-jetpack-simple-payments"},React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-title-error"),className:C()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":o}),label:Object(F.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(F.a)("Item name"),required:!0,type:"text",value:g}),React.createElement(z,{id:"".concat(s,"-title-error"),isError:!0},o),React.createElement(n.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(F.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(F.a)("Describe your item in a few words"),value:u}),React.createElement("div",{className:"simple-payments__price-container"},React.createElement(n.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(F.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:p}),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-price-error"),className:C()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":r}),label:Object(F.a)("Price"),onChange:this.handlePriceChange,placeholder:G(0,p,!1),required:!0,step:"1",type:"number",value:h||""}),React.createElement(z,{id:"".concat(s,"-price-error"),isError:!0},r)),React.createElement("div",{className:"simple-payments__field-multiple"},React.createElement(n.ToggleControl,{checked:Boolean(f),label:Object(F.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-email-").concat(t?"error":"help"),className:C()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(F.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(F.a)("Email"),required:!0,type:"email",value:d}),React.createElement(z,{id:"".concat(s,"-email-error"),isError:!0},t),React.createElement(z,{id:"".concat(s,"-email-help")},Object(F.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",React.createElement(n.ExternalLink,{href:"https://www.paypal.com/"},Object(F.a)("Create one on PayPal"))))}}]),t}(o.Component),J=Object(j.withSelect)(function(e,t){var r=e("core").getEntityRecord,n=e("core/editor"),o=n.isSavingPost,i=n.getCurrentPost,a=t.attributes.productId,s=a?Object(A.pick)(r("postType","jp_pay_product",a),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"]]):void 0;return{hasPublishAction:!!Object(A.get)(i(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:s}}),Y=Object(w.compose)(J,w.withInstanceId)(W);var Q=r(17);r(208);r.d(t,"name",function(){return X}),r.d(t,"settings",function(){return ee});var X="simple-payments",ee={title:Object(F.a)("Simple Payments button"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(F.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),React.createElement(n.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(F.a)("Support reference"))),icon:React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(n.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(F.c)("shop","block search term"),Object(F.c)("sell","block search term"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},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 r=parseInt(t,10);return r||void 0}}}}}]},edit:Y,save:function(e){var t=e.attributes.productId;return t?React.createElement(o.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1}};Object(Q.a)(X,ee)},function(e,t,r){"use strict";r.r(t);r(152);var n=r(16),o=r(72),i=r(12),a=r(21),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(25),C=r.n(_),E=r(3),x=r(0),w=function(e){function t(e){var r;return c()(this,t),r=d()(this,h()(t).call(this,e)),k()(v()(v()(r)),"connectionTestComplete",function(e){var t=e.data.filter(function(e){return!e.test_success});r.setState({failedConnections:t,isLoading:!1})}),k()(v()(v()(r)),"connectionTestRequestFailed",function(){r.setState({isLoading:!1})}),k()(v()(v()(r)),"connectionTestStart",function(){C()({path:"/wpcom/v2/publicize/connection-test-results"}).then(function(){return r.connectionTestComplete}).catch(function(){return r.connectionTestRequestFailed})}),k()(v()(v()(r)),"refreshConnectionClick",function(e){var t=e.target,n=t.href,o=t.title;e.preventDefault();var i=window.open(n,o,"");window.setInterval(function(){!1!==i.closed&&r.connectionTestStart()},500)}),r.state={failedConnections:{},isLoading:!1},r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.connectionTestStart()}},{key:"render",value:function(){var e=this,t=this.state.failedConnections;return t.length>0?React.createElement("div",{className:"below-h2 error publicize-token-refresh-message"},React.createElement("p",{key:"error-title"},Object(x.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.filter(function(e){return e.userCanRefresh}).map(function(t){return React.createElement("a",{className:"pub-refresh-button button",title:t.refreshText,href:t.refreshURL,target:"_refresh_"+t.serviceName,onClick:e.refreshConnectionClick,key:t.connectionID},t.refreshText)})):null}}]),t}(E.Component),j=r(18),A=r.n(j),S=r(35),O=r.n(S),R=r(13),D=r.n(R),M=r(14),P=r(2),T=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"onConnectionChange",function(){var e=r.props.id;r.props.toggleConnection(e)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.disabled,r=e.enabled,n=e.id,o=e.label,i=e.name,a="connection-"+i+"-"+n,s=i.replace("_","-"),c=React.createElement(P.FormToggle,{id:a,className:"jetpack-publicize-connection-toggle",checked:r,onChange:this.onConnectionChange});return t&&(c=React.createElement(P.Disabled,null,c)),React.createElement("li",null,React.createElement("div",{className:"publicize-jetpack-connection-container"},React.createElement("label",{htmlFor:a,className:"jetpack-publicize-connection-label"},React.createElement("span",{className:"jetpack-publicize-gutenberg-social-icon social-logo social-logo__"+s}),React.createElement("span",null,o)),c))}}]),t}(E.Component),z=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"settingsClick",function(e){var t=r.props.refreshCallback;e.preventDefault();var n=window.open("options-general.php?page=sharing&publicize_popup=true","",""),o=window.setInterval(function(){!1!==n.closed&&(window.clearInterval(o),t())},500)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=D()("jetpack-publicize-add-connection-container",this.props.className);return React.createElement("div",{className:e},React.createElement("a",{onClick:this.settingsClick,tabIndex:"0"},React.createElement("span",{className:"jetpack-publicize-add-icon dashicons-plus-alt"}),Object(x.a)("Connect new service")))}}]),t}(E.Component),F=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{hasEditedShareMessage:!1}),k()(v()(v()(r)),"onMessageChange",function(e){var t=r.props.messageChange;r.setState({hasEditedShareMessage:!0}),t(e)}),r}return g()(t,e),u()(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,r=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:r}},{key:"render",value:function(){var e=this.props,t=e.connections,r=e.toggleConnection,n=e.refreshCallback,o=this.getShareMessage(),i=256-o.length,a=D()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":i<=0});return React.createElement("div",{id:"publicize-form"},React.createElement("ul",null,t.map(function(e){var t=e.display_name,n=e.enabled,o=e.id,i=e.service_name,a=e.toggleable;return React.createElement(T,{disabled:!a,enabled:n,key:o,id:o,label:t,name:i,toggleConnection:r})})),React.createElement(z,{refreshCallback:n}),React.createElement("label",{className:"jetpack-publicize-message-note",htmlFor:"wpas-title"},Object(x.a)("Customize your message")),React.createElement("div",{className:"jetpack-publicize-message-box"},React.createElement("textarea",{value:o,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(x.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),React.createElement("div",{className:a},Object(M.sprintf)(Object(x.b)("%d character remaining","%d characters remaining",i),i))))}}]),t}(E.Component),q=Object(n.compose)([Object(a.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),r=e("core/editor").getEditedPostAttribute("title"),n=O()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:r.substr(0,256),shareMessage:n.substr(0,256)}}),Object(a.withDispatch)(function(e,t){var r=t.connections;return{toggleConnection:function(t){var n=r.map(function(e){return A()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:n})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(F),L=Object(n.compose)([Object(a.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(a.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,r=e.refreshConnections;return React.createElement(i.PostTypeSupportCheck,{supportKeys:"publicize"},React.createElement(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:React.createElement("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(x.a)("Share this post"))},React.createElement("div",null,Object(x.a)("Connect and select social media services to share this post.")),t&&t.length>0&&React.createElement(q,{refreshCallback:r}),t&&0===t.length&&React.createElement(z,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:r}),t&&t.length>0&&React.createElement(w,null)))}),N=r(73),I=r(34);r.d(t,"name",function(){return B}),r.d(t,"settings",function(){return V});var B="publicize",V={render:function(){return React.createElement(L,null)}};!function(e,t){var r=Object(I.a)(),n=O()(r,["available_blocks",e,"available"],!1);!(r&&!n)&&Object(N.registerPlugin)("jetpack-".concat(e),t)}(B,V)},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=(r(95),r(6)),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(12),k=r(16),_=r(21),C=r(71),E=r.n(C),x=r(0),w=new E.a,j=function(e){"A"===e.target.nodeName&&(window.confirm(Object(x.a)("Are you sure you wish to leave this page?"))||e.preventDefault())},A=function(e){var t=e.className,r=e.source,n=void 0===r?"":r;return React.createElement(o.RawHTML,{className:t,onClick:j},n.length?w.render(n):"")},S="editor",O=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"input",null),v()(g()(g()(r)),"state",{activePanel:S}),v()(g()(g()(r)),"bindInput",function(e){r.input=e}),v()(g()(g()(r)),"updateSource",function(e){return r.props.setAttributes({source:e})}),v()(g()(g()(r)),"handleKeyDown",function(e){var t=r.props,n=t.attributes,o=t.removeBlock,i=n.source;8===e.keyCode&&""===i&&(o(),e.preventDefault())}),v()(g()(g()(r)),"toggleMode",function(e){return function(){return r.setState({activePanel:e})}}),r}return h()(t,e),c()(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 r=this.state.activePanel;return React.createElement("button",{className:"components-tab-button ".concat(r===e?"is-active":""),onClick:this.toggleMode(e)},React.createElement("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,o=t.source,i=this.state.activePanel;return!n&&this.isEmpty()?React.createElement("p",{className:"".concat(r,"__placeholder")},Object(x.a)("Write your _Markdown_ **here**...")):React.createElement("div",{className:r},React.createElement(y.BlockControls,null,React.createElement("div",{className:"components-toolbar"},this.renderToolbarButton(S,Object(x.a)("Markdown")),this.renderToolbarButton("preview",Object(x.a)("Preview")))),"preview"!==i&&n?React.createElement(y.PlainText,{className:"".concat(r,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(x.a)("Markdown"),innerRef:this.bindInput,value:o}):React.createElement(A,{className:"".concat(r,"__preview"),source:o}))}}]),t}(o.Component),R=Object(k.compose)([Object(_.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(_.withDispatch)(function(e,t){var r=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(r)}}})])(O),D=r(17);r.d(t,"name",function(){return M}),r.d(t,"settings",function(){return P});var M="markdown",P={title:Object(x.a)("Markdown"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(x.a)("Use regular characters and punctuation to style text, links, and lists.")),React.createElement(n.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(x.a)("Support reference"))),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},React.createElement("rect",{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),React.createElement("path",{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(x.a)("formatting"),Object(x.a)("syntax"),Object(x.a)("markup")],attributes:{source:{type:"string"}},edit:R,save:function(e){var t=e.attributes,r=e.className;return React.createElement(A,{className:r,source:t.source})}};Object(D.a)(M,P)},function(e,t,r){"use strict";r.r(t);var n=r(20),o=r.n(n),i=r(15),a=r(22),s=r.n(a),c=r(45),l=r.n(c),u=r(13),p=r.n(u),d=s.a.createElement("g",null,s.a.createElement("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"}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),f=function(e){var t=e.full,r=void 0!==t&&t,n=e.size,o=void 0===n?32:n,i=e.className,a=p()("jetpack-logo",i);return!0===r?s.a.createElement("svg",{height:o,className:a,viewBox:"0 0 118 32"},s.a.createElement("title",null,"Jetpack"),d,s.a.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===o?s.a.createElement("svg",{className:a,height:"24",width:"24",viewBox:"0 0 24 24"},s.a.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):s.a.createElement("svg",{className:a,height:o,width:o,viewBox:"0 0 32 32"},d)};f.propTypes={full:l.a.bool,size:l.a.number};var h=f;Object(i.setCategories)([{slug:"jetpack",title:"Jetpack",icon:React.createElement(h,null)}].concat(o()(Object(i.getCategories)().filter(function(e){return"jetpack"!==e.slug}))))},function(e,t,r){e.exports=r.p+"images/cat-blog-87a988c0432f7f3ceb5bfe782db1431d.png"},function(e,t,r){e.exports=r.p+"images/devices-cddfc9159d108e7b62bcfbad49cdad37.jpg"},function(e,t,r){e.exports=r.p+"images/mobile-wedding-ec7cce11cd6ea354451d78beac70755d.jpg"},function(e,t){e.exports=wp.url},,function(e,t,r){r(46),r(215),r(29),r(210),r(211),r(214),r(213),r(212),r(228),e.exports=r(227)},function(e,t,r){},,function(e,t,r){},,,function(e,t,r){"use strict";r.r(t);var n=r(15),o=(r(224),r(6)),i=r.n(o),a=r(5),s=r.n(a),c=r(7),l=r.n(c),u=r(8),p=r.n(u),d=r(9),f=r.n(d),h=r(1),m=r.n(h),g=r(4),b=r.n(g),v=r(3),y=r(2),k=r(219),_=r(0),C=function(e){var t=e.attributes,r=t.url,n=t.view,o=e.className;return React.createElement("div",{className:o},React.createElement("iframe",{title:Object(_.a)("VR Image"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:Object(k.addQueryArgs)("https://vr.me.sh/view/",{url:r,view:n})}))},E=function(e){function t(){var e,r;i()(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r=l()(this,(e=p()(t)).call.apply(e,[this].concat(o))),b()(m()(m()(r)),"onChangeUrl",function(e){r.props.setAttributes({url:e.trim()})}),b()(m()(m()(r)),"onChangeView",function(e){r.props.setAttributes({view:e})}),r}return f()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className;return t.url&&t.view?React.createElement(C,{attributes:t,className:r}):React.createElement(y.Placeholder,{key:"placeholder",icon:"format-image",label:Object(_.a)("VR Image"),className:r},React.createElement(y.TextControl,{type:"url",label:Object(_.a)("Enter URL to VR image"),value:t.url,onChange:this.onChangeUrl}),React.createElement(y.SelectControl,{label:Object(_.a)("View Type"),disabled:!t.url,value:t.view,onChange:this.onChangeView,options:[{label:"",value:""},{label:Object(_.a)("360°"),value:"360"},{label:Object(_.a)("Cinema"),value:"cinema"}]}))}}]),t}(v.Component);Object(n.registerBlockType)("jetpack/vr",{title:Object(_.a)("VR Image"),description:Object(_.a)("Embed 360° photos and Virtual Reality (VR) content"),icon:"embed-photo",category:"jetpack",keywords:[Object(_.a)("vr"),Object(_.a)("panorama"),Object(_.a)("360")],support:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:E,save:C})},function(e,t,r){"use strict";r.r(t);var n=r(11),o=(r(222),r(6)),i=r.n(o),a=r(5),s=r.n(a),c=r(7),l=r.n(c),u=r(8),p=r.n(u),d=r(9),f=r.n(d),h=r(1),m=r.n(h),g=r(4),b=r.n(g),v=r(25),y=r.n(v),k=r(13),_=r.n(k),C=r(3),E=r(12),x=r(2),w=r(21),j=r(0),A=r(216),S=r.n(A),O=r(217),R=r.n(O),D=r(218),M=r.n(D),P=["center","wide","full"],T=[{title:"Big iPhone/iPad Update Now Available",img:{src:S.a},date:"August 3, 2018",context:'In "Mobile"'},{title:"The WordPress for Android App Gets a Big Facelift",img:{src:R.a},date:"August 2, 2018",context:'In "Mobile"'},{title:"Upgrade Focus: VideoPress For Weddings",img:{src:M.a},date:"August 5, 2018",context:'In "Upgrade"'}],z=function(e){function t(){var e,r;i()(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r=l()(this,(e=p()(t)).call.apply(e,[this].concat(o))),b()(m()(m()(r)),"state",{posts:[],fetchingPosts:!1}),r}return f()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.fetchPosts()}},{key:"componentDidUpdate",value:function(e){e.isSaving&&!this.props.isSaving&&this.fetchPosts()}},{key:"fetchPosts",value:function(){var e=this,t=this.props.postId,r=this.state.fetchingPosts;t&&!r&&(this.setState({fetchingPosts:!0}),y()({path:"/jetpack/v4/site/posts/related?http_envelope=1&post_id="+t}).then(function(t){e.setState({posts:t.posts,fetchingPosts:!1})}).catch(function(){e.setState({fetchingPosts:!1})}))}},{key:"render",value:function(){var e,t=this.props,r=t.attributes,n=t.className,o=t.setAttributes,i=this.state.posts,a=r.align,s=r.displayContext,c=r.displayDate,l=r.displayThumbnails,u=r.postLayout,p=r.postsToShow,d=[{icon:"grid-view",title:Object(j.a)("Grid View"),onClick:function(){return o({postLayout:"grid"})},isActive:"grid"===u},{icon:"list-view",title:Object(j.a)("List View"),onClick:function(){return o({postLayout:"list"})},isActive:"list"===u}],f=(i.length?i:T).slice(0,p);return React.createElement(C.Fragment,null,React.createElement(E.InspectorControls,null,React.createElement(x.PanelBody,{title:Object(j.a)("Related Posts Settings")},React.createElement(x.ToggleControl,{label:Object(j.a)("Display thumbnails"),checked:l,onChange:function(e){return o({displayThumbnails:e})}}),React.createElement(x.ToggleControl,{label:Object(j.a)("Display date"),checked:c,onChange:function(e){return o({displayDate:e})}}),React.createElement(x.ToggleControl,{label:Object(j.a)("Display context (category or tag)"),checked:s,onChange:function(e){return o({displayContext:e})}}),React.createElement(x.RangeControl,{label:Object(j.a)("Number of posts"),value:p,onChange:function(e){return o({postsToShow:Math.min(e,3)})},min:1,max:3}))),React.createElement(E.BlockControls,null,React.createElement(E.BlockAlignmentToolbar,{value:a,onChange:function(e){o({align:e})},controls:P}),React.createElement(x.Toolbar,{controls:d})),React.createElement("div",{className:_()("".concat(n),(e={"is-grid":"grid"===u},b()(e,"columns-".concat(p),"grid"===u),b()(e,"align".concat(a),a),e))},React.createElement("div",{className:"".concat(n,"__preview-items")},f.map(function(e,t){return React.createElement("div",{className:"".concat(n,"__preview-post"),key:t},l&&e.img&&e.img.src&&React.createElement(x.Button,{className:"".concat(n,"__preview-post-link"),isLink:!0},React.createElement("img",{src:e.img.src,alt:e.title})),React.createElement("h4",null,React.createElement(x.Button,{className:"".concat(n,"__preview-post-link"),isLink:!0},e.title)),c&&React.createElement("span",{className:"".concat(n,"__preview-post-date has-small-font-size")},e.date),s&&React.createElement("p",{className:"".concat(n,"__preview-post-context")},e.context))}))))}}]),t}(C.Component),F=Object(w.withSelect)(function(e){var t=e("core/editor"),r=t.getCurrentPostId;return{isSaving:!!(0,t.isSavingPost)(),postId:r()}})(z),q=r(17);r.d(t,"name",function(){return L}),r.d(t,"settings",function(){return N});var L="related-posts",N={title:Object(j.a)("Related Posts"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg"},React.createElement("defs",null,React.createElement("path",{id:"a",d:"M4 5v14h17V5H4zm4 2v2H6V7h2zm-2 6v-2h2v2H6zm0 2h2v2H6v-2zm13 2h-9v-2h9v2zm0-4h-9v-2h9v2zm0-4h-9V7h9v2z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"b",fill:"#fff"},React.createElement("use",{xlinkHref:"#a"})),React.createElement("g",{fill:"#555D66",mask:"url(#b)"},React.createElement("path",{d:"M0 0h24v24H0z"})))),category:"jetpack",keywords:[Object(j.a)("similar"),Object(j.a)("linked"),Object(j.a)("connected")],attributes:{align:{type:"string",default:""},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}},getEditWrapperProps:function(e){var t=e.align;if(Object(n.includes)(P,t))return{"data-align":t}},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:F,save:function(){return null}};Object(q.a)(L,N)}])); \ No newline at end of file
+*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(r){o=r(n);for(var u=0;u<o.length;u++)a.call(n,o[u])&&(s[o[u]]=n[o[u]])}}return s}},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(18),i=n(138),a=n(142),o=n(143),s=n(151),c=n(165),l=n(178),u=n(81),p=n(88),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 c,this.block=new s,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,s,c,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(s=e.charCodeAt(a),n&&37===s&&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(s<128)u+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<o&&(c=e.charCodeAt(a+1))>=56320&&c<=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,s,c,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+=(c=i<<6&1984|63&a)<128?"��":String.fromCharCode(c),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+=(c=i<<12&61440|a<<6&4032|63&o)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),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),s=parseInt(e.slice(t+10,t+12),16),128==(192&a)&&128==(192&o)&&128==(192&s))?((c=i<<18&1835008|a<<12&258048|o<<6&4032|63&s)<65536||c>1114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),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]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),l=["%","/","?",";","#"].concat(c),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,s,c,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(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===f.substr(0,2))||g&&d[g]||(f=f.substr(2),this.slashes=!0)),!d[g]&&(c||g&&!m[g])){var v,y,j=-1;for(n=0;n<u.length;n++)-1!==(s=f.indexOf(u[n]))&&(-1===j||s<j)&&(j=s);for(-1!==(y=-1===j?f.lastIndexOf("@"):f.lastIndexOf("@",j))&&(v=f.slice(0,y),f=f.slice(y+1),this.auth=v),j=-1,n=0;n<l.length;n++)-1!==(s=f.indexOf(l[n]))&&(-1===j||s<j)&&(j=s);-1===j&&(j=f.length),":"===f[j-1]&&j--;var O=f.slice(0,j);f=f.slice(j),this.parseHost(O),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var _=this.hostname.split(/\./);for(n=0,r=_.length;n<r;n++){var w=_[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=_.slice(0,n),A=_.slice(n+1),M=w.match(h);M&&(S.push(M[1]),A.unshift(M[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 T=f.indexOf("#");-1!==T&&(this.hash=f.substr(T),f=f.slice(0,T));var z=f.indexOf("?");return-1!==z&&(this.search=f.substr(z),f=f.slice(0,z)),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(137),t.P=n(58),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(139),t.parseLinkDestination=n(140),t.parseLinkTitle=n(141)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<c;){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&&(s=e.pos),e.pos=l,s}},function(e,t,n){"use strict";var r=n(18).isSpace,i=n(18).unescapeAll;e.exports=function(e,t,n){var a,o,s=t,c={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 c;if(62===a)return c.pos=t+1,c.str=i(e.slice(s+1,t)),c.ok=!0,c;92===a&&t+1<n?t+=2:t++}return c}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 s===t?c:0!==o?c:(c.str=i(e.slice(s,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,n){"use strict";var r=n(18).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,s=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=n)return c;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return c;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return c.pos=t+1,c.lines=o,c.str=r(e.slice(s+1,t)),c.ok=!0,c;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return c}},function(e,t,n){"use strict";var r=n(18).assign,i=n(18).unescapeAll,a=n(18).escapeHtml,o={};function s(){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 s,c,l,u,p=e[t],h=p.info?i(p.info).trim():"",d="";return h&&(d=h.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(p.content,d)||a(p.content)).indexOf("<pre")?s+"\n":h?(c=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],c<0?l.push(["class",n.langPrefix+d]):l[c][1]+=" "+n.langPrefix+d,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+s+"</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},s.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},s.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":">")},s.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,s=e.length;o<s;o++)void 0!==a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},s.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},s.prototype.render=function(e,t,n){var r,i,a,o="",s=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!==s[a]?o+=s[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=s},function(e,t,n){"use strict";var r=n(59),i=[["normalize",n(144)],["block",n(145)],["inline",n(146)],["linkify",n(147)],["replacements",n(148)],["smartquotes",n(149)]];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(150),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(18).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,s,c,l,u,p,h,d,m,f,b,g,v,y,j,O=e.tokens;if(e.md.options.linkify)for(n=0,a=O.length;n<a;n++)if("inline"===O[n].type&&e.md.linkify.pretest(O[n].content))for(f=0,t=(o=O[n].children).length-1;t>=0;t--)if("link_close"!==(c=o[t]).type){if("html_inline"===c.type&&(j=c.content,/^<a[>\s]/i.test(j)&&f>0&&f--,i(c.content)&&f++),!(f>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,y=e.md.linkify.match(p),l=[],m=c.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&&((s=new e.Token("text","",0)).content=p.slice(d,h),s.level=m,l.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",g]],s.level=m++,s.markup="linkify",s.info="auto",l.push(s),(s=new e.Token("text","",0)).content=v,s.level=m,l.push(s),(s=new e.Token("link_close","a",-1)).level=--m,s.markup="linkify",s.info="auto",l.push(s),d=y[u].lastIndex);d<p.length&&((s=new e.Token("text","",0)).content=p.slice(d),s.level=m,l.push(s)),O[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==c.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 s(e,t){return o[t.toLowerCase()]}function c(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,s)),"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)&&c(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(18).isWhiteSpace,i=n(18).isPunctChar,a=n(18).isMdAsciiPunct,o=/['"]/,s=/['"]/g,c="’";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,O,k,_,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&&(s.lastIndex=h,p=s.exec(u));){if(k=_=!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)),j=r(b),(O=r(g))?k=!1:y&&(j||v||(k=!1)),j?_=!1:v&&(O||y||(_=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(_=k=!1),k&&_&&(k=!1,_=y),k||_){if(_)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}):_&&E&&(o.content=l(o.content,p.index,c))}else E&&(o.content=l(o.content,p.index,c))}}}}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(60);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(59),i=[["table",n(152),["paragraph","reference"]],["code",n(153)],["fence",n(154),["paragraph","reference","blockquote","list"]],["blockquote",n(155),["paragraph","reference","blockquote","list"]],["hr",n(156),["paragraph","reference","blockquote","list"]],["list",n(157),["paragraph","reference","blockquote"]],["reference",n(158)],["heading",n(159),["paragraph","reference","blockquote"]],["lheading",n(160)],["html_block",n(161),["paragraph","reference","blockquote"]],["paragraph",n(163)]];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,s=!1,c=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=c){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(o=e.line)<n&&e.isEmpty(o)&&(s=!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(164),e.exports=a},function(e,t,n){"use strict";var r=n(18).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,s=!1,c=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,c=r):a%2==0&&(s=!0,c=r):124!==t||a%2!=0||s||(n.push(e.substring(o,r)),o=r+1),92===t?a++:a=0,++r===i&&s&&(s=!1,r=c+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var s,c,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!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!r(s))return!1;l++}for(h=(c=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===(c=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(h=a(c.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!==(c=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=a(c.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,s,c,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(c=h,(a=(h=e.skipChars(h,i))-c)<3)return!1;if(u=e.src.slice(c,h),(o=e.src.slice(h,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((h=c=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[s]-e.blkIndent>=4||(h=e.skipChars(h,i))-c<a||(h=e.skipSpaces(h))<d)){p=!0;break}return a=e.sCount[t],e.line=s+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,s,a,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,s,c,l,u,p,h,d,m,f,b,g,v,y,j,O,k,_,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(c=d=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,c++,d++,a=!1,j=!0):9===e.src.charCodeAt(C)?(j=!0,(e.bsCount[t]+d)%4==3?(C++,c++,d++,a=!1):a=!0):j=!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+(j?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=d-c,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(O=!1,s=0,l=k.length;s<l;s++)if(k[s](e,h,n,!0)){O=!0;break}if(O){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(c=d=e.sCount[h]+C-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(C)?(C++,c++,d++,a=!1,j=!0):9===e.src.charCodeAt(C)?(j=!0,(e.bsCount[h]+d)%4==3?(C++,c++,d++,a=!1):a=!0):j=!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+(j?1:0),v.push(e.sCount[h]),e.sCount[h]=d-c,y.push(e.tShift[h]),e.tShift[h]=C-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=p=[t,0],e.md.block.tokenize(e,t,h),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=m[s],e.tShift[s+t]=y[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=f[s];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,s,c,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((s=e.src.charCodeAt(l++))!==a&&!r(s))return!1;s===a&&o++}return!(o<3)&&(!!i||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(o+1).join(String.fromCharCode(a)),!0))}},function(e,t,n){"use strict";var r=n(18).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,s,c,l,u,p,h,d,m,f,b,g,v,y,j,O,k,_,w,E,C,x,S,A,M,T,z,D,N=!1,F=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=a(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(M,S-M-1)),N&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(D=e.push("ordered_list_open","ol",1),1!==v&&(D.attrs=[["start",v]])):D=e.push("bullet_list_open","ul",1),D.map=f=[t,0],D.markup=String.fromCharCode(g),j=t,A=!1,z=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";j<n;){for(x=S,y=e.eMarks[j],p=O=e.sCount[j]+S-(e.bMarks[t]+e.tShift[t]);x<y;){if(9===(o=e.src.charCodeAt(x)))O+=4-(O+e.bsCount[j])%4;else{if(32!==o)break;O++}x++}if((u=(s=x)>=y?1:O-p)>4&&(u=1),l=p+u,(D=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),D.map=d=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],_=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=O,s>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(F=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=_,e.tight=C,(D=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),j=t=e.line,d[1]=j,s=e.bMarks[t],j>=n)break;if(e.sCount[j]<e.blkIndent)break;for(T=!1,c=0,m=z.length;c<m;c++)if(z[c](e,j,n,!0)){T=!0;break}if(T)break;if(h){if((S=a(e,j))<0)break}else if((S=i(e,j))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(D=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=j,e.line=j,e.parentType=w,F&&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(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t,n,a){var o,s,c,l,u,p,h,d,m,f,b,g,v,y,j,O,k=0,_=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(_))return!1;for(;++_<w;)if(93===e.src.charCodeAt(_)&&92!==e.src.charCodeAt(_-1)){if(_+1===w)return!1;if(58!==e.src.charCodeAt(_+1))return!1;break}for(l=e.lineMax,j=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=j.length;p<h;p++)if(j[p](e,E,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,_=1;_<w;_++){if(91===(o=v.charCodeAt(_)))return!1;if(93===o){m=_;break}10===o?k++:92===o&&++_<w&&10===v.charCodeAt(_)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(_=m+2;_<w;_++)if(10===(o=v.charCodeAt(_)))k++;else if(!i(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,_,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(s=_=b.pos,c=k+=b.lines,g=_;_<w;_++)if(10===(o=v.charCodeAt(_)))k++;else if(!i(o))break;for(b=e.md.helpers.parseLinkTitle(v,_,w),_<w&&g!==_&&b.ok?(O=b.str,_=b.pos,k+=b.lines):(O="",_=s,k=c);_<w&&(o=v.charCodeAt(_),i(o));)_++;if(_<w&&10!==v.charCodeAt(_)&&O)for(O="",_=s,k=c;_<w&&(o=v.charCodeAt(_),i(o));)_++;return!(_<w&&10!==v.charCodeAt(_))&&(!!(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:O,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,s,c,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),(s=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(c=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=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,s,c,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&&(c=e.bMarks[d]+e.tShift[d])<(l=e.eMarks[d])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=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,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=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(162),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,s,c,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(c=e.src.slice(l,u),i=0;i<a.length&&!a[i][0].test(c);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(c))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),a[i][1].test(c)){0!==c.length&&o++;break}return e.line=o,(s=e.push("html_block","",0)).map=[t,o],s.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,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(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=s,!0}},function(e,t,n){"use strict";var r=n(60),i=n(18).isSpace;function a(e,t,n,r){var a,o,s,c,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,s=c=u=p=0,l=(o=this.src).length;c<l;c++){if(a=o.charCodeAt(c),!h){if(i(a)){u++,9===a?p+=4-p%4:p++;continue}h=!0}10!==a&&c!==l-1||(10!==a&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,s=c+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,s,c,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=c=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];c<l&&o<n;){if(s=this.src.charCodeAt(c),i(s))9===s?o+=4-(o+this.bsCount[h])%4:o++;else{if(!(c-p<this.tShift[h]))break;o++}c++}u[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(59),i=[["text",n(166)],["newline",n(167)],["escape",n(168)],["backticks",n(169)],["strikethrough",n(86).tokenize],["emphasis",n(87).tokenize],["link",n(170)],["image",n(171)],["autolink",n(172)],["html_inline",n(173)],["entity",n(174)]],a=[["balance_pairs",n(175)],["strikethrough",n(86).postProcess],["emphasis",n(87).postProcess],["text_collapse",n(176)]];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,s=e.cache;if(void 0===s[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++,s[r]=e.pos}else e.pos=s[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,s=new this.State(e,t,n,r);for(this.tokenize(s),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](s)},o.prototype.State=n(177),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(18).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(18).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,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(n=c,c++,r=e.posMax;c<r&&96===e.src.charCodeAt(c);)c++;for(i=e.src.slice(n,c),a=o=c;-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||((s=e.push("code_inline","code",0)).markup=i,s.content=e.src.slice(c,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(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,s,c,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(c=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+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=s+1):l=s+1,o||(o=e.src.slice(c,s)),!(p=e.env.references[r(o)]))return e.pos=m,!1;d=p.href,h=p.title}return t||(e.pos=c,e.posMax=s,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(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,s,c,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,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+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?s=e.src.slice(b,u++):u=c+1):u=c+1,s||(s=e.src.slice(l,c)),!(p=e.env.references[r(s)]))return e.pos=v,!1;g=p.href,d=p.title}return t||(o=e.src.slice(l,c),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,s,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(s=(a=n.match(i))[0].slice(1,-1),c=e.md.normalizeLink(s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0)):!!r.test(n)&&(s=(o=n.match(r))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(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(18).has,a=n(18).isValidEntityCode,o=n(18).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([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(s))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(c))&&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(60),i=n(18).isWhiteSpace,a=n(18).isPunctChar,o=n(18).isMdAsciiPunct;function s(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=[]}s.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},s.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},s.prototype.scanDelims=function(e,t){var n,r,s,c,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 s=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?(c=f,l=b):(c=f&&(!b||p),l=b&&(!f||d)),{can_open:c,can_close:l,length:s}},s.prototype.Token=r,e.exports=s},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 s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"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(179)(e.__opts__),r=e.__tlds__.slice();function s(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(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var c=[];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):c.push(t)}}),c.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||s.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,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,s,c;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.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:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<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(58).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";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){},,function(e,t,n){var r=n(188),i=n(227);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[i(t[n++])];return n&&n==a?e:void 0}},function(e,t,n){var r=n(61),i=n(189),a=n(194),o=n(224);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:a(o(e))}},function(e,t,n){var r=n(61),i=n(62),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(63),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(195),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)}),t});e.exports=o},function(e,t,n){var r=n(196),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(197),i="Expected a function";function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(198),i=n(219),a=n(221),o=n(222),s=n(223);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(199),i=n(211),a=n(218);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},function(e,t,n){var r=n(200),i=n(207),a=n(208),o=n(209),s=n(210);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(48);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(202),i=n(203),a=n(92),o=n(205),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,h=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(r(e)?h:s).test(o(e))}},function(e,t,n){var r=n(90),i=n(92),a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==o||t==s||t==a||t==c}},function(e,t,n){var r,i=n(204),a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},function(e,t,n){var r=n(64)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(48),i="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(48),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(48),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(212),i=n(213),a=n(215),o=n(216),s=n(217);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(49),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(49);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(49);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(49);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(91)(n(64),"Map");e.exports=r},function(e,t,n){var r=n(50);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(50);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(50);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(50);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t,n){var r=n(225);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(63),i=n(226),a=n(61),o=n(62),s=1/0,c=r?r.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(o(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(62),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},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,s=2147483647,c=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"},j=c-l,O=Math.floor,k=String.fromCharCode;function _(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?O(e/h):e>>1,e+=O(e/t);e>j*u>>1;r+=c)e=O(e/j);return O(r+(j+1)*e/(e+p))}function M(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],j=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&&_("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(a=k,o=1,p=c;i>=j&&_("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:c)>=c||h>O((s-k)/o))&&_("overflow"),k+=h*o,!(h<(b=p<=E?l:p>=E+u?u:p-E));p+=c)o>O(s/(g=c-b))&&_("overflow"),o*=g;E=A(k-a,t=y.length+1,0==a),O(k/t)>s-w&&_("overflow"),w+=O(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function T(e){var t,n,r,i,a,o,p,h,b,g,v,y,j,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=s,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>O((s-n)/(j=r+1))&&_("overflow"),n+=(p-t)*j,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>s&&_("overflow"),v==t){for(h=n,b=c;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=c)E=h-g,w=c-g,x.push(k(S(g+E%w,0))),h=O(E/w);x.push(k(S(h,0))),a=A(n,j,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:C,encode:x},decode:M,encode:T,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return E(e,function(e){return b.test(e)?M(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(89)(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(231),t.encode=t.stringify=n(232)},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 s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++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,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";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(249),t.encode=t.stringify=n(250)},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 s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++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),s=Math.pow(2,52),c=2*s,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,a=0,o=i.i=i.j=0,s=i.S=[];for(n||(e=[n++]);a<r;)s[a]=a++;for(a=0;a<r;a++)s[a]=s[o=l&o+e[a%n]+(t=s[a])],s[o]=t;(i.g=function(e){for(var t,n=0,a=i.i,o=i.j,s=i.S;e--;)t=s[a=l&a+1],n=n*r+s[l&(s[a]=s[o=l&o+t])+(s[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<s;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=c;)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(254)).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),s=0;s<o.length;s++)o[s]=arguments[s];o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var c=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;c++;var i=t.formatters[r];if("function"==typeof i){var a=o[c];n=i.call(e,a),o.splice(c,1),c--}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(255),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 s(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 c,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 s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":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?s(c=e,a,"day")||s(c,i,"hour")||s(c,r,"minute")||s(c,n,"second")||c+" 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 Tt}),n.d(r,"support",function(){return zt});var i=n(19),a=n(13),o=n.n(a),s=n(3),c=n.n(s),l=n(0),u=n(16),p=n(5),h=n(2),d=n(1),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),j=n(8),O=n.n(j),k=n(9),_=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)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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(d.c)("Original","image style"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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(d.c)("Black and White","image style"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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(d.c)("Sepia","image style"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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(d.c)("Clarendon","image style"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.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(d.c)("Gingham","image style"),value:"gingham"}],M=Object(d.a)("Pick an image filter");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.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)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:M,tooltip:M,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.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)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map(function(e){var i,a=e.icon,o=e.title,s=e.value;return Object(l.createElement)(h.MenuItem,{className:t===s?"is-active":void 0,icon:a,isSelected:t===s,key:s||"original",onClick:(i=s,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},o)}))}})}var z=n(34),D=n.n(z),N=n(54),F=n.n(N),P=n(32),R=n(24),I=n(15),L=n(12),B=n.n(L),q=n(28),V=n(17),H=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=O()(this,(e=_()(t)).call.apply(e,[this].concat(i))),c()(E()(n),"img",Object(l.createRef)()),c()(E()(n),"onImageClick",function(){n.props.isSelected||n.props.onSelect()}),c()(E()(n),"onImageKeyDown",function(e){n.img.current===document.activeElement&&n.props.isSelected&&[q.BACKSPACE,q.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 s={};!t&&r.alt_text&&(s.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(s.height=+r.media_details.height),!i&&r.link&&(s.link=r.link),!a&&r.source_url&&(s.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(s.width=+r.media_details.width),Object.keys(s).length&&this.props.setAttributes(s)}}},{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,s=t.isSelected,u=t.link,p=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.url,g=t.width;switch(p){case"media":e=b;break;case"attachment":e=u}var v=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":u,"data-url":f,"data-width":g,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:b,tabIndex:"0"}),Object(R.isBlobURL)(f)&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:B()("tiled-gallery__item",c()({"is-selected":s,"is-transient":Object(R.isBlobURL)(f)},"filter__".concat(o),!!o))},s&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(d.a)("Remove Image")})),e?Object(l.createElement)("a",null,v):v)}}]),t}(l.Component),U=Object(V.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(H);function G(e){var t,n=e.alt,r=e.imageFilter,i=e.height,a=e.id,o=e.link,s=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(R.isBlobURL)(u))return null;switch(s){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:B()("tiled-gallery__item",c()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},d):d)}var $=n(31);function K(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function Z(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function W(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:B()("tiled-gallery__row",n)},t)}var J=n(44);function Y(e){var t=e.height,n=e.width;return t&&n?n/t:1}var X=ge([2,1,2],5),Q=ve([ye,ye,je,ye,ye]),ee=ve([ye,ye,ye,je,ye,ye,ye]),te=ge([3,1,3],5),ne=ve([je,ye,ye,je]),re=ge([1,2,1],5),ie=ve([je,ye,ye,ye]),ae=ge([1,3],3),oe=ve([ye,ye,ye,je]),se=ge([3,1],3),ce=ve([ke(1.6),Object(p.overEvery)(Oe(.9),ke(2)),Object(p.overEvery)(Oe(.9),ke(2))]),le=ge([1,2],3),ue=ge([1,1,1,1,1],1),pe=ge([1,1,1,1],1),he=ge([1,1,1],3),de=ve([Object(p.overEvery)(Oe(.9),ke(2)),Object(p.overEvery)(Oe(.9),ke(2)),ke(1.6)]),me=ge([2,1],3),fe=ve([function(e){return e>=2}]);function be(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&&Q(r)&&X(n)?[2,1,2]:r.length>15&&ee(r)&&te(n)?[3,1,3]:5!==r.length&&ne(r)&&re(n)?[1,2,1]:ie(r)&&ae(n)?[1,3]:oe(r)&&se(n)?[3,1]:ce(r)&&le(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ue(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.take)(t,4));return pe(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(p.sum)(Object(p.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&he(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:de(r)&&me(n)?[2,1]:fe(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(p.sum)(i);return e(a,r.slice(o))}([],e)}function ge(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function ve(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function ye(e){return e>=1&&e<2}function je(e){return e<1}function Oe(e){return function(t){return t>=e}}function ke(e){return function(t){return t<e}}var _e=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=O()(this,(e=_()(t)).call.apply(e,[this].concat(i))),c()(E()(n),"gallery",Object(l.createRef)()),c()(E()(n),"pendingRaf",null),c()(E()(n),"ro",null),c()(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(J.a)(n).forEach(function(e){return Object(J.b)(e,r)})},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(s){n=!0,r=s}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 $.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(p.map)(e,Y)}(r),s="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(p.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},s=0;s<t-1;s++)o(s);return r.push(i.length),[r]}(o,n):be(o,{isWide:["full","wide"].includes(t)}),c=0;return Object(l.createElement)(Z,{galleryRef:this.gallery},s.map(function(e,t){return Object(l.createElement)(W,{key:t},e.map(function(e,t){var n=a.slice(c,c+e);return c+=e,Object(l.createElement)(K,{key:t},n)}))}))}}]),t}(l.Component),we=n(22);function Ee(e){var t=e.columns,n=e.renderedImages,r=Math.min(we.h,t),i=n.length%r;return Object(l.createElement)(Z,null,[].concat(f()(i?[Object(p.take)(n,i)]:[]),f()(Object(p.chunk)(Object(p.drop)(n,i),r))).map(function(e,t){return Object(l.createElement)(W,{key:t,className:"columns-".concat(e.length)},e.map(function(e,t){return Object(l.createElement)(K,{key:t},e)}))}))}var Ce=function(e){function t(){return g()(this,t),O()(this,_()(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(R.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(P.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Se:F.a;if(xe(this.props.layoutStyle)&&n&&t){var o=Math.min(we.i,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.imageFilter,i=n.images,a=n.isSave,o=n.linkTo,s=n.onRemoveImage,c=n.onSelectImage,u=n.selectedImage,p=n.setImageAttributes,h=Object(I.sprintf)(Object(d.a)("image %1$d of %2$d in gallery"),t+1,i.length),m=a?G:U;return Object(l.createElement)(m,{alt:e.alt,"aria-label":h,height:e.height,id:e.id,imageFilter:r,isSelected:u===t,key:t,link:e.link,linkTo:o,onRemove:a?void 0:s(t),onSelect:a?void 0:c(t),origUrl:e.url,setAttributes:a?void 0:p(t),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,s=xe(o)?Ee:_e,c=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(s,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:c}),n)}}]),t}(l.Component);function xe(e){return["circle","square"].includes(e)}function Se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(P.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,D()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,c()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(P.format)(i)}var Ae=n(101),Me=n.n(Ae);function Te(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=new Me.a(t).values()[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(-1!==s.indexOf("is-style-")){var c=s.substring(9),l=Object(p.find)(e,{name:c});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(p.find)(e,"isDefault")}(e,t);return n?n.name:null}var ze=[{value:"attachment",label:Object(d.a)("Attachment Page")},{value:"media",label:Object(d.a)("Media File")},{value:"none",label:Object(d.a)("None")}];function De(e){return Math.min(3,e.images.length)}var Ne=function(e){var t=Object(p.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(p.get)(e,["sizes","large","url"])||Object(p.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Fe=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=O()(this,(e=_()(t)).call.apply(e,[this].concat(i))),c()(E()(n),"state",{selectedImage:null}),c()(E()(n),"addFiles",function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:we.a,filesList:e,onFileChange:function(e){var r=e.map(function(e){return Ne(e)});n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})}),c()(E()(n),"onRemoveImage",function(e){return function(){var t=Object(p.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})}}),c()(E()(n),"onSelectImage",function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}}),c()(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 Ne(e)})})}),c()(E()(n),"setColumnsNumber",function(e){return n.setAttributes({columns:e})}),c()(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)))})}}),c()(E()(n),"setLinkTo",function(e){return n.setAttributes({linkTo:e})}),c()(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,s=n.noticeUI,c=n.setAttributes,u=r.align,p=r.columns,m=void 0===p?De(r):p,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:we.a,multiple:!0,gallery:!0,value:b.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(l.createElement)(h.IconButton,{className:"components-toolbar__control",label:Object(d.a)("Edit Gallery"),icon:"edit",onClick:t})}})),Object(l.createElement)(T,{value:f,onChange:function(t){c({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)("div",{className:"tiled-gallery__media-placeholder-icon"},Pt),className:a,labels:{title:Object(d.a)("Tiled Gallery"),name:Object(d.a)("images")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:we.a,multiple:!0,notices:s,onError:o.createErrorNotice}));var j=Te(we.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(d.a)("Tiled Gallery settings")},["columns","circle","square"].includes(j)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(d.a)("Columns"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(we.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(d.a)("Link To"),value:g,onChange:this.setLinkTo,options:ze}))),s,Object(l.createElement)(Ce,{align:u,className:a,columns:m,imageFilter:f,images:b,layoutStyle:j,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)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(d.a)("Upload an image")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Pe=Object(h.withNotices)(Fe);n(256);function Re(e){var t,n=e["aria-label"],r=e.alt,i=e.height,a=e.id,o=e.link,s=e.linkTo,c=e.origUrl,u=e.url,p=e.width;if(Object(R.isBlobURL)(c))return null;switch(s){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":c,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Ie(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function Le(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:B()("tiled-gallery__row",n)},t)}var qe=n(23),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],s=a[1];return[r+o,i+s]},[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([jt,jt,Ot,jt,jt]),tt=yt([jt,jt,jt,Ot,jt,jt,jt]),nt=vt([3,1,3],5),rt=yt([Ot,jt,jt,Ot]),it=vt([1,2,1],5),at=yt([Ot,jt,jt,jt]),ot=vt([1,3],3),st=yt([jt,jt,jt,Ot]),ct=vt([3,1],3),lt=yt([_t(1.6),Object(p.overEvery)(kt(.9),_t(2)),Object(p.overEvery)(kt(.9),_t(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(p.overEvery)(kt(.9),_t(2)),Object(p.overEvery)(kt(.9),_t(2)),_t(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]:st(r)&&ct(n)?[3,1]:lt(r)&&ut(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&pt(n)&&Object(p.sum)(Object(p.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(p.sum)(Object(p.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(p.sum)(Object(p.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(p.sum)(i);return e(a,r.slice(o))}([],e)}function vt(e,t){return function(n){return!Object(p.some)(Object(p.takeRight)(n,t),function(t){return Object(p.isEqual)(t,e)})}}function yt(e){return function(t){return t.length>=e.length&&Object(p.every)(Object(p.zipWith)(e,t.slice(0,e.length),function(e,t){return e(t)}))}}function jt(e){return e>=1&&e<2}function Ot(e){return e<1}function kt(e){return function(t){return t>=e}}function _t(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=O()(this,(e=_()(t)).call.apply(e,[this].concat(i))),c()(E()(n),"gallery",Object(l.createRef)()),c()(E()(n),"pendingRaf",null),c()(E()(n),"ro",null),c()(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(s){n=!0,r=s}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 $.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(p.map)(e,Xe)}(r),s="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(p.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(p.takeWhile)(i,function(t){var r=a<=(e+1)*n;return r&&(a+=t),r}).length;r.push(t),i=Object(p.drop)(i,t)},s=0;s<t-1;s++)o(s);return r.push(i.length),[r]}(o,n):gt(o,{isWide:["full","wide"].includes(t)}),c=0;return Object(l.createElement)(Le,{galleryRef:this.gallery},s.map(function(e,t){return Object(l.createElement)(Be,{key:t},e.map(function(e,t){var n=a.slice(c,c+e);return c+=e,Object(l.createElement)(Ie,{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)(Le,null,[].concat(f()(i?[Object(p.take)(n,i)]:[]),f()(Object(p.chunk)(Object(p.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)(Ie,{key:t},e)}))}))}var Ct=function(e){function t(){return g()(this,t),O()(this,_()(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(R.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(P.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?St:F.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(I.sprintf)(Object(d.a)("image %1$d of %2$d in gallery"),t+1,r.length);return Object(l.createElement)(Re,{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,s=xt(o)?Et:wt,c=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(s,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:c}),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(P.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,D()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce(function(e,r){return Object.assign(e,c()({},n.hasOwnProperty(r)?n[r]:r,t[r]))},{}),Object(P.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,s=t.linkTo;return Object(l.createElement)(Ct,{align:r,className:i,columns:o,images:n,layoutStyle:Te(Ge,i),linkTo:s})}var Mt,Tt={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"}},zt={align:["center","wide","full"],customClassName:!1,html:!1},Dt=(Mt={},c()(Mt,we.e,Object(d.c)("Tiled mosaic","Tiled gallery layout")),c()(Mt,we.c,Object(d.c)("Circles","Tiled gallery layout")),c()(Mt,we.d,Object(d.c)("Tiled columns","Tiled gallery layout")),c()(Mt,we.f,Object(d.c)("Square tiles","Tiled gallery layout")),Mt),Nt=we.g.map(function(e){return o()({},e,{label:Dt[e.name]})}),Ft={align:{default:"center",type:"string"},className:{default:"is-style-".concat(we.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"},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"}},Pt=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Rt={attributes:Ft,category:"jetpack",description:Object(d.a)("Display multiple images in an elegantly organized tiled layout."),icon:Pt,keywords:[Object(d.c)("images","block search term"),Object(d.c)("photos","block search term"),Object(d.c)("masonry","block search term")],styles:Nt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(d.a)("Tiled Gallery"),transforms:{from:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=Object(p.filter)(e.images,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(u.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})}):Object(u.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.columns,r=e.linkTo;return Object(u.createBlock)("core/gallery",{images:t,columns:n,imageCrop:!0,linkTo:r})}},{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(u.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})}):Object(u.createBlock)("core/image")}}]},edit:Pe,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,s=void 0===o?De(t):o,c=t.linkTo;return Object(l.createElement)(Ce,{align:i,className:a,columns:s,imageFilter:n,images:r,isSave:!0,layoutStyle:Te(we.g,a),linkTo:c})},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 u}),n.d(r,"refreshConnectionTestResults",function(){return p}),n.d(r,"fetchFromAPI",function(){return h});var i={};n.r(i),n.d(i,"getFailedConnections",function(){return d}),n.d(i,"getMustReauthConnections",function(){return m});var a=n(0),o=n(2),s=n(40),c=n(6),l=(n(183),n(17));function u(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function p(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function d(e){return e.filter(function(e){return!1===e.test_success})}function m(e){return e.filter(function(e){return"must_reauth"===e.test_success}).map(function(e){return e.service_name})}var f=n(21),b=n.n(f),g=n(97),v=n.n(g),y=n(5),j=n(36),O=n.n(j),k=n(26),_=n.n(k);function w(){return(w=O()(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,_()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(u(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 E={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return w.apply(this,arguments)}};var C,x,S,A,M,T={FETCH_FROM_API:function(e){var t=e.path;return _()({path:t})}},z=Object(l.registerStore)("jetpack/publicize",{actions:r,controls:T,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});C=z,S=[v()(E)],A=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},M={getState:C.getState,dispatch:function(){return A.apply(void 0,arguments)}},x=S.map(function(e){return e(M)}),A=y.flowRight.apply(void 0,b()(x))(C.dispatch),C.dispatch=A;var D=n(41),N=n(14),F=n(7),P=n.n(F),R=n(11),I=n.n(R),L=n(8),B=n.n(L),q=n(9),V=n.n(q),H=n(4),U=n.n(H),G=n(10),$=n.n(G),K=n(3),Z=n.n(K),W=n(1),J=function(e){function t(){var e,n;P()(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))),Z()(U()(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 $()(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)(o.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(W.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.map(function(t){return Object(a.createElement)(o.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)(o.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(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}}),Object(l.withDispatch)(function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}})])(J),X=n(13),Q=n.n(X),ee=n(98),te=n.n(ee),ne=n(12),re=n.n(ne),ie=n(15),ae=n(27),oe=n.n(ae),se=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.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"}))),ce=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.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"}))),le=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.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"}))),ue=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.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"}))),pe=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.92 14.05c-2.235 0-4.05-1.814-4.05-4.05s1.815-4.05 4.05-4.05c1.095 0 2.01.4 2.71 1.057l-1.15 1.118c-.292-.275-.802-.6-1.56-.6-1.34 0-2.433 1.115-2.433 2.48s1.094 2.48 2.434 2.48c1.552 0 2.123-1.074 2.228-1.71h-2.232v-1.51h3.79c.058.255.102.494.102.83 0 2.312-1.55 3.956-3.887 3.956zm8.92-3.3h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"}))),he=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)(o.Icon,oe()({icon:se},n));case"twitter":return Object(a.createElement)(o.Icon,oe()({icon:ce},n));case"linkedin":return Object(a.createElement)(o.Icon,oe()({icon:le},n));case"tumblr":return Object(a.createElement)(o.Icon,oe()({icon:ue},n));case"google-plus":return Object(a.createElement)(o.Icon,oe()({icon:pe},n))}return null};n(65),n(66);function de(e){var t=e.split("?")[0],n=t.split("/");if(0===t.indexOf("/checkout/thank-you/no-site/"))return!1;if(0===t.indexOf("/me/purchases/")||0===t.indexOf("/checkout/thank-you/")){var r=n[3];if(r&&-1!==r.indexOf("."))return r;var i=parseInt(r,10);if(Number.isSafeInteger(i))return i}for(var a=2;a>0;a--){var o=n[n.length-a];if(o&&-1!==o.indexOf("."))return o}for(var s=2;s>0;s--){var c=parseInt(n[n.length-s],10);if(Number.isSafeInteger(c))return c}return!1}function me(){if(window&&window._currentSiteId)return window._currentSiteId;var e=de(window.location.pathname);return Object(y.includes)(["post.php","post-new.php"],e)?window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null:e||null}var fe=function(e){function t(){var e,n;P()(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=B()(this,(e=V()(t)).call.apply(e,[this].concat(i))),Z()(U()(n),"state",{showGooglePlusNotice:!0}),Z()(U()(n),"onRemoveGooglePlusNotice",function(){n.setState({showGooglePlusNotice:!1})}),Z()(U()(n),"maybeDisplayGooglePlusNotice",function(e){return"google-plus"===e&&n.state.showGooglePlusNotice&&Object(a.createElement)(o.Notice,{status:"error",onRemove:n.onRemoveGooglePlusNotice},Object(W.a)("Google+ will shut down in April 2019. You can keep posting with your existing Google+ connection through March."),Object(a.createElement)(o.ExternalLink,{target:"_blank",href:"https://www.blog.google/technology/safety-security/expediting-changes-google-plus/"},Object(W.a)(" Learn more"),"."))}),Z()(U()(n),"maybeDisplayLinkedInNotice",function(){return n.connectionNeedsReauth()&&Object(a.createElement)(o.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(W.a)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.")),Object(a.createElement)(o.ExternalLink,{href:"https://wordpress.com/sharing/".concat(me())},Object(W.a)("Go to Sharing settings")))}),Z()(U()(n),"connectionNeedsReauth",function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)}),Z()(U()(n),"onConnectionChange",function(){var e=n.props.id;n.props.toggleConnection(e)}),n}return $()(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,s=e.name,c="connection-"+s+"-"+r,l=s.replace("_","-"),u=Object(a.createElement)(o.FormToggle,{id:c,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(a.createElement)(o.Disabled,null,u)),Object(a.createElement)("li",null,this.maybeDisplayGooglePlusNotice(l),this.maybeDisplayLinkedInNotice(),Object(a.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(a.createElement)("label",{htmlFor:c,className:"jetpack-publicize-connection-label"},Object(a.createElement)(he,{serviceName:l}),Object(a.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(a.Component),be=Object(l.withSelect)(function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}})(fe),ge=function(e){function t(){var e,n;P()(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))),Z()(U()(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 $()(t,e),I()(t,[{key:"getButtonLink",value:function(){var e=me();return e?"https://wordpress.com/sharing/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=re()("jetpack-publicize-add-connection-container",this.props.className);return Object(a.createElement)("div",{className:e},Object(a.createElement)(o.ExternalLink,{onClick:this.settingsClick},Object(W.a)("Connect an account")))}}]),t}(a.Component),ve=function(e){function t(){var e,n;P()(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))),Z()(U()(n),"state",{hasEditedShareMessage:!1}),Z()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),Z()(U()(n),"onMessageChange",function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)}),n}return $()(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(),o=256-i.length,s=re()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":o<=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,s=e.toggleable;return Object(a.createElement)(be,{disabled:!s,enabled:r,key:i,id:i,label:t,name:o,toggleConnection:n})})),Object(a.createElement)(ge,{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(W.a)("Customize your message")),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(W.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),Object(a.createElement)("div",{className:s},Object(ie.sprintf)(Object(W.b)("%d character remaining","%d characters remaining",o),o)))))}}]),t}(a.Component),ye=Object(N.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=te()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}}),Object(l.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}})}}})])(ve),je=Object(N.compose)([Object(l.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(l.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(W.a)("Connect and select the accounts where you'd like to share your post.")),t&&t.length>0&&Object(a.createElement)(ye,{refreshCallback:n}),t&&0===t.length&&Object(a.createElement)(ge,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))}),Oe={render:function(){return Object(a.createElement)(c.PostTypeSupportCheck,{supportKeys:"publicize"},Object(a.createElement)(D.a,null,Object(a.createElement)(o.PanelBody,{title:Object(W.a)("Share this post")},Object(a.createElement)(je,null))),Object(a.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(a.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(W.a)("Share this post"))},Object(a.createElement)(je,null)))}},ke=n(42);Object(ke.a)("publicize",Oe)},function(e,t,n){"use strict";n.r(t);var r=n(19),i=n(0),a=n(6),o=n(2),s=n(12),c=n.n(s),l=["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"],u=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],p=function(e){var t=e.isSelected;return Object(i.createElement)("div",{className:c()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(a.InnerBlocks,{allowedBlocks:l,templateLock:!1,template:u}))},h=n(20),d=n(1),m=(n(114),n(72),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),j=n(9),O=n.n(j),k=n(4),_=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,s=t.region,c=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&&!(s||c)&&Object(i.createElement)("div",{className:"jetpack-address__city"},o),o&&(s||c)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},s)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},c)]),!o&&(s||c)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},s)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},c)]),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,s=t.postal,c=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=a?"+".concat(a,","):"",d=o?"+".concat(o,","):"";d=s?"".concat(d,"+").concat(s):d;var m=c?"+".concat(c):"";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(d.a)("Open address in Google Maps")},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=O()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(_()(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,l=t.city,u=t.region,p=t.postal,h=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,l,u,p,h].some(function(e){return""!==e}),v=c()({"jetpack-address-block":!0,"is-selected":f}),y=Object(i.createElement)(o.ToggleControl,{label:Object(d.a)("Link address to Google Maps"),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)(a.PlainText,{value:n,placeholder:Object(d.a)("Street Address"),"aria-label":Object(d.a)("Street Address"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:r,placeholder:Object(d.a)("Address Line 2"),"aria-label":Object(d.a)("Address Line 2"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:s,placeholder:Object(d.a)("Address Line 3"),"aria-label":Object(d.a)("Address Line 3"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:l,placeholder:Object(d.a)("City"),"aria-label":Object(d.a)("City"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:u,placeholder:Object(d.a)("State/Province/Region"),"aria-label":Object(d.a)("State/Province/Region"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:p,placeholder:Object(d.a)("Postal/Zip Code"),"aria-label":Object(d.a)("Postal/Zip Code"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(a.PlainText,{value:h,placeholder:Object(d.a)("Country"),"aria-label":Object(d.a)("Country"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),M={title:Object(d.a)("Address"),description:Object(d.a)("Lets you add a physical address with Schema markup."),keywords:[Object(d.c)("location","block search term"),Object(d.c)("direction","block search term"),Object(d.c)("place","block search term")],icon:Object(h.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.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)(o.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},T=n(35),z=n.n(T),D=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("@")&&z.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)}))},N=function(e,t,n,r,o){var s=t.isSelected,c=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,s?"-block is-selected":"-block")},!s&&""!==c&&r(t),(s||""===c)&&Object(i.createElement)(a.PlainText,{value:c,placeholder:n,"aria-label":n,onChange:o}))},F=function(e){var t=e.setAttributes;return N("email",e,Object(d.a)("Email"),D,function(e){return t({email:e})})},P={title:Object(d.a)("Email Address"),description:Object(d.a)("Lets you add an email address with an automatically generated click-to-email link."),keywords:["e-mail","email",Object(d.c)("message","block search term")],icon:Object(h.a)(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"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:F,save:D,parent:["jetpack/contact-info"]};var R=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))},I=function(e){var t=e.setAttributes;return N("phone",e,Object(d.a)("Phone number"),R,function(e){return t({phone:e})})},L={title:Object(d.a)("Phone Number"),description:Object(d.a)("Lets you add a phone number with an automatically generated click-to-call link."),keywords:[Object(d.c)("mobile","block search term"),Object(d.c)("telephone","block search term"),Object(d.c)("cell","block search term")],icon:Object(h.a)(Object(i.createElement)(o.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:I,save:R},B={title:Object(d.a)("Contact Info"),description:Object(d.a)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results."),keywords:[Object(d.c)("email","block search term"),Object(d.c)("phone","block search term"),Object(d.c)("address","block search term")],icon:Object(h.a)(Object(i.createElement)(o.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:p,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(a.InnerBlocks.Content,null))}},q=[{name:"address",settings:M},{name:"email",settings:P},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(19),i=n(0),a=n(2),o=n(7),s=n.n(o),c=n(11),l=n.n(c),u=n(8),p=n.n(u),h=n(9),d=n.n(h),m=n(4),f=n.n(m),b=n(10),g=n.n(b),v=n(3),y=n.n(v),j=n(12),O=n.n(j),k=n(35),_=n.n(k),w=n(14),E=n(17),C=n(5),x=n(15),S={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 A(e){return S[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var M=n(27),T=n.n(M),z=n(34),D=n.n(z),N=n(52),F=n.n(N),P=(n(239),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,a=void 0!==r&&r,o=D()(e,["children","isError"]),s=O()("simple-payments__help-message",{"simple-payments__help-message-is-error":a});return n&&Object(i.createElement)("div",T()({className:s},o),a&&Object(i.createElement)(F.a,{size:"24"}),Object(i.createElement)("span",null,n))}),R=n(1),I=(n(241),n(99)),L=n.n(I),B=n(100),q=n.n(B),V=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,a=void 0===r?"":r,o=e.formattedPrice,s=void 0===o?"":o,c=e.multiple,l=void 0!==c&&c,u=e.featuredMediaUrl,p=void 0===u?null:u,h=e.featuredMediaTitle,d=void 0===h?null:h;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},p&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:p,alt:d}))),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)),a&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,a)),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"},l&&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(R.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(q.a," 2x")}))))))},H=n(6),U=function(e){return function(t){return e({featuredMediaId:Object(C.get)(t,"id",0),featuredMediaUrl:Object(C.get)(t,"url",null),featuredMediaTitle:Object(C.get)(t,"title",null)})}},G=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,o=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(H.BlockControls,null,Object(i.createElement)(a.Toolbar,null,Object(i.createElement)(H.MediaUpload,{onSelect:U(o),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(a.IconButton,{className:"components-toolbar__control",label:Object(R.a)("Edit Image"),icon:"edit",onClick:t})}}),Object(i.createElement)(a.ToolbarButton,{icon:"trash",title:Object(R.a)("Remove Image"),onClick:function(){return o({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(H.MediaPlaceholder,{icon:"format-image",labels:{title:Object(R.a)("Product Image")},accept:"image/*",allowedTypes:["image"],onSelect:U(o)})},$=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],K=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},Z=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=A(t),i=r.precision,a=r.symbol,o=e.toFixed(i);return n?"".concat(o," ").concat(Object(C.trimEnd)(a,".")):o},W=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=p()(this,(e=d()(t)).call.apply(e,[this].concat(i))),y()(f()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),y()(f()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),y()(f()(n),"validateAttributes",function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i}),y()(f()(n),"validateCurrency",function(){var e=n.props.attributes.currency;return $.includes(e)}),y()(f()(n),"validatePrice",function(){var e=n.props.attributes,t=e.currency,r=e.price,i=A(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(R.a)("Invalid price")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(R.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):K(r)>i?0===i?(n.setState({fieldPriceError:Object(R.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(n.setState({fieldPriceError:Object(x.sprintf)(Object(R.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(R.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),y()(f()(n),"validateEmail",function(){var e=n.props.attributes.email;return e?_.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(x.sprintf)(Object(R.a)("%s is not a valid email address."),e)}),!1):(n.setState({fieldEmailError:Object(R.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),y()(f()(n),"validateTitle",function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(R.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),y()(f()(n),"handleEmailChange",function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})}),y()(f()(n),"handleFeaturedMediaSelect",function(e){n.props.setAttributes({featuredMediaId:Object(C.get)(e,"id",0)})}),y()(f()(n),"handleContentChange",function(e){n.props.setAttributes({content:e})}),y()(f()(n),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})}),y()(f()(n),"handleCurrencyChange",function(e){n.props.setAttributes({currency:e})}),y()(f()(n),"handleMultipleChange",function(e){n.props.setAttributes({multiple:!!e})}),y()(f()(n),"handleTitleChange",function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})}),y()(f()(n),"getCurrencyList",$.map(function(e){var t=A(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(C.trimEnd)(t,"."))}})),n}return g()(t,e),l()(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(C.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(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.simplePayment,i=t.content,a=t.currency,o=t.email,s=t.featuredMediaId,c=t.multiple,l=t.price,u=t.productId,p=t.title;u&&r&&(n({content:Object(C.get)(r,["content","raw"],i),currency:Object(C.get)(r,["meta","spay_currency"],a),email:Object(C.get)(r,["meta","spay_email"],o),featuredMediaId:Object(C.get)(r,["featured_media"],s),multiple:Boolean(Object(C.get)(r,["meta","spay_multiple"],Boolean(c))),price:Object(C.get)(r,["meta","spay_price"],l||void 0),title:Object(C.get)(r,["title","raw"],p)}),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,s=e.productId;return{id:s,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:a,spay_price:o},status:s?"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,a=Object(E.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},function(){a("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(x.sprintf)(Object(R.a)("%s is not a valid email address."),i):null,fieldPriceError:"spay_price"===n?Object(R.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})})})}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,o=this.props,s=o.attributes,c=o.featuredMedia,l=o.instanceId,u=o.isSelected,p=o.setAttributes,h=o.simplePayment,d=s.content,m=s.currency,f=s.email,b=s.featuredMediaId,g=s.featuredMediaUrl,v=s.featuredMediaTitle,y=s.multiple,j=s.price,k=s.productId,_=s.title,w=g||c&&c.source_url,E=v||c&&c.alt_text,C=k&&!h;if(!u&&C)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(V,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!u&&f&&j&&_&&!t&&!n&&!r)return Object(i.createElement)(V,{"aria-busy":"false",content:d,featuredMediaUrl:w,featuredMediaTitle:E,formattedPrice:Z(j,m),multiple:y,title:_});var x=C?a.Disabled:"div";return Object(i.createElement)(x,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(G,{featuredMediaId:b,featuredMediaUrl:w,featuredMediaTitle:E,setAttributes:p}),Object(i.createElement)("div",null,Object(i.createElement)(a.TextControl,{"aria-describedby":"".concat(l,"-title-error"),className:O()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(R.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(R.a)("Item name"),required:!0,type:"text",value:_}),Object(i.createElement)(P,{id:"".concat(l,"-title-error"),isError:!0},r),Object(i.createElement)(a.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(R.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(R.a)("Describe your item in a few words"),value:d}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(a.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(R.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:m}),Object(i.createElement)(a.TextControl,{"aria-describedby":"".concat(l,"-price-error"),className:O()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(R.a)("Price"),onChange:this.handlePriceChange,placeholder:Z(0,m,!1),required:!0,step:"1",type:"number",value:j||""}),Object(i.createElement)(P,{id:"".concat(l,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(a.ToggleControl,{checked:Boolean(y),label:Object(R.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),Object(i.createElement)(a.TextControl,{"aria-describedby":"".concat(l,"-email-").concat(t?"error":"help"),className:O()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(R.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(R.a)("Email"),required:!0,type:"email",value:f}),Object(i.createElement)(P,{id:"".concat(l,"-email-error"),isError:!0},t),Object(i.createElement)(P,{id:"".concat(l,"-email-help")},Object(R.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",Object(i.createElement)(a.ExternalLink,{href:"https://www.paypal.com/"},Object(R.a)("Create one on PayPal")))))}}]),t}(i.Component),J=Object(E.withSelect)(function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,a=e("core/editor"),o=a.isSavingPost,s=a.getCurrentPost,c=t.attributes,l=c.productId,u=c.featuredMediaId,p=l?Object(C.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(C.get)(s(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?i(u):null}}),Y=Object(w.compose)(J,w.withInstanceId)(W);n(243);var X={title:Object(R.a)("Simple Payments button"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(R.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),Object(i.createElement)(a.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(R.a)("Support reference"))),icon:Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(a.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(R.c)("shop","block search term"),Object(R.c)("sell","block search term"),"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:Y,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",X)},function(e,t,n){"use strict";n.r(t);var r=n(19),i=n(13),a=n.n(i),o=n(0),s=n(16),c=n(2),l=n(6),u=(n(106),n(7)),p=n.n(u),h=n(11),d=n.n(h),m=n(8),f=n.n(m),b=n(9),g=n.n(b),v=n(4),y=n.n(v),j=n(10),O=n.n(j),k=n(12),_=n.n(k),w=n(15),E=n(35),C=n.n(E),x=n(14),S=n(1),A=n(20),M=n(37),T=n(27),z=n.n(T),D=n(34),N=n.n(D),F=n(52),P=n.n(F),R=(n(112),function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,a=N()(e,["children","isError"]),s=_()("help-message",{"help-message-is-error":i});return n&&Object(o.createElement)("div",z()({className:s},a),i&&Object(o.createElement)(P.a,{size:"24"}),Object(o.createElement)("span",null,n))}),I=["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"],L=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(n=f()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(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 O()(t,e),d()(t,[{key:"getIntroMessage",value:function(){return Object(S.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(S.a)("You can enter multiple email addresses separated by commas.")}},{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(w.sprintf)(Object(S.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(w.sprintf)(Object(S.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(w.sprintf)(Object(S.a)("%s are not a valid email address."),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)(c.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(S.a)("Email address"),placeholder:Object(S.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:a,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(R,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(R,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(c.TextControl,{label:Object(S.a)("Email subject line"),value:i,placeholder:Object(S.a)("Let's work together"),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=_()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(S.a)("Email feedback settings")},this.renderToAndSubjectFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(c.Placeholder,{label:Object(S.a)("Form"),icon:Object(A.a)(Object(o.createElement)(c.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(S.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(c.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(S.a)("Add form"))))),n&&Object(o.createElement)(l.InnerBlocks,{allowedBlocks:I,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(M.a,this.props)))}}]),t}(o.Component),B=Object(x.compose)([x.withInstanceId])(L),q=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)(l.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(S.a)("Write label…")}),i&&Object(o.createElement)(c.ToggleControl,{label:Object(S.a)("Required"),className:"jetpack-field-label__required",checked:a,onChange:function(e){return t({required:e})}}),!i&&a&&Object(o.createElement)("span",{className:"required"},Object(S.a)("(required)")))};var V=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,a=e.setAttributes,s=e.defaultValue,u=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:_()("jetpack-field",{"is-selected":t})},Object(o.createElement)(c.TextControl,{type:n,label:Object(o.createElement)(q,{required:r,label:i,setAttributes:a,isSelected:t}),placeholder:u,value:u,onChange:function(e){return a({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(S.a)("Field Settings")},Object(o.createElement)(c.TextControl,{label:Object(S.a)("Default Value"),value:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(c.TextControl,{label:Object(S.a)("ID"),value:p,onChange:function(e){return a({id:e})}}))))};var H=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,a=e.defaultValue,s=e.placeholder,u=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(c.TextareaControl,{label:Object(o.createElement)(q,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(S.a)("Set the placeholder text")})),Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(S.a)("Field Settings")},Object(o.createElement)(c.TextControl,{label:Object(S.a)("Default Value"),value:a,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(c.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return r({id:e})}}))))},U=Object(x.withInstanceId)(function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,a=e.isSelected,s=e.defaultValue,u=e.id;return Object(o.createElement)(c.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)(q,{required:n,label:r,setAttributes:i,isSelected:a}),Object(o.createElement)(l.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(S.a)("Field Settings")},Object(o.createElement)(c.ToggleControl,{label:Object(S.a)("Default Checked State"),checked:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(c.TextControl,{label:Object(S.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))})}),G=function(e){function t(){var e,n;p()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=f()(this,(e=g()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(o.createRef)(),n}return O()(t,e),d()(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",{ty