Version Description
Download this release
Release Info
Developer | johncaruso |
Plugin | Full Site Editing |
Version | 3.50058 |
Comparing to | |
See all releases |
Code changes from version 3.50029 to 3.50058
- build_meta.txt +3 -3
- full-site-editing-plugin.php +2 -2
- help-center/dist/help-center.asset.php +1 -1
- help-center/dist/help-center.js +59 -68
- help-center/dist/help-center.min.js +1 -1
- help-center/src/CalypsoStateProvider.js +4 -3
- help-center/src/admin-bar.js +6 -11
- help-center/src/help-center.js +1 -0
- readme.txt +1 -1
- wpcom-block-editor-nux/dist/images/fireworks-2721c54fdb96fa8d99ef.svg +0 -1
- wpcom-block-editor-nux/dist/images/video-success-efc454c6ae0b77ec03f0.svg +56 -0
- wpcom-block-editor-nux/dist/wpcom-block-editor-nux.asset.php +1 -1
- wpcom-block-editor-nux/dist/wpcom-block-editor-nux.js +5 -5
- wpcom-block-editor-nux/dist/wpcom-block-editor-nux.min.js +0 -1
build_meta.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
commit_hash=
|
2 |
-
commit_url=https://github.com/Automattic/wp-calypso/commit/
|
3 |
-
build_number=3.
|
1 |
+
commit_hash=f56953176987332d3368fe428ebff5ce479ad27f
|
2 |
+
commit_url=https://github.com/Automattic/wp-calypso/commit/f56953176987332d3368fe428ebff5ce479ad27f
|
3 |
+
build_number=3.50058
|
full-site-editing-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
-
* Version: 3.
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
@@ -42,7 +42,7 @@ namespace A8C\FSE;
|
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
-
define( 'A8C_ETK_PLUGIN_VERSION', '3.
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
+
* Version: 3.50058
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
+
define( 'A8C_ETK_PLUGIN_VERSION', '3.50058' );
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
help-center/dist/help-center.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => '90d70af33b5546936ce6');
|
help-center/dist/help-center.js
CHANGED
@@ -30046,6 +30046,8 @@ const whatsNewQueryClient = new react_query__WEBPACK_IMPORTED_MODULE_0__.QueryCl
|
|
30046 |
/* harmony import */ var calypso_state_ui_section_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9817);
|
30047 |
/* harmony import */ var calypso_state_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(95884);
|
30048 |
/* harmony import */ var calypso_state_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(90924);
|
|
|
|
|
30049 |
|
30050 |
|
30051 |
/**
|
@@ -30076,10 +30078,11 @@ const rootReducer = (0,calypso_state_utils__WEBPACK_IMPORTED_MODULE_12__/* .comb
|
|
30076 |
});
|
30077 |
const store = (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .createStore */ .MT)(rootReducer, (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .compose */ .qC)(calypso_state_console_dispatch__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, calypso_state_utils__WEBPACK_IMPORTED_MODULE_15__/* .addReducerEnhancer */ .f, (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .applyMiddleware */ .md)(redux_thunk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, calypso_state_analytics_middleware__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, calypso_state_happychat_middleware__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)));
|
30078 |
(0,calypso_state_redux_store__WEBPACK_IMPORTED_MODULE_10__/* .setStore */ .P)(store);
|
|
|
30079 |
const currentSite = window.helpCenterData.currentSite;
|
30080 |
-
currentSite && store.dispatch((0,calypso_state_ui_actions__WEBPACK_IMPORTED_MODULE_17__/* .setSelectedSiteId */ .B)(currentSite.
|
30081 |
store.dispatch((0,calypso_state_ui_section_actions__WEBPACK_IMPORTED_MODULE_18__/* .setSection */ .z)({
|
30082 |
-
name:
|
30083 |
}));
|
30084 |
i18n_calypso__WEBPACK_IMPORTED_MODULE_19__/* ["default"].configure */ .ZP.configure({
|
30085 |
defaultLocaleSlug: window.helpCenterLocale
|
@@ -30098,7 +30101,7 @@ function CalypsoStateProvider(_ref) {
|
|
30098 |
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(react_redux__WEBPACK_IMPORTED_MODULE_2__/* .Provider */ .zt, {
|
30099 |
store: store
|
30100 |
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(calypso_components_data_query_sites__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
30101 |
-
siteId: currentSite.
|
30102 |
}), children));
|
30103 |
}
|
30104 |
|
@@ -30146,18 +30149,11 @@ function AdminHelpCenterContent() {
|
|
30146 |
}, [show, button]);
|
30147 |
|
30148 |
const handleToggleHelpCenter = () => {
|
30149 |
-
|
30150 |
-
|
30151 |
-
|
30152 |
-
|
30153 |
-
|
30154 |
-
} else {
|
30155 |
-
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_show', {
|
30156 |
-
location: 'help-center',
|
30157 |
-
section: 'wp-admin'
|
30158 |
-
});
|
30159 |
-
}
|
30160 |
-
|
30161 |
setShowHelpCenter(!show);
|
30162 |
};
|
30163 |
|
@@ -30276,6 +30272,7 @@ function HelpCenterContent() {
|
|
30276 |
|
30277 |
const handleToggleHelpCenter = () => {
|
30278 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)(`calypso_inlinehelp_${show ? 'close' : 'show'}`, {
|
|
|
30279 |
location: 'help-center',
|
30280 |
section: sectionName
|
30281 |
});
|
@@ -33710,7 +33707,7 @@ const getSuperProps = reduxStore => eventProperties => {
|
|
33710 |
site_id_label: 'wpcom',
|
33711 |
client: (0,_automattic_calypso_config__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)('client_slug')
|
33712 |
};
|
33713 |
-
const omitSelectedSite = (0,calypso_lib_analytics_utils__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(eventProperties.path);
|
33714 |
const selectedSite = omitSelectedSite ? null : (0,calypso_state_ui_selectors__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(state);
|
33715 |
|
33716 |
if (selectedSite) {
|
@@ -65640,6 +65637,7 @@ const HelpCenterContactForm = () => {
|
|
65640 |
const supportVariation = (0,_support_variations__WEBPACK_IMPORTED_MODULE_19__/* .getSupportVariationFromMode */ .yQ)(mode);
|
65641 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_view', {
|
65642 |
support_variation: supportVariation,
|
|
|
65643 |
location: 'help-center',
|
65644 |
section: sectionName
|
65645 |
});
|
@@ -65713,12 +65711,14 @@ const HelpCenterContactForm = () => {
|
|
65713 |
if (supportSite) {
|
65714 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65715 |
support_variation: 'happychat',
|
|
|
65716 |
location: 'help-center',
|
65717 |
section: sectionName
|
65718 |
});
|
65719 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_live_chat_begin', {
|
65720 |
site_plan_product_id: productId,
|
65721 |
is_automated_transfer: supportSite.is_wpcom_atomic,
|
|
|
65722 |
location: 'help-center',
|
65723 |
section: sectionName
|
65724 |
});
|
@@ -65743,6 +65743,7 @@ const HelpCenterContactForm = () => {
|
|
65743 |
}).then(() => {
|
65744 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65745 |
support_variation: 'kayako',
|
|
|
65746 |
location: 'help-center',
|
65747 |
section: sectionName
|
65748 |
});
|
@@ -65772,6 +65773,7 @@ const HelpCenterContactForm = () => {
|
|
65772 |
}).then(response => {
|
65773 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65774 |
support_variation: 'forums',
|
|
|
65775 |
location: 'help-center',
|
65776 |
section: sectionName
|
65777 |
});
|
@@ -66049,6 +66051,7 @@ const HelpCenterContactPage = () => {
|
|
66049 |
}
|
66050 |
|
66051 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_contact_options_impression', {
|
|
|
66052 |
location: 'help-center',
|
66053 |
chat_available: renderChat.state === 'AVAILABLE',
|
66054 |
email_available: renderEmail.render
|
@@ -66156,6 +66159,7 @@ const HelpCenterContactButton = () => {
|
|
66156 |
|
66157 |
const trackContactButtonClicked = () => {
|
66158 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_morehelp_click', {
|
|
|
66159 |
location: 'help-center',
|
66160 |
section: sectionName
|
66161 |
});
|
@@ -66391,6 +66395,7 @@ const HelpCenterContent = () => {
|
|
66391 |
pathname: location.pathname,
|
66392 |
search: location.search,
|
66393 |
section,
|
|
|
66394 |
location: 'help-center'
|
66395 |
});
|
66396 |
}, [location, section]); // reset the scroll location on navigation
|
@@ -66479,6 +66484,7 @@ const HelpCenterEmbedResult = () => {
|
|
66479 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
66480 |
const tracksData = {
|
66481 |
search_query: query,
|
|
|
66482 |
location: 'help-center',
|
66483 |
section: sectionName,
|
66484 |
result_url: link
|
@@ -66926,6 +66932,7 @@ const HelpCenterMoreResources = () => {
|
|
66926 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_moreresources_click', {
|
66927 |
is_business_or_ecommerce_plan_user: isBusinessOrEcomPlanUser,
|
66928 |
resource: resource,
|
|
|
66929 |
location: 'help-center',
|
66930 |
section: sectionName
|
66931 |
});
|
@@ -66934,6 +66941,7 @@ const HelpCenterMoreResources = () => {
|
|
66934 |
const trackWebinairsButtonClick = () => {
|
66935 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_courses_click', {
|
66936 |
is_business_or_ecommerce_plan_user: isBusinessOrEcomPlanUser,
|
|
|
66937 |
location: 'help-center',
|
66938 |
section: sectionName
|
66939 |
});
|
@@ -67591,6 +67599,7 @@ const SITE_STORE = 'automattic/site';
|
|
67591 |
|
67592 |
function recordSibylArticleClick(article) {
|
67593 |
return () => (0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_page_open_sibyl_article', {
|
|
|
67594 |
location: 'help-center',
|
67595 |
article_link: article.link,
|
67596 |
article_title: article.title
|
@@ -67717,19 +67726,18 @@ function SibylArticles(_ref2) {
|
|
67717 |
/* harmony export */ });
|
67718 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69307);
|
67719 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
67720 |
-
/* harmony import */ var
|
67721 |
-
/* harmony import */ var
|
67722 |
-
/* harmony import */ var
|
67723 |
-
/* harmony import */ var
|
67724 |
-
/* harmony import */ var
|
67725 |
-
/* harmony import */ var
|
67726 |
-
/* harmony import */ var
|
67727 |
-
/* harmony import */ var
|
67728 |
-
/* harmony import */ var
|
67729 |
-
/* harmony import */ var
|
67730 |
-
/* harmony import */ var
|
67731 |
-
/* harmony import */ var
|
67732 |
-
/* harmony import */ var _styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62829);
|
67733 |
|
67734 |
|
67735 |
/* eslint-disable no-restricted-imports */
|
@@ -67744,7 +67752,6 @@ function SibylArticles(_ref2) {
|
|
67744 |
|
67745 |
|
67746 |
|
67747 |
-
|
67748 |
/**
|
67749 |
* Internal Dependencies
|
67750 |
*/
|
@@ -67765,30 +67772,30 @@ const HelpCenter = _ref => {
|
|
67765 |
const portalParent = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useRef)(document.createElement('div')).current;
|
67766 |
const {
|
67767 |
data: chatStatus
|
67768 |
-
} = (0,
|
67769 |
const {
|
67770 |
data
|
67771 |
-
} = (0,
|
67772 |
const {
|
67773 |
setShowHelpCenter
|
67774 |
-
} = (0,
|
67775 |
const {
|
67776 |
setUnreadCount
|
67777 |
-
} = (0,
|
67778 |
const {
|
67779 |
setSite
|
67780 |
-
} = (0,
|
67781 |
const {
|
67782 |
show,
|
67783 |
isMinimized
|
67784 |
-
} = (0,
|
67785 |
-
isMinimized: select(
|
67786 |
-
show: select(
|
67787 |
}));
|
67788 |
const {
|
67789 |
unreadCount,
|
67790 |
closeChat
|
67791 |
-
} = (0,
|
67792 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
67793 |
setUnreadCount(unreadCount);
|
67794 |
}, [unreadCount, setUnreadCount]);
|
@@ -67797,31 +67804,27 @@ const HelpCenter = _ref => {
|
|
67797 |
setShowHelpCenter(true);
|
67798 |
}
|
67799 |
}, [data, setShowHelpCenter]);
|
67800 |
-
const siteId = (0,
|
67801 |
-
const primarySiteId = (0,
|
67802 |
-
(0,
|
67803 |
const currentSite = (_window = window) === null || _window === void 0 ? void 0 : (_window$helpCenterDat = _window.helpCenterData) === null || _window$helpCenterDat === void 0 ? void 0 : _window$helpCenterDat.currentSite;
|
67804 |
-
const site = (0,
|
67805 |
setSite(currentSite ? currentSite : site);
|
67806 |
-
(0,
|
67807 |
-
(0,
|
67808 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
67809 |
const classes = ['help-center'];
|
67810 |
portalParent.classList.add(...classes);
|
67811 |
portalParent.setAttribute('aria-modal', 'true');
|
67812 |
portalParent.setAttribute('aria-labelledby', 'header-text');
|
67813 |
document.body.appendChild(portalParent);
|
67814 |
-
const start = Date.now();
|
67815 |
return () => {
|
67816 |
-
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_activity_time', {
|
67817 |
-
elapsed: (Date.now() - start) / 1000
|
67818 |
-
});
|
67819 |
document.body.removeChild(portalParent);
|
67820 |
closeChat();
|
67821 |
handleClose();
|
67822 |
};
|
67823 |
}, [portalParent]);
|
67824 |
-
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createPortal)((0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(
|
67825 |
handleClose: handleClose,
|
67826 |
hidden: hidden
|
67827 |
}), portalParent);
|
@@ -67958,12 +67961,11 @@ function PlaceholderLines(_ref) {
|
|
67958 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69307);
|
67959 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
67960 |
/* harmony import */ var _automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
67961 |
-
/* harmony import */ var
|
67962 |
-
/* harmony import */ var
|
67963 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9818);
|
67964 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
|
67965 |
/* harmony import */ var _wordpress_react_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95885);
|
67966 |
-
/* harmony import */ var i18n_calypso__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(10975);
|
67967 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99196);
|
67968 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
67969 |
/* harmony import */ var _stores__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98865);
|
@@ -67975,7 +67977,6 @@ function PlaceholderLines(_ref) {
|
|
67975 |
|
67976 |
|
67977 |
|
67978 |
-
|
67979 |
const PromotionalPopover = _ref => {
|
67980 |
let {
|
67981 |
iconElement
|
@@ -67992,12 +67993,8 @@ const PromotionalPopover = _ref => {
|
|
67992 |
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useDispatch)(_stores__WEBPACK_IMPORTED_MODULE_4__/* .HELP_CENTER_STORE */ .aM);
|
67993 |
const [isDismissed, setIsDismissed] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
|
67994 |
const {
|
67995 |
-
__
|
67996 |
-
hasTranslation
|
67997 |
} = (0,_wordpress_react_i18n__WEBPACK_IMPORTED_MODULE_5__/* .useI18n */ .QT)();
|
67998 |
-
const {
|
67999 |
-
localeSlug
|
68000 |
-
} = (0,i18n_calypso__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)();
|
68001 |
|
68002 |
const recordDismiss = location => {
|
68003 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_promotion_popover_dismissed', {
|
@@ -68016,14 +68013,7 @@ const PromotionalPopover = _ref => {
|
|
68016 |
return null;
|
68017 |
}
|
68018 |
|
68019 |
-
|
68020 |
-
const isTranslationComplete = isEnglish || hasTranslation('✨ Our new Help Center', "full-site-editing") && hasTranslation('We moved our help resources! You can always find it in the top bar.', "full-site-editing") && hasTranslation('Got it', "full-site-editing");
|
68021 |
-
|
68022 |
-
if (!isTranslationComplete) {
|
68023 |
-
return null;
|
68024 |
-
}
|
68025 |
-
|
68026 |
-
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_automattic_components__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
|
68027 |
className: "help-center__promotion-popover",
|
68028 |
isVisible: doneLoading && !hasSeenPromotion && !isDismissed,
|
68029 |
context: iconElement,
|
@@ -68041,7 +68031,7 @@ const PromotionalPopover = _ref => {
|
|
68041 |
}
|
68042 |
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("h1", null, __('✨ Our new Help Center', "full-site-editing")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", null, __('We moved our help resources! You can always find it in the top bar.', "full-site-editing")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
68043 |
className: "help-center__promotion-popover-actions"
|
68044 |
-
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(
|
68045 |
style: {
|
68046 |
pointerEvents: 'all'
|
68047 |
},
|
@@ -68133,6 +68123,7 @@ const SuccessScreen = () => {
|
|
68133 |
const forumTopicUrl = params.get('forumTopic');
|
68134 |
|
68135 |
const trackForumOpen = () => (0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_forums_open', {
|
|
|
68136 |
location: 'help-center',
|
68137 |
section: sectionName
|
68138 |
});
|
30046 |
/* harmony import */ var calypso_state_ui_section_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9817);
|
30047 |
/* harmony import */ var calypso_state_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(95884);
|
30048 |
/* harmony import */ var calypso_state_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(90924);
|
30049 |
+
var _window, _window$helpCenterAdm;
|
30050 |
+
|
30051 |
|
30052 |
|
30053 |
/**
|
30078 |
});
|
30079 |
const store = (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .createStore */ .MT)(rootReducer, (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .compose */ .qC)(calypso_state_console_dispatch__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, calypso_state_utils__WEBPACK_IMPORTED_MODULE_15__/* .addReducerEnhancer */ .f, (0,redux__WEBPACK_IMPORTED_MODULE_13__/* .applyMiddleware */ .md)(redux_thunk__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, calypso_state_analytics_middleware__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, calypso_state_happychat_middleware__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)));
|
30080 |
(0,calypso_state_redux_store__WEBPACK_IMPORTED_MODULE_10__/* .setStore */ .P)(store);
|
30081 |
+
const section = (_window = window) !== null && _window !== void 0 && (_window$helpCenterAdm = _window.helpCenterAdminBar) !== null && _window$helpCenterAdm !== void 0 && _window$helpCenterAdm.isLoaded ? 'wp-admin' : 'gutenberg-editor';
|
30082 |
const currentSite = window.helpCenterData.currentSite;
|
30083 |
+
currentSite && store.dispatch((0,calypso_state_ui_actions__WEBPACK_IMPORTED_MODULE_17__/* .setSelectedSiteId */ .B)(currentSite.ID));
|
30084 |
store.dispatch((0,calypso_state_ui_section_actions__WEBPACK_IMPORTED_MODULE_18__/* .setSection */ .z)({
|
30085 |
+
name: section
|
30086 |
}));
|
30087 |
i18n_calypso__WEBPACK_IMPORTED_MODULE_19__/* ["default"].configure */ .ZP.configure({
|
30088 |
defaultLocaleSlug: window.helpCenterLocale
|
30101 |
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(react_redux__WEBPACK_IMPORTED_MODULE_2__/* .Provider */ .zt, {
|
30102 |
store: store
|
30103 |
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(calypso_components_data_query_sites__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
30104 |
+
siteId: currentSite.ID
|
30105 |
}), children));
|
30106 |
}
|
30107 |
|
30149 |
}, [show, button]);
|
30150 |
|
30151 |
const handleToggleHelpCenter = () => {
|
30152 |
+
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)(`calypso_inlinehelp_${show ? 'close' : 'show'}`, {
|
30153 |
+
forceSiteId: true,
|
30154 |
+
location: 'help-center',
|
30155 |
+
section: 'wp-admin'
|
30156 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30157 |
setShowHelpCenter(!show);
|
30158 |
};
|
30159 |
|
30272 |
|
30273 |
const handleToggleHelpCenter = () => {
|
30274 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)(`calypso_inlinehelp_${show ? 'close' : 'show'}`, {
|
30275 |
+
forceSiteId: true,
|
30276 |
location: 'help-center',
|
30277 |
section: sectionName
|
30278 |
});
|
33707 |
site_id_label: 'wpcom',
|
33708 |
client: (0,_automattic_calypso_config__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)('client_slug')
|
33709 |
};
|
33710 |
+
const omitSelectedSite = !eventProperties.forceSiteId && (0,calypso_lib_analytics_utils__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(eventProperties.path);
|
33711 |
const selectedSite = omitSelectedSite ? null : (0,calypso_state_ui_selectors__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(state);
|
33712 |
|
33713 |
if (selectedSite) {
|
65637 |
const supportVariation = (0,_support_variations__WEBPACK_IMPORTED_MODULE_19__/* .getSupportVariationFromMode */ .yQ)(mode);
|
65638 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_view', {
|
65639 |
support_variation: supportVariation,
|
65640 |
+
forceSiteId: true,
|
65641 |
location: 'help-center',
|
65642 |
section: sectionName
|
65643 |
});
|
65711 |
if (supportSite) {
|
65712 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65713 |
support_variation: 'happychat',
|
65714 |
+
forceSiteId: true,
|
65715 |
location: 'help-center',
|
65716 |
section: sectionName
|
65717 |
});
|
65718 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_live_chat_begin', {
|
65719 |
site_plan_product_id: productId,
|
65720 |
is_automated_transfer: supportSite.is_wpcom_atomic,
|
65721 |
+
forceSiteId: true,
|
65722 |
location: 'help-center',
|
65723 |
section: sectionName
|
65724 |
});
|
65743 |
}).then(() => {
|
65744 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65745 |
support_variation: 'kayako',
|
65746 |
+
forceSiteId: true,
|
65747 |
location: 'help-center',
|
65748 |
section: sectionName
|
65749 |
});
|
65773 |
}).then(response => {
|
65774 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_contact_submit', {
|
65775 |
support_variation: 'forums',
|
65776 |
+
forceSiteId: true,
|
65777 |
location: 'help-center',
|
65778 |
section: sectionName
|
65779 |
});
|
66051 |
}
|
66052 |
|
66053 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_contact_options_impression', {
|
66054 |
+
forceSiteId: true,
|
66055 |
location: 'help-center',
|
66056 |
chat_available: renderChat.state === 'AVAILABLE',
|
66057 |
email_available: renderEmail.render
|
66159 |
|
66160 |
const trackContactButtonClicked = () => {
|
66161 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_morehelp_click', {
|
66162 |
+
forceSiteId: true,
|
66163 |
location: 'help-center',
|
66164 |
section: sectionName
|
66165 |
});
|
66395 |
pathname: location.pathname,
|
66396 |
search: location.search,
|
66397 |
section,
|
66398 |
+
forceSiteId: true,
|
66399 |
location: 'help-center'
|
66400 |
});
|
66401 |
}, [location, section]); // reset the scroll location on navigation
|
66484 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
66485 |
const tracksData = {
|
66486 |
search_query: query,
|
66487 |
+
forceSiteId: true,
|
66488 |
location: 'help-center',
|
66489 |
section: sectionName,
|
66490 |
result_url: link
|
66932 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_moreresources_click', {
|
66933 |
is_business_or_ecommerce_plan_user: isBusinessOrEcomPlanUser,
|
66934 |
resource: resource,
|
66935 |
+
forceSiteId: true,
|
66936 |
location: 'help-center',
|
66937 |
section: sectionName
|
66938 |
});
|
66941 |
const trackWebinairsButtonClick = () => {
|
66942 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_help_courses_click', {
|
66943 |
is_business_or_ecommerce_plan_user: isBusinessOrEcomPlanUser,
|
66944 |
+
forceSiteId: true,
|
66945 |
location: 'help-center',
|
66946 |
section: sectionName
|
66947 |
});
|
67599 |
|
67600 |
function recordSibylArticleClick(article) {
|
67601 |
return () => (0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_page_open_sibyl_article', {
|
67602 |
+
forceSiteId: true,
|
67603 |
location: 'help-center',
|
67604 |
article_link: article.link,
|
67605 |
article_title: article.title
|
67726 |
/* harmony export */ });
|
67727 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69307);
|
67728 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
67729 |
+
/* harmony import */ var _automattic_data_stores__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(99706);
|
67730 |
+
/* harmony import */ var _automattic_happychat_connection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89645);
|
67731 |
+
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9818);
|
67732 |
+
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
|
67733 |
+
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4792);
|
67734 |
+
/* harmony import */ var calypso_state_selectors_get_primary_site_id__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87720);
|
67735 |
+
/* harmony import */ var calypso_state_ui_selectors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(20834);
|
67736 |
+
/* harmony import */ var _happychat_window_communicator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71645);
|
67737 |
+
/* harmony import */ var _hooks_use_still_need_help_url__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83822);
|
67738 |
+
/* harmony import */ var _stores__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(98865);
|
67739 |
+
/* harmony import */ var _help_center_container__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(30250);
|
67740 |
+
/* harmony import */ var _styles_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(62829);
|
|
|
67741 |
|
67742 |
|
67743 |
/* eslint-disable no-restricted-imports */
|
67752 |
|
67753 |
|
67754 |
|
|
|
67755 |
/**
|
67756 |
* Internal Dependencies
|
67757 |
*/
|
67772 |
const portalParent = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useRef)(document.createElement('div')).current;
|
67773 |
const {
|
67774 |
data: chatStatus
|
67775 |
+
} = (0,_automattic_data_stores__WEBPACK_IMPORTED_MODULE_5__/* .useSupportAvailability */ .p)('CHAT');
|
67776 |
const {
|
67777 |
data
|
67778 |
+
} = (0,_automattic_happychat_connection__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Boolean(chatStatus === null || chatStatus === void 0 ? void 0 : chatStatus.is_user_eligible));
|
67779 |
const {
|
67780 |
setShowHelpCenter
|
67781 |
+
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_stores__WEBPACK_IMPORTED_MODULE_7__/* .HELP_CENTER_STORE */ .aM);
|
67782 |
const {
|
67783 |
setUnreadCount
|
67784 |
+
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_stores__WEBPACK_IMPORTED_MODULE_7__/* .HELP_CENTER_STORE */ .aM);
|
67785 |
const {
|
67786 |
setSite
|
67787 |
+
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useDispatch)(_stores__WEBPACK_IMPORTED_MODULE_7__/* .HELP_CENTER_STORE */ .aM);
|
67788 |
const {
|
67789 |
show,
|
67790 |
isMinimized
|
67791 |
+
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => ({
|
67792 |
+
isMinimized: select(_stores__WEBPACK_IMPORTED_MODULE_7__/* .HELP_CENTER_STORE */ .aM).getIsMinimized(),
|
67793 |
+
show: select(_stores__WEBPACK_IMPORTED_MODULE_7__/* .HELP_CENTER_STORE */ .aM).isHelpCenterShown()
|
67794 |
}));
|
67795 |
const {
|
67796 |
unreadCount,
|
67797 |
closeChat
|
67798 |
+
} = (0,_happychat_window_communicator__WEBPACK_IMPORTED_MODULE_8__/* .useHCWindowCommunicator */ .g)(isMinimized || !show);
|
67799 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
67800 |
setUnreadCount(unreadCount);
|
67801 |
}, [unreadCount, setUnreadCount]);
|
67804 |
setShowHelpCenter(true);
|
67805 |
}
|
67806 |
}, [data, setShowHelpCenter]);
|
67807 |
+
const siteId = (0,react_redux__WEBPACK_IMPORTED_MODULE_2__/* .useSelector */ .v9)(state => (0,calypso_state_ui_selectors__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(state));
|
67808 |
+
const primarySiteId = (0,react_redux__WEBPACK_IMPORTED_MODULE_2__/* .useSelector */ .v9)(state => (0,calypso_state_selectors_get_primary_site_id__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(state));
|
67809 |
+
(0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => select(_stores__WEBPACK_IMPORTED_MODULE_7__/* .USER_STORE */ .Em).getCurrentUser());
|
67810 |
const currentSite = (_window = window) === null || _window === void 0 ? void 0 : (_window$helpCenterDat = _window.helpCenterData) === null || _window$helpCenterDat === void 0 ? void 0 : _window$helpCenterDat.currentSite;
|
67811 |
+
const site = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.useSelect)(select => select(_stores__WEBPACK_IMPORTED_MODULE_7__/* .SITE_STORE */ .j4).getSite(siteId || primarySiteId));
|
67812 |
setSite(currentSite ? currentSite : site);
|
67813 |
+
(0,_automattic_data_stores__WEBPACK_IMPORTED_MODULE_5__/* .useSupportAvailability */ .p)('CHAT');
|
67814 |
+
(0,_hooks_use_still_need_help_url__WEBPACK_IMPORTED_MODULE_10__/* .useStillNeedHelpURL */ .A)();
|
67815 |
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
67816 |
const classes = ['help-center'];
|
67817 |
portalParent.classList.add(...classes);
|
67818 |
portalParent.setAttribute('aria-modal', 'true');
|
67819 |
portalParent.setAttribute('aria-labelledby', 'header-text');
|
67820 |
document.body.appendChild(portalParent);
|
|
|
67821 |
return () => {
|
|
|
|
|
|
|
67822 |
document.body.removeChild(portalParent);
|
67823 |
closeChat();
|
67824 |
handleClose();
|
67825 |
};
|
67826 |
}, [portalParent]);
|
67827 |
+
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createPortal)((0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_help_center_container__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
67828 |
handleClose: handleClose,
|
67829 |
hidden: hidden
|
67830 |
}), portalParent);
|
67961 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69307);
|
67962 |
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
67963 |
/* harmony import */ var _automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
67964 |
+
/* harmony import */ var _automattic_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37499);
|
67965 |
+
/* harmony import */ var _automattic_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43239);
|
67966 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9818);
|
67967 |
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
|
67968 |
/* harmony import */ var _wordpress_react_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95885);
|
|
|
67969 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99196);
|
67970 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
67971 |
/* harmony import */ var _stores__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98865);
|
67977 |
|
67978 |
|
67979 |
|
|
|
67980 |
const PromotionalPopover = _ref => {
|
67981 |
let {
|
67982 |
iconElement
|
67993 |
} = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useDispatch)(_stores__WEBPACK_IMPORTED_MODULE_4__/* .HELP_CENTER_STORE */ .aM);
|
67994 |
const [isDismissed, setIsDismissed] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
|
67995 |
const {
|
67996 |
+
__
|
|
|
67997 |
} = (0,_wordpress_react_i18n__WEBPACK_IMPORTED_MODULE_5__/* .useI18n */ .QT)();
|
|
|
|
|
|
|
67998 |
|
67999 |
const recordDismiss = location => {
|
68000 |
(0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_helpcenter_promotion_popover_dismissed', {
|
68013 |
return null;
|
68014 |
}
|
68015 |
|
68016 |
+
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_automattic_components__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68017 |
className: "help-center__promotion-popover",
|
68018 |
isVisible: doneLoading && !hasSeenPromotion && !isDismissed,
|
68019 |
context: iconElement,
|
68031 |
}
|
68032 |
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("h1", null, __('✨ Our new Help Center', "full-site-editing")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", null, __('We moved our help resources! You can always find it in the top bar.', "full-site-editing")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
68033 |
className: "help-center__promotion-popover-actions"
|
68034 |
+
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_automattic_components__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
|
68035 |
style: {
|
68036 |
pointerEvents: 'all'
|
68037 |
},
|
68123 |
const forumTopicUrl = params.get('forumTopic');
|
68124 |
|
68125 |
const trackForumOpen = () => (0,_automattic_calypso_analytics__WEBPACK_IMPORTED_MODULE_1__/* .recordTracksEvent */ .jN)('calypso_inlinehelp_forums_open', {
|
68126 |
+
forceSiteId: true,
|
68127 |
location: 'help-center',
|
68128 |
section: sectionName
|
68129 |
});
|
help-center/dist/help-center.min.js
CHANGED
@@ -40,7 +40,7 @@ object-assign
|
|
40 |
*
|
41 |
* This source code is licensed under the MIT license found in the
|
42 |
* LICENSE file in the root directory of this source tree.
|
43 |
-
*/function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case p:case i:case a:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case u:return e;default:return t}}case o:return t}}}function E(e){return _(e)===p}},14971:(e,t,n)=>{"use strict";n(86141)},29175:(e,t,n)=>{"use strict";n.d(t,{VA:()=>v,l_:()=>S,AW:()=>k,F0:()=>y,rs:()=>x,s6:()=>m,LX:()=>I,k6:()=>U,TH:()=>N});var r=n(81665),o=n(99196),i=n.n(o),s=n(95878),a=n(81549),u=n(61898),c=n(7896),l=n(20099),p=n.n(l),d=(n(14971),n(31461)),f=(n(73463),function(e){var t=(0,a.Z)();return t.displayName=e,t}),h=f("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t},m=g("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i().createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(y,{history:this.history,children:this.props.children})},t}(i().Component);var w=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i().Component);var b={},_=0;function E(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(b[e])return b[e];var t=p().compile(e);return _<1e4&&(b[e]=t,_++),t}(e)(t,{pretty:!0})}function S(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i().createElement(m.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=e.history,a=e.staticContext,l=o?r.push:r.replace,p=(0,s.ob)(t?"string"==typeof n?E(n,t.params):(0,c.Z)({},n,{pathname:E(n.pathname,t.params)}):n);return a?(l(p),null):i().createElement(w,{onMount:function(){l(p)},onUpdate:function(e,t){var n=(0,s.ob)(t.to);(0,s.Hp)(n,(0,c.Z)({},p,{key:n.key}))||l(p)},to:n})}))}var C={},P=0;function I(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,s=n.strict,a=void 0!==s&&s,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=C[n]||(C[n]={});if(r[e])return r[e];var o=[],i={regexp:p()(e,o,t),keys:o};return P<1e4&&(r[e]=i,P++),i}(n,{end:i,strict:a,sensitive:c}),o=r.regexp,s=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],d=u.slice(1),f=e===l;return i&&!f?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:f,params:s.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?I(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),s=e.props,a=s.children,l=s.component,p=s.render;return Array.isArray(a)&&0===a.length&&(a=null),i().createElement(m.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:l?i().createElement(l,o):p?p(o):null:"function"==typeof a?a(o):null)}))},t}(i().Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function A(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function R(e){return"string"==typeof e?e:(0,s.Ep)(e)}function O(e){return function(){(0,u.Z)(!1)}}function L(){}i().Component;var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?I(o.pathname,(0,c.Z)({},e.props,{path:s})):t.match}})),r?i().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i().Component);var F=i().useContext;function U(){return F(h)}function N(){return F(m).location}},43292:(e,t,n)=>{"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.d(t,{Z:()=>i});var o=r();o.withExtraArgument=r;const i=o},18717:(e,t,n)=>{"use strict";n.d(t,{md:()=>d,UY:()=>l,qC:()=>p,MT:()=>c});var r=n(33028);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,l=t,p=[],d=p,f=!1;function h(){d===p&&(d=p.slice())}function g(){if(f)throw new Error(o(3));return l}function m(e){if("function"!=typeof e)throw new Error(o(4));if(f)throw new Error(o(5));var t=!0;return h(),d.push(e),function(){if(t){if(f)throw new Error(o(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),p=null}}}function y(e){if(!u(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(f)throw new Error(o(9));try{f=!0,l=s(l,e)}finally{f=!1}for(var t=p=d,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(o(10));s=e,y({type:a.REPLACE})}function w(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return y({type:a.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[i]=w,r}function l(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var s,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],p=e[c],d=l(p,t);if(void 0===d){t&&t.type;throw new Error(o(14))}i[c]=d,r=r||d!==p}return(r=r||u.length!==Object.keys(e).length)?i:e}}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},a=t.map((function(e){return e(s)}));return i=p.apply(void 0,a)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},57613:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{Z:()=>i});const i=function(e,t){void 0===t&&(t="");var n,i=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&r(e),u=t&&r(t),c=a||u;if(e&&r(e)?s=i:i.length&&(s.pop(),s=s.concat(i)),!s.length)return"/";if(s.length){var l=s[s.length-1];n="."===l||".."===l||""===l}else n=!1;for(var p=0,d=s.length;d>=0;d--){var f=s[d];"."===f?o(s,d):".."===f?(o(s,d),p++):p&&(o(s,d),p--)}if(!c)for(;p--;p)s.unshift("..");!c||""===s[0]||s[0]&&r(s[0])||s.unshift("");var h=s.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}},10547:e=>{"use strict";var t=256,n=[],r=window,o=Math.pow(t,6),i=Math.pow(2,52),s=2*i,a=255,u=Math.random;function c(e){var n,r=e.length,o=this,i=0,s=o.i=o.j=0,u=o.S=[];for(r||(e=[r++]);i<t;)u[i]=i++;for(i=0;i<t;i++)u[i]=u[s=a&s+e[i%r]+(n=u[i])],u[s]=n;(o.g=function(e){for(var n,r=0,i=o.i,s=o.j,u=o.S;e--;)n=u[i=a&i+1],r=r*t+u[a&(u[i]=u[s=a&s+n])+(u[s]=n)];return o.i=i,o.j=s,r})(t)}function l(e,t){var n,r=[],o=(typeof e)[0];if(t&&"o"==o)for(n in e)try{r.push(l(e[n],t-1))}catch(i){}return r.length?r:"s"==o?e:e+"\0"}function p(e,t){for(var n,r=e+"",o=0;o<r.length;)t[a&o]=a&(n^=19*t[a&o])+r.charCodeAt(o++);return f(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),f(e)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,f(n)]}}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(r,a),a.global=!0,Math.random;var u=a&&a.entropy||!1,h=[],g=(p(l(u?[r,f(n)]:0 in arguments?r:d(),3),h),new c(h));return p(f(g.S),n),function(){for(var e=g.g(6),n=o,r=0;e<i;)e=(e+r)*t,n*=t,r=g.g(1);for(;e>=s;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=u},p(Math.random(),n)},74294:(e,t,n)=>{"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),a=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),l(e,r,o)):u?(t||(t=new u),f(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},17768:(e,t,n)=>{var r=n(58749),o=n(87170),i=n(39431),s=n(31035)("socket.io-client");e.exports=t=u;var a=t.managers={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),u=o.source,c=o.id,l=o.path,p=a[c]&&l in a[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||p?(s("ignoring socket cache for %s",u),n=i(u,t)):(a[c]||(s("new io instance for %s",u),a[c]=i(u,t)),n=a[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=u,t.Manager=n(39431),t.Socket=n(72243)},39431:(e,t,n)=>{var r=n(44065),o=n(72243),i=n(8023),s=n(87170),a=n(93073),u=n(42150),c=n(31035)("socket.io-client:manager"),l=n(92543),p=n(87911),d=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new p({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)d.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)d.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},f.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=a(n,"open",(function(){o.onopen(),e&&e()})),s=a(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;c("connect attempt will timeout after %d",u);var l=setTimeout((function(){c("connect attempt timed out after %d",u),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(s),this},f.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",u(this,"ondata"))),this.subs.push(a(e,"ping",u(this,"onping"))),this.subs.push(a(e,"pong",u(this,"onpong"))),this.subs.push(a(e,"error",u(this,"onerror"))),this.subs.push(a(e,"close",u(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",u(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=l(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},93073:e=>{e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},72243:(e,t,n)=>{var r=n(87170),o=n(8023),i=n(81396),s=n(93073),a=n(42150),u=n(31035)("socket.io-client:socket"),c=n(54355),l=n(54632);e.exports=f;var p={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},d=o.prototype.emit;function f(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[s(e,"open",a(this,"onopen")),s(e,"packet",a(this,"onpacket")),s(e,"close",a(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},f.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(p.hasOwnProperty(e))return d.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(u("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){if(u("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;u("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},f.prototype.onclose=function(e){u("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var t=e.data||[];u("emitting event %j",t),null!=e.id&&(u("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?d.apply(this,t):this.receiveBuffer.push(t)},f.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);u("sending ack %j",o),t.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},f.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(u("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):u("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)d.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){u("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(u("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags.compress=e,this},f.prototype.binary=function(e){return this.flags.binary=e,this}},58749:(e,t,n)=>{var r=n(14243),o=n(31035)("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},8023:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},54146:(e,t,n)=>{var r=n(81708),o=n(24787),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function u(e,t){if(!e)return e;if(o(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(r(e)){for(var i=new Array(e.length),s=0;s<e.length;s++)i[s]=u(e[s],t);return i}if("object"==typeof e&&!(e instanceof Date)){i={};for(var a in e)i[a]=u(e[a],t);return i}return e}function c(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(r(e))for(var n=0;n<e.length;n++)e[n]=c(e[n],t);else if("object"==typeof e)for(var o in e)e[o]=c(e[o],t);return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=u(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=c(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(u,c,l){if(!u)return u;if(s&&u instanceof Blob||a&&u instanceof File){n++;var p=new FileReader;p.onload=function(){l?l[c]=this.result:i=this.result,--n||t(i)},p.readAsArrayBuffer(u)}else if(r(u))for(var d=0;d<u.length;d++)e(u[d],d,u);else if("object"==typeof u&&!o(u))for(var f in u)e(u[f],f,u)}(i),n||t(i)}},87170:(e,t,n)=>{var r=n(40744)("socket.io-parser"),o=n(2679),i=n(54146),s=n(81708),a=n(24787);function u(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=u,t.Decoder=p;var c=t.ERROR+'"encode error"';function l(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",e,n),n}function p(){this.reconstructor=null}function d(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:t.ERROR,data:"parser error: "+e}}u.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(e,t){function n(e){var n=i.deconstructPacket(e),r=l(n.packet),o=n.buffers;o.unshift(r),t(o)}i.removeBlobs(e,n)}(e,n):n([l(e)])},o(p.prototype),p.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return f("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i="";"-"!==e.charAt(++n)&&(i+=e.charAt(n),n!=e.length););if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===e.charAt(n+1))for(o.nsp="";++n;){if(","===(u=e.charAt(n)))break;if(o.nsp+=u,n===e.length)break}else o.nsp="/";var a=e.charAt(n+1);if(""!==a&&Number(a)==a){for(o.id="";++n;){var u;if(null==(u=e.charAt(n))||Number(u)!=u){--n;break}if(o.id+=e.charAt(n),n===e.length)break}o.id=Number(o.id)}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!(!1!==c&&(o.type===t.ERROR||s(c))))return f("invalid payload");o.data=c}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new d(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},p.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},d.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},d.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},24787:e=>{e.exports=function(e){return t&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var t="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer},2679:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},81708:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},73160:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;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,a){a=a||{};var u,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===c&&!1===isNaN(e))return a.long?s(u=e,o,"day")||s(u,r,"hour")||s(u,n,"minute")||s(u,t,"second")||u+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},23729:(e,t,n)=>{var r=n(98595),o=n(88120),i=[n(30225)];e.exports=r.createStore(o,i)},30225:(e,t,n)=>{e.exports=function(){return n(35414),{}}},35414:()=>{"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,o,i,s,a=gap,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(t,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,n=0;n<i;n+=1)s[n]=str(n,u)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],u))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:(e,t,n)=>{var r=n(49511),o=r.slice,i=r.pluck,s=r.each,a=r.bind,u=r.create,c=r.isList,l=r.isFunction,p=r.isObject;e.exports={createStore:f};var d={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function f(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",f=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var a=[i].concat(t);return e.apply(r,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))s(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!p(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){(e.warn?e.warn:e.log).apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},g=u(h,d,{plugins:[]});return g.raw={},s(g,(function(e,t){l(e)&&(g.raw[t]=a(g,e))})),s(e,(function(e){g._addStorage(e)})),s(t,(function(e){g._addPlugin(e)})),g}},49511:e=>{var t=Object.assign?Object.assign:function(e,t,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,n){e[n]=t}));return e},n=function(){if(Object.create)return function(e,n,r,o){var s=i(arguments,1);return t.apply(this,[Object.create(e)].concat(s))};{function e(){}return function(n,r,o,s){var a=i(arguments,1);return e.prototype=n,t.apply(this,[new e].concat(a))}}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){a(e,(function(e,n){return t(e,n),!1}))}function a(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:t,create:n,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(e,t){var n=u(e)?[]:{};return a(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:a,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}},88120:(e,t,n)=>{e.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:(e,t,n)=>{var r=n(49511),o=r.Global,i=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;s.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:a,remove:u,clearAll:function(){a((function(e,t){u(t)}))}};var s=o.document;function a(e){for(var t=s.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function u(e){e&&c(e)&&(s.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:(e,t,n)=>{var r=n(49511).Global;function o(){return r.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},71884:e=>{e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,n){t[e]=n},each:function(e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},50026:(e,t,n)=>{var r=n(49511).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=r.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}},70240:(e,t,n)=>{var r=n(49511).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);s((function(e){e.setAttribute(n,t),e.save(o)}))},read:function(e){if(a)return;var t=c(e),n=null;return s((function(e){n=e.getAttribute(t)})),n},each:function(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);s((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(r){n=i.createElement("div"),e=i.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(u,"___")}},90109:(e,t,n)=>{var r=n(49511).Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},49830:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},o)this.options[n]=void 0!==t&&n in t?t[n]:o[n]}i.prototype.getPluralForm=function(e,t){var n,o,i,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=(0,r.Z)(o)),s=this.pluralForms[e]=i),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,o){var i,s,a;return i=void 0===o?0:this.getPluralForm(e,o),s=n,t&&(s=t+this.options.contextDelimiter+n),(a=this.data[e][s])&&a[i]?a[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)}},77879:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=new(n(82066).QueryClient)},44966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(69307),o=(n(88691),n(11481)),i=n(4792),s=n(18717),a=n(43292),u=n(38606),c=n(70858),l=n(21058),p=n(59852),d=n(29726),f=n(15223),h=n(6255),g=n(91668),m=n(18724),y=n(76693),v=n(9044),w=n(82139),b=n(71799),_=n(9817),E=n(95884),S=n(90924);const C=(0,E.U)({currentUser:m.ZP,sites:w.ZP}),P=(0,s.MT)(C,(0,s.qC)(h.Z,S.f,(0,s.md)(a.Z,f.Z,y.Z)));(0,v.P)(P);const I=window.helpCenterData.currentSite;function k(e){let{children:t}=e;return(0,r.createElement)(i.zt,{store:P},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.Z,{siteId:I.id}),t))}I&&P.dispatch((0,b.B)(I.id)),P.dispatch((0,_.z)({name:"gutenberg-editor"})),o.ZP.configure({defaultLocaleSlug:window.helpCenterLocale}),(0,p.G)().then(d.v).then((e=>{e&&P.dispatch((0,g.lx)(e)),(0,c.M)(e||void 0,(0,l.Z)(P))}))},15692:(e,t,n)=>{"use strict";var r,o,i=n(69307),s=n(36115),a=n(55213),u=n(9818),c=n(91850),l=n(82066),p=n(77879),d=n(44966);null!==(r=window)&&void 0!==r&&null!==(o=r.helpCenterAdminBar)&&void 0!==o&&o.isLoaded&&c.render((0,i.createElement)(l.QueryClientProvider,{client:p.c},(0,i.createElement)(d.Z,null,(0,i.createElement)((function(){const{setShowHelpCenter:e}=(0,u.useDispatch)("automattic/help-center"),t=(0,u.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),n=document.getElementById("wp-admin-bar-help-center");return(0,i.useEffect)((()=>{t?n.classList.add("active"):n.classList.remove("active")}),[t,n]),n.onclick=()=>{t?(0,s.jN)("calypso_inlinehelp_close",{location:"help-center",section:"wp-admin"}):(0,s.jN)("calypso_inlinehelp_show",{location:"help-center",section:"wp-admin"}),e(!t)},(0,i.createElement)(a.Z,{handleClose:()=>e(!1)})}),null))),document.getElementById("help-center-masterbar"))},36707:()=>{window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en","en-gb"],upwork_support_locales:["de","de-at","de-li","de-lu","de-ch","es","es-cl","es-mx","fr","fr-ca","fr-be","fr-ch","it","it-ch","ja","nl","nl-be","nl-nl","pt","pt-pt","pt-br","sv","sv-fi","sv-se"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",is_running_in_jetpack_site:!1,gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786},window.process={env:{NODE_DEBUG:"dev"}}},99477:(e,t,n)=>{"use strict";var r=n(69307),o=n(36115),i=n(53762),s=n(92421),a=n(55075),u=n(55213),c=n(30849),l=n(55609),p=n(94333),d=n(9818),f=n(85192),h=n(98817),g=n(72779),m=n.n(g),y=n(82066),v=n(4792),w=n(73041),b=n(77879),_=n(44966);function E(){const[e,t]=(0,r.useState)(),n=(0,p.useMediaQuery)("(min-width: 480px)"),c=(0,v.v9)(w.Z),h=(0,d.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),[g,y]=(0,r.useState)(!1),{setShowHelpCenter:b}=(0,d.useDispatch)("automattic/help-center"),[_,E]=(0,r.useState)(!1),{data:S,isLoading:C}=(0,i.R)(window._currentSiteId);(0,r.useEffect)((()=>{!C&&S&&E(!S.has_seen_whats_new_modal)}),[S,C]);(0,r.useEffect)((()=>{const e=setTimeout((()=>y(!0)),0);return()=>clearTimeout(e)}),[]);const P=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Button,{className:m()("entry-point-button","help-center",{"is-active":h}),onClick:()=>{(0,o.jN)("calypso_inlinehelp_"+(h?"close":"show"),{location:"help-center",section:c}),b(!h)},icon:(0,r.createElement)(s.Z,{ref:n=>{n!==e&&t(n)},newItems:_}),label:"Help","aria-pressed":!!h,"aria-expanded":!!h}),(0,r.createElement)(a.Z,{iconElement:e}));return(0,r.createElement)(r.Fragment,null,n&&g&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(f.Ox,{scope:"core/edit-post"},P),(0,r.createElement)(f.Ox,{scope:"core/edit-site"},P),(0,r.createElement)(f.Ox,{scope:"core/edit-widgets"},P)),(0,r.createElement)(u.Z,{handleClose:()=>b(!1)}))}(0,h.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(y.QueryClientProvider,{client:b.c},(0,r.createElement)(_.Z,null,(0,r.createElement)(c.Iw,{localeSlug:window.helpCenterLocale},(0,r.createElement)(E,null))))})},67459:(e,t,n)=>{"use strict";n.d(t,{p:()=>l,x:()=>p});var r=n(85694),o=n(83685),i=n(96598),s=n(26991),a=n(26347),u=n(64802),c=n(20336);const l=(0,o.P1)(((e,t)=>{const n=(0,u.Z)(e,t);return(0,r._)(n,{root:(0,c.Z)(e,t),homepage:(0,c.Z)(e,t,"homepage"),identity:(0,c.Z)(e,t,"identity"),menus:(0,c.Z)(e,t,"menus")},(0,i.H)(),(0,a.Nf)())}),((e,t)=>[(0,u.Z)(e,t)]));function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!e.length)return[];const r=e.split(/[\W_]+/g).filter(Boolean).map((e=>e.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((e,t)=>t+1===r.length?`(?=.*\\b${e})`:`(?=.*\\b${e}\\b)`)).join("")+".+","gi"),i=[],a=[],u=[];return t.forEach((t=>{var n;t.title.toLowerCase()===e.toLowerCase()?i.push(t):o.test(t.title)?a.push(t):"en"===(0,s.Y)()&&null!==(n=t.synonyms)&&void 0!==n&&n.some((e=>r.includes(e)))&&u.push(t)})),[...i,...a,...u].slice(0,n)}},91040:(e,t,n)=>{"use strict";n.d(t,{Di:()=>r});const r=9619154},71688:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(69307),o=n(36115),i=n(38049),s=n.n(i),a=n(10975),u=n(13980),c=n.n(u),l=n(99196),p=n(4792),d=n(57925),f=n(73041);const h=s()("calypso:inline-help"),g=e=>{let{searchQuery:t="",location:n="inline-help-popover",isVisible:i=!0,placeholder:s,onSearch:u}=e;const c=(0,l.useRef)(),g=(0,a.Z)(),m=(0,p.v9)(f.Z);(0,l.useEffect)((()=>{var e;const t=null===(e=c.current)||void 0===e?void 0:e.searchInput;if("inline-help-popover"!==n||!t||!i)return;const r=setTimeout((()=>t.focus()),0);return()=>window.clearTimeout(r)}),[c,n,i]);return(0,r.createElement)(d.Z,{ref:c,initialValue:t,onSearch:e=>{const t=e.trim();"help-center"===n?(null==t?void 0:t.length)>2&&(0,o.jN)("calypso_inlinehelp_search",{search_query:e,location:n,section:m}):null!=t&&t.length&&(h("search query received: ",e),(0,o.jN)("calypso_inlinehelp_search",{search_query:e,location:n,section:m})),null==u||u(e)},placeholder:s||g("Search for help…"),delaySearch:!0})};g.propTypes={searchQuery:c().string,onSearch:c().func,placeholder:c().string,location:c().string};const m=g},85774:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const a=e=>{let{post:t,isLoading:n}=e;return n||!t?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:t.URL,target:"_blank",icon:!1},t.title)))};a.propTypes={post:i().object,isLoading:i().bool};const u=a},56077:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(77327),c=n(93125),l=n(6712);class p extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:e,postKey:t,isHelpCenter:n}=this.props;!(0,u.J0)(t)||e&&"minimal"!==e._state||this.props.fetchPost(t,n)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(p,"propTypes",{postKey:i().object.isRequired,isHelpCenter:i().bool});const d=(0,a.$j)(((e,t)=>({post:(0,l.UK)(e,t.postKey),isHelpCenter:t.isHelpCenter})),{fetchPost:c.SD})(p)},9232:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),a=n(63262),u=n(58311);function c(e){let{siteId:t}=e;const n=(0,s.I0)(),r=(0,s.v9)((e=>(0,u._g)(e,t)));return(0,i.useEffect)((()=>{t&&r&&n((0,a.LV)(t))}),[n,t,r]),null}c.propTypes={siteId:o().number};const l=c},38606:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(85300),c=n(87720),l=n(40540),p=n(52239),d=n(58863),f=n(79791);const h=e=>(0,u.Oz)(e,"recentSites");function g(){const e=(0,a.I0)();return(0,s.useEffect)((()=>{e(((e,t)=>{(0,p.Z)(t())||e((0,l.BU)())}))}),[e]),null}const m=e=>(t,n)=>{e&&!(0,d.Z)(n(),e)&&t((0,l.LV)(e))};function y(e){let{siteId:t}=e;const n=(0,a.I0)();return(0,s.useEffect)((()=>{t&&n(m(t))}),[n,t]),null}function v(){const e=(0,a.v9)(c.Z),t=(0,a.v9)(h),n=(0,a.I0)();return(0,s.useEffect)((()=>{const r=[...e?[e]:[],...t??[]];r.length&&n((e=>(t,n)=>{const r=n();(0,f.Z)(r)||e.forEach((e=>t(m(e))))})(r))}),[n,e,t]),null}function w(e){let{siteId:t,allSites:n=!1,primaryAndRecent:o=!1}=e;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(g,null),t&&(0,r.createElement)(y,{siteId:t}),o&&(0,r.createElement)(v,null))}w.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(99196),o=n(4792),i=n(36747),s=n(86169),a=n(12726);const u=(e,t)=>{const n=t(),r=(0,i.rc)(n),o=(0,a.Mo)(n),u=(0,a.iJ)(n);!r||o||u||e((0,s.Y9)(r))};const c=function(){const e=(0,o.I0)();return(0,r.useEffect)((()=>{e(u)})),null}},22169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),a=n(99196),u=n(91850),c=n.n(u),l=n(16771);const p=()=>{},d=i()("calypso:components:embed-container"),f={'blockquote[class^="instagram-"]':function e(t){if(d("processing instagram for",t),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}w("https://platform.instagram.com/en_US/embeds.js",e.bind(null,t))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function e(t){if(d("processing twitter for",t),"undefined"!=typeof twttr){try{window.twttr.widgets.load(t)}catch(n){}return}w("https://platform.twitter.com/widgets.js",e.bind(null,t))},"fb\\:post, [class^=fb-]":function(e){if(d("processing facebook for",e),"undefined"!=typeof fb)return;w("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",p)},"[class^=tumblr-]":function(e){if(d("processing tumblr for",e),b)return;function t(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(e){e.parentNode.removeChild(e)})),b=!1}b=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",t)}),30)},".jetpack-slideshow":function(e){d("processing slideshow for",e);let t=document.head.querySelector(`link[href="${g.CSS}"]`);window.jetpackSlideshowSettings={spinner:g.SPINNER},t||(t=!0,function(e){const t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}(g.CSS));const n=e.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(n,(e=>{e.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?w(g.CYCLE_JS,(()=>{E()})):(0,l.t)(g.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(e){d("processing story for ",e);const t=e.querySelector("a.wp-story-container, a.wp-story-overlay");t&&t.setAttribute("target","_blank")},".embed-reddit":function(e){d("processing reddit for ",e),w("https://embed.redditmedia.com/widgets/platform.js",p)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,g={CSS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/img/slideshow-loader.gif${h}`};function m(e){Object.entries(f).forEach((t=>{let[n,r]=t;const o=e.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(e){return!e.hasAttribute("data-wpcom-embed-processed")&&(e.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function w(e,t){let n=v[e];n||(n=new Promise((function(t,n){(0,r.ve)(e,(function(e){e?n(e):t()}))})),v[e]=n),n.then(t,(function(t){d("error loading "+e,t),v[e]=null}))}let b;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),w(g.JS,(()=>{_()}))}class S extends a.PureComponent{componentDidMount(){m(c().findDOMNode(this))}componentDidUpdate(){m(c().findDOMNode(this))}render(){return a.Children.only(this.props.children)}}},38782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(56666),o=n(69307),i=n(56399),s=n(97493),a=n(47498),u=n(72779),c=n.n(u),l=n(11481),p=n(92819),d=n(13980),f=n.n(d),h=n(99196);class g extends h.Component{render(){const e=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),t={...(0,p.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName","iconComponent"),className:e,rel:"external"};this.props.icon&&(t.target="_blank"),t.target&&(t.rel=t.rel.concat(" noopener noreferrer")),t.href&&(t.href=(0,a.aq)(t.href));const n=this.props.iconComponent||(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",t,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(g,"defaultProps",{iconSize:18,showIconFirst:!1,iconComponent:null}),(0,r.Z)(g,"propTypes",{className:f().string,href:f().string,onClick:f().func,icon:f().bool,iconSize:f().number,target:f().string,showIconFirst:f().bool,iconClassName:f().string,iconComponent:f().object});const m=g},66753:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(13980),c=n.n(u),l=n(99196);class p extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(e=>{this.currentTextField=e;const{inputRef:t}=this.props;t&&("function"==typeof t?t(e):t.current=e)})),(0,o.Z)(this,"selectOnFocus",(e=>{this.props.selectOnFocus&&e.target.select()})),(0,o.Z)(this,"onChange",(e=>{var t,n;this.setState({value:e.target.value}),null===(t=(n=this.props).onChange)||void 0===t||t.call(n,e)}))}componentDidUpdate(e){this.updateValueIfNeeded(e.value)}updateValueIfNeeded(e){const{value:t}=this.props;e===t&&t===this.state.value||this.setState({value:t})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:e,isValid:t,selectOnFocus:n,inputRef:o,onChange:s,value:u,...c}=this.props,l=a()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(p,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},57925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(69307),i=n(98148),s=n(72779),a=n.n(s),u=n(99196),c=n(12982);const l=(e,t)=>{let{className:n,...s}=e;return(0,o.createElement)(i.Z,{className:a()("search-card",n)},(0,o.createElement)(c.ZP,(0,r.Z)({ref:t},s)))},p=(0,u.forwardRef)(l)},12982:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>P});var r=n(7896),o=n(56666),i=n(69307),s=n(6010),a=n(79321),u=n(5869),c=n(17108),l=n(60199),p=n(72779),d=n.n(p),f=n(11481),h=n(92819),g=n(13980),m=n.n(g),y=n(99196),v=n(88767),w=n(66753),b=n(28816),_=n(44567);const E=()=>{};function S(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class C extends y.Component{constructor(e){super(e),(0,o.Z)(this,"setOpenIconRef",(e=>this.openIcon=e)),(0,o.Z)(this,"setSearchInputRef",(e=>this.searchInput=e)),(0,o.Z)(this,"setOverlayRef",(e=>this.overlay=e)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),r=parseFloat(n.paddingLeft),o=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(e=>{this.setState({keyword:e.target.value})})),(0,o.Z)(this,"openSearch",(e=>{e.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,_.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(e=>{e.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(e),(0,_.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(e=>{"Enter"===e.key&&(0,a.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.isSearchOnEnterMode()&&"Enter"===e.key&&this.updateSearch(),this.props.onKeyDown(e)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const e=this.searchInput.value;e&&(this.searchInput.value="",this.searchInput.value=e),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),(0,o.Z)(this,"updateSearch",(()=>{this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword))})),(0,o.Z)(this,"isSearchOnEnterMode",(()=>"on-enter"===this.props.searchMode)),(0,o.Z)(this,"isSearchOnWriteMode",(()=>!this.isSearchOnEnterMode())),this.instanceId=(0,v.Z)(),this.state={keyword:e.initialValue||"",isOpen:!!e.isOpen,hasFocus:e.autoFocus},this.closeListener=S.bind(this,"closeSearch"),this.openListener=S.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==e.isOpen&&this.setState({isOpen:e.isOpen}),this.props.value===e.value||!e.value&&""!==e.value||e.value===this.state.keyword||this.setState({keyword:e.value})}componentDidUpdate(e,t){this.scrollOverlay(),(this.state.isOpen&&!t.isOpen||this.props.autoFocus&&!e.autoFocus)&&this.focus(),this.state.keyword!==t.keyword&&((this.isSearchOnWriteMode()||""===this.state.keyword||this.props.applySearch)&&this.updateSearch(),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const e=this.state.keyword,t=this.props.placeholder||f.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,a=this.state.isOpen||!this.props.pinned||this.props.initialValue,l=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},p=d()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":a,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":!this.props.hideFocus&&this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),h=d()("search__input-fade",this.props.dir),g=d()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:p,role:"search"},(0,i.createElement)(s.$,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":f.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(u.Z,{icon:c.Z,className:"search__open-icon"})),(0,i.createElement)("div",{className:h},(0,i.createElement)(w.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||f.ZP.translate("Search"),"aria-hidden":!a,className:g,placeholder:t,role:"searchbox",value:e,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},l)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":f.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(u.Z,{icon:l.Z,className:"search__close-icon"}))}}(0,o.Z)(C,"propTypes",{additionalClasses:m().string,initialValue:m().string,value:m().string,placeholder:b.Z,pinned:m().bool,delaySearch:m().bool,delayTimeout:m().number,describedBy:m().string,onSearch:m().func.isRequired,onSearchChange:m().func,onSearchOpen:m().func,onSearchClose:m().func,analyticsGroup:m().string,overlayStyling:m().func,autoFocus:m().bool,disabled:m().bool,onKeyDown:m().func,onClick:m().func,disableAutocorrect:m().bool,onBlur:m().func,searching:m().bool,isOpen:m().bool,dir:m().oneOf(["ltr","rtl"]),fitsContainer:m().bool,maxLength:m().number,minLength:m().number,hideClose:m().bool,hideFocus:m().bool,compact:m().bool,hideOpenIcon:m().bool,inputLabel:m().string,searchMode:m().string,applySearch:m().bool}),(0,o.Z)(C,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:E,onSearchOpen:E,onSearchClose:E,onKeyDown:E,onClick:E,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,hideFocus:!1,compact:!1,hideOpenIcon:!1,searchMode:"when-typing",applySearch:!1});const P=C},28816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){function t(t,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?t?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:e(n,r,o,i)}const n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n){n=n||"ANONYMOUS";const r=e[t];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},2402:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(82066),o=n(72429);const i=["New","Open","Hold"],s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useQuery)(["activeSupportTickets",e],(()=>o.Z.req.get("/support-history",{email:e,apiNamespace:"wpcom/v2"})),{enabled:!!e,select:e=>{let{data:t}=e;return t.filter((e=>"Zendesk_History"===e.type&&i.includes(e.status)))},meta:{persist:!1},...t})}},1230:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(6339),o=n(82066),i=n(4792),s=n(72429),a=n(30963);const u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,i.v9)(a.Z);return(0,o.useQuery)(["support-article-alternates",e,t],(()=>s.Z.req.get(`/support/alternates/${e}/posts/${t}`)),{...n,enabled:!(0,r.TF)(u)&&!(!e||!t),refetchOnMount:!1,refetchOnWindowFocus:!1,select:e=>e[u]})}},36190:(e,t,n)=>{"use strict";n.d(t,{fF:()=>i,lB:()=>s,n5:()=>a,Dt:()=>u,j_:()=>c,EV:()=>l,y2:()=>p,yf:()=>d,xV:()=>f,E9:()=>h,O5:()=>g,pP:()=>m,Ai:()=>y,zR:()=>v,Uk:()=>w,L:()=>b,cf:()=>_,Hb:()=>E,zv:()=>S,oh:()=>C});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:ad-tracking"),s="https://connect.facebook.net/en_US/fbevents.js",a="https://www.googletagmanager.com/gtag/js?id=",u="https://bat.bing.com/bat.js",c="https://static.criteo.net/js/ld/ld.js",l="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",p="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",d="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",f="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",h="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",g="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",m="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",y="https://static.ads-twitter.com/uwt.js",v="https://snap.licdn.com/li.lms-analytics/insight.min.js",w="https://a.quora.com/qevents.js",b="https://amplify.outbrain.com/cp/obtp.js",_="https://s.pinimg.com/ct/core.js",E={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",wpcomGoogleGA4Gtag:"G-1H4VG5F5JF",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleGA4Gtag:"G-YELRMVV4YG",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},S="dcmsid",C=1800},33675:(e,t,n)=>{"use strict";n.d(t,{j:()=>u,I:()=>l});var r=n(36115),o=n(13421),i=n(88767),s=n(54995),a=n(36190);n(28122);function u(e){if(!(0,s.G0)("floodlight"))return;const t=["event","conversion",{...{...c(),allow_custom_scripts:!0},...e}];(0,a.fF)("recordParamsInFloodlightGtag:",t),window.gtag(...t)}function c(){const e={},t=(0,r.ts)(),n=(0,r.di)();return t&&(e.u4=t.hashedPii.ID),n&&(e.u5=n),e}function l(e){if(!(0,s.G0)("floodlight"))return;const t=function(){const e=o.parse(document.cookie)[a.zv];if(e)return(0,a.fF)("Floodlight: Existing session: "+e),e;const t=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,a.fF)("Floodlight: New session: "+t),t}();document.cookie=o.serialize(a.zv,t,{maxAge:a.oh}),(0,a.fF)("retarget: recordPageViewInFloodlight: wpvisit"),u({session_id:t,u6:e,u7:t,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,a.fF)("retarget: recordPageViewInFloodlight: wppv"),u({u6:e,u7:t,send_to:"DC-6355556/wordp0/wppv+standard"})}},98565:(e,t,n)=>{"use strict";n.d(t,{tJ:()=>i,cY:()=>a,$Q:()=>u});var r=n(9415),o=n(36190);n(28122);let i;!function(e){e[e.JETPACK=0]="JETPACK",e[e.WPCOM=1]="WPCOM"}(i||(i={}));const s={[i.WPCOM]:o.Hb.wpcomGoogleGA4Gtag,[i.JETPACK]:o.Hb.jetpackGoogleGA4Gtag};function a(e){window.gtag("config",o.Hb.wpcomGoogleGA4Gtag,e),(0,r.Z)()&&window.gtag("config",o.Hb.jetpackGoogleGA4Gtag,e)}function u(e,t,n){window.gtag("event","page_view",{send_to:s[n],page_title:e,page_location:t})}},95157:(e,t,n)=>{"use strict";n.d(t,{LT:()=>a,Uk:()=>u,vL:()=>c,Zf:()=>l});var r=n(36115),o=n(9415),i=n(77649),s=n(98565);n(28122);function a(e){s.cY(e),window.gtag("config",(0,i.h)(),e)}function u(){const e=(0,r.ts)();return{...e&&{user_id:e.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,o.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=n?s.tJ.JETPACK:s.tJ.WPCOM;s.$Q(t,e,r);const o={...u(),page_path:e,page_title:t};window.gtag("config",(0,i.h)(n),o)}function l(e,t,n,r){window.gtag("event",t,{event_category:e,event_label:n,value:r})}},30214:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(36115),o=n(84898),i=n(54995),s=n(77649),a=n(36190);n(28122);const u=function(e){let t,n="not-loading";const r=new Promise((e=>{t=e}));return()=>("not-loading"===n&&(n="loading",e().then((e=>{n="loaded",t(e)}),(()=>{n="not-loading"}))),r)}((async()=>{const e=function(){const e=[];(0,i.G0)("facebook")&&e.push(a.lB);const t=[(0,i.G0)("ga")&&(0,s.h)(),(0,i.G0)("googleAds")&&a.Hb.wpcomGoogleAdsGtag,(0,i.G0)("floodlight")&&a.Hb.wpcomFloodlightGtag].filter((e=>!1!==e));t.length>0&&e.push(a.n5+t[0]);(0,i.G0)("bing")&&e.push(a.Dt);(0,i.G0)("criteo")&&e.push(a.j_);(0,i.G0)("quantcast")&&e.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");(0,i.G0)("twitter")&&e.push(a.Ai);(0,i.G0)("linkedin")&&e.push(a.zR);(0,i.G0)("quora")&&e.push(a.Uk);(0,i.G0)("outbrain")&&e.push(a.L);(0,i.G0)("pinterest")&&e.push(a.cf);return e}();let t=!1;for(const r of e){try{await(0,o.ve)(r)}catch(n){t=!0,(0,a.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,a.fF)("loadTrackingScripts: [Loaded]",r)}if(t)throw new Error("One or more tracking scripts failed to load");(0,a.fF)("loadTrackingScripts: load done"),function(){(0,i.G0)("facebook")&&function(){let e={};const t=(0,r.ts)();t&&(e={em:t.hashedPii.email});(0,a.fF)("initFacebook",e),window.fbq("init",a.Hb.facebookInit,e),window.fbq("set","autoConfig",!1,a.Hb.facebookJetpackInit),window.fbq("init",a.Hb.facebookJetpackInit,e)}();if((0,i.G0)("bing")){const e={ti:a.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(e))}(0,i.G0)("twitter")&&window.twq("init",a.Hb.twitterPixelId);(0,i.G0)("quora")&&window.qp("init",a.Hb.quoraPixelId);if((0,i.G0)("pinterest")){const e=(0,r.ts)(),t=e?{em:e.hashedPii.email}:{};window.pintrk("load",a.Hb.pinterestInit,t)}(0,a.fF)("loadTrackingScripts: init done")}(),(0,a.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var r=n(7369),o=n(54995),i=n(36190),s=n(33675),a=n(30214);n(28122);let u=0;async function c(e){if(await(0,r.Z)(),await(0,a._)(),(0,i.fF)("retarget:",e),(0,o.G0)("quantcast")){const e={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",e),window._qevents.push(e)}if((0,o.G0)("facebook")){const e=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",e),window.fbq(...e)}if((0,o.G0)("bing")&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),(0,o.G0)("googleAds")){const t=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:e}];(0,i.fF)("retarget: [Google Ads] WPCom",t),window.gtag(...t)}(0,s.I)(e),(0,o.G0)("pinterest")&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),(0,o.G0)("adroll")&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const t=Date.now()/1e3;if(t>=u+86400){if(u=t,(0,o.G0)("outbrain")){const e=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",e),window.obApi(...e)}if((0,o.G0)("iconMedia")){const e=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",e),(new window.Image).src=e}if((0,o.G0)("twitter")){const e=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",e),window.twq(...e)}if((0,o.G0)("gemini")){const e=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",e),(new window.Image).src=e}if((0,o.G0)("quora")){const e=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",e),window.qp(...e)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},28122:(e,t,n)=>{"use strict";var r=n(54995),o=n(36190);function i(){window.dataLayer&&window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date))}"undefined"!=typeof window&&((0,r.K2)("ga")&&i(),(0,r.K2)("facebook")&&function(){if(window.fbq)return;const e=window.fbq=function(){e.callMethod?e.callMethod.apply(e,arguments):e.queue.push(arguments)};window._fbq||(window._fbq=e);window._fbq.disablePushState=!0,e.push=e,e.loaded=!0,e.version="2.0",e.queue=[]}(),(0,r.K2)("bing")&&!window.uetq&&(window.uetq=[]),(0,r.K2)("criteo")&&!window.criteo_q&&(window.criteo_q=[]),(0,r.K2)("quantcast")&&!window._qevents&&(window._qevents=[]),(0,r.K2)("googleAds")&&(i(),(0,r.G0)("googleAds")&&window.gtag("config",o.Hb.wpcomGoogleAdsGtag)),(0,r.K2)("floodlight")&&(i(),(0,r.G0)("floodlight")&&window.gtag("config",o.Hb.wpcomFloodlightGtag)),(0,r.K2)("twitter")&&function(){if(window.twq)return;const e=window.twq=function(){e.exe?e.exe.apply(e,arguments):e.queue.push(arguments)};e.version="1.1",e.queue=[]}(),(0,r.K2)("linkedin")&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=o.Hb.linkedInPartnerId)),(0,r.K2)("quora")&&function(){if(window.qp)return;const e=window.qp=function(){e.qp?e.qp.apply(e,arguments):e.queue.push(arguments)};e.queue=[]}(),(0,r.K2)("outbrain")&&function(){const e=window.obApi=function(){e.dispatch?e.dispatch.apply(e,arguments):e.queue.push(arguments)};e.version="1.0",e.loaded=!0,e.marketerId=o.Hb.outbrainAdvId,e.queue=[]}(),(0,r.K2)("pinterest")&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const e=window.pintrk;e.queue=[],e.version="3.0"}}(),(0,r.K2)("adroll")&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=o.xV,(new window.Image).src=o.E9},trackPurchase:function(){(new window.Image).src=o.O5,(new window.Image).src=o.pP}})))},25394:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,w:()=>i});var r=n(36190);n(28122);function o(e,t){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,e,t)}function i(e){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",e)}},46272:(e,t,n)=>{"use strict";n.d(t,{U:()=>d,K:()=>f});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(9415),u=n(36190),c=n(54995);const l=s()("calypso:analytics:fullstory");let p=!1;function d(){h(),window.FS&&(l("retargetFullStory"),window.FS.restart(),g())}function f(e,t){if(h(),!window.FS||!e)return;const n=m(t);l("recordFullStoryEvent:",{name:e,props:n}),window.FS.event(e,n),g()}function h(){var e,t,n,r,i,s,d,f;!p&&o.ZP.isEnabled("fullstory")&&(0,c.G0)("fullstory")?(p=!0,l("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,a.Z)()?u.Hb.fullStoryJetpack:u.Hb.fullStory,window._fs_namespace="FS",e=window,t=document,n=window._fs_namespace,r="script",i="user",l("maybeAddFullStoryScript:","script loading"),n in e?e.console&&e.console.log&&e.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((d=e[n]=function(e,t,n){d.q?d.q.push([e,t,n]):d._api(e,t,n)}).q=[],(s=t.createElement(r)).async=1,s.crossOrigin="anonymous",s.src="https://"+window._fs_script,(f=t.getElementsByTagName(r)[0]).parentNode.insertBefore(s,f),d.identify=function(e,t,n){d(i,{uid:e},n),t&&d(i,t,n)},d.setUserVars=function(e,t){d(i,e,t)},d.event=function(e,t,n){d("event",{n:e,p:t},n)},d.anonymize=function(){d.identify(!1)},d.shutdown=function(){d("rec",!1)},d.restart=function(){d("rec",!0)},d.log=function(e,t){d("log",[e,t])},d.consent=function(e){d("consent",!arguments.length||e)},d.identifyAccount=function(e,t){s="account",(t=t||{}).acctId=e,d(s,t)},d.clearUserCookie=function(){},d.setVars=function(_n,e){d("setVars",[_n,e])},d._w={},f="XMLHttpRequest",d._w[f]=e[f],f="fetch",d._w[f]=e[f],e[f]&&(e[f]=function(){return d._w[f].apply(this,arguments)}),d._v="1.3.0")):p||l("maybeAddFullStoryScript:",!1)}function g(){if(!window.FS)return;const e=(0,r.ts)();e&&(l("maybeIdentifyUser:",e),window.FS.identify(e.hashedPii.ID))}function m(e){const t={};e="object"==typeof e?e:{};for(const[n,r]of Object.entries(e)){const e=typeof r;"string"===e?t[n+"_str"]=r:"boolean"===e?t[n+"_bool"]=r:"number"===e||"bigint"===e?-1!==String(r).indexOf(".")?t[n+"_real"]=r:t[n+"_int"]=r:"object"===e&&(t[n]=m(r))}return t}},44567:(e,t,n)=>{"use strict";n.d(t,{eK:()=>l,Yh:()=>p});var r=n(38049),o=n.n(r),i=n(95157),s=n(54995);const a=o()("calypso:analytics:ga");let u=!1;function c(){if(!u){const e={send_page_view:!1,...(0,i.Uk)()};a("parameters:",e),(0,i.LT)(e),u=!0}}const l=d((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(e,t,n)})),p=d((function(e,t,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),a(o),(0,i.Zf)(e,t,n,r)}));function d(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(0,s.G0)("ga")?(c(),e(...n)):a("[Disallowed] analytics %s( %o )",e.name,n)}}},80252:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(20899),o=n(38049),i=n.n(o),s=n(9415),a=n(54995);const u=i()("calypso:analytics:hotjar");let c=!1;function l(){if(c||!(0,r.ZP)("hotjar_enabled")||!(0,a.G0)("hotjar"))return void u("Not loading HotJar script");const e=(0,s.Z)()?{hjid:3165344,hjsv:6}:{hjid:227769,hjsv:5};var t,n,o,i;t=window,n=document,u("Loading HotJar script"),t.hj=t.hj||function(){(t.hj.q=t.hj.q||[]).push(arguments)},t._hjSettings=e,o=n.getElementsByTagName("head")[0],(i=n.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+t._hjSettings.hjid+".js?sv="+t._hjSettings.hjsv,o.appendChild(i),c=!0}},70858:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(e,t){await(0,r.MB)(e,t);const o=(0,r.ts)();if("object"==typeof e&&o&&(0,r.di)()){const e=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:t}=e;i("recordAliasInFloodlight",o),t()}}},7689:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,S:()=>a});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(e,t){if("object"==typeof e?i("Bumping stats %o",e):i("Bumping stat %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function a(e,t){if("object"==typeof e?i("Bumping page view with props %o",e):i("Bumping page view %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),a=n(93513),u=n(11915),c=n(7369),l=n(44567),p=n(38602),d=n(5323);function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(e,n),h(e,t,null==c?void 0:c.useJetpackGoogleAnalytics),(0,d.G)(),(0,u.Z)(),(0,a.n)(),(0,i.a)(e),(0,s.U)(),(0,p.V)()}),0)}async function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(e,t,n)}},38602:(e,t,n)=>{"use strict";n.d(t,{x:()=>u,V:()=>c});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let e=window.localStorage.getItem("analyticsQueue");return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e}function a(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];"string"==typeof t&&"function"==typeof i[e]&&i[e]().then((e=>{"function"==typeof e[t]&&e[t].apply(null,r||void 0)}))}function u(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return a(e,t,...r);let u=s();const c={moduleName:e,trigger:t,args:r};u.push(c),u=u.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(u))}function c(){if(!window.localStorage)return;const e=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&"string"==typeof e.trigger&&(o("Processing item in queue.",e),a(e.moduleName,e.trigger,...e.args))}))}},5323:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const e=window.location.href,t=(0,r.Z)(e),n=(null==t?void 0:t.searchParams.get("aff"))||(null==t?void 0:t.searchParams.get("affiliate")),s=null==t?void 0:t.searchParams.get("cid"),a=null==t?void 0:t.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:t.host+t.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:a,referrer:e}))}},93513:(e,t,n)=>{"use strict";n.d(t,{n:()=>f});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),a=n(78920);const u=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function p(e,t){return-1!==c.indexOf(e)&&("utm_source"===e||"utm_campaign"===t?function(e){return l.test(e)}(t):function(e,t){return"gclid"===e?t.length<=100:"keyword"===e?t.length<=80:t.length<=50}(e,t))}function d(e,t){document.cookie=o.serialize(e,t,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function f(){var e;if(!document.location.search)return void u("No query data in URL.");const t=null===(e=(0,a.Z)(document.location.href))||void 0===e?void 0:e.searchParams;let n=new URLSearchParams;if(t){const e=Array.from(t.entries()).filter((e=>{let[t,n]=e;return p(t,n)}));n=new URLSearchParams(e),t.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",t.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void u("Missing utm_source or utm_campaign.");const o=n.toString();o&&(u("ad_details: "+o),d("ad_details",o),d("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(20899),o=n(35899),i=n(36747),s=n(86091);const a=e=>t=>{const n=e.getState(),a={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},u=(0,o.Z)(t.path)?null:(0,s.Z)(n);return u&&Object.assign(a,{blog_id:u.ID,blog_lang:u.lang,site_id_label:u.jetpack?"jetpack":"wpcom",site_plan_id:u.plan?u.plan.product_id:null}),a}},39297:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const a=o()("calypso:analytics:refer"),u=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(e){let{affiliateId:t,campaignId:n,subId:r,referrer:o}=e;a("Recording affiliate referral.",{affiliateId:t,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:t,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();a("Fetching Refer platform response.");try{const e=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),t=await e.json();if(e.ok)return a("Recording Refer platform success response.",t),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!0,description:t.message||"success"});a("Recording Refer platform error response.",t),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!1,description:t.message||"error"})}catch(p){a("Failed to fetch Refer platform response.",p)}}},54995:(e,t,n)=>{"use strict";n.d(t,{K2:()=>h,G0:()=>g});var r=n(36115),o=n(20899),i=n(32486),s=n(69874),a=n(94776),u=n(14254);let c;!function(e){e.ESSENTIAL="essential",e.ADVERTISING="advertising",e.ANALYTICS="analytics"}(c||(c={}));const l={ga:c.ADVERTISING,gaEnhancedEcommerce:c.ADVERTISING,fullstory:c.ADVERTISING,hotjar:c.ADVERTISING,bing:c.ADVERTISING,floodlight:c.ADVERTISING,googleAds:c.ADVERTISING,outbrain:c.ADVERTISING,pinterest:c.ADVERTISING,twitter:c.ADVERTISING,facebook:c.ADVERTISING,quantcast:null,gemini:null,experian:null,iconMedia:null,linkedin:null,criteo:null,pandora:null,quora:null,adroll:null},p=()=>"dataLayer"in window&&"gtag"in window,d={ga:p,gaEnhancedEcommerce:p,floodlight:p,googleAds:p,fullstory:()=>"FS"in window,hotjar:()=>"hj"in window,bing:()=>"uetq"in window,outbrain:()=>"obApi"in window,pinterest:()=>"pintrk"in window,twitter:()=>"twq"in window,facebook:()=>"fbq"in window,linkedin:()=>"_linkedin_data_partner_id"in window,criteo:()=>"criteo_q"in window,quora:()=>"qp"in window,adroll:()=>"adRoll"in window},f=e=>{if((0,a.b)()||(0,r.vX)()||(0,i.Z)()||!o.ZP.isEnabled("ad-tracking"))return!1;if(c.ADVERTISING===e&&(0,s.Z)())return!1;const t=(0,u.Z)();return t.ok&&t.buckets[e]},h=e=>{const t=l[e];return null!==t&&f(t)},g=e=>h(e)&&(e=>{const t=d[e];return!t||t()})(e)},17032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{tracksEvents:()=>i,recordTracksEvent:()=>s,recordTracksPageView:()=>a,setTracksOptOut:()=>u});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(e,t){o.MR.once("record-event",((e,t)=>{i.emit("record-event",e,t)})),(0,o.jN)(e,t)}function a(e,t){(0,o.P6)(e,t)}function u(e){(0,o.lH)(["setOptOut",e])}},87360:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(38049);const o=n.n(r)()("calypso:analytics:utils")},77649:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(9415),o=n(36190);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.Z)();return e?o.Hb.jetpackGoogleAnalyticsGtag:o.Hb.wpcomGoogleAnalyticsGtag}},14254:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(13421),o=n(76814),i=n(44238);const s={essential:!1,analytics:!1,advertising:!1},a={essential:!0,analytics:!0,advertising:!0};function u(){const e=r.parse(document.cookie);if(!(0,o.Z)(e.country_code)&&!(0,i.Z)(e.region))return{ok:!0,buckets:a};const t=e.sensitive_pixel_option,n=e.sensitive_pixel_options,{ok:u,buckets:c}=n?JSON.parse(n):{};return"boolean"==typeof u?{ok:u,buckets:{...s,...c}}:["yes","no"].includes(t)?{ok:"yes"===t,buckets:a}:{ok:!1,buckets:s}}},76814:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(e){return void 0!==e&&r.includes(e)}},32486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((e=>encodeURIComponent(e)));function s(){const e=document.location.href,t=t=>-1!==e.indexOf(t),n=o.some(t)||i.some(t);return(0,r.Z)(`Is PII URL: ${n}`),n}},44238:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=["california","colorado","connecticut","utah","virginia"];function o(e){return void 0!==e&&r.includes(e.toLowerCase())}},69874:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(87360);const o=["/log-in"];function i(){const{href:e}=document.location,t=o.some((t=>-1!==e.indexOf(t)));return(0,r.Z)(`Is URL Excluded for Performance: ${t}`),t}},81653:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="marketing-coupons"},7369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(13421),o=n(87360);let i=null;async function s(){const e=r.parse(document.cookie);e.country_code&&e.region?(0,o.Z)('refreshCountryCodeCookieGdpr: country_code ( value: "%s") and region ( value: "%s") cookies are fresh',e.country_code,e.region):(null===i&&(i=function(){const e=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+e).then((e=>e.ok?e.json():e.body().then((e=>{throw new Error(e)})))).then((e=>({countryCode:e.country_short,region:e.region}))).catch((e=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",e),{countryCode:"unknown",region:"unknown"})))}().then((e=>{let{countryCode:t,region:n}=e;!function(e){const t=21600;document.cookie=r.serialize("country_code",e,{path:"/",maxAge:t}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",e)}(t),function(e){const t=21600;document.cookie=r.serialize("region",e,{path:"/",maxAge:t}),(0,o.Z)("refreshRegionCookieCcpa: region cookie set to %s",e)}(n)}))),await i,i=null)}},11915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87360),o=n(81653),i=n(78920);function s(){const e=(0,i.Z)(window.location.href),t=null==e?void 0:e.searchParams.get("coupon");if(!t)return;let n=null;try{const e=window.localStorage.getItem(o.Z);n=JSON.parse(e)}catch(a){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[t]=s,Object.keys(n).forEach((e=>{s>n[e]+6048e5&&delete n[e]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(a){}}},35899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i,o=e=>!e||!r.test(e)},78920:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(87360);function o(e){const t={"-":"+",_:"/",".":"="};return window.atob(e.replace(/[-_.]/g,(e=>t[e])))}function i(e){try{const t=new URL(e);if((0,r.Z)("urlParseAmpCompatible: original query:",t.search),t.searchParams.has("tk_amp")){const e=function(e){if(0===(e=e.split("*").filter((e=>e.length)).slice(2)).length||0!=e.length%2)return null;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=o(e[n+1]);return t}(t.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",e);for(const n of Object.keys(e))t.searchParams.has(n)||t.searchParams.set(n,e[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",t.search),t}catch{return null}}},32919:(e,t,n)=>{"use strict";n.d(t,{B$:()=>s});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:(e,t,n)=>{"use strict";n.d(t,{B$:()=>P});var r,o=n(20899),i=n(38049),s=n.n(i),a=n(92819),u=n(7689),c=n(47824),l=n(32919);const p=s()("calypso:browser-storage");let d=!1,f=!1;const h="calypso",g="calypso_store",m="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;p("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return p("IDB not found in host"),!1;if(f)return p("IDB disabled"),!1;try{const e=Date.now().toString();return await C(m,e),await b(m),!0}catch(e){return!1}})),w=(0,c.I)((()=>{const e=window.indexedDB.open(h,2);return new Promise(((t,n)=>{try{e&&(e.onerror=t=>{e.error&&"InvalidStateError"===e.error.name&&t.preventDefault(),n(e.error)},e.onsuccess=()=>{const n=e.result;n.onerror=function(e){var t,n;p("IDB Error",e),null!==(t=e.target)&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&n.name&&((0,u.P)("calypso-browser-storage",(0,a.kebabCase)(e.target.error.name)),"QuotaExceededError"===e.target.error.name&&(f=!0,v.clear(),p("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},t(n)},e.onupgradeneeded=()=>e.result.createObjectStore(g))}catch(r){n(r)}}))}));function b(e){return new Promise(((t,n)=>{w().then((r=>{const o=r.transaction(g,"readonly"),i=o.objectStore(g).get(e),s=()=>n(o.error);o.oncomplete=()=>t(i.result),o.onabort=s,o.onerror=s})).catch((e=>n(e)))}))}function _(e){return w().then((t=>new Promise(((n,r)=>{const o={},i=t.transaction(g,"readonly"),s=()=>r(i.error);i.objectStore(g).openCursor().onsuccess=t=>{const r=t.target.result;if(r){const{primaryKey:t,value:n}=r;!t||"string"!=typeof t||t===m||e&&!e.test(t)||(o[t]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function C(e,t){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return p("performing safari idb mitigation"),S=async function(){const e=await _();return await function(){return new Promise(((e,t)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{w.clear(),e()},n.onerror=e=>t(e)}))}(),new Promise(((t,n)=>{w().then((r=>{const o=r.transaction(g,"readwrite"),i=o.objectStore(g);for(let[t,n]of Object.entries(e))i.put(n,t);const s=()=>t(),a=()=>n(o.error);o.oncomplete=s,o.onabort=a,o.onerror=a}),(e=>n(e)))}))}(),S.finally((()=>{S=null,p("idb mitigation complete")})),S}(),new Promise(((n,r)=>{w().then((async o=>{const i=o.transaction(g,"readwrite");i.objectStore(g).put(t,e);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((e=>r(e)))}))}async function P(){if(d)return await(0,l.B$)();if(await v())return await new Promise(((e,t)=>{w().then((n=>{const r=n.transaction(g,"readwrite");r.objectStore(g).clear();const o=()=>t(r.error);r.oncomplete=()=>e(),r.onabort=o,r.onerror=o})).catch((e=>t(e)))}));window.localStorage.clear()}},94776:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},50118:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(24050);function o(e){return"string"!=typeof e||-1===e.indexOf("&")?e:(0,r.Z)(e)}},24050:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(e){r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}},93345:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(99196);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof e?e.trim():e,Math.max(1,t-1)).part}const i=/\s+(\S*)$/;function s(e,t){let n=0;if("string"==typeof e&&e.length>0){let r=e,o="";for(;n<t&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(e)&&e.length>0){let r=[],o=e.length-1;for(;n<t&&o>=0;){const i=s(e[o],t-n);r.unshift(i.part),n+=i.substituted,o--}return r=e.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(e)&&e.props.children){const o=s(e.props.children,t);if(o.substituted>0){const t=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(e,e.props,...t),substituted:o.substituted}}return{part:e,substituted:n}}return{part:e,substituted:n}}},8165:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(33927),o=n.n(r);function i(e){return o()(e)}},284:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,fh:()=>o});const r="G Suite",o="Google Workspace"},96598:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(10128),o=n(284);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(e)?o.HX:o.fh}},26991:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"],i=()=>o.includes((0,r.ZP)("env_id"))},16771:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(e,t){i(`Loading a jQuery dependent script from "${e}"`),(0,r.D1)(e,t)}},47824:(e,t,n)=>{"use strict";function r(e){return function(e){let t,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.length===t.length&&o.every(((e,n)=>e===t[n]))||(t=o,n=e(...o)),n};return r.clear=()=>{t=void 0,n=void 0},r}(e)}n.d(t,{I:()=>r})},7268:(e,t,n)=>{"use strict";n.d(t,{LP:()=>a});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function a(){const e=r.parse(document.cookie);if(void 0!==e.wpcom_token)return e.wpcom_token;const t=i().get(s);return t||!1}},26347:(e,t,n)=>{"use strict";n.d(t,{Nf:()=>r.N});var r=n(65337)},65337:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e){const t=!(!(0,r.get)(e,"discover_metadata")&&53424024!==(0,r.get)(e,"site_ID"));let n;if(t){const t=(0,r.get)(e,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(t,(e=>"pick"!==e.slug));n=o?o.slug:"feature"}return e.is_discover=t,e.discover_format=n,e}},51547:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("img[src]");return(0,r.forEach)(n,(e=>{const t=e.parentNode,n=document.createElement("div"),r=(e=>{let t=e.getAttribute("data-orig-size")||"";if(0===t.length)return"";t=t.split(",");const n=parseInt(t[0]??0),r=parseInt(t[1]??0);if(0===n)return"";if(0===r)return"";const o=parseFloat(n/r);return 1===o?"square":o>0&&o<9/16?"tall":o>=9/16&&o<2/3?"nine-sixteen":o>=2/3&&o<.8?"two-three":o>=.8&&o<1?"four-five":o>1&&o<=5/4?"five-four":o>5/4&&o<=1.5?"three-two":o>1.5&&o<=16/9?"sixteen-nine":o>16/9?"wide":""})(e);n.className="image-wrapper "+r,t.replaceChild(n,e),n.appendChild(e)})),e}},53544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),a=n(59755),u=n(54855),c=n(95822);const l=e=>{if(function(e){if(!e||!e.getAttribute("src"))return!1;const t=e.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(e=>(0,i.includes)(t.toLowerCase(),e)));return!(function(e){if(!e||!e.src)return!1;const t=e.height+e.width;return 1===t||2===t}(e)||n)}(e)){const{width:t,height:n}=(0,a.H)(e)||{width:0,height:0};return{src:(0,u.E)(e.getAttribute("src"),s.fY),width:t,height:n,mediaType:"image"}}return!1},p=e=>{const t=o()(e.src);if(t&&(0,i.includes)(["youtube","vimeo","videopress"],t.service)){const t=e.cloneNode();return-1===t.src.indexOf("?")?t.src+="?autoplay=1":t.src+="&autoplay=1",t.outerHTML}return null},d=e=>{let t,n=e;do{if(n.className&&(t=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),t))return t[1]}while(n=n.parentNode);return null};function f(e,t){const n=t.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(e=>{const t=e.nodeName.toLowerCase();return"iframe"===t?(e=>{if(!(0,c.p)(e))return!1;const t=Number(e.width),n=Number(e.height),r=t/n;return{type:d(e),src:e.src,iframe:e.outerHTML,aspectRatio:r,width:t,height:n,mediaType:"video",autoplayIframe:p(e)}})(e):"img"===t&&l(e)}));return e.content_media=(0,i.compact)(r),e.content_embeds=(0,i.filter)(e.content_media,(e=>"video"===e.mediaType)),e.content_images=(0,i.filter)(e.content_media,(e=>"image"===e.mediaType)),e.featured_image&&(e.featured_image=(0,u.E)(e.featured_image,s.fY)),e}},10363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function a(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("noscript");return(0,o.forEach)(n,(e=>{if(!e.firstChild)return;const t=(0,i.j)(e.innerHTML).querySelector(s.join(", "));if(t){const n=(t.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const t=document.createElement("p");t.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",e.parentNode.replaceChild(t,e)}}})),e}},37183:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(11481),o=n(92819);function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(e=>{let t=null;try{t=JSON.parse(e.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=t;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",e.parentNode.replaceChild(i,e)})),e):e}},40691:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,b:()=>i});var r=n(6261);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("audio, video").forEach((e=>e.autoplay=!1)),e}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("iframe").forEach((e=>{const t=(0,r.A)(e.src);t.search&&(t.searchParams=function(e){const t=new URLSearchParams(e);return(Array.from(e.keys()).filter((e=>/^auto_?play$/i.test(e)))||[]).forEach((n=>{const r=e.get(n).toLowerCase();"1"===r?t.set(n,"0"):"true"===r?t.set(n,"false"):t.set(n,r)})),t}(t.searchParams),delete t.search,e.src=(0,r.C)(t).href)})),e}},17431:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e,t){const n=t.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(t=>{let n,o=(0,r.get)(t,["dataset","carouselExtra"],!1);if(!o&&(o=t.getAttribute("data-carousel-extra"),!o))return e;try{n=JSON.parse(o).permalink}catch(s){return e}const i=t.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(e=>{const t=e.querySelector("img"),r=t&&t.getAttribute("data-attachment-id");r&&(e.href=n+"#jp-carousel-"+r,e.setAttribute("target","_blank"))}))})),e}},50917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(6261),o=n(92819),i=n(95822);function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("iframe");if((0,o.forEach)(n,(function(e){(0,o.startsWith)(e.src,"http")?(e.src=e.src.replace(/^http:/,"https:"),!function(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(e=>`.${n}`.endsWith("."+e)))}(e)?(0,i.p)(e)?e.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):e.setAttribute("sandbox","allow-scripts"):e.removeAttribute("sandbox")):e.parentNode.removeChild(e)})),e.is_external||e.is_jetpack){const e=t.querySelectorAll("embed,object");(0,o.forEach)(e,(function(e){e.parentNode.removeChild(e)}))}return e}},30757:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(6261),o=n(94668),i=n(92819),s=n(70353),a=n(54855);function u(e,t,n){let u=t.getAttribute("src");const c=(0,r.A)(u);if(!c.hostname){const t=(0,r.A)(e.URL);u=(0,r.C)({protocol:t.protocol,host:t.host,pathname:(0,s.Z)(t.pathname,c.pathname)}).href}let l=n?(0,a.E)((0,o.F)(u),n):(0,o.F)(u);if(l||(u=function(e,t){const n=(0,r.A)(e.URL);return t.startsWith("//")?`${n.protocol||"https:"}${t}`:t}(e,u)),!l&&(0,i.startsWith)(u,"https://")&&(l=u),(e=>{if(!e||!e.hasAttributes())return;(0,i.filter)(e.attributes,(e=>(0,i.startsWith)(e.name,"on"))).forEach((t=>e.removeAttribute(t.name))),e.removeAttribute("srcset")})(t),!l||(e=>{if(!e)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(t=>(0,i.includes)(e.toLowerCase(),t)))})(u))return t.parentNode.removeChild(t),void t.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");t.setAttribute("src",l)}const c=e=>(t,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>u(t,n,e))),t}},51088:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(48265);function i(e,t){const n=Array.from(t.querySelectorAll("a[href]"));return(0,r.forEach)(n,(e=>{o.G.test(e.href)||e.removeAttribute("href")})),e}},64e3:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(e){e.parentNode&&e.parentNode.removeChild(e)}function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(o);return(0,r.forEach)(n,i),e}},42347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819);function o(e,t){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(e,t)}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=t.querySelectorAll("[style]");return(0,r.forEach)(i,(function(e){o(e,n)||e.removeAttribute("style")})),(0,r.forEach)(t.querySelectorAll("style"),(function(e){o(e,n)||e.parentNode&&e.parentNode.removeChild(e)})),(0,r.forEach)(t.querySelectorAll("[align]"),(e=>{"IMG"!==e.tagName&&e.removeAttribute("align")})),e}},47401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function a(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e){return 0===e.childNodes.length?"BR"===e.nodeName&&e:u(e.firstChild)}function c(e){if(!e)return"";const t=(0,s.j)(i()(e,["p","br","sup","sub"]));t.id="__better_excerpt__",Array.from(t.querySelectorAll("p")).filter((e=>0===(0,r.trim)(e.textContent).length)).forEach(a),Array.from(t.querySelectorAll("p")).forEach((e=>{e.removeAttribute("style"),e.removeAttribute("align")})),function(e){if(e)for(;u(e);)a(u(e))}(t),(0,r.forEach)(t.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(e,t){t>=3&&e.parentNode&&e.parentNode.removeChild(e)}));const n=(0,r.trim)(t.innerHTML.replace(/ /g," "));return t.innerHTML="",n}function l(e){if(!e||!e.content)return e;const t=function(e){const t=(0,s.j)(e);return(0,r.forEach)(t.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),a),t.innerHTML}(e.content);if(e.content_no_html=(0,r.trim)(i()(t)),e.better_excerpt=c(t),e.better_excerpt_no_html=(0,r.trim)(i()(e.better_excerpt)),e.better_excerpt_no_html){let t=e.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(t.length>160){const e=t.lastIndexOf(" ",160);t=t.substring(0,e)+"…"}e.short_excerpt=t}return e}},12800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94668),o=n(50118);const i=["excerpt","title","site_name"];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t.forEach((function(t){e[t]&&(e[t]=(0,o.S)(e[t]))})),e.title=(0,o.S)(e.title),e.parent&&e.parent.title&&(e.parent.title=(0,o.S)(e.parent.title)),e.author&&(e.author.name&&(e.author.name=(0,o.S)(e.author.name)),e.author.avatar_URL&&(e.author.avatar_URL=(0,r.F)(e.author.avatar_URL))),e.tags&&Object.values(e.tags).forEach((function(e){e.name=(0,o.S)(e.name)})),e}},31564:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(94668),o=n(92819);function i(e,t){return function(n){const i=(s=e,a=t,function(e){return e.width>=s&&e.height>=a&&(0,r.F)(e.src)});var s,a;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(48265);function o(e){return e&&e.URL&&!r.G.test(e.URL)&&(e.URL=""),e&&e.short_URL&&!r.G.test(e.short_URL)&&(e.short_URL=""),e}},21036:(e,t,n)=>{"use strict";function r(e){return e.site_id&&(e.normalized_site_id=(""+e.site_id).replace(/::/g,"/")),e}n.d(t,{Z:()=>r})},53317:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819),o=n(15721),i=n(75209);function s(e){let t;if((0,o.J)(e.post_thumbnail)){const{URL:n,width:r,height:o}=e.post_thumbnail;t={uri:n,width:r,height:o}}else if(e.content_images&&e.content_images.length){const n=(0,r.find)(e.content_images,i.O);n&&(t={uri:n.src,width:n.width,height:n.height})}return t&&(e.canonical_image=t),e}},66184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(94668),o=n(92819),i=n(48098);function s(e){if(!e)return!1;const t=100<=e.width,n=75<=e.height;return t&&n}function a(e){return!!e&&("image"===e.mediaType?s(e)&&(0,r.F)(e.src):"video"===e.mediaType&&e.autoplayIframe)}function u(e){if(!e)return e;if((0,i.E)(e.featured_image)&&(!e.post_thumbnail&&e.is_jetpack||s(e.post_thumbnail))&&(0,r.F)(e.featured_image))return e.canonical_media={src:e.featured_image,height:(0,o.get)(e,"post_thumbnail.height"),width:(0,o.get)(e,"post_thumbnail.width"),mediaType:"image"},e;const t=(0,o.find)(e.content_media,a);return t&&(e.canonical_media=t),e}},49147:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e){const t=(0,r.maxBy)((0,r.values)(e.tags),(function(e){return e.post_count}));return void 0!==t&&(e.primary_tag=t),e}},59654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(93345);function i(e){return(0,r.forEach)(["excerpt"],(function(t){e[t]&&(e[t]=(0,o.R)(e[t],2))})),e}},36003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(65956);function i(e){return function(t){return(0,o.O)(t.author,"avatar_URL",e),(0,o.O)(t,"featured_image",e,t.URL),t.post_thumbnail&&(0,o.O)(t.post_thumbnail,"URL",e,t.URL),t.featured_media&&"image"===t.featured_media.type&&(0,o.O)(t.featured_media,"uri",e,t.URL),t.canonical_image&&t.canonical_image.uri&&(0,o.O)(t.canonical_image,"uri",e,t.URL),t.attachments&&Object.values(t.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",e,t.URL)})),t}}},60566:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(8165);function i(e){return(0,r.forEach)(["excerpt","title","site_name"],(function(t){e[t]&&(e[t]=(0,o.C)(e[t]))})),e.author&&e.author.name&&(e.author.name=(0,o.C)(e.author.name)),e}},75659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),a=n(15721);const u=o()("calypso:post-normalizer:wait-for-images-to-load");function c(e){const t={src:e.src,width:e.naturalWidth,height:e.naturalHeight};return e instanceof Image&&e.complete&&(t.fetched=!0),t}function l(e){return new Promise((t=>{const n={},r=[];function o(t,o){let i=t&&(0,s.H)(t);if(!i&&e.attachments){const t=Object.values(e.attachments).find((t=>t.URL===e.featured_image));t&&(i=(0,s.H)(t))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,a.J)(e.post_thumbnail)?o(e.post_thumbnail,e.post_thumbnail.URL):e.featured_image&&o(null,e.featured_image),(0,i.forEach)(e.content_images,(e=>o(e,e.src))),0===r.length)return void t(e);const l={};let p=r.slice(0,10).map((e=>{return e in n?Promise.resolve(n[e]):(t=function(e){const t=new Image;return t.src=e,t}(e),t.complete&&t.naturalWidth>0?Promise.resolve(t):new Promise(((e,n)=>{t.onload=()=>e(t),t.onerror=()=>n(t)})));var t}));p.forEach((n=>{n.then((e=>{l[e.src]=e})).catch((t=>(u("failed to load image",t,e),null))).then((()=>{if(p=p.filter((e=>e!==n)),0===p.length){const n=r.map((e=>l[e])).filter(Boolean);o=n,e.featured_image&&(o.some((t=>t.src===e.featured_image))||(e.featured_image=null)),e.images=o.map(c),e.content_images=(0,i.map)(e.content_images,(t=>e.images.find((e=>e.src===t.src)))).filter(Boolean),e.content_media=(0,i.map)(e.content_media,(t=>{if("image"===t.mediaType){const n=e.images.find((e=>e.src===t.src));return{...t,...n}}return t})),t(e)}var o})).catch((e=>{u("Fulfilling promise failed",e)}))}))}))}},55454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(6964);function i(e){return function(t){if(!t||!t.content||!e)return t;const n=(0,o.j)(t.content);return(t=(0,r.reduce)(e,((e,t)=>t(e,n)),t)).content=n.innerHTML,n.innerHTML="",t}}},59755:(e,t,n)=>{"use strict";function r(e){if(e.height&&e.width)return{height:e.height,width:e.width};if(e.naturalHeight&&e.naturalWidth)return{height:e.naturalHeight,width:e.naturalWidth};if(e.dataset&&e.dataset.origSize){const[t,n]=e.dataset.origSize.split(",").map(Number);return{width:t,height:n}}return null}n.d(t,{H:()=>r})},6964:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const t=(new window.DOMParser).parseFromString(e,"text/html");if(t&&t.body)return t.body}const t=document.implementation.createHTMLDocument("processing doc").createElement("div");return t.innerHTML=e,t}n.d(t,{j:()=>r})},95822:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});var r=n(6261),o=n(92819);function i(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(e){return`.${n}`.endsWith("."+e)}))}},75209:(e,t,n)=>{"use strict";function r(e){return!!e&&(!(e.width<100)&&!(e.width*e.height<7500))}n.d(t,{O:()=>r})},48098:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(6261),o=n(92819);function i(e){if(!e)return!1;const t=(0,r.A)(e).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(e=>t.endsWith(e)))}},65956:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function a(e,t,n,a){if(e&&e[t]){const u=(0,r.A)(e[t]);if(a&&!u.hostname){const{pathname:n}=(0,r.A)(a),o=(0,s.Z)(n,e[t]);e[t]=(0,r.C)({...u,protocol:a.protocol,hostname:a.hostname,pathname:o}).href}e[t]=(0,o.F)(e[t]),n&&(e[t]=(0,i.E)(e[t],n))}}},54855:(e,t,n)=>{"use strict";n.d(t,{E:()=>u});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,a={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function u(e,t){if(!e)return e;const n=(0,r.A)(e),u=(0,o.D)(e);if(!n.host)return e;const c=Object.keys(a).find((e=>n.hostname.match(a[e])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,t*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const p=Array.from(n.searchParams.keys()).sort(),d=new URLSearchParams;p.forEach((e=>d.set(e,n.searchParams.get(e))));const f=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:d}).href;try{return(0,i.Z)(f,u)}catch{return f}}},48265:(e,t,n)=>{"use strict";n.d(t,{G:()=>r,m:()=>o});const r=/^https?:\/\//;function o(e){if(r.test(e))return e}},15721:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(48098);function o(e){return!(!e||!e.URL)&&(0,r.E)(e.URL)}},44111:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(11337);function o(e){var t;const n={id:Number(e.ID),active:Boolean(e.active),amount:Number(e.amount),attachedToPurchaseId:Number(e.attached_to_purchase_id),billPeriodDays:Number(e.bill_period_days),billPeriodLabel:e.bill_period_label,mostRecentRenewDate:e.most_recent_renew_date,canDisableAutoRenew:Boolean(e.can_disable_auto_renew),canReenableAutoRenewal:Boolean(e.can_reenable_auto_renewal),canExplicitRenew:Boolean(e.can_explicit_renew),costToUnbundle:e.cost_to_unbundle?Number(e.cost_to_unbundle):Number(e.amount),costToUnbundleText:e.cost_to_unbundle_display?e.cost_to_unbundle_display:e.price_text,currencyCode:e.currency_code,currencySymbol:e.currency_symbol,description:e.description,domain:e.domain,domainRegistrationAgreementUrl:e.domain_registration_agreement_url||null,error:null,blogCreatedDate:e.blog_created_date,expiryDate:e.expiry_date,expiryStatus:(0,r.Z)(e.expiry_status),iapPurchaseManagementLink:e.iap_purchase_management_link,includedDomain:e.included_domain,includedDomainPurchaseAmount:e.included_domain_purchase_amount,introductoryOffer:e.introductory_offer?{costPerInterval:Number(e.introductory_offer.cost_per_interval),endDate:String(e.introductory_offer.end_date),intervalCount:Number(e.introductory_offer.interval_count),intervalUnit:String(e.introductory_offer.interval_unit),isWithinPeriod:Boolean(e.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(e.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(e.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(e.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(e.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(e.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(e.is_cancelable),isDomainRegistration:Boolean(e.is_domain_registration),isLocked:Boolean(e.is_locked),isInAppPurchase:Boolean(e.is_iap_purchase),isRechargeable:Boolean(e.is_rechargable),isRefundable:Boolean(e.is_refundable),isRenewable:Boolean(e.is_renewable),isRenewal:Boolean(e.is_renewal),meta:e.meta,priceText:e.price_text,priceTierList:null===(t=e.price_tier_list)||void 0===t?void 0:t.map((e=>({minimumUnits:e.minimum_units,maximumUnits:e.maximum_units,minimumPrice:e.minimum_price,maximumPrice:e.maximum_price,minimumPriceDisplay:e.minimum_price_display,maximumPriceDisplay:e.maximum_price_display}))),partnerName:e.partner_name,partnerSlug:e.partner_slug,partnerKeyId:e.partner_key_id,payment:{name:e.payment_name,type:e.payment_type,countryCode:e.payment_country_code,countryName:e.payment_country_name,storedDetailsId:e.stored_details_id},pendingTransfer:Boolean(e.pending_transfer),productId:Number(e.product_id),productName:e.product_name,productSlug:e.product_slug,productType:e.product_type,productDisplayPrice:e.product_display_price,totalRefundAmount:Number(e.total_refund_amount),totalRefundText:e.total_refund_text,refundAmount:Number(e.refund_amount),refundOptions:e.refund_options,refundText:e.refund_text,refundPeriodInDays:e.refund_period_in_days,regularPriceText:e.regular_price_text,renewDate:e.renew_date,saleAmount:e.sale_amount,siteId:Number(e.blog_id),siteName:e.blogname,subscribedDate:e.subscribed_date,subscriptionStatus:e.subscription_status,tagLine:e.tag_line,taxAmount:e.tax_amount,taxText:e.tax_text,purchaseRenewalQuantity:e.renewal_price_tier_usage_quantity||null,userId:Number(e.user_id),isAutoRenewEnabled:"1"===e.auto_renew};return function(e){return"credit_card"===e.payment_type}(e)&&(n.payment.creditCard={id:Number(e.payment_card_id),type:e.payment_card_type,processor:e.payment_card_processor,number:e.payment_details,expiryDate:e.payment_expiry}),"paypal_direct"===e.payment_type&&(n.payment.expiryDate=e.payment_expiry),n}function i(e){return Array.isArray(e)?e.map(o):[]}},2623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",a=new WeakMap,u=[];class c{constructor(e,t){this.data=Object.assign({items:{},queries:{}},e),this.options=Object.assign({itemKey:"ID"},t)}static mergeItem(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(t.__DELETE)return;return Object.assign({},e,t)}return t}static matches(e,t){return!!t}static compare(e,t,n){return t===n?0:n-t}static sort(e,t,n){e.sort(((e,r)=>t[e]&&t[r]?this.compare(n,t[e],t[r]):0))}getItem(e){return this.data.items[e]}getItems(e){let t=null;if(e){var n;const r=this.constructor.QueryKey.stringify(e);if(t=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!t)return null}return function(e,t){let n=a.get(e);if(n||(n=new WeakMap,a.set(e,n)),null==t){let t=n.get(u);return t||(t=(0,o.values)(e),n.set(u,t)),t}let r=n.get(t);return r||(r=t.map((t=>e[t])),n.set(t,r)),r}(this.data.items,t)}getFound(e){const t=this.constructor.QueryKey.stringify(e);return(0,o.get)(this.data.queries,[t,"found"],null)}removeItem(e){return this.removeItems([e])}removeItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(e.map((e=>({[this.options.itemKey]:e,[s]:!0}))),{patch:!0})}receive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(e)||(e=[e]);const n=(0,o.reduce)(e,((e,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,t.patch);return void 0===s?i?(0,o.omit)(e,r):e:(i&&(0,o.isEqual)(s,i)||(e===this.data.items&&(e=(0,o.clone)(e)),e[r]=s),e)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,a=!1;if(!i&&!t.query)return this;if(t.query){const n=(0,o.map)(e,this.options.itemKey);let u,c;if(r=this.constructor.QueryKey.stringify(t.query),a=!this.data.queries[r],!a&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(u=t.mergeQuery&&!a?(0,o.difference)(this.data.queries[r].itemKeys,n):n),t.found>=0&&t.found!==(0,o.get)(s,[r,"found"])&&(c=t.found),u||c>=0){i=!0;const e=Object.assign({},s[r]);u&&(e.itemKeys=u),c>=0&&(e.found=c),s=Object.assign({},s,{[r]:e})}}return s=(0,o.reduce)(s,((s,u,c)=>{s[c]=u;const l=r&&r===c;if(l&&(a||!t.mergeQuery))return s;if(!l&&t.dontShareQueryResultsWhenQueriesAreDifferent)return s;const p=!l,d=this.constructor.QueryKey.parse(c);let f=!1;return e.forEach((e=>{const t=e[this.options.itemKey],r=n[t],i=s[c].itemKeys.indexOf(t);-1!==i?r&&this.constructor.matches(d,r)||(s[c]===u&&(s[c]=(0,o.clone)(u)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],p&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(d,r)&&(s[c]===u&&(s[c]=(0,o.clone)(u)),p&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(t),f=!0)})),f&&this.constructor.sort(s[c].itemKeys,n,d),i=i||s[c]!==u,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(56666),o=n(92819);class i{static omit(e){const{OMIT_NULL_VALUES:t,DEFAULT_QUERY:n}=this;return t||n?(0,o.omitBy)(e,((e,r)=>!(!t||null!==e)||!(!n||n[r]!==e))):e}static stringify(e){const t=this.omit(e),n=(0,o.sortBy)(Object.entries(t),(e=>e[0]));return JSON.stringify(n)}static parse(e){return this.omit(Object.fromEntries(JSON.parse(e)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:(e,t,n)=>{"use strict";n.d(t,{t:()=>r,H:()=>o});const r={number:20,page:1},o=["number","offset","page"]},44550:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),a=n(27866);const u=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(e){return!!e&&s.H.some((t=>e.hasOwnProperty(t)))}getItems(e){if(!e)return super.getItems(e);const t=this.getItemsIgnoringPage(e,!0);if(!t)return t;const n=e.page||this.constructor.DefaultQuery.page,r=e.number||this.constructor.DefaultQuery.number;return function(e,t,n){let r=u.get(e);r||(r=new Map,u.set(e,r));const o=`${t}/${n}`;let i=r.get(o);return i||(i=e.slice(t,t+n),r.set(o,i)),i}(t,(n-1)*r,r)}getItemsIgnoringPage(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;const n=super.getItems((0,o.omit)(e,s.H));return!n||t?n:n.filter((e=>void 0!==e))}getNumberOfPages(e){const t=this.getFound(e);if(null===t)return t;const n=e.number||this.constructor.DefaultQuery.number;return Math.ceil(t/n)}receive(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;t.query&&(n=Object.assign({mergeQuery:!0},t,{query:(0,o.omit)(t.query,s.H)}));const r=super.receive(e,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(t.query))return r;const i=this.constructor.QueryKey.stringify(t.query),a=t.query.page||this.constructor.DefaultQuery.page,u=t.query.number||this.constructor.DefaultQuery.number,c=(a-1)*u,l=r.data.queries[i];Array.isArray(e)||(e=[e]);const p=e.map((e=>e[this.options.itemKey])),d=(0,o.cloneDeep)(l);if(d.hasOwnProperty("found")&&e.length<u){const e=this.data.queries[i];e&&e.hasOwnProperty("found")&&(d.found=Math.max(e.found,d.found))}return d.itemKeys=[...(0,o.range)(0,c).map((e=>{const t=l.itemKeys[e];if(!p.includes(t))return t})),...(0,o.range)(0,u).map((e=>p[e])),...l.itemKeys.slice(c+u).filter((e=>e&&!p.includes(e)))],d.hasOwnProperty("found")&&(d.itemKeys=(0,o.range)(0,d.found).map((e=>d.itemKeys[e]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:d})}),r.options)}}(0,r.Z)(c,"QueryKey",a.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(e){return super.stringify((0,r.omit)(e,i.H))}static parse(e){return(0,r.omit)(super.parse(e),i.H)}}},725:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),a=n(44550),u=n(725),c=n(93039);class l extends a.Z{static matches(e,t){const n=Object.assign({},this.DefaultQuery,e);return Object.entries(n).every((e=>{let[n,r]=e;switch(n){case"search":{if(!r)return!0;const e=r.toLowerCase();return t.title&&t.title.toLowerCase().includes(e)||t.content&&t.content.toLowerCase().includes(e)}case"after":case"before":case"modified_after":case"modified_before":{const e=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return e.isValid()&&s()(t[i])[o](e)}case"term":return Object.entries(r).every((e=>{let[n,r]=e;return r=r.split(","),(0,o.some)(t.terms[n],(e=>{let{slug:t}=e;return r.includes(t)}))}));case"tag":case"category":{if(!r)return!0;const e=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(t[i],(t=>{let{name:n,slug:r}=t;return n&&n.toLowerCase()===e||r&&r.toLowerCase()===e}))}case"type":return"any"===r||r===t.type;case"parent_id":return r===t.parent||t.parent&&r===t.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(t.ID):r!==t.ID;case"sticky":return"require"===r?t.sticky:"exclude"!==r||!t.sticky;case"author":return(0,o.get)(t,"author.ID",t.author)===r;case"status":return"any"===r||String(r).split(",").some((e=>e===t[n]))}return!0}))}static compare(e,t,n){let r;switch(e.order_by){case"ID":r=t.ID-n.ID;break;case"comment_count":r=(0,o.get)(t.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=t.title.localeCompare(n.title);break;case"modified":r=new Date(t.modified)-new Date(n.modified);break;default:r=new Date(t.date)-new Date(n.date)}return e.order&&!/^desc$/i.test(e.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",u.e)},93039:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(92819),o=n(27866),i=n(725);function s(e,t){return null==e||i.e[t]===e}class a extends o.Z{static stringify(e){return super.stringify((0,r.omitBy)(e,s))}static parse(e){return(0,r.omitBy)(super.parse(e),s)}}},41900:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});const s=i},96252:(e,t,n)=>{"use strict";function r(e,t,n,r){if(!t)return e;const o=e[t]||r&&r();if(!o)return e;const i=n(o);return i===o?e:{...e,[t]:i}}n.d(t,{Z:()=>r})},55347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>"/"===e?e:e.replace(/\/$/,"")},72537:(e,t,n)=>{"use strict";n.d(t,{Cm:()=>o});n(92819);var r=n(47307);function o(e){return e.filter((t=>{const n=(0,r.ce)(t.URL);return!t.jetpack&&e.some((e=>e.jetpack&&n===(0,r.ce)(e.URL)))})).map((e=>e.ID))}},40822:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4174),o=n(78038),i=n(92819);function s(e,t){if("object"!=typeof e)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof t)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(t);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");e=(0,i.pickBy)(e,(e=>null!=e));const s=new URL(t,"http://__domain__.invalid"),a=new URLSearchParams(s.search);for(const r of Object.keys(e))a.set(r,String(e[r]));if(n===r.a.PATH_RELATIVE){let e=a.toString();return""!==e&&(e=`?${e}`),""!==s.search?t.replace(s.search,e):s.hash?t.replace(s.hash,`${e}${s.hash}`):`${t}${e}`}return s.search=a.toString(),(0,o.Z)(s,n)}},47307:(e,t,n)=>{"use strict";n.d(t,{ce:()=>o,nq:()=>i});const r=/^https?:\/\//;function o(e){return""===e?"":e?e.replace(r,""):null}function i(e){return e?o(e).replace(/\//g,"::"):null}},70353:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4174);function o(e,t){e=e||"/";if((0,r.D)(e)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=e,t?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(t.startsWith("/")?"":"/")+t,n.pathname):n.pathname}},29726:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var r=n(50118),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","has_promote_widget","has_jetpack_partner_access","jetpack_partner_types","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],a=["display_name","description","user_URL"];function u(e){if("object"!=typeof e)throw new Error("the /me response is not an object");for(const n of s)if(!e.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const t={};for(const n of i){const o=e[n];t[n]=o&&a.includes(n)?(0,r.S)(o):o}return Object.assign(t,(0,o.B)(e))}},41333:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(47307);function o(e){const t=e.primary_blog_url||"";return{primarySiteSlug:(n=t,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:e.language,localeVariant:e.locale_variant};var n}},26935:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(20899);function o(e,t){let n,o="";return null==e||!e.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=e&&e.localeSlug&&""!==e.localeSlug&&"en"!==e.localeSlug&&(o=e.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=e.logout_URL,"string"==typeof t&&(n+=t="&redirect_to="+encodeURIComponent(t)),n}},59852:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:(e,t,n)=>{"use strict";n.d(t,{YF:()=>s});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(20899),o=n(38049),i=n.n(o),s=n(91202),a=n(18552),u=n(7268),c=n(33300),l=n(54083),p=n(78009),d=n(21286);const f=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=new s.Z(u.LP(),l.Z):r.ZP.isEnabled("is_running_in_jetpack_site")?h=new s.Z(l.A):(h=new s.Z(a.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(e){if(e)throw e;f('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,c.Z)(h),(0,d.J)(h),(0,p.rc)(h);const g=h;new s.Z(l.Z)},78009:(e,t,n)=>{"use strict";n.d(t,{rc:()=>u});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",a=()=>i().get(s),u=e=>{const t=e.request.bind(e);Object.assign(e,{request(e,n){const o=a();if(o){const t=(0,r.parse)(e.query);e=Object.assign({},e,{query:(0,r.stringify)(Object.assign(t,{store_sandbox_ticket:o.value}))})}return t(e,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const e=a();e&&e.createdDate<Date.now()-72e5&&i().remove(s)})();const e=(0,r.parse)(window.location.search.replace("?",""));e.guest_ticket&&i().set(s,{createdDate:Date.now(),value:e.guest_ticket})})()},21286:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(11481),o=n(19126);function i(e){const t=e.request.bind(e);return Object.assign(e,{localized:!0,request:function(e,n){return t(function(e){const t=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!t||"en"===t)return e;let n;const i=(0,o.parse)(e.query);return n=e.apiNamespace?{_locale:t}:{locale:t},Object.assign(e,{query:(0,o.stringify)(Object.assign(n,i))})}(e),n)}})}},33300:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19126);function o(e){let t="",n="",o=null;const i=e.request.bind(e);return Object.assign(e,{addSupportParams:function(e){return{...e,support_user:t,_support_token:n}},setSupportUserToken:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(e!==t||r!==n)&&(t=e,n=r,o=i,!0)},request:(e,s)=>t&&n?i(function(e){const o=(0,r.parse)(e.query);return o.support_user=t,o._support_token=n,Object.assign({},e,{query:(0,r.stringify)(o)})}(e),((e,t)=>{o&&"invalid_support_token"===(null==e?void 0:e.error)?o(e):s(e,t)})):i(e,s)})}},54083:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,A:()=>a});var r=n(20899),o=n(26935),i=n(65792);async function s(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e,(async function(e,n,r){e&&"InvalidTokenError"===e.name&&(await(0,i.YF)(),window.location.href=(0,o.K)()),t(e,n,r)}))}async function a(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e={...e,proxyOrigin:(0,r.ZP)("api_root"),headers:{"X-WP-Nonce":(0,r.ZP)("nonce")},isRestAPI:!1,apiNamespace:"jetpack/v4/stats-app"},(async function(e,n,r){e&&"InvalidTokenError"===e.name&&await(0,i.YF)(),t(e,n,r)}))}},1422:(e,t,n)=>{"use strict"},77270:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(e){if(r.hasOwnProperty(e)){const[t,n]=r[e];return{[`autofocus[${t}]`]:n}}return null}},83373:(e,t,n)=>{"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(){if("undefined"==typeof document)return;const e=document.documentElement.clientWidth;return e>1040?720:e>928?e-304:e>660?e-288:e-20}},77327:(e,t,n)=>{"use strict";function r(e){if(e)return e.feed_ID&&e.feed_item_ID?{feedId:e.feed_ID,postId:e.feed_item_ID}:e.is_external?{feedId:e.feed_ID||e.site_ID,postId:e.feed_item_ID||e.ID}:{blogId:e.site_ID,postId:e.ID}}function o(e,t){return e===t||!(!e&&t||e&&!t||!e&&!t&&e!==t)&&(!(e.isGap&&!t.isGap||!e.isGap&&t.isGap)&&(e.isGap&&t.isGap?e.from===t.from&&e.to===t.to:e.postId===t.postId&&(e.feedId?e.feedId===t.feedId:e.blogId===t.blogId)))}function i(e){return!e||e.isGap?null:e.isRecommendationBlock?`rec-${e.index}`:e.feedId?`${e.postId}-${e.feedId}`:e.blogId?`${e.postId}-${e.blogId}`:null}function s(e){return e&&e.postId&&(e.blogId||e.feedId)}n.d(t,{WO:()=>r,NK:()=>o,C$:()=>i,J0:()=>s})},7728:(e,t,n)=>{"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:(e,t,n)=>{"use strict";n.d(t,{yg:()=>u});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const a=new Set;function u(e,t,n,r){if(!e||!t||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:t.replace(/.*?:\/\//g,""),blog:e,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}a.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:(e,t,n)=>{"use strict";n.d(t,{qb:()=>r});n(92819),n(76292),n(83373);function r(e,t){return e&&t&&e.xPostMetadata&&t.xPostMetadata&&e.xPostMetadata.blogId&&e.xPostMetadata.blogId===t.xPostMetadata.blogId&&e.xPostMetadata.postId&&e.xPostMetadata.postId===t.xPostMetadata.postId}},40211:(e,t,n)=>{"use strict";n.d(t,{u2u:()=>r,Wj3:()=>o,lAo:()=>i,K5f:()=>s,ti2:()=>a,Fux:()=>u,JYg:()=>c,gm2:()=>l,uBM:()=>p,KAg:()=>d,T4d:()=>f,w6q:()=>h,M5U:()=>g,tGX:()=>m,K1T:()=>y,sQe:()=>v,HYG:()=>w,HCR:()=>b,T6o:()=>_,ON1:()=>E,sBg:()=>S,zVI:()=>C,DGo:()=>P,gQI:()=>I,cnn:()=>k,G1W:()=>T,dAl:()=>A,YPU:()=>R,iHL:()=>O,H6A:()=>L,vQd:()=>x,o9b:()=>F,Mei:()=>U,B1O:()=>N,nHy:()=>D,oH7:()=>Z,f5U:()=>j,AKl:()=>M,M7f:()=>q,Sur:()=>B,$Tb:()=>H,IoY:()=>V,Ylp:()=>W,k_K:()=>$,myH:()=>z,yGK:()=>G,IwF:()=>Q,R_D:()=>Y,kJ4:()=>K,Syf:()=>J,vsK:()=>X,qjX:()=>ee,$tj:()=>te,Do$:()=>ne,ILV:()=>re,SgU:()=>oe,tyO:()=>ie,eYx:()=>se,c2t:()=>ae,Xeb:()=>ue,Oh9:()=>ce,ftJ:()=>le,kUt:()=>pe,XTm:()=>de,vO0:()=>fe,JqF:()=>he,NnF:()=>ge,aqr:()=>me,WkZ:()=>ye,hxz:()=>ve,C6k:()=>we,T3s:()=>be,X5K:()=>_e,h2B:()=>Ee,Rp6:()=>Se,LbL:()=>Ce,xkR:()=>Pe,kNW:()=>Ie,oD3:()=>ke,RFP:()=>Te,rgA:()=>Ae,AVO:()=>Re,a7F:()=>Oe,PP1:()=>Le,pgH:()=>xe,Ra4:()=>Fe,nL0:()=>Ue,F1Z:()=>Ne,JZv:()=>De,R$r:()=>Ze,NYz:()=>je,gpX:()=>Me,Se1:()=>qe,bE0:()=>Be,vIA:()=>He,N__:()=>Ve,CNw:()=>We,hZH:()=>$e,KF6:()=>ze,WYe:()=>Ge,vP0:()=>Qe,hYA:()=>Ye,XMF:()=>Ke,LEp:()=>Je,A4M:()=>Xe,pSd:()=>et,PD1:()=>tt,N8o:()=>nt,XuD:()=>rt,lCo:()=>ot,jhA:()=>it,JPH:()=>st,kLL:()=>at,dGx:()=>ut,WjV:()=>ct,RIF:()=>lt,gbe:()=>pt,pJb:()=>dt,m58:()=>ft,_qM:()=>ht,Fsf:()=>gt,$5Y:()=>mt,XMH:()=>yt,_MG:()=>vt,RSp:()=>wt,Nq:()=>bt,IK5:()=>_t,bgv:()=>Et,tvw:()=>St,U5d:()=>Ct,QLz:()=>Pt,D5g:()=>It,SYS:()=>kt,t2O:()=>Tt,wOJ:()=>At,dyA:()=>Rt,RI4:()=>Ot,fa4:()=>Lt,xNf:()=>xt,YCt:()=>Ft,uvG:()=>Ut,Kmp:()=>Nt,Frv:()=>Dt,Byq:()=>Zt,lfH:()=>jt,lTr:()=>Mt,gNn:()=>qt,Rmh:()=>Bt,$MQ:()=>Ht,XLI:()=>Vt,U0$:()=>Wt,eO9:()=>$t,S3d:()=>zt,whB:()=>Gt,UUJ:()=>Qt,hJk:()=>Yt,uuM:()=>Kt,Mvd:()=>Jt,KBY:()=>Xt,rZJ:()=>en,xLe:()=>tn,M4_:()=>nn,eTV:()=>rn,KSQ:()=>on,Khp:()=>sn,koV:()=>an});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",a="ANALYTICS_TRACKS_OPT_OUT",u="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",p="CURRENT_USER_RECEIVE",d="CURRENT_USER_SET_EMAIL_VERIFIED",f="CURRENT_USER_SET_JETPACK_PARTNER_TYPE",h="DOMAIN_CONTACT_INFO_DISCLOSE",g="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",m="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",y="DOMAIN_CONTACT_INFO_REDACT",v="DOMAIN_CONTACT_INFO_REDACT_FAILURE",w="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",_="DOMAIN_PRIVACY_DISABLE_FAILURE",E="DOMAIN_PRIVACY_DISABLE_SUCCESS",S="DOMAIN_PRIVACY_ENABLE",C="DOMAIN_PRIVACY_ENABLE_FAILURE",P="DOMAIN_PRIVACY_ENABLE_SUCCESS",I="EDITOR_START",k="EDITOR_STOP",T="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",R="EMAIL_VERIFY_REQUEST_SUCCESS",O="EMAIL_VERIFY_STATE_RESET",L="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",F="HAPPYCHAT_FOCUS",U="HAPPYCHAT_IO_INIT",N="HAPPYCHAT_IO_RECEIVE_ENV",D="HAPPYCHAT_IO_RECEIVE_ACCEPT",Z="HAPPYCHAT_IO_RECEIVE_CONNECT",j="HAPPYCHAT_IO_RECEIVE_DISCONNECT",M="HAPPYCHAT_IO_RECEIVE_ERROR",q="HAPPYCHAT_IO_RECEIVE_INIT",B="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",H="HAPPYCHAT_IO_RECEIVE_MESSAGE",V="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",W="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",$="HAPPYCHAT_IO_RECEIVE_RECONNECTING",z="HAPPYCHAT_IO_RECEIVE_STATUS",G="HAPPYCHAT_IO_RECEIVE_TOKEN",Q="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",Y="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",K="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",J="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",X="HAPPYCHAT_IO_SEND_MESSAGE_LOG",ee="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",te="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",ne="HAPPYCHAT_IO_SEND_PREFERENCES",re="HAPPYCHAT_IO_SEND_TYPING",oe="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",ie="HAPPYCHAT_MINIMIZING",se="HAPPYCHAT_OPEN",ae="HAPPYCHAT_SET_CURRENT_MESSAGE",ue="HAPPYCHAT_SET_USER_CONFIG",ce="JETPACK_DISCONNECT_RECEIVE",le="JETPACK_SITE_DISCONNECT_REQUEST",pe="LAYOUT_FOCUS_SET",de="LAYOUT_NEXT_FOCUS_ACTIVATE",fe="LAYOUT_NEXT_FOCUS_SET",he="LOCALE_SET",ge="MASTERBAR_TOGGLE_VISIBILITY",me="MEDIA_DELETE",ye="MEDIA_MODAL_VIEW_SET",ve="NOTIFICATIONS_PANEL_TOGGLE",we="POST_COUNTS_RECEIVE",be="POST_COUNTS_REQUEST",_e="POST_COUNTS_REQUEST_FAILURE",Ee="POST_COUNTS_REQUEST_SUCCESS",Se="POST_COUNTS_RESET_INTERNAL_STATE",Ce="POST_DELETE",Pe="POST_DELETE_FAILURE",Ie="POST_DELETE_SUCCESS",ke="POST_EDIT",Te="POST_LIKE",Ae="POST_LIKES_ADD_LIKER",Re="POST_LIKES_RECEIVE",Oe="POST_LIKES_REMOVE_LIKER",Le="POST_LIKES_REQUEST",xe="POST_REQUEST",Fe="POST_REQUEST_FAILURE",Ue="POST_REQUEST_SUCCESS",Ne="POST_RESTORE",De="POST_RESTORE_FAILURE",Ze="POST_REVISION_AUTHORS_RECEIVE",je="POST_REVISIONS_DIALOG_CLOSE",Me="POST_REVISIONS_DIALOG_OPEN",qe="POST_REVISIONS_DIFF_SPLIT_VIEW",Be="POST_REVISIONS_DIFF_UNIFY_VIEW",He="POST_REVISIONS_RECEIVE",Ve="POST_REVISIONS_SELECT",We="POST_SAVE",$e="POST_SAVE_SUCCESS",ze="POST_TYPE_LIST_SHARE_PANEL_HIDE",Ge="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Qe="POST_UNLIKE",Ye="POSTS_RECEIVE",Ke="POSTS_REQUEST",Je="POSTS_REQUEST_FAILURE",Xe="POSTS_REQUEST_SUCCESS",et="PREFERENCES_FETCH",tt="PREFERENCES_FETCH_FAILURE",nt="PREFERENCES_FETCH_SUCCESS",rt="PREFERENCES_RECEIVE",ot="PREFERENCES_SAVE_SUCCESS",it="PREFERENCES_SAVE_FAILURE",st="PREFERENCES_SET",at="PREVIEW_URL_CLEAR",ut="PREVIEW_URL_SET",ct="PURCHASE_REMOVE_COMPLETED",lt="PURCHASE_REMOVE_FAILED",pt="PURCHASES_REMOVE",dt="PURCHASES_SITE_FETCH",ft="PURCHASES_SITE_FETCH_COMPLETED",ht="PURCHASES_SITE_FETCH_FAILED",gt="PURCHASES_SITE_RESET_STATE",mt="PURCHASES_USER_FETCH",yt="PURCHASES_USER_FETCH_COMPLETED",vt="PURCHASES_USER_FETCH_FAILED",wt="ROUTE_SET",bt="SECTION_LOADING_SET",_t="SECTION_SET",Et="SELECTED_SITE_SET",St="SITE_CONNECTION_STATUS_RECEIVE",Ct="SITE_CONNECTION_STATUS_REQUEST",Pt="SITE_CONNECTION_STATUS_REQUEST_FAILURE",It="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",kt="SITE_DELETE_RECEIVE",Tt="SITE_DOMAINS_RECEIVE",At="SITE_DOMAINS_REQUEST",Rt="SITE_DOMAINS_REQUEST_FAILURE",Ot="SITE_DOMAINS_REQUEST_SUCCESS",Lt="SITE_FEATURES_FETCH",xt="SITE_FEATURES_FETCH_COMPLETED",Ft="SITE_FEATURES_FETCH_FAILED",Ut="SITE_FRONT_PAGE_UPDATE",Nt="SITE_INTRO_OFFER_RECEIVE",Dt="SITE_INTRO_OFFER_REQUEST",Zt="SITE_INTRO_OFFER_REQUEST_FAILURE",jt="SITE_INTRO_OFFER_REQUEST_SUCCESS",Mt="SITE_MIGRATION_STATUS_UPDATE",qt="SITE_PLANS_FETCH",Bt="SITE_PLANS_FETCH_COMPLETED",Ht="SITE_PLANS_FETCH_FAILED",Vt="SITE_PLANS_REMOVE",Wt="SITE_PLUGIN_UPDATED",$t="SITE_PRODUCTS_FETCH",zt="SITE_PRODUCTS_FETCH_COMPLETED",Gt="SITE_PRODUCTS_FETCH_FAILED",Qt="SITE_RECEIVE",Yt="SITE_REQUEST",Kt="SITE_REQUEST_FAILURE",Jt="SITE_REQUEST_SUCCESS",Xt="SITE_SETTINGS_RECEIVE",en="SITE_SETTINGS_UPDATE",tn="SITES_RECEIVE",nn="SITES_REQUEST",rn="SITES_REQUEST_FAILURE",on="SITES_REQUEST_SUCCESS",sn="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",an="WPCOM_HTTP_REQUEST"},48539:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92819);const o=(e,t)=>Array.isArray(e)?e.concat(t):void 0,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>1?(0,r.mergeWith)(Object.create(null),...t,o):t[0]}},86398:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,l:()=>a});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const a=(e,t)=>(n,s)=>{const a=s.storageKey,u=function(e){return e.join(".")}(n),c=i.get(u),l=o.get(u);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${u}`);if(!l){if(e.addReducer(n,s),a&&t){const n=t(s,a);n&&e.dispatch({type:r.gm2,storageKey:a,storedState:n})}o.set(u,!0),i.set(u,s)}}},19298:(e,t,n)=>{"use strict";n.d(t,{jN:()=>i});var r=n(40211);const o=(e,t)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:e},t)}]}}),i=(e,t)=>o("tracks",{name:e,properties:t})},15223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(25394),o=n(44567),i=n(80252),s=n(7689),a=n(66610),u=n(17032),c=n(40211);const l={ga:e=>{let{category:t,action:n,label:r,value:i}=e;return(0,o.Yh)(t,n,r,i)},tracks:e=>{let{name:t,properties:n}=e;return(0,u.recordTracksEvent)(t,n)},fb:e=>{let{name:t,properties:n}=e;return(0,r.K)(t,n)},adwords:e=>{let{properties:t}=e;return(0,r.w)(t)}},p={ga:e=>{let{url:t,title:n}=e;return(0,o.eK)(t,n)},default:e=>{let{url:t,title:n,options:r,...o}=e;return(0,a.A)(t,n,o,r)}},d=e=>{e.meta.analytics.forEach((e=>{var t,n;let{type:r,payload:o}=e;const{service:i="default",...a}=o;switch(r){case c.u2u:return null===(t=l[i])||void 0===t?void 0:t.call(l,a);case c.Wj3:return null===(n=p[i])||void 0===n?void 0:n.call(p,a);case c.lAo:return(e=>{let{group:t,name:n}=e;return(0,s.P)(t,n)})(a)}}))},f=()=>e=>t=>{var n;switch(t.type){case c.K5f:return void("HotJar"===t.trackingTool&&(0,i.o)());case c.ti2:return void(0,u.setTracksOptOut)(t.isOptingOut);default:null!==(n=t.meta)&&void 0!==n&&n.analytics&&d(t)}return e(t)}},6255:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>function(){const t=e(...arguments);return"undefined"!=typeof window&&(Object.assign(window,t),Object.defineProperty(window,"state",{enumerable:!0,get:t.getState})),t}},91668:(e,t,n)=>{"use strict";n.d(t,{lx:()=>o});n(65792);var r=n(40211);n(36747);function o(e){return{type:r.uBM,user:e}}},79482:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(40211);const o=(0,n(95884).U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return e},errorMessage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.G1W:case r.YPU:return"";case r.dAl:{const{message:e}=t;return e}case r.iHL:return""}return e}})},18724:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});var r=n(40211),o=n(29398),i=n(95884),s=n(79482),a=n(21826);const u=(0,o.G)(a.K6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.ID:e})),c=(0,o.G)(a.bH,(function(){var e,t,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(e=i.user.meta)||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(e,t){if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>t[n]===e[n]))}const p=(0,o.G)(a.kX,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.UUJ:case r.xLe:return(t.site?[t.site]:t.sites).reduce(((t,n)=>(!n.capabilities||l(n.capabilities,t[n.ID])||(t===e&&(t={...e}),t[n.ID]=n.capabilities),t)),e)}return e})),d=(0,o.G)(a.y4,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.lasagna_jwt||null:e})),f=(0,i.U)({id:u,user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.uBM:return t.user;case r.KAg:return{...e,email_verified:t.verified};case r.T4d:return{...e,jetpack_partner_types:[...e.jetpack_partner_types||[],t.jetpack_partner_type],has_jetpack_partner_access:!0}}return e},capabilities:p,flags:c,emailVerification:s.ZP,lasagnaJwt:d})},21826:(e,t,n)=>{"use strict";n.d(t,{K6:()=>r,kX:()=>o,bH:()=>i,y4:()=>s});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:(e,t,n)=>{"use strict";function r(e){var t;return null===(t=e.currentUser)||void 0===t?void 0:t.id}function o(e){var t;return(null==e||null===(t=e.currentUser)||void 0===t?void 0:t.user)??null}n.d(t,{rc:()=>r,ts:()=>o,bo:()=>s,vz:()=>a});const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[e])??t}};i("localeSlug"),i("user_ip_country_code");function s(e){const t=o(e);return t?t.site_count||0:null}i("date"),i("username");const a=i("email");i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:(e,t,n)=>{"use strict";n.d(t,{Z9:()=>s});var r=n(48539);let o={};const i=new Set,s=(e,t)=>{i.has(e)||(i.add(e),o=(0,r.A)(o,t))}},85875:(e,t,n)=>{"use strict";n.d(t,{aF:()=>i});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=e=>(0,r.zc)(e,o)},28867:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(40211);const o=function(e){let{apiVersion:t,apiNamespace:n,body:o,method:i,path:s,query:a={},formData:u,onSuccess:c,onFailure:l,onProgress:p,onStreamRecord:d,...f}=e,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const g=n?{apiNamespace:n}:{apiVersion:t};return{type:r.koV,body:o,method:i,path:s,query:{...a,...g},formData:u,onSuccess:c||h,onFailure:l||h,onProgress:p||h,onStreamRecord:d||h,options:f}}},57195:(e,t,n)=>{"use strict";n.d(t,{iD:()=>r});const r=()=>({name:"NO_RETRY"});!function(){let{delay:e=1e3,maxAttempts:t=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,e),Math.min(5,t)}()},67577:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),a=n(92819),u=n(15960);const c=()=>{},l=e=>e,p=e=>(0,a.get)(e,"meta.dataLayer.data",void 0),d=e=>(0,a.get)(e,"meta.dataLayer.error",void 0),f=e=>(0,a.get)(e,"meta.dataLayer.progress",void 0),h=((0,u.J)("meta.dataLayer.requestKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:t,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?e:Object.assign({...e},{status:r},t&&{lastUpdated:t},n&&{pendingSince:n})})),g=e=>(t,n)=>{if(!0!==(0,a.get)(n,"meta.dataLayer.trackRequest")||f(n))return e(t,n);const r=(e=>{const{meta:t,...n}=e;return(0,a.get)(t,"dataLayer.requestKey")||s()(n)})(n),o=(e=>void 0!==d(e)?"failure":void 0!==p(e)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});e({...t,dispatch:e=>t.dispatch((0,a.merge)(e,{meta:{dataLayer:i}}))},n)},e=>(e.fetch||o()("fetch handler is not defined: no request will ever be issued"),e.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),e.onError||o()("onError handler is not defined: error during the request is being ignored"),g(((t,n)=>{const r=function(e,t){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:u=l}=e,h=d(t);if(h)return o(t,h);const g=p(t);if(g)try{return r(t,u(g))}catch(v){return o(t,v)}const m=f(t);if(m)return i(t,m);const y=(e=>(0,a.get)(e,"meta.dataLayer.streamRecord",void 0))(t);return y?s(t,y):n(t)}(e,n);if(r)return Array.isArray(r)?r.map(t.dispatch):t.dispatch(r)}))));var g},8681:(e,t,n)=>{"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),a=n(67577),u=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[u.LW]:[(0,a.BN)({fetch:function(e){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${e.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},e)},onSuccess:function(e,t){return(0,o.aF)((0,c.N0)(t))},onError:function(e,t){return(0,o.aF)((0,c.vE)(e,t))}})]})},26385:(e,t,n)=>{"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),a=n(67577),u=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,a.BN)({fetch:e=>(0,s.d)({method:"GET",path:`/sites/${e.siteId}/posts/${e.postId}/likes`,apiVersion:"1.1"},e),fromApi:e=>({found:+e.found,iLike:!!e.i_like,likes:e.likes}),onSuccess:(e,t)=>{let{siteId:n,postId:r}=e;return(0,u.u5)(n,r,t)},onError:()=>{}})]}))},77433:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.Ui)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.vL)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+e.like_count,liker:e.liker}}})]});const c={}},46600:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(77433).ZP},90347:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/new`,body:{},apiVersion:"1.1",query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.eT)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.Yt)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful like API call");return{likeCount:+e.like_count,liker:e.liker}}})]});const c={}},85745:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>m});var r=n(40211),o=n(28447),i=n(29398),s=n(71085),a=n(95884),u=n(83551);const c=e=>e<17e8?1e3*e:e,l=(0,i.G)({type:"number"},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.qjX:case r.$Tb:return Date.now()}return e})),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.$Tb:case r.IoY:case r.Ylp:{var n;const{message:e}=t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.avatarURL,isEdited:!!e.revisions,isOptimistic:e.isOptimistic,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(n=e.meta)||void 0===n?void 0:n.links}}}return e},d=e=>parseInt(e.timestamp,10),f=(e,t)=>d(e)-d(t),h=e=>e.slice().sort(f),g=(0,i.G)(u.v,(0,s.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.$Tb:case r.IoY:{var n;if(null!==(n=t.message.meta)&&void 0!==n&&n.forOperator)return e;const r=p({},t),o=e.findIndex((e=>{let{id:t}=e;return r.id===t}));return o>=0?[...e.slice(0,o),r,...e.slice(o+1)]:e.concat([r])}case r.Ylp:{const n=e.findIndex((e=>{let{id:n}=e;return t.message.id===n}));return-1===n?e:[...e.slice(0,n),p({},t),...e.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=t.messages)||void 0===o?void 0:o.filter((t=>{var n;return!!t.id&&((null===(n=t.meta)||void 0===n||!n.forOperator)&&!e.some((e=>e.id===t.id)))})))??[];return h(e.concat(n.map((e=>{var t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.picture,isEdited:!!e.revisions,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(t=e.meta)||void 0===t?void 0:t.links}}))))}}return e}),{serialize:e=>e.slice(-1*o.lc)})),m=(0,a.U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,t=arguments.length>1?arguments[1]:void 0;return t.type===r.myH?t.status:e},timeline:g,lastActivityTimestamp:l})},83551:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:(e,t,n)=>{"use strict";n.d(t,{id:()=>s,nv:()=>a,wH:()=>u,k_:()=>c,up:()=>l,Mo:()=>p,pL:()=>d,CM:()=>f,$W:()=>h,QM:()=>g,dN:()=>m,gg:()=>y,KX:()=>v,Mx:()=>w,bi:()=>_,qP:()=>E,yW:()=>S});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),a=e=>({type:o.f5U,error:e}),u=()=>({type:o.yGK}),c=e=>({type:o.M7f,user:e}),l=e=>({type:o.IwF,error:e}),p=()=>({type:o.k_K}),d=e=>({type:o.nHy,isAvailable:e}),f=e=>({type:o.B1O,env:e}),h=e=>({type:o.Sur,isAvailable:e}),g=e=>({type:o.$Tb,message:e}),m=e=>({type:o.IoY,message:{...e,isOptimistic:!0}}),y=e=>({type:o.Ylp,message:e}),v=e=>({type:o.myH,status:e}),w=e=>({type:o.AKl,error:e}),b=e=>{let{messages:t,timestamp:n}=e;return{type:o.kJ4,messages:t,timestamp:n}},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:e,timeout:t,callback:b}},E=e=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),S=e=>({type:o.SgU,event:"chat.setFields",payload:e})},80258:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(40211),o=n(28447);const i=(0,n(95884).U)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.M7f:return null;case r.f5U:return t.error}return e},isAvailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.nHy?t.isAvailable:e},env:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.B1O?t.env:e},localizedSupport:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.Sur?t.isAvailable:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return e}})},28447:(e,t,n)=>{"use strict";n.d(t,{SJ:()=>r,bp:()=>o,XY:()=>i,oP:()=>s,ad:()=>a,lc:()=>u,so:()=>c,dZ:()=>l,s0:()=>p});const r="uninitialized",o="connecting",i="connected",s="disconnected",a="reconnecting",u=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",p="default"},84656:(e,t,n)=>{"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(10819),o=n(40211),i=n(94002),s=n(11834),a=n(27443);const u={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=(0,r.Z)({receiveAccept:i.pL,receiveConnect:i.id,receiveDisconnect:i.nv,receiveError:i.Mx,receiveInit:i.k_,receiveLocalizedSupport:i.$W,receiveHappychatEnv:i.CM,receiveMessage:i.QM,receiveMessageOptimistic:i.dN,receiveMessageUpdate:i.gg,receiveReconnecting:i.Mo,receiveStatus:i.KX,receiveToken:i.wH,receiveUnauthorized:i.up,requestTranscript:i.bi})),t=>n=>r=>{const c=t.getState();switch(r.type){case o.Mei:e.init(t.dispatch,r.auth);break;case o.R_D:e.request(r,r.timeout);break;case o.$tj:e.send(r),t.dispatch((0,i.yW)({}));break;case o.Syf:case o.vsK:case o.qjX:case o.Do$:case o.ILV:case o.SgU:e.send(r);break;case o.vQd:case o.o9b:(0,a.Z)(c)&&(0,s.Z)(c)&&u[r.type]&&t.dispatch((0,i.qP)(u[r.type]))}return n(r)}}()},61741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(83685),o=n(95884),i=n(85745),s=n(80258),a=n(29837),u=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.ZP,ui:a.ZP,user:u.ZP}),l=(0,r.xi)("happychat",c)},83455:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);n(84656);function o(e){return(0,r.get)(e,"happychat.connection.status")}},11834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(28447);n(84656);const i=e=>(0,r.get)(e,"happychat.chat.status")===o.dZ},27443:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(28447),o=n(83455);function i(e){return(0,o.Z)(e)===r.XY}},29837:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const a=(0,o.G)({type:"number"},(0,i.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.vQd:return Date.now();case r.o9b:return null}return e}),{serialize:e=>null===e?Date.now():e})),u=(0,s.U)({currentMessage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.qjX:return"";case r.c2t:return t.message}return e},isMinimizing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.tyO?!!t.isMinimizing:e},isOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.eYx?!!t.isOpen:e},lostFocusAt:a})},12844:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const a=(0,o.G)(s.FB,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===r.M7f){const n=t.user.geoLocation;return n&&n.country_long&&n.city?n:e}return e})),u=(0,o.G)(s.Cv,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.isUserEligible:e})),c=(0,o.G)(s.i6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.availability:e})),l=(0,o.G)(s._B,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.supportLevel:e})),p=(0,i.U)({geoLocation:a,isEligible:u,availability:c,supportLevel:l})},71320:(e,t,n)=>{"use strict";n.d(t,{FB:()=>r,Cv:()=>o,i6:()=>i,_B:()=>s});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!t)return[];const r=(0,i.Z)(e);return(0,o.x)(t,(0,o.p)(e,r),n)}),(e=>[(0,i.Z)(e)]))},80951:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(32988);const u=(()=>{let e,t={};function n(e,t){return[e,t].join()}function s(o,i,s,a){const u=n(i,s),c=t[u];if(!c)return o;const l=["all"];c.authorId===e&&l.push("mine");const p=l.reduce(((e,t)=>{const n=(0,r.get)(o,[i,c.type,t],{});return e[t]={},e[t][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==a&&(e[t][a]=(n[a]||0)+1),e}),{});return"deleted"===a?t=(0,r.omit)(t,u):c.status=a,(0,r.merge)(p,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:p}})}return(0,i.G)(a.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case o.Rp6:return e=void 0,t={},i;case o.uBM:return e=a.user.ID,i;case o.hYA:return a.posts.forEach((e=>{const o=n(e.site_ID,e.ID),a=t[o];a&&e.status!==a.status&&(i=s(i,e.site_ID,e.ID,e.status)),t[o]=(0,r.pick)(e,"type","status"),t[o].authorId=(0,r.get)(e.author,"ID")})),i;case o.CNw:{const{siteId:e,postId:t,post:n}=a;return n.status?s(i,e,t,n.status):i}case o.LbL:return s(i,a.siteId,a.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[a.siteId]:{[a.postType]:a.counts}})}return i}))})(),c=(0,s.U)({requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},e,{[t.siteId]:{[t.postType]:o.T3s===t.type}})}return e},counts:u})},32988:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:(e,t,n)=>{"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:(e,t,n)=>{"use strict";n.d(t,{vL:()=>o,Yt:()=>i,u5:()=>s,eT:()=>a,Ui:()=>u});var r=n(40211);n(26385),n(70263);const o=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:e,postId:t,source:n}},i=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:e,postId:t,source:n}},s=(e,t,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:e,postId:t,likes:o,iLike:i,found:s}},a=(e,t,n,o)=>({type:r.rgA,siteId:e,postId:t,likeCount:n,liker:o}),u=(e,t,n,o)=>({type:r.a7F,siteId:e,postId:t,likeCount:n,liker:o})},26353:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(92819),o=n(40211),i=n(29398),s=n(15960),a=n(95884),u=n(40057);const c=(0,i.G)(u.Z,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.AVO:{const{likes:n,iLike:r,found:o}=t;return{likes:Array.isArray(n)?n.map((e=>({ID:e.ID,avatar_URL:e.avatar_URL,login:e.login,name:e.name,site_ID:e.site_ID,site_visible:e.site_visible}))):e.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return e.iLike?e:{likes:e.likes,iLike:!0,found:e.found+1,lastUpdated:e.lastUpdated};case o.vP0:return e.iLike?{likes:e.likes,iLike:!1,found:Math.max(0,e.found-1),lastUpdated:e.lastUpdated}:e;case o.rgA:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&i)return e;let s=e.likes;return i||(s=[o,...e.likes||[]]),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&!i)return e;let s=e.likes;return i&&(s=e.likes.filter((e=>o.ID!==e.ID))),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}}return e})),l=(0,s.J)("siteId",(0,s.J)("postId",c)),p=(0,a.U)({items:l})},40057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>R});var r=n(92819),o=n(3982),i=n(96252),s=n(40211),a=n(13360),u=n(29398),c=n(71085),l=n(95884),p=n(72725),d=n(26353),f=n(8588),h=n(49061),g=n(41900),m=n(2205),y=n(78261),v=n(78928),w=n(38239),b=n(26588),_=n(73831),E=n(57384),S=n(40178),C=n(92110),P=n(40373);const I=(0,u.G)(h.dj,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.hYA:return(0,r.reduce)(t.posts,((t,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return t[i]||(t===e&&(t={...t}),t[i]=[r,o]),t}),e);case s.kNW:{const n=(0,r.findKey)(e,(e=>{let[n,r]=e;return n===t.siteId&&r===t.postId}));return n?(0,r.omit)(e,n):e}}return e}));const k=(0,u.G)(h.kl,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:s,found:a}=t;if(!n)return e;const u=s.map(y.P);return(0,i.Z)(e,n,(e=>e.receive(u,{query:r,found:a})),(()=>new o.Z))}case s.hYA:{const{posts:n}=t,s=(0,r.reduce)(n,((e,t)=>Object.assign(e,{[t.site_ID]:[...e[t.site_ID]||[],(0,y.P)(t)]})),{});return(0,r.reduce)(s,((e,t,n)=>(0,i.Z)(e,n,(e=>e.receive(t)),(()=>new o.Z))),e)}case s.F1Z:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.removeItem(r)))}}return e}),{serialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return{data:t,options:n}})),deserialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return new o.Z(t,n)}))}));function T(e,t,n){return(0,r.findKey)(e.data.items,(e=>e.site_ID===t&&e.ID===n))||null}const A=(0,u.G)(g.Z,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=t;return n?e:e.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=t;return e.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=t,i=T(e,n,r);return e.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.removeItem(o)}}return e}),{serialize:e=>{let{data:t,options:n}=e;return{data:t,options:n}},deserialize:e=>{let{data:t,options:n}=e;return new o.Z(t,n)}}));const R=(0,l.U)({counts:p.ZP,items:I,siteRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.pgH:case s.nL0:case s.Ra4:return Object.assign({},e,{[t.siteId]:Object.assign({},e[t.siteId],{[t.postId]:s.pgH===t.type})})}return e},queryRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.XMF:case s.A4M:case s.LEp:const n=(0,m.v)(t.query,t.siteId);return Object.assign({},e,{[n]:s.XMF===t.type})}return e},queries:k,allSitesQueries:A,edits:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.hYA:return(0,r.reduce)(t.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===e&&(n=(0,r.merge)({},e)),t.saveMarker){const e=i.indexOf(t.saveMarker);-1!==e&&(i=i.slice(e+1))}const s=(0,v.Z)(...i);let u=null;if(s){const e=(0,r.omitBy)(s,((e,t)=>{switch(t){case"author":return(0,w.J)(e,o[t]);case"date":return(0,b.S)(e,o[t]);case"discussion":return(0,_.y)(e,o[t]);case"featured_image":return e===(0,a.g)(o);case"metadata":return!0;case"status":return(0,E.D)(e,o[t]);case"terms":return(0,S.v)(e,o[t])}return(0,r.isEqual)(o[t],e)}));if(s.metadata){const t=(0,C.F)(s.metadata,o.metadata);t.length>0&&(e.metadata=t)}(0,r.isEmpty)(e)||(u=[e])}return(0,r.set)(n,[o.site_ID,o.ID],u)}),e);case s.oD3:{const n=t.siteId,o=t.postId||"",i=(0,r.get)(e,[n,o]),s=(0,P.V)(i,t.post);return{...e,[n]:{...e[n],[o]:s}}}case s.gQI:return Object.assign({},e,{[t.siteId]:{...e[t.siteId],[t.postId||""]:null}});case s.cnn:if(!e.hasOwnProperty(t.siteId))break;return Object.assign({},e,{[t.siteId]:(0,r.omit)(e[t.siteId],t.postId||"")});case s.hZH:{const n=t.siteId;if(""===(t.postId||"")&&t.savedPost){const o=t.savedPost.ID;e={...e,[n]:(0,r.mapKeys)(e[n],((e,t)=>""===t?o:t))}}return e}}return e},likes:d.ZP,revisions:f.ZP})},17811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(40211);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.R$r?(0,r.reduce)(t.users,((t,n)=>(t===e&&(t={...e}),t[n.ID]=n,t)),e):e}})},8588:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a});var r=n(92819),o=n(40211),i=n(95884),s=n(17811);const a=(0,i.U)({diffs:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:t,postId:n,revisions:i,siteId:s,type:a}=arguments.length>1?arguments[1]:void 0;if(a!==o.vIA)return e;if(!Number.isInteger(s)||s<=0)return e;const u=(0,r.get)(e,[s,n],{}),c={...(0,r.get)(u,"revisions",{}),...i},l=(0,r.filter)(t,(e=>{let{diff:t,from:n,to:o}=e;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(t))))}));return(0,r.isEmpty)(l)?e:{...e,[s]:{...e[s],[n]:{...{...(0,r.omit)(u,"revisions"),...(0,r.keyBy)(l,(e=>`${e.from}:${e.to}`))},revisions:c}}}},selection:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.N__:return{...e,revisionId:t.revisionId};case o.oD3:case o.bgv:return{...e,revisionId:null};default:return e}},ui:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.NYz:return{...e,isDialogVisible:!1};case o.gpX:return{...e,isDialogVisible:!0};case o.Se1:return{...e,diffView:"split"};case o.bE0:return{...e,diffView:"unified"};default:return e}},authors:s.Z})},49061:(e,t,n)=>{"use strict";n.d(t,{dj:()=>o,kl:()=>i});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(92819),o=n(78928);function i(e,t){if((0,r.isEmpty)(e))return[t];const n=(0,r.last)(e);if("string"==typeof n)return[...e,t];const i=e.slice(0,-1);return i.push((0,o.Z)(n,t)),i}},13360:(e,t,n)=>{"use strict";function r(e){if(e)return"featured_image"in e&&!/^https?:\/\//.test(e.featured_image)?e.featured_image:e.post_thumbnail?e.post_thumbnail.ID:void 0}n.d(t,{g:()=>r})},91602:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(92819),o=n(80951);function i(e){return(0,r.omitBy)(e,((e,t)=>o.e[t]===e))}},2205:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(91602);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(e),o=JSON.stringify(n);return t?[t,o].join(":"):o}},38239:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(92819);function o(e,t){return(0,r.get)(e,"ID")===(0,r.get)(t,"ID")}},26588:(e,t,n)=>{"use strict";function r(e,t){return!1===e||e&&new Date(e).getTime()===new Date(t).getTime()}n.d(t,{S:()=>r})},73831:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;return(0,r.get)(t,[n])===o}))}},57384:(e,t,n)=>{"use strict";function r(e,t){return["publish","future"].includes(e)?["publish","future"].includes(t):e===t}n.d(t,{D:()=>r})},40178:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;const i=Object.values(o),s="object"==typeof i[0]&&null!==i[0],a=s?(0,r.map)(i,"ID"):i,u=s?"ID":"name",c=(0,r.map)(t[n],u);return!(0,r.xor)(a,c).length}))}},78928:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819);function o(e,t){const n=(0,r.reject)(e,(e=>(0,r.find)(t,{key:e.key})));return(0,r.concat)(n,t)}const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.reduce)(t,((e,t)=>"string"==typeof t?e:null===e?t:(0,r.mergeWith)((0,r.cloneDeep)(e),t,((e,t,n,r,i,s)=>"metadata"===n&&0===s.size?o(e,t):Array.isArray(t)?t:void 0))),null)}},92110:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(92819);function o(e,t){return(0,r.filter)(e,(e=>function(e,t){const n=(0,r.find)(t,{key:e.key});return"update"===e.operation?!n||n.value!==e.value:"delete"===e.operation&&!!n}(e,t)))}},78261:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(92819);const o=(e,t)=>{if(t.length>1){const[,...n]=t;o(e[t[0]],n)}else e&&e.hasOwnProperty(t[0])&&delete e[t[0]]};function i(e){const t=(0,r.cloneDeep)(e);return(0,r.reduce)([[],...(0,r.reduce)(e.terms,((e,t,n)=>e.concat((0,r.map)(t,((e,t)=>["terms",n,t])))),[]),...(0,r.map)(e.categories,((e,t)=>["categories",t])),...(0,r.map)(e.tags,((e,t)=>["tags",t])),...(0,r.map)(e.attachments,((e,t)=>["attachments",t]))],((e,t)=>(o(e,t.concat("meta","links")),e)),t)}},18223:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:(e,t,n)=>{"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(85290);const u=(0,i.G)(a.U,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===o.XuD){const{values:e}=t;return e}return e})),c=(0,s.U)({localValues:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.JPH:{const{key:n,value:r}=t;return e[n]===r?e:{...e,[n]:r}}case o.lCo:{const{[t.key]:n,...r}=e;return r}}return e},remoteValues:u,fetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.N8o:case o.PD1:return!1;case o.pSd:return!0}return e},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.JPH:return!0;case o.lCo:case o.jhA:return!1}return e},lastFetchedTimestamp:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N8o?Date.now():e}}),l=(0,r.xi)("preferences",c)},85290:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:(e,t,n)=>{"use strict";n.d(t,{Oz:()=>o});var r=n(18223);n(54614);function o(e,t){for(const i of[null===(n=e.preferences)||void 0===n?void 0:n.localValues,null===(o=e.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(t))return i[t]??null}return null}},86169:(e,t,n)=>{"use strict";n.d(t,{Y9:()=>a});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),a=(r.ZP.translate("There was an error removing the purchase."),e=>t=>(t({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{t({type:i.XMH,purchases:n,userId:e})})).catch((()=>{t({type:i._MG,error:s})}))))},65811:(e,t,n)=>{"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83685),o=n(40211);const i={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function s(e,t){return t.type===o.XMH?t.purchases:(t.type===o.m58&&(e=e.filter((e=>parseInt(e.blog_id,10)!==parseInt(t.siteId,10)||!!t.purchases.some((t=>t.ID===e.ID))))),t.type===o.WjV&&(e=e.filter((e=>!!t.purchases.some((t=>t.ID===e.ID))))),function(e,t){return t.reduce(((e,t)=>function(e,t){let n=!1;const r=e.map((e=>t.ID===e.ID?(n=!0,t):e));return n?r:[...r,t]}(e,t)),e)}(e,t.purchases))}const a=(0,r.xi)("purchases",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.gbe:return{...e,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case o.pJb:return{...e,isFetchingSitePurchases:!0};case o.$5Y:return{...e,isFetchingUserPurchases:!0};case o.WjV:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o.m58:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case o.XMH:return{...e,data:s(e.data,t),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case o.RIF:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o._qM:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case o._MG:return{...e,error:t.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case o.Fsf:return{...e,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return e}))},12726:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>r,iJ:()=>o});n(65811);const r=e=>e.purchases.isFetchingUserPurchases,o=e=>e.purchases.hasLoadedUserPurchasesFromServer},99432:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(83685),o=n(44111);n(65811);const i=(0,r.P1)((e=>(0,o.W)(e.purchases.data)),(e=>[e.purchases.data]))},76678:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const a=(0,r.P1)((e=>{if(!(0,i.iJ)(e))return null;const t=(0,o.rc)(e);return(0,s.G)(e).filter((e=>e.userId===t))}),(e=>[(0,i.iJ)(e),(0,o.rc)(e),(0,s.G)(e)]))},78772:(e,t,n)=>{"use strict";n.d(t,{BQ:()=>r,tx:()=>o,_n:()=>i,K1:()=>s,D8:()=>a,Ae:()=>u,_h:()=>c,M1:()=>l,_p:()=>p,AH:()=>d,lH:()=>f,P6:()=>h,b3:()=>g,sh:()=>m,DJ:()=>y,kB:()=>v,R1:()=>w,cu:()=>b,MW:()=>_,a$:()=>E,nY:()=>S,q_:()=>C,B_:()=>P,gS:()=>I,L5:()=>k,Nr:()=>T,s5:()=>A,ud:()=>R,we:()=>O,_O:()=>L,Ny:()=>x,$J:()=>F,S6:()=>U,ch:()=>N,nB:()=>D,rE:()=>Z,Bi:()=>j,Cm:()=>M,Rn:()=>q,yZ:()=>B,c1:()=>H,e_:()=>V,iv:()=>W,IJ:()=>$,zF:()=>z,zg:()=>G,LW:()=>Q,Fy:()=>Y,qY:()=>K,Qw:()=>J,pu:()=>X,CI:()=>ee,_7:()=>te,l0:()=>ne,rC:()=>re,c7:()=>oe,RN:()=>ie,Qr:()=>se,HC:()=>ae,aL:()=>ue,Ep:()=>ce,hB:()=>le,Jx:()=>pe,_i:()=>de,fY:()=>fe,CE:()=>he,Q6:()=>ge,tN:()=>me,BZ:()=>ye,VV:()=>ve,vy:()=>we,OT:()=>be});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",a="READER_DISMISS_SITE",u="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",p="READER_FEED_SEARCH_RECEIVE",d="READER_FOLLOW",f="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",g="READER_FOLLOWS_SYNC_COMPLETE",m="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",w="READER_LIST_FOLLOW_RECEIVE",b="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",C="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",I="READER_LIST_REQUEST_FAILURE",k="READER_LIST_REQUEST_SUCCESS",T="READER_LIST_UNFOLLOW_RECEIVE",A="READER_LIST_UPDATE",R="READER_LIST_UPDATE_FAILURE",O="READER_LIST_UPDATE_SUCCESS",L="READER_LISTS_RECEIVE",x="READER_LISTS_REQUEST",F="READER_ORGANIZATIONS_RECEIVE",U="READER_ORGANIZATIONS_REQUEST",N="READER_POST_SEEN",D="READER_POSTS_RECEIVE",Z="READER_RECOMMENDED_SITES_RECEIVE",j="READER_RELATED_POSTS_RECEIVE",M="READER_RELATED_POSTS_REQUEST",q="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",H="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_SEEN_RECEIVE",W="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",$="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",ee="READER_STREAMS_PAGE_REQUEST",te="READER_STREAMS_SELECT_ITEM",ne="READER_STREAMS_SELECT_NEXT_ITEM",re="READER_STREAMS_SELECT_PREV_ITEM",oe="READER_STREAMS_SHOW_UPDATES",ie="READER_STREAMS_UPDATES_RECEIVE",se="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ae="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",ue="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ce="READER_TAG_IMAGES_RECEIVE",le="READER_TAG_IMAGES_REQUEST",pe="READER_TAG_IMAGES_REQUEST_FAILURE",de="READER_TAG_IMAGES_REQUEST_SUCCESS",fe="READER_TAGS_RECEIVE",he="READER_THUMBNAIL_RECEIVE",ge="READER_UNFOLLOW",me="READER_UNFOLLOW_TAG_RECEIVE",ye="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",ve="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",we="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",be="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(84225),u=n(91706),c=n(51260);const l=(0,i.G)(u.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.BQ:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.following};case o.tx:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.muting};case o._n:{const n=(0,c.J)(t.payload.siteId,t.payload.postId);if(t.payload.followStatus===a.I.not_following)return(0,r.omit)(e,n);return{...e,[n]:t.payload.followStatus}}case o.nB:{if(!t.posts)return e;const n={};return(0,r.forEach)(t.posts,(e=>{e.is_following_conversation&&(n[(0,c.J)(e.site_ID,e.ID)]=a.I.following)})),0===(0,r.size)(n)?e:{...e,...n}}}return e})),p=(0,s.U)({items:l})},91706:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:(e,t,n)=>{"use strict";function r(e,t){return`${e}-${t}`}n.d(t,{J:()=>r})},13838:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?(0,r.uniqBy)((e||[]).concat(t.payload.feeds),"feed_URL"):e})),u=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?t.payload.total:e})),c=(0,s.U)({items:a,total:u})},64380:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g});var r=n(92819),o=n(50118),i=n(8165),s=n(48265),a=n(78772),u=n(29398),c=n(71085),l=n(95884),p=n(46518);function d(e,t){return{[t.payload.feed_ID]:{feed_ID:t.payload.feed_ID,is_error:!0},...e}}function f(e,t){const n=function(e){return{feed_ID:+e.feed_ID,blog_ID:+e.blog_ID,name:e.name&&(0,o.S)(e.name),URL:(0,s.m)(e.URL),feed_URL:(0,s.m)(e.feed_URL),is_following:e.is_following,subscribers_count:e.subscribers_count,description:e.description&&(0,o.S)((0,i.C)(e.description)),last_update:e.last_update,image:e.image,organization_id:e.organization_id,unseen_count:e.unseen_count}}(t.payload);return{...e,[n.feed_ID]:n}}const h=(0,u.G)(p.d,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.M1:return f(e,t);case a._h:return d(e,t);case a.e_:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-t.globalIds.length,0)})}:e}case a.iv:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+t.globalIds.length,0)})}:e}case a.c1:return(0,r.forEach)(t.feedIds,(t=>{e[t]={...e[t],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));const g=(0,l.U)({items:h,lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.M1?{...e,[t.payload.feed_ID]:Date.now()}:e},queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.Ae:return{...e,[t.payload.feed_ID]:!0};case a.M1:case a._h:return(0,r.omit)(e,t.payload.feed_ID)}return e}})},46518:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});var r=n(92819),o=n(78772),i=n(29398),s=n(71085),a=n(95884),u=n(75235),c=n(46486);function l(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","email"],{}),u={};switch(i){case o.HC:case o.VV:u.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:u.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(u.post_delivery_frequency=n.deliveryFrequency);const l={...a,...u};return(0,r.isEqual)(a,l)?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function p(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),u=!(i===o.vy);return a===u?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:u}}}}}const d=(0,i.G)(u.e,(0,s.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.lH:{const n=(0,c.C)(t.payload.feedUrl);return{...e,[n]:(0,r.merge)({},e[n],{error:t.payload.error})}}case o.AH:{let n=(0,c.C)(t.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(t.payload,["follow","feed_URL"],t.payload.feedUrl),s={...e};i!==t.payload.feedUrl?(o.alias_feed_URLs=[...e[n].alias_feed_URLs||[],(0,c.C)(t.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):e[n]&&e[n].error&&(o.error=null);const a=(0,r.get)(e[n],["delivery_methods","notification"]);return a&&(o.delivery_methods={notification:a}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},e[n],t.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(t.payload.feedUrl),o=e[n];return o&&o.is_following?{...e,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:e}case o.P6:{const n=t.payload.follows,o=(0,r.reduce)(n,((e,t)=>{const n=(0,c.C)(t.URL),r={...t,is_following:!0};return e[n]=r,e}),{});return(0,r.merge)({},e,o)}case o.qY:{const n=t.payload;if(!n||!n.feed_URL||!n.is_following)return e;const o=(0,c.C)(n.feed_URL),i=e[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...e,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(e,t);case o.aL:case o.vy:return p(e,t);case o.b3:{const n=new Set(t.payload);return(0,r.omitBy)(e,(e=>e.ID&&!n.has(e.feed_URL)))}case o.e_:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-t.globalIds.length})}:e}case o.iv:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+t.globalIds.length})}:e}case o.c1:return(0,r.forEach)(t.feedUrls,(t=>{const n=(0,c.C)(t);e[n]={...e[n],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.pickBy)(e,(e=>e.ID&&e.is_following))})),f=(0,a.U)({items:d,itemsCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.P6&&t.payload.totalCount?t.payload.totalCount:e},lastSyncTime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.sh?Date.now():e},loading:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.sh:return!0;case o.b3:return!1}return e}})},75235:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(55347);function o(e){const t=e&&(0,r.Z)(e);return t&&t.replace(/^https?:\/\//,"").toLowerCase()}},35929:(e,t,n)=>{"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(40932);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o._O:return Object.assign({},e,(0,r.keyBy)(t.lists,"ID"));case o.L5:case o.we:return Object.assign({},e,(0,r.keyBy)([t.data.list],"ID"));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e}));function c(e,t,n){if(!(t.listId in e))return e;const o=e[t.listId],i=(0,r.reject)(o,n);return{...e,[t.listId]:i}}const l=(0,i.G)(a.E,(function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(e=i.list)||void 0===e?void 0:e.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const a=null===(t=i.list)||void 0===t?void 0:t.ID;return a?(0,r.filter)(n,(e=>e!==a)):n;case o.kB:return(0,r.filter)(n,(e=>e!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));const p=(0,s.U)({items:u,listItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.q_:return{...e,[t.listId]:t.listItems};case o.cu:{const n=e[t.listId]||[];return(0,r.some)(n,{feed_ID:t.feedId})?e:{...e,[t.listId]:[...n,{feed_ID:t.feedId}]}}case o.MW:return c(e,t,(e=>e.feed_ID===t.feedId));case o.nY:return c(e,t,(e=>e.tag_ID===t.tagId));case o.a$:return c(e,t,(e=>e.site_ID===t.siteId));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e},subscribedLists:l,isCreatingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.DJ:case o.L5:case o.gS:return o.DJ===t.type}return e},isRequestingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.B_:case o.L5:case o.gS:return o.B_===t.type}return e},isRequestingLists:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Ny:case o._O:return o.Ny===t.type}return e},isUpdatingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.s5:case o.we:case o.ud:return o.s5===t.type}return e}})},40932:(e,t,n)=>{"use strict";n.d(t,{d:()=>r,E:()=>o});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(37013);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.$J?t.error?e:(0,r.get)(t,["payload","organizations"],e):e})),c=(0,s.U)({items:u,isRequesting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.S6:return!0;case o.$J:return!1}return e}})},37013:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:(e,t,n)=>{"use strict";n.d(t,{SD:()=>_});var r=n(86989),o=n.n(r),i=n(92819),s=n(88767),a=n(18552),u=(n(7689),n(72429)),c=n(58414),l=n(77327),p=n(4184),d=n(78772),f=n(89258);n(35929);let h={recordEvent:()=>{}},g=()=>{};function m(e){h.recordTracksEvent("calypso_traintracks_render",e.railcar)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={},r=(0,c.Z)();if(r&&(n.content_width=r),e.blogId)return t?(0,a.aO)()?(0,a.ZP)({path:`help/article/${encodeURIComponent(e.blogId)}/${encodeURIComponent(e.postId)}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/help-center/fetch-post?post_id=${encodeURIComponent(e.postId)}&blog_id=${encodeURIComponent(e.blogId)}`}):u.Z.req.get(`/read/sites/${encodeURIComponent(e.blogId)}/posts/${encodeURIComponent(e.postId)}`,n);const{postId:i,feedId:s,...l}=e;return u.Z.req.get(`/read/feed/${encodeURIComponent(s)}/posts/${encodeURIComponent(i)}`,{apiVersion:"1.2",...l,...n})}g=n(29789).yg,h=n(17032);const v=e=>e.catch((()=>null)),w=e=>t=>{if(!e)return Promise.resolve([]);const[n,r]=(0,i.partition)(e,"_should_reload");n.forEach((e=>t(function(e){return function(t){const n=e.railcar;y((0,l.WO)(e)).then((e=>{e.railcar=n,t(w([e]))}))}}(e))));const o=(0,i.compact)(r).map(f.lp);return(0,i.forEach)(o,(e=>{e.is_external||t((0,p.u5)(e.site_ID,e.ID,{iLike:Boolean(e.i_like),found:+e.like_count}))})),t({type:d.nB,posts:o}),Promise.all(o.map(f.yv).map(v)).then((e=>t({type:d.nB,posts:(0,i.compact)(e)}))),(0,i.forEach)((0,i.filter)(o,"railcar"),m),Promise.resolve(o)},b=new Set,_=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{const r=(0,l.C$)(e);if(!b.has(r))return b.add(r),y(e,t).then((e=>(o(),n(w([e]))))).catch((t=>(o(),n(E(t,e)))));function o(){b.delete(r)}}};function E(e,t){return{type:d.nB,posts:[{feed_ID:t.feedId,ID:t.postId,site_ID:t.blogId,is_external:!t.blogId,global_ID:(0,s.Z)(),is_error:!0,error:e}]}}},81823:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:(e,t,n)=>{"use strict";n.d(t,{lp:()=>F,yv:()=>N});var r=n(92819),o=n(77804),i=n(51547),s=n(53544),a=n(10363),u=n(37183),c=n(40691),l=n(17431),p=n(50917),d=n(30757),f=n(51088),h=n(64e3),g=n(42347),m=n(47401),y=n(12800),v=n(31564),w=n(91410),b=n(21036),_=n(53317),E=n(66184),S=n(49147),C=n(59654),P=n(36003),I=n(60566),k=n(75659),T=n(55454),A=n(81823),R=n(99891);function O(e){return e.width>=R.hM&&e.height>=R.qg}function L(e){const t=(0,r.filter)(e.content_images,O);let n=A.Z.UNCLASSIFIED;return t.length>=R.y_?n^=A.Z.GALLERY:e.canonical_media&&"image"===e.canonical_media.mediaType&&e.canonical_media.width>=R.Ws&&(e=>function(e){return e&&e.content_no_html?e.content_no_html.length:0}(e)<=R.ml)(e)&&(n^=A.Z.PHOTO_ONLY),e.canonical_media&&"video"===e.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),e.tags&&e.tags["p2-xpost"]&&(n^=A.Z.X_POST),e.display_type=n,e}const x=(0,r.flow)([y.Z,I.Z,C.Z,b.Z,S.Z,(0,P.Z)(R.fY),w.Z,(0,T.Z)([g.Z,h.Z,(0,d.Z)(),p.Z,f.Z,c.b,c.Y,s.Z,a.Z,u.Z,l.Z,i.Z]),m.Z,_.Z,E.Z,L,o.Z]);function F(e){return e?(e=Object.assign({},e),x(e),e):e}const U=(0,r.flow)([(0,v.Z)(R.Kt,R.qg),_.Z,E.Z,L]);function N(e){return e=Object.assign({},e),(0,k.Z)(e).then(U)}},42334:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(92819),o=n(78772);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.nB:const n=t.posts||t.payload.posts;return{...e,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!0}})),{...e};case o.iv:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!1}})),{...e}}return e},seen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(t,"payload.post.global_ID");return t.type===o.ch&&n?{...e,[n]:!0}:e}})},6712:(e,t,n)=>{"use strict";n.d(t,{UK:()=>a});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((e=>[e.reader.posts.items]),(e=>{let[t]=e;return(0,o.keyBy)(t,(e=>(0,i.C$)((0,i.WO)(e))))})),a=(e,t)=>{if(!t||!(0,i.C$)(t))return null;return s(e)[(0,i.C$)(t)]};(0,r.Z)((e=>[s(e)]),((e,t)=>{let[n]=e;return!t||(0,o.some)(t,(e=>!(0,i.C$)(e)))?null:t.map(i.C$).map((e=>n[e]))}),{getCacheKey:e=>e.map(i.C$).join()})},99891:(e,t,n)=>{"use strict";n.d(t,{fY:()=>r,Ws:()=>o,ml:()=>i,y_:()=>s,hM:()=>a,Kt:()=>u,qg:()=>c});const r=600,o=440,i=85,s=5,a=300,u=144,c=72},12622:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?(0,r.uniqBy)(e.concat(t.payload.sites),"feedId"):e})),u=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?Math.max(t.payload.offset,e):e})),c=(0,s.U)({items:a,pagingOffset:u})},97589:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(83685),o=n(95884),i=n(26395),s=n(13838),a=n(64380),u=n(38357),c=n(6693),l=n(61923),p=n(42334),d=n(12622),f=n(1788),h=n(92972),g=n(8614),m=n(53761),y=n(83530),v=n(64805),w=n(39493);const b=(0,o.U)({conversations:i.Z,feeds:a.ZP,feedSearches:s.ZP,follows:u.ZP,lists:c.ZP,posts:p.ZP,recommendedSites:d.ZP,relatedPosts:f.ZP,siteBlocks:h.ZP,siteDismissals:g.Z,sites:m.ZP,streams:y.ZP,tags:v.Z,thumbnails:w.Z,organizations:l.ZP}),_=(0,r.xi)("reader",b)},1788:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a});var r=n(78772),o=n(95884),i=n(92310);function s(e,t,n){const{siteId:r,postId:o,scope:s}=t.payload;return{...e,[(0,i.Jy)(r,o,s)]:n}}const a=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.Bi?s(e,t,t.payload.posts.map((e=>e.global_ID))):e},queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Cm:return s(e,t,!0);case r.yZ:case r.Rn:return s(e,t,!1)}return e}})},92310:(e,t,n)=>{"use strict";n.d(t,{Jy:()=>r});function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${e}-${t}-${n}`}},92972:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(92819),o=n(78772);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.IJ:return{...e,[t.payload.siteId]:!0};case o.Qw:return(0,r.omit)(e,t.payload.siteId);case o.qY:return t.payload.is_blocked?{...e,[t.payload.ID]:!0}:e[t.payload.ID]?(0,r.omit)(e,t.payload.ID):e;case o.zF:{if(!t.payload||!t.payload.sites)return e;const n=(0,r.reduce)(t.payload.sites,((e,t)=>(e[t.ID]=!0,e)),{});return{...e,...n}}}return e},currentPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF&&t.payload&&t.payload.page?t.payload.page:e},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF?!t.payload||!t.payload.page||t.payload.count>0?e:t.payload.page:e},inflightPages:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.zg:return t.payload&&t.payload.page?{...e,[t.payload.page]:!0}:e;case o.zF:return t.payload&&t.payload.page?(0,r.omit)(e,t.payload.page):e}return e}})},8614:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.D8:return{...e,[t.payload.siteId]:!0};case r.K1:return{...e,[t.payload.siteId]:!0}}return e}})},63262:(e,t,n)=>{"use strict";n.d(t,{LV:()=>o,N0:()=>i,vE:()=>s});var r=n(78772);n(8681),n(35929);function o(e){return{type:r.LW,payload:{ID:e}}}function i(e){return{type:r.qY,payload:e}}function s(e,t){return{type:r.Fy,payload:e.payload,error:t}}},70418:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>h});var r=n(92819),o=n(50118),i=n(47307),s=n(78772),a=n(29398),u=n(71085),c=n(95884),l=n(5259);function p(e,t){return t.error&&!(0,r.includes)([403,404,410],t.error.statusCode)?e:{...e,[t.payload.ID]:{ID:t.payload.ID,is_error:!0,error:t.error}}}function d(e,t){const n=(s=t.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...e,[t.payload.ID]:n}}const f=(0,a.G)(l.u,(0,u.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.zF:if(!t.payload||!t.payload.sites)return e;return{...(0,r.keyBy)(t.payload.sites,"ID"),...e};case s.qY:return d(e,t);case s.Fy:return p(e,t)}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));const h=(0,c.U)({items:f,queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.LW:return{...e,[t.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(e,t.payload.ID)}return e},lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.qY?{...e,[t.payload.ID]:Date.now()}:e}})},5259:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:(e,t,n)=>{"use strict";n.d(t,{_g:()=>o});n(92819),n(35929);const r=144e7;function o(e,t){const n=!e.reader.sites.queuedRequests[t],o=!function(e,t){return e.reader.sites.items[t]}(e,t);return n&&(o||function(e,t){const n=e.reader.sites.lastFetched[t];if(!n)return!0;return n<=Date.now()-r}(e,t))}},83530:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g});var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),a=n(78772),u=n(95884),c=n(15960),l=n(86115);const p=(e,t)=>{const[n,...r]=e;return e.length>0&&t(n)?[n,...p(r,t)]:[]},d=(e,t)=>p([...e].reverse(),t),f={lastUpdated:null,items:[]},h=(0,u.U)({items:function(){let e,t,n,o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:if(t=c.payload.gap,e=c.payload.streamItems,t){const n=p(u,(e=>!(0,s.NK)(e,t))),o=d(u,(e=>!(0,s.NK)(e,t)));if((0,s.NK)((0,r.last)(e),o[0])&&e.pop(),0===e.length)return[...n,...o];let a=[];const c=t.from,f=i()((0,r.last)(e).date);return c.isSame(f)||(a=[{isGap:!0,from:c,to:f}]),(0,l.E)([...n,...e,...a,...o])}return n=e.reduce(((e,t)=>!e.some((e=>(0,s.NK)(e,t)))?[...e,t]:e),u),o=(0,r.filter)(e,(e=>e.xPostMetadata)),o?(0,l.E)(n):n;case a.c7:return(0,l.E)([...c.payload.items,...u]);case a.K1:{const e=c.payload.postKey,t=(0,r.findIndex)(u,(t=>(0,s.NK)(t,e)));if(-1===t)return u;const n=[...u];return n[t]=n.pop(),n}}return u},pendingItems:function(){let e,t,n,o,s,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),u.lastUpdated&&t.isSameOrBefore(u.lastUpdated)?u:{...u,lastUpdated:t});case a.RN:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),n=i()((0,r.last)(e).date),u.lastUpdated&&(e=e.filter((e=>i()(e.date).isAfter(u.lastUpdated)))),0===e.length?u:(o=[...e],s=(0,r.filter)(o,(e=>e.xPostMetadata)),s&&(o=(0,l.E)(o)),u.lastUpdated&&n.isAfter(u.lastUpdated)&&o.push({isGap:!0,from:u.lastUpdated,to:n}),{lastUpdated:t,items:o}));case a.c7:return{...u,items:[]}}return u},selected:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case a._7:return n.payload.postKey;case a.l0:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),e===n.payload.items.length-1?t:n.payload.items[e+1];case a.rC:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),0===e?t:n.payload.items[e-1]}return t},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.pu?0===t.payload.streamItems.length:e},isRequesting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.CI:return e||!t.payload.isPoll&&!t.payload.isGap;case a.pu:return!1}return e},pageHandle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type!==a.pu||!t.payload.pageHandle||t.payload.isPoll||t.payload.gap?e:t.payload.pageHandle}}),g=(0,c.J)("payload.streamKey",h)},86115:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(92819),o=n(46310);const i=e=>e.reduce(((e,t)=>{const n=(0,r.last)(e);var i,s;return(0,o.qb)(n,t)?e[e.length-1]=(i=n,s=t,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):e.push(t),e}),[])},49054:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.Ep){let n=t.images;return e[t.tag]&&(n=e[t.tag].concat(t.images)),{...e,[t.tag]:n}}return e},requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.hB:case r._i:case r.Jx:return{...e,[t.tag]:t.type===r.hB}}return e}})},84668:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(78772);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.fY:{const n=t.payload;if(!t.meta.resetFollowingData)return(0,r.merge)({},e,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(e,(e=>({...e,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=t.payload;return(0,r.merge)({},e,{[n]:{isFollowing:!1}})}}return e}},64805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(95884),o=n(49054),i=n(84668);const s=(0,r.U)({images:o.ZP,items:i.Z})},39493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.CE?{...e,[t.embedUrl]:t.thumbnailUrl}:e}})},9044:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,x:()=>a});var r=n(86398);let o;const i=[];function s(e,t){o&&(0,r.Z)(),o=(0,r.l)(e,t);for(const[n,r]of i)o(n,r)}function a(e,t){o&&o(e,t),i.push([e,t])}},30963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);n(91789);function o(e){return(0,r.get)(e,"ui.language.localeSlug",null)}},96767:(e,t,n)=>{"use strict";n(92819),n(28879)},87720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(36747);function i(e){const t=(0,o.ts)(e);return(0,r.get)(t,"primary_blog",null)}},53843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(37480);function o(e,t){return(0,r.Z)(e)[t]||null}},23047:(e,t,n)=>{"use strict";n(53843)},37480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=Object.freeze({});function o(e){return e.sites.items||r}},16193:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(76678);n(65811);const o=e=>{const t=(0,r.I)(e);return t&&t.some((e=>e.isRefundable||"premium_theme"!==e.productSlug))}},28879:(e,t,n)=>{"use strict";n(92819)},87697:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(56666),o=n(92819);class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=e}get(){return this.results}root(){return this.results.root}addRootResult(e,t){return this.addResult("root",e,t)}addKeyResult(e,t){return this.addResult(e,null,t)}addResult(e,t,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(e,t,n):this.addResult(r,null,n)})):t?(this.results[e]||(this.results[e]={}),this.results[e][t]=n):this.results[e]=n}}},40540:(e,t,n)=>{"use strict";n.d(t,{BU:()=>u,LV:()=>c});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),a=(n(91668),n(96767),n(23047),n(84465));function u(){return e=>{e({type:s.M4_});const t=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:a.U,options:a.x,filters:t.length>0?t.join(","):void 0}).then((t=>{var n;e((n=t.sites,{type:s.xLe,sites:n})),e({type:s.KSQ})})).catch((t=>{e({type:s.eTV,error:t})}))}}function c(e){function t(t){const n={apiVersion:"1.2"};t&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(e).get(n)}return n=>{n({type:s.hJk,siteId:e});const r=t(!1).catch((e=>403===(null==e?void 0:e.status)&&"API calls to this blog have been disabled."===(null==e?void 0:e.message)||400===(null==e?void 0:e.status)&&"ApiNotFoundError"===(null==e?void 0:e.name)?t(!0):Promise.reject(e)));return r.then((t=>{t&&t.capabilities&&n(function(e){return{type:s.UUJ,site:e}}((0,o.omit)(t,"_headers"))),n({type:s.Mvd,siteId:e})})).catch((()=>{n({type:s.uuM,siteId:e})})),r}}},92546:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(40211),o=n(95884);const i=e=>(t,n)=>{let{siteId:r}=n;return{...t,[r]:e}},s=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.tvw){const{siteId:n,status:r}=t;return{...e,[n]:r}}return e},requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.U5d:return i(!0)(e,t);case r.QLz:case r.D5g:return i(!1)(e,t)}return e}})},84465:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,x:()=>o});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description","user_interactions"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","updated_at","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent","launchpad_screen","launchpad_checklist_tasks_statuses"].join()},26171:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(35743);const u=(e,t,n,o)=>{const i=(0,r.find)(e[t],{domain:n}),s=e[t].indexOf(i),a=[...e[t]];return a.splice(s,1,Object.assign({},i,o)),Object.assign({},e,{[t]:a})},c=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{siteId:n}=t;switch(t.type){case o.t2O:return Object.assign({},e,{[n]:t.domains});case o.DGo:return u(e,n,t.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return e})),l=(0,s.U)({errors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.wOJ:case o.RI4:return Object.assign({},e,{[t.siteId]:null});case o.dyA:return Object.assign({},e,{[t.siteId]:t.error})}return e},items:c,requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.wOJ:case o.RI4:case o.dyA:return Object.assign({},e,{[t.siteId]:t.type===o.wOJ})}return e},updatingPrivacy:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},e,{[t.siteId]:{[t.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(t.type)}})}return e}})},35743:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(t){case r.fa4:return i(e,n,{error:null,isRequesting:!0});case r.xNf:return i(e,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(e,n,{error:s,isRequesting:!1})}return e}},56733:(e,t,n)=>{"use strict";n.d(t,{P:()=>r.Z});n(47437);var r=n(6826)},47437:(e,t,n)=>{"use strict";n(4792)},6826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4792),o=n(20834),i=n(3418);const s=e=>{const t=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,t||0,e)))}},96829:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const a=(0,o.J)("siteId",((e,t)=>{let{type:n}=t;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return e})),u=(0,o.J)("siteId",((e,t)=>{let{type:n,payload:o}=t;return n===r.Kmp?o?(e=>{const t={};return e.forEach((e=>{t[e.product_id]=(e=>{let{currency_code:t,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:a}=e;return{currencyCode:t,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:a}})(e)})),t})(o):void 0:e})),c=(0,i.U)({requestStatus:a,items:u})},11900:(e,t,n)=>{"use strict";let r;n.d(t,{e:()=>r}),function(e){e.Pending="pending",e.Success="success",e.Failed="failed"}(r||(r={}))},20152:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(e,t,n){return Object.assign({},e,{[t]:Object.assign({},i,e[t],n)})}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.gNn:return s(e,t.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.plans});case o.$MQ:return s(e,t.siteId,{error:t.error,isRequesting:!1});case o.XLI:return(0,r.omit)(e,t.siteId)}return e}},42935:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.eO9:return i(e,t.siteId,{error:null,isRequesting:!0});case r.S3d:return i(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.products});case r.whB:return i(e,t.siteId,{error:t.error,isRequesting:!1})}return e}},82139:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y});var r=n(92819),o=n(40211),i=n(46505),s=n(29398),a=n(95884),u=n(92546),c=n(26171),l=n(22900),p=n(96829),d=n(20152),f=n(42935),h=n(43056);const g=(0,s.G)(h.K,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(null===e&&t.type!==o.UUJ&&t.type!==o.xLe)return null;switch(t.type){case o.Khp:{const n=e[t.siteId];return n?Object.assign({},e,{[t.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):e}case o.UUJ:case o.xLe:{const n=t.site?[t.site]:t.sites,i=o.xLe===t.type?{}:e;return(0,r.reduce)(n,((t,n)=>((0,r.isEqual)(t[n.ID],n)||(t===e&&(t={...e}),t[n.ID]=n),t)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(e,t.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=t,i=e[n];if(!i)return e;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((t,a)=>{if(!o.hasOwnProperty(a))return t;switch(a){case"blog_public":{const e=-1===parseInt(o.blog_public,10);if(i.is_private===e)return t;s={...s,is_private:e};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const e=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===e)return t;s={...s,is_coming_soon:e};break}case"site_icon":{const e=o.site_icon;if(!i.icon&&null===e||i.icon&&i.icon.media_id===e)return t;s=null===e?(0,r.omit)(s,"icon"):{...s,icon:{media_id:e}};break}}return t===e&&(t={...e}),t[n]=s,t}),e)}case o.aqr:{const{siteId:n,mediaIds:o}=t,i=(0,r.get)(e[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...e,[n]:(0,r.omit)(e[n],"icon")}:e}case o.U0$:{const{siteId:n}=t,o=(0,r.get)(e[n],"updates");return o?{...e,[n]:{...e[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:e}case o.uvG:{const{siteId:n,frontPageOptions:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=t;if(!e[n])return e;const s=e[n].site_migration||{},a={status:o};return i&&(a.last_modified=i),{...e,[n]:{...e[n],site_migration:(0,r.merge)({},s,a)}}}}return e})),m=(0,s.G)(h.W,(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.xLe||e})),y=(0,a.U)({connection:u.ZP,domains:c.ZP,requestingAll:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.M4_:return!0;case o.eTV:case o.KSQ:return!1}return e},introOffers:p.ZP,items:g,plans:d.z,products:f.R,features:l.E,requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.hJk:{const{siteId:n}=t;return{...e,[n]:!0}}case o.uuM:{const{siteId:n}=t;return{...e,[n]:!1}}case o.Mvd:{const{siteId:n}=t;return{...e,[n]:!1}}}return e},hasAllSitesList:m,jetpackSiteDisconnected:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.ftJ:return!1;case o.Oh9:return!0}return e}})},43056:(e,t,n)=>{"use strict";n.d(t,{K:()=>r,W:()=>o});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(75134),o=n(3418),i=n(48380);function s(e,t){if(!(0,i.Z)(e,t))return null;if(!(0,r.Z)(e,t))return!1;const n=(0,o.Z)(e,t,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(3418),o=n(48380),i=n(57481);function s(e,t){if(!(0,o.Z)(e,t))return null;if((0,r.Z)(e,t,"is_multi_network"))return!1;if((0,i.Z)(e,t))return!1;const n=(0,r.Z)(e,t,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),a=n(48380);function u(e,t,n,u,c){if(!(0,a.Z)(e,t)){const o=(0,s.Z)(e,t),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:u,guide:c},i)}const l=(0,i.Z)(e,t,"customize.php");return l?(u||"undefined"==typeof window||(u=window.location.href),(0,r.Z)({return:u,...(0,o.t)(n),guide:c},l)):null}},15199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(31716),o=n(75134),i=n(48380),s=n(47020),a=n(57481);function u(e,t){return(0,i.Z)(e,t)?{canAutoupdateFiles:(0,r.Z)(e,t),canUpdateFiles:(0,o.Z)(e,t),isMainNetworkSite:(0,s.Z)(e,t),isSecondaryNetworkSite:(0,a.Z)(e,t)}:{}}},96666:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3418);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(e,t,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(37480),i=n(64802);const s=(0,r.P1)(((e,t)=>Object.values((0,o.Z)(e)).find((n=>(0,i.Z)(e,n.ID)===t))??null),(e=>[(0,o.Z)(e)]))},29926:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(72537),i=n(37480);const s=(0,r.P1)((e=>{const t=Object.values((0,i.Z)(e));return(0,o.Cm)(t)}),i.Z)},84810:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(47307),o=n(53843),i=n(65663),s=n(3418),a=n(46480),u=n(64802),c=n(40877),l=n(48380),p=n(91608);function d(e,t){if(!(0,o.Z)(e,t))return null;const n={domain:(0,i.Z)(e,t),options:(0,a.Z)(e,t),slug:(0,u.Z)(e,t),title:(0,c.Z)(e,t)};return(0,s.Z)(e,t,"is_mapped_domain")&&!(0,l.Z)(e,t)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(e,t,"unmapped_url"))),(0,p.Z)(e,t)&&(n.URL=(0,s.Z)(e,t,"unmapped_url")),n}},65663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(47307),o=n(53843),i=n(3418),s=n(64802),a=n(91608);function u(e,t){if((0,i.Z)(e,t,"is_redirect")||(0,a.Z)(e,t))return(0,s.Z)(e,t);const n=(0,o.Z)(e,t);return n?(0,r.ce)(n.URL):null}},3418:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(46480);function o(e,t,n){if(!t)return null;const o=(0,r.Z)(e,t);return(null==o?void 0:o[n])??null}},46480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843);const o=Object.freeze({}),i=(e,t)=>{const n=(0,r.Z)(e,t);return n?n.options||o:null}},64802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(83685),o=n(47307),i=n(53843),s=n(37480),a=n(3418),u=n(46480),c=n(91608);const l=(0,r.P1)(((e,t)=>{const n=(0,i.Z)(e,t);return n?(0,a.Z)(e,t,"is_redirect")||(0,c.Z)(e,t)?(0,o.ce)((0,a.Z)(e,t,"unmapped_url")):(0,o.nq)(n.URL):null}),((e,t)=>[(0,s.Z)(e),(0,u.Z)(e,t)]))},40877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843),o=n(65663);function i(e,t){const n=(0,r.Z)(e,t);return n?n.name?n.name.trim():(0,o.Z)(e,t):null}},78871:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let a=new WeakMap;function u(e,t){if(!t)return null;const n=(0,r.Z)(e,t)||(0,i.Z)(e,t);if(!n)return null;const u=a.get(n);if(u)return u;const c={...n,...(0,s.Z)(e,n.ID),...(0,o.Z)(e,n.ID)};return a.set(n,c),c}u.clearCache=()=>{a=new WeakMap}},79791:(e,t,n)=>{"use strict";function r(e){return!!e.sites.hasAllSitesList}n.d(t,{Z:()=>r})},47020:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(47307),o=n(53843),i=n(3418),s=n(48380);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)===(0,r.ce)(u)}},54837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r={considerStandaloneProducts:!0,treatAtomicAsJetpackSite:!0};function o(e){return function(t){var n,o,i;if(!t)return null;const s=e?{...r,...e}:r;return!(!s.treatAtomicAsJetpackSite&&null!==(n=t.options)&&void 0!==n&&n.is_wpcom_atomic)&&(!!t.jetpack||!!s.considerStandaloneProducts&&Boolean(null===(o=t.options)||void 0===o||null===(i=o.jetpack_connection_active_plugins)||void 0===i?void 0:i.length))}}},57481:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(47307),o=n(53843),i=n(3418),s=n(48380);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)!==(0,r.ce)(u)}},48380:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843),o=n(54837);function i(e,t,n){if(!t)return null;const i=(0,r.Z)(e,t);return(0,o.Z)(n)(i)}},58863:(e,t,n)=>{"use strict";function r(e,t){return!!e.sites.requesting[t]}n.d(t,{Z:()=>r})},52239:(e,t,n)=>{"use strict";function r(e){return!!e.sites.requestingAll}n.d(t,{Z:()=>r})},91608:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(29926);function o(e,t){return(0,r.Z)(e).includes(t)}},46505:(e,t,n)=>{"use strict";n.d(t,{hX:()=>r,K6:()=>o});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],a={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},u=(c=[e=>a.hasOwnProperty(e.type)&&("function"!=typeof a[e.type]||a[e.type](e)),e=>(0,r.get)(e,"meta.analytics",[]).some((e=>s.includes(e.payload.name)))],e=>c.some((t=>t(e))));var c;const l=e=>({...e,timestamp:Date.now()}),p=(e,t)=>t?[...e,t].slice(-50):e,d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return u(t)?p(e,l(t)):e}},71799:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(40211);n(91789);function o(e){return{type:r.bgv,siteId:e}}},46117:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t}=arguments.length>1?arguments[1]:void 0;return t===r.JYg||e}},1184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.Fux?n:e}},57718:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(e=n.section)||void 0===e||!e.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?t:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""})),a=(0,i.U)({upgradeIntent:s})},91789:(e,t,n)=>{"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;return t.type===o.JqF?{localeSlug:t.localeSlug,localeVariant:t.localeVariant}:e}},48659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(40211);const o={current:"content",next:null};function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.kUt:return t.area===e.current?e:Object.assign({},e,{current:t.area});case r.vO0:return t.area===e.next?e:Object.assign({},e,{next:t.area});case r.XTm:{let t=e.next;return t||"content"===e.current||(t="content"),t?Object.assign({},e,{current:t,next:null}):e}}return e}},31175:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.NnF?n:e}},30592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=(0,n(95884).U)({view:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.WkZ?t.view:e}})},45405:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(40211);const o={postIdWithActiveSharePanel:null},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.KF6:return{...e,postIdWithActiveSharePanel:null};case r.WYe:return e.postIdWithActiveSharePanel===t.postGlobalId?{...e,postIdWithActiveSharePanel:null}:{...e,postIdWithActiveSharePanel:t.postGlobalId}}return e}},37508:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(40211);const o=(0,n(95884).U)({currentPreviewSiteId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.dGx?t.siteId??null:e},currentPreviewUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.dGx:return t.url;case r.kLL:return null}return e}})},74307:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>_});var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(50425),u=n(46117),c=n(1184),l=n(57718),p=n(28958),d=n(48659),f=n(31175),h=n(30592),g=n(45405),m=n(37508),y=n(77027);const v=(0,i.G)({type:["number","null"]},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv?t.siteId||null:e})),w=(0,i.G)({type:"boolean"},(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv||e}));const b=(0,s.U)({actionLog:a.Z,appBannerVisibility:c.Z,appBannerDismissed:u.Z,checkout:l.Z,isSectionLoading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Nq?t.isSectionLoading:e},isNotificationsOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:t}=arguments.length>1?arguments[1]:void 0;return t===o.hxz?!e:e},language:p.Z,layoutFocus:d.Z,masterbarVisibility:f.Z,mediaModal:h.Z,postTypeList:g.Z,preview:m.ZP,section:y.Z,selectedSiteId:v,siteSelectionInitialized:w}),_=(0,r.xi)("ui",b)},9817:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(40211);n(91789);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...t,type:r.IK5};return e&&(n.section=e),n}},77027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.IK5&&void 0!==t.section?t.section:e}},73041:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(75149);function i(e){return(0,r.get)((0,o.Z)(e),"name",null)}},75149:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(91789);function r(e){return e.ui.section||!1}},20834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(91789);function r(e){return e.ui.selectedSiteId}},86091:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(78871),o=n(20834);function i(e){const t=(0,o.Z)(e);return t?(0,r.Z)(e,t):null}},90924:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r=e=>(t,n)=>{const r=e(t,n);let o=t;return{...r,addReducer:function(e,t){o=o.addReducer(e,t),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const a=(e,t)=>{if("string"!=typeof e)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof e);if(!e.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof t)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof t);const n=t(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,e,void 0);if(null==s)return o;const a=o[s],u=t(a,i);return u===a?o:void 0===u||(0,r.isEqual)(u,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:u}}),{serialize:e=>(0,r.reduce)(e,((e,s,a)=>{const u=(0,i.q)(t,s);return void 0===u||(0,r.isEqual)(u,n)||(e||(e=new o._),e.addRootResult(a,u)),e}),void 0),deserialize:e=>(0,r.omitBy)((0,r.mapValues)(e,(e=>(0,i.v)(t,e))),(e=>void 0===e||(0,r.isEqual)(e,n)))})}},95884:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),a=n(69909);function u(e){const t=(0,o.UY)(e),n=(n,o)=>o.type===i.gm2?function(e,t,n){let o=!1;const i=(0,r.mapValues)(e,((e,i)=>{if(e.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(t,i),a=e(s,n);return o=o||a!==s,a}));return o?i:t}(e,n,o):t(n,o);return n.serialize=t=>function(e,t){if(void 0===t)return;return(0,r.reduce)(e,((e,n,r)=>{const o=(0,a.q)(n,t[r]);return void 0!==o&&(e||(e=new s._),n.storageKey?e.addKeyResult(n.storageKey,o):e.addRootResult(r,o)),e}),void 0)}(e,t),n.deserialize=t=>function(e,t){return(0,r.mapValues)(e,((e,n)=>(0,a.v)(e,null==t?void 0:t[n])))}(e,t),n.addReducer=function(e,t){return(n,r)=>{const[o,...i]=n,s=t[o];let a;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");a=s.addReducer(i,r)}else a=i.reduceRight(((e,t)=>u({[t]:e})),r);const c=u({...t,[o]:a});return c.storageKey=e.storageKey,c}}(n,e),n.getStorageKeys=function(e){return function*(){for(const t of Object.values(e))t.storageKey&&(yield{storageKey:t.storageKey,reducer:t}),t.getStorageKeys&&(yield*t.getStorageKeys())}}(e),n}},29398:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),a=n(69909),u=n(71085);function c(e,t,n){const o=(0,a.q)(t,(0,r.aY)(t));return!!(0,s.isEqual)(n,o)||function(e,t,n){return i()(t,{greedy:!1,verbose:!1})(e)}(n,e)}const l=(e,t)=>{const n=(0,u.$)(t);return(0,u.$)(n,{deserialize:t=>void 0===t?(0,r.aY)(n):c(e,n,t)?(0,a.v)(n,t):(0,r.aY)(n)})}},69909:(e,t,n)=>{"use strict";n.d(t,{q:()=>o,v:()=>i});var r=n(83685);function o(e,t){if(e.serialize)return e.serialize(t)}function i(e,t){return e.deserialize?e.deserialize(t):(0,r.aY)(e)}},71085:(e,t,n)=>{"use strict";function r(e){let{serialize:t,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.bind(null);return r.serialize=t||e.serialize||(e=>e),r.deserialize=n||e.deserialize||(e=>e),r}n.d(t,{$:()=>r})},36115:(e,t,n)=>{"use strict";n.d(t,{vX:()=>r.Z,ts:()=>o.t,P6:()=>i.P6,w2:()=>i.w2,jN:()=>i.jN,$A:()=>i.$A,MB:()=>i.MB,di:()=>i.di,MR:()=>i.MR,lH:()=>i.lH});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});let r=null,o=0;function i(e){const t={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${e}(${o+1})`};return r=e,o++,t}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:(e,t,n)=>{"use strict";n.d(t,{lH:()=>m,MR:()=>y,di:()=>v,MB:()=>w,$A:()=>b,jN:()=>_,P6:()=>E,w2:()=>S});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),a=n(29377),u=n(36209),c=n(19358),l=n(21694);const p=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked","wpcom_launchbar_button_click"];let d,f=Promise.resolve();function h(e){if("undefined"==typeof window)return"";e=e.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function g(){return f.catch((()=>{let e,t;const n=(0,u.t)();if(n&&n.ID)e="wpcom:user_id",t=n.ID;else if(e=h("_ut")||"anon",t=h("_ui"),!t){const e=i.parse(document.cookie);if(e.tk_ai)t=e.tk_ai;else{t=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(e=new Uint8Array(t),window.crypto.getRandomValues(e)):e=(0,s.times)(t,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...e)))}(18),document.cookie=i.serialize("tk_ai",t)}}return(0,c.Z)("Loading /nostats.js",{_ut:e,_ui:t}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(e)+"&_ui="+encodeURIComponent(t))}))}function m(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(f=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function w(e,t){return"function"==typeof t&&((0,c.Z)("superProps",t),d=t),"object"==typeof e&&((0,c.Z)("identifyUser",e),b(e)),(0,c.Z)("checkForBlockedTracks"),g()}function b(e){if("object"!=typeof e)return void(0,c.Z)("Invalid userData.",e);const t=(0,u.l)(e);t?((0,c.Z)("Tracks identifyUser.",t),m(["identifyUser",t.ID,t.username])):(0,c.Z)("Insufficient userData.",e)}function _(e,t){if(t=t||{},(0,c.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,s.includes)(p,e)){if(d){const e=d(t);t={...t,...e}}t=(0,s.omitBy)(t,(e=>void 0===e)),(0,c.Z)('Recording event "%s" with actual props %o',e,t),m(["recordEvent",e,t]),y.emit("record-event",e,t)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(e,t){(0,c.Z)("Recording pageview in tracks.",e,t);let n={do_not_track:(0,l.Z)()?1:0,path:e};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),t&&(n=Object.assign(n,t)),"undefined"!=typeof window&&window.location){const e=new URL(window.location.href).searchParams,t=e&&Array.from(e.entries()).filter((e=>{let[t]=e;return t.startsWith("utm_")})),r=t?Object.fromEntries(t):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(e,t){const n=(0,a.i)(e);E(e,Object.assign(t||{},n))}},73722:(e,t,n)=>{"use strict";n(59792)},36209:(e,t,n)=>{"use strict";n.d(t,{t:()=>i,l:()=>s});var r=n(40004);let o;function i(){return o}function s(e){if(e.ID&&!isNaN(parseInt(e.ID,10))&&e.username&&e.email)return o={ID:parseInt(e.ID,10),username:e.username,email:e.email,hashedPii:{ID:(0,r.Z)(e.ID),username:(0,r.Z)(e.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(e.email.toLowerCase().replace(/\s/g,""))}},o}},19358:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(38049);const o=n.n(r)()("calypso:analytics")},21694:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19358);function o(){const e=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${e}`),e}},40004:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(68032),o=n.n(r);function i(e){return o()().update(e.toString()).digest("hex")}},29770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},o={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1},i=e=>((e=Object.assign(e,r)).features&&(e.features=Object.assign(e.features,o)),window.electron&&window.electron.features&&(e.features=Object.assign(e.features??{},window.electron.features)),e)},20899:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p,_k:()=>d});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window)throw new Error("Trying to initialize the configuration outside of a browser context.");window.configData||(window.configData={});const s=void 0!==window.electron;let a;a=s?(0,i.Z)(window.configData):window.configData;const u=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(e,t){e.split(",").forEach((e=>{const n=e.replace(/^[-+]/,""),r=!/^-/.test(e);a.features&&(a.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",t,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(a.env_id)||"undefined"!=typeof window&&u.test(window.location.host)){const e=o.parse(document.cookie);e.flags&&c(e.flags,"cookie");try{const e=window.sessionStorage.getItem("flags");e&&c(e,"sessionStorage")}catch(f){}const t=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);t&&c(decodeURIComponent(t[1]),"URL")}const l=(0,r.Z)(a),p=l,d=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:(e,t,n)=>{"use strict";n(65688),n(46106)},82006:(e,t,n)=>{"use strict";n.d(t,{bh:()=>r,vD:()=>o,ZJ:()=>i,j_:()=>s,pG:()=>a,Ox:()=>u,qK:()=>c,pF:()=>l,$N:()=>p,kK:()=>d,KG:()=>f,yc:()=>h,ec:()=>g,E9:()=>m,Zs:()=>y,NV:()=>v,_o:()=>w,BS:()=>b,ST:()=>_});const r="cancellation-accept-payments",o="cancellation-ad-free",i="cancellation-backups-restore",s="cancellation-collect-payments",a="cancellation-ad-revenue",u="cancellation-email-support",c="cancellation-google-analytics",l="cancellation-hq-videos",p="cancellation-jetpack-essentials",d="cancellation-live-chat",f="cancellation-managed-hostings",h="cancellation-plugins",g="cancellation-premium-design",m="cancellation-premium-themes",y="cancellation-security-and-spam",v="cancellation-seo-tools",w="cancellation-seo-social",b="cancellation-sfpt-database",_="cancellation-shipping-carriers"},21862:(e,t,n)=>{"use strict";n.d(t,{wJ_:()=>o,Ai8:()=>i,Eb2:()=>s,gqo:()=>a,c74:()=>u,jDM:()=>c,Zaf:()=>l,KlX:()=>p,W4b:()=>d,E5t:()=>f,SLH:()=>h,gI6:()=>g,U_2:()=>m,n_S:()=>y,dmM:()=>v,IhT:()=>w,vkU:()=>b,N5t:()=>_,HPg:()=>E,J8D:()=>S,dJS:()=>C,Vms:()=>P,$G1:()=>I,ggN:()=>k,Tez:()=>T,Xk_:()=>A,iTE:()=>R,QNW:()=>O,XMd:()=>L,Ej:()=>x,Q3C:()=>F,B2h:()=>U,xjj:()=>N,V09:()=>D,Tmz:()=>Z,Zjz:()=>j,Vml:()=>M,Uwp:()=>q,igx:()=>B,VyO:()=>H,Z5U:()=>V,PUy:()=>W,rli:()=>$,vEX:()=>z,MCU:()=>G,Q1W:()=>Q,fhe:()=>Y,SZ6:()=>K,Tx8:()=>J,sYz:()=>X,ljn:()=>ee,vqo:()=>te,R2o:()=>ne,EBu:()=>re,EDT:()=>oe,q4V:()=>ie,fp6:()=>se,cWM:()=>ae,_3A:()=>ue,QfP:()=>ce,aeb:()=>le,$NZ:()=>pe,wwD:()=>de,rlg:()=>fe,F$l:()=>he,gRD:()=>ge,V37:()=>me,s1f:()=>ye,_sL:()=>ve,nsi:()=>we,L2_:()=>be,$PM:()=>_e,Rp9:()=>Ee,$QL:()=>Se,zQV:()=>Ce,vQ$:()=>Pe,E30:()=>Ie,m1c:()=>ke,wUt:()=>Te,ALM:()=>Ae,okS:()=>Re,$xY:()=>Oe,$23:()=>Le,Xif:()=>xe,Do2:()=>Fe,$vg:()=>Ue,kI:()=>Ne,DwI:()=>De,csF:()=>Ze,afj:()=>je,HpB:()=>Me,w7L:()=>qe,oIe:()=>Be,XgZ:()=>He,CtJ:()=>Ve,YmK:()=>We,n$d:()=>$e,dZ$:()=>ze,X2I:()=>Ge,rDn:()=>Qe,$4:()=>Ye,V1k:()=>Ke,TBQ:()=>Je,s4b:()=>Xe,TZT:()=>et,$pY:()=>tt,mX4:()=>nt,tS0:()=>rt,L2R:()=>ot,V1I:()=>it,FR0:()=>st,zrQ:()=>at,T$h:()=>ut,lv3:()=>ct,ewW:()=>lt,GwK:()=>pt,w6W:()=>dt,liF:()=>ft,DJ3:()=>ht,puh:()=>gt,xlk:()=>mt,VZW:()=>yt,sQp:()=>vt,lYf:()=>wt,$mN:()=>bt,JqD:()=>_t,bHF:()=>Et,XZZ:()=>St,vje:()=>Ct,S_M:()=>Pt,yjN:()=>It,iC0:()=>kt,rdd:()=>Tt,bJv:()=>At,ops:()=>Rt,FiJ:()=>Ot,c__:()=>Lt,x_7:()=>xt,fDA:()=>Ft,SsD:()=>Ut,O05:()=>Nt,hH1:()=>Dt,Ly9:()=>Zt,FNU:()=>jt,DEy:()=>Mt,n26:()=>qt,ikw:()=>Bt,Vhs:()=>Ht,nl4:()=>Vt,kWv:()=>Wt,pOV:()=>$t,Ix:()=>zt,WCW:()=>Gt,Hrz:()=>Qt,HkP:()=>Yt,y4L:()=>Kt,baL:()=>Jt,LDi:()=>Xt,cMD:()=>en,_xz:()=>tn});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",a="jetpack-essential",u="jetpack-advanced",c="free-themes",l="1gb-storage",p="3gb-storage",d="6gb-storage",f="13gb-storage",h="50gb-storage",g="200gb-storage",m="community-support",y="email-support",v="email-live-chat-support-business-days",w="email-live-chat-support-all-days",b="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",C="css-customization",P="google-analytics",I="cloudflare-analytics",k="google-my-business",T="live-chat-support",A="no-adverts",R="video-upload",O="video-upload-jetpack-pro",L="audio-upload",x="wordads-instant",F="no-wp-branding",U="advanced-seo",N="upload-plugins",D="install-plugins",Z="upload-themes",j="republicize",M="simple-payments",q="all-free-features",B="all-free-features-jetpack",H="all-personal-features",V="all-premium-features",W="all-premium-features-jetpack",$="advanced-design-customization",z="upload-themes-and-plugins",G="free-custom-domain",Q="free-blog-domain",Y="email-support-signup",K="monetise-your-site",J="earn-ad-revenue",X="wordpress-subdomain-signup",ee="advanced-seo-tools",te="advanced-seo-expanded-abbreviation",ne="free-themes-signup",re="memberships",oe="premium-content-block",ie="hosting",se="premium-design-for-stores",ae="sftp-and-database-access",ue="site-backups-and-restore",ce="unlimited-premium-themes",le="advanced-design-customization-and-css",pe="blank-feature",de="standard-security-tools",fe="site-stats",he="traffic-tools",ge="jetpack-manage",me="spam-akismet-plus",ye="offsite-backup-vaultpress-daily",ve="offsite-backup-vaultpress-realtime",we="backup-archive-30",be="backup-archive-unlimited",_e="backup-storage-space-unlimited",Ee="automated-restores",Se="easy-site-migration",Ce="malware-scanning-daily",Pe="malware-scanning-daily-and-on-demand",Ie="one-click-threat-resolution",ke="automatic-security-fixes",Te="site-activity-log",Ae="free-wordpress-themes",Re="seo-preview-tools",Oe="accept-payments",Le="shipping-carriers",xe="unlimited-products-service",Fe="ecommerce-marketing",Ue="premium-customizable-themes",Ne="all-business-features",De="backup-daily-v2",Ze="backup-realtime-v2",je="product-backup-daily-v2",Me="product-backup-realtime-v2",qe="scan-v2",Be="product-scan-daily-v2",He="product-scan-realtime-v2",Ve="antispam-v2",We="waf",$e="activity-log-1-year-v2",ze="product-search-v2",Ge="security-daily",Qe="crm-v2",Ye="collect-payments-v2",Ke=r.K$,Je=r.Sj,Xe=r.JD,et=r.AY,tt=r.oe,nt=r.rx,rt=r.EI,ot=r.uL,it=r.pE,st=r.sY,at=r.Sm,ut=r.PF,ct=r.DH,lt=r.XG,pt=r.nN,dt=r.AK,ft=r.Ve,ht=r.vM,gt="jetpack-1tb-backup-storage",mt="jetpack-real-time-malware-scanning",yt="jetpack-product-backup",vt="jetpack-product-videopress",wt="jetpack-all-backup-security-features",bt="p2-3gb-storage",_t="p2-unlimited-users",Et="p2-unlimited-posts-pages",St="p2-simple-search",Ct="p2-customization-options",Pt="p2-13gb-storage",It="p2-advanced-search",kt="p2-video-sharing",Tt="p2-more-file-types",At="p2-priority-chat-email-support",Rt="p2-activity-overview",Ot="managed-hosting",Lt="unlimited-traffic",xt="payment-blocks",Ft="titan-email",Ut="unlimited-admins",Nt="woocommerce",Dt="social-media-tools",Zt="antispam",jt="atomic",Mt="backups",qt="install-purchased-plugins",Bt="scan",Ht="unlimited-emails",Vt="unlimited-subscribers",Wt="add-multiple-pages-newsletter",$t="ad-free-experience",zt="collect-payments-newsletter",Gt="post-by-email",Qt="real-time-analytics",Yt="google-analytics-v2",Kt="add-unlimited-links",Jt="customize-themes-buttons-colors",Xt="track-views-clicks",en="collect-payments-link-in-bio",tn="link-in-bio-themes-customization"},25432:(e,t,n)=>{"use strict";n.d(t,{tb:()=>r,y6:()=>o});const r="gapps",o="gapps_unlimited"},90892:(e,t,n)=>{"use strict";n.d(t,{mk:()=>o,GA:()=>i,SZ:()=>s,oe:()=>a,rx:()=>u,EI:()=>c,uL:()=>l,pE:()=>p,sY:()=>d,Sm:()=>g,PF:()=>m,DH:()=>y,XG:()=>v,Ve:()=>w,vM:()=>b,nN:()=>S,AK:()=>C,cc:()=>P,E9:()=>I,K$:()=>k,JD:()=>T,Sj:()=>A,AY:()=>R,lj:()=>Z,ap:()=>j,ns:()=>M,Xz:()=>q,p2:()=>B,NJ:()=>H,yY:()=>V,Et:()=>W,w2:()=>$,s1:()=>z,aS:()=>G,th:()=>Q,JX:()=>Y,Vl:()=>K,Dl:()=>J,jI:()=>X,G$:()=>ee,$U:()=>te,jj:()=>ne,Wn:()=>se,vE:()=>ae,Cg:()=>ue});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",a="jetpack_backup_t1_yearly",u="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",p="jetpack_scan",d="jetpack_scan_monthly",f="jetpack_scan_realtime",h="jetpack_scan_realtime_monthly",g="jetpack_anti_spam",m="jetpack_anti_spam_monthly",y="jetpack_search",v="jetpack_search_monthly",w="jetpack_crm",b="jetpack_crm_monthly",_="jetpack_crm_free",E="jetpack_crm_free_monthly",S="jetpack_videopress",C="jetpack_videopress_monthly",P="jetpack_social_basic_yearly",I="jetpack_social_basic_monthly",k="jetpack_backup_daily",T="jetpack_backup_realtime",A="jetpack_backup_daily_monthly",R="jetpack_backup_realtime_monthly",O=[...[k,T,a,c],...[A,R,u,l]],L=[...["jetpack_backup_addon_storage_10gb_monthly","jetpack_backup_addon_storage_100gb_monthly","jetpack_backup_addon_storage_1tb_monthly"],...["jetpack_backup_addon_storage_10gb_yearly","jetpack_backup_addon_storage_100gb_yearly","jetpack_backup_addon_storage_1tb_yearly"]],x=[i,s],F=[p,d,f,h],U=[P,I],N=[g,m],D=[y,v,r.AY,r.MY],Z=(r.AY,r.MY,"jetpack_free"),j="jetpack_personal",M="jetpack_personal_monthly",q="jetpack_premium",B="jetpack_premium_monthly",H="jetpack_business",V="jetpack_business_monthly",W="jetpack_security_t1_yearly",$="jetpack_security_t1_monthly",z="jetpack_security_t2_yearly",G="jetpack_security_t2_monthly",Q="jetpack_complete",Y="jetpack_complete_monthly",K="jetpack_security_daily",J="jetpack_security_daily_monthly",X="jetpack_security_realtime",ee="jetpack_security_realtime_monthly",te=[j,M,H,V,q,B],ne=[K,J,X,ee,W,$,z,G],re=[Q,Y],oe=[...ne,...re],ie=[{yearly:Q,monthly:Y},{yearly:K,monthly:J},{yearly:X,monthly:ee},{yearly:W,monthly:$},{yearly:z,monthly:G}],se="jetpack_tag_for_woocommerce_stores",ae="jetpack_tag_for_news_organisations",ue="jetpack_tag_for_membership_sites"},73239:(e,t,n)=>{"use strict";n.d(t,{ob:()=>r,w$:()=>o,SU:()=>i});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:(e,t,n)=>{"use strict";n.d(t,{UH:()=>r,M6:()=>o,mV:()=>i,Kb:()=>s,Qj:()=>a,h7:()=>u,VH:()=>c,VP:()=>l,w:()=>p,$h:()=>d,L7:()=>f,QI:()=>h,qC:()=>g,lY:()=>m,xg:()=>y});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",a="TYPE_BUSINESS",u="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",p="TYPE_SECURITY_T1",d="TYPE_SECURITY_T2",f="TYPE_ALL",h="TYPE_P2_PLUS",g="TYPE_FLEXIBLE",m="TYPE_PRO",y="TYPE_STARTER"},77904:(e,t,n)=>{"use strict";n.d(t,{w9:()=>r,AY:()=>o,MY:()=>i,Wg:()=>s,p7:()=>a,j2:()=>u,OE:()=>c,xf:()=>l,G6:()=>p,wm:()=>d,sy:()=>f,Qm:()=>h,TW:()=>g,uS:()=>m,lv:()=>y,JA:()=>v,f3:()=>w,_d:()=>b,Ml:()=>_,A2:()=>E,Cq:()=>S,_s:()=>C,dU:()=>P,Id:()=>I});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",a="business-bundle",u="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",p="value_bundle-2y",d="personal-bundle-monthly",f="personal-bundle",h="personal-bundle-2y",g="blogger-bundle",m="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",w="ecommerce-bundle-2y",b="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",C="pro-plan",P="pro-plan-monthly",I="starter-plan"},10128:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(25432);function o(e){return[r.tb,r.y6].includes(e)}},4112:(e,t,n)=>{"use strict";n.d(t,{Wh:()=>a,pl:()=>u,$J:()=>c,uH:()=>p});var r=n(5085),o=n(77904),i=n(73239),s=n(25192);function a(e){return"string"!=typeof e?Object.values(s.E).includes(e)?e:void 0:s.E[e]}function u(e){return l(e,{type:r.Qj,group:o.w9})}function c(e){return l(e,{type:r.h7,group:o.w9})}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(t).filter((e=>!n.includes(e)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=a(e);return!!o&&!("type"in t&&o.type!==t.type||"group"in t&&o.group!==t.group||"term"in t&&o.term!==t.term)}function p(e,t){const n=a(e);if(n&&n.term)switch(n.term){case i.ob:return t("Monthly subscription");case i.w$:return t("Annual subscription");case i.SU:return t("Two year subscription")}}},25192:(e,t,n)=>{"use strict";n.d(t,{E:()=>U});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),a=n(90892),u=n(21862),c=n(77904),l=n(5085),p=n(82006);function d(e){return!!e}function f(e){return e.filter(d)}const h=()=>i.ZP.translate("per month, billed annually"),g=()=>i.ZP.translate("/month, billed every two years"),m=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),y=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),v=()=>({getRecommendedFor:()=>[{tag:a.Wn,label:(0,i.Iu)("WooCommerce stores")},{tag:a.vE,label:(0,i.Iu)("News organizations")},{tag:a.Cg,label:(0,i.Iu)("Membership sites")}]}),w=()=>({getAnnualPlansOnlyFeatures:()=>[u.MCU,u.Eb2,u.IhT,u.dmM,u.Tez,u.N5t,u.vkU]}),b={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},_=()=>({...w(),group:c.w9,type:l.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",b),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[u.Ai8,u.gqo,u.n_S,u.jDM,u.W4b,u.Xk_,u.EBu,u.EDT],getSignupFeatures:()=>[u.fhe,u.Ai8,u.Uwp],getBlogSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},withDomain:{featureList:[p.vD,p.j_,p.Ox],andMore:!1}})}),E=()=>({...w(),group:c.w9,type:l.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",b),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:()=>f([u.Eb2,u.q4V,u.gqo,u.n_S,u.jDM,u.rli,u.W4b,u.Xk_,u.EBu,u.EDT]),getSignupFeatures:()=>[u.MCU,u.fhe,u.jDM],getBlogSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe],getNewsletterDescription:()=>i.ZP.translate("Jumpstart your Newsletter with a custom domain, ad-free experience, and the ability to sell subscriptions, take payments, and collect donations from day one. Backed with email support to help get everything just right."),getNewsletterSignupFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV,u.kWv,u.Ix,u.WCW,u.fhe],getNewsletterHighlightedFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV],getLinkInBioDescription:()=>i.ZP.translate("Stand out and unlock earnings with an ad-free site, custom domain, and the ability to sell subscriptions, take payments, and collect donations. Backed with email support to help get your site just right."),getLinkInBioSignupFeatures:()=>[u.Eb2,u.y4L,u.baL,u.pOV,u.LDi,u.cMD,u.WCW,u.fhe],getLinkInBioHighlightedFeatures:()=>[u.Eb2,u.y4L,u.baL,u.LDi],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},withDomain:{featureList:[p.vD,p.j_,p.Ox],andMore:!1}})}),S=()=>({...w(),group:c.w9,type:l.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",b),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.c74,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.gI6,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.vkU,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.cWM,u.Q3C,u.$xY,u.$23,u.Xif,u.Do2,u.$vg])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.dJS],getSignupFeatures:()=>[u.$xY,u.$23,u.kI],getBlogSignupFeatures:()=>[u.$xY,u.$23,u.kI],getPortfolioSignupFeatures:()=>[u.$xY,u.$23,u.kI],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM,u.$xY,u.$23,u.fp6].filter(d),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.n26,u.vEX,u.HPg,u.okS,u.FNU,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.bh,p.ST,p.ec,p.yc,p.NV],andMore:!0},yearly:{featureList:[p.bh,p.ST,p.ec,p.yc,p.NV],andMore:!0},withDomain:{featureList:[p.bh,p.ST,p.ec,p.yc],andMore:!0}})}),C=()=>({...w(),group:c.w9,type:l.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",b),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.gqo,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.E5t,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.N5t,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE])},getPromotedFeatures:()=>[u.Eb2,u.Xk_,u.dJS,u.E5t],getSignupFeatures:()=>[u.N5t,u.aeb,u.VyO],getNewsletterDescription:()=>i.ZP.translate("Take your Newsletter further, faster. Get everything included in Personal, plus premium design themes, baked-in video uploads, ad monetization, deep visitor insights from Google Analytics, and live chat support."),getNewsletterSignupFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.Tez,u.Hrz,u.pOV,u.kWv,u.Ix,u.WCW,u.fhe],getNewsletterHighlightedFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV,u.Tez,u.Hrz,u.QfP],getLinkInBioDescription:()=>i.ZP.translate("Take your site further, faster. Get everything included in Personal, plus premium design themes, baked-in video uploads, ad monetization, deep visitor insights from Google Analytics, and live chat support."),getLinkInBioSignupFeatures:()=>[u.Eb2,u.y4L,u.baL,u.pOV,u.LDi,u.cMD,u.WCW,u.fhe,u.Tez,u.Hrz,u.HkP,u.SZ6,u._xz],getLinkInBioHighlightedFeatures:()=>[u.Eb2,u.y4L,u.baL,u.LDi],getBlogSignupFeatures:()=>[u.SZ6,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(d),getPortfolioSignupFeatures:()=>[u.aeb,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(d),getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.N5t,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms].filter(d),getIncludedFeatures:()=>[u.XMd,u.$G1,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.pG,p.E9,p.qK,p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.kK,p.pG,p.E9,p.qK,p.vD,p.j_],andMore:!1},withDomain:{featureList:[p.pG,p.E9,p.qK,p.j_,p.vD],andMore:!1}})}),P=()=>({...w(),group:c.w9,type:l.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",b),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.c74,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.gI6,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.vkU,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.cWM,u.Q3C])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.dJS,u.iTE],getSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getBlogSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getPortfolioSignupFeatures:()=>[u.vEX,u.gI6,u.Z5U],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM].filter(d),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.n26,u.HPg,u.okS,u.FNU,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.yc,p.NV,p.ZJ,p.BS,p.Ox],andMore:!0},yearly:{featureList:[p.yc,p.NV,p.ZJ,p.BS,p.kK],andMore:!0},withDomain:{featureList:[p.yc,p.NV,p.ZJ,p.BS],andMore:!0}})}),I=()=>({...w(),group:c.w9,type:l.lY,getTitle:()=>i.ZP.translate("WordPress Pro"),getDescription:()=>i.ZP.translate("Unlock the full power of WordPress with plugins, custom themes and much more."),getSubTitle:()=>i.ZP.translate("Unlimited features. Unbeatable value."),getPlanCompareFeatures:()=>[u.c__,u.FiJ,u.jDM,u.Eb2,u.QfP,u.V09,u.n26,u.J8D,u.O05,u.SLH,u.Xk_,u.B2h,u.SsD,u.iTE,u.x_7,u.hH1,u.fDA,u.SZ6,u.cWM,u._3A,u.gqo,u.Vml,u.Ej,u.Vms],getIncludedFeatures:()=>[u.dJS,u.vqo,u.XMd,u.$G1,u.$4,u.Tx8,u.HPg,u.Vms,u.ggN,u.q4V,u.rli,u.EBu,u.Q3C,u.Zjz,u.EDT,u.okS,u.cWM,u._3A,u.xjj,u.Tmz,u.vEX,u.FNU,u.ikw,u.Ly9,u.DEy],getCancellationFeatureList:()=>({monthly:{featureList:[p.yc,p.E9,p.pG,p.pF,p.BS],andMore:!0},yearly:{featureList:[p.yc,p.E9,p.pG,p.pF,p.BS],andMore:!0},withDomain:{featureList:[p.yc,p.E9,p.pG,p.pF],andMore:!0}})}),k=()=>({group:a.mk,type:l.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:e=>[a.lj].includes(e),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",b),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[u.DwI,u.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.V1k,u.TBQ,u.zrQ,u.T$h,u.okS,u.B2h,u.s1f,u.V37,u.wUt,u.J8D,u.igx,u.Ly9,u.DEy]}),T=()=>({group:a.mk,type:l.Kb,availableFor:e=>[a.lj,a.ap,a.ns].includes(e),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",b),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[u.DwI,u.w7L,u.CtJ],getIncludedFeatures:()=>f([u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.zQV,u.B2h,u.Vms,u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.GwK,u.w6W,u.okS,u.s1f,u.V37,u.zQV,u.m1c,u.QNW,u.Ej,u.B2h,u.igx,u.ikw,u.Ly9,u.DEy])}),A=()=>({group:a.mk,type:l.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:e=>[a.lj,a.Xz,a.p2,a.ap,a.ns].includes(e),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",b):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",b),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[u.csF,u.XgZ,u.CtJ],getIncludedFeatures:()=>f([u._sL,u.L2_,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.vQ$,u.E30,u.B2h,u.Vms,u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.GwK,u.w6W,u.okS,u._sL,(0,o._k)("themes/premium")?u.QfP:null,u.PUy,u.ikw,u.Ly9,u.DEy]),getInferiorFeatures:()=>[u.V1k,u.TBQ]}),R=()=>({group:a.mk,type:l.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:e=>[a.lj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including VaultPress Backup, Scan, Akismet Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[u.afj,u.oIe,u.CtJ,u.YmK],getIncludedFeatures:()=>[u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.nsi,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy]}),O=()=>({group:a.mk,type:l.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:e=>[a.lj,a.Vl,a.Dl,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[u.X2I,u.HpB,u.XgZ,u.n$d],getIncludedFeatures:()=>[u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),L=()=>({...v(),group:a.mk,type:l.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:e=>[a.lj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getFeaturedDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getLightboxDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection.{{br/}}Includes VaultPress Backup, Jetpack Scan, and Akismet Anti-spam.",{components:{br:(0,r.createElement)("br",null)},comment:"{{br/}} represents a line break"}),getPlanCardFeatures:()=>[u.VZW,u.xlk,u.CtJ,u.YmK],getIncludedFeatures:()=>[u.$pY,u.mX4,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getBenefits:()=>[(0,i.Iu)("Protect your revenue stream and content"),(0,i.Iu)("Learn about issues before your customers are impacted"),(0,i.Iu)("Restore your site in one click from desktop or mobile"),(0,i.Iu)("Fix your site without a developer"),(0,i.Iu)("Protect Woo order and customer data"),(0,i.Iu)("Save time manually reviewing spam"),(0,i.Iu)("Best-in-class support from WordPress experts")],getInferiorFeatures:()=>[u.V1k,u.TBQ]}),x=()=>({...L(),type:l.$h,getIncludedFeatures:()=>[u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),F=()=>({...v(),group:a.mk,type:l.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:e=>[a.lj,...a.jj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getFeaturedDescription:()=>(0,i.Iu)("Get the full Jetpack suite with real-time security tools, improved site performance, and tools to grow your business."),getLightboxDescription:()=>(0,i.Iu)("Full Jetpack suite with real-time security, instant site search, ad-free video, all CRM extensions, and extra storage for backups and video."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[u.lYf,u.puh,u.sQp,u.dZ$,u.rDn],getIncludedFeatures:()=>f([u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.lv3,u.ewW,u.liF,u.DJ3,u.L2_,u.QNW,u.GwK,u.w6W,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,(0,o._k)("themes/premium")?u.QfP:null,u.J8D,u.ikw,u.Ly9,u.DEy]),getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi],getBenefits:()=>[(0,i.Iu)("Protect your revenue stream and content"),(0,i.Iu)("Learn about issues before your customers are impacted"),(0,i.Iu)("Restore your site in one click from desktop or mobile"),(0,i.Iu)("Fix your site without a developer"),(0,i.Iu)("Protect Woo order and customer data"),(0,i.Iu)("Save time manually reviewing spam"),(0,i.Iu)("Grow your business with video, social, and CRM tools"),(0,i.Iu)("Best-in-class support from WordPress experts")]}),U={[c._d]:{group:c.w9,type:l.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>c._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[u.wJ_,u.gqo,u.U_2,u.jDM,u.KlX],getSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBlogSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getPortfolioSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},yearly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},withDomain:{featureList:[p.KG,p._o,p.pG,p.Zs],andMore:!0}})},[c.TW]:{..._(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d].includes(e),getProductId:()=>1010,getStoreSlug:()=>c.TW,getPathSlug:()=>"blogger"},[c.uS]:{..._(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW].includes(e),getProductId:()=>1030,getStoreSlug:()=>c.uS,getPathSlug:()=>"blogger-2-years"},[c.wm]:{...E(),...y(),availableFor:e=>[c._d,c.TW,c.uS].includes(e),getProductId:()=>1019,getStoreSlug:()=>c.wm,getPathSlug:()=>"personal-monthly"},[c.sy]:{...E(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.TW,c.uS,c.wm].includes(e),getProductId:()=>1009,getStoreSlug:()=>c.sy,getPathSlug:()=>"personal"},[c.Qm]:{...E(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy].includes(e),getProductId:()=>1029,getStoreSlug:()=>c.Qm,getPathSlug:()=>"personal-2-years"},[c.OE]:{...C(),...y(),availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm].includes(e),getProductId:()=>1013,getStoreSlug:()=>c.OE,getPathSlug:()=>"premium-monthly"},[c.xf]:{...C(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.Id].includes(e),getProductId:()=>1003,getStoreSlug:()=>c.xf,getPathSlug:()=>"premium"},[c.G6]:{...C(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf].includes(e),getProductId:()=>1023,getStoreSlug:()=>c.G6,getPathSlug:()=>"premium-2-years"},[c.Wg]:{...P(),...y(),availableFor:e=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.dU].includes(e),getProductId:()=>1018,getStoreSlug:()=>c.Wg,getPathSlug:()=>"business-monthly"},[c.p7]:{...P(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.dU].includes(e),getProductId:()=>1008,getStoreSlug:()=>c.p7,getPathSlug:()=>"business"},[c.j2]:{...P(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.p7,c.Wg,c.dU].includes(e),getProductId:()=>1028,getStoreSlug:()=>c.j2,getPathSlug:()=>"business-2-years"},[c.lv]:{...S(),...y(),availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.dU].includes(e),getProductId:()=>1021,getStoreSlug:()=>c.lv,getPathSlug:()=>"ecommerce-monthly"},[c.JA]:{...S(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.lv,c.dU].includes(e),getProductId:()=>1011,getStoreSlug:()=>c.JA,getPathSlug:()=>"ecommerce"},[c.f3]:{...S(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.lv,c.JA,c.dU].includes(e),getProductId:()=>1031,getStoreSlug:()=>c.f3,getPathSlug:()=>"ecommerce-2-years"},[a.lj]:{term:s.w$,group:a.mk,type:l.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>a.lj,getTagline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=e.some((e=>[u.V1k,u.TBQ,u.s4b,u.TZT,u.$pY,u.mX4,u.tS0,u.L2R].includes(e))),n=e.some((e=>[u.V1I,u.FR0].includes(e)));return t&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):t?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[u.wwD,u.rlg,u.F$l,u.gRD,u.B2h,u.okS,u.ALM,u.rlg,u.wwD,u.F$l,u.$NZ]},[a.Xz]:{...T(),...m(),getProductId:()=>2e3,getStoreSlug:()=>a.Xz,getPathSlug:()=>"premium"},[a.p2]:{...T(),...y(),getProductId:()=>2003,getStoreSlug:()=>a.p2,getPathSlug:()=>"premium-monthly"},[a.ap]:{...k(),...m(),getProductId:()=>2005,getStoreSlug:()=>a.ap,getPathSlug:()=>"jetpack-personal"},[a.ns]:{...k(),...y(),getProductId:()=>2006,getStoreSlug:()=>a.ns,getPathSlug:()=>"jetpack-personal-monthly"},[a.NJ]:{...A(),...m(),getProductId:()=>2001,getStoreSlug:()=>a.NJ,getPathSlug:()=>"professional"},[a.yY]:{...A(),...y(),getProductId:()=>2004,getStoreSlug:()=>a.yY,getPathSlug:()=>"professional-monthly"},[a.Vl]:{...R(),...m(),getMonthlySlug:()=>a.Dl,getStoreSlug:()=>a.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[a.Dl]:{...R(),...y(),getAnnualSlug:()=>a.Vl,getStoreSlug:()=>a.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[a.jI]:{...O(),...m(),getMonthlySlug:()=>a.G$,getStoreSlug:()=>a.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[a.G$]:{...O(),...y(),getAnnualSlug:()=>a.jI,getStoreSlug:()=>a.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[a.th]:{...F(),...m(),getStoreSlug:()=>a.th,getPathSlug:()=>"complete",getProductId:()=>2014,getProductsIncluded:()=>[a.EI,a.pE,a.Sm,a.nN,a.GA,a.cc,a.DH,a.Ve],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("1TB (1,000GB) of cloud storage"),(0,i.Iu)("1-year activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 1 year"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (60k API calls/mo)"),(0,i.Iu)("VideoPress: 1TB of ad-free video hosting"),(0,i.Iu)("Boost: Automatic CSS generation"),(0,i.Iu)("Site Search: Up to 100k records"),(0,i.Iu)("Social: Basic with unlimited shares"),(0,i.Iu)("CRM: Entrepreneur with 30 extensions")]},[a.JX]:{...F(),...y(),getStoreSlug:()=>a.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015,getProductsIncluded:()=>[a.uL,a.sY,a.PF,a.AK,a.SZ,a.E9,a.XG,a.vM],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("1TB (1,000GB) of cloud storage"),(0,i.Iu)("1-year activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 1-year"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (60k API calls/mo)"),(0,i.Iu)("VideoPress: 1TB of ad-free video hosting"),(0,i.Iu)("Boost: Automatic CSS generation"),(0,i.Iu)("Site Search: Up to 100k records"),(0,i.Iu)("Social: Basic with unlimited shares"),(0,i.Iu)("CRM: Entrepreneur with 30 extensions")]},[a.Et]:{...L(),...m(),getStoreSlug:()=>a.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016,getProductsIncluded:()=>[a.oe,a.pE,a.Sm],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("10GB of cloud storage"),(0,i.Iu)("30-day activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 30 days"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.w2]:{...L(),...y(),getStoreSlug:()=>a.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017,getProductsIncluded:()=>[a.rx,a.sY,a.PF],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("10GB of cloud storage"),(0,i.Iu)("30-day activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 30 days"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.s1]:{...x(),...m(),getStoreSlug:()=>a.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019,getProductsIncluded:()=>[a.EI,a.pE,a.Sm],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("{{strong}}1TB (1,000GB){{/strong}} of cloud storage",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("{{strong}}1-year{{/strong}} activity log archive",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Unlimited one-click restores from the last {{strong}}1 year{{/strong}}",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.aS]:{...x(),...y(),getStoreSlug:()=>a.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020,getProductsIncluded:()=>[a.uL,a.sY,a.PF],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("{{strong}}1TB (1,000GB){{/strong}} of cloud storage",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("{{strong}}1-year{{/strong}} activity log archive",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Unlimited one-click restores from the last {{strong}}1 year{{/strong}}",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[c.Ml]:{group:c.w9,type:l.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",b),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[u.S_M,u.yjN,u.iC0,u.rdd,u.bJv,u.ops],getSignupFeatures:()=>[u.fhe],getIncludedFeatures:()=>[u.XMd,u.lv3,u.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...y(),availableFor:e=>[c._d].includes(e),getProductId:()=>1040,getStoreSlug:()=>c.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};U[c.A2]={...U[c._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",b),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[u.$mN,u.JqD,u.bHF,u.XZZ,u.vje]},U[c.Id]={...w(),group:c.w9,type:l.xg,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Starter"),getProductId:()=>1033,getStoreSlug:()=>c.Id,getPathSlug:()=>"starter",getDescription:()=>i.ZP.hasTranslation("Start with a custom domain name, simple payments, and extra storage.")||["en","en-gb"].includes((0,i.Yj)()||"")?i.ZP.translate("Start with a custom domain name, simple payments, and extra storage."):i.ZP.translate("Start your WordPress.com website. Limited functionality and storage."),getSubTitle:()=>i.ZP.translate("Essential features. Freedom to grow."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[u.c__,u.FiJ,u.jDM,u.Eb2,u.SsD,u.W4b,u.Vms,u.x_7,u.fDA],getIncludedFeatures:()=>[u.n26],getCancellationFeatureList:()=>({monthly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},yearly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},withDomain:{featureList:[p.KG,p._o,p.pG,p.Zs],andMore:!0}})},U[c.Cq]={...U[c._d],group:c.w9,type:l.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[u.Zaf]},U[c._s]={...I(),term:s.w$,getProductId:()=>1032,getStoreSlug:()=>c._s,getPathSlug:()=>"pro",getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly")},U[c.dU]={...I(),...y(),availableFor:e=>[c._d].includes(e),getProductId:()=>1034,getStoreSlug:()=>c.dU,getPathSlug:()=>"pro-monthly"}},78038:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4174);function o(e,t){let n,o;if(!(e instanceof URL)&&"string"!=typeof e)throw new Error("`url` should be a string or URL instance");if(e instanceof URL)n=e,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(e),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(e,"http://__domain__.invalid/")}switch(void 0===t&&(t=o),t){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${t}\` URL type.`)}}},94668:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,a=["w","h","resize","fit","s"];function u(e){if("string"!=typeof e)return null;if(e.length<1)return null;if(i.test(e))return e;const t=(0,o.A)(e);if(s.test(t.hostname))return t.protocol="https",(0,o.C)(t).toString();if(t.search&&(t.host||t.hostname||t.origin)){if(a.forEach((e=>t.searchParams.delete(e))),"0"===t.searchParams.get("authuser")&&t.searchParams.delete("authuser"),Array.from(t.searchParams).length)return null;t.search="",null!=t&&t.protocol||(t.protocol="https"),e=(0,o.C)(t).toString()}return t.pathname.endsWith(".svg")?null:(0,r.Z)(e)}},6261:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,C:()=>c});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return t.forEach((t=>{n[t]=(null==e?void 0:e[t])??i[t]})),n}function u(e){const t=(0,r.D)(e);if(t===r.a.INVALID)return{...i};const n=e instanceof URL?e:new URL(e,o);if(t===r.a.ABSOLUTE)return a(n);if(t===r.a.SCHEME_RELATIVE)return a(n,s.filter((e=>"protocol"!==e&&"origin"!==e)));const u=a(n,["pathname","hash","search","searchParams"]);return t===r.a.PATH_RELATIVE&&(u.pathname=e.split(/[?#]/,1)[0]),u}function c(e){var t;if(!(null!=e&&e.protocol||null!=e&&e.origin))throw new Error("getUrlFromParts: protocol missing.");if(!e.host&&!e.hostname&&!e.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(e.origin)try{const t=new URL(e.origin);n.host=t.host,n.protocol=t.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=e.host||n.host,null!==(t=e.searchParams)&&void 0!==t&&t.toString&&(n.search=e.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const t=e[r];t&&t!==n[r]&&(n[r]=t)}return n}},4174:(e,t,n)=>{"use strict";let r;n.d(t,{a:()=>r,D:()=>s}),function(e){e.ABSOLUTE="ABSOLUTE",e.SCHEME_RELATIVE="SCHEME_RELATIVE",e.PATH_ABSOLUTE="PATH_ABSOLUTE",e.PATH_RELATIVE="PATH_RELATIVE",e.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(e){if(!(e instanceof URL)&&"string"!=typeof e)return r.INVALID;if(""===e)return r.PATH_RELATIVE;if(e instanceof URL)return r.ABSOLUTE;let t;try{if(t=new URL(e),t.protocol&&":"!==t.protocol)return r.ABSOLUTE}catch{}try{t=new URL(e,i)}catch{return r.INVALID}return""===t.pathname?r.INVALID:t.hostname!==o?r.SCHEME_RELATIVE:e.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(43261);const u=(e,t)=>{const n=e.plain?s()("button-plain",e.className):s()("button",e.className,{"is-compact":e.compact,"is-primary":e.primary,"is-scary":e.scary,"is-busy":e.busy,"is-borderless":e.borderless,"is-transparent":e.transparent});if((e=>!!e.href)(e)){const i=(e=>{let{type:t,borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,transparent:c,...l}=e;return l})(e),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:t}))}const i=(e=>{let{type:t="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,rel:c,href:l,target:p,transparent:d,...f}=e;return{...f,type:t}})(e);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:t}))},c=(0,a.forwardRef)(u);c.defaultProps={type:"button"};const l=c},98148:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),a=n(56399);n(53616);const u=(e,t)=>{let{children:n,className:o,compact:u,displayAsLink:c,highlight:l,tagName:p="div",href:d,target:f,...h}=e;const g=i()("card",o,{"is-card-link":c||d,"is-clickable":h.onClick,"is-compact":u,"is-highlight":l},!!l&&"is-"+l);return d?(0,s.createElement)("a",(0,r.Z)({},h,{href:d,target:f,className:g,ref:t}),(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:f?"external":"chevron-right"}),n):(0,s.createElement)(p,{...h,className:g,ref:t},c&&(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:f?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(u);c.displayName="Card";const l=(0,s.memo)(c)},27136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(69307),o=n(5614),i=n(59806),s=n(5869),a=n(72779),u=n.n(a),c=n(56399);n(81712);const l=e=>{let{isError:t=!1,isWarning:n,isHidden:a,className:l,text:p,icon:d,id:f,children:h}=e;const g=u()(l,{"form-input-validation":!0,"is-warning":n,"is-error":t,"is-hidden":a}),m=t||n?o.Z:i.Z;return(0,r.createElement)("div",{className:g,role:"alert"},(0,r.createElement)("span",{id:f},d?(0,r.createElement)(c.Z,{size:24,icon:d}):(0,r.createElement)(s.Z,{size:24,icon:m}),p,h))}},98480:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(69307),o=n(55609),i=n(69771),s=n(65736),a=n(95885);n(31454);const u="l, F jS h:i A";function c(e,t){const n=new Date;return n>=e&&n<=t}function l(e){let{displayAt:t,closesAt:n,reopensAt:l,enabled:p}=e;const{__:__}=(0,a.QT)();if(!p)return null;const d=new Date(t),f=new Date(n),h=new Date(l),g={before:(0,s.sprintf)(__("Live chat support will be closed from %(closes_at)s until %(reopens_at)s. Customer support via email will remain open.","full-site-editing"),{closes_at:(0,i.format)(u,f),reopens_at:(0,i.format)(u,h)}),during:(0,s.sprintf)(__("Live chat support is closed until %(reopens_at)s. In the meantime you can still reach us by email.","full-site-editing"),{reopens_at:(0,i.format)(u,h)})};if(!c(d,h))return null;const m=c(f,h)?"during":"before",y=h.getMonth()===f.getMonth(),v=(0,s.sprintf)(__("Limited Support %(closes)s – %(reopens)s","full-site-editing"),{closes:(0,i.format)("F d",f),reopens:(0,i.format)(y?"d":"F d",h)});return(0,r.createElement)(o.Panel,{className:"a8c-components__gm-closure-notice"},(0,r.createElement)(o.PanelBody,{initialOpen:!1,title:v},(0,r.createElement)(o.PanelRow,null,g[m])))}},56399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(32421),u=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((e,t)=>{const{size:n=24,icon:i,className:c,title:l,...p}=e,d=n%18==0,f=`gridicons-${i}`,h=s()("gridicon",f,c,{"needs-offset":d&&a.iconsThatNeedOffset.includes(f),"needs-offset-x":d&&a.iconsThatNeedOffsetX.includes(f),"needs-offset-y":d&&a.iconsThatNeedOffsetY.includes(f)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:t},p),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${u}#${f}`}))})));l.displayName="Gridicon";const p=l},13668:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(65736),i=n(72779),s=n.n(i),a=n(92819);n(32014);const __=o.__,u=e=>{let{activePageIndex:t,numberOfPages:n,onChange:i,classNames:u,children:c}=e;const l=s()("pagination-control",u);return(0,r.createElement)("ul",{className:l,"aria-label":__("Pagination control")},(0,a.times)(n,(e=>(0,r.createElement)("li",{key:`${n}-${e}`,"aria-current":e===t?"page":void 0},(0,r.createElement)("button",{className:s()("pagination-control__page",{"is-current":e===t}),disabled:e===t,"aria-label":(0,o.sprintf)(__("Page %1$d of %2$d"),e+1,n),onClick:()=>i(e)})))),c&&(0,r.createElement)("li",{className:"pagination-control__last-item"},c))}},37499:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(18373),c=n(92819),l=n(13980),p=n.n(l),d=n(99196),f=n(91850),h=n.n(f),g=n(88060),m=n(51010);n(17228);const y=()=>{};class v extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"scheduledPositionUpdate",null),(0,o.Z)(this,"scheduledFocus",null),(0,o.Z)(this,"popoverNodeRef",(0,d.createRef)()),(0,o.Z)(this,"popoverInnerNodeRef",(0,d.createRef)()),(0,o.Z)(this,"state",{left:-99999,top:-99999,positionClass:this.getPositionClass(this.props.position)}),(0,o.Z)(this,"onKeydown",(e=>{if(27===e.keyCode){const e=h().findDOMNode(this.props.context);e&&e.focus(),this.close(!0)}})),(0,o.Z)(this,"getTouchEvent",(()=>"onpointerdown"in document?"pointerdown":"ontouchstart"in document?"touchstart":"click")),(0,o.Z)(this,"onClickout",(e=>{const t=this.popoverInnerNodeRef.current;let n=t&&!t.contains(e.target);if(n&&this.props.context){const t=h().findDOMNode(this.props.context);n=t&&!t.contains(e.target)}if(n&&this.props.ignoreContext){const t=h().findDOMNode(this.props.ignoreContext);n=t&&!t.contains(e.target)}n&&this.close()})),(0,o.Z)(this,"onWindowChange",(()=>{this.setPosition()})),(0,o.Z)(this,"setPosition",(()=>{let e;e=this.props.customPosition?Object.assign({positionClass:this.getPositionClass(this.constructor.defaultProps.position)},this.props.customPosition):this.computePosition(),e&&this.setState(e)})),(0,o.Z)(this,"handleOnMouseEnter",(()=>{const{onMouseEnter:e}=this.props;null==e||e()})),(0,o.Z)(this,"handleOnMouseLeave",(()=>{const{onMouseLeave:e}=this.props;null==e||e()}))}componentDidMount(){this.bindListeners(),this.setPosition(),this.show()}componentDidUpdate(){null==this.scheduledPositionUpdate&&(this.scheduledPositionUpdate=(0,c.defer)((()=>{this.setPosition(),this.scheduledPositionUpdate=null})))}componentWillUnmount(){this.unbindListeners()}bindListeners(){this.bindClickoutHandler(),this.bindEscKeyListener(),this.bindReposition(),(0,m.fN)()}unbindListeners(){this.unbindClickoutHandler(),this.unbindEscKeyListener(),this.unbindReposition(),(0,m.zR)(),null!=this.scheduledPositionUpdate&&(window.clearTimeout(this.scheduledPositionUpdate),this.scheduledPositionUpdate=null),null!=this.scheduledFocus&&(window.clearTimeout(this.scheduledFocus),this.scheduledFocus=null)}bindEscKeyListener(){this.props.closeOnEsc&&document.addEventListener("keydown",this.onKeydown,!0)}unbindEscKeyListener(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.onKeydown,!0)}bindClickoutHandler(){document.addEventListener(this.getTouchEvent(),this.onClickout,!0)}unbindClickoutHandler(){document.removeEventListener(this.getTouchEvent(),this.onClickout,!0)}bindReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindReposition(){window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0)}focusPopover(){this.scheduledFocus=(0,c.defer)((()=>{this.popoverNodeRef.current&&this.popoverNodeRef.current.focus(),this.scheduledFocus=null}))}getPositionClass(e){return`is-${e.replace(/\s+/g,"-")}`}adjustRtlPosition(e){if(this.props.isRtl)switch(e){case"top right":case"right top":return"top left";case"right":return"left";case"bottom right":case"right bottom":return"bottom left";case"bottom left":case"left bottom":return"bottom right";case"left":return"right";case"top left":case"left top":return"top right"}return e}computePosition(){const{position:e,relativePosition:t}=this.props,n=this.popoverInnerNodeRef.current,r=h().findDOMNode(this.props.context);if(!r)return null;let o=e;this.props.autoRtl&&(o=this.adjustRtlPosition(o)),this.props.autoPosition&&(o=(0,m.X6)(o,n,r));return Object.assign({},(0,m.Ou)((0,m.cv)(o,n,r,t),n),{positionClass:this.getPositionClass(o)})}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){this.props.focusOnShow&&this.focusPopover(),this.props.onShow()}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.props.onClose(e)}render(){if(!this.props.context)return null;const e=a()("popover",this.props.className,this.state.positionClass);return(0,i.createElement)("div",{ref:this.popoverNodeRef,"aria-label":this.props["aria-label"],id:this.props.id,role:"tooltip",tabIndex:"-1",style:this.getStylePosition(),className:e,onMouseEnter:this.handleOnMouseEnter,onMouseLeave:this.handleOnMouseLeave},(0,i.createElement)("div",{className:"popover__arrow"}),(0,i.createElement)("div",{ref:this.popoverInnerNodeRef,className:"popover__inner"},this.props.children))}}function w(e){let{isVisible:t=!1,showDelay:n=0,...o}=e;const s=(0,u.V)(),[a,c]=(0,d.useState)(t);return(0,d.useEffect)((()=>{if(n>0&&a!==t&&t){const e=setTimeout((()=>{c(!0)}),n);return()=>{clearTimeout(e)}}}),[n,t,a]),a===t||0!==n&&t||c(t),a?(0,i.createElement)(g.Z,null,(0,i.createElement)(v,(0,r.Z)({},o,{isRtl:s}))):null}(0,o.Z)(v,"defaultProps",{autoPosition:!0,autoRtl:!0,className:"",closeOnEsc:!0,isRtl:!1,focusOnShow:!0,position:"top",onShow:y,onClose:y,onMouseEnter:y,onMouseLeave:y});const b=p().oneOfType([p().instanceOf(d.Component),p().instanceOf("undefined"!=typeof window?window.Element:Object)]);w.propTypes={autoPosition:p().bool,autoRtl:p().bool,className:p().string,closeOnEsc:p().bool,id:p().string,context:b,ignoreContext:b,isVisible:p().bool,focusOnShow:p().bool,position:p().oneOf(["top","top right","right","bottom right","bottom","bottom left","left","top left"]),showDelay:p().number,onShow:p().func,onClose:p().func,relativePosition:p().shape({left:p().number}),customPosition:p().shape({top:p().number,left:p().number,positionClass:p().oneOf(["top","right","bottom","left"])})};const _=w},51010:(e,t,n)=>{"use strict";function r(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,e}n.d(t,{fN:()=>l,zR:()=>p,X6:()=>d,cv:()=>f,Ou:()=>h});const o={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"right",left:"top",bottom:"left",right:"bottom"};let s=null,a=0;function u(){return s||(s=r()),s}function c(){s=r()}function l(){a++>0||(window.addEventListener("resize",c,!0),window.addEventListener("scroll",c,!0))}function p(){--a>0||(window.removeEventListener("resize",c,!0),window.removeEventListener("scroll",c,!0))}function d(e,t,n){const r=u(),s=n.getBoundingClientRect(),a=t.clientHeight,c=t.clientWidth,l={top:s.top-a,bottom:r.height-s.bottom-a,left:s.left-c,right:r.width-s.right-c},p=e.split(/\s+/),[d]=p;let[,h]=p;const g=function(e,t){const n=[e,o[e],i[e],o[i[e]]];let r,s=-1/0;for(let o=0,i=n.length;o<i;o++){const i=n[o],a=t[i];if(a>0)return i;a>s&&(s=a,r=e)}return r}(d,l);return h!==g&&h!==o[g]||(h=null),function(e,t,n,r,s,a){const c=u(),l="top"===e||"bottom"===e,p=t?[l?`${e} ${t}`:`${t} ${e}`,e,l?`${e} ${o[t]}`:`${o[t]} ${e}`]:[e,l?`${e} ${i[e]}`:`${i[e]} ${e}`,l?`${e} ${o[i[e]]}`:`${o[i[e]]} ${e}`];let d,h=0;const g=s*a;for(let o=0,i=p.length;o<i;o++){const e=p[o],t=f(e,n,r),i=t.left+s,u=t.top+a,l=Math.min(t.top<c.top?u-c.top:c.bottom-t.top,a),m=Math.min(t.left<c.left?i-c.left:c.right-t.left,s)*l;if(m===g)return e;m>h&&(h=m,d=e)}return d}(g,h,t,n,c,a)||e}function f(e,t,n,r){const o=t.getBoundingClientRect();if(!o)throw new Error("could not get bounding client rect of Tip element");const i=o.width,s=o.height,a=n.getBoundingClientRect();if(!a)throw new Error("could not get bounding client rect of `target`");const u=a.width,c=a.height,l=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,o=r.clientTop||n.clientTop||0,i=r.clientLeft||n.clientLeft||0,s=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+s-o,left:e.left+a-i}}(a,document);if(!l)throw new Error("could not determine page offset of `target`");let p={};switch(e){case"top":p={top:l.top-s,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"bottom":p={top:l.top+c,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"right":p={top:l.top+c/2-s/2,left:l.left+u};break;case"left":p={top:l.top+c/2-s/2,left:l.left-i};break;case"top left":p={top:l.top-s,left:l.left+u/2-i+15};break;case"top right":p={top:l.top-s,left:l.left+u/2-15};break;case"bottom left":p={top:l.top+c,left:l.left+u/2-i+15};break;case"bottom right":p={top:l.top+c,left:l.left+u/2-15};break;case"left top":p={top:l.top+c/2-s,left:l.left-i};break;case"left bottom":p={top:l.top+c/2,left:l.left-i};break;case"right top":p={top:l.top+c/2-s,left:l.left+u};break;case"right bottom":p={top:l.top+c/2,left:l.left+u};break;default:throw new Error(`invalid position "${e}"`)}return p}function h(e,t){const n=u(),r=t.getBoundingClientRect().width;return e.left=Math.max(0,Math.min(e.left,n.width-r)),e}},88060:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(99196),o=n(91850),i=n.n(o);const s=e=>{let{children:t}=e;const[n,o]=(0,r.useState)(null);return(0,r.useLayoutEffect)((()=>{const e=document.createElement("div");return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}}),[]),n?i().createPortal(t,n):null}},97493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);n(9723);function o(e){let{children:t}=e;return(0,r.createElement)("span",{className:"screen-reader-text"},t)}},89525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(99196);const o=e=>{let{scrollTargetRef:t,smoothScrolling:n,isBelowThreshold:o}=e;const[i,s]=(0,r.useState)(!1),a=(0,r.useCallback)((()=>{t.current&&s(o(t.current))}),[t,o]);(0,r.useEffect)((()=>{if(t.current){const e=t.current;return e.addEventListener("scroll",a),()=>{e.removeEventListener("scroll",a)}}}),[t,a]);return{scrollToTop:(0,r.useCallback)((()=>{t.current&&t.current.scrollTo({top:0,behavior:n?"smooth":"auto"})}),[t,n]),isButtonVisible:i}}},6010:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(80418);class u extends a.PureComponent{render(){const e=s()(this.props.baseClassName,this.props.className),t={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:e},(0,o.createElement)("div",{className:"spinner__outer",style:t},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(u,"defaultProps",{size:20,baseClassName:"spinner"})},90544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{const t=(e=>t=>{if(t in e)return e[t];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${t}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(e);return t.isEnabled=(e=>t=>e.features&&!!e.features[t]||!1)(e),t.enabledFeatures=(e=>()=>e.features?Object.entries(e.features).reduce(((e,t)=>{let[n,r]=t;return r?[...e,n]:e}),[]):[])(e),t.enable=(e=>t=>{e.features&&(e.features[t]=!0)})(e),t.disable=(e=>t=>{e.features&&(e.features[t]=!1)})(e),t}},85694:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(65736);const __=r.__;function o(e,t,n,o){return[{title:__("Add a new domain","full-site-editing"),description:__("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Manage my domain settings","full-site-editing"),description:__("Manage all domains linked to your account.","full-site-editing"),link:`/domains/manage/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Change my site address","full-site-editing"),link:`/domains/manage/${e}/edit/${e}`,synonyms:["domains","domain"],icon:"domains"},{title:__("Add a site redirect","full-site-editing"),description:__("Redirect your site to another domain.","full-site-editing"),link:`/domains/add/site-redirect/${e}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:__("Change my password","full-site-editing"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:__("Change my site's theme"),link:`/themes/${e}`,synonyms:["switch","design"],icon:"customize"},{title:__("Customize my site's theme"),link:t.root,synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:__("Change my homepage","full-site-editing"),link:t.homepage,synonyms:["home","homepage"],icon:"customize"},{title:__("Edit my menu","full-site-editing"),link:t.menus,synonyms:["menu"],icon:"customize"},{title:__("Set a site logo","full-site-editing"),link:t.identity,synonyms:["logo","identity"],icon:"customize"},{title:__("Find a plan to suit my site","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Cancel my plan","full-site-editing"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Upgrade my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,r.sprintf)(__("Cancel %s","full-site-editing"),n),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:__("Renew my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:__("Renew my domain","full-site-editing"),link:`/plans/${e}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:__("View my site activity","full-site-editing"),link:`/activity-log/${e}`,icon:"history"},{title:__("View my site's latest stats"),link:`/stats/day/${e}`,synonyms:["analytics"],icon:"stats-alt"},{title:__("Upload an image, video, audio or document","full-site-editing"),link:`/media/${e}`,synonyms:["media","photo"],icon:"image"},{title:__("Import content from another site","full-site-editing"),link:`/settings/import/${e}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:__("Earn money from my site","full-site-editing"),description:__("By upgrading to the Premium plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${e}`,synonyms:["monetize","wordads","premium"],icon:"money"},{title:__("Learn how to market my site","full-site-editing"),link:`/marketing/tools/${e}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:__("Manage my site's users"),description:__("Invite new users and edit existing ones.","full-site-editing"),link:`/people/team/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Invite new users to my site","full-site-editing"),link:`/people/new/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Change my site's timezone"),link:`/settings/general/${e}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:__("Launch my site","full-site-editing"),description:__("Switch your site from private to public.","full-site-editing"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:__("Delete a site or a site's content"),description:__("Remove all posts, pages, and media, or delete a site completely.","full-site-editing"),link:`/settings/general/${e}#site-tools__header`,icon:"cog"},{title:__("Set a site icon","full-site-editing"),link:`/settings/general/${e}`,icon:"cog",synonyms:["logo"]},{title:__("Change my site's footer text"),description:__("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${e}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:__("Export my site's content and media library"),description:__("Export posts, pages and more from your site.","full-site-editing"),link:`/settings/export/${e}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:__("Manage sharing and social media connections","full-site-editing"),link:`/sharing/${e}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:__("Add sharing buttons to my site","full-site-editing"),description:__("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${e}`,synonyms:["like","reblog"],icon:"share"},{title:__("Install, manage, and search for site Plugins","full-site-editing"),link:`/plugins/${e}`,synonyms:["upload"],icon:"plugins"},{title:__("Approve or delete comments","full-site-editing"),link:`/comments/all/${e}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:__("Manage how users can comment on my site","full-site-editing"),link:`/settings/discussion/${e}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:__("Manage post categories","full-site-editing"),link:`/settings/writing/${e}`,synonyms:["post","category"],icon:"cog"},{title:__("Edit my site title, tagline, or logo","full-site-editing"),link:`/settings/general/${e}`,synonyms:["title","logo"],icon:"cog"},{title:__("Set up a podcast","full-site-editing"),link:`/settings/writing/${e}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:__("Change my site's privacy settings"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:__("Manage SEO and traffic settings","full-site-editing"),link:`/settings/traffic/${e}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:__("Update my profile","full-site-editing"),description:__("Update your name, profile image, and about text.","full-site-editing"),link:"/me",synonyms:["avatar"],icon:"user"},{title:__("Update my username or email address","full-site-editing"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:__("Change the dashboard color scheme","full-site-editing"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:__("Switch the interface language","full-site-editing"),description:__("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:__("Close my account permanently","full-site-editing"),description:__("Delete all of your sites, and close your account completely.","full-site-editing"),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:__("Change my account privacy settings","full-site-editing"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:__("View my purchase and billing history","full-site-editing"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:__("Download the WordPress.com app for my device","full-site-editing"),description:__("Get WordPress apps for all your screens.","full-site-editing"),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:__("View my drafted posts","full-site-editing"),link:`/posts/drafts/${e}`,synonyms:["posts","draft"],icon:"my-sites"},{title:__("Manage my blog posts","full-site-editing"),link:`/posts/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("New post","full-site-editing"),description:__("Create a new blog post on your site."),link:`/post/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("View my drafted pages","full-site-editing"),link:`/pages/drafts/${e}`,synonyms:["pages","draft"],icon:"my-sites"},{title:__("Manage my pages","full-site-editing"),link:`/pages/${e}`,synonyms:["lists","pages"],icon:"my-sites"},{title:__("I cannot find my site on Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:__("Verify my site with Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:__("Create a new site","full-site-editing"),link:`${o}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:__("View contact form messages","full-site-editing"),link:`https://${e}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:__("Portfolio projects (for those who have them active)","full-site-editing"),link:`/types/jetpack-portfolio/${e}`,synonyms:["portfolio"],icon:"cog"}]}},94514:(e,t,n)=>{"use strict";n.d(t,{Sm:()=>r,fI:()=>o,D_:()=>i,EE:()=>s,QZ:()=>a,h_:()=>u});const r="tour",o="video",i="contextual_help",s="api_help",a="admin_section",u="sell_intent"},34923:(e,t,n)=>{"use strict";n.d(t,{r_:()=>p});var r=n(47498),o=n(65736),i=n(94514);const __=o.__,s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Uploading custom plugins and themes","full-site-editing")},get description(){return __("Learn more about installing a custom theme or plugin using the Business plan.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All About Domains","full-site-editing")},get description(){return __("Set up your domain whether it’s registered with WordPress.com or elsewhere.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return __("Quick-Start Guide","full-site-editing")},get description(){return __("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return __("Privacy Settings","full-site-editing")},get description(){return __("Limit your site’s visibility or make it completely private.","full-site-editing")}}],a=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return __("All about blog posts","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return __("Encourage visitors to subscribe to your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return __("Share your content to social media automatically","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return __("Encourage visitors to share your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return __("Learn about how to get noticed by search engines","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return __("Verify your site with Google and other services","full-site-editing")}}],u={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return __("Understanding the Stats Page","full-site-editing")},get description(){return __("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Getting More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:132186,get title(){return __("Increase Your Site Traffic","full-site-editing")},get description(){return __("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.","full-site-editing")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/","full-site-editing")},post_id:130825,get title(){return __("Integrate and Connect to Social Media","full-site-editing")},get description(){return __("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return __("Sharing Your Content","full-site-editing")},get description(){return __("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return __("Using Instagram","full-site-editing")},get description(){return __("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return __("Using Twitter","full-site-editing")},get description(){return __('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!',"full-site-editing")}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return __("Managing Your Profile","full-site-editing")},get description(){return __("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return __("Your Profile Picture","full-site-editing")},get description(){return __("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:138080,get title(){return __("Account Closure","full-site-editing")},get description(){return __("Need a fresh start? Learn how to close your account.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:185309,get title(){return __("Manage Your Account","full-site-editing")},get description(){return __("Learn the ins and outs of managing your WordPress.com account and site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return __("Edit Your Account Settings","full-site-editing")},get description(){return __("You can review and edit basic account information in Account Settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:143899,get title(){return __("Close Your Account","full-site-editing")},get description(){return __("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.","full-site-editing")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return __("Two-Step Authentication","full-site-editing")},get description(){return __('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!',"full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return __("Account Recovery","full-site-editing")},get description(){return __("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return __("Passwords And How To Use Them","full-site-editing")},get description(){return __("Passwords are very important to user accounts, and there may come a time when you need to change your password.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return __("Third Party Applications","full-site-editing")},get description(){return __("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.","full-site-editing")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return __("Notifications","full-site-editing")},get description(){return __("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return __("Email Notifications","full-site-editing")},get description(){return __("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return __("Following Comments","full-site-editing")},get description(){return __("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Following Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return __("The Media Library","full-site-editing")},get description(){return __("The Media Library is where you can manage your images, audio, videos, and documents all in one place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/finding-free-images-and-other-media/","full-site-editing")},post_id:78425,get title(){return __("Finding Free Images and other Media","full-site-editing")},get description(){return __("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/blocks/image-block/")},post_id:38830,get title(){return __("Add Media","full-site-editing")},get description(){return __("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return __("Including Videos","full-site-editing")},get description(){return __("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.","full-site-editing")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("User Roles","full-site-editing")},get description(){return __("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return __("User Mentions","full-site-editing")},get description(){return __("User mentions are a great way to include other WordPress.com users within your posts and comments.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/user-roles/")},post_id:2160,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return __("Your Followers","full-site-editing")},get description(){return __("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.","full-site-editing")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return __("Using Plugins","full-site-editing")},get description(){return __("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Business plan allows you to choose from many thousands of plugins, and install them on your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/use-your-plugins/")},post_id:206930,get title(){return __("Managing plugins","full-site-editing")},get description(){return __("After you install a plugin, it will appear in a list at My Sites → Plugins → Installed Plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#installing-plugins")},post_id:134719,get title(){return __("Adding Plugins","full-site-editing")},get description(){return __("Along with all the tools and features built right into WordPress.com, the Business plan allows you to install other plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Business Plan","full-site-editing")},get description(){return __("When you want to build a one-of-a-kind website, it's time for WordPress.com Business: upload plugins and themes to create a truly tailored experience for your visitors.","full-site-editing")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/","full-site-editing")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return __("Build Your Website in Five Steps","full-site-editing")},get description(){return __("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return __("Landing Pages","full-site-editing")},get description(){return __("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return __("About Blog Posts","full-site-editing")},get description(){return __("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return __("Post Formats","full-site-editing")},get description(){return __("Learn how to make gallery, video, audio, and other post types pop with post formats. ","full-site-editing")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return __("Writing Settings","full-site-editing")},get description(){return __("Learn how to manage categories, date format, content types, and more.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return __("Categories vs. Tags","full-site-editing")},get description(){return __("Learn the differences between categories and tags.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return __("Feeds","full-site-editing")},get description(){return __("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return __("Portfolios","full-site-editing")},get description(){return __("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.","full-site-editing")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return __("Discussion Settings","full-site-editing")},get description(){return __("The Discussion Settings are used to control how visitors and other blogs interact with your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/","full-site-editing")},post_id:5997,get title(){return __("Enable and Disable Comments for Future Posts","full-site-editing")},get description(){return __("You can enable/disable comments on future posts by going into your Discussion settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return __("Subscriptions and Newsletters","full-site-editing")},get description(){return __("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.","full-site-editing")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Get More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return __("Related Posts","full-site-editing")},get description(){return __("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return __("Site Verification Services","full-site-editing")},get description(){return __("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return __("Accelerated Mobile Pages (AMP)","full-site-editing")},get description(){return __("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.","full-site-editing")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return __("Security","full-site-editing")},get description(){return __("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/security/#strong-password")},post_id:35364,get title(){return __("Selecting A Strong Password","full-site-editing")},get description(){return __("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.","full-site-editing")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return __("Settings","full-site-editing")},get description(){return __("The Settings menu of your site is where you will configure everything about how the blog works and functions.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return __("General Settings","full-site-editing")},get description(){return __("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return __("Site Icons","full-site-editing")},get description(){return __("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return __("Five Steps to Your Great New Blog","full-site-editing")},get description(){return __("Get ready to publish! Our five-step checklist walks you through all the fundamentals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes/","full-site-editing")},post_id:134704,get title(){return __("Child Themes","full-site-editing")},get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes/","full-site-editing")},get title(){return __("Child Themes","full-site-editing")},post_id:134704,get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],plans:[{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return __('What are "Blocks"?',"full-site-editing")},get description(){return __("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.","full-site-editing")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/video-tutorials-add-payments-features-to-your-site-with-our-guides/","full-site-editing")},post_id:175999,get title(){return __("The Payments Block","full-site-editing")},get description(){return __("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/offline-editing/")},post_id:3595,get title(){return __("Offline Editing","full-site-editing")},get description(){return __("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return __("The Reader: An Overview","full-site-editing")},get description(){return __("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Follow Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return __("Following Specific Topics in the Reader","full-site-editing")},get description(){return __("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.","full-site-editing")}}],help:[{get link(){return(0,r.aq)("https://wpcourses.com/")},post_id:117437,get title(){return __("Blogging U.","full-site-editing")},get description(){return __("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return __("Help! Getting WordPress.com Support","full-site-editing")},get description(){return __("WordPress.com offers a number of avenues for reaching helpful, individualized support.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return __("All Support Articles","full-site-editing")},get description(){return __("Looking to learn more about a feature? Our docs have all the details.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/learn/")},get title(){return __("Self-guided Online Tutorial","full-site-editing")},get description(){return __("A step-by-step guide to getting familiar with the platform.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:5840,get title(){return __("Comment Display Options","full-site-editing")},get description(){return __("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return __("Comment Likes","full-site-editing")},get description(){return __("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.","full-site-editing")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return __("SFTP on WordPress.com","full-site-editing")},get description(){return __("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return __("phpMyAdmin and MySQL","full-site-editing")},get description(){return __("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return __("PHP Version Switching","full-site-editing")},get description(){return __("Sites on the Business Plan using custom plugins and/or custom themes and any site on the eCommerce Plan, now have the option to switch PHP versions.","full-site-editing")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Manage Purchases and Refund Policy","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return __("Add Email to your Domain","full-site-editing")},get description(){return __("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return __("Manage Custom DNS","full-site-editing")},get description(){return __("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/transfer-domain-registration/","full-site-editing")},post_id:41298,get title(){return __("Transfer a Domain to Another Registrar","full-site-editing")},get description(){return __("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-connection-vs-domain-transfer/")},post_id:157655,get title(){return __("Connect an Existing Domain","full-site-editing")},get description(){return __("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All about domains","full-site-editing")},get description(){return __("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return __("Add Social Sharing Buttons to Your Website","full-site-editing")},get description(){return __("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return __("Connect Your Blog to Facebook Using Jetpack Social","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return __("Display Your Instagram Feed on Your Website","full-site-editing")},get description(){return __("Find out how to display your latest Instagram photos right on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return __("Set Up the Social Links Menu","full-site-editing")},get description(){return __("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return __("Embed a Twitter Timeline in your Sidebar","full-site-editing")},get description(){return __("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return __("Set Up a Social Media Icons Widget","full-site-editing")},get description(){return __("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return __("Embed a Tweet from Twitter in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return __("Embed an Instagram Photo in Your Website","full-site-editing")},get description(){return __("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return __("Embed a Facebook Update in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return __("Share Blog Posts Directly on Twitter","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return __("Add a Site Logo","full-site-editing")},get description(){return __("Find out how to add a custom logo to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return __("Update Your Website Title and Tagline","full-site-editing")},get description(){return __("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return __("Change Your Privacy Settings","full-site-editing")},get description(){return __("Find out how to change your website privacy settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return __("Add a Site Icon","full-site-editing")},get description(){return __("Find out how to add a site icon on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return __("Create a Multilingual Site","full-site-editing")},get description(){return __("Find out how to create a multilingual site on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return __("Customize Your Content Options","full-site-editing")},get description(){return __("Find out how to customize your content options on select WordPress.com themes.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return __("Change Your Language Settings","full-site-editing")},get description(){return __("Find out how to change your blog or website language and your interface language settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return __("Activate Free Email Forwarding","full-site-editing")},get description(){return __("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.","full-site-editing")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return __("Change Your Password","full-site-editing")},get description(){return __("Find out how to change your account password on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return __("Change Your WordPress.com Username","full-site-editing")},get description(){return __("Find out how to change your username on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return __("Change Your WordPress.com Display Name","full-site-editing")},get description(){return __("Find out how to change your display name on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return __("Change Your Account Email Address","full-site-editing")},get description(){return __("Find out how to change your account email address on WordPress.com.","full-site-editing")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return __("Add a Custom Header Image","full-site-editing")},get description(){return __("Find out how to add a custom header image to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return __("Create a Custom Website Menu","full-site-editing")},get description(){return __("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return __("Add a Widget","full-site-editing")},get description(){return __("Find out how to add a widget to your WordPress.com website.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return __("Add a Custom Background","full-site-editing")},get description(){return __("Find out how to add a custom background to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return __("Change Your Site Fonts","full-site-editing")},get description(){return __("Find out how to change the fonts on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return __("Add a Gallery Widget","full-site-editing")},get description(){return __("Find out how to add an image gallery widget to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return __("Use Featured Content","full-site-editing")},get description(){return __("Find out how to use the Featured Content option on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return __("Add an Image Widget","full-site-editing")},get description(){return __("Find out how to add an image widget to your WordPress.com website or blog.","full-site-editing")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return __("Create a Landing Page","full-site-editing")},get description(){return __("Find out how to create a one-page website or landing page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return __("Set Up a Website in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a website on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return __("Set Up a Blog in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a blog on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return __("Create a Page","full-site-editing")},get description(){return __("Find out how to create a page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return __("Create a Post","full-site-editing")},get description(){return __("Find out how to create a post on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return __("Use a Custom Menu in a Widget","full-site-editing")},get description(){return __("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return __("Configure a Static Homepage","full-site-editing")},get description(){return __("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return __("Show Related Posts on Your WordPress Blog","full-site-editing")},get description(){return __("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return __("Add Testimonials","full-site-editing")},get description(){return __("Find out how to add testimonials to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return __("Change Your Post or Page Visibility Settings","full-site-editing")},get description(){return __("Find out how to change your page or post visibility settings WordPress.com.","full-site-editing")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return __("Add a Photo Gallery","full-site-editing")},get description(){return __("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.","full-site-editing")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return __("Change Your Website Theme on WordPress.com","full-site-editing")},get description(){return __("Find out how to change your WordPress.com theme.","full-site-editing")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return __("Learn Media Library Basics","full-site-editing")},get description(){return __("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.","full-site-editing")}}]};function p(e,t){var n,r;"posts"!==e&&"pages"!==e||(e="posts-pages");const o="write"===t?a:s,p=null===(n=c[e])||void 0===n?void 0:n[0],d=null===(r=l[e])||void 0===r?void 0:r[0];let f=u[e]??o;return"home"===e&&Array.isArray(f)?[d,p,...o,...f].filter(Boolean):("gutenberg-editor"===e&&"sell"!==t&&Array.isArray(f)&&(f=f.filter((e=>e.intent!==i.h_))),[d,p,...f].filter(Boolean))}},52865:(e,t,n)=>{"use strict";n.r(t),n.d(t,{setRouterState:()=>a,receiveHasSeenPromotionalPopover:()=>u,setHasSeenPromotionalPopover:()=>c,resetRouterState:()=>l,setSite:()=>p,setUnreadCount:()=>d,setIsMinimized:()=>f,setShowHelpCenter:()=>h,setSubject:()=>g,setMessage:()=>m,setIframe:()=>y,resetIframe:()=>v,setUserDeclaredSiteUrl:()=>w,setUserDeclaredSite:()=>b,startHelpCenterChat:()=>_,resetStore:()=>E});var r=n(23418),o=n(18552),i=n(93661),s=n(2193);const a=(e,t)=>({type:"HELP_CENTER_SET_ROUTER_STATE",history:e,index:t}),u=e=>({type:"HELP_CENTER_SET_SEEN_PROMOTIONAL_POPOVER",value:e});function*c(e){let t;return t=(0,o.aO)()?yield(0,i._9)({path:"me/preferences",apiNamespace:"wpcom/v2/",apiVersion:"2",method:"POST",body:{calypso_preferences:{[s.r]:e}}}):yield(0,r.apiFetch)({global:!0,path:"/help-center/has-seen-promotion",method:"POST"}),u(t[s.r])}const l=()=>({type:"HELP_CENTER_SET_ROUTER_STATE",history:void 0,index:void 0}),p=e=>({type:"HELP_CENTER_SET_SITE",site:e}),d=e=>({type:"HELP_CENTER_SET_UNREAD_COUNT",count:e}),f=e=>({type:"HELP_CENTER_SET_MINIMIZED",minimized:e}),h=function*(e){return e||(yield f(!1)),{type:"HELP_CENTER_SET_SHOW",show:e}},g=e=>({type:"HELP_CENTER_SET_SUBJECT",subject:e}),m=e=>({type:"HELP_CENTER_SET_MESSAGE",message:e}),y=e=>({type:"HELP_CENTER_SET_IFRAME",iframe:e}),v=()=>({type:"HELP_CENTER_RESET_IFRAME"}),w=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:e}),b=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:e}),_=function*(e,t){yield a([{pathname:"/inline-chat"}],0),yield p(e),yield m(t),yield h(!0)},E=()=>({type:"HELP_CENTER_RESET_STORE"})},2193:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,r:()=>o});const r="automattic/help-center",o="seen_help_center_promotion"},17624:(e,t,n)=>{"use strict";n.d(t,{z:()=>f});var r=n(9818),o=n(23418),i=n(5754),s=n(93661),a=n(52865),u=n(2193),c=n(61654),l=n(38251),p=n(55601);let d=!1;function f(){return(0,r.use)(r.plugins.persistence,i.Z),d||((0,r.registerStore)(u.L,{actions:a,reducer:c.Z,controls:{...o.controls,...s.ai},selectors:p,persist:["site","message","userDeclaredSite","userDeclaredSiteUrl","subject"],resolvers:l}),d=!0),u.L}},61654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818);const o=(0,r.combineReducers)({showHelpCenter:(e,t)=>"HELP_CENTER_SET_SHOW"===t.type?t.show:e,site:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SITE"===t.type?t.site:e},subject:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SUBJECT"===t.type?t.subject:e},message:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_MESSAGE"===t.type?t.message:e},userDeclaredSite:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE"===t.type?t.site:e},userDeclaredSiteUrl:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===t.type?t.url:e},hasSeenPromotionalPopover:(e,t)=>"HELP_CENTER_SET_SEEN_PROMOTIONAL_POPOVER"===t.type?t.value:e,isMinimized:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_MINIMIZED"===t.type?t.minimized:e},unreadCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_UNREAD_COUNT"===t.type?t.count:"HELP_CENTER_RESET_STORE"===t.type?0:e},iframe:(e,t)=>"HELP_CENTER_SET_IFRAME"===t.type?t.iframe:"HELP_CENTER_RESET_IFRAME"!==t.type?e:void 0,routerState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{history:void 0,index:void 0},t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_ROUTER_STATE"===t.type?{history:t.history,index:t.index}:e}})},38251:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getHasSeenPromotionalPopover:()=>a});var r=n(86989),o=n.n(r),i=n(18552),s=n(2193);const a=()=>async e=>{let{dispatch:t}=e;const n=(0,i.aO)()?await(0,i.ZP)({path:`me/preferences?preference_key=${s.r}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:"/help-center/has-seen-promotion"});t.receiveHasSeenPromotionalPopover(n)}},55601:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isHelpCenterShown:()=>r,getSite:()=>o,getSubject:()=>i,getMessage:()=>s,getUserDeclaredSiteUrl:()=>a,getIframe:()=>u,getUserDeclaredSite:()=>c,getUnreadCount:()=>l,getIsMinimized:()=>p,getRouterState:()=>d,getHasSeenPromotionalPopover:()=>f});const r=e=>e.showHelpCenter,o=e=>e.site,i=e=>e.subject,s=e=>e.message,a=e=>e.userDeclaredSiteUrl,u=e=>e.iframe,c=e=>e.userDeclaredSite,l=e=>e.unreadCount,p=e=>e.isMinimized,d=e=>e.routerState,f=e=>e.hasSeenPromotionalPopover},5754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const r="WPCOM_7_DAYS_PERSISTENCE",o=r,i=r+"_TS",s={},a={getItem:e=>s.hasOwnProperty(e)?s[e]:null,setItem(e,t){s[e]=String(t)},removeItem(e){delete s[e]}},u=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:a,c={storageKey:o,storage:{getItem(e){const t=u.getItem(i);return t&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(t)&&!new URLSearchParams(window.location.search).has("fresh")?u.getItem(e):(u.removeItem(o),u.removeItem(i),null)},setItem(e,t){u.setItem(i,JSON.stringify(Date.now())),u.setItem(e,t)}}}},53762:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(86989),o=n.n(r),i=n(99196),s=n(82066),a=n(18552);const u=e=>{const t="has-seen-whats-new-modal",{data:n,isLoading:r}=(0,s.useQuery)(t,(()=>(0,a.aO)()?(0,a.ZP)({path:"/block-editor/has-seen-whats-new-modal",apiNamespace:"wpcom/v2"}):o()({global:!0,path:"/wpcom/v2/block-editor/has-seen-whats-new-modal"})),{enabled:!!e,refetchOnWindowFocus:!1}),u=(0,s.useQueryClient)(),c=(0,s.useMutation)((e=>{let{hasSeenWhatsNewModal:t}=e;return(0,a.aO)()?(0,a.ZP)({path:"/block-editor/has-seen-whats-new-modal",apiNamespace:"wpcom/v2",method:"PUT",body:{has_seen_whats_new_modal:t}}):o()({path:"/wpcom/v2/block-editor/has-seen-whats-new-modal",method:"PUT",data:{has_seen_whats_new_modal:t}})}),{onSuccess(e){u.setQueryData(t,{...e})}}),{mutateAsync:l}=c;return{data:n,isLoading:r,setHasSeenWhatsNewModal:(0,i.useCallback)((e=>l({hasSeenWhatsNewModal:e})),[l])}}},26932:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["is-site-wporg-",e],(async()=>{var t;const n=await(0,o.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(e)}`,apiNamespace:"wpcom/v2"});return!("wordpress"!==n.platform||null!==(t=n.platform_data)&&void 0!==t&&t.is_wpcom)}),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e&&t})}},34381:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(17127),o=n(26932),i=n(41073),s=n(1494);function a(e,t){if(!e||!t)return!1;const n=t.trim().toLowerCase();if(e===n)return!0;try{const t=new URL(e);if(t.host===n)return!0;const r=new URL(n);if(t.host===r.host)return!0}catch(r){return!1}}function u(e,t,n){const[u]=(0,r.Z)(t,500),c=!!(l=u)&&l.length>4&&Boolean(null==l?void 0:l.match(/\w{2,}\.\w{2,32}/))&&n;var l;const{data:p,isLoading:d}=(0,i.u)(e,c),{data:f,isLoading:h}=(0,s.z)(u,c),{data:g,isLoading:m}=(0,o.K)(u,c);if(!c)return{result:"DISABLED",siteURL:t,isWpcom:!1};if(Boolean(null==p?void 0:p.sites.find((e=>a(e.URL,u)))))return{site:f,result:"OWNED_BY_USER",siteURL:t,isWpcom:!0};if(f)return null!=p&&p.sites.find((e=>a(e.URL,f.URL)))?{site:f,result:"OWNED_BY_USER",siteURL:t,isWpcom:!0}:{site:f,result:"NOT_OWNED_BY_USER",siteURL:t,isWpcom:!0};if(g)return{result:"WPORG",siteURL:t,isWpcom:!1};return{result:[d,m,h].some(Boolean)?"LOADING":"UNKNOWN",siteURL:t,isWpcom:!1}}},45655:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(82066),o=n(18552);function i(e){return(0,r.useQuery)("site-intent-"+e,(async()=>await(0,o.ZP)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e})}},41073:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["user-sites",e],(()=>(0,o.ZP)({path:"/me/sites/",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:3e5,enabled:t})}},1494:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["wpcom-site",e],(()=>(0,o.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e&&t})}},28459:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(93661),o=n(52699);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),n=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const s=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),a=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),u=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),c=e=>({type:"LAUNCH_SITE_START",siteId:e}),l=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),p=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const d=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const f=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*h(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield s(e,t.blogname)),"blogdescription"in t&&(yield a(e,t.blogdescription)),"site_vertical_id"in t&&(yield u(e,t.site_vertical_id)),yield d(e,t)}catch(n){}}function*g(e,t,n){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,style_variation_slug:n,dont_change_homepage:o},method:"POST"})}function*m(e,t,n){const{recipe:o,verticalizable:i}=t;if(["hannah","gilbert","riley"].indexOf(t.template)>=0)return;const s={trim_content:!0};i&&(s.vertical_id=null==n?void 0:n.verticalId),null!=o&&o.pattern_ids&&(s.pattern_ids=null==o?void 0:o.pattern_ids),null!=o&&o.header_pattern_ids&&(s.header_pattern_ids=null==o?void 0:o.header_pattern_ids),null!=o&&o.footer_pattern_ids&&(s.footer_pattern_ids=null==o?void 0:o.footer_pattern_ids);return yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:s,method:"POST"})}const y=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),v=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),w=(e,t,n)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:n});const b=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),_=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),E=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const S=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),C=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:n}),P=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:n});const I=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),k=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),T=(e,t,n)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:n});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield h(e,{blogname:t})},saveSiteSettings:h,setIntentOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(n){}},setStaticHomepageOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/homepage`,apiVersion:"1.1",body:{is_page_on_front:!0,page_on_front_id:t},method:"POST"})}catch(n){}},setGoalsOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(n){}},receiveSiteTitle:s,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:n,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),installTheme:function*(e,t){yield(0,r._9)({path:`/sites/${e}/themes/${t}/install`,apiVersion:"1.1",method:"POST"})},setThemeOnSite:g,runThemeSetupOnSite:m,setDesignOnSite:function*(e,t,n){var r,o,i;return yield*g(e,(null===(r=t.recipe)||void 0===r||null===(o=r.stylesheet)||void 0===o?void 0:o.split("/")[1])||t.theme,null==n||null===(i=n.styleVariation)||void 0===i?void 0:i.slug),yield*m(e,t,n)},createCustomTemplate:function*(e,t,n,o,i){const s=`${t}//${n}`;let a=!0;try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/templates/${s}`,apiNamespace:"wp/v2",method:"GET"})}catch{a=!1}const u=`templates/${a?s:""}`;yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/${u}`,apiNamespace:"wp/v2",body:{slug:n,theme:t,title:o,content:i,status:"publish",is_wp_suggestion:!0},method:"POST"})},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,s={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},a=yield(0,r._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o});return yield n(a),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:a,receiveSiteVerticalId:u,updateSiteSettings:d,saveSiteTagline:function*(e,t){yield h(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield c(e);try{yield(0,r._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield l(e)}catch(t){yield p(e,o.Hc.INTERNAL)}},launchSiteStart:c,launchSiteSuccess:l,launchSiteFailure:p,getCart:function*(e){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const n=yield(0,r._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield f(e,n),n},receiveSiteGlobalStyles:f,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield y(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield v(e,t)}catch(n){yield w(e,t,o.Hf.INTERNAL)}},atomicTransferStart:y,atomicTransferSuccess:v,atomicTransferFailure:w,latestAtomicTransferStart:b,latestAtomicTransferSuccess:_,latestAtomicTransferFailure:E,requestLatestAtomicTransfer:function*(e){yield b(e);try{const t=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield _(e,t)}catch(t){yield E(e,t)}},atomicSoftwareStatusStart:S,atomicSoftwareStatusSuccess:C,atomicSoftwareStatusFailure:P,requestAtomicSoftwareStatus:function*(e,t){yield S(e,t);try{const n=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield C(e,t,n)}catch(n){yield P(e,t,n)}},initiateSoftwareInstall:function*(e,t){yield I(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield k(e,t)}catch(n){yield T(e,t,n)}},atomicSoftwareInstallStart:I,atomicSoftwareInstallSuccess:k,atomicSoftwareInstallFailure:T,setBundledPluginSlug:(e,t)=>({type:"SET_BUNDLED_PLUGIN_SLUG",siteSlug:e,pluginSlug:t})}}},52005:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="automattic/site"},52369:(e,t,n)=>{"use strict";n.d(t,{z2:()=>d});var r=n(9818),o=n(5754),i=n(93661),s=n(28459),a=n(52005),u=n(2701),c=n(37862),l=n(84309);let p=!1;function d(e){return p||((0,r.use)(r.plugins.persistence,o.Z),p=!0,(0,r.registerStore)(a.L,{actions:(0,s.d)(e),controls:i.ai,reducer:u.ZP,resolvers:c,selectors:l,persist:["bundledPluginSlug"]})),a.L}},2701:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(9818),o=n(52699);const i=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),s=(0,r.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:n,...r}=e;return{...r}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(n=e[t.siteId])||void 0===n?void 0:n.options,site_vertical_id:t.verticalId}}}:e;var n},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:n}=t;return{error:e,message:n}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e},bundledPluginSlug:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_BUNDLED_PLUGIN_SLUG"===t.type?{...e,[t.siteSlug]:t.pluginSlug}:"RESET_SITE_STORE"===t.type?{}:e}})},37862:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSite:()=>o,getSiteDomains:()=>i,getSiteSettings:()=>s});var r=n(18552);const o=e=>async t=>{let{dispatch:n}=t;n.fetchSite();try{const t=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});n.receiveSite(e,t)}catch(o){n.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});n.receiveSiteDomains(e,null==o?void 0:o.domains)},s=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});n.receiveSiteSettings(e,null==o?void 0:o.settings)}},84309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getState:()=>s,getNewSite:()=>a,getNewSiteError:()=>u,isFetchingSite:()=>c,getFetchingSiteError:()=>l,isFetchingSiteDetails:()=>p,isNewSite:()=>d,getSite:()=>f,getSiteIdBySlug:()=>h,getSiteTitle:()=>g,getSiteVerticalId:()=>m,isSiteLaunched:()=>y,isSiteLaunching:()=>v,isSiteAtomic:()=>w,isSiteWPForTeams:()=>b,getSiteDomains:()=>_,getSiteSettings:()=>E,getSiteGlobalStyles:()=>S,getSiteSetupError:()=>C,getSiteOptions:()=>P,getSiteOption:()=>I,getPrimarySiteDomain:()=>k,getSiteSubdomain:()=>T,getSiteLatestAtomicTransfer:()=>A,getSiteLatestAtomicTransferError:()=>R,getAtomicSoftwareStatus:()=>O,getAtomicSoftwareError:()=>L,getAtomicSoftwareInstallError:()=>x,siteHasFeature:()=>F,requiresUpgrade:()=>U,isJetpackSite:()=>N,isEligibleForProPlan:()=>D,getBundledPluginSlug:()=>Z});var r=n(9818),o=n(52005),i=n(52699);const s=e=>e,a=e=>e.newSite.data,u=e=>e.newSite.error,c=e=>e.newSite.isFetching,l=e=>e.fetchingSiteError,p=e=>e.isFetchingSiteDetails,d=e=>!!e.newSite.data,f=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t))||Object.values(e.sites).find((e=>e&&e.options.unmapped_url&&new URL(e.options.unmapped_url).host===t)),h=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.ID},g=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.name},m=(e,t)=>{var n,i;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.site_vertical_id},y=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.SUCCESS},v=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.IN_PROGRESS},w=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpcom_atomic)},b=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],E=(e,t)=>e.sitesSettings[t],S=(e,t)=>e.sitesGlobalStyles[t],C=e=>e.siteSetupErrors,P=(e,t)=>{var n;return null===(n=e.sites[t])||void 0===n?void 0:n.options},I=(e,t,n)=>{var r,o;return null===(r=e.sites[t])||void 0===r||null===(o=r.options)||void 0===o?void 0:o[n]},k=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.primary_domain))},T=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.is_subdomain))},A=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.transfer},R=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.errorCode},O=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.status},L=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},x=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareInstallStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},F=(e,t,n)=>{var i,s;return Boolean(t&&(null===(i=(0,r.select)(o.L).getSite(t))||void 0===i||null===(s=i.plan)||void 0===s?void 0:s.features.active.includes(n)))},U=(e,t)=>t&&!(0,r.select)(o.L).siteHasFeature(t,"woop");function N(e,t){var n;return Boolean(t&&(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.jetpack))}function D(e,t){return!!t&&!(N(0,t)&&!w(e,t)||b(e,t))}const Z=(e,t)=>e.bundledPluginSlug[t]},52699:(e,t,n)=>{"use strict";let r,o,i,s,a,u,c;n.d(t,{Hc:()=>o,uS:()=>i,bc:()=>s,Hf:()=>a,O:()=>u,sw:()=>c}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(r||(r={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.INTERNAL="internal"}(a||(a={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(c||(c={}))},14803:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(e,t,n){const r=!t||n?"wpcom":"jpop";return(0,i.useQuery)(e,(async()=>(0,s.aO)()?await(0,s.ZP)({path:"help/sibyl",apiNamespace:"wpcom/v2/",apiVersion:"2",query:`query=${encodeURIComponent(e)}&site=${r}`}):await o()({path:`help-center/sibyl?query=${encodeURIComponent(e)}&site=${r}`,global:!0})),{refetchOnWindowFocus:!1,keepPreviousData:!0,enabled:!!e})}},41515:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>{let{ownershipResult:t,message:n,subject:r,locale:i,hideInfo:s,userDeclaredSiteUrl:a}=e;const u=t.site,c=[];u?(u.jetpack?(c.push("WP.com: Unknown"),c.push("Jetpack: Yes")):(c.push("WP.com: "+(t.isWpcom?"Yes":"No")),c.push("Jetpack: No")),c.push("Correct account: "+("OWNED_BY_USER"===t.result?"Yes":"No"))):a&&(c.push(`Self-declared URL: ${a}`),c.push("Jetpack: Unknown"),c.push("WP.com: Unknown"));const l={subject:r,message:n+"\n\n"+c.join("\n"),locale:i,client:"help-center",hide_blog_info:s,blog_id:null==u?void 0:u.ID,blog_url:null==u?void 0:u.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:l})}))}},32457:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(){return(0,i.useMutation)((e=>(0,s.aO)()?(0,s.ZP)({path:"help/ticket/new",apiNamespace:"wpcom/v2/",apiVersion:"2",method:"POST",body:e}):o()({global:!0,path:"/help-center/ticket/new",method:"POST",data:e})))}},99706:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,i.useQuery)("OTHER"===e?"otherSupportAvailability":"chatSupportAvailability",(async()=>(0,s.aO)()?await(0,s.ZP)({path:`help/eligibility/${"OTHER"===e?"all":"chat"}/mine`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({path:"help-center/support-availability/"+("OTHER"===e?"all":"chat"),global:!0})),{enabled:t,refetchOnWindowFocus:!1,keepPreviousData:!0,staleTime:216e5})}},71382:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(19126),o=n(93661);function i(e){const t=()=>({type:"FETCH_NEW_USER"}),n=e=>({type:"RECEIVE_NEW_USER",response:e}),i=e=>({type:"RECEIVE_NEW_USER_FAILED",error:e});return{receiveCurrentUser:e=>({type:"RECEIVE_CURRENT_USER",currentUser:e}),receiveCurrentUserFailed:()=>({type:"RECEIVE_CURRENT_USER_FAILED"}),fetchNewUser:t,receiveNewUser:n,receiveNewUserFailed:i,clearErrors:()=>({type:"CLEAR_ERRORS"}),createAccount:function*(t){yield{type:"FETCH_NEW_USER"};try{const i=yield(0,o._9)({body:{is_passwordless:!0,signup_flow_name:"gutenboarding",locale:"en",...e,...t,validate:!1},path:"/users/new",apiVersion:"1.1",method:"post",query:(0,r.stringify)({locale:t.locale})});return yield(0,o.sS)(),yield(0,o.Vw)(),yield n(i),{ok:!0}}catch(s){const e=s;return yield i(e),{ok:!1,newUserError:e}}}}}},37037:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="automattic/user"},88330:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(9818),o=n(93661),i=n(71382),s=n(37037),a=n(85938),u=n(45177),c=n(47092);let l=!1;function p(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:(0,u.i)(e),selectors:c})),s.L}},85938:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(9818);const o=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_USER"===t.type){const{response:e}=t;return{username:e.signup_sandbox_username||e.username,userId:e.signup_sandbox_user_id||e.user_id,bearerToken:e.bearer_token}}if("RECEIVE_NEW_USER_FAILED"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_USER":case"RECEIVE_NEW_USER":case"CLEAR_ERRORS":return;case"RECEIVE_NEW_USER_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_USER":return!0;case"RECEIVE_NEW_USER":case"RECEIVE_NEW_USER_FAILED":return!1}return e}}),i=(0,r.combineReducers)({currentUser:(e,t)=>{switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser;case"RECEIVE_CURRENT_USER_FAILED":return null}return e},newUser:o})},45177:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(93661),o=n(71382);function i(e){const{receiveCurrentUser:t,receiveCurrentUserFailed:n}=(0,o.d)(e);return{getCurrentUser:function*(){if(window.currentUser)return t(window.currentUser);try{const e=yield(0,r._9)({path:"/me",apiVersion:"1.1"});return t(e)}catch(e){return n()}}}}},47092:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getState:()=>r,getCurrentUser:()=>o,isCurrentUserLoggedIn:()=>i,getNewUser:()=>s,getNewUserError:()=>a,isFetchingNewUser:()=>u,isNewUser:()=>c});const r=e=>e,o=e=>e.currentUser,i=e=>{var t;return!(null===(t=e.currentUser)||void 0===t||!t.ID)},s=e=>e.newUser.data,a=e=>e.newUser.error,u=e=>e.newUser.isFetching,c=e=>!!e.newUser.data},93661:(e,t,n)=>{"use strict";n.d(t,{_9:()=>o,sS:()=>i,Vw:()=>s,ai:()=>a});var r=n(18552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=()=>({type:"RELOAD_PROXY"}),s=()=>({type:"REQUEST_ALL_BLOGS_ACCESS"}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,r.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:n}=e;const r=await window.fetch(t,n);return{ok:r.ok,body:await r.json()}},RELOAD_PROXY:()=>{(0,r.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,r.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},10819:(e,t,n)=>{"use strict";function r(e){let t=null;function r(){return t||(t=Promise.resolve().then(n.bind(n,56989)).then((t=>{let{default:n}=t;return n(e)}))),t}return{init:async(e,t)=>(await r()).init(e,t),request:async(e,t)=>(await r()).request(e,t),send:async e=>(await r()).send(e)}}n.d(t,{Z:()=>r})},56989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Connection:()=>c,buildConnectionForCheckingAvailability:()=>l,default:()=>p});var r=n(56666),o=n(34386),i=n.n(o),s=n(17768),a=n.n(s);const u=i()("calypso:happychat:connection");class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,r.Z)(this,"receiveAccept",void 0),(0,r.Z)(this,"receiveConnect",void 0),(0,r.Z)(this,"receiveDisconnect",void 0),(0,r.Z)(this,"receiveError",void 0),(0,r.Z)(this,"receiveInit",void 0),(0,r.Z)(this,"receiveLocalizedSupport",void 0),(0,r.Z)(this,"receiveMessage",void 0),(0,r.Z)(this,"receiveHappychatEnv",void 0),(0,r.Z)(this,"receiveMessageOptimistic",void 0),(0,r.Z)(this,"receiveMessageUpdate",void 0),(0,r.Z)(this,"receiveReconnecting",void 0),(0,r.Z)(this,"receiveStatus",void 0),(0,r.Z)(this,"receiveToken",void 0),(0,r.Z)(this,"receiveUnauthorized",void 0),(0,r.Z)(this,"requestTranscript",void 0),(0,r.Z)(this,"closeAfterAccept",void 0),(0,r.Z)(this,"dispatch",void 0),(0,r.Z)(this,"openSocket",void 0),Object.assign(this,e),this.closeAfterAccept=t}init(e,t){if(this.openSocket)return u("socket is already connected"),this.openSocket;const n=t=>{if(t)return e(t)};return this.dispatch=n,this.openSocket=new Promise(((e,r)=>{t.then((t=>{let{url:o,user:{signer_user_id:i,jwt:s,groups:u,skills:c,geoLocation:l}}=t;var p,d;"string"==typeof o&&(o.includes("staging")?n(null===(p=this.receiveHappychatEnv)||void 0===p?void 0:p.call(this,"staging")):n(null===(d=this.receiveHappychatEnv)||void 0===d?void 0:d.call(this,"production")));const f=(e=>"string"==typeof e?new(a())(e,{transports:["websocket"]}):e)(o);return f.once("connect",(()=>{var e;return n(null===(e=this.receiveConnect)||void 0===e?void 0:e.call(this))})).on("token",(e=>{var t;n(null===(t=this.receiveToken)||void 0===t?void 0:t.call(this)),e({signer_user_id:i,jwt:s,groups:u,skills:c})})).on("init",(()=>{var t,r;n(null===(t=this.receiveInit)||void 0===t?void 0:t.call(this,{signer_user_id:i,groups:u,skills:c,geoLocation:l})),n(null===(r=this.requestTranscript)||void 0===r?void 0:r.call(this)),e(f)})).on("unauthorized",(()=>{var e;f.close(),n(null===(e=this.receiveUnauthorized)||void 0===e?void 0:e.call(this,"User is not authorized")),r("user is not authorized")})).on("disconnect",(e=>{var t;return n(null===(t=this.receiveDisconnect)||void 0===t?void 0:t.call(this,e))})).on("reconnecting",(()=>{var e;return n(null===(e=this.receiveReconnecting)||void 0===e?void 0:e.call(this))})).on("status",(e=>{var t;return n(null===(t=this.receiveStatus)||void 0===t?void 0:t.call(this,e))})).on("accept",(e=>{var t;n(null===(t=this.receiveAccept)||void 0===t?void 0:t.call(this,e)),this.closeAfterAccept&&f.close()})).on("localized-support",(e=>{var t;return n(null===(t=this.receiveLocalizedSupport)||void 0===t?void 0:t.call(this,e))})).on("message",(e=>{var t;return n(null===(t=this.receiveMessage)||void 0===t?void 0:t.call(this,e))})).on("message.optimistic",(e=>{var t;return n(null===(t=this.receiveMessageOptimistic)||void 0===t?void 0:t.call(this,e))})).on("message.update",(e=>{var t;return n(null===(t=this.receiveMessageUpdate)||void 0===t?void 0:t.call(this,e))})).on("reconnect_attempt",(()=>{f.io.opts.transports=["polling","websocket"]}))})).catch((e=>r(e)))})),this.openSocket}send(e){if(this.openSocket)return this.openSocket.then((t=>t.emit(e.event,e.payload)),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}request(e,t){if(this.openSocket)return this.openSocket.then((n=>{const r=Promise.race([new Promise(((t,r)=>{n.emit(e.event,e.payload,((e,n)=>e?r(new Error(e)):t(n)))})),new Promise(((e,n)=>setTimeout((()=>n(new Error("timeout"))),t)))]);return r.then((t=>{var n,r;return null===(n=this.dispatch)||void 0===n?void 0:n.call(this,null===(r=e.callback)||void 0===r?void 0:r.call(e,t))}),(t=>{var n,r;"timeout"!==t.message&&(null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,e.event+" request failed: "+t.message)))})),r}),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}}const l=e=>new c(e,!1),p=e=>new c(e)},61082:(e,t,n)=>{"use strict";n.d(t,{_y:()=>a,ZP:()=>c});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);const a="getHappychatAuth-"+Date.now();async function u(){return(0,s.aO)()?await(0,s.ZP)({path:"/help/authenticate/chat",apiNamespace:"wpcom/v2",apiVersion:"2",method:"POST"}):await o()({path:"/help-center/authenticate/chat",method:"POST",global:!0})}function c(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,i.useQuery)(a,u,{staleTime:6e5,enabled:e})}},89645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(82066),o=n(56989),i=n(61082);const s=Date.now();function a(e){return new Promise((t=>{const n={},r=(0,o.buildConnectionForCheckingAvailability)({receiveHappychatEnv:e=>{var o;(n.env=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveAccept:e=>{var o;(n.available=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveStatus(e){var o;(n.status=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveUnauthorized:()=>{t({available:!1,status:"new"})}});r.init((e=>e),Promise.resolve(e))}))}const u=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e5;const{data:n,isLoading:o}=(0,i.ZP)();return(0,r.useQuery)("happychat-available"+s,(()=>a(n)),{enabled:!o&&!!n&&e,staleTime:t})}},40495:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(69307),o=n(43239),i=n(5869),s=n(21100),a=n(95885),u=n(29175);n(62829);const c=e=>{let{onClick:t,backToRoot:n=!1}=e;const{__:__}=(0,a.QT)(),c=(0,u.k6)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:t||function(){n?c.push("/"):c.goBack()}},(0,r.createElement)(i.Z,{icon:s.Z,size:18}),__("Back","full-site-editing"))}},7577:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(69307),o=n(89525),i=n(43239),s=n(5869),a=n(94140),u=n(95885),c=n(72779),l=n.n(c);n(50436);const p=()=>{const e=(0,r.useRef)(null),{__:__}=(0,u.QT)(),t=(0,r.useCallback)((e=>e.scrollTop>400),[]),{isButtonVisible:n,scrollToTop:c}=(0,o.Z)({scrollTargetRef:e,isBelowThreshold:t,smoothScrolling:!1});return(0,r.createElement)(i.Z,{ref:t=>{e.current=(null==t?void 0:t.parentElement)??null},className:l()("back-to-top-button__help-center",{"is-visible":n}),onClick:c},(0,r.createElement)(s.Z,{icon:a.Z,size:16}),__("Back to top","full-site-editing"))}},19762:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(85774),i=n(22169),s=n(15166);n(21586);const a=e=>{let{content:t,className:n}=e;const o=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(o.current&&t.length){o.current.innerHTML=t;o.current.querySelectorAll('a[href*="http"]').forEach((e=>e.setAttribute("target","_blank")))}}),[o,t]),(0,r.createElement)("div",{ref:o,className:n})},u=e=>{let{content:t,title:n,link:u,isLoading:c=!1}=e;const l={title:n,url:u};return(0,r.createElement)("article",{className:"help-center-article-content__story"},c?(0,r.createElement)(s.Z,{lines:8}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{post:l,isLoading:!1}),(0,r.createElement)(i.Z,null,(0,r.createElement)(a,{className:"help-center-article-content__story-content",content:t}))))}},19892:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(69307),o=n(99196),i=n(4792),s=n(91040),a=n(56077),u=n(9232),c=n(1230),l=n(6712),p=n(19762);n(21586);const d=(e,t)=>({blogId:e,postId:t}),f=e=>{let{postId:t,blogId:n,articleUrl:f}=e;const h=((e,t)=>{const n=(0,c.Z)(e,t);return n.isLoading?null:n.data?d(n.data.blog_id,n.data.page_id):d(e,t)})(+(n??s.Di),t),g=(0,i.v9)((e=>(0,l.UK)(e,h))),m=!(null!=g&&g.content&&h),y=null==g?void 0:g.site_ID,v=!g&&h;return(0,o.useEffect)((()=>{"undefined"!=typeof window&&f&&-1!==f.indexOf("#")&&null!=g&&g.content&&setTimeout((()=>{const e=f.split("#").pop();if(e){const t=document.getElementById(e);t&&t.scrollIntoView()}}),0)}),[f,g]),(0,r.createElement)(r.Fragment,null,y&&(0,r.createElement)(u.Z,{siteId:+y}),v&&(0,r.createElement)(a.Z,{postKey:h,isHelpCenter:!0}),(0,r.createElement)(p.Z,{content:null==g?void 0:g.content,title:null==g?void 0:g.title,link:null==g?void 0:g.link,isLoading:m}))}},23025:(e,t,n)=>{"use strict";n.d(t,{_:()=>N});var r=n(69307),o=n(36115),i=n(20899),s=n(4112),a=n(37499),u=n(43239),c=n(27136),l=n(32457),p=n(41515),d=n(41073),f=n(34381),h=n(14803),g=n(30849),m=n(1283),y=n(55609),v=n(9818),w=n(65736),b=n(5869),_=n(5614),E=n(99196),S=n(82066),C=n(4792),P=n(29175),I=n(17127),k=n(36747),T=n(73041),A=n(98865),R=n(44241),O=n(40495),L=n(10083),x=n(61108);n(27427);const __=w.__,F=["john","joe","julia","emily","ashley","daphne","megan","omar","vivian","sam","tony"].map((e=>`https://s0.wp.com/i/support-engineers/${e}.jpg`)).sort((()=>Math.random()-.5)).slice(0,2),U=e=>{let{onSelect:t,currentSite:n,siteId:o,enabled:i}=e;const s=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(m.a,{enabled:i,onPickSite:function(e){t(e)},options:s,siteId:o})};const N=()=>{var e,t,n;const{search:m}=(0,P.TH)(),w=(0,C.v9)(T.Z),N=new URLSearchParams(m),D=N.get("mode"),Z="true"===N.get("overflow"),j=(0,P.k6)(),[M,q]=(0,E.useState)(!1),[B,H]=(0,E.useState)(!1),V=(0,g.bU)(),{isLoading:W,mutateAsync:$}=(0,l.g)(),{isLoading:z,mutateAsync:G}=(0,p.M)(),Q=(0,C.v9)(k.rc),{data:Y}=(0,d.u)(Q),K=0===(null==Y?void 0:Y.sites.length),J=(0,S.useQueryClient)(),X=(0,C.v9)(k.vz),[ee,te]=(0,E.useState)("CURRENT_SITE"),{currentSite:ne,subject:re,message:oe,userDeclaredSiteUrl:ie}=(0,v.useSelect)((e=>({currentSite:e(A.aM).getSite(),subject:e(A.aM).getSubject(),message:e(A.aM).getMessage(),userDeclaredSiteUrl:e(A.aM).getUserDeclaredSiteUrl()}))),{setSite:se,resetStore:ae,setUserDeclaredSiteUrl:ue,setUserDeclaredSite:ce,setSubject:le,setMessage:pe}=(0,v.useDispatch)(A.aM);(0,E.useEffect)((()=>{const e=(0,R.yQ)(D);(0,o.jN)("calypso_inlinehelp_contact_view",{support_variation:e,location:"help-center",section:w})}),[D,w]),(0,E.useEffect)((()=>{K&&te("OTHER_SITE")}),[K]);const de=function(e){return{CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing"),buttonSubmittingLabel:__("Connecting to chat","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing"),buttonSubmittingLabel:__("Sending email","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing"),buttonSubmittingLabel:__("Posting in the forums","full-site-editing"),buttonLoadingLabel:__("Analyzing site…","full-site-editing")}}[e]}(D);let fe=(0,f.g)(Q,ie,"OTHER_SITE"===ee);const he="LOADING"===(null===(e=fe)||void 0===e?void 0:e.result),ge=W||z;let me;var ye;(ne&&"CURRENT_SITE"===ee&&(fe={result:"OWNED_BY_USER",isWpcom:!0,siteURL:ne.URL,site:ne}),(0,E.useEffect)((()=>{var e,t;null!==(e=fe)&&void 0!==e&&e.site&&"OTHER_SITE"===ee&&ce(null===(t=fe)||void 0===t?void 0:t.site)}),[fe,ce,ee]),"OTHER_SITE"===ee)?me=null===(ye=fe)||void 0===ye?void 0:ye.site:me=ne;const[ve]=(0,I.Z)(oe||"",500),{data:we}=(0,h.v)(ve,Boolean(null===(t=me)||void 0===t?void 0:t.jetpack),Boolean(null===(n=me)||void 0===n?void 0:n.is_wpcom_atomic)),be="true"===N.get("show-results");function _e(){var e;if(!be&&we&&we.length>0)return N.set("show-results","true"),void j.push({pathname:"/contact-form",search:N.toString()});const t=null===(e=me)||void 0===e?void 0:e.plan.product_slug,n=(0,s.Wh)(t),r=null==n?void 0:n.getProductId(),i=null==n?void 0:n.getTitle(),a=(0,s.uH)(t,(e=>e));switch(D){case"CHAT":if(me){(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"happychat",location:"help-center",section:w}),(0,o.jN)("calypso_help_live_chat_begin",{site_plan_product_id:r,is_automated_transfer:me.is_wpcom_atomic,location:"help-center",section:w}),j.push("/inline-chat");break}break;case"EMAIL":if(me){const e=[...["Site I need help with: "+me.URL,`Plan: ${r} - ${i} (${a})`],"\n",oe].join("\n");$({subject:re??"",message:e,locale:V,client:"browser:help-center",is_chat_overflow:Z,source:"source_wpcom_help_center",blog_url:me.URL}).then((()=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"kayako",location:"help-center",section:w}),j.push("/success"),ae(),setTimeout((()=>{J.invalidateQueries(["activeSupportTickets",X])}),3e4)})).catch((()=>{H(!0)}))}break;case"FORUM":G({ownershipResult:fe,message:oe??"",subject:re??"",locale:V,hideInfo:M,userDeclaredSiteUrl:ie}).then((e=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"forums",location:"help-center",section:w}),j.push(`/success?forumTopic=${encodeURIComponent(e.topic_URL)}`),ae()})).catch((()=>{H(!0)}))}}const Ee=((e,t)=>{const n=(0,i.ZP)("livechat_support_locales").includes(t),r=(0,i.ZP)("upwork_support_locales").includes(t);switch(e){case"CHAT":return!n;case"EMAIL":return!r&&!["en","en-gb"].includes(t);default:return!1}})(D,V),Se=()=>{if(ge||!oe||he)return!0;switch(D){case"CHAT":return!me;case"EMAIL":return!me||!re;case"FORUM":return!re}},Ce=()=>!be&&we&&we.length>0?__("Continue","full-site-editing"):"CHAT"===D&&be?__("Still chat with us","full-site-editing"):"EMAIL"===D&&be?__("Still email us","full-site-editing"):he?de.buttonLoadingLabel:ge?de.buttonSubmittingLabel:de.buttonLabel;return be?(0,r.createElement)("div",{className:"help-center__sibyl-articles-page"},(0,r.createElement)(O.x,null),(0,r.createElement)(x.e,{title:__("These are some helpful articles","full-site-editing"),supportSite:me,message:oe,articleCanNavigateBack:!0}),(0,r.createElement)("section",{className:"contact-form-submit"},(0,r.createElement)(u.Z,{disabled:Se(),onClick:_e,primary:!0,className:"help-center-contact-form__site-picker-cta"},Ce()),B&&(0,r.createElement)(c.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")}))):(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)(O.x,null),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},de.formTitle),de.formSubtitle&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-subtitle"},de.formSubtitle),de.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},de.formDisclaimer),!K&&(0,r.createElement)("section",null,(0,r.createElement)(U,{enabled:"FORUM"===D,currentSite:ne,onSelect:e=>{0!==e&&se(ne),te(0===e?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===ee?null==ne?void 0:ne.ID:0})),"OTHER_SITE"===ee&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(y.TextControl,{label:__("Site address","full-site-editing"),value:ie??"",onChange:ue})),(0,r.createElement)(L.JJ,{ownershipResult:fe})),["FORUM","EMAIL"].includes(D)&&(0,r.createElement)("section",null,(0,r.createElement)(y.TextControl,{className:"help-center-contact-form__subject",label:__("Subject","full-site-editing"),value:re??"",onChange:le})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:oe??"",onInput:e=>pe(e.currentTarget.value),className:"help-center-contact-form__message"})),"FORUM"===D&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__domain-sharing"},(0,r.createElement)(y.CheckboxControl,{checked:M,label:__("Don’t display my site’s URL publicly","full-site-editing"),help:(0,r.createElement)((()=>{const e=(0,E.useRef)(),[t,n]=(0,E.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("button",{className:"help-center-contact-form__site-picker-forum-privacy-info",ref:e,"aria-haspopup":!0,"aria-label":__("More information"),onClick:()=>n(!t)},(0,r.createElement)(b.Z,{icon:_.Z,size:18})),(0,r.createElement)(a.Z,{className:"help-center-contact-form__site-picker-privacy-popover",isVisible:t,context:e.current,position:"top left"},(0,r.createElement)("span",{className:"help-center-contact-form__site-picker-forum-privacy-popover"},__("This may result in a longer response time, but WordPress.com staff in the forums will still be able to view your site's URL.","full-site-editing"))))}),null),onChange:e=>q(e)}))),(0,r.createElement)("section",{className:"contact-form-submit"},(0,r.createElement)(u.Z,{disabled:Se(),onClick:_e,primary:!0,className:"help-center-contact-form__site-picker-cta"},Ce()),!B&&Ee&&(0,r.createElement)(y.Tip,null,__("Note: Support is only available in English at the moment.")),B&&(0,r.createElement)(c.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")})),["CHAT","EMAIL"].includes(D)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},F.map((e=>(0,r.createElement)("img",{key:e,src:e,"aria-hidden":"true",alt:""}))),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},de.trayText))),(0,r.createElement)(x.e,{supportSite:me,message:oe,articleCanNavigateBack:!0}))}},98490:(e,t,n)=>{"use strict";n.d(t,{_:()=>O,K:()=>L});var r=n(69307),o=n(36115),i=n(20899),s=n(6010),a=n(98480),u=n(99706),c=n(30849),l=n(6339),p=n(55609),d=n(65736),f=n(5869),h=n(77343),g=n(95885),m=n(72779),y=n.n(m),v=(n(99196),n(4792)),w=n(47933),b=n(2402),_=n(36747),E=n(73041),S=n(40495),C=n(97878),P=n(82513),I=n(83822),k=n(67605),T=n(10083),A=n(61108);const R=e=>{let{active:t,...n}=e;return t?(0,r.createElement)(w.rU,n):(0,r.createElement)("span",n)},O=()=>{const{__:__}=(0,g.QT)(),e=(0,c.bU)(),t=(0,P.X)(),n=(0,C.v)(),m=(0,v.v9)(_.vz),{data:E,isLoading:I}=(0,b.t)(m,{staleTime:18e5}),{data:O}=(0,u.p)("CHAT"),L=n.isLoading||t.isLoading||I;(0,r.useEffect)((()=>{L||(0,o.jN)("calypso_helpcenter_contact_options_impression",{location:"help-center",chat_available:"AVAILABLE"===n.state,email_available:t.render})}),[L,n.state,t.render]);const x=(0,r.useMemo)((()=>(0,l.TF)(e)||!(0,d.hasTranslation)("Live chat (English)")?__("Live chat","full-site-editing"):__("Live chat (English)","full-site-editing")),[__,e]),F=(0,r.useMemo)((()=>{if((0,l.TF)(e))return __("Email","full-site-editing");if((0,i.ZP)("upwork_support_locales").includes(e)){var t;const n=null===(t=(0,l.G3)(e))||void 0===t?void 0:t.name;return n&&(0,d.hasTranslation)("Email (%s)")?(0,d.sprintf)(__("Email (%s)","full-site-editing"),n):__("Email","full-site-editing")}return(0,d.hasTranslation)("Email (English)")?__("Email (English)","full-site-editing"):__("Email","full-site-editing")}),[__,e]);if(L)return(0,r.createElement)("div",{className:"help-center-contact-page__loading"},(0,r.createElement)(s.$,{baseClassName:""}));const U=!["free","personal","starter"].includes((null==O?void 0:O.supportLevel)||"");return(0,r.createElement)("div",{className:"help-center-contact-page"},(0,r.createElement)(S.x,null),(0,r.createElement)("div",{className:"help-center-contact-page__content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts","full-site-editing")),(0,r.createElement)(T.Fv,{tickets:E}),(0,r.createElement)(a.X,{displayAt:"2022-10-29 00:00Z",closesAt:"2022-11-05 00:00Z",reopensAt:"2022-11-14 07:00Z",enabled:U}),(0,r.createElement)("div",{className:y()("help-center-contact-page__boxes",{"is-reversed":!n.render||"AVAILABLE"!==n.state})},n.render&&(0,r.createElement)("div",null,(0,r.createElement)(R,{active:"AVAILABLE"===n.state,to:"/contact-form?mode=CHAT"},(0,r.createElement)("div",{className:y()("help-center-contact-page__box","chat",{"is-disabled":"AVAILABLE"!==n.state}),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(f.Z,{icon:h.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,x),(0,r.createElement)("p",null,"AVAILABLE"!==n.state?__("Chat is unavailable right now","full-site-editing"):__("Get an immediate reply","full-site-editing"))))),"staging"===n.env&&(0,r.createElement)(p.Notice,{status:"warning",actions:[{label:"HUD",url:"https://hud-staging.happychat.io/"}],className:"help-center-contact-page__staging-notice",isDismissible:!1},"Using HappyChat staging")),t.render&&(0,r.createElement)(w.rU,{to:`/contact-form?mode=EMAIL&overflow=${(n.eligible&&"CLOSED"!==n.state&&"AVAILABLE"!==n.state).toString()}`},(0,r.createElement)("div",{className:y()("help-center-contact-page__box","email"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(f.Z,{icon:(0,r.createElement)(k.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,F),(0,r.createElement)("p",null,__("An expert will get back to you soon","full-site-editing"))))))),(0,r.createElement)(A.e,{articleCanNavigateBack:!0}))},L=()=>{const{__:__}=(0,g.QT)(),{url:e,isLoading:t}=(0,I.A)(),n=(0,v.v9)(E.Z),i="https://wordpress.com/help/contact"===e;let s=i?{pathname:e}:e;return t&&(s=""),(0,r.createElement)(w.rU,{to:s,target:i?"_blank":"_self",onClick:()=>{(0,o.jN)("calypso_inlinehelp_morehelp_click",{location:"help-center",section:n})},className:"button help-center-contact-page__button"},(0,r.createElement)(f.Z,{icon:h.Z}),(0,r.createElement)("span",null,__("Still need help?","full-site-editing")))}},30250:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(7896),o=n(69307),i=n(99706),s=n(89645),a=n(76951),u=n(55609),c=n(9818),l=n(72779),p=n.n(l),d=n(99196),f=n(41327),h=n.n(f),g=n(29175),m=n(24478),y=n(98865),v=n(407),w=n(14059),b=n(24934),_=n(1717);const E=e=>{let{draggable:t,...n}=e;return t?(0,o.createElement)(h(),n):(0,o.createElement)(o.Fragment,null,n.children)},S=e=>{let{handleClose:t,hidden:n}=e;const{show:l,isMinimized:f}=(0,c.useSelect)((e=>({show:e(y.aM).isHelpCenterShown(),isMinimized:e(y.aM).getIsMinimized()}))),{setIsMinimized:h}=(0,c.useDispatch)(y.aM),[S,C]=(0,d.useState)(!0),P=(0,a._z)(),I=p()("help-center__container",P?"is-mobile":"is-desktop",{"is-minimized":f}),{data:k}=(0,i.p)("CHAT"),{data:T}=(0,s.Z)(Boolean(null==k?void 0:k.is_user_eligible)),{history:A,index:R}=(0,c.useSelect)((e=>e(y.aM).getRouterState())),O={style:{animation:(S?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{S||(t(),C(!0))}},L=(0,d.useRef)(null);return!l||n?null:(0,o.createElement)(g.VA,{initialEntries:A,initialIndex:R},"assigned"===(null==T?void 0:T.status)&&(0,o.createElement)(g.l_,{to:"/inline-chat?session=continued"}),(0,o.createElement)(_.L,null),(0,o.createElement)(m.O,null,(0,o.createElement)(E,{draggable:!P&&!f,nodeRef:L,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(u.Card,(0,r.Z)({className:I},O,{ref:L}),(0,o.createElement)(b.Z,{isMinimized:f,onMinimize:()=>h(!0),onMaximize:()=>h(!1),onDismiss:()=>{C(!1)}}),(0,o.createElement)(v.Z,null),!f&&(0,o.createElement)(w.Z,null)))))}},407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(69307),o=n(36115),i=n(55609),s=n(72779),a=n.n(s),u=n(4792),c=n(29175),l=n(73041),p=n(23025),d=n(98490),f=n(26212),h=n(27420),g=n(817),m=n(94509);const y=()=>{const e=(0,c.TH)(),t=a()("help-center__container-content"),n=(0,r.useRef)(null),s=(0,u.v9)(l.Z);return(0,r.useEffect)((()=>{(0,o.jN)("calypso_helpcenter_page_open",{pathname:e.pathname,search:e.search,section:s,location:"help-center"})}),[e,s]),(0,r.useEffect)((()=>{n.current&&n.current.scrollTo(0,0)}),[e]),(0,r.createElement)(i.CardBody,{ref:n,className:t},(0,r.createElement)(c.AW,{exact:!0,path:"/"},(0,r.createElement)(g.Z,null)),(0,r.createElement)(c.AW,{path:"/post"},(0,r.createElement)(f.X,null)),(0,r.createElement)(c.AW,{path:"/contact-options"},(0,r.createElement)(d._,null)),(0,r.createElement)(c.AW,{path:"/contact-form"},(0,r.createElement)(p._,null)),(0,r.createElement)(c.AW,{path:"/success"},(0,r.createElement)(m.k,null)),(0,r.createElement)(c.AW,{path:"/inline-chat"},(0,r.createElement)(h.Z,null)))}},26212:(e,t,n)=>{"use strict";n.d(t,{X:()=>m});var r=n(69307),o=n(36115),i=n(43239),s=n(55609),a=n(5869),u=n(22042),c=(n(99196),n(4792)),l=n(29175),p=n(73041),d=n(40495),f=n(7577),h=n(19762),g=n(19892);const m=()=>{const{state:e,search:t}=(0,l.TH)(),n=(0,l.k6)(),m=(0,c.v9)(p.Z),y=new URLSearchParams(t),v=y.get("postId"),w=y.get("blogId"),b="true"===y.get("canNavigateBack"),_=y.get("link"),E=y.get("query");(0,r.useEffect)((()=>{const e={search_query:E,location:"help-center",section:m,result_url:_};(0,o.jN)("calypso_inlinehelp_article_open",e)}),[E,_,m]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"help-center-embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(d.x,{onClick:()=>{b?n.goBack():E?n.push(`/?query=${E}`):n.push("/")}})),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:_??"",target:"_blank",className:"help-center-embed-result__external-button"},(0,r.createElement)(a.Z,{icon:u.Z,size:20})))),null!=e&&e.content?(0,r.createElement)(h.Z,{content:e.content,title:e.title,link:e.link}):v&&(0,r.createElement)(g.Z,{postId:+v,blogId:w})),(0,r.createElement)(f.z,null))}},14059:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(69307),o=n(55609),i=n(72779),s=n.n(i),a=n(29175),u=n(98490);const c=()=>{const e=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:e},(0,r.createElement)(a.AW,{path:"/",exact:!0},(0,r.createElement)(u.K,null)))}},24934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(69307),o=n(55609),i=n(9818),s=n(5869),a=n(39739),u=n(48632),c=n(26715),l=n(63103),p=n(60199),d=n(95885),f=n(72779),h=n.n(f),g=n(99196),m=n(29175),y=n(98865);function v(){var e;const t=(0,m.TH)(),{search:n}=(0,m.TH)(),o=new URLSearchParams(n),i=(null===(e=t.state)||void 0===e?void 0:e.title)||o.get("title")||"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",{className:"help-center-header__article-title"},i))}const w=()=>{const{__:__}=(0,d.QT)(),{search:e}=(0,m.TH)();switch(new URLSearchParams(e).get("mode")){case"CHAT":return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,{icon:u.Z}),__("Start live chat","full-site-editing"));case"EMAIL":return(0,r.createElement)(r.Fragment,null,__("Send us an email","full-site-editing"));case"FORUM":return(0,r.createElement)(r.Fragment,null,__("Ask in our community forums","full-site-editing"));default:return(0,r.createElement)(r.Fragment,null,__("Help Center","full-site-editing"))}},b=e=>{let{isMinimized:t=!1,onMinimize:n,onMaximize:s,onDismiss:a}=e;const u=(0,i.useSelect)((e=>e(y.aM).getUnreadCount())),f=h()("help-center__container-header"),{__:__}=(0,d.QT)(),b=u>9?"9+":u,_=(0,g.useCallback)((e=>{t&&e.target===e.currentTarget&&(null==s||s())}),[t,s]);return(0,r.createElement)(o.CardHeader,{className:f},(0,r.createElement)(o.Flex,{onClick:_},(0,r.createElement)("p",{id:"header-text",className:"help-center-header__text",onClick:_,onKeyUp:_,role:"presentation"},t?(0,r.createElement)(m.rs,null,(0,r.createElement)(m.AW,{path:"/",exact:!0},__("Help Center","full-site-editing")),(0,r.createElement)(m.AW,{path:"/contact-options"},__("Contact Options","full-site-editing")),(0,r.createElement)(m.AW,{path:"/inline-chat"},__("Live Chat","full-site-editing")),(0,r.createElement)(m.AW,{path:"/contact-form",component:w}),(0,r.createElement)(m.AW,{path:"/post",component:v}),(0,r.createElement)(m.AW,{path:"/success"},__("Message Submitted","full-site-editing"))):__("Help Center","full-site-editing"),t&&u>0&&(0,r.createElement)("span",{className:"help-center-header__unread-count"},b)),(0,r.createElement)("div",null,t?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:c.Z,tooltipPosition:"top left",onClick:s,onTouchStart:s}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:l.Z,tooltipPosition:"top left",onClick:n,onTouchStart:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),tooltipPosition:"top left",icon:p.Z,onClick:a,onTouchStart:a}))))}},27420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(69307),o=n(9818),i=n(99196),s=n(29175),a=(n(96459),n(98865));const u=document.createElement("iframe");function c(e){let{src:t}=e;const{setIframe:n}=(0,o.useDispatch)(a.aM),s=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(!s.current)return;const e=s.current;let t=!1;function n(n){if(t||Array.isArray(n)||"resize"===(null==n?void 0:n.type)){const t=e.getBoundingClientRect();u.style.display="block",u.style.left=t.left+"px",u.style.top=t.top+"px",u.style.width=t.width+"px",u.style.height=t.height+"px"}}function r(){t=!0}function o(){t=!1}n([]),window.addEventListener("resize",n),window.addEventListener("mousemove",n),window.addEventListener("mouseup",o),window.addEventListener("mousedown",r);const i=new ResizeObserver(n);return i.observe(e),()=>{u.style.display="none",window.removeEventListener("resize",n),window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",o),window.removeEventListener("mousedown",r),i.unobserve(e)}}),[s]),(0,i.useEffect)((()=>{n(u),u.src!==t&&(u.src=t)}),[t,n]),(0,r.createElement)("div",{className:"help-center__persistent-iframe-container",ref:s})}document.body.appendChild(u),u.style.display="none",u.style.position="fixed",u.style.zIndex="100000";const l=()=>{const{search:e}=(0,s.TH)(),t="continued"===new URLSearchParams(e).get("session")?"continued":"new";return(0,r.createElement)(c,{src:`https://widgets.wp.com/calypso-happychat/?session=${t}`})}},62795:(e,t,n)=>{"use strict";n.d(t,{r:()=>S});var r=n(69307),o=n(36115),i=n(4112),s=n(53762),a=n(47498),u=n(94819),c=n(55609),l=n(5869),p=n(81835),d=n(22042),f=n(26176),h=n(10812),g=n(86642),m=n(95885),y=n(4792),v=n(76678),w=n(73041),b=n(20834),_=n(51519);const E=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"})),S=()=>{const{__:__}=(0,m.QT)(),[e,t]=(0,r.useState)(!1),n=(0,y.v9)(w.Z),{isBusinessOrEcomPlanUser:S,siteId:C}=(0,y.v9)((e=>{const t=(0,v.I)(e),n=t&&t.map((e=>e.productSlug)),r=(0,b.Z)(e);return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:r}})),{data:P,isLoading:I,setHasSeenWhatsNewModal:k}=(0,s.R)(C);(0,r.useEffect)((()=>{!I&&P&&t(!P.has_seen_whats_new_modal)}),[P,I]);const[T,A]=(0,r.useState)(!1),R=e=>{(0,o.jN)("calypso_help_moreresources_click",{is_business_or_ecommerce_plan_user:S,resource:e,location:"help-center",section:n})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"help-center__section-title"},__("More Resources","full-site-editing")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video",onClick:()=>R("video")},(0,r.createElement)(l.Z,{icon:p.Z,size:24}),(0,r.createElement)("span",null,__("Video Tutorials","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/webinars/"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:S,location:"help-center",section:n}),R("webinairs")},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Webinars","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:"https://wordpress.com/learn/",rel:"noreferrer",target:"_blank",className:"inline-help__desktop",onClick:()=>R("starting-guide")},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Starting Guide","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered",onClick:()=>R("support-documentation")},(0,r.createElement)(l.Z,{icon:g.Z,size:24}),(0,r.createElement)("span",null,__("Support Documentation","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>{null!=P&&P.has_seen_whats_new_modal||k(!0),A(!0),R("whats-new")},className:"inline-help__new-releases"},(0,r.createElement)(l.Z,{icon:(0,r.createElement)(_.Z,null),size:24}),(0,r.createElement)("span",null,__("What's new","full-site-editing")),e&&(0,r.createElement)(l.Z,{className:"inline-help__new-releases_dot",icon:E,size:16}))))),T&&(0,r.createElement)(u.Z,{onClose:()=>A(!1)}))}},10083:(e,t,n)=>{"use strict";n.d(t,{JJ:()=>p,Fv:()=>d});var r=n(69307),o=n(47498),i=n(30849),s=n(36218),a=n(55609),u=n(65736),c=n(5869),l=n(5614);const __=u.__;function p(e){var t;let{ownershipResult:n}=e;if(!n)return null;var i;if("OWNED_BY_USER"===n.result)return(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},(null===(i=n.site)||void 0===i?void 0:i.name)||n.siteURL);const s=(c=function(e){if(!e)return null;try{return new URL(e).host}catch{return e}}(null===(t=n.site)||void 0===t?void 0:t.URL)||n.siteURL,{NOT_OWNED_BY_USER:(0,r.createElement)("p",null,(0,u.sprintf)(__("%s is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing"),c)," "," ",(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted with our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share your question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing")),OWNED_BY_USER:"",DISABLED:"",LOADING:""});var c;return s[n.result]?(0,r.createElement)(f,null,s[n.result]):null}function d(e){let{tickets:t}=e;const n=(0,i.bU)();return t&&t.length?(0,r.createElement)(f,null,(0,r.createElement)("p",null,(0,r.createElement)("strong",null,(0,u.sprintf)(__("You submitted a request %s.","full-site-editing"),(0,s.qF)({timestamp:1e3*t[0].timestamp,locale:n,style:"long"})))," "," ",__("Rest assured that we got your message and we'll be in touch as soon as we can.","full-site-editing"))):null}function f(e){let{children:t}=e;return(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(c.Z,{icon:l.Z,className:"info-icon"})),t)}},90887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var r=n(7896),o=n(69307),i=n(56399),s=n(34923),a=n(94514),u=n(30849),c=n(47498),l=n(25158),p=n(65736),d=n(5869),f=n(58706),h=n(39739),g=n(92819),m=n(78319),y=n.n(m),v=n(13980),w=n.n(v),b=n(99196),_=n(4792),E=n(66525),S=n(93345),C=n(50118),P=n(19298),I=n(89621),k=n(16193),T=n(56733),A=n(73041),R=n(77331),O=n(15166);const __=p.__,L=()=>{};function x(e){let{message:t="",priority:n="polite",timeout:r=800}=e;return(0,g.debounce)((()=>{(0,l.speak)(t,n)}),r)}const F=x({message:"Loading search results.",timeout:1500}),U=x({message:"Search results loaded."}),N=x({message:"No search results found."});function D(e){let{externalLinks:t=!1,onSelect:n,onAdminSectionSelect:l=L,searchQuery:p="",placeholderLines:g,openAdminInNewTab:m=!1,location:v="inline-help-popover"}=e;const w=(0,_.I0)(),{hasPurchases:x,sectionName:D,adminResults:Z}=(0,_.v9)((e=>({hasPurchases:(0,k.Z)(e),sectionName:(0,A.Z)(e),adminResults:(0,I.Z)(e,p,3)}))),j=["purchases","site-purchases"].includes(D),M=(0,T.P)("site_intent"),q=(0,b.useMemo)((()=>(0,s.r_)(D,M)),[D,M]),B=(0,u.bU)(),H=q.filter(((e,t)=>e||t?()=>!0:e=>111349!==e.post_id)(x,j)),{data:V,isLoading:W}=(0,R.e)(p,B),$=V??[],z=$.length>0;(0,b.useEffect)((()=>{F.cancel(),U.cancel(),N.cancel(),p&&(W?F():z?z&&U():N())}),[W,z,p]);const G=(e,s,u)=>{const{link:g,title:_,icon:E}=e,I=t&&s!==a.QZ;return(0,o.createElement)(b.Fragment,{key:`${e.post_id??g??_}-${u}`},(0,o.createElement)("li",{className:"help-center-search-results__item"},(0,o.createElement)("div",{className:"help-center-search-results__cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,c.aq)(g),onClick:t=>{I||t.preventDefault(),((e,t,r)=>{const{link:o}=t;if(r===a.QZ&&o)return w((0,P.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:p,location:v,section:D})),void(/^http/.test(o)||(e.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):y()(o),l(e)));n(e,t)})(t,e,s)}},I&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===s?(0,o.createElement)(d.Z,{icon:f.Z}):E?(0,o.createElement)(i.Z,{icon:E}):(0,o.createElement)(d.Z,{icon:h.Z})),null),(0,o.createElement)("span",null,(0,S.R)((0,C.S)(_)))))))},Q=e=>{let{type:t,title:n,results:r,condition:i}=e;const s=`inline-search--${t}`;return i?(0,o.createElement)(b.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"help-center-search-results__title"},n):null,(0,o.createElement)("ul",{className:"help-center-search-results__list","aria-labelledby":n?s:void 0},r.map(((e,n)=>G(e,t,n))))):null},Y=__(z?"Search Results":"Helpful resources for this section","full-site-editing");return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.Z,null),(0,o.createElement)(b.Fragment,null,W&&!$.length&&(0,o.createElement)(O.Z,{lines:g}),!p||z||W?null:(0,o.createElement)("p",{className:"help-center-search-results__empty-results"},__("Sorry, there were no matches. Here are some of the most searched for help pages for this section:","full-site-editing")),(0,o.createElement)("div",{className:"help-center-search-results__results","aria-label":Y},[{type:a.EE,title:__("Recommended resources","full-site-editing"),results:$.slice(0,5),condition:!W&&$.length>0},{type:a.D_,title:p.length?"":__("Recommended resources","full-site-editing"),results:H.slice(0,6),condition:!W&&!$.length&&H.length>0},{type:a.QZ,title:__("Show me where to","full-site-editing"),results:Z,condition:!!p&&Z.length>0}].map(Q))))}D.propTypes={searchQuery:w().string,onSelect:w().func.isRequired,onAdminSectionSelect:w().func};const Z=D},817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(69307),o=n(65736),i=n(29175),s=n(71688),a=n(93345),u=n(50118),c=n(62795),l=n(90887),p=(n(6128),n(61108));const __=o.__,d=()=>{const e=(0,i.k6)(),{search:t}=(0,i.TH)(),n=new URLSearchParams(t).get("query"),[o,d]=(0,r.useState)(n||"");(0,r.useEffect)((()=>{n&&e.push("/?query="+o)}),[o,n,e]);const f=(0,r.useCallback)(((t,n)=>{t.preventDefault();const r={...n,title:(0,a.R)((0,u.S)(n.title)),query:o},i=new URLSearchParams({link:n.link,postId:n.post_id,query:o,title:(0,a.R)((0,u.S)(n.title))});n.blog_id&&i.set("blogId",n.blog_id),e.push(`/post/?${i}`,r)}),[e,o]);return(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(s.Z,{searchQuery:o,onSearch:d,location:"help-center",isVisible:!0,placeholder:__("Search for help","full-site-editing")}),o&&(0,r.createElement)(l.Z,{onSelect:f,searchQuery:o,openAdminInNewTab:!0,placeholderLines:4,location:"help-center"}),!o&&(0,r.createElement)(p.e,{message:"",supportSite:void 0}),!o&&(0,r.createElement)(c.r,null))}},61108:(e,t,n)=>{"use strict";n.d(t,{e:()=>S});var r=n(7896),o=n(69307),i=n(36115),s=n(34923),a=n(94514),u=n(14803),c=n(45655),l=n(30849),p=n(5869),d=n(39739),f=n(22042),h=n(95885),g=n(99196),m=n(4792),y=n(47933),v=n(17127),w=n(73041);function b(e){return()=>(0,i.jN)("calypso_helpcenter_page_open_sibyl_article",{location:"help-center",article_link:e.link,article_title:e.title})}const _=e=>{let{article:t,external:n,fullUrl:i,...s}=e;return n?(0,o.createElement)("a",(0,r.Z)({href:i,target:"_blank",rel:"noreferrer noopener"},s)):(0,o.createElement)(y.rU,(0,r.Z)({onClick:b(t)},s))};function E(e,t,n){if(e.post_id){const r=new URLSearchParams({postId:e.post_id,query:t,link:e.link??"",title:e.title});e.blog_id&&r.set("blogId",e.blog_id),n&&r.set("canNavigateBack",String(n));return{pathname:"/post",search:r.toString()}}}function S(e){let{message:t="",supportSite:n,title:r,articleCanNavigateBack:i=!1}=e;const{__:__}=(0,h.QT)(),y=(0,l.bU)(),b=Boolean(null==n?void 0:n.is_wpcom_atomic),S=Boolean(null==n?void 0:n.jetpack),[C]=(0,v.Z)(t||"",500),{data:P}=(0,u.v)(C,S,b),{data:I}=(0,c.B)(null==n?void 0:n.ID),k=(0,m.v9)(w.Z),T=(0,g.useMemo)((()=>(null!=P&&P.length?P:((e,t)=>(0,s.r_)(e,t).filter((e=>{const t="type"in e&&e.type||"";return![a.fI,a.Sm].includes(t)})))(k,(null==I?void 0:I.site_intent)??"")).map((e=>{const n="post_id"in e&&e.post_id;return{...e,url:n?E(e,t,i):e.link,is_external:"en"!==y||!n}}))),[P,k,null==I?void 0:I.site_intent,y,t,i]);return(0,o.createElement)("div",{className:"help-center-sibyl-articles__container"},(0,o.createElement)("h3",{id:"help-center--contextual_help",className:"help-center__section-title"},r||__("Recommended resources","full-site-editing")),(0,o.createElement)("ul",{className:"help-center-sibyl-articles__list","aria-labelledby":"help-center--contextual_help"},T.map(((e,t)=>(0,o.createElement)("li",{key:e.link+t},(0,o.createElement)(_,{to:e.url,external:e.is_external,fullUrl:e.link,article:e},(0,o.createElement)(p.Z,{icon:d.Z}),(0,o.createElement)("span",null,e.title),e.is_external&&(0,o.createElement)(p.Z,{icon:f.Z,size:20})))))))}},55213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(69307),o=n(36115),i=n(99706),s=n(89645),a=n(9818),u=n(4792),c=n(87720),l=n(20834),p=n(71645),d=n(83822),f=n(98865),h=n(30250);n(62829);const g=e=>{var t,n;let{handleClose:g,hidden:m}=e;const y=(0,r.useRef)(document.createElement("div")).current,{data:v}=(0,i.p)("CHAT"),{data:w}=(0,s.Z)(Boolean(null==v?void 0:v.is_user_eligible)),{setShowHelpCenter:b}=(0,a.useDispatch)(f.aM),{setUnreadCount:_}=(0,a.useDispatch)(f.aM),{setSite:E}=(0,a.useDispatch)(f.aM),{show:S,isMinimized:C}=(0,a.useSelect)((e=>({isMinimized:e(f.aM).getIsMinimized(),show:e(f.aM).isHelpCenterShown()}))),{unreadCount:P,closeChat:I}=(0,p.g)(C||!S);(0,r.useEffect)((()=>{_(P)}),[P,_]),(0,r.useEffect)((()=>{"assigned"===(null==w?void 0:w.status)&&b(!0)}),[w,b]);const k=(0,u.v9)((e=>(0,l.Z)(e))),T=(0,u.v9)((e=>(0,c.Z)(e)));(0,a.useSelect)((e=>e(f.Em).getCurrentUser()));const A=null===(t=window)||void 0===t||null===(n=t.helpCenterData)||void 0===n?void 0:n.currentSite,R=(0,a.useSelect)((e=>e(f.j4).getSite(k||T)));return E(A||R),(0,i.p)("CHAT"),(0,d.A)(),(0,r.useEffect)((()=>{y.classList.add("help-center"),y.setAttribute("aria-modal","true"),y.setAttribute("aria-labelledby","header-text"),document.body.appendChild(y);const e=Date.now();return()=>{(0,o.jN)("calypso_helpcenter_activity_time",{elapsed:(Date.now()-e)/1e3}),document.body.removeChild(y),I(),g()}}),[y]),(0,r.createPortal)((0,r.createElement)(h.Z,{handleClose:g,hidden:m}),y)}},92421:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(69307),o=n(9818),i=n(99196),s=n(98865);const a=(0,i.forwardRef)(((e,t)=>{let{newItems:n}=e;const{unreadCount:i}=(0,o.useSelect)((e=>({unreadCount:e(s.aM).getUnreadCount(),hasSeenPromotion:e(s.aM).getHasSeenPromotionalPopover(),doneLoading:e("core/data").hasFinishedResolution(s.aM,"getHasSeenPromotionalPopover",[])})),[]);return(0,r.createElement)(r.Fragment,null,n||i>0?(0,r.createElement)("svg",{ref:t,width:"24",height:"24",viewBox:"0 -2 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0ZM11 16H9V14H11V16ZM11 11.859V13H9V11C9 10.448 9.448 10 10 10C11.103 10 12 9.103 12 8C12 6.897 11.103 6 10 6C8.897 6 8 6.897 8 8H6C6 5.791 7.791 4 10 4C12.209 4 14 5.791 14 8C14 9.862 12.722 11.413 11 11.859Z"}),(0,r.createElement)("circle",{cx:"20",cy:"4",r:"5",fill:"var( --color-masterbar-unread-dot-background )",stroke:"#101517",strokeWidth:"2"})):(0,r.createElement)("svg",{ref:t,width:"24",height:"24",viewBox:"0 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0ZM11 16H9V14H11V16ZM11 11.859V13H9V11C9 10.448 9.448 10 10 10C11.103 10 12 9.103 12 8C12 6.897 11.103 6 10 6C8.897 6 8 6.897 8 8H6C6 5.791 7.791 4 10 4C12.209 4 14 5.791 14 8C14 9.862 12.722 11.413 11 11.859Z"})))}))},1717:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(9818),o=n(99196),i=n(29175),s=n(98865);function a(){const e=(0,i.k6)(),{setRouterState:t}=(0,r.useDispatch)(s.aM);return(0,o.useEffect)((()=>{t(e.entries,e.index)}),[e,t]),null}},15166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);n(25827);function o(e){let{lines:t=4}=e;return(0,r.createElement)("div",{className:"placeholder-lines__help-center"},Array.from({length:t},((e,t)=>(0,r.createElement)("div",{key:t,className:"placeholder-lines__help-center-item"}))))}},55075:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(69307),o=n(36115),i=n(37499),s=n(43239),a=n(9818),u=n(95885),c=n(10975),l=n(99196),p=n(98865);const d=e=>{let{iconElement:t}=e;const{hasSeenPromotion:n,doneLoading:d}=(0,a.useSelect)((e=>({hasSeenPromotion:e(p.aM).getHasSeenPromotionalPopover(),doneLoading:e("core/data").hasFinishedResolution(p.aM,"getHasSeenPromotionalPopover",[])})),[]),{setHasSeenPromotionalPopover:f}=(0,a.useDispatch)(p.aM),[h,g]=(0,l.useState)(!1),{__:__,hasTranslation:m}=(0,u.QT)(),{localeSlug:y}=(0,c.Z)(),v=e=>{(0,o.jN)("calypso_helpcenter_promotion_popover_dismissed",{location:e})};if(!t)return null;const w=t.getBoundingClientRect();if(document.elementFromPoint(w.left,w.top)!==t)return null;return["en","en-gb"].includes(y||"")||m("✨ Our new Help Center","full-site-editing")&&m("We moved our help resources! You can always find it in the top bar.","full-site-editing")&&m("Got it","full-site-editing")?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{className:"help-center__promotion-popover",isVisible:d&&!n&&!h,context:t,onClose:()=>{v("clicking-outside"),f(!0),g(!0)},position:"bottom left",showDelay:500},(0,r.createElement)("div",{className:"help-center__promotion-popover-inner",style:{pointerEvents:"none"}},(0,r.createElement)("h1",null,__("✨ Our new Help Center","full-site-editing")),(0,r.createElement)("p",null,__("We moved our help resources! You can always find it in the top bar.","full-site-editing")),(0,r.createElement)("div",{className:"help-center__promotion-popover-actions"},(0,r.createElement)(s.Z,{style:{pointerEvents:"all"},onClick:()=>{v("clicking-button"),f(!0),g(!0)}},__("Got it","full-site-editing")))))):null}},69309:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F",strokeWidth:"1.68",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))},94509:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(69307),o=n(36115),i=n(95885),s=(n(99196),n(4792)),a=n(29175),u=n(73041),c=n(40495),l=n(69309);const p=()=>{const{__:__}=(0,i.QT)(),{search:e}=(0,a.TH)(),t=(0,s.v9)(u.Z),n=new URLSearchParams(e).get("forumTopic");return(0,r.createElement)("div",null,(0,r.createElement)(c.x,{backToRoot:!0}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(l.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,o.jN)("calypso_inlinehelp_forums_open",{location:"help-center",section:t}),href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},24478:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(69307),o=n(99196);const i=o.createContext(void 0),s=function(e){let t,{children:n}=e;return t="undefined"==typeof helpCenterFeatureFlags?void 0:helpCenterFeatureFlags,(0,r.createElement)(i.Provider,{value:t},n)}},71645:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(61082),o=n(9818),i=n(69307),s=n(82066),a=n(98865);function u(e){const{supportSite:t,subject:n,message:u,iframe:c}=(0,o.useSelect)((e=>({supportSite:e(a.aM).getSite(),subject:e(a.aM).getSubject(),message:e(a.aM).getMessage(),iframe:e(a.aM).getIframe()}))),l=(0,s.useQueryClient)(),[p,d]=(0,i.useState)(0),[f,h]=(0,i.useState)(""),g=null==c?void 0:c.contentWindow;function m(e){null==g||g.postMessage(e,"*")}const{resetStore:y}=(0,o.useDispatch)(a.aM);(0,r.ZP)(),(0,i.useEffect)((()=>{m(e?{type:"window-state-change",state:"minimized"}:{type:"window-state-change",state:"maximized"})}),[g,e]);return(0,i.useEffect)((()=>{const e=o=>{if("https://widgets.wp.com"===o.origin){const{data:a}=o;switch(a.type){case"calypso-happy-chat-unread-messages":d(a.state);break;case"window-state-change":h(a.state),"ended"===a.state&&(h(""),d(0),window.removeEventListener("message",e),y());break;case"happy-chat-introduction-data":var i,s;if(u)null===(i=o.source)||void 0===i||i.postMessage({type:"happy-chat-introduction-data",siteId:null==t?void 0:t.ID.toString(),subject:n,message:u,planSlug:null==t||null===(s=t.plan)||void 0===s?void 0:s.product_slug,siteUrl:null==t?void 0:t.URL},{targetOrigin:o.origin});y();break;case"happy-chat-authentication-data":l.fetchQuery(r._y).then((e=>{var t;null===(t=o.source)||void 0===t||t.postMessage({type:"happy-chat-authentication-data",authData:e},{targetOrigin:o.origin})}))}}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[l,t,n,u,y]),{unreadCount:p,chatStatus:f,closeChat:()=>{h(""),d(0),m({type:"window-state-change",state:"closed"})}}}},77331:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,i.useQueryClient)();return(0,i.useQuery)(["help",e],(()=>(0,s.aO)()?(0,s.ZP)({path:`help/search/wpcom?query=${e}&locale=${t}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/help-center/search?query=${e}&locale=${t}`})),{onSuccess:async t=>{var n;if(null===(n=t[0])||void 0===n||!n.content){const n=await Promise.all(t.map((async e=>{const t=(0,s.aO)()?await(0,s.ZP)({path:`help/article/${e.blog_id}/${e.post_id}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:`/help-center/fetch-post?blog_id=${e.blog_id}&post_id=${e.post_id}`});return{...e,content:t.content}})));r.setQueryData(["help",e],n)}},refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:!!e,...n})}},97878:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(99706),o=n(89645);function i(){const{data:e}=(0,r.p)("CHAT"),{data:t,isLoading:n}=(0,o.Z)(Boolean(null==e?void 0:e.is_user_eligible),6e4);return null!=e&&e.is_user_eligible?null!=e&&e.is_chat_closed?{render:!0,state:"CLOSED",isLoading:n,eligible:!0,env:null==t?void 0:t.env}:null!=t&&t.available?{render:!0,state:"AVAILABLE",isLoading:n,eligible:!0,env:t.env}:{render:!0,state:"UNAVAILABLE",isLoading:n,eligible:!0,env:null==t?void 0:t.env}:{render:!1,isLoading:n,state:null!=e&&e.is_chat_closed?"CLOSED":"UNAVAILABLE",eligible:!1,env:null==t?void 0:t.env}}},82513:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(99706);function o(){const{data:e,isFetching:t}=(0,r.p)("OTHER");return{isLoading:t,render:((null==e?void 0:e.is_user_eligible_for_tickets)||(null==e?void 0:e.is_user_eligible_for_upwork))??!1}}},83822:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(99706);function o(){const{data:e,isLoading:t}=(0,r.p)("OTHER");return!(null!=e&&e.is_user_eligible_for_tickets)?{url:"/contact-form?mode=FORUM",isLoading:t}:{url:"/contact-options",isLoading:t}}},67605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff",strokeWidth:"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent",strokeWidth:"1.5"}))},51519:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24",width:"24"},(0,r.createElement)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)("path",{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"}))},98865:(e,t,n)=>{"use strict";n.d(t,{aM:()=>s,Em:()=>a,j4:()=>u});var r=n(17624),o=n(88330),i=n(52369);const s=r.z(),a=o.z({client_id:"",client_secret:""}),u=i.z2({client_id:"",client_secret:""})},44241:(e,t,n)=>{"use strict";n.d(t,{yQ:()=>r});const r=e=>{switch(e){case"CHAT":return"SUPPORT_HAPPYCHAT";case"EMAIL":return"SUPPORT_TICKET";case"FORUM":return"SUPPORT_FORUM";case"UPWORK":return"SUPPORT_UPWORK_TICKET"}}},8057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(99196),o=n(94724);const i=(0,r.createContext)(o.Z)},94724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=new(n(50914).Z)},50914:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I});var r=n(22699),o=n(32594),i=n(96668),s=n(38049),a=n.n(s),u=n(35079),c=n.n(u),l=n(7839),p=n.n(l),d=n(49830),f=n(10003);const h=a()("i18n-calypso"),g="number_format_decimals",m="number_format_thousands_sep",y="messages",v=[function(e){return e}],w={};function b(){P.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function E(e){const t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&b("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&b("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));let n={};for(let r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function S(e,t){return e.dcnpgettext(y,t.context,t.original,t.plural,t.count)}function C(e,t){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return S(e.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=e=>1===e?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:p()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,o)},P.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},P.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){const t=e[""]["key-hash"],n=function(e,t){const n=!1===t?"":String(t);if(void 0!==w[n+e])return w[n+e];const r=c()().update(e).digest("hex");return w[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)v.push(r(!1));else{const e=t.substr(5).indexOf("-");if(e<0){const e=Number(t.substr(5));v.push(r(e))}else{const n=Number(t.substr(5,e)),o=Number(t.substr(6+e));for(let e=n;e<=o;e++)v.push(r(e))}}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.localeVariant=this.state.locale[""].localeVariant,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new d.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([g])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([m])),this.state.numberFormatSettings.decimal_point===g&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===m&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(e){for(const t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!C(this,E(arguments))},P.prototype.translate=function(){const e=E(arguments);let t=C(this,e);if(t||(t=S(this.state.tannin,e)),e.args){const r=Array.isArray(e.args)?e.args.slice(0):[e.args];r.unshift(t);try{t=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const e=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[e](n):window.console[e]("i18n sprintf error:",r)}}return e.components&&(t=(0,o.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},P.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};const I=P},11481:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o,Iu:()=>i,Yj:()=>s});var r=n(94724);const o=r.Z,i=(r.Z.numberFormat.bind(r.Z),r.Z.translate.bind(r.Z)),s=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:(e,t,n)=>{"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,a=void 0===n?".":n;let u="";return u=(i?
|
44 |
/*
|
45 |
* Exposes number format capability
|
46 |
*
|
40 |
*
|
41 |
* This source code is licensed under the MIT license found in the
|
42 |
* LICENSE file in the root directory of this source tree.
|
43 |
+
*/function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case p:case i:case a:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case u:return e;default:return t}}case o:return t}}}function E(e){return _(e)===p}},14971:(e,t,n)=>{"use strict";n(86141)},29175:(e,t,n)=>{"use strict";n.d(t,{VA:()=>v,l_:()=>S,AW:()=>k,F0:()=>y,rs:()=>x,s6:()=>m,LX:()=>I,k6:()=>U,TH:()=>N});var r=n(81665),o=n(99196),i=n.n(o),s=n(95878),a=n(81549),u=n(61898),c=n(7896),l=n(20099),p=n.n(l),d=(n(14971),n(31461)),f=(n(73463),function(e){var t=(0,a.Z)();return t.displayName=e,t}),h=f("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t},m=g("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i().createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(y,{history:this.history,children:this.props.children})},t}(i().Component);var w=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i().Component);var b={},_=0;function E(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(b[e])return b[e];var t=p().compile(e);return _<1e4&&(b[e]=t,_++),t}(e)(t,{pretty:!0})}function S(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i().createElement(m.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=e.history,a=e.staticContext,l=o?r.push:r.replace,p=(0,s.ob)(t?"string"==typeof n?E(n,t.params):(0,c.Z)({},n,{pathname:E(n.pathname,t.params)}):n);return a?(l(p),null):i().createElement(w,{onMount:function(){l(p)},onUpdate:function(e,t){var n=(0,s.ob)(t.to);(0,s.Hp)(n,(0,c.Z)({},p,{key:n.key}))||l(p)},to:n})}))}var C={},P=0;function I(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,s=n.strict,a=void 0!==s&&s,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=C[n]||(C[n]={});if(r[e])return r[e];var o=[],i={regexp:p()(e,o,t),keys:o};return P<1e4&&(r[e]=i,P++),i}(n,{end:i,strict:a,sensitive:c}),o=r.regexp,s=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],d=u.slice(1),f=e===l;return i&&!f?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:f,params:s.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?I(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),s=e.props,a=s.children,l=s.component,p=s.render;return Array.isArray(a)&&0===a.length&&(a=null),i().createElement(m.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:l?i().createElement(l,o):p?p(o):null:"function"==typeof a?a(o):null)}))},t}(i().Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function A(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function R(e){return"string"==typeof e?e:(0,s.Ep)(e)}function O(e){return function(){(0,u.Z)(!1)}}function L(){}i().Component;var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?I(o.pathname,(0,c.Z)({},e.props,{path:s})):t.match}})),r?i().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i().Component);var F=i().useContext;function U(){return F(h)}function N(){return F(m).location}},43292:(e,t,n)=>{"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.d(t,{Z:()=>i});var o=r();o.withExtraArgument=r;const i=o},18717:(e,t,n)=>{"use strict";n.d(t,{md:()=>d,UY:()=>l,qC:()=>p,MT:()=>c});var r=n(33028);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,l=t,p=[],d=p,f=!1;function h(){d===p&&(d=p.slice())}function g(){if(f)throw new Error(o(3));return l}function m(e){if("function"!=typeof e)throw new Error(o(4));if(f)throw new Error(o(5));var t=!0;return h(),d.push(e),function(){if(t){if(f)throw new Error(o(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),p=null}}}function y(e){if(!u(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(f)throw new Error(o(9));try{f=!0,l=s(l,e)}finally{f=!1}for(var t=p=d,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(o(10));s=e,y({type:a.REPLACE})}function w(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return y({type:a.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[i]=w,r}function l(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var s,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],p=e[c],d=l(p,t);if(void 0===d){t&&t.type;throw new Error(o(14))}i[c]=d,r=r||d!==p}return(r=r||u.length!==Object.keys(e).length)?i:e}}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},a=t.map((function(e){return e(s)}));return i=p.apply(void 0,a)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},57613:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{Z:()=>i});const i=function(e,t){void 0===t&&(t="");var n,i=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&r(e),u=t&&r(t),c=a||u;if(e&&r(e)?s=i:i.length&&(s.pop(),s=s.concat(i)),!s.length)return"/";if(s.length){var l=s[s.length-1];n="."===l||".."===l||""===l}else n=!1;for(var p=0,d=s.length;d>=0;d--){var f=s[d];"."===f?o(s,d):".."===f?(o(s,d),p++):p&&(o(s,d),p--)}if(!c)for(;p--;p)s.unshift("..");!c||""===s[0]||s[0]&&r(s[0])||s.unshift("");var h=s.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}},10547:e=>{"use strict";var t=256,n=[],r=window,o=Math.pow(t,6),i=Math.pow(2,52),s=2*i,a=255,u=Math.random;function c(e){var n,r=e.length,o=this,i=0,s=o.i=o.j=0,u=o.S=[];for(r||(e=[r++]);i<t;)u[i]=i++;for(i=0;i<t;i++)u[i]=u[s=a&s+e[i%r]+(n=u[i])],u[s]=n;(o.g=function(e){for(var n,r=0,i=o.i,s=o.j,u=o.S;e--;)n=u[i=a&i+1],r=r*t+u[a&(u[i]=u[s=a&s+n])+(u[s]=n)];return o.i=i,o.j=s,r})(t)}function l(e,t){var n,r=[],o=(typeof e)[0];if(t&&"o"==o)for(n in e)try{r.push(l(e[n],t-1))}catch(i){}return r.length?r:"s"==o?e:e+"\0"}function p(e,t){for(var n,r=e+"",o=0;o<r.length;)t[a&o]=a&(n^=19*t[a&o])+r.charCodeAt(o++);return f(t)}function d(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),f(e)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,f(n)]}}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(r,a),a.global=!0,Math.random;var u=a&&a.entropy||!1,h=[],g=(p(l(u?[r,f(n)]:0 in arguments?r:d(),3),h),new c(h));return p(f(g.S),n),function(){for(var e=g.g(6),n=o,r=0;e<i;)e=(e+r)*t,n*=t,r=g.g(1);for(;e>=s;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=u},p(Math.random(),n)},74294:(e,t,n)=>{"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),a=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),l(e,r,o)):u?(t||(t=new u),f(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},17768:(e,t,n)=>{var r=n(58749),o=n(87170),i=n(39431),s=n(31035)("socket.io-client");e.exports=t=u;var a=t.managers={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),u=o.source,c=o.id,l=o.path,p=a[c]&&l in a[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||p?(s("ignoring socket cache for %s",u),n=i(u,t)):(a[c]||(s("new io instance for %s",u),a[c]=i(u,t)),n=a[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=u,t.Manager=n(39431),t.Socket=n(72243)},39431:(e,t,n)=>{var r=n(44065),o=n(72243),i=n(8023),s=n(87170),a=n(93073),u=n(42150),c=n(31035)("socket.io-client:manager"),l=n(92543),p=n(87911),d=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new p({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)d.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)d.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},f.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=a(n,"open",(function(){o.onopen(),e&&e()})),s=a(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;c("connect attempt will timeout after %d",u);var l=setTimeout((function(){c("connect attempt timed out after %d",u),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(s),this},f.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",u(this,"ondata"))),this.subs.push(a(e,"ping",u(this,"onping"))),this.subs.push(a(e,"pong",u(this,"onpong"))),this.subs.push(a(e,"error",u(this,"onerror"))),this.subs.push(a(e,"close",u(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",u(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=l(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},93073:e=>{e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},72243:(e,t,n)=>{var r=n(87170),o=n(8023),i=n(81396),s=n(93073),a=n(42150),u=n(31035)("socket.io-client:socket"),c=n(54355),l=n(54632);e.exports=f;var p={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},d=o.prototype.emit;function f(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[s(e,"open",a(this,"onopen")),s(e,"packet",a(this,"onpacket")),s(e,"close",a(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},f.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(p.hasOwnProperty(e))return d.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(u("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){if(u("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;u("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},f.prototype.onclose=function(e){u("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var t=e.data||[];u("emitting event %j",t),null!=e.id&&(u("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?d.apply(this,t):this.receiveBuffer.push(t)},f.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);u("sending ack %j",o),t.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},f.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(u("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):u("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)d.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){u("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(u("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags.compress=e,this},f.prototype.binary=function(e){return this.flags.binary=e,this}},58749:(e,t,n)=>{var r=n(14243),o=n(31035)("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},8023:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},54146:(e,t,n)=>{var r=n(81708),o=n(24787),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function u(e,t){if(!e)return e;if(o(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(r(e)){for(var i=new Array(e.length),s=0;s<e.length;s++)i[s]=u(e[s],t);return i}if("object"==typeof e&&!(e instanceof Date)){i={};for(var a in e)i[a]=u(e[a],t);return i}return e}function c(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(r(e))for(var n=0;n<e.length;n++)e[n]=c(e[n],t);else if("object"==typeof e)for(var o in e)e[o]=c(e[o],t);return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=u(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=c(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(u,c,l){if(!u)return u;if(s&&u instanceof Blob||a&&u instanceof File){n++;var p=new FileReader;p.onload=function(){l?l[c]=this.result:i=this.result,--n||t(i)},p.readAsArrayBuffer(u)}else if(r(u))for(var d=0;d<u.length;d++)e(u[d],d,u);else if("object"==typeof u&&!o(u))for(var f in u)e(u[f],f,u)}(i),n||t(i)}},87170:(e,t,n)=>{var r=n(40744)("socket.io-parser"),o=n(2679),i=n(54146),s=n(81708),a=n(24787);function u(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=u,t.Decoder=p;var c=t.ERROR+'"encode error"';function l(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",e,n),n}function p(){this.reconstructor=null}function d(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:t.ERROR,data:"parser error: "+e}}u.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(e,t){function n(e){var n=i.deconstructPacket(e),r=l(n.packet),o=n.buffers;o.unshift(r),t(o)}i.removeBlobs(e,n)}(e,n):n([l(e)])},o(p.prototype),p.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return f("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i="";"-"!==e.charAt(++n)&&(i+=e.charAt(n),n!=e.length););if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===e.charAt(n+1))for(o.nsp="";++n;){if(","===(u=e.charAt(n)))break;if(o.nsp+=u,n===e.length)break}else o.nsp="/";var a=e.charAt(n+1);if(""!==a&&Number(a)==a){for(o.id="";++n;){var u;if(null==(u=e.charAt(n))||Number(u)!=u){--n;break}if(o.id+=e.charAt(n),n===e.length)break}o.id=Number(o.id)}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!(!1!==c&&(o.type===t.ERROR||s(c))))return f("invalid payload");o.data=c}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new d(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},p.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},d.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},d.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},24787:e=>{e.exports=function(e){return t&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var t="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer},2679:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},81708:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},73160:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;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,a){a=a||{};var u,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===c&&!1===isNaN(e))return a.long?s(u=e,o,"day")||s(u,r,"hour")||s(u,n,"minute")||s(u,t,"second")||u+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},23729:(e,t,n)=>{var r=n(98595),o=n(88120),i=[n(30225)];e.exports=r.createStore(o,i)},30225:(e,t,n)=>{e.exports=function(){return n(35414),{}}},35414:()=>{"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,o,i,s,a=gap,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),"function"==typeof rep&&(u=rep.call(t,e,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,n=0;n<i;n+=1)s[n]=str(n,u)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],u))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:(e,t,n)=>{var r=n(49511),o=r.slice,i=r.pluck,s=r.each,a=r.bind,u=r.create,c=r.isList,l=r.isFunction,p=r.isObject;e.exports={createStore:f};var d={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function f(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",f=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var a=[i].concat(t);return e.apply(r,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))s(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!p(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){(e.warn?e.warn:e.log).apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},g=u(h,d,{plugins:[]});return g.raw={},s(g,(function(e,t){l(e)&&(g.raw[t]=a(g,e))})),s(e,(function(e){g._addStorage(e)})),s(t,(function(e){g._addPlugin(e)})),g}},49511:e=>{var t=Object.assign?Object.assign:function(e,t,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,n){e[n]=t}));return e},n=function(){if(Object.create)return function(e,n,r,o){var s=i(arguments,1);return t.apply(this,[Object.create(e)].concat(s))};{function e(){}return function(n,r,o,s){var a=i(arguments,1);return e.prototype=n,t.apply(this,[new e].concat(a))}}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){a(e,(function(e,n){return t(e,n),!1}))}function a(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:t,create:n,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(e,t){var n=u(e)?[]:{};return a(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:a,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}},88120:(e,t,n)=>{e.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:(e,t,n)=>{var r=n(49511),o=r.Global,i=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;s.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:a,remove:u,clearAll:function(){a((function(e,t){u(t)}))}};var s=o.document;function a(e){for(var t=s.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function u(e){e&&c(e)&&(s.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:(e,t,n)=>{var r=n(49511).Global;function o(){return r.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},71884:e=>{e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,n){t[e]=n},each:function(e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},50026:(e,t,n)=>{var r=n(49511).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=r.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}},70240:(e,t,n)=>{var r=n(49511).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);s((function(e){e.setAttribute(n,t),e.save(o)}))},read:function(e){if(a)return;var t=c(e),n=null;return s((function(e){n=e.getAttribute(t)})),n},each:function(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);s((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(r){n=i.createElement("div"),e=i.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(u,"___")}},90109:(e,t,n)=>{var r=n(49511).Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},49830:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},o)this.options[n]=void 0!==t&&n in t?t[n]:o[n]}i.prototype.getPluralForm=function(e,t){var n,o,i,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=(0,r.Z)(o)),s=this.pluralForms[e]=i),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,o){var i,s,a;return i=void 0===o?0:this.getPluralForm(e,o),s=n,t&&(s=t+this.options.contextDelimiter+n),(a=this.data[e][s])&&a[i]?a[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)}},77879:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=new(n(82066).QueryClient)},44966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var r,o,i=n(69307),s=(n(88691),n(11481)),a=n(4792),u=n(18717),c=n(43292),l=n(38606),p=n(70858),d=n(21058),f=n(59852),h=n(29726),g=n(15223),m=n(6255),y=n(91668),v=n(18724),w=n(76693),b=n(9044),_=n(82139),E=n(71799),S=n(9817),C=n(95884),P=n(90924);const I=(0,C.U)({currentUser:v.ZP,sites:_.ZP}),k=(0,u.MT)(I,(0,u.qC)(m.Z,P.f,(0,u.md)(c.Z,g.Z,w.Z)));(0,b.P)(k);const T=null!==(r=window)&&void 0!==r&&null!==(o=r.helpCenterAdminBar)&&void 0!==o&&o.isLoaded?"wp-admin":"gutenberg-editor",A=window.helpCenterData.currentSite;function R(e){let{children:t}=e;return(0,i.createElement)(a.zt,{store:k},(0,i.createElement)(i.Fragment,null,(0,i.createElement)(l.Z,{siteId:A.ID}),t))}A&&k.dispatch((0,E.B)(A.ID)),k.dispatch((0,S.z)({name:T})),s.ZP.configure({defaultLocaleSlug:window.helpCenterLocale}),(0,f.G)().then(h.v).then((e=>{e&&k.dispatch((0,y.lx)(e)),(0,p.M)(e||void 0,(0,d.Z)(k))}))},15692:(e,t,n)=>{"use strict";var r,o,i=n(69307),s=n(36115),a=n(55213),u=n(9818),c=n(91850),l=n(82066),p=n(77879),d=n(44966);null!==(r=window)&&void 0!==r&&null!==(o=r.helpCenterAdminBar)&&void 0!==o&&o.isLoaded&&c.render((0,i.createElement)(l.QueryClientProvider,{client:p.c},(0,i.createElement)(d.Z,null,(0,i.createElement)((function(){const{setShowHelpCenter:e}=(0,u.useDispatch)("automattic/help-center"),t=(0,u.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),n=document.getElementById("wp-admin-bar-help-center");return(0,i.useEffect)((()=>{t?n.classList.add("active"):n.classList.remove("active")}),[t,n]),n.onclick=()=>{(0,s.jN)("calypso_inlinehelp_"+(t?"close":"show"),{forceSiteId:!0,location:"help-center",section:"wp-admin"}),e(!t)},(0,i.createElement)(a.Z,{handleClose:()=>e(!1)})}),null))),document.getElementById("help-center-masterbar"))},36707:()=>{window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en","en-gb"],upwork_support_locales:["de","de-at","de-li","de-lu","de-ch","es","es-cl","es-mx","fr","fr-ca","fr-be","fr-ch","it","it-ch","ja","nl","nl-be","nl-nl","pt","pt-pt","pt-br","sv","sv-fi","sv-se"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",is_running_in_jetpack_site:!1,gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786},window.process={env:{NODE_DEBUG:"dev"}}},99477:(e,t,n)=>{"use strict";var r=n(69307),o=n(36115),i=n(53762),s=n(92421),a=n(55075),u=n(55213),c=n(30849),l=n(55609),p=n(94333),d=n(9818),f=n(85192),h=n(98817),g=n(72779),m=n.n(g),y=n(82066),v=n(4792),w=n(73041),b=n(77879),_=n(44966);function E(){const[e,t]=(0,r.useState)(),n=(0,p.useMediaQuery)("(min-width: 480px)"),c=(0,v.v9)(w.Z),h=(0,d.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),[g,y]=(0,r.useState)(!1),{setShowHelpCenter:b}=(0,d.useDispatch)("automattic/help-center"),[_,E]=(0,r.useState)(!1),{data:S,isLoading:C}=(0,i.R)(window._currentSiteId);(0,r.useEffect)((()=>{!C&&S&&E(!S.has_seen_whats_new_modal)}),[S,C]);(0,r.useEffect)((()=>{const e=setTimeout((()=>y(!0)),0);return()=>clearTimeout(e)}),[]);const P=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Button,{className:m()("entry-point-button","help-center",{"is-active":h}),onClick:()=>{(0,o.jN)("calypso_inlinehelp_"+(h?"close":"show"),{forceSiteId:!0,location:"help-center",section:c}),b(!h)},icon:(0,r.createElement)(s.Z,{ref:n=>{n!==e&&t(n)},newItems:_}),label:"Help","aria-pressed":!!h,"aria-expanded":!!h}),(0,r.createElement)(a.Z,{iconElement:e}));return(0,r.createElement)(r.Fragment,null,n&&g&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(f.Ox,{scope:"core/edit-post"},P),(0,r.createElement)(f.Ox,{scope:"core/edit-site"},P),(0,r.createElement)(f.Ox,{scope:"core/edit-widgets"},P)),(0,r.createElement)(u.Z,{handleClose:()=>b(!1)}))}(0,h.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(y.QueryClientProvider,{client:b.c},(0,r.createElement)(_.Z,null,(0,r.createElement)(c.Iw,{localeSlug:window.helpCenterLocale},(0,r.createElement)(E,null))))})},67459:(e,t,n)=>{"use strict";n.d(t,{p:()=>l,x:()=>p});var r=n(85694),o=n(83685),i=n(96598),s=n(26991),a=n(26347),u=n(64802),c=n(20336);const l=(0,o.P1)(((e,t)=>{const n=(0,u.Z)(e,t);return(0,r._)(n,{root:(0,c.Z)(e,t),homepage:(0,c.Z)(e,t,"homepage"),identity:(0,c.Z)(e,t,"identity"),menus:(0,c.Z)(e,t,"menus")},(0,i.H)(),(0,a.Nf)())}),((e,t)=>[(0,u.Z)(e,t)]));function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!e.length)return[];const r=e.split(/[\W_]+/g).filter(Boolean).map((e=>e.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((e,t)=>t+1===r.length?`(?=.*\\b${e})`:`(?=.*\\b${e}\\b)`)).join("")+".+","gi"),i=[],a=[],u=[];return t.forEach((t=>{var n;t.title.toLowerCase()===e.toLowerCase()?i.push(t):o.test(t.title)?a.push(t):"en"===(0,s.Y)()&&null!==(n=t.synonyms)&&void 0!==n&&n.some((e=>r.includes(e)))&&u.push(t)})),[...i,...a,...u].slice(0,n)}},91040:(e,t,n)=>{"use strict";n.d(t,{Di:()=>r});const r=9619154},71688:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(69307),o=n(36115),i=n(38049),s=n.n(i),a=n(10975),u=n(13980),c=n.n(u),l=n(99196),p=n(4792),d=n(57925),f=n(73041);const h=s()("calypso:inline-help"),g=e=>{let{searchQuery:t="",location:n="inline-help-popover",isVisible:i=!0,placeholder:s,onSearch:u}=e;const c=(0,l.useRef)(),g=(0,a.Z)(),m=(0,p.v9)(f.Z);(0,l.useEffect)((()=>{var e;const t=null===(e=c.current)||void 0===e?void 0:e.searchInput;if("inline-help-popover"!==n||!t||!i)return;const r=setTimeout((()=>t.focus()),0);return()=>window.clearTimeout(r)}),[c,n,i]);return(0,r.createElement)(d.Z,{ref:c,initialValue:t,onSearch:e=>{const t=e.trim();"help-center"===n?(null==t?void 0:t.length)>2&&(0,o.jN)("calypso_inlinehelp_search",{search_query:e,location:n,section:m}):null!=t&&t.length&&(h("search query received: ",e),(0,o.jN)("calypso_inlinehelp_search",{search_query:e,location:n,section:m})),null==u||u(e)},placeholder:s||g("Search for help…"),delaySearch:!0})};g.propTypes={searchQuery:c().string,onSearch:c().func,placeholder:c().string,location:c().string};const m=g},85774:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const a=e=>{let{post:t,isLoading:n}=e;return n||!t?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:t.URL,target:"_blank",icon:!1},t.title)))};a.propTypes={post:i().object,isLoading:i().bool};const u=a},56077:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(77327),c=n(93125),l=n(6712);class p extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:e,postKey:t,isHelpCenter:n}=this.props;!(0,u.J0)(t)||e&&"minimal"!==e._state||this.props.fetchPost(t,n)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(p,"propTypes",{postKey:i().object.isRequired,isHelpCenter:i().bool});const d=(0,a.$j)(((e,t)=>({post:(0,l.UK)(e,t.postKey),isHelpCenter:t.isHelpCenter})),{fetchPost:c.SD})(p)},9232:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),a=n(63262),u=n(58311);function c(e){let{siteId:t}=e;const n=(0,s.I0)(),r=(0,s.v9)((e=>(0,u._g)(e,t)));return(0,i.useEffect)((()=>{t&&r&&n((0,a.LV)(t))}),[n,t,r]),null}c.propTypes={siteId:o().number};const l=c},38606:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(85300),c=n(87720),l=n(40540),p=n(52239),d=n(58863),f=n(79791);const h=e=>(0,u.Oz)(e,"recentSites");function g(){const e=(0,a.I0)();return(0,s.useEffect)((()=>{e(((e,t)=>{(0,p.Z)(t())||e((0,l.BU)())}))}),[e]),null}const m=e=>(t,n)=>{e&&!(0,d.Z)(n(),e)&&t((0,l.LV)(e))};function y(e){let{siteId:t}=e;const n=(0,a.I0)();return(0,s.useEffect)((()=>{t&&n(m(t))}),[n,t]),null}function v(){const e=(0,a.v9)(c.Z),t=(0,a.v9)(h),n=(0,a.I0)();return(0,s.useEffect)((()=>{const r=[...e?[e]:[],...t??[]];r.length&&n((e=>(t,n)=>{const r=n();(0,f.Z)(r)||e.forEach((e=>t(m(e))))})(r))}),[n,e,t]),null}function w(e){let{siteId:t,allSites:n=!1,primaryAndRecent:o=!1}=e;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(g,null),t&&(0,r.createElement)(y,{siteId:t}),o&&(0,r.createElement)(v,null))}w.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(99196),o=n(4792),i=n(36747),s=n(86169),a=n(12726);const u=(e,t)=>{const n=t(),r=(0,i.rc)(n),o=(0,a.Mo)(n),u=(0,a.iJ)(n);!r||o||u||e((0,s.Y9)(r))};const c=function(){const e=(0,o.I0)();return(0,r.useEffect)((()=>{e(u)})),null}},22169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),a=n(99196),u=n(91850),c=n.n(u),l=n(16771);const p=()=>{},d=i()("calypso:components:embed-container"),f={'blockquote[class^="instagram-"]':function e(t){if(d("processing instagram for",t),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}w("https://platform.instagram.com/en_US/embeds.js",e.bind(null,t))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function e(t){if(d("processing twitter for",t),"undefined"!=typeof twttr){try{window.twttr.widgets.load(t)}catch(n){}return}w("https://platform.twitter.com/widgets.js",e.bind(null,t))},"fb\\:post, [class^=fb-]":function(e){if(d("processing facebook for",e),"undefined"!=typeof fb)return;w("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",p)},"[class^=tumblr-]":function(e){if(d("processing tumblr for",e),b)return;function t(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(e){e.parentNode.removeChild(e)})),b=!1}b=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",t)}),30)},".jetpack-slideshow":function(e){d("processing slideshow for",e);let t=document.head.querySelector(`link[href="${g.CSS}"]`);window.jetpackSlideshowSettings={spinner:g.SPINNER},t||(t=!0,function(e){const t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}(g.CSS));const n=e.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(n,(e=>{e.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?w(g.CYCLE_JS,(()=>{E()})):(0,l.t)(g.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(e){d("processing story for ",e);const t=e.querySelector("a.wp-story-container, a.wp-story-overlay");t&&t.setAttribute("target","_blank")},".embed-reddit":function(e){d("processing reddit for ",e),w("https://embed.redditmedia.com/widgets/platform.js",p)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,g={CSS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/jetpack-plugin/production/modules/shortcodes/img/slideshow-loader.gif${h}`};function m(e){Object.entries(f).forEach((t=>{let[n,r]=t;const o=e.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(e){return!e.hasAttribute("data-wpcom-embed-processed")&&(e.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function w(e,t){let n=v[e];n||(n=new Promise((function(t,n){(0,r.ve)(e,(function(e){e?n(e):t()}))})),v[e]=n),n.then(t,(function(t){d("error loading "+e,t),v[e]=null}))}let b;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),w(g.JS,(()=>{_()}))}class S extends a.PureComponent{componentDidMount(){m(c().findDOMNode(this))}componentDidUpdate(){m(c().findDOMNode(this))}render(){return a.Children.only(this.props.children)}}},38782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(56666),o=n(69307),i=n(56399),s=n(97493),a=n(47498),u=n(72779),c=n.n(u),l=n(11481),p=n(92819),d=n(13980),f=n.n(d),h=n(99196);class g extends h.Component{render(){const e=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),t={...(0,p.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName","iconComponent"),className:e,rel:"external"};this.props.icon&&(t.target="_blank"),t.target&&(t.rel=t.rel.concat(" noopener noreferrer")),t.href&&(t.href=(0,a.aq)(t.href));const n=this.props.iconComponent||(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",t,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(g,"defaultProps",{iconSize:18,showIconFirst:!1,iconComponent:null}),(0,r.Z)(g,"propTypes",{className:f().string,href:f().string,onClick:f().func,icon:f().bool,iconSize:f().number,target:f().string,showIconFirst:f().bool,iconClassName:f().string,iconComponent:f().object});const m=g},66753:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(13980),c=n.n(u),l=n(99196);class p extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(e=>{this.currentTextField=e;const{inputRef:t}=this.props;t&&("function"==typeof t?t(e):t.current=e)})),(0,o.Z)(this,"selectOnFocus",(e=>{this.props.selectOnFocus&&e.target.select()})),(0,o.Z)(this,"onChange",(e=>{var t,n;this.setState({value:e.target.value}),null===(t=(n=this.props).onChange)||void 0===t||t.call(n,e)}))}componentDidUpdate(e){this.updateValueIfNeeded(e.value)}updateValueIfNeeded(e){const{value:t}=this.props;e===t&&t===this.state.value||this.setState({value:t})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:e,isValid:t,selectOnFocus:n,inputRef:o,onChange:s,value:u,...c}=this.props,l=a()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(p,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},57925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(69307),i=n(98148),s=n(72779),a=n.n(s),u=n(99196),c=n(12982);const l=(e,t)=>{let{className:n,...s}=e;return(0,o.createElement)(i.Z,{className:a()("search-card",n)},(0,o.createElement)(c.ZP,(0,r.Z)({ref:t},s)))},p=(0,u.forwardRef)(l)},12982:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>P});var r=n(7896),o=n(56666),i=n(69307),s=n(6010),a=n(79321),u=n(5869),c=n(17108),l=n(60199),p=n(72779),d=n.n(p),f=n(11481),h=n(92819),g=n(13980),m=n.n(g),y=n(99196),v=n(88767),w=n(66753),b=n(28816),_=n(44567);const E=()=>{};function S(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class C extends y.Component{constructor(e){super(e),(0,o.Z)(this,"setOpenIconRef",(e=>this.openIcon=e)),(0,o.Z)(this,"setSearchInputRef",(e=>this.searchInput=e)),(0,o.Z)(this,"setOverlayRef",(e=>this.overlay=e)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),r=parseFloat(n.paddingLeft),o=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(e=>{this.setState({keyword:e.target.value})})),(0,o.Z)(this,"openSearch",(e=>{e.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,_.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(e=>{e.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(e),(0,_.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(e=>{"Enter"===e.key&&(0,a.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.isSearchOnEnterMode()&&"Enter"===e.key&&this.updateSearch(),this.props.onKeyDown(e)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const e=this.searchInput.value;e&&(this.searchInput.value="",this.searchInput.value=e),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),(0,o.Z)(this,"updateSearch",(()=>{this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword))})),(0,o.Z)(this,"isSearchOnEnterMode",(()=>"on-enter"===this.props.searchMode)),(0,o.Z)(this,"isSearchOnWriteMode",(()=>!this.isSearchOnEnterMode())),this.instanceId=(0,v.Z)(),this.state={keyword:e.initialValue||"",isOpen:!!e.isOpen,hasFocus:e.autoFocus},this.closeListener=S.bind(this,"closeSearch"),this.openListener=S.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==e.isOpen&&this.setState({isOpen:e.isOpen}),this.props.value===e.value||!e.value&&""!==e.value||e.value===this.state.keyword||this.setState({keyword:e.value})}componentDidUpdate(e,t){this.scrollOverlay(),(this.state.isOpen&&!t.isOpen||this.props.autoFocus&&!e.autoFocus)&&this.focus(),this.state.keyword!==t.keyword&&((this.isSearchOnWriteMode()||""===this.state.keyword||this.props.applySearch)&&this.updateSearch(),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const e=this.state.keyword,t=this.props.placeholder||f.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,a=this.state.isOpen||!this.props.pinned||this.props.initialValue,l=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},p=d()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":a,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":!this.props.hideFocus&&this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),h=d()("search__input-fade",this.props.dir),g=d()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:p,role:"search"},(0,i.createElement)(s.$,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":f.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(u.Z,{icon:c.Z,className:"search__open-icon"})),(0,i.createElement)("div",{className:h},(0,i.createElement)(w.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||f.ZP.translate("Search"),"aria-hidden":!a,className:g,placeholder:t,role:"searchbox",value:e,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},l)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":f.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(u.Z,{icon:l.Z,className:"search__close-icon"}))}}(0,o.Z)(C,"propTypes",{additionalClasses:m().string,initialValue:m().string,value:m().string,placeholder:b.Z,pinned:m().bool,delaySearch:m().bool,delayTimeout:m().number,describedBy:m().string,onSearch:m().func.isRequired,onSearchChange:m().func,onSearchOpen:m().func,onSearchClose:m().func,analyticsGroup:m().string,overlayStyling:m().func,autoFocus:m().bool,disabled:m().bool,onKeyDown:m().func,onClick:m().func,disableAutocorrect:m().bool,onBlur:m().func,searching:m().bool,isOpen:m().bool,dir:m().oneOf(["ltr","rtl"]),fitsContainer:m().bool,maxLength:m().number,minLength:m().number,hideClose:m().bool,hideFocus:m().bool,compact:m().bool,hideOpenIcon:m().bool,inputLabel:m().string,searchMode:m().string,applySearch:m().bool}),(0,o.Z)(C,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:E,onSearchOpen:E,onSearchClose:E,onKeyDown:E,onClick:E,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,hideFocus:!1,compact:!1,hideOpenIcon:!1,searchMode:"when-typing",applySearch:!1});const P=C},28816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){function t(t,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?t?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:e(n,r,o,i)}const n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n){n=n||"ANONYMOUS";const r=e[t];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},2402:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(82066),o=n(72429);const i=["New","Open","Hold"],s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useQuery)(["activeSupportTickets",e],(()=>o.Z.req.get("/support-history",{email:e,apiNamespace:"wpcom/v2"})),{enabled:!!e,select:e=>{let{data:t}=e;return t.filter((e=>"Zendesk_History"===e.type&&i.includes(e.status)))},meta:{persist:!1},...t})}},1230:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(6339),o=n(82066),i=n(4792),s=n(72429),a=n(30963);const u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,i.v9)(a.Z);return(0,o.useQuery)(["support-article-alternates",e,t],(()=>s.Z.req.get(`/support/alternates/${e}/posts/${t}`)),{...n,enabled:!(0,r.TF)(u)&&!(!e||!t),refetchOnMount:!1,refetchOnWindowFocus:!1,select:e=>e[u]})}},36190:(e,t,n)=>{"use strict";n.d(t,{fF:()=>i,lB:()=>s,n5:()=>a,Dt:()=>u,j_:()=>c,EV:()=>l,y2:()=>p,yf:()=>d,xV:()=>f,E9:()=>h,O5:()=>g,pP:()=>m,Ai:()=>y,zR:()=>v,Uk:()=>w,L:()=>b,cf:()=>_,Hb:()=>E,zv:()=>S,oh:()=>C});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:ad-tracking"),s="https://connect.facebook.net/en_US/fbevents.js",a="https://www.googletagmanager.com/gtag/js?id=",u="https://bat.bing.com/bat.js",c="https://static.criteo.net/js/ld/ld.js",l="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",p="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",d="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",f="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",h="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",g="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",m="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",y="https://static.ads-twitter.com/uwt.js",v="https://snap.licdn.com/li.lms-analytics/insight.min.js",w="https://a.quora.com/qevents.js",b="https://amplify.outbrain.com/cp/obtp.js",_="https://s.pinimg.com/ct/core.js",E={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",wpcomGoogleGA4Gtag:"G-1H4VG5F5JF",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleGA4Gtag:"G-YELRMVV4YG",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},S="dcmsid",C=1800},33675:(e,t,n)=>{"use strict";n.d(t,{j:()=>u,I:()=>l});var r=n(36115),o=n(13421),i=n(88767),s=n(54995),a=n(36190);n(28122);function u(e){if(!(0,s.G0)("floodlight"))return;const t=["event","conversion",{...{...c(),allow_custom_scripts:!0},...e}];(0,a.fF)("recordParamsInFloodlightGtag:",t),window.gtag(...t)}function c(){const e={},t=(0,r.ts)(),n=(0,r.di)();return t&&(e.u4=t.hashedPii.ID),n&&(e.u5=n),e}function l(e){if(!(0,s.G0)("floodlight"))return;const t=function(){const e=o.parse(document.cookie)[a.zv];if(e)return(0,a.fF)("Floodlight: Existing session: "+e),e;const t=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,a.fF)("Floodlight: New session: "+t),t}();document.cookie=o.serialize(a.zv,t,{maxAge:a.oh}),(0,a.fF)("retarget: recordPageViewInFloodlight: wpvisit"),u({session_id:t,u6:e,u7:t,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,a.fF)("retarget: recordPageViewInFloodlight: wppv"),u({u6:e,u7:t,send_to:"DC-6355556/wordp0/wppv+standard"})}},98565:(e,t,n)=>{"use strict";n.d(t,{tJ:()=>i,cY:()=>a,$Q:()=>u});var r=n(9415),o=n(36190);n(28122);let i;!function(e){e[e.JETPACK=0]="JETPACK",e[e.WPCOM=1]="WPCOM"}(i||(i={}));const s={[i.WPCOM]:o.Hb.wpcomGoogleGA4Gtag,[i.JETPACK]:o.Hb.jetpackGoogleGA4Gtag};function a(e){window.gtag("config",o.Hb.wpcomGoogleGA4Gtag,e),(0,r.Z)()&&window.gtag("config",o.Hb.jetpackGoogleGA4Gtag,e)}function u(e,t,n){window.gtag("event","page_view",{send_to:s[n],page_title:e,page_location:t})}},95157:(e,t,n)=>{"use strict";n.d(t,{LT:()=>a,Uk:()=>u,vL:()=>c,Zf:()=>l});var r=n(36115),o=n(9415),i=n(77649),s=n(98565);n(28122);function a(e){s.cY(e),window.gtag("config",(0,i.h)(),e)}function u(){const e=(0,r.ts)();return{...e&&{user_id:e.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,o.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=n?s.tJ.JETPACK:s.tJ.WPCOM;s.$Q(t,e,r);const o={...u(),page_path:e,page_title:t};window.gtag("config",(0,i.h)(n),o)}function l(e,t,n,r){window.gtag("event",t,{event_category:e,event_label:n,value:r})}},30214:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(36115),o=n(84898),i=n(54995),s=n(77649),a=n(36190);n(28122);const u=function(e){let t,n="not-loading";const r=new Promise((e=>{t=e}));return()=>("not-loading"===n&&(n="loading",e().then((e=>{n="loaded",t(e)}),(()=>{n="not-loading"}))),r)}((async()=>{const e=function(){const e=[];(0,i.G0)("facebook")&&e.push(a.lB);const t=[(0,i.G0)("ga")&&(0,s.h)(),(0,i.G0)("googleAds")&&a.Hb.wpcomGoogleAdsGtag,(0,i.G0)("floodlight")&&a.Hb.wpcomFloodlightGtag].filter((e=>!1!==e));t.length>0&&e.push(a.n5+t[0]);(0,i.G0)("bing")&&e.push(a.Dt);(0,i.G0)("criteo")&&e.push(a.j_);(0,i.G0)("quantcast")&&e.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");(0,i.G0)("twitter")&&e.push(a.Ai);(0,i.G0)("linkedin")&&e.push(a.zR);(0,i.G0)("quora")&&e.push(a.Uk);(0,i.G0)("outbrain")&&e.push(a.L);(0,i.G0)("pinterest")&&e.push(a.cf);return e}();let t=!1;for(const r of e){try{await(0,o.ve)(r)}catch(n){t=!0,(0,a.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,a.fF)("loadTrackingScripts: [Loaded]",r)}if(t)throw new Error("One or more tracking scripts failed to load");(0,a.fF)("loadTrackingScripts: load done"),function(){(0,i.G0)("facebook")&&function(){let e={};const t=(0,r.ts)();t&&(e={em:t.hashedPii.email});(0,a.fF)("initFacebook",e),window.fbq("init",a.Hb.facebookInit,e),window.fbq("set","autoConfig",!1,a.Hb.facebookJetpackInit),window.fbq("init",a.Hb.facebookJetpackInit,e)}();if((0,i.G0)("bing")){const e={ti:a.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(e))}(0,i.G0)("twitter")&&window.twq("init",a.Hb.twitterPixelId);(0,i.G0)("quora")&&window.qp("init",a.Hb.quoraPixelId);if((0,i.G0)("pinterest")){const e=(0,r.ts)(),t=e?{em:e.hashedPii.email}:{};window.pintrk("load",a.Hb.pinterestInit,t)}(0,a.fF)("loadTrackingScripts: init done")}(),(0,a.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var r=n(7369),o=n(54995),i=n(36190),s=n(33675),a=n(30214);n(28122);let u=0;async function c(e){if(await(0,r.Z)(),await(0,a._)(),(0,i.fF)("retarget:",e),(0,o.G0)("quantcast")){const e={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",e),window._qevents.push(e)}if((0,o.G0)("facebook")){const e=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",e),window.fbq(...e)}if((0,o.G0)("bing")&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),(0,o.G0)("googleAds")){const t=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:e}];(0,i.fF)("retarget: [Google Ads] WPCom",t),window.gtag(...t)}(0,s.I)(e),(0,o.G0)("pinterest")&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),(0,o.G0)("adroll")&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const t=Date.now()/1e3;if(t>=u+86400){if(u=t,(0,o.G0)("outbrain")){const e=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",e),window.obApi(...e)}if((0,o.G0)("iconMedia")){const e=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",e),(new window.Image).src=e}if((0,o.G0)("twitter")){const e=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",e),window.twq(...e)}if((0,o.G0)("gemini")){const e=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",e),(new window.Image).src=e}if((0,o.G0)("quora")){const e=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",e),window.qp(...e)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},28122:(e,t,n)=>{"use strict";var r=n(54995),o=n(36190);function i(){window.dataLayer&&window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date))}"undefined"!=typeof window&&((0,r.K2)("ga")&&i(),(0,r.K2)("facebook")&&function(){if(window.fbq)return;const e=window.fbq=function(){e.callMethod?e.callMethod.apply(e,arguments):e.queue.push(arguments)};window._fbq||(window._fbq=e);window._fbq.disablePushState=!0,e.push=e,e.loaded=!0,e.version="2.0",e.queue=[]}(),(0,r.K2)("bing")&&!window.uetq&&(window.uetq=[]),(0,r.K2)("criteo")&&!window.criteo_q&&(window.criteo_q=[]),(0,r.K2)("quantcast")&&!window._qevents&&(window._qevents=[]),(0,r.K2)("googleAds")&&(i(),(0,r.G0)("googleAds")&&window.gtag("config",o.Hb.wpcomGoogleAdsGtag)),(0,r.K2)("floodlight")&&(i(),(0,r.G0)("floodlight")&&window.gtag("config",o.Hb.wpcomFloodlightGtag)),(0,r.K2)("twitter")&&function(){if(window.twq)return;const e=window.twq=function(){e.exe?e.exe.apply(e,arguments):e.queue.push(arguments)};e.version="1.1",e.queue=[]}(),(0,r.K2)("linkedin")&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=o.Hb.linkedInPartnerId)),(0,r.K2)("quora")&&function(){if(window.qp)return;const e=window.qp=function(){e.qp?e.qp.apply(e,arguments):e.queue.push(arguments)};e.queue=[]}(),(0,r.K2)("outbrain")&&function(){const e=window.obApi=function(){e.dispatch?e.dispatch.apply(e,arguments):e.queue.push(arguments)};e.version="1.0",e.loaded=!0,e.marketerId=o.Hb.outbrainAdvId,e.queue=[]}(),(0,r.K2)("pinterest")&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const e=window.pintrk;e.queue=[],e.version="3.0"}}(),(0,r.K2)("adroll")&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=o.xV,(new window.Image).src=o.E9},trackPurchase:function(){(new window.Image).src=o.O5,(new window.Image).src=o.pP}})))},25394:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,w:()=>i});var r=n(36190);n(28122);function o(e,t){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,e,t)}function i(e){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",e)}},46272:(e,t,n)=>{"use strict";n.d(t,{U:()=>d,K:()=>f});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(9415),u=n(36190),c=n(54995);const l=s()("calypso:analytics:fullstory");let p=!1;function d(){h(),window.FS&&(l("retargetFullStory"),window.FS.restart(),g())}function f(e,t){if(h(),!window.FS||!e)return;const n=m(t);l("recordFullStoryEvent:",{name:e,props:n}),window.FS.event(e,n),g()}function h(){var e,t,n,r,i,s,d,f;!p&&o.ZP.isEnabled("fullstory")&&(0,c.G0)("fullstory")?(p=!0,l("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,a.Z)()?u.Hb.fullStoryJetpack:u.Hb.fullStory,window._fs_namespace="FS",e=window,t=document,n=window._fs_namespace,r="script",i="user",l("maybeAddFullStoryScript:","script loading"),n in e?e.console&&e.console.log&&e.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((d=e[n]=function(e,t,n){d.q?d.q.push([e,t,n]):d._api(e,t,n)}).q=[],(s=t.createElement(r)).async=1,s.crossOrigin="anonymous",s.src="https://"+window._fs_script,(f=t.getElementsByTagName(r)[0]).parentNode.insertBefore(s,f),d.identify=function(e,t,n){d(i,{uid:e},n),t&&d(i,t,n)},d.setUserVars=function(e,t){d(i,e,t)},d.event=function(e,t,n){d("event",{n:e,p:t},n)},d.anonymize=function(){d.identify(!1)},d.shutdown=function(){d("rec",!1)},d.restart=function(){d("rec",!0)},d.log=function(e,t){d("log",[e,t])},d.consent=function(e){d("consent",!arguments.length||e)},d.identifyAccount=function(e,t){s="account",(t=t||{}).acctId=e,d(s,t)},d.clearUserCookie=function(){},d.setVars=function(_n,e){d("setVars",[_n,e])},d._w={},f="XMLHttpRequest",d._w[f]=e[f],f="fetch",d._w[f]=e[f],e[f]&&(e[f]=function(){return d._w[f].apply(this,arguments)}),d._v="1.3.0")):p||l("maybeAddFullStoryScript:",!1)}function g(){if(!window.FS)return;const e=(0,r.ts)();e&&(l("maybeIdentifyUser:",e),window.FS.identify(e.hashedPii.ID))}function m(e){const t={};e="object"==typeof e?e:{};for(const[n,r]of Object.entries(e)){const e=typeof r;"string"===e?t[n+"_str"]=r:"boolean"===e?t[n+"_bool"]=r:"number"===e||"bigint"===e?-1!==String(r).indexOf(".")?t[n+"_real"]=r:t[n+"_int"]=r:"object"===e&&(t[n]=m(r))}return t}},44567:(e,t,n)=>{"use strict";n.d(t,{eK:()=>l,Yh:()=>p});var r=n(38049),o=n.n(r),i=n(95157),s=n(54995);const a=o()("calypso:analytics:ga");let u=!1;function c(){if(!u){const e={send_page_view:!1,...(0,i.Uk)()};a("parameters:",e),(0,i.LT)(e),u=!0}}const l=d((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(e,t,n)})),p=d((function(e,t,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),a(o),(0,i.Zf)(e,t,n,r)}));function d(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(0,s.G0)("ga")?(c(),e(...n)):a("[Disallowed] analytics %s( %o )",e.name,n)}}},80252:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(20899),o=n(38049),i=n.n(o),s=n(9415),a=n(54995);const u=i()("calypso:analytics:hotjar");let c=!1;function l(){if(c||!(0,r.ZP)("hotjar_enabled")||!(0,a.G0)("hotjar"))return void u("Not loading HotJar script");const e=(0,s.Z)()?{hjid:3165344,hjsv:6}:{hjid:227769,hjsv:5};var t,n,o,i;t=window,n=document,u("Loading HotJar script"),t.hj=t.hj||function(){(t.hj.q=t.hj.q||[]).push(arguments)},t._hjSettings=e,o=n.getElementsByTagName("head")[0],(i=n.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+t._hjSettings.hjid+".js?sv="+t._hjSettings.hjsv,o.appendChild(i),c=!0}},70858:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(e,t){await(0,r.MB)(e,t);const o=(0,r.ts)();if("object"==typeof e&&o&&(0,r.di)()){const e=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:t}=e;i("recordAliasInFloodlight",o),t()}}},7689:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,S:()=>a});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(e,t){if("object"==typeof e?i("Bumping stats %o",e):i("Bumping stat %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function a(e,t){if("object"==typeof e?i("Bumping page view with props %o",e):i("Bumping page view %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),a=n(93513),u=n(11915),c=n(7369),l=n(44567),p=n(38602),d=n(5323);function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(e,n),h(e,t,null==c?void 0:c.useJetpackGoogleAnalytics),(0,d.G)(),(0,u.Z)(),(0,a.n)(),(0,i.a)(e),(0,s.U)(),(0,p.V)()}),0)}async function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(e,t,n)}},38602:(e,t,n)=>{"use strict";n.d(t,{x:()=>u,V:()=>c});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let e=window.localStorage.getItem("analyticsQueue");return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e}function a(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];"string"==typeof t&&"function"==typeof i[e]&&i[e]().then((e=>{"function"==typeof e[t]&&e[t].apply(null,r||void 0)}))}function u(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return a(e,t,...r);let u=s();const c={moduleName:e,trigger:t,args:r};u.push(c),u=u.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(u))}function c(){if(!window.localStorage)return;const e=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&"string"==typeof e.trigger&&(o("Processing item in queue.",e),a(e.moduleName,e.trigger,...e.args))}))}},5323:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const e=window.location.href,t=(0,r.Z)(e),n=(null==t?void 0:t.searchParams.get("aff"))||(null==t?void 0:t.searchParams.get("affiliate")),s=null==t?void 0:t.searchParams.get("cid"),a=null==t?void 0:t.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:t.host+t.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:a,referrer:e}))}},93513:(e,t,n)=>{"use strict";n.d(t,{n:()=>f});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),a=n(78920);const u=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function p(e,t){return-1!==c.indexOf(e)&&("utm_source"===e||"utm_campaign"===t?function(e){return l.test(e)}(t):function(e,t){return"gclid"===e?t.length<=100:"keyword"===e?t.length<=80:t.length<=50}(e,t))}function d(e,t){document.cookie=o.serialize(e,t,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function f(){var e;if(!document.location.search)return void u("No query data in URL.");const t=null===(e=(0,a.Z)(document.location.href))||void 0===e?void 0:e.searchParams;let n=new URLSearchParams;if(t){const e=Array.from(t.entries()).filter((e=>{let[t,n]=e;return p(t,n)}));n=new URLSearchParams(e),t.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",t.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void u("Missing utm_source or utm_campaign.");const o=n.toString();o&&(u("ad_details: "+o),d("ad_details",o),d("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(20899),o=n(35899),i=n(36747),s=n(86091);const a=e=>t=>{const n=e.getState(),a={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},u=!t.forceSiteId&&(0,o.Z)(t.path)?null:(0,s.Z)(n);return u&&Object.assign(a,{blog_id:u.ID,blog_lang:u.lang,site_id_label:u.jetpack?"jetpack":"wpcom",site_plan_id:u.plan?u.plan.product_id:null}),a}},39297:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const a=o()("calypso:analytics:refer"),u=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(e){let{affiliateId:t,campaignId:n,subId:r,referrer:o}=e;a("Recording affiliate referral.",{affiliateId:t,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:t,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();a("Fetching Refer platform response.");try{const e=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),t=await e.json();if(e.ok)return a("Recording Refer platform success response.",t),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!0,description:t.message||"success"});a("Recording Refer platform error response.",t),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!1,description:t.message||"error"})}catch(p){a("Failed to fetch Refer platform response.",p)}}},54995:(e,t,n)=>{"use strict";n.d(t,{K2:()=>h,G0:()=>g});var r=n(36115),o=n(20899),i=n(32486),s=n(69874),a=n(94776),u=n(14254);let c;!function(e){e.ESSENTIAL="essential",e.ADVERTISING="advertising",e.ANALYTICS="analytics"}(c||(c={}));const l={ga:c.ADVERTISING,gaEnhancedEcommerce:c.ADVERTISING,fullstory:c.ADVERTISING,hotjar:c.ADVERTISING,bing:c.ADVERTISING,floodlight:c.ADVERTISING,googleAds:c.ADVERTISING,outbrain:c.ADVERTISING,pinterest:c.ADVERTISING,twitter:c.ADVERTISING,facebook:c.ADVERTISING,quantcast:null,gemini:null,experian:null,iconMedia:null,linkedin:null,criteo:null,pandora:null,quora:null,adroll:null},p=()=>"dataLayer"in window&&"gtag"in window,d={ga:p,gaEnhancedEcommerce:p,floodlight:p,googleAds:p,fullstory:()=>"FS"in window,hotjar:()=>"hj"in window,bing:()=>"uetq"in window,outbrain:()=>"obApi"in window,pinterest:()=>"pintrk"in window,twitter:()=>"twq"in window,facebook:()=>"fbq"in window,linkedin:()=>"_linkedin_data_partner_id"in window,criteo:()=>"criteo_q"in window,quora:()=>"qp"in window,adroll:()=>"adRoll"in window},f=e=>{if((0,a.b)()||(0,r.vX)()||(0,i.Z)()||!o.ZP.isEnabled("ad-tracking"))return!1;if(c.ADVERTISING===e&&(0,s.Z)())return!1;const t=(0,u.Z)();return t.ok&&t.buckets[e]},h=e=>{const t=l[e];return null!==t&&f(t)},g=e=>h(e)&&(e=>{const t=d[e];return!t||t()})(e)},17032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{tracksEvents:()=>i,recordTracksEvent:()=>s,recordTracksPageView:()=>a,setTracksOptOut:()=>u});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(e,t){o.MR.once("record-event",((e,t)=>{i.emit("record-event",e,t)})),(0,o.jN)(e,t)}function a(e,t){(0,o.P6)(e,t)}function u(e){(0,o.lH)(["setOptOut",e])}},87360:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(38049);const o=n.n(r)()("calypso:analytics:utils")},77649:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(9415),o=n(36190);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.Z)();return e?o.Hb.jetpackGoogleAnalyticsGtag:o.Hb.wpcomGoogleAnalyticsGtag}},14254:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(13421),o=n(76814),i=n(44238);const s={essential:!1,analytics:!1,advertising:!1},a={essential:!0,analytics:!0,advertising:!0};function u(){const e=r.parse(document.cookie);if(!(0,o.Z)(e.country_code)&&!(0,i.Z)(e.region))return{ok:!0,buckets:a};const t=e.sensitive_pixel_option,n=e.sensitive_pixel_options,{ok:u,buckets:c}=n?JSON.parse(n):{};return"boolean"==typeof u?{ok:u,buckets:{...s,...c}}:["yes","no"].includes(t)?{ok:"yes"===t,buckets:a}:{ok:!1,buckets:s}}},76814:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(e){return void 0!==e&&r.includes(e)}},32486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((e=>encodeURIComponent(e)));function s(){const e=document.location.href,t=t=>-1!==e.indexOf(t),n=o.some(t)||i.some(t);return(0,r.Z)(`Is PII URL: ${n}`),n}},44238:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=["california","colorado","connecticut","utah","virginia"];function o(e){return void 0!==e&&r.includes(e.toLowerCase())}},69874:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(87360);const o=["/log-in"];function i(){const{href:e}=document.location,t=o.some((t=>-1!==e.indexOf(t)));return(0,r.Z)(`Is URL Excluded for Performance: ${t}`),t}},81653:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="marketing-coupons"},7369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(13421),o=n(87360);let i=null;async function s(){const e=r.parse(document.cookie);e.country_code&&e.region?(0,o.Z)('refreshCountryCodeCookieGdpr: country_code ( value: "%s") and region ( value: "%s") cookies are fresh',e.country_code,e.region):(null===i&&(i=function(){const e=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+e).then((e=>e.ok?e.json():e.body().then((e=>{throw new Error(e)})))).then((e=>({countryCode:e.country_short,region:e.region}))).catch((e=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",e),{countryCode:"unknown",region:"unknown"})))}().then((e=>{let{countryCode:t,region:n}=e;!function(e){const t=21600;document.cookie=r.serialize("country_code",e,{path:"/",maxAge:t}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",e)}(t),function(e){const t=21600;document.cookie=r.serialize("region",e,{path:"/",maxAge:t}),(0,o.Z)("refreshRegionCookieCcpa: region cookie set to %s",e)}(n)}))),await i,i=null)}},11915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87360),o=n(81653),i=n(78920);function s(){const e=(0,i.Z)(window.location.href),t=null==e?void 0:e.searchParams.get("coupon");if(!t)return;let n=null;try{const e=window.localStorage.getItem(o.Z);n=JSON.parse(e)}catch(a){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[t]=s,Object.keys(n).forEach((e=>{s>n[e]+6048e5&&delete n[e]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(a){}}},35899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i,o=e=>!e||!r.test(e)},78920:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(87360);function o(e){const t={"-":"+",_:"/",".":"="};return window.atob(e.replace(/[-_.]/g,(e=>t[e])))}function i(e){try{const t=new URL(e);if((0,r.Z)("urlParseAmpCompatible: original query:",t.search),t.searchParams.has("tk_amp")){const e=function(e){if(0===(e=e.split("*").filter((e=>e.length)).slice(2)).length||0!=e.length%2)return null;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=o(e[n+1]);return t}(t.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",e);for(const n of Object.keys(e))t.searchParams.has(n)||t.searchParams.set(n,e[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",t.search),t}catch{return null}}},32919:(e,t,n)=>{"use strict";n.d(t,{B$:()=>s});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:(e,t,n)=>{"use strict";n.d(t,{B$:()=>P});var r,o=n(20899),i=n(38049),s=n.n(i),a=n(92819),u=n(7689),c=n(47824),l=n(32919);const p=s()("calypso:browser-storage");let d=!1,f=!1;const h="calypso",g="calypso_store",m="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;p("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return p("IDB not found in host"),!1;if(f)return p("IDB disabled"),!1;try{const e=Date.now().toString();return await C(m,e),await b(m),!0}catch(e){return!1}})),w=(0,c.I)((()=>{const e=window.indexedDB.open(h,2);return new Promise(((t,n)=>{try{e&&(e.onerror=t=>{e.error&&"InvalidStateError"===e.error.name&&t.preventDefault(),n(e.error)},e.onsuccess=()=>{const n=e.result;n.onerror=function(e){var t,n;p("IDB Error",e),null!==(t=e.target)&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&n.name&&((0,u.P)("calypso-browser-storage",(0,a.kebabCase)(e.target.error.name)),"QuotaExceededError"===e.target.error.name&&(f=!0,v.clear(),p("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},t(n)},e.onupgradeneeded=()=>e.result.createObjectStore(g))}catch(r){n(r)}}))}));function b(e){return new Promise(((t,n)=>{w().then((r=>{const o=r.transaction(g,"readonly"),i=o.objectStore(g).get(e),s=()=>n(o.error);o.oncomplete=()=>t(i.result),o.onabort=s,o.onerror=s})).catch((e=>n(e)))}))}function _(e){return w().then((t=>new Promise(((n,r)=>{const o={},i=t.transaction(g,"readonly"),s=()=>r(i.error);i.objectStore(g).openCursor().onsuccess=t=>{const r=t.target.result;if(r){const{primaryKey:t,value:n}=r;!t||"string"!=typeof t||t===m||e&&!e.test(t)||(o[t]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function C(e,t){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return p("performing safari idb mitigation"),S=async function(){const e=await _();return await function(){return new Promise(((e,t)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{w.clear(),e()},n.onerror=e=>t(e)}))}(),new Promise(((t,n)=>{w().then((r=>{const o=r.transaction(g,"readwrite"),i=o.objectStore(g);for(let[t,n]of Object.entries(e))i.put(n,t);const s=()=>t(),a=()=>n(o.error);o.oncomplete=s,o.onabort=a,o.onerror=a}),(e=>n(e)))}))}(),S.finally((()=>{S=null,p("idb mitigation complete")})),S}(),new Promise(((n,r)=>{w().then((async o=>{const i=o.transaction(g,"readwrite");i.objectStore(g).put(t,e);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((e=>r(e)))}))}async function P(){if(d)return await(0,l.B$)();if(await v())return await new Promise(((e,t)=>{w().then((n=>{const r=n.transaction(g,"readwrite");r.objectStore(g).clear();const o=()=>t(r.error);r.oncomplete=()=>e(),r.onabort=o,r.onerror=o})).catch((e=>t(e)))}));window.localStorage.clear()}},94776:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},50118:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(24050);function o(e){return"string"!=typeof e||-1===e.indexOf("&")?e:(0,r.Z)(e)}},24050:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(e){r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}},93345:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(99196);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof e?e.trim():e,Math.max(1,t-1)).part}const i=/\s+(\S*)$/;function s(e,t){let n=0;if("string"==typeof e&&e.length>0){let r=e,o="";for(;n<t&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(e)&&e.length>0){let r=[],o=e.length-1;for(;n<t&&o>=0;){const i=s(e[o],t-n);r.unshift(i.part),n+=i.substituted,o--}return r=e.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(e)&&e.props.children){const o=s(e.props.children,t);if(o.substituted>0){const t=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(e,e.props,...t),substituted:o.substituted}}return{part:e,substituted:n}}return{part:e,substituted:n}}},8165:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(33927),o=n.n(r);function i(e){return o()(e)}},284:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,fh:()=>o});const r="G Suite",o="Google Workspace"},96598:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(10128),o=n(284);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(e)?o.HX:o.fh}},26991:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"],i=()=>o.includes((0,r.ZP)("env_id"))},16771:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(e,t){i(`Loading a jQuery dependent script from "${e}"`),(0,r.D1)(e,t)}},47824:(e,t,n)=>{"use strict";function r(e){return function(e){let t,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.length===t.length&&o.every(((e,n)=>e===t[n]))||(t=o,n=e(...o)),n};return r.clear=()=>{t=void 0,n=void 0},r}(e)}n.d(t,{I:()=>r})},7268:(e,t,n)=>{"use strict";n.d(t,{LP:()=>a});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function a(){const e=r.parse(document.cookie);if(void 0!==e.wpcom_token)return e.wpcom_token;const t=i().get(s);return t||!1}},26347:(e,t,n)=>{"use strict";n.d(t,{Nf:()=>r.N});var r=n(65337)},65337:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e){const t=!(!(0,r.get)(e,"discover_metadata")&&53424024!==(0,r.get)(e,"site_ID"));let n;if(t){const t=(0,r.get)(e,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(t,(e=>"pick"!==e.slug));n=o?o.slug:"feature"}return e.is_discover=t,e.discover_format=n,e}},51547:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("img[src]");return(0,r.forEach)(n,(e=>{const t=e.parentNode,n=document.createElement("div"),r=(e=>{let t=e.getAttribute("data-orig-size")||"";if(0===t.length)return"";t=t.split(",");const n=parseInt(t[0]??0),r=parseInt(t[1]??0);if(0===n)return"";if(0===r)return"";const o=parseFloat(n/r);return 1===o?"square":o>0&&o<9/16?"tall":o>=9/16&&o<2/3?"nine-sixteen":o>=2/3&&o<.8?"two-three":o>=.8&&o<1?"four-five":o>1&&o<=5/4?"five-four":o>5/4&&o<=1.5?"three-two":o>1.5&&o<=16/9?"sixteen-nine":o>16/9?"wide":""})(e);n.className="image-wrapper "+r,t.replaceChild(n,e),n.appendChild(e)})),e}},53544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),a=n(59755),u=n(54855),c=n(95822);const l=e=>{if(function(e){if(!e||!e.getAttribute("src"))return!1;const t=e.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(e=>(0,i.includes)(t.toLowerCase(),e)));return!(function(e){if(!e||!e.src)return!1;const t=e.height+e.width;return 1===t||2===t}(e)||n)}(e)){const{width:t,height:n}=(0,a.H)(e)||{width:0,height:0};return{src:(0,u.E)(e.getAttribute("src"),s.fY),width:t,height:n,mediaType:"image"}}return!1},p=e=>{const t=o()(e.src);if(t&&(0,i.includes)(["youtube","vimeo","videopress"],t.service)){const t=e.cloneNode();return-1===t.src.indexOf("?")?t.src+="?autoplay=1":t.src+="&autoplay=1",t.outerHTML}return null},d=e=>{let t,n=e;do{if(n.className&&(t=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),t))return t[1]}while(n=n.parentNode);return null};function f(e,t){const n=t.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(e=>{const t=e.nodeName.toLowerCase();return"iframe"===t?(e=>{if(!(0,c.p)(e))return!1;const t=Number(e.width),n=Number(e.height),r=t/n;return{type:d(e),src:e.src,iframe:e.outerHTML,aspectRatio:r,width:t,height:n,mediaType:"video",autoplayIframe:p(e)}})(e):"img"===t&&l(e)}));return e.content_media=(0,i.compact)(r),e.content_embeds=(0,i.filter)(e.content_media,(e=>"video"===e.mediaType)),e.content_images=(0,i.filter)(e.content_media,(e=>"image"===e.mediaType)),e.featured_image&&(e.featured_image=(0,u.E)(e.featured_image,s.fY)),e}},10363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function a(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("noscript");return(0,o.forEach)(n,(e=>{if(!e.firstChild)return;const t=(0,i.j)(e.innerHTML).querySelector(s.join(", "));if(t){const n=(t.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const t=document.createElement("p");t.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",e.parentNode.replaceChild(t,e)}}})),e}},37183:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(11481),o=n(92819);function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(e=>{let t=null;try{t=JSON.parse(e.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=t;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",e.parentNode.replaceChild(i,e)})),e):e}},40691:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,b:()=>i});var r=n(6261);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("audio, video").forEach((e=>e.autoplay=!1)),e}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("iframe").forEach((e=>{const t=(0,r.A)(e.src);t.search&&(t.searchParams=function(e){const t=new URLSearchParams(e);return(Array.from(e.keys()).filter((e=>/^auto_?play$/i.test(e)))||[]).forEach((n=>{const r=e.get(n).toLowerCase();"1"===r?t.set(n,"0"):"true"===r?t.set(n,"false"):t.set(n,r)})),t}(t.searchParams),delete t.search,e.src=(0,r.C)(t).href)})),e}},17431:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e,t){const n=t.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(t=>{let n,o=(0,r.get)(t,["dataset","carouselExtra"],!1);if(!o&&(o=t.getAttribute("data-carousel-extra"),!o))return e;try{n=JSON.parse(o).permalink}catch(s){return e}const i=t.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(e=>{const t=e.querySelector("img"),r=t&&t.getAttribute("data-attachment-id");r&&(e.href=n+"#jp-carousel-"+r,e.setAttribute("target","_blank"))}))})),e}},50917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(6261),o=n(92819),i=n(95822);function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("iframe");if((0,o.forEach)(n,(function(e){(0,o.startsWith)(e.src,"http")?(e.src=e.src.replace(/^http:/,"https:"),!function(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(e=>`.${n}`.endsWith("."+e)))}(e)?(0,i.p)(e)?e.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):e.setAttribute("sandbox","allow-scripts"):e.removeAttribute("sandbox")):e.parentNode.removeChild(e)})),e.is_external||e.is_jetpack){const e=t.querySelectorAll("embed,object");(0,o.forEach)(e,(function(e){e.parentNode.removeChild(e)}))}return e}},30757:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(6261),o=n(94668),i=n(92819),s=n(70353),a=n(54855);function u(e,t,n){let u=t.getAttribute("src");const c=(0,r.A)(u);if(!c.hostname){const t=(0,r.A)(e.URL);u=(0,r.C)({protocol:t.protocol,host:t.host,pathname:(0,s.Z)(t.pathname,c.pathname)}).href}let l=n?(0,a.E)((0,o.F)(u),n):(0,o.F)(u);if(l||(u=function(e,t){const n=(0,r.A)(e.URL);return t.startsWith("//")?`${n.protocol||"https:"}${t}`:t}(e,u)),!l&&(0,i.startsWith)(u,"https://")&&(l=u),(e=>{if(!e||!e.hasAttributes())return;(0,i.filter)(e.attributes,(e=>(0,i.startsWith)(e.name,"on"))).forEach((t=>e.removeAttribute(t.name))),e.removeAttribute("srcset")})(t),!l||(e=>{if(!e)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(t=>(0,i.includes)(e.toLowerCase(),t)))})(u))return t.parentNode.removeChild(t),void t.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");t.setAttribute("src",l)}const c=e=>(t,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>u(t,n,e))),t}},51088:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(48265);function i(e,t){const n=Array.from(t.querySelectorAll("a[href]"));return(0,r.forEach)(n,(e=>{o.G.test(e.href)||e.removeAttribute("href")})),e}},64e3:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(e){e.parentNode&&e.parentNode.removeChild(e)}function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(o);return(0,r.forEach)(n,i),e}},42347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819);function o(e,t){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(e,t)}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=t.querySelectorAll("[style]");return(0,r.forEach)(i,(function(e){o(e,n)||e.removeAttribute("style")})),(0,r.forEach)(t.querySelectorAll("style"),(function(e){o(e,n)||e.parentNode&&e.parentNode.removeChild(e)})),(0,r.forEach)(t.querySelectorAll("[align]"),(e=>{"IMG"!==e.tagName&&e.removeAttribute("align")})),e}},47401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function a(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e){return 0===e.childNodes.length?"BR"===e.nodeName&&e:u(e.firstChild)}function c(e){if(!e)return"";const t=(0,s.j)(i()(e,["p","br","sup","sub"]));t.id="__better_excerpt__",Array.from(t.querySelectorAll("p")).filter((e=>0===(0,r.trim)(e.textContent).length)).forEach(a),Array.from(t.querySelectorAll("p")).forEach((e=>{e.removeAttribute("style"),e.removeAttribute("align")})),function(e){if(e)for(;u(e);)a(u(e))}(t),(0,r.forEach)(t.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(e,t){t>=3&&e.parentNode&&e.parentNode.removeChild(e)}));const n=(0,r.trim)(t.innerHTML.replace(/ /g," "));return t.innerHTML="",n}function l(e){if(!e||!e.content)return e;const t=function(e){const t=(0,s.j)(e);return(0,r.forEach)(t.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),a),t.innerHTML}(e.content);if(e.content_no_html=(0,r.trim)(i()(t)),e.better_excerpt=c(t),e.better_excerpt_no_html=(0,r.trim)(i()(e.better_excerpt)),e.better_excerpt_no_html){let t=e.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(t.length>160){const e=t.lastIndexOf(" ",160);t=t.substring(0,e)+"…"}e.short_excerpt=t}return e}},12800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94668),o=n(50118);const i=["excerpt","title","site_name"];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t.forEach((function(t){e[t]&&(e[t]=(0,o.S)(e[t]))})),e.title=(0,o.S)(e.title),e.parent&&e.parent.title&&(e.parent.title=(0,o.S)(e.parent.title)),e.author&&(e.author.name&&(e.author.name=(0,o.S)(e.author.name)),e.author.avatar_URL&&(e.author.avatar_URL=(0,r.F)(e.author.avatar_URL))),e.tags&&Object.values(e.tags).forEach((function(e){e.name=(0,o.S)(e.name)})),e}},31564:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(94668),o=n(92819);function i(e,t){return function(n){const i=(s=e,a=t,function(e){return e.width>=s&&e.height>=a&&(0,r.F)(e.src)});var s,a;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(48265);function o(e){return e&&e.URL&&!r.G.test(e.URL)&&(e.URL=""),e&&e.short_URL&&!r.G.test(e.short_URL)&&(e.short_URL=""),e}},21036:(e,t,n)=>{"use strict";function r(e){return e.site_id&&(e.normalized_site_id=(""+e.site_id).replace(/::/g,"/")),e}n.d(t,{Z:()=>r})},53317:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819),o=n(15721),i=n(75209);function s(e){let t;if((0,o.J)(e.post_thumbnail)){const{URL:n,width:r,height:o}=e.post_thumbnail;t={uri:n,width:r,height:o}}else if(e.content_images&&e.content_images.length){const n=(0,r.find)(e.content_images,i.O);n&&(t={uri:n.src,width:n.width,height:n.height})}return t&&(e.canonical_image=t),e}},66184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(94668),o=n(92819),i=n(48098);function s(e){if(!e)return!1;const t=100<=e.width,n=75<=e.height;return t&&n}function a(e){return!!e&&("image"===e.mediaType?s(e)&&(0,r.F)(e.src):"video"===e.mediaType&&e.autoplayIframe)}function u(e){if(!e)return e;if((0,i.E)(e.featured_image)&&(!e.post_thumbnail&&e.is_jetpack||s(e.post_thumbnail))&&(0,r.F)(e.featured_image))return e.canonical_media={src:e.featured_image,height:(0,o.get)(e,"post_thumbnail.height"),width:(0,o.get)(e,"post_thumbnail.width"),mediaType:"image"},e;const t=(0,o.find)(e.content_media,a);return t&&(e.canonical_media=t),e}},49147:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);function o(e){const t=(0,r.maxBy)((0,r.values)(e.tags),(function(e){return e.post_count}));return void 0!==t&&(e.primary_tag=t),e}},59654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(93345);function i(e){return(0,r.forEach)(["excerpt"],(function(t){e[t]&&(e[t]=(0,o.R)(e[t],2))})),e}},36003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(65956);function i(e){return function(t){return(0,o.O)(t.author,"avatar_URL",e),(0,o.O)(t,"featured_image",e,t.URL),t.post_thumbnail&&(0,o.O)(t.post_thumbnail,"URL",e,t.URL),t.featured_media&&"image"===t.featured_media.type&&(0,o.O)(t.featured_media,"uri",e,t.URL),t.canonical_image&&t.canonical_image.uri&&(0,o.O)(t.canonical_image,"uri",e,t.URL),t.attachments&&Object.values(t.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",e,t.URL)})),t}}},60566:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(8165);function i(e){return(0,r.forEach)(["excerpt","title","site_name"],(function(t){e[t]&&(e[t]=(0,o.C)(e[t]))})),e.author&&e.author.name&&(e.author.name=(0,o.C)(e.author.name)),e}},75659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),a=n(15721);const u=o()("calypso:post-normalizer:wait-for-images-to-load");function c(e){const t={src:e.src,width:e.naturalWidth,height:e.naturalHeight};return e instanceof Image&&e.complete&&(t.fetched=!0),t}function l(e){return new Promise((t=>{const n={},r=[];function o(t,o){let i=t&&(0,s.H)(t);if(!i&&e.attachments){const t=Object.values(e.attachments).find((t=>t.URL===e.featured_image));t&&(i=(0,s.H)(t))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,a.J)(e.post_thumbnail)?o(e.post_thumbnail,e.post_thumbnail.URL):e.featured_image&&o(null,e.featured_image),(0,i.forEach)(e.content_images,(e=>o(e,e.src))),0===r.length)return void t(e);const l={};let p=r.slice(0,10).map((e=>{return e in n?Promise.resolve(n[e]):(t=function(e){const t=new Image;return t.src=e,t}(e),t.complete&&t.naturalWidth>0?Promise.resolve(t):new Promise(((e,n)=>{t.onload=()=>e(t),t.onerror=()=>n(t)})));var t}));p.forEach((n=>{n.then((e=>{l[e.src]=e})).catch((t=>(u("failed to load image",t,e),null))).then((()=>{if(p=p.filter((e=>e!==n)),0===p.length){const n=r.map((e=>l[e])).filter(Boolean);o=n,e.featured_image&&(o.some((t=>t.src===e.featured_image))||(e.featured_image=null)),e.images=o.map(c),e.content_images=(0,i.map)(e.content_images,(t=>e.images.find((e=>e.src===t.src)))).filter(Boolean),e.content_media=(0,i.map)(e.content_media,(t=>{if("image"===t.mediaType){const n=e.images.find((e=>e.src===t.src));return{...t,...n}}return t})),t(e)}var o})).catch((e=>{u("Fulfilling promise failed",e)}))}))}))}},55454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(6964);function i(e){return function(t){if(!t||!t.content||!e)return t;const n=(0,o.j)(t.content);return(t=(0,r.reduce)(e,((e,t)=>t(e,n)),t)).content=n.innerHTML,n.innerHTML="",t}}},59755:(e,t,n)=>{"use strict";function r(e){if(e.height&&e.width)return{height:e.height,width:e.width};if(e.naturalHeight&&e.naturalWidth)return{height:e.naturalHeight,width:e.naturalWidth};if(e.dataset&&e.dataset.origSize){const[t,n]=e.dataset.origSize.split(",").map(Number);return{width:t,height:n}}return null}n.d(t,{H:()=>r})},6964:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const t=(new window.DOMParser).parseFromString(e,"text/html");if(t&&t.body)return t.body}const t=document.implementation.createHTMLDocument("processing doc").createElement("div");return t.innerHTML=e,t}n.d(t,{j:()=>r})},95822:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});var r=n(6261),o=n(92819);function i(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(e){return`.${n}`.endsWith("."+e)}))}},75209:(e,t,n)=>{"use strict";function r(e){return!!e&&(!(e.width<100)&&!(e.width*e.height<7500))}n.d(t,{O:()=>r})},48098:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(6261),o=n(92819);function i(e){if(!e)return!1;const t=(0,r.A)(e).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(e=>t.endsWith(e)))}},65956:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function a(e,t,n,a){if(e&&e[t]){const u=(0,r.A)(e[t]);if(a&&!u.hostname){const{pathname:n}=(0,r.A)(a),o=(0,s.Z)(n,e[t]);e[t]=(0,r.C)({...u,protocol:a.protocol,hostname:a.hostname,pathname:o}).href}e[t]=(0,o.F)(e[t]),n&&(e[t]=(0,i.E)(e[t],n))}}},54855:(e,t,n)=>{"use strict";n.d(t,{E:()=>u});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,a={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function u(e,t){if(!e)return e;const n=(0,r.A)(e),u=(0,o.D)(e);if(!n.host)return e;const c=Object.keys(a).find((e=>n.hostname.match(a[e])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,t*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const p=Array.from(n.searchParams.keys()).sort(),d=new URLSearchParams;p.forEach((e=>d.set(e,n.searchParams.get(e))));const f=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:d}).href;try{return(0,i.Z)(f,u)}catch{return f}}},48265:(e,t,n)=>{"use strict";n.d(t,{G:()=>r,m:()=>o});const r=/^https?:\/\//;function o(e){if(r.test(e))return e}},15721:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(48098);function o(e){return!(!e||!e.URL)&&(0,r.E)(e.URL)}},44111:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(11337);function o(e){var t;const n={id:Number(e.ID),active:Boolean(e.active),amount:Number(e.amount),attachedToPurchaseId:Number(e.attached_to_purchase_id),billPeriodDays:Number(e.bill_period_days),billPeriodLabel:e.bill_period_label,mostRecentRenewDate:e.most_recent_renew_date,canDisableAutoRenew:Boolean(e.can_disable_auto_renew),canReenableAutoRenewal:Boolean(e.can_reenable_auto_renewal),canExplicitRenew:Boolean(e.can_explicit_renew),costToUnbundle:e.cost_to_unbundle?Number(e.cost_to_unbundle):Number(e.amount),costToUnbundleText:e.cost_to_unbundle_display?e.cost_to_unbundle_display:e.price_text,currencyCode:e.currency_code,currencySymbol:e.currency_symbol,description:e.description,domain:e.domain,domainRegistrationAgreementUrl:e.domain_registration_agreement_url||null,error:null,blogCreatedDate:e.blog_created_date,expiryDate:e.expiry_date,expiryStatus:(0,r.Z)(e.expiry_status),iapPurchaseManagementLink:e.iap_purchase_management_link,includedDomain:e.included_domain,includedDomainPurchaseAmount:e.included_domain_purchase_amount,introductoryOffer:e.introductory_offer?{costPerInterval:Number(e.introductory_offer.cost_per_interval),endDate:String(e.introductory_offer.end_date),intervalCount:Number(e.introductory_offer.interval_count),intervalUnit:String(e.introductory_offer.interval_unit),isWithinPeriod:Boolean(e.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(e.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(e.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(e.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(e.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(e.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(e.is_cancelable),isDomainRegistration:Boolean(e.is_domain_registration),isLocked:Boolean(e.is_locked),isInAppPurchase:Boolean(e.is_iap_purchase),isRechargeable:Boolean(e.is_rechargable),isRefundable:Boolean(e.is_refundable),isRenewable:Boolean(e.is_renewable),isRenewal:Boolean(e.is_renewal),meta:e.meta,priceText:e.price_text,priceTierList:null===(t=e.price_tier_list)||void 0===t?void 0:t.map((e=>({minimumUnits:e.minimum_units,maximumUnits:e.maximum_units,minimumPrice:e.minimum_price,maximumPrice:e.maximum_price,minimumPriceDisplay:e.minimum_price_display,maximumPriceDisplay:e.maximum_price_display}))),partnerName:e.partner_name,partnerSlug:e.partner_slug,partnerKeyId:e.partner_key_id,payment:{name:e.payment_name,type:e.payment_type,countryCode:e.payment_country_code,countryName:e.payment_country_name,storedDetailsId:e.stored_details_id},pendingTransfer:Boolean(e.pending_transfer),productId:Number(e.product_id),productName:e.product_name,productSlug:e.product_slug,productType:e.product_type,productDisplayPrice:e.product_display_price,totalRefundAmount:Number(e.total_refund_amount),totalRefundText:e.total_refund_text,refundAmount:Number(e.refund_amount),refundOptions:e.refund_options,refundText:e.refund_text,refundPeriodInDays:e.refund_period_in_days,regularPriceText:e.regular_price_text,renewDate:e.renew_date,saleAmount:e.sale_amount,siteId:Number(e.blog_id),siteName:e.blogname,subscribedDate:e.subscribed_date,subscriptionStatus:e.subscription_status,tagLine:e.tag_line,taxAmount:e.tax_amount,taxText:e.tax_text,purchaseRenewalQuantity:e.renewal_price_tier_usage_quantity||null,userId:Number(e.user_id),isAutoRenewEnabled:"1"===e.auto_renew};return function(e){return"credit_card"===e.payment_type}(e)&&(n.payment.creditCard={id:Number(e.payment_card_id),type:e.payment_card_type,processor:e.payment_card_processor,number:e.payment_details,expiryDate:e.payment_expiry}),"paypal_direct"===e.payment_type&&(n.payment.expiryDate=e.payment_expiry),n}function i(e){return Array.isArray(e)?e.map(o):[]}},2623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",a=new WeakMap,u=[];class c{constructor(e,t){this.data=Object.assign({items:{},queries:{}},e),this.options=Object.assign({itemKey:"ID"},t)}static mergeItem(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(t.__DELETE)return;return Object.assign({},e,t)}return t}static matches(e,t){return!!t}static compare(e,t,n){return t===n?0:n-t}static sort(e,t,n){e.sort(((e,r)=>t[e]&&t[r]?this.compare(n,t[e],t[r]):0))}getItem(e){return this.data.items[e]}getItems(e){let t=null;if(e){var n;const r=this.constructor.QueryKey.stringify(e);if(t=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!t)return null}return function(e,t){let n=a.get(e);if(n||(n=new WeakMap,a.set(e,n)),null==t){let t=n.get(u);return t||(t=(0,o.values)(e),n.set(u,t)),t}let r=n.get(t);return r||(r=t.map((t=>e[t])),n.set(t,r)),r}(this.data.items,t)}getFound(e){const t=this.constructor.QueryKey.stringify(e);return(0,o.get)(this.data.queries,[t,"found"],null)}removeItem(e){return this.removeItems([e])}removeItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(e.map((e=>({[this.options.itemKey]:e,[s]:!0}))),{patch:!0})}receive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(e)||(e=[e]);const n=(0,o.reduce)(e,((e,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,t.patch);return void 0===s?i?(0,o.omit)(e,r):e:(i&&(0,o.isEqual)(s,i)||(e===this.data.items&&(e=(0,o.clone)(e)),e[r]=s),e)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,a=!1;if(!i&&!t.query)return this;if(t.query){const n=(0,o.map)(e,this.options.itemKey);let u,c;if(r=this.constructor.QueryKey.stringify(t.query),a=!this.data.queries[r],!a&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(u=t.mergeQuery&&!a?(0,o.difference)(this.data.queries[r].itemKeys,n):n),t.found>=0&&t.found!==(0,o.get)(s,[r,"found"])&&(c=t.found),u||c>=0){i=!0;const e=Object.assign({},s[r]);u&&(e.itemKeys=u),c>=0&&(e.found=c),s=Object.assign({},s,{[r]:e})}}return s=(0,o.reduce)(s,((s,u,c)=>{s[c]=u;const l=r&&r===c;if(l&&(a||!t.mergeQuery))return s;if(!l&&t.dontShareQueryResultsWhenQueriesAreDifferent)return s;const p=!l,d=this.constructor.QueryKey.parse(c);let f=!1;return e.forEach((e=>{const t=e[this.options.itemKey],r=n[t],i=s[c].itemKeys.indexOf(t);-1!==i?r&&this.constructor.matches(d,r)||(s[c]===u&&(s[c]=(0,o.clone)(u)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],p&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(d,r)&&(s[c]===u&&(s[c]=(0,o.clone)(u)),p&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(t),f=!0)})),f&&this.constructor.sort(s[c].itemKeys,n,d),i=i||s[c]!==u,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(56666),o=n(92819);class i{static omit(e){const{OMIT_NULL_VALUES:t,DEFAULT_QUERY:n}=this;return t||n?(0,o.omitBy)(e,((e,r)=>!(!t||null!==e)||!(!n||n[r]!==e))):e}static stringify(e){const t=this.omit(e),n=(0,o.sortBy)(Object.entries(t),(e=>e[0]));return JSON.stringify(n)}static parse(e){return this.omit(Object.fromEntries(JSON.parse(e)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:(e,t,n)=>{"use strict";n.d(t,{t:()=>r,H:()=>o});const r={number:20,page:1},o=["number","offset","page"]},44550:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),a=n(27866);const u=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(e){return!!e&&s.H.some((t=>e.hasOwnProperty(t)))}getItems(e){if(!e)return super.getItems(e);const t=this.getItemsIgnoringPage(e,!0);if(!t)return t;const n=e.page||this.constructor.DefaultQuery.page,r=e.number||this.constructor.DefaultQuery.number;return function(e,t,n){let r=u.get(e);r||(r=new Map,u.set(e,r));const o=`${t}/${n}`;let i=r.get(o);return i||(i=e.slice(t,t+n),r.set(o,i)),i}(t,(n-1)*r,r)}getItemsIgnoringPage(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;const n=super.getItems((0,o.omit)(e,s.H));return!n||t?n:n.filter((e=>void 0!==e))}getNumberOfPages(e){const t=this.getFound(e);if(null===t)return t;const n=e.number||this.constructor.DefaultQuery.number;return Math.ceil(t/n)}receive(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;t.query&&(n=Object.assign({mergeQuery:!0},t,{query:(0,o.omit)(t.query,s.H)}));const r=super.receive(e,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(t.query))return r;const i=this.constructor.QueryKey.stringify(t.query),a=t.query.page||this.constructor.DefaultQuery.page,u=t.query.number||this.constructor.DefaultQuery.number,c=(a-1)*u,l=r.data.queries[i];Array.isArray(e)||(e=[e]);const p=e.map((e=>e[this.options.itemKey])),d=(0,o.cloneDeep)(l);if(d.hasOwnProperty("found")&&e.length<u){const e=this.data.queries[i];e&&e.hasOwnProperty("found")&&(d.found=Math.max(e.found,d.found))}return d.itemKeys=[...(0,o.range)(0,c).map((e=>{const t=l.itemKeys[e];if(!p.includes(t))return t})),...(0,o.range)(0,u).map((e=>p[e])),...l.itemKeys.slice(c+u).filter((e=>e&&!p.includes(e)))],d.hasOwnProperty("found")&&(d.itemKeys=(0,o.range)(0,d.found).map((e=>d.itemKeys[e]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:d})}),r.options)}}(0,r.Z)(c,"QueryKey",a.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(e){return super.stringify((0,r.omit)(e,i.H))}static parse(e){return(0,r.omit)(super.parse(e),i.H)}}},725:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),a=n(44550),u=n(725),c=n(93039);class l extends a.Z{static matches(e,t){const n=Object.assign({},this.DefaultQuery,e);return Object.entries(n).every((e=>{let[n,r]=e;switch(n){case"search":{if(!r)return!0;const e=r.toLowerCase();return t.title&&t.title.toLowerCase().includes(e)||t.content&&t.content.toLowerCase().includes(e)}case"after":case"before":case"modified_after":case"modified_before":{const e=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return e.isValid()&&s()(t[i])[o](e)}case"term":return Object.entries(r).every((e=>{let[n,r]=e;return r=r.split(","),(0,o.some)(t.terms[n],(e=>{let{slug:t}=e;return r.includes(t)}))}));case"tag":case"category":{if(!r)return!0;const e=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(t[i],(t=>{let{name:n,slug:r}=t;return n&&n.toLowerCase()===e||r&&r.toLowerCase()===e}))}case"type":return"any"===r||r===t.type;case"parent_id":return r===t.parent||t.parent&&r===t.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(t.ID):r!==t.ID;case"sticky":return"require"===r?t.sticky:"exclude"!==r||!t.sticky;case"author":return(0,o.get)(t,"author.ID",t.author)===r;case"status":return"any"===r||String(r).split(",").some((e=>e===t[n]))}return!0}))}static compare(e,t,n){let r;switch(e.order_by){case"ID":r=t.ID-n.ID;break;case"comment_count":r=(0,o.get)(t.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=t.title.localeCompare(n.title);break;case"modified":r=new Date(t.modified)-new Date(n.modified);break;default:r=new Date(t.date)-new Date(n.date)}return e.order&&!/^desc$/i.test(e.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",u.e)},93039:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(92819),o=n(27866),i=n(725);function s(e,t){return null==e||i.e[t]===e}class a extends o.Z{static stringify(e){return super.stringify((0,r.omitBy)(e,s))}static parse(e){return(0,r.omitBy)(super.parse(e),s)}}},41900:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});const s=i},96252:(e,t,n)=>{"use strict";function r(e,t,n,r){if(!t)return e;const o=e[t]||r&&r();if(!o)return e;const i=n(o);return i===o?e:{...e,[t]:i}}n.d(t,{Z:()=>r})},55347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>"/"===e?e:e.replace(/\/$/,"")},72537:(e,t,n)=>{"use strict";n.d(t,{Cm:()=>o});n(92819);var r=n(47307);function o(e){return e.filter((t=>{const n=(0,r.ce)(t.URL);return!t.jetpack&&e.some((e=>e.jetpack&&n===(0,r.ce)(e.URL)))})).map((e=>e.ID))}},40822:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4174),o=n(78038),i=n(92819);function s(e,t){if("object"!=typeof e)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof t)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(t);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");e=(0,i.pickBy)(e,(e=>null!=e));const s=new URL(t,"http://__domain__.invalid"),a=new URLSearchParams(s.search);for(const r of Object.keys(e))a.set(r,String(e[r]));if(n===r.a.PATH_RELATIVE){let e=a.toString();return""!==e&&(e=`?${e}`),""!==s.search?t.replace(s.search,e):s.hash?t.replace(s.hash,`${e}${s.hash}`):`${t}${e}`}return s.search=a.toString(),(0,o.Z)(s,n)}},47307:(e,t,n)=>{"use strict";n.d(t,{ce:()=>o,nq:()=>i});const r=/^https?:\/\//;function o(e){return""===e?"":e?e.replace(r,""):null}function i(e){return e?o(e).replace(/\//g,"::"):null}},70353:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4174);function o(e,t){e=e||"/";if((0,r.D)(e)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=e,t?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(t.startsWith("/")?"":"/")+t,n.pathname):n.pathname}},29726:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var r=n(50118),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","has_promote_widget","has_jetpack_partner_access","jetpack_partner_types","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],a=["display_name","description","user_URL"];function u(e){if("object"!=typeof e)throw new Error("the /me response is not an object");for(const n of s)if(!e.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const t={};for(const n of i){const o=e[n];t[n]=o&&a.includes(n)?(0,r.S)(o):o}return Object.assign(t,(0,o.B)(e))}},41333:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(47307);function o(e){const t=e.primary_blog_url||"";return{primarySiteSlug:(n=t,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:e.language,localeVariant:e.locale_variant};var n}},26935:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(20899);function o(e,t){let n,o="";return null==e||!e.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=e&&e.localeSlug&&""!==e.localeSlug&&"en"!==e.localeSlug&&(o=e.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=e.logout_URL,"string"==typeof t&&(n+=t="&redirect_to="+encodeURIComponent(t)),n}},59852:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:(e,t,n)=>{"use strict";n.d(t,{YF:()=>s});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(20899),o=n(38049),i=n.n(o),s=n(91202),a=n(18552),u=n(7268),c=n(33300),l=n(54083),p=n(78009),d=n(21286);const f=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=new s.Z(u.LP(),l.Z):r.ZP.isEnabled("is_running_in_jetpack_site")?h=new s.Z(l.A):(h=new s.Z(a.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(e){if(e)throw e;f('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,c.Z)(h),(0,d.J)(h),(0,p.rc)(h);const g=h;new s.Z(l.Z)},78009:(e,t,n)=>{"use strict";n.d(t,{rc:()=>u});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",a=()=>i().get(s),u=e=>{const t=e.request.bind(e);Object.assign(e,{request(e,n){const o=a();if(o){const t=(0,r.parse)(e.query);e=Object.assign({},e,{query:(0,r.stringify)(Object.assign(t,{store_sandbox_ticket:o.value}))})}return t(e,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const e=a();e&&e.createdDate<Date.now()-72e5&&i().remove(s)})();const e=(0,r.parse)(window.location.search.replace("?",""));e.guest_ticket&&i().set(s,{createdDate:Date.now(),value:e.guest_ticket})})()},21286:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(11481),o=n(19126);function i(e){const t=e.request.bind(e);return Object.assign(e,{localized:!0,request:function(e,n){return t(function(e){const t=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!t||"en"===t)return e;let n;const i=(0,o.parse)(e.query);return n=e.apiNamespace?{_locale:t}:{locale:t},Object.assign(e,{query:(0,o.stringify)(Object.assign(n,i))})}(e),n)}})}},33300:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19126);function o(e){let t="",n="",o=null;const i=e.request.bind(e);return Object.assign(e,{addSupportParams:function(e){return{...e,support_user:t,_support_token:n}},setSupportUserToken:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(e!==t||r!==n)&&(t=e,n=r,o=i,!0)},request:(e,s)=>t&&n?i(function(e){const o=(0,r.parse)(e.query);return o.support_user=t,o._support_token=n,Object.assign({},e,{query:(0,r.stringify)(o)})}(e),((e,t)=>{o&&"invalid_support_token"===(null==e?void 0:e.error)?o(e):s(e,t)})):i(e,s)})}},54083:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,A:()=>a});var r=n(20899),o=n(26935),i=n(65792);async function s(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e,(async function(e,n,r){e&&"InvalidTokenError"===e.name&&(await(0,i.YF)(),window.location.href=(0,o.K)()),t(e,n,r)}))}async function a(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e={...e,proxyOrigin:(0,r.ZP)("api_root"),headers:{"X-WP-Nonce":(0,r.ZP)("nonce")},isRestAPI:!1,apiNamespace:"jetpack/v4/stats-app"},(async function(e,n,r){e&&"InvalidTokenError"===e.name&&await(0,i.YF)(),t(e,n,r)}))}},1422:(e,t,n)=>{"use strict"},77270:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(e){if(r.hasOwnProperty(e)){const[t,n]=r[e];return{[`autofocus[${t}]`]:n}}return null}},83373:(e,t,n)=>{"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(){if("undefined"==typeof document)return;const e=document.documentElement.clientWidth;return e>1040?720:e>928?e-304:e>660?e-288:e-20}},77327:(e,t,n)=>{"use strict";function r(e){if(e)return e.feed_ID&&e.feed_item_ID?{feedId:e.feed_ID,postId:e.feed_item_ID}:e.is_external?{feedId:e.feed_ID||e.site_ID,postId:e.feed_item_ID||e.ID}:{blogId:e.site_ID,postId:e.ID}}function o(e,t){return e===t||!(!e&&t||e&&!t||!e&&!t&&e!==t)&&(!(e.isGap&&!t.isGap||!e.isGap&&t.isGap)&&(e.isGap&&t.isGap?e.from===t.from&&e.to===t.to:e.postId===t.postId&&(e.feedId?e.feedId===t.feedId:e.blogId===t.blogId)))}function i(e){return!e||e.isGap?null:e.isRecommendationBlock?`rec-${e.index}`:e.feedId?`${e.postId}-${e.feedId}`:e.blogId?`${e.postId}-${e.blogId}`:null}function s(e){return e&&e.postId&&(e.blogId||e.feedId)}n.d(t,{WO:()=>r,NK:()=>o,C$:()=>i,J0:()=>s})},7728:(e,t,n)=>{"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:(e,t,n)=>{"use strict";n.d(t,{yg:()=>u});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const a=new Set;function u(e,t,n,r){if(!e||!t||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:t.replace(/.*?:\/\//g,""),blog:e,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}a.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:(e,t,n)=>{"use strict";n.d(t,{qb:()=>r});n(92819),n(76292),n(83373);function r(e,t){return e&&t&&e.xPostMetadata&&t.xPostMetadata&&e.xPostMetadata.blogId&&e.xPostMetadata.blogId===t.xPostMetadata.blogId&&e.xPostMetadata.postId&&e.xPostMetadata.postId===t.xPostMetadata.postId}},40211:(e,t,n)=>{"use strict";n.d(t,{u2u:()=>r,Wj3:()=>o,lAo:()=>i,K5f:()=>s,ti2:()=>a,Fux:()=>u,JYg:()=>c,gm2:()=>l,uBM:()=>p,KAg:()=>d,T4d:()=>f,w6q:()=>h,M5U:()=>g,tGX:()=>m,K1T:()=>y,sQe:()=>v,HYG:()=>w,HCR:()=>b,T6o:()=>_,ON1:()=>E,sBg:()=>S,zVI:()=>C,DGo:()=>P,gQI:()=>I,cnn:()=>k,G1W:()=>T,dAl:()=>A,YPU:()=>R,iHL:()=>O,H6A:()=>L,vQd:()=>x,o9b:()=>F,Mei:()=>U,B1O:()=>N,nHy:()=>D,oH7:()=>Z,f5U:()=>j,AKl:()=>M,M7f:()=>q,Sur:()=>B,$Tb:()=>H,IoY:()=>V,Ylp:()=>W,k_K:()=>$,myH:()=>z,yGK:()=>G,IwF:()=>Q,R_D:()=>Y,kJ4:()=>K,Syf:()=>J,vsK:()=>X,qjX:()=>ee,$tj:()=>te,Do$:()=>ne,ILV:()=>re,SgU:()=>oe,tyO:()=>ie,eYx:()=>se,c2t:()=>ae,Xeb:()=>ue,Oh9:()=>ce,ftJ:()=>le,kUt:()=>pe,XTm:()=>de,vO0:()=>fe,JqF:()=>he,NnF:()=>ge,aqr:()=>me,WkZ:()=>ye,hxz:()=>ve,C6k:()=>we,T3s:()=>be,X5K:()=>_e,h2B:()=>Ee,Rp6:()=>Se,LbL:()=>Ce,xkR:()=>Pe,kNW:()=>Ie,oD3:()=>ke,RFP:()=>Te,rgA:()=>Ae,AVO:()=>Re,a7F:()=>Oe,PP1:()=>Le,pgH:()=>xe,Ra4:()=>Fe,nL0:()=>Ue,F1Z:()=>Ne,JZv:()=>De,R$r:()=>Ze,NYz:()=>je,gpX:()=>Me,Se1:()=>qe,bE0:()=>Be,vIA:()=>He,N__:()=>Ve,CNw:()=>We,hZH:()=>$e,KF6:()=>ze,WYe:()=>Ge,vP0:()=>Qe,hYA:()=>Ye,XMF:()=>Ke,LEp:()=>Je,A4M:()=>Xe,pSd:()=>et,PD1:()=>tt,N8o:()=>nt,XuD:()=>rt,lCo:()=>ot,jhA:()=>it,JPH:()=>st,kLL:()=>at,dGx:()=>ut,WjV:()=>ct,RIF:()=>lt,gbe:()=>pt,pJb:()=>dt,m58:()=>ft,_qM:()=>ht,Fsf:()=>gt,$5Y:()=>mt,XMH:()=>yt,_MG:()=>vt,RSp:()=>wt,Nq:()=>bt,IK5:()=>_t,bgv:()=>Et,tvw:()=>St,U5d:()=>Ct,QLz:()=>Pt,D5g:()=>It,SYS:()=>kt,t2O:()=>Tt,wOJ:()=>At,dyA:()=>Rt,RI4:()=>Ot,fa4:()=>Lt,xNf:()=>xt,YCt:()=>Ft,uvG:()=>Ut,Kmp:()=>Nt,Frv:()=>Dt,Byq:()=>Zt,lfH:()=>jt,lTr:()=>Mt,gNn:()=>qt,Rmh:()=>Bt,$MQ:()=>Ht,XLI:()=>Vt,U0$:()=>Wt,eO9:()=>$t,S3d:()=>zt,whB:()=>Gt,UUJ:()=>Qt,hJk:()=>Yt,uuM:()=>Kt,Mvd:()=>Jt,KBY:()=>Xt,rZJ:()=>en,xLe:()=>tn,M4_:()=>nn,eTV:()=>rn,KSQ:()=>on,Khp:()=>sn,koV:()=>an});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",a="ANALYTICS_TRACKS_OPT_OUT",u="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",p="CURRENT_USER_RECEIVE",d="CURRENT_USER_SET_EMAIL_VERIFIED",f="CURRENT_USER_SET_JETPACK_PARTNER_TYPE",h="DOMAIN_CONTACT_INFO_DISCLOSE",g="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",m="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",y="DOMAIN_CONTACT_INFO_REDACT",v="DOMAIN_CONTACT_INFO_REDACT_FAILURE",w="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",_="DOMAIN_PRIVACY_DISABLE_FAILURE",E="DOMAIN_PRIVACY_DISABLE_SUCCESS",S="DOMAIN_PRIVACY_ENABLE",C="DOMAIN_PRIVACY_ENABLE_FAILURE",P="DOMAIN_PRIVACY_ENABLE_SUCCESS",I="EDITOR_START",k="EDITOR_STOP",T="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",R="EMAIL_VERIFY_REQUEST_SUCCESS",O="EMAIL_VERIFY_STATE_RESET",L="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",F="HAPPYCHAT_FOCUS",U="HAPPYCHAT_IO_INIT",N="HAPPYCHAT_IO_RECEIVE_ENV",D="HAPPYCHAT_IO_RECEIVE_ACCEPT",Z="HAPPYCHAT_IO_RECEIVE_CONNECT",j="HAPPYCHAT_IO_RECEIVE_DISCONNECT",M="HAPPYCHAT_IO_RECEIVE_ERROR",q="HAPPYCHAT_IO_RECEIVE_INIT",B="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",H="HAPPYCHAT_IO_RECEIVE_MESSAGE",V="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",W="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",$="HAPPYCHAT_IO_RECEIVE_RECONNECTING",z="HAPPYCHAT_IO_RECEIVE_STATUS",G="HAPPYCHAT_IO_RECEIVE_TOKEN",Q="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",Y="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",K="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",J="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",X="HAPPYCHAT_IO_SEND_MESSAGE_LOG",ee="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",te="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",ne="HAPPYCHAT_IO_SEND_PREFERENCES",re="HAPPYCHAT_IO_SEND_TYPING",oe="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",ie="HAPPYCHAT_MINIMIZING",se="HAPPYCHAT_OPEN",ae="HAPPYCHAT_SET_CURRENT_MESSAGE",ue="HAPPYCHAT_SET_USER_CONFIG",ce="JETPACK_DISCONNECT_RECEIVE",le="JETPACK_SITE_DISCONNECT_REQUEST",pe="LAYOUT_FOCUS_SET",de="LAYOUT_NEXT_FOCUS_ACTIVATE",fe="LAYOUT_NEXT_FOCUS_SET",he="LOCALE_SET",ge="MASTERBAR_TOGGLE_VISIBILITY",me="MEDIA_DELETE",ye="MEDIA_MODAL_VIEW_SET",ve="NOTIFICATIONS_PANEL_TOGGLE",we="POST_COUNTS_RECEIVE",be="POST_COUNTS_REQUEST",_e="POST_COUNTS_REQUEST_FAILURE",Ee="POST_COUNTS_REQUEST_SUCCESS",Se="POST_COUNTS_RESET_INTERNAL_STATE",Ce="POST_DELETE",Pe="POST_DELETE_FAILURE",Ie="POST_DELETE_SUCCESS",ke="POST_EDIT",Te="POST_LIKE",Ae="POST_LIKES_ADD_LIKER",Re="POST_LIKES_RECEIVE",Oe="POST_LIKES_REMOVE_LIKER",Le="POST_LIKES_REQUEST",xe="POST_REQUEST",Fe="POST_REQUEST_FAILURE",Ue="POST_REQUEST_SUCCESS",Ne="POST_RESTORE",De="POST_RESTORE_FAILURE",Ze="POST_REVISION_AUTHORS_RECEIVE",je="POST_REVISIONS_DIALOG_CLOSE",Me="POST_REVISIONS_DIALOG_OPEN",qe="POST_REVISIONS_DIFF_SPLIT_VIEW",Be="POST_REVISIONS_DIFF_UNIFY_VIEW",He="POST_REVISIONS_RECEIVE",Ve="POST_REVISIONS_SELECT",We="POST_SAVE",$e="POST_SAVE_SUCCESS",ze="POST_TYPE_LIST_SHARE_PANEL_HIDE",Ge="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Qe="POST_UNLIKE",Ye="POSTS_RECEIVE",Ke="POSTS_REQUEST",Je="POSTS_REQUEST_FAILURE",Xe="POSTS_REQUEST_SUCCESS",et="PREFERENCES_FETCH",tt="PREFERENCES_FETCH_FAILURE",nt="PREFERENCES_FETCH_SUCCESS",rt="PREFERENCES_RECEIVE",ot="PREFERENCES_SAVE_SUCCESS",it="PREFERENCES_SAVE_FAILURE",st="PREFERENCES_SET",at="PREVIEW_URL_CLEAR",ut="PREVIEW_URL_SET",ct="PURCHASE_REMOVE_COMPLETED",lt="PURCHASE_REMOVE_FAILED",pt="PURCHASES_REMOVE",dt="PURCHASES_SITE_FETCH",ft="PURCHASES_SITE_FETCH_COMPLETED",ht="PURCHASES_SITE_FETCH_FAILED",gt="PURCHASES_SITE_RESET_STATE",mt="PURCHASES_USER_FETCH",yt="PURCHASES_USER_FETCH_COMPLETED",vt="PURCHASES_USER_FETCH_FAILED",wt="ROUTE_SET",bt="SECTION_LOADING_SET",_t="SECTION_SET",Et="SELECTED_SITE_SET",St="SITE_CONNECTION_STATUS_RECEIVE",Ct="SITE_CONNECTION_STATUS_REQUEST",Pt="SITE_CONNECTION_STATUS_REQUEST_FAILURE",It="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",kt="SITE_DELETE_RECEIVE",Tt="SITE_DOMAINS_RECEIVE",At="SITE_DOMAINS_REQUEST",Rt="SITE_DOMAINS_REQUEST_FAILURE",Ot="SITE_DOMAINS_REQUEST_SUCCESS",Lt="SITE_FEATURES_FETCH",xt="SITE_FEATURES_FETCH_COMPLETED",Ft="SITE_FEATURES_FETCH_FAILED",Ut="SITE_FRONT_PAGE_UPDATE",Nt="SITE_INTRO_OFFER_RECEIVE",Dt="SITE_INTRO_OFFER_REQUEST",Zt="SITE_INTRO_OFFER_REQUEST_FAILURE",jt="SITE_INTRO_OFFER_REQUEST_SUCCESS",Mt="SITE_MIGRATION_STATUS_UPDATE",qt="SITE_PLANS_FETCH",Bt="SITE_PLANS_FETCH_COMPLETED",Ht="SITE_PLANS_FETCH_FAILED",Vt="SITE_PLANS_REMOVE",Wt="SITE_PLUGIN_UPDATED",$t="SITE_PRODUCTS_FETCH",zt="SITE_PRODUCTS_FETCH_COMPLETED",Gt="SITE_PRODUCTS_FETCH_FAILED",Qt="SITE_RECEIVE",Yt="SITE_REQUEST",Kt="SITE_REQUEST_FAILURE",Jt="SITE_REQUEST_SUCCESS",Xt="SITE_SETTINGS_RECEIVE",en="SITE_SETTINGS_UPDATE",tn="SITES_RECEIVE",nn="SITES_REQUEST",rn="SITES_REQUEST_FAILURE",on="SITES_REQUEST_SUCCESS",sn="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",an="WPCOM_HTTP_REQUEST"},48539:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92819);const o=(e,t)=>Array.isArray(e)?e.concat(t):void 0,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>1?(0,r.mergeWith)(Object.create(null),...t,o):t[0]}},86398:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,l:()=>a});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const a=(e,t)=>(n,s)=>{const a=s.storageKey,u=function(e){return e.join(".")}(n),c=i.get(u),l=o.get(u);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${u}`);if(!l){if(e.addReducer(n,s),a&&t){const n=t(s,a);n&&e.dispatch({type:r.gm2,storageKey:a,storedState:n})}o.set(u,!0),i.set(u,s)}}},19298:(e,t,n)=>{"use strict";n.d(t,{jN:()=>i});var r=n(40211);const o=(e,t)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:e},t)}]}}),i=(e,t)=>o("tracks",{name:e,properties:t})},15223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(25394),o=n(44567),i=n(80252),s=n(7689),a=n(66610),u=n(17032),c=n(40211);const l={ga:e=>{let{category:t,action:n,label:r,value:i}=e;return(0,o.Yh)(t,n,r,i)},tracks:e=>{let{name:t,properties:n}=e;return(0,u.recordTracksEvent)(t,n)},fb:e=>{let{name:t,properties:n}=e;return(0,r.K)(t,n)},adwords:e=>{let{properties:t}=e;return(0,r.w)(t)}},p={ga:e=>{let{url:t,title:n}=e;return(0,o.eK)(t,n)},default:e=>{let{url:t,title:n,options:r,...o}=e;return(0,a.A)(t,n,o,r)}},d=e=>{e.meta.analytics.forEach((e=>{var t,n;let{type:r,payload:o}=e;const{service:i="default",...a}=o;switch(r){case c.u2u:return null===(t=l[i])||void 0===t?void 0:t.call(l,a);case c.Wj3:return null===(n=p[i])||void 0===n?void 0:n.call(p,a);case c.lAo:return(e=>{let{group:t,name:n}=e;return(0,s.P)(t,n)})(a)}}))},f=()=>e=>t=>{var n;switch(t.type){case c.K5f:return void("HotJar"===t.trackingTool&&(0,i.o)());case c.ti2:return void(0,u.setTracksOptOut)(t.isOptingOut);default:null!==(n=t.meta)&&void 0!==n&&n.analytics&&d(t)}return e(t)}},6255:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>function(){const t=e(...arguments);return"undefined"!=typeof window&&(Object.assign(window,t),Object.defineProperty(window,"state",{enumerable:!0,get:t.getState})),t}},91668:(e,t,n)=>{"use strict";n.d(t,{lx:()=>o});n(65792);var r=n(40211);n(36747);function o(e){return{type:r.uBM,user:e}}},79482:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(40211);const o=(0,n(95884).U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return e},errorMessage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.G1W:case r.YPU:return"";case r.dAl:{const{message:e}=t;return e}case r.iHL:return""}return e}})},18724:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});var r=n(40211),o=n(29398),i=n(95884),s=n(79482),a=n(21826);const u=(0,o.G)(a.K6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.ID:e})),c=(0,o.G)(a.bH,(function(){var e,t,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(e=i.user.meta)||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(e,t){if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>t[n]===e[n]))}const p=(0,o.G)(a.kX,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.UUJ:case r.xLe:return(t.site?[t.site]:t.sites).reduce(((t,n)=>(!n.capabilities||l(n.capabilities,t[n.ID])||(t===e&&(t={...e}),t[n.ID]=n.capabilities),t)),e)}return e})),d=(0,o.G)(a.y4,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.lasagna_jwt||null:e})),f=(0,i.U)({id:u,user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.uBM:return t.user;case r.KAg:return{...e,email_verified:t.verified};case r.T4d:return{...e,jetpack_partner_types:[...e.jetpack_partner_types||[],t.jetpack_partner_type],has_jetpack_partner_access:!0}}return e},capabilities:p,flags:c,emailVerification:s.ZP,lasagnaJwt:d})},21826:(e,t,n)=>{"use strict";n.d(t,{K6:()=>r,kX:()=>o,bH:()=>i,y4:()=>s});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:(e,t,n)=>{"use strict";function r(e){var t;return null===(t=e.currentUser)||void 0===t?void 0:t.id}function o(e){var t;return(null==e||null===(t=e.currentUser)||void 0===t?void 0:t.user)??null}n.d(t,{rc:()=>r,ts:()=>o,bo:()=>s,vz:()=>a});const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[e])??t}};i("localeSlug"),i("user_ip_country_code");function s(e){const t=o(e);return t?t.site_count||0:null}i("date"),i("username");const a=i("email");i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:(e,t,n)=>{"use strict";n.d(t,{Z9:()=>s});var r=n(48539);let o={};const i=new Set,s=(e,t)=>{i.has(e)||(i.add(e),o=(0,r.A)(o,t))}},85875:(e,t,n)=>{"use strict";n.d(t,{aF:()=>i});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=e=>(0,r.zc)(e,o)},28867:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(40211);const o=function(e){let{apiVersion:t,apiNamespace:n,body:o,method:i,path:s,query:a={},formData:u,onSuccess:c,onFailure:l,onProgress:p,onStreamRecord:d,...f}=e,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const g=n?{apiNamespace:n}:{apiVersion:t};return{type:r.koV,body:o,method:i,path:s,query:{...a,...g},formData:u,onSuccess:c||h,onFailure:l||h,onProgress:p||h,onStreamRecord:d||h,options:f}}},57195:(e,t,n)=>{"use strict";n.d(t,{iD:()=>r});const r=()=>({name:"NO_RETRY"});!function(){let{delay:e=1e3,maxAttempts:t=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,e),Math.min(5,t)}()},67577:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),a=n(92819),u=n(15960);const c=()=>{},l=e=>e,p=e=>(0,a.get)(e,"meta.dataLayer.data",void 0),d=e=>(0,a.get)(e,"meta.dataLayer.error",void 0),f=e=>(0,a.get)(e,"meta.dataLayer.progress",void 0),h=((0,u.J)("meta.dataLayer.requestKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:t,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?e:Object.assign({...e},{status:r},t&&{lastUpdated:t},n&&{pendingSince:n})})),g=e=>(t,n)=>{if(!0!==(0,a.get)(n,"meta.dataLayer.trackRequest")||f(n))return e(t,n);const r=(e=>{const{meta:t,...n}=e;return(0,a.get)(t,"dataLayer.requestKey")||s()(n)})(n),o=(e=>void 0!==d(e)?"failure":void 0!==p(e)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});e({...t,dispatch:e=>t.dispatch((0,a.merge)(e,{meta:{dataLayer:i}}))},n)},e=>(e.fetch||o()("fetch handler is not defined: no request will ever be issued"),e.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),e.onError||o()("onError handler is not defined: error during the request is being ignored"),g(((t,n)=>{const r=function(e,t){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:u=l}=e,h=d(t);if(h)return o(t,h);const g=p(t);if(g)try{return r(t,u(g))}catch(v){return o(t,v)}const m=f(t);if(m)return i(t,m);const y=(e=>(0,a.get)(e,"meta.dataLayer.streamRecord",void 0))(t);return y?s(t,y):n(t)}(e,n);if(r)return Array.isArray(r)?r.map(t.dispatch):t.dispatch(r)}))));var g},8681:(e,t,n)=>{"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),a=n(67577),u=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[u.LW]:[(0,a.BN)({fetch:function(e){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${e.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},e)},onSuccess:function(e,t){return(0,o.aF)((0,c.N0)(t))},onError:function(e,t){return(0,o.aF)((0,c.vE)(e,t))}})]})},26385:(e,t,n)=>{"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),a=n(67577),u=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,a.BN)({fetch:e=>(0,s.d)({method:"GET",path:`/sites/${e.siteId}/posts/${e.postId}/likes`,apiVersion:"1.1"},e),fromApi:e=>({found:+e.found,iLike:!!e.i_like,likes:e.likes}),onSuccess:(e,t)=>{let{siteId:n,postId:r}=e;return(0,u.u5)(n,r,t)},onError:()=>{}})]}))},77433:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.Ui)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.vL)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+e.like_count,liker:e.liker}}})]});const c={}},46600:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(77433).ZP},90347:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/new`,body:{},apiVersion:"1.1",query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.eT)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.Yt)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful like API call");return{likeCount:+e.like_count,liker:e.liker}}})]});const c={}},85745:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>m});var r=n(40211),o=n(28447),i=n(29398),s=n(71085),a=n(95884),u=n(83551);const c=e=>e<17e8?1e3*e:e,l=(0,i.G)({type:"number"},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.qjX:case r.$Tb:return Date.now()}return e})),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.$Tb:case r.IoY:case r.Ylp:{var n;const{message:e}=t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.avatarURL,isEdited:!!e.revisions,isOptimistic:e.isOptimistic,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(n=e.meta)||void 0===n?void 0:n.links}}}return e},d=e=>parseInt(e.timestamp,10),f=(e,t)=>d(e)-d(t),h=e=>e.slice().sort(f),g=(0,i.G)(u.v,(0,s.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.$Tb:case r.IoY:{var n;if(null!==(n=t.message.meta)&&void 0!==n&&n.forOperator)return e;const r=p({},t),o=e.findIndex((e=>{let{id:t}=e;return r.id===t}));return o>=0?[...e.slice(0,o),r,...e.slice(o+1)]:e.concat([r])}case r.Ylp:{const n=e.findIndex((e=>{let{id:n}=e;return t.message.id===n}));return-1===n?e:[...e.slice(0,n),p({},t),...e.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=t.messages)||void 0===o?void 0:o.filter((t=>{var n;return!!t.id&&((null===(n=t.meta)||void 0===n||!n.forOperator)&&!e.some((e=>e.id===t.id)))})))??[];return h(e.concat(n.map((e=>{var t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.picture,isEdited:!!e.revisions,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(t=e.meta)||void 0===t?void 0:t.links}}))))}}return e}),{serialize:e=>e.slice(-1*o.lc)})),m=(0,a.U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,t=arguments.length>1?arguments[1]:void 0;return t.type===r.myH?t.status:e},timeline:g,lastActivityTimestamp:l})},83551:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:(e,t,n)=>{"use strict";n.d(t,{id:()=>s,nv:()=>a,wH:()=>u,k_:()=>c,up:()=>l,Mo:()=>p,pL:()=>d,CM:()=>f,$W:()=>h,QM:()=>g,dN:()=>m,gg:()=>y,KX:()=>v,Mx:()=>w,bi:()=>_,qP:()=>E,yW:()=>S});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),a=e=>({type:o.f5U,error:e}),u=()=>({type:o.yGK}),c=e=>({type:o.M7f,user:e}),l=e=>({type:o.IwF,error:e}),p=()=>({type:o.k_K}),d=e=>({type:o.nHy,isAvailable:e}),f=e=>({type:o.B1O,env:e}),h=e=>({type:o.Sur,isAvailable:e}),g=e=>({type:o.$Tb,message:e}),m=e=>({type:o.IoY,message:{...e,isOptimistic:!0}}),y=e=>({type:o.Ylp,message:e}),v=e=>({type:o.myH,status:e}),w=e=>({type:o.AKl,error:e}),b=e=>{let{messages:t,timestamp:n}=e;return{type:o.kJ4,messages:t,timestamp:n}},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:e,timeout:t,callback:b}},E=e=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),S=e=>({type:o.SgU,event:"chat.setFields",payload:e})},80258:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(40211),o=n(28447);const i=(0,n(95884).U)({error:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.M7f:return null;case r.f5U:return t.error}return e},isAvailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.nHy?t.isAvailable:e},env:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.B1O?t.env:e},localizedSupport:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.Sur?t.isAvailable:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return e}})},28447:(e,t,n)=>{"use strict";n.d(t,{SJ:()=>r,bp:()=>o,XY:()=>i,oP:()=>s,ad:()=>a,lc:()=>u,so:()=>c,dZ:()=>l,s0:()=>p});const r="uninitialized",o="connecting",i="connected",s="disconnected",a="reconnecting",u=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",p="default"},84656:(e,t,n)=>{"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(10819),o=n(40211),i=n(94002),s=n(11834),a=n(27443);const u={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=(0,r.Z)({receiveAccept:i.pL,receiveConnect:i.id,receiveDisconnect:i.nv,receiveError:i.Mx,receiveInit:i.k_,receiveLocalizedSupport:i.$W,receiveHappychatEnv:i.CM,receiveMessage:i.QM,receiveMessageOptimistic:i.dN,receiveMessageUpdate:i.gg,receiveReconnecting:i.Mo,receiveStatus:i.KX,receiveToken:i.wH,receiveUnauthorized:i.up,requestTranscript:i.bi})),t=>n=>r=>{const c=t.getState();switch(r.type){case o.Mei:e.init(t.dispatch,r.auth);break;case o.R_D:e.request(r,r.timeout);break;case o.$tj:e.send(r),t.dispatch((0,i.yW)({}));break;case o.Syf:case o.vsK:case o.qjX:case o.Do$:case o.ILV:case o.SgU:e.send(r);break;case o.vQd:case o.o9b:(0,a.Z)(c)&&(0,s.Z)(c)&&u[r.type]&&t.dispatch((0,i.qP)(u[r.type]))}return n(r)}}()},61741:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(83685),o=n(95884),i=n(85745),s=n(80258),a=n(29837),u=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.ZP,ui:a.ZP,user:u.ZP}),l=(0,r.xi)("happychat",c)},83455:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);n(84656);function o(e){return(0,r.get)(e,"happychat.connection.status")}},11834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(28447);n(84656);const i=e=>(0,r.get)(e,"happychat.chat.status")===o.dZ},27443:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(28447),o=n(83455);function i(e){return(0,o.Z)(e)===r.XY}},29837:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const a=(0,o.G)({type:"number"},(0,i.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.vQd:return Date.now();case r.o9b:return null}return e}),{serialize:e=>null===e?Date.now():e})),u=(0,s.U)({currentMessage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.qjX:return"";case r.c2t:return t.message}return e},isMinimizing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.tyO?!!t.isMinimizing:e},isOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.eYx?!!t.isOpen:e},lostFocusAt:a})},12844:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const a=(0,o.G)(s.FB,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===r.M7f){const n=t.user.geoLocation;return n&&n.country_long&&n.city?n:e}return e})),u=(0,o.G)(s.Cv,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.isUserEligible:e})),c=(0,o.G)(s.i6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.availability:e})),l=(0,o.G)(s._B,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.supportLevel:e})),p=(0,i.U)({geoLocation:a,isEligible:u,availability:c,supportLevel:l})},71320:(e,t,n)=>{"use strict";n.d(t,{FB:()=>r,Cv:()=>o,i6:()=>i,_B:()=>s});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!t)return[];const r=(0,i.Z)(e);return(0,o.x)(t,(0,o.p)(e,r),n)}),(e=>[(0,i.Z)(e)]))},80951:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(32988);const u=(()=>{let e,t={};function n(e,t){return[e,t].join()}function s(o,i,s,a){const u=n(i,s),c=t[u];if(!c)return o;const l=["all"];c.authorId===e&&l.push("mine");const p=l.reduce(((e,t)=>{const n=(0,r.get)(o,[i,c.type,t],{});return e[t]={},e[t][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==a&&(e[t][a]=(n[a]||0)+1),e}),{});return"deleted"===a?t=(0,r.omit)(t,u):c.status=a,(0,r.merge)(p,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:p}})}return(0,i.G)(a.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case o.Rp6:return e=void 0,t={},i;case o.uBM:return e=a.user.ID,i;case o.hYA:return a.posts.forEach((e=>{const o=n(e.site_ID,e.ID),a=t[o];a&&e.status!==a.status&&(i=s(i,e.site_ID,e.ID,e.status)),t[o]=(0,r.pick)(e,"type","status"),t[o].authorId=(0,r.get)(e.author,"ID")})),i;case o.CNw:{const{siteId:e,postId:t,post:n}=a;return n.status?s(i,e,t,n.status):i}case o.LbL:return s(i,a.siteId,a.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[a.siteId]:{[a.postType]:a.counts}})}return i}))})(),c=(0,s.U)({requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},e,{[t.siteId]:{[t.postType]:o.T3s===t.type}})}return e},counts:u})},32988:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:(e,t,n)=>{"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:(e,t,n)=>{"use strict";n.d(t,{vL:()=>o,Yt:()=>i,u5:()=>s,eT:()=>a,Ui:()=>u});var r=n(40211);n(26385),n(70263);const o=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:e,postId:t,source:n}},i=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:e,postId:t,source:n}},s=(e,t,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:e,postId:t,likes:o,iLike:i,found:s}},a=(e,t,n,o)=>({type:r.rgA,siteId:e,postId:t,likeCount:n,liker:o}),u=(e,t,n,o)=>({type:r.a7F,siteId:e,postId:t,likeCount:n,liker:o})},26353:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(92819),o=n(40211),i=n(29398),s=n(15960),a=n(95884),u=n(40057);const c=(0,i.G)(u.Z,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.AVO:{const{likes:n,iLike:r,found:o}=t;return{likes:Array.isArray(n)?n.map((e=>({ID:e.ID,avatar_URL:e.avatar_URL,login:e.login,name:e.name,site_ID:e.site_ID,site_visible:e.site_visible}))):e.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return e.iLike?e:{likes:e.likes,iLike:!0,found:e.found+1,lastUpdated:e.lastUpdated};case o.vP0:return e.iLike?{likes:e.likes,iLike:!1,found:Math.max(0,e.found-1),lastUpdated:e.lastUpdated}:e;case o.rgA:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&i)return e;let s=e.likes;return i||(s=[o,...e.likes||[]]),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&!i)return e;let s=e.likes;return i&&(s=e.likes.filter((e=>o.ID!==e.ID))),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}}return e})),l=(0,s.J)("siteId",(0,s.J)("postId",c)),p=(0,a.U)({items:l})},40057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>R});var r=n(92819),o=n(3982),i=n(96252),s=n(40211),a=n(13360),u=n(29398),c=n(71085),l=n(95884),p=n(72725),d=n(26353),f=n(8588),h=n(49061),g=n(41900),m=n(2205),y=n(78261),v=n(78928),w=n(38239),b=n(26588),_=n(73831),E=n(57384),S=n(40178),C=n(92110),P=n(40373);const I=(0,u.G)(h.dj,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.hYA:return(0,r.reduce)(t.posts,((t,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return t[i]||(t===e&&(t={...t}),t[i]=[r,o]),t}),e);case s.kNW:{const n=(0,r.findKey)(e,(e=>{let[n,r]=e;return n===t.siteId&&r===t.postId}));return n?(0,r.omit)(e,n):e}}return e}));const k=(0,u.G)(h.kl,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:s,found:a}=t;if(!n)return e;const u=s.map(y.P);return(0,i.Z)(e,n,(e=>e.receive(u,{query:r,found:a})),(()=>new o.Z))}case s.hYA:{const{posts:n}=t,s=(0,r.reduce)(n,((e,t)=>Object.assign(e,{[t.site_ID]:[...e[t.site_ID]||[],(0,y.P)(t)]})),{});return(0,r.reduce)(s,((e,t,n)=>(0,i.Z)(e,n,(e=>e.receive(t)),(()=>new o.Z))),e)}case s.F1Z:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.removeItem(r)))}}return e}),{serialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return{data:t,options:n}})),deserialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return new o.Z(t,n)}))}));function T(e,t,n){return(0,r.findKey)(e.data.items,(e=>e.site_ID===t&&e.ID===n))||null}const A=(0,u.G)(g.Z,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=t;return n?e:e.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=t;return e.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=t,i=T(e,n,r);return e.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=t,o=T(e,n,r);return e.removeItem(o)}}return e}),{serialize:e=>{let{data:t,options:n}=e;return{data:t,options:n}},deserialize:e=>{let{data:t,options:n}=e;return new o.Z(t,n)}}));const R=(0,l.U)({counts:p.ZP,items:I,siteRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.pgH:case s.nL0:case s.Ra4:return Object.assign({},e,{[t.siteId]:Object.assign({},e[t.siteId],{[t.postId]:s.pgH===t.type})})}return e},queryRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.XMF:case s.A4M:case s.LEp:const n=(0,m.v)(t.query,t.siteId);return Object.assign({},e,{[n]:s.XMF===t.type})}return e},queries:k,allSitesQueries:A,edits:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.hYA:return(0,r.reduce)(t.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===e&&(n=(0,r.merge)({},e)),t.saveMarker){const e=i.indexOf(t.saveMarker);-1!==e&&(i=i.slice(e+1))}const s=(0,v.Z)(...i);let u=null;if(s){const e=(0,r.omitBy)(s,((e,t)=>{switch(t){case"author":return(0,w.J)(e,o[t]);case"date":return(0,b.S)(e,o[t]);case"discussion":return(0,_.y)(e,o[t]);case"featured_image":return e===(0,a.g)(o);case"metadata":return!0;case"status":return(0,E.D)(e,o[t]);case"terms":return(0,S.v)(e,o[t])}return(0,r.isEqual)(o[t],e)}));if(s.metadata){const t=(0,C.F)(s.metadata,o.metadata);t.length>0&&(e.metadata=t)}(0,r.isEmpty)(e)||(u=[e])}return(0,r.set)(n,[o.site_ID,o.ID],u)}),e);case s.oD3:{const n=t.siteId,o=t.postId||"",i=(0,r.get)(e,[n,o]),s=(0,P.V)(i,t.post);return{...e,[n]:{...e[n],[o]:s}}}case s.gQI:return Object.assign({},e,{[t.siteId]:{...e[t.siteId],[t.postId||""]:null}});case s.cnn:if(!e.hasOwnProperty(t.siteId))break;return Object.assign({},e,{[t.siteId]:(0,r.omit)(e[t.siteId],t.postId||"")});case s.hZH:{const n=t.siteId;if(""===(t.postId||"")&&t.savedPost){const o=t.savedPost.ID;e={...e,[n]:(0,r.mapKeys)(e[n],((e,t)=>""===t?o:t))}}return e}}return e},likes:d.ZP,revisions:f.ZP})},17811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(40211);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.R$r?(0,r.reduce)(t.users,((t,n)=>(t===e&&(t={...e}),t[n.ID]=n,t)),e):e}})},8588:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a});var r=n(92819),o=n(40211),i=n(95884),s=n(17811);const a=(0,i.U)({diffs:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:t,postId:n,revisions:i,siteId:s,type:a}=arguments.length>1?arguments[1]:void 0;if(a!==o.vIA)return e;if(!Number.isInteger(s)||s<=0)return e;const u=(0,r.get)(e,[s,n],{}),c={...(0,r.get)(u,"revisions",{}),...i},l=(0,r.filter)(t,(e=>{let{diff:t,from:n,to:o}=e;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(t))))}));return(0,r.isEmpty)(l)?e:{...e,[s]:{...e[s],[n]:{...{...(0,r.omit)(u,"revisions"),...(0,r.keyBy)(l,(e=>`${e.from}:${e.to}`))},revisions:c}}}},selection:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.N__:return{...e,revisionId:t.revisionId};case o.oD3:case o.bgv:return{...e,revisionId:null};default:return e}},ui:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.NYz:return{...e,isDialogVisible:!1};case o.gpX:return{...e,isDialogVisible:!0};case o.Se1:return{...e,diffView:"split"};case o.bE0:return{...e,diffView:"unified"};default:return e}},authors:s.Z})},49061:(e,t,n)=>{"use strict";n.d(t,{dj:()=>o,kl:()=>i});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(92819),o=n(78928);function i(e,t){if((0,r.isEmpty)(e))return[t];const n=(0,r.last)(e);if("string"==typeof n)return[...e,t];const i=e.slice(0,-1);return i.push((0,o.Z)(n,t)),i}},13360:(e,t,n)=>{"use strict";function r(e){if(e)return"featured_image"in e&&!/^https?:\/\//.test(e.featured_image)?e.featured_image:e.post_thumbnail?e.post_thumbnail.ID:void 0}n.d(t,{g:()=>r})},91602:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(92819),o=n(80951);function i(e){return(0,r.omitBy)(e,((e,t)=>o.e[t]===e))}},2205:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(91602);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(e),o=JSON.stringify(n);return t?[t,o].join(":"):o}},38239:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(92819);function o(e,t){return(0,r.get)(e,"ID")===(0,r.get)(t,"ID")}},26588:(e,t,n)=>{"use strict";function r(e,t){return!1===e||e&&new Date(e).getTime()===new Date(t).getTime()}n.d(t,{S:()=>r})},73831:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;return(0,r.get)(t,[n])===o}))}},57384:(e,t,n)=>{"use strict";function r(e,t){return["publish","future"].includes(e)?["publish","future"].includes(t):e===t}n.d(t,{D:()=>r})},40178:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;const i=Object.values(o),s="object"==typeof i[0]&&null!==i[0],a=s?(0,r.map)(i,"ID"):i,u=s?"ID":"name",c=(0,r.map)(t[n],u);return!(0,r.xor)(a,c).length}))}},78928:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819);function o(e,t){const n=(0,r.reject)(e,(e=>(0,r.find)(t,{key:e.key})));return(0,r.concat)(n,t)}const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.reduce)(t,((e,t)=>"string"==typeof t?e:null===e?t:(0,r.mergeWith)((0,r.cloneDeep)(e),t,((e,t,n,r,i,s)=>"metadata"===n&&0===s.size?o(e,t):Array.isArray(t)?t:void 0))),null)}},92110:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(92819);function o(e,t){return(0,r.filter)(e,(e=>function(e,t){const n=(0,r.find)(t,{key:e.key});return"update"===e.operation?!n||n.value!==e.value:"delete"===e.operation&&!!n}(e,t)))}},78261:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(92819);const o=(e,t)=>{if(t.length>1){const[,...n]=t;o(e[t[0]],n)}else e&&e.hasOwnProperty(t[0])&&delete e[t[0]]};function i(e){const t=(0,r.cloneDeep)(e);return(0,r.reduce)([[],...(0,r.reduce)(e.terms,((e,t,n)=>e.concat((0,r.map)(t,((e,t)=>["terms",n,t])))),[]),...(0,r.map)(e.categories,((e,t)=>["categories",t])),...(0,r.map)(e.tags,((e,t)=>["tags",t])),...(0,r.map)(e.attachments,((e,t)=>["attachments",t]))],((e,t)=>(o(e,t.concat("meta","links")),e)),t)}},18223:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:(e,t,n)=>{"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(85290);const u=(0,i.G)(a.U,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===o.XuD){const{values:e}=t;return e}return e})),c=(0,s.U)({localValues:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.JPH:{const{key:n,value:r}=t;return e[n]===r?e:{...e,[n]:r}}case o.lCo:{const{[t.key]:n,...r}=e;return r}}return e},remoteValues:u,fetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.N8o:case o.PD1:return!1;case o.pSd:return!0}return e},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.JPH:return!0;case o.lCo:case o.jhA:return!1}return e},lastFetchedTimestamp:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N8o?Date.now():e}}),l=(0,r.xi)("preferences",c)},85290:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:(e,t,n)=>{"use strict";n.d(t,{Oz:()=>o});var r=n(18223);n(54614);function o(e,t){for(const i of[null===(n=e.preferences)||void 0===n?void 0:n.localValues,null===(o=e.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(t))return i[t]??null}return null}},86169:(e,t,n)=>{"use strict";n.d(t,{Y9:()=>a});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),a=(r.ZP.translate("There was an error removing the purchase."),e=>t=>(t({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{t({type:i.XMH,purchases:n,userId:e})})).catch((()=>{t({type:i._MG,error:s})}))))},65811:(e,t,n)=>{"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83685),o=n(40211);const i={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function s(e,t){return t.type===o.XMH?t.purchases:(t.type===o.m58&&(e=e.filter((e=>parseInt(e.blog_id,10)!==parseInt(t.siteId,10)||!!t.purchases.some((t=>t.ID===e.ID))))),t.type===o.WjV&&(e=e.filter((e=>!!t.purchases.some((t=>t.ID===e.ID))))),function(e,t){return t.reduce(((e,t)=>function(e,t){let n=!1;const r=e.map((e=>t.ID===e.ID?(n=!0,t):e));return n?r:[...r,t]}(e,t)),e)}(e,t.purchases))}const a=(0,r.xi)("purchases",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.gbe:return{...e,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case o.pJb:return{...e,isFetchingSitePurchases:!0};case o.$5Y:return{...e,isFetchingUserPurchases:!0};case o.WjV:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o.m58:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case o.XMH:return{...e,data:s(e.data,t),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case o.RIF:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o._qM:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case o._MG:return{...e,error:t.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case o.Fsf:return{...e,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return e}))},12726:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>r,iJ:()=>o});n(65811);const r=e=>e.purchases.isFetchingUserPurchases,o=e=>e.purchases.hasLoadedUserPurchasesFromServer},99432:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(83685),o=n(44111);n(65811);const i=(0,r.P1)((e=>(0,o.W)(e.purchases.data)),(e=>[e.purchases.data]))},76678:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const a=(0,r.P1)((e=>{if(!(0,i.iJ)(e))return null;const t=(0,o.rc)(e);return(0,s.G)(e).filter((e=>e.userId===t))}),(e=>[(0,i.iJ)(e),(0,o.rc)(e),(0,s.G)(e)]))},78772:(e,t,n)=>{"use strict";n.d(t,{BQ:()=>r,tx:()=>o,_n:()=>i,K1:()=>s,D8:()=>a,Ae:()=>u,_h:()=>c,M1:()=>l,_p:()=>p,AH:()=>d,lH:()=>f,P6:()=>h,b3:()=>g,sh:()=>m,DJ:()=>y,kB:()=>v,R1:()=>w,cu:()=>b,MW:()=>_,a$:()=>E,nY:()=>S,q_:()=>C,B_:()=>P,gS:()=>I,L5:()=>k,Nr:()=>T,s5:()=>A,ud:()=>R,we:()=>O,_O:()=>L,Ny:()=>x,$J:()=>F,S6:()=>U,ch:()=>N,nB:()=>D,rE:()=>Z,Bi:()=>j,Cm:()=>M,Rn:()=>q,yZ:()=>B,c1:()=>H,e_:()=>V,iv:()=>W,IJ:()=>$,zF:()=>z,zg:()=>G,LW:()=>Q,Fy:()=>Y,qY:()=>K,Qw:()=>J,pu:()=>X,CI:()=>ee,_7:()=>te,l0:()=>ne,rC:()=>re,c7:()=>oe,RN:()=>ie,Qr:()=>se,HC:()=>ae,aL:()=>ue,Ep:()=>ce,hB:()=>le,Jx:()=>pe,_i:()=>de,fY:()=>fe,CE:()=>he,Q6:()=>ge,tN:()=>me,BZ:()=>ye,VV:()=>ve,vy:()=>we,OT:()=>be});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",a="READER_DISMISS_SITE",u="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",p="READER_FEED_SEARCH_RECEIVE",d="READER_FOLLOW",f="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",g="READER_FOLLOWS_SYNC_COMPLETE",m="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",w="READER_LIST_FOLLOW_RECEIVE",b="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",C="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",I="READER_LIST_REQUEST_FAILURE",k="READER_LIST_REQUEST_SUCCESS",T="READER_LIST_UNFOLLOW_RECEIVE",A="READER_LIST_UPDATE",R="READER_LIST_UPDATE_FAILURE",O="READER_LIST_UPDATE_SUCCESS",L="READER_LISTS_RECEIVE",x="READER_LISTS_REQUEST",F="READER_ORGANIZATIONS_RECEIVE",U="READER_ORGANIZATIONS_REQUEST",N="READER_POST_SEEN",D="READER_POSTS_RECEIVE",Z="READER_RECOMMENDED_SITES_RECEIVE",j="READER_RELATED_POSTS_RECEIVE",M="READER_RELATED_POSTS_REQUEST",q="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",H="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_SEEN_RECEIVE",W="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",$="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",ee="READER_STREAMS_PAGE_REQUEST",te="READER_STREAMS_SELECT_ITEM",ne="READER_STREAMS_SELECT_NEXT_ITEM",re="READER_STREAMS_SELECT_PREV_ITEM",oe="READER_STREAMS_SHOW_UPDATES",ie="READER_STREAMS_UPDATES_RECEIVE",se="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ae="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",ue="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ce="READER_TAG_IMAGES_RECEIVE",le="READER_TAG_IMAGES_REQUEST",pe="READER_TAG_IMAGES_REQUEST_FAILURE",de="READER_TAG_IMAGES_REQUEST_SUCCESS",fe="READER_TAGS_RECEIVE",he="READER_THUMBNAIL_RECEIVE",ge="READER_UNFOLLOW",me="READER_UNFOLLOW_TAG_RECEIVE",ye="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",ve="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",we="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",be="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(84225),u=n(91706),c=n(51260);const l=(0,i.G)(u.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.BQ:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.following};case o.tx:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.muting};case o._n:{const n=(0,c.J)(t.payload.siteId,t.payload.postId);if(t.payload.followStatus===a.I.not_following)return(0,r.omit)(e,n);return{...e,[n]:t.payload.followStatus}}case o.nB:{if(!t.posts)return e;const n={};return(0,r.forEach)(t.posts,(e=>{e.is_following_conversation&&(n[(0,c.J)(e.site_ID,e.ID)]=a.I.following)})),0===(0,r.size)(n)?e:{...e,...n}}}return e})),p=(0,s.U)({items:l})},91706:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:(e,t,n)=>{"use strict";function r(e,t){return`${e}-${t}`}n.d(t,{J:()=>r})},13838:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?(0,r.uniqBy)((e||[]).concat(t.payload.feeds),"feed_URL"):e})),u=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?t.payload.total:e})),c=(0,s.U)({items:a,total:u})},64380:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g});var r=n(92819),o=n(50118),i=n(8165),s=n(48265),a=n(78772),u=n(29398),c=n(71085),l=n(95884),p=n(46518);function d(e,t){return{[t.payload.feed_ID]:{feed_ID:t.payload.feed_ID,is_error:!0},...e}}function f(e,t){const n=function(e){return{feed_ID:+e.feed_ID,blog_ID:+e.blog_ID,name:e.name&&(0,o.S)(e.name),URL:(0,s.m)(e.URL),feed_URL:(0,s.m)(e.feed_URL),is_following:e.is_following,subscribers_count:e.subscribers_count,description:e.description&&(0,o.S)((0,i.C)(e.description)),last_update:e.last_update,image:e.image,organization_id:e.organization_id,unseen_count:e.unseen_count}}(t.payload);return{...e,[n.feed_ID]:n}}const h=(0,u.G)(p.d,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.M1:return f(e,t);case a._h:return d(e,t);case a.e_:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-t.globalIds.length,0)})}:e}case a.iv:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+t.globalIds.length,0)})}:e}case a.c1:return(0,r.forEach)(t.feedIds,(t=>{e[t]={...e[t],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));const g=(0,l.U)({items:h,lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.M1?{...e,[t.payload.feed_ID]:Date.now()}:e},queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.Ae:return{...e,[t.payload.feed_ID]:!0};case a.M1:case a._h:return(0,r.omit)(e,t.payload.feed_ID)}return e}})},46518:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});var r=n(92819),o=n(78772),i=n(29398),s=n(71085),a=n(95884),u=n(75235),c=n(46486);function l(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","email"],{}),u={};switch(i){case o.HC:case o.VV:u.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:u.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(u.post_delivery_frequency=n.deliveryFrequency);const l={...a,...u};return(0,r.isEqual)(a,l)?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function p(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),u=!(i===o.vy);return a===u?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:u}}}}}const d=(0,i.G)(u.e,(0,s.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.lH:{const n=(0,c.C)(t.payload.feedUrl);return{...e,[n]:(0,r.merge)({},e[n],{error:t.payload.error})}}case o.AH:{let n=(0,c.C)(t.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(t.payload,["follow","feed_URL"],t.payload.feedUrl),s={...e};i!==t.payload.feedUrl?(o.alias_feed_URLs=[...e[n].alias_feed_URLs||[],(0,c.C)(t.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):e[n]&&e[n].error&&(o.error=null);const a=(0,r.get)(e[n],["delivery_methods","notification"]);return a&&(o.delivery_methods={notification:a}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},e[n],t.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(t.payload.feedUrl),o=e[n];return o&&o.is_following?{...e,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:e}case o.P6:{const n=t.payload.follows,o=(0,r.reduce)(n,((e,t)=>{const n=(0,c.C)(t.URL),r={...t,is_following:!0};return e[n]=r,e}),{});return(0,r.merge)({},e,o)}case o.qY:{const n=t.payload;if(!n||!n.feed_URL||!n.is_following)return e;const o=(0,c.C)(n.feed_URL),i=e[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...e,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(e,t);case o.aL:case o.vy:return p(e,t);case o.b3:{const n=new Set(t.payload);return(0,r.omitBy)(e,(e=>e.ID&&!n.has(e.feed_URL)))}case o.e_:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-t.globalIds.length})}:e}case o.iv:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+t.globalIds.length})}:e}case o.c1:return(0,r.forEach)(t.feedUrls,(t=>{const n=(0,c.C)(t);e[n]={...e[n],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.pickBy)(e,(e=>e.ID&&e.is_following))})),f=(0,a.U)({items:d,itemsCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.P6&&t.payload.totalCount?t.payload.totalCount:e},lastSyncTime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.sh?Date.now():e},loading:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.sh:return!0;case o.b3:return!1}return e}})},75235:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(55347);function o(e){const t=e&&(0,r.Z)(e);return t&&t.replace(/^https?:\/\//,"").toLowerCase()}},35929:(e,t,n)=>{"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(40932);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o._O:return Object.assign({},e,(0,r.keyBy)(t.lists,"ID"));case o.L5:case o.we:return Object.assign({},e,(0,r.keyBy)([t.data.list],"ID"));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e}));function c(e,t,n){if(!(t.listId in e))return e;const o=e[t.listId],i=(0,r.reject)(o,n);return{...e,[t.listId]:i}}const l=(0,i.G)(a.E,(function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(e=i.list)||void 0===e?void 0:e.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const a=null===(t=i.list)||void 0===t?void 0:t.ID;return a?(0,r.filter)(n,(e=>e!==a)):n;case o.kB:return(0,r.filter)(n,(e=>e!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));const p=(0,s.U)({items:u,listItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.q_:return{...e,[t.listId]:t.listItems};case o.cu:{const n=e[t.listId]||[];return(0,r.some)(n,{feed_ID:t.feedId})?e:{...e,[t.listId]:[...n,{feed_ID:t.feedId}]}}case o.MW:return c(e,t,(e=>e.feed_ID===t.feedId));case o.nY:return c(e,t,(e=>e.tag_ID===t.tagId));case o.a$:return c(e,t,(e=>e.site_ID===t.siteId));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e},subscribedLists:l,isCreatingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.DJ:case o.L5:case o.gS:return o.DJ===t.type}return e},isRequestingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.B_:case o.L5:case o.gS:return o.B_===t.type}return e},isRequestingLists:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.Ny:case o._O:return o.Ny===t.type}return e},isUpdatingList:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.s5:case o.we:case o.ud:return o.s5===t.type}return e}})},40932:(e,t,n)=>{"use strict";n.d(t,{d:()=>r,E:()=>o});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(37013);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.$J?t.error?e:(0,r.get)(t,["payload","organizations"],e):e})),c=(0,s.U)({items:u,isRequesting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.S6:return!0;case o.$J:return!1}return e}})},37013:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:(e,t,n)=>{"use strict";n.d(t,{SD:()=>_});var r=n(86989),o=n.n(r),i=n(92819),s=n(88767),a=n(18552),u=(n(7689),n(72429)),c=n(58414),l=n(77327),p=n(4184),d=n(78772),f=n(89258);n(35929);let h={recordEvent:()=>{}},g=()=>{};function m(e){h.recordTracksEvent("calypso_traintracks_render",e.railcar)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={},r=(0,c.Z)();if(r&&(n.content_width=r),e.blogId)return t?(0,a.aO)()?(0,a.ZP)({path:`help/article/${encodeURIComponent(e.blogId)}/${encodeURIComponent(e.postId)}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/help-center/fetch-post?post_id=${encodeURIComponent(e.postId)}&blog_id=${encodeURIComponent(e.blogId)}`}):u.Z.req.get(`/read/sites/${encodeURIComponent(e.blogId)}/posts/${encodeURIComponent(e.postId)}`,n);const{postId:i,feedId:s,...l}=e;return u.Z.req.get(`/read/feed/${encodeURIComponent(s)}/posts/${encodeURIComponent(i)}`,{apiVersion:"1.2",...l,...n})}g=n(29789).yg,h=n(17032);const v=e=>e.catch((()=>null)),w=e=>t=>{if(!e)return Promise.resolve([]);const[n,r]=(0,i.partition)(e,"_should_reload");n.forEach((e=>t(function(e){return function(t){const n=e.railcar;y((0,l.WO)(e)).then((e=>{e.railcar=n,t(w([e]))}))}}(e))));const o=(0,i.compact)(r).map(f.lp);return(0,i.forEach)(o,(e=>{e.is_external||t((0,p.u5)(e.site_ID,e.ID,{iLike:Boolean(e.i_like),found:+e.like_count}))})),t({type:d.nB,posts:o}),Promise.all(o.map(f.yv).map(v)).then((e=>t({type:d.nB,posts:(0,i.compact)(e)}))),(0,i.forEach)((0,i.filter)(o,"railcar"),m),Promise.resolve(o)},b=new Set,_=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{const r=(0,l.C$)(e);if(!b.has(r))return b.add(r),y(e,t).then((e=>(o(),n(w([e]))))).catch((t=>(o(),n(E(t,e)))));function o(){b.delete(r)}}};function E(e,t){return{type:d.nB,posts:[{feed_ID:t.feedId,ID:t.postId,site_ID:t.blogId,is_external:!t.blogId,global_ID:(0,s.Z)(),is_error:!0,error:e}]}}},81823:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:(e,t,n)=>{"use strict";n.d(t,{lp:()=>F,yv:()=>N});var r=n(92819),o=n(77804),i=n(51547),s=n(53544),a=n(10363),u=n(37183),c=n(40691),l=n(17431),p=n(50917),d=n(30757),f=n(51088),h=n(64e3),g=n(42347),m=n(47401),y=n(12800),v=n(31564),w=n(91410),b=n(21036),_=n(53317),E=n(66184),S=n(49147),C=n(59654),P=n(36003),I=n(60566),k=n(75659),T=n(55454),A=n(81823),R=n(99891);function O(e){return e.width>=R.hM&&e.height>=R.qg}function L(e){const t=(0,r.filter)(e.content_images,O);let n=A.Z.UNCLASSIFIED;return t.length>=R.y_?n^=A.Z.GALLERY:e.canonical_media&&"image"===e.canonical_media.mediaType&&e.canonical_media.width>=R.Ws&&(e=>function(e){return e&&e.content_no_html?e.content_no_html.length:0}(e)<=R.ml)(e)&&(n^=A.Z.PHOTO_ONLY),e.canonical_media&&"video"===e.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),e.tags&&e.tags["p2-xpost"]&&(n^=A.Z.X_POST),e.display_type=n,e}const x=(0,r.flow)([y.Z,I.Z,C.Z,b.Z,S.Z,(0,P.Z)(R.fY),w.Z,(0,T.Z)([g.Z,h.Z,(0,d.Z)(),p.Z,f.Z,c.b,c.Y,s.Z,a.Z,u.Z,l.Z,i.Z]),m.Z,_.Z,E.Z,L,o.Z]);function F(e){return e?(e=Object.assign({},e),x(e),e):e}const U=(0,r.flow)([(0,v.Z)(R.Kt,R.qg),_.Z,E.Z,L]);function N(e){return e=Object.assign({},e),(0,k.Z)(e).then(U)}},42334:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(92819),o=n(78772);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.nB:const n=t.posts||t.payload.posts;return{...e,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!0}})),{...e};case o.iv:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!1}})),{...e}}return e},seen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(t,"payload.post.global_ID");return t.type===o.ch&&n?{...e,[n]:!0}:e}})},6712:(e,t,n)=>{"use strict";n.d(t,{UK:()=>a});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((e=>[e.reader.posts.items]),(e=>{let[t]=e;return(0,o.keyBy)(t,(e=>(0,i.C$)((0,i.WO)(e))))})),a=(e,t)=>{if(!t||!(0,i.C$)(t))return null;return s(e)[(0,i.C$)(t)]};(0,r.Z)((e=>[s(e)]),((e,t)=>{let[n]=e;return!t||(0,o.some)(t,(e=>!(0,i.C$)(e)))?null:t.map(i.C$).map((e=>n[e]))}),{getCacheKey:e=>e.map(i.C$).join()})},99891:(e,t,n)=>{"use strict";n.d(t,{fY:()=>r,Ws:()=>o,ml:()=>i,y_:()=>s,hM:()=>a,Kt:()=>u,qg:()=>c});const r=600,o=440,i=85,s=5,a=300,u=144,c=72},12622:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?(0,r.uniqBy)(e.concat(t.payload.sites),"feedId"):e})),u=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?Math.max(t.payload.offset,e):e})),c=(0,s.U)({items:a,pagingOffset:u})},97589:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(83685),o=n(95884),i=n(26395),s=n(13838),a=n(64380),u=n(38357),c=n(6693),l=n(61923),p=n(42334),d=n(12622),f=n(1788),h=n(92972),g=n(8614),m=n(53761),y=n(83530),v=n(64805),w=n(39493);const b=(0,o.U)({conversations:i.Z,feeds:a.ZP,feedSearches:s.ZP,follows:u.ZP,lists:c.ZP,posts:p.ZP,recommendedSites:d.ZP,relatedPosts:f.ZP,siteBlocks:h.ZP,siteDismissals:g.Z,sites:m.ZP,streams:y.ZP,tags:v.Z,thumbnails:w.Z,organizations:l.ZP}),_=(0,r.xi)("reader",b)},1788:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a});var r=n(78772),o=n(95884),i=n(92310);function s(e,t,n){const{siteId:r,postId:o,scope:s}=t.payload;return{...e,[(0,i.Jy)(r,o,s)]:n}}const a=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.Bi?s(e,t,t.payload.posts.map((e=>e.global_ID))):e},queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Cm:return s(e,t,!0);case r.yZ:case r.Rn:return s(e,t,!1)}return e}})},92310:(e,t,n)=>{"use strict";n.d(t,{Jy:()=>r});function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${e}-${t}-${n}`}},92972:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(92819),o=n(78772);const i=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.IJ:return{...e,[t.payload.siteId]:!0};case o.Qw:return(0,r.omit)(e,t.payload.siteId);case o.qY:return t.payload.is_blocked?{...e,[t.payload.ID]:!0}:e[t.payload.ID]?(0,r.omit)(e,t.payload.ID):e;case o.zF:{if(!t.payload||!t.payload.sites)return e;const n=(0,r.reduce)(t.payload.sites,((e,t)=>(e[t.ID]=!0,e)),{});return{...e,...n}}}return e},currentPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF&&t.payload&&t.payload.page?t.payload.page:e},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF?!t.payload||!t.payload.page||t.payload.count>0?e:t.payload.page:e},inflightPages:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.zg:return t.payload&&t.payload.page?{...e,[t.payload.page]:!0}:e;case o.zF:return t.payload&&t.payload.page?(0,r.omit)(e,t.payload.page):e}return e}})},8614:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.D8:return{...e,[t.payload.siteId]:!0};case r.K1:return{...e,[t.payload.siteId]:!0}}return e}})},63262:(e,t,n)=>{"use strict";n.d(t,{LV:()=>o,N0:()=>i,vE:()=>s});var r=n(78772);n(8681),n(35929);function o(e){return{type:r.LW,payload:{ID:e}}}function i(e){return{type:r.qY,payload:e}}function s(e,t){return{type:r.Fy,payload:e.payload,error:t}}},70418:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>h});var r=n(92819),o=n(50118),i=n(47307),s=n(78772),a=n(29398),u=n(71085),c=n(95884),l=n(5259);function p(e,t){return t.error&&!(0,r.includes)([403,404,410],t.error.statusCode)?e:{...e,[t.payload.ID]:{ID:t.payload.ID,is_error:!0,error:t.error}}}function d(e,t){const n=(s=t.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...e,[t.payload.ID]:n}}const f=(0,a.G)(l.u,(0,u.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.zF:if(!t.payload||!t.payload.sites)return e;return{...(0,r.keyBy)(t.payload.sites,"ID"),...e};case s.qY:return d(e,t);case s.Fy:return p(e,t)}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));const h=(0,c.U)({items:f,queuedRequests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.LW:return{...e,[t.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(e,t.payload.ID)}return e},lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.qY?{...e,[t.payload.ID]:Date.now()}:e}})},5259:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:(e,t,n)=>{"use strict";n.d(t,{_g:()=>o});n(92819),n(35929);const r=144e7;function o(e,t){const n=!e.reader.sites.queuedRequests[t],o=!function(e,t){return e.reader.sites.items[t]}(e,t);return n&&(o||function(e,t){const n=e.reader.sites.lastFetched[t];if(!n)return!0;return n<=Date.now()-r}(e,t))}},83530:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g});var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),a=n(78772),u=n(95884),c=n(15960),l=n(86115);const p=(e,t)=>{const[n,...r]=e;return e.length>0&&t(n)?[n,...p(r,t)]:[]},d=(e,t)=>p([...e].reverse(),t),f={lastUpdated:null,items:[]},h=(0,u.U)({items:function(){let e,t,n,o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:if(t=c.payload.gap,e=c.payload.streamItems,t){const n=p(u,(e=>!(0,s.NK)(e,t))),o=d(u,(e=>!(0,s.NK)(e,t)));if((0,s.NK)((0,r.last)(e),o[0])&&e.pop(),0===e.length)return[...n,...o];let a=[];const c=t.from,f=i()((0,r.last)(e).date);return c.isSame(f)||(a=[{isGap:!0,from:c,to:f}]),(0,l.E)([...n,...e,...a,...o])}return n=e.reduce(((e,t)=>!e.some((e=>(0,s.NK)(e,t)))?[...e,t]:e),u),o=(0,r.filter)(e,(e=>e.xPostMetadata)),o?(0,l.E)(n):n;case a.c7:return(0,l.E)([...c.payload.items,...u]);case a.K1:{const e=c.payload.postKey,t=(0,r.findIndex)(u,(t=>(0,s.NK)(t,e)));if(-1===t)return u;const n=[...u];return n[t]=n.pop(),n}}return u},pendingItems:function(){let e,t,n,o,s,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),u.lastUpdated&&t.isSameOrBefore(u.lastUpdated)?u:{...u,lastUpdated:t});case a.RN:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),n=i()((0,r.last)(e).date),u.lastUpdated&&(e=e.filter((e=>i()(e.date).isAfter(u.lastUpdated)))),0===e.length?u:(o=[...e],s=(0,r.filter)(o,(e=>e.xPostMetadata)),s&&(o=(0,l.E)(o)),u.lastUpdated&&n.isAfter(u.lastUpdated)&&o.push({isGap:!0,from:u.lastUpdated,to:n}),{lastUpdated:t,items:o}));case a.c7:return{...u,items:[]}}return u},selected:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case a._7:return n.payload.postKey;case a.l0:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),e===n.payload.items.length-1?t:n.payload.items[e+1];case a.rC:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),0===e?t:n.payload.items[e-1]}return t},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.pu?0===t.payload.streamItems.length:e},isRequesting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.CI:return e||!t.payload.isPoll&&!t.payload.isGap;case a.pu:return!1}return e},pageHandle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type!==a.pu||!t.payload.pageHandle||t.payload.isPoll||t.payload.gap?e:t.payload.pageHandle}}),g=(0,c.J)("payload.streamKey",h)},86115:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(92819),o=n(46310);const i=e=>e.reduce(((e,t)=>{const n=(0,r.last)(e);var i,s;return(0,o.qb)(n,t)?e[e.length-1]=(i=n,s=t,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):e.push(t),e}),[])},49054:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.Ep){let n=t.images;return e[t.tag]&&(n=e[t.tag].concat(t.images)),{...e,[t.tag]:n}}return e},requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.hB:case r._i:case r.Jx:return{...e,[t.tag]:t.type===r.hB}}return e}})},84668:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(78772);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.fY:{const n=t.payload;if(!t.meta.resetFollowingData)return(0,r.merge)({},e,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(e,(e=>({...e,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=t.payload;return(0,r.merge)({},e,{[n]:{isFollowing:!1}})}}return e}},64805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(95884),o=n(49054),i=n(84668);const s=(0,r.U)({images:o.ZP,items:i.Z})},39493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78772);const o=(0,n(95884).U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.CE?{...e,[t.embedUrl]:t.thumbnailUrl}:e}})},9044:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,x:()=>a});var r=n(86398);let o;const i=[];function s(e,t){o&&(0,r.Z)(),o=(0,r.l)(e,t);for(const[n,r]of i)o(n,r)}function a(e,t){o&&o(e,t),i.push([e,t])}},30963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(92819);n(91789);function o(e){return(0,r.get)(e,"ui.language.localeSlug",null)}},96767:(e,t,n)=>{"use strict";n(92819),n(28879)},87720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(36747);function i(e){const t=(0,o.ts)(e);return(0,r.get)(t,"primary_blog",null)}},53843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(37480);function o(e,t){return(0,r.Z)(e)[t]||null}},23047:(e,t,n)=>{"use strict";n(53843)},37480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=Object.freeze({});function o(e){return e.sites.items||r}},16193:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(76678);n(65811);const o=e=>{const t=(0,r.I)(e);return t&&t.some((e=>e.isRefundable||"premium_theme"!==e.productSlug))}},28879:(e,t,n)=>{"use strict";n(92819)},87697:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(56666),o=n(92819);class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=e}get(){return this.results}root(){return this.results.root}addRootResult(e,t){return this.addResult("root",e,t)}addKeyResult(e,t){return this.addResult(e,null,t)}addResult(e,t,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(e,t,n):this.addResult(r,null,n)})):t?(this.results[e]||(this.results[e]={}),this.results[e][t]=n):this.results[e]=n}}},40540:(e,t,n)=>{"use strict";n.d(t,{BU:()=>u,LV:()=>c});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),a=(n(91668),n(96767),n(23047),n(84465));function u(){return e=>{e({type:s.M4_});const t=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:a.U,options:a.x,filters:t.length>0?t.join(","):void 0}).then((t=>{var n;e((n=t.sites,{type:s.xLe,sites:n})),e({type:s.KSQ})})).catch((t=>{e({type:s.eTV,error:t})}))}}function c(e){function t(t){const n={apiVersion:"1.2"};t&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(e).get(n)}return n=>{n({type:s.hJk,siteId:e});const r=t(!1).catch((e=>403===(null==e?void 0:e.status)&&"API calls to this blog have been disabled."===(null==e?void 0:e.message)||400===(null==e?void 0:e.status)&&"ApiNotFoundError"===(null==e?void 0:e.name)?t(!0):Promise.reject(e)));return r.then((t=>{t&&t.capabilities&&n(function(e){return{type:s.UUJ,site:e}}((0,o.omit)(t,"_headers"))),n({type:s.Mvd,siteId:e})})).catch((()=>{n({type:s.uuM,siteId:e})})),r}}},92546:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(40211),o=n(95884);const i=e=>(t,n)=>{let{siteId:r}=n;return{...t,[r]:e}},s=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.tvw){const{siteId:n,status:r}=t;return{...e,[n]:r}}return e},requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.U5d:return i(!0)(e,t);case r.QLz:case r.D5g:return i(!1)(e,t)}return e}})},84465:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,x:()=>o});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description","user_interactions"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","updated_at","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent","launchpad_screen","launchpad_checklist_tasks_statuses"].join()},26171:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(35743);const u=(e,t,n,o)=>{const i=(0,r.find)(e[t],{domain:n}),s=e[t].indexOf(i),a=[...e[t]];return a.splice(s,1,Object.assign({},i,o)),Object.assign({},e,{[t]:a})},c=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{siteId:n}=t;switch(t.type){case o.t2O:return Object.assign({},e,{[n]:t.domains});case o.DGo:return u(e,n,t.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return e})),l=(0,s.U)({errors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.wOJ:case o.RI4:return Object.assign({},e,{[t.siteId]:null});case o.dyA:return Object.assign({},e,{[t.siteId]:t.error})}return e},items:c,requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.wOJ:case o.RI4:case o.dyA:return Object.assign({},e,{[t.siteId]:t.type===o.wOJ})}return e},updatingPrivacy:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},e,{[t.siteId]:{[t.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(t.type)}})}return e}})},35743:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(t){case r.fa4:return i(e,n,{error:null,isRequesting:!0});case r.xNf:return i(e,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(e,n,{error:s,isRequesting:!1})}return e}},56733:(e,t,n)=>{"use strict";n.d(t,{P:()=>r.Z});n(47437);var r=n(6826)},47437:(e,t,n)=>{"use strict";n(4792)},6826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4792),o=n(20834),i=n(3418);const s=e=>{const t=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,t||0,e)))}},96829:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const a=(0,o.J)("siteId",((e,t)=>{let{type:n}=t;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return e})),u=(0,o.J)("siteId",((e,t)=>{let{type:n,payload:o}=t;return n===r.Kmp?o?(e=>{const t={};return e.forEach((e=>{t[e.product_id]=(e=>{let{currency_code:t,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:a}=e;return{currencyCode:t,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:a}})(e)})),t})(o):void 0:e})),c=(0,i.U)({requestStatus:a,items:u})},11900:(e,t,n)=>{"use strict";let r;n.d(t,{e:()=>r}),function(e){e.Pending="pending",e.Success="success",e.Failed="failed"}(r||(r={}))},20152:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(e,t,n){return Object.assign({},e,{[t]:Object.assign({},i,e[t],n)})}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.gNn:return s(e,t.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.plans});case o.$MQ:return s(e,t.siteId,{error:t.error,isRequesting:!1});case o.XLI:return(0,r.omit)(e,t.siteId)}return e}},42935:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.eO9:return i(e,t.siteId,{error:null,isRequesting:!0});case r.S3d:return i(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.products});case r.whB:return i(e,t.siteId,{error:t.error,isRequesting:!1})}return e}},82139:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y});var r=n(92819),o=n(40211),i=n(46505),s=n(29398),a=n(95884),u=n(92546),c=n(26171),l=n(22900),p=n(96829),d=n(20152),f=n(42935),h=n(43056);const g=(0,s.G)(h.K,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(null===e&&t.type!==o.UUJ&&t.type!==o.xLe)return null;switch(t.type){case o.Khp:{const n=e[t.siteId];return n?Object.assign({},e,{[t.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):e}case o.UUJ:case o.xLe:{const n=t.site?[t.site]:t.sites,i=o.xLe===t.type?{}:e;return(0,r.reduce)(n,((t,n)=>((0,r.isEqual)(t[n.ID],n)||(t===e&&(t={...e}),t[n.ID]=n),t)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(e,t.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=t,i=e[n];if(!i)return e;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((t,a)=>{if(!o.hasOwnProperty(a))return t;switch(a){case"blog_public":{const e=-1===parseInt(o.blog_public,10);if(i.is_private===e)return t;s={...s,is_private:e};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const e=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===e)return t;s={...s,is_coming_soon:e};break}case"site_icon":{const e=o.site_icon;if(!i.icon&&null===e||i.icon&&i.icon.media_id===e)return t;s=null===e?(0,r.omit)(s,"icon"):{...s,icon:{media_id:e}};break}}return t===e&&(t={...e}),t[n]=s,t}),e)}case o.aqr:{const{siteId:n,mediaIds:o}=t,i=(0,r.get)(e[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...e,[n]:(0,r.omit)(e[n],"icon")}:e}case o.U0$:{const{siteId:n}=t,o=(0,r.get)(e[n],"updates");return o?{...e,[n]:{...e[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:e}case o.uvG:{const{siteId:n,frontPageOptions:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=t;if(!e[n])return e;const s=e[n].site_migration||{},a={status:o};return i&&(a.last_modified=i),{...e,[n]:{...e[n],site_migration:(0,r.merge)({},s,a)}}}}return e})),m=(0,s.G)(h.W,(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.xLe||e})),y=(0,a.U)({connection:u.ZP,domains:c.ZP,requestingAll:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.M4_:return!0;case o.eTV:case o.KSQ:return!1}return e},introOffers:p.ZP,items:g,plans:d.z,products:f.R,features:l.E,requesting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.hJk:{const{siteId:n}=t;return{...e,[n]:!0}}case o.uuM:{const{siteId:n}=t;return{...e,[n]:!1}}case o.Mvd:{const{siteId:n}=t;return{...e,[n]:!1}}}return e},hasAllSitesList:m,jetpackSiteDisconnected:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.ftJ:return!1;case o.Oh9:return!0}return e}})},43056:(e,t,n)=>{"use strict";n.d(t,{K:()=>r,W:()=>o});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(75134),o=n(3418),i=n(48380);function s(e,t){if(!(0,i.Z)(e,t))return null;if(!(0,r.Z)(e,t))return!1;const n=(0,o.Z)(e,t,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(3418),o=n(48380),i=n(57481);function s(e,t){if(!(0,o.Z)(e,t))return null;if((0,r.Z)(e,t,"is_multi_network"))return!1;if((0,i.Z)(e,t))return!1;const n=(0,r.Z)(e,t,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),a=n(48380);function u(e,t,n,u,c){if(!(0,a.Z)(e,t)){const o=(0,s.Z)(e,t),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:u,guide:c},i)}const l=(0,i.Z)(e,t,"customize.php");return l?(u||"undefined"==typeof window||(u=window.location.href),(0,r.Z)({return:u,...(0,o.t)(n),guide:c},l)):null}},15199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(31716),o=n(75134),i=n(48380),s=n(47020),a=n(57481);function u(e,t){return(0,i.Z)(e,t)?{canAutoupdateFiles:(0,r.Z)(e,t),canUpdateFiles:(0,o.Z)(e,t),isMainNetworkSite:(0,s.Z)(e,t),isSecondaryNetworkSite:(0,a.Z)(e,t)}:{}}},96666:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3418);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(e,t,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(37480),i=n(64802);const s=(0,r.P1)(((e,t)=>Object.values((0,o.Z)(e)).find((n=>(0,i.Z)(e,n.ID)===t))??null),(e=>[(0,o.Z)(e)]))},29926:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(83685),o=n(72537),i=n(37480);const s=(0,r.P1)((e=>{const t=Object.values((0,i.Z)(e));return(0,o.Cm)(t)}),i.Z)},84810:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(47307),o=n(53843),i=n(65663),s=n(3418),a=n(46480),u=n(64802),c=n(40877),l=n(48380),p=n(91608);function d(e,t){if(!(0,o.Z)(e,t))return null;const n={domain:(0,i.Z)(e,t),options:(0,a.Z)(e,t),slug:(0,u.Z)(e,t),title:(0,c.Z)(e,t)};return(0,s.Z)(e,t,"is_mapped_domain")&&!(0,l.Z)(e,t)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(e,t,"unmapped_url"))),(0,p.Z)(e,t)&&(n.URL=(0,s.Z)(e,t,"unmapped_url")),n}},65663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(47307),o=n(53843),i=n(3418),s=n(64802),a=n(91608);function u(e,t){if((0,i.Z)(e,t,"is_redirect")||(0,a.Z)(e,t))return(0,s.Z)(e,t);const n=(0,o.Z)(e,t);return n?(0,r.ce)(n.URL):null}},3418:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(46480);function o(e,t,n){if(!t)return null;const o=(0,r.Z)(e,t);return(null==o?void 0:o[n])??null}},46480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843);const o=Object.freeze({}),i=(e,t)=>{const n=(0,r.Z)(e,t);return n?n.options||o:null}},64802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(83685),o=n(47307),i=n(53843),s=n(37480),a=n(3418),u=n(46480),c=n(91608);const l=(0,r.P1)(((e,t)=>{const n=(0,i.Z)(e,t);return n?(0,a.Z)(e,t,"is_redirect")||(0,c.Z)(e,t)?(0,o.ce)((0,a.Z)(e,t,"unmapped_url")):(0,o.nq)(n.URL):null}),((e,t)=>[(0,s.Z)(e),(0,u.Z)(e,t)]))},40877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843),o=n(65663);function i(e,t){const n=(0,r.Z)(e,t);return n?n.name?n.name.trim():(0,o.Z)(e,t):null}},78871:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let a=new WeakMap;function u(e,t){if(!t)return null;const n=(0,r.Z)(e,t)||(0,i.Z)(e,t);if(!n)return null;const u=a.get(n);if(u)return u;const c={...n,...(0,s.Z)(e,n.ID),...(0,o.Z)(e,n.ID)};return a.set(n,c),c}u.clearCache=()=>{a=new WeakMap}},79791:(e,t,n)=>{"use strict";function r(e){return!!e.sites.hasAllSitesList}n.d(t,{Z:()=>r})},47020:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(47307),o=n(53843),i=n(3418),s=n(48380);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)===(0,r.ce)(u)}},54837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r={considerStandaloneProducts:!0,treatAtomicAsJetpackSite:!0};function o(e){return function(t){var n,o,i;if(!t)return null;const s=e?{...r,...e}:r;return!(!s.treatAtomicAsJetpackSite&&null!==(n=t.options)&&void 0!==n&&n.is_wpcom_atomic)&&(!!t.jetpack||!!s.considerStandaloneProducts&&Boolean(null===(o=t.options)||void 0===o||null===(i=o.jetpack_connection_active_plugins)||void 0===i?void 0:i.length))}}},57481:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(47307),o=n(53843),i=n(3418),s=n(48380);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)!==(0,r.ce)(u)}},48380:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(53843),o=n(54837);function i(e,t,n){if(!t)return null;const i=(0,r.Z)(e,t);return(0,o.Z)(n)(i)}},58863:(e,t,n)=>{"use strict";function r(e,t){return!!e.sites.requesting[t]}n.d(t,{Z:()=>r})},52239:(e,t,n)=>{"use strict";function r(e){return!!e.sites.requestingAll}n.d(t,{Z:()=>r})},91608:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(29926);function o(e,t){return(0,r.Z)(e).includes(t)}},46505:(e,t,n)=>{"use strict";n.d(t,{hX:()=>r,K6:()=>o});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],a={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},u=(c=[e=>a.hasOwnProperty(e.type)&&("function"!=typeof a[e.type]||a[e.type](e)),e=>(0,r.get)(e,"meta.analytics",[]).some((e=>s.includes(e.payload.name)))],e=>c.some((t=>t(e))));var c;const l=e=>({...e,timestamp:Date.now()}),p=(e,t)=>t?[...e,t].slice(-50):e,d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return u(t)?p(e,l(t)):e}},71799:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(40211);n(91789);function o(e){return{type:r.bgv,siteId:e}}},46117:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t}=arguments.length>1?arguments[1]:void 0;return t===r.JYg||e}},1184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.Fux?n:e}},57718:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(e=n.section)||void 0===e||!e.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?t:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""})),a=(0,i.U)({upgradeIntent:s})},91789:(e,t,n)=>{"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;return t.type===o.JqF?{localeSlug:t.localeSlug,localeVariant:t.localeVariant}:e}},48659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(40211);const o={current:"content",next:null};function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.kUt:return t.area===e.current?e:Object.assign({},e,{current:t.area});case r.vO0:return t.area===e.next?e:Object.assign({},e,{next:t.area});case r.XTm:{let t=e.next;return t||"content"===e.current||(t="content"),t?Object.assign({},e,{current:t,next:null}):e}}return e}},31175:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.NnF?n:e}},30592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);const o=(0,n(95884).U)({view:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.WkZ?t.view:e}})},45405:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(40211);const o={postIdWithActiveSharePanel:null},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.KF6:return{...e,postIdWithActiveSharePanel:null};case r.WYe:return e.postIdWithActiveSharePanel===t.postGlobalId?{...e,postIdWithActiveSharePanel:null}:{...e,postIdWithActiveSharePanel:t.postGlobalId}}return e}},37508:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(40211);const o=(0,n(95884).U)({currentPreviewSiteId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.dGx?t.siteId??null:e},currentPreviewUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.dGx:return t.url;case r.kLL:return null}return e}})},74307:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>_});var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(50425),u=n(46117),c=n(1184),l=n(57718),p=n(28958),d=n(48659),f=n(31175),h=n(30592),g=n(45405),m=n(37508),y=n(77027);const v=(0,i.G)({type:["number","null"]},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv?t.siteId||null:e})),w=(0,i.G)({type:"boolean"},(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv||e}));const b=(0,s.U)({actionLog:a.Z,appBannerVisibility:c.Z,appBannerDismissed:u.Z,checkout:l.Z,isSectionLoading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Nq?t.isSectionLoading:e},isNotificationsOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:t}=arguments.length>1?arguments[1]:void 0;return t===o.hxz?!e:e},language:p.Z,layoutFocus:d.Z,masterbarVisibility:f.Z,mediaModal:h.Z,postTypeList:g.Z,preview:m.ZP,section:y.Z,selectedSiteId:v,siteSelectionInitialized:w}),_=(0,r.xi)("ui",b)},9817:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(40211);n(91789);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...t,type:r.IK5};return e&&(n.section=e),n}},77027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(40211);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.IK5&&void 0!==t.section?t.section:e}},73041:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(92819),o=n(75149);function i(e){return(0,r.get)((0,o.Z)(e),"name",null)}},75149:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(91789);function r(e){return e.ui.section||!1}},20834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(91789);function r(e){return e.ui.selectedSiteId}},86091:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(78871),o=n(20834);function i(e){const t=(0,o.Z)(e);return t?(0,r.Z)(e,t):null}},90924:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r=e=>(t,n)=>{const r=e(t,n);let o=t;return{...r,addReducer:function(e,t){o=o.addReducer(e,t),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const a=(e,t)=>{if("string"!=typeof e)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof e);if(!e.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof t)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof t);const n=t(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,e,void 0);if(null==s)return o;const a=o[s],u=t(a,i);return u===a?o:void 0===u||(0,r.isEqual)(u,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:u}}),{serialize:e=>(0,r.reduce)(e,((e,s,a)=>{const u=(0,i.q)(t,s);return void 0===u||(0,r.isEqual)(u,n)||(e||(e=new o._),e.addRootResult(a,u)),e}),void 0),deserialize:e=>(0,r.omitBy)((0,r.mapValues)(e,(e=>(0,i.v)(t,e))),(e=>void 0===e||(0,r.isEqual)(e,n)))})}},95884:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),a=n(69909);function u(e){const t=(0,o.UY)(e),n=(n,o)=>o.type===i.gm2?function(e,t,n){let o=!1;const i=(0,r.mapValues)(e,((e,i)=>{if(e.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(t,i),a=e(s,n);return o=o||a!==s,a}));return o?i:t}(e,n,o):t(n,o);return n.serialize=t=>function(e,t){if(void 0===t)return;return(0,r.reduce)(e,((e,n,r)=>{const o=(0,a.q)(n,t[r]);return void 0!==o&&(e||(e=new s._),n.storageKey?e.addKeyResult(n.storageKey,o):e.addRootResult(r,o)),e}),void 0)}(e,t),n.deserialize=t=>function(e,t){return(0,r.mapValues)(e,((e,n)=>(0,a.v)(e,null==t?void 0:t[n])))}(e,t),n.addReducer=function(e,t){return(n,r)=>{const[o,...i]=n,s=t[o];let a;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");a=s.addReducer(i,r)}else a=i.reduceRight(((e,t)=>u({[t]:e})),r);const c=u({...t,[o]:a});return c.storageKey=e.storageKey,c}}(n,e),n.getStorageKeys=function(e){return function*(){for(const t of Object.values(e))t.storageKey&&(yield{storageKey:t.storageKey,reducer:t}),t.getStorageKeys&&(yield*t.getStorageKeys())}}(e),n}},29398:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),a=n(69909),u=n(71085);function c(e,t,n){const o=(0,a.q)(t,(0,r.aY)(t));return!!(0,s.isEqual)(n,o)||function(e,t,n){return i()(t,{greedy:!1,verbose:!1})(e)}(n,e)}const l=(e,t)=>{const n=(0,u.$)(t);return(0,u.$)(n,{deserialize:t=>void 0===t?(0,r.aY)(n):c(e,n,t)?(0,a.v)(n,t):(0,r.aY)(n)})}},69909:(e,t,n)=>{"use strict";n.d(t,{q:()=>o,v:()=>i});var r=n(83685);function o(e,t){if(e.serialize)return e.serialize(t)}function i(e,t){return e.deserialize?e.deserialize(t):(0,r.aY)(e)}},71085:(e,t,n)=>{"use strict";function r(e){let{serialize:t,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.bind(null);return r.serialize=t||e.serialize||(e=>e),r.deserialize=n||e.deserialize||(e=>e),r}n.d(t,{$:()=>r})},36115:(e,t,n)=>{"use strict";n.d(t,{vX:()=>r.Z,ts:()=>o.t,P6:()=>i.P6,w2:()=>i.w2,jN:()=>i.jN,$A:()=>i.$A,MB:()=>i.MB,di:()=>i.di,MR:()=>i.MR,lH:()=>i.lH});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});let r=null,o=0;function i(e){const t={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${e}(${o+1})`};return r=e,o++,t}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:(e,t,n)=>{"use strict";n.d(t,{lH:()=>m,MR:()=>y,di:()=>v,MB:()=>w,$A:()=>b,jN:()=>_,P6:()=>E,w2:()=>S});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),a=n(29377),u=n(36209),c=n(19358),l=n(21694);const p=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked","wpcom_launchbar_button_click"];let d,f=Promise.resolve();function h(e){if("undefined"==typeof window)return"";e=e.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function g(){return f.catch((()=>{let e,t;const n=(0,u.t)();if(n&&n.ID)e="wpcom:user_id",t=n.ID;else if(e=h("_ut")||"anon",t=h("_ui"),!t){const e=i.parse(document.cookie);if(e.tk_ai)t=e.tk_ai;else{t=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(e=new Uint8Array(t),window.crypto.getRandomValues(e)):e=(0,s.times)(t,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...e)))}(18),document.cookie=i.serialize("tk_ai",t)}}return(0,c.Z)("Loading /nostats.js",{_ut:e,_ui:t}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(e)+"&_ui="+encodeURIComponent(t))}))}function m(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(f=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function w(e,t){return"function"==typeof t&&((0,c.Z)("superProps",t),d=t),"object"==typeof e&&((0,c.Z)("identifyUser",e),b(e)),(0,c.Z)("checkForBlockedTracks"),g()}function b(e){if("object"!=typeof e)return void(0,c.Z)("Invalid userData.",e);const t=(0,u.l)(e);t?((0,c.Z)("Tracks identifyUser.",t),m(["identifyUser",t.ID,t.username])):(0,c.Z)("Insufficient userData.",e)}function _(e,t){if(t=t||{},(0,c.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,s.includes)(p,e)){if(d){const e=d(t);t={...t,...e}}t=(0,s.omitBy)(t,(e=>void 0===e)),(0,c.Z)('Recording event "%s" with actual props %o',e,t),m(["recordEvent",e,t]),y.emit("record-event",e,t)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(e,t){(0,c.Z)("Recording pageview in tracks.",e,t);let n={do_not_track:(0,l.Z)()?1:0,path:e};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),t&&(n=Object.assign(n,t)),"undefined"!=typeof window&&window.location){const e=new URL(window.location.href).searchParams,t=e&&Array.from(e.entries()).filter((e=>{let[t]=e;return t.startsWith("utm_")})),r=t?Object.fromEntries(t):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(e,t){const n=(0,a.i)(e);E(e,Object.assign(t||{},n))}},73722:(e,t,n)=>{"use strict";n(59792)},36209:(e,t,n)=>{"use strict";n.d(t,{t:()=>i,l:()=>s});var r=n(40004);let o;function i(){return o}function s(e){if(e.ID&&!isNaN(parseInt(e.ID,10))&&e.username&&e.email)return o={ID:parseInt(e.ID,10),username:e.username,email:e.email,hashedPii:{ID:(0,r.Z)(e.ID),username:(0,r.Z)(e.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(e.email.toLowerCase().replace(/\s/g,""))}},o}},19358:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(38049);const o=n.n(r)()("calypso:analytics")},21694:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19358);function o(){const e=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${e}`),e}},40004:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(68032),o=n.n(r);function i(e){return o()().update(e.toString()).digest("hex")}},29770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},o={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1},i=e=>((e=Object.assign(e,r)).features&&(e.features=Object.assign(e.features,o)),window.electron&&window.electron.features&&(e.features=Object.assign(e.features??{},window.electron.features)),e)},20899:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p,_k:()=>d});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window)throw new Error("Trying to initialize the configuration outside of a browser context.");window.configData||(window.configData={});const s=void 0!==window.electron;let a;a=s?(0,i.Z)(window.configData):window.configData;const u=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(e,t){e.split(",").forEach((e=>{const n=e.replace(/^[-+]/,""),r=!/^-/.test(e);a.features&&(a.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",t,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(a.env_id)||"undefined"!=typeof window&&u.test(window.location.host)){const e=o.parse(document.cookie);e.flags&&c(e.flags,"cookie");try{const e=window.sessionStorage.getItem("flags");e&&c(e,"sessionStorage")}catch(f){}const t=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);t&&c(decodeURIComponent(t[1]),"URL")}const l=(0,r.Z)(a),p=l,d=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:(e,t,n)=>{"use strict";n(65688),n(46106)},82006:(e,t,n)=>{"use strict";n.d(t,{bh:()=>r,vD:()=>o,ZJ:()=>i,j_:()=>s,pG:()=>a,Ox:()=>u,qK:()=>c,pF:()=>l,$N:()=>p,kK:()=>d,KG:()=>f,yc:()=>h,ec:()=>g,E9:()=>m,Zs:()=>y,NV:()=>v,_o:()=>w,BS:()=>b,ST:()=>_});const r="cancellation-accept-payments",o="cancellation-ad-free",i="cancellation-backups-restore",s="cancellation-collect-payments",a="cancellation-ad-revenue",u="cancellation-email-support",c="cancellation-google-analytics",l="cancellation-hq-videos",p="cancellation-jetpack-essentials",d="cancellation-live-chat",f="cancellation-managed-hostings",h="cancellation-plugins",g="cancellation-premium-design",m="cancellation-premium-themes",y="cancellation-security-and-spam",v="cancellation-seo-tools",w="cancellation-seo-social",b="cancellation-sfpt-database",_="cancellation-shipping-carriers"},21862:(e,t,n)=>{"use strict";n.d(t,{wJ_:()=>o,Ai8:()=>i,Eb2:()=>s,gqo:()=>a,c74:()=>u,jDM:()=>c,Zaf:()=>l,KlX:()=>p,W4b:()=>d,E5t:()=>f,SLH:()=>h,gI6:()=>g,U_2:()=>m,n_S:()=>y,dmM:()=>v,IhT:()=>w,vkU:()=>b,N5t:()=>_,HPg:()=>E,J8D:()=>S,dJS:()=>C,Vms:()=>P,$G1:()=>I,ggN:()=>k,Tez:()=>T,Xk_:()=>A,iTE:()=>R,QNW:()=>O,XMd:()=>L,Ej:()=>x,Q3C:()=>F,B2h:()=>U,xjj:()=>N,V09:()=>D,Tmz:()=>Z,Zjz:()=>j,Vml:()=>M,Uwp:()=>q,igx:()=>B,VyO:()=>H,Z5U:()=>V,PUy:()=>W,rli:()=>$,vEX:()=>z,MCU:()=>G,Q1W:()=>Q,fhe:()=>Y,SZ6:()=>K,Tx8:()=>J,sYz:()=>X,ljn:()=>ee,vqo:()=>te,R2o:()=>ne,EBu:()=>re,EDT:()=>oe,q4V:()=>ie,fp6:()=>se,cWM:()=>ae,_3A:()=>ue,QfP:()=>ce,aeb:()=>le,$NZ:()=>pe,wwD:()=>de,rlg:()=>fe,F$l:()=>he,gRD:()=>ge,V37:()=>me,s1f:()=>ye,_sL:()=>ve,nsi:()=>we,L2_:()=>be,$PM:()=>_e,Rp9:()=>Ee,$QL:()=>Se,zQV:()=>Ce,vQ$:()=>Pe,E30:()=>Ie,m1c:()=>ke,wUt:()=>Te,ALM:()=>Ae,okS:()=>Re,$xY:()=>Oe,$23:()=>Le,Xif:()=>xe,Do2:()=>Fe,$vg:()=>Ue,kI:()=>Ne,DwI:()=>De,csF:()=>Ze,afj:()=>je,HpB:()=>Me,w7L:()=>qe,oIe:()=>Be,XgZ:()=>He,CtJ:()=>Ve,YmK:()=>We,n$d:()=>$e,dZ$:()=>ze,X2I:()=>Ge,rDn:()=>Qe,$4:()=>Ye,V1k:()=>Ke,TBQ:()=>Je,s4b:()=>Xe,TZT:()=>et,$pY:()=>tt,mX4:()=>nt,tS0:()=>rt,L2R:()=>ot,V1I:()=>it,FR0:()=>st,zrQ:()=>at,T$h:()=>ut,lv3:()=>ct,ewW:()=>lt,GwK:()=>pt,w6W:()=>dt,liF:()=>ft,DJ3:()=>ht,puh:()=>gt,xlk:()=>mt,VZW:()=>yt,sQp:()=>vt,lYf:()=>wt,$mN:()=>bt,JqD:()=>_t,bHF:()=>Et,XZZ:()=>St,vje:()=>Ct,S_M:()=>Pt,yjN:()=>It,iC0:()=>kt,rdd:()=>Tt,bJv:()=>At,ops:()=>Rt,FiJ:()=>Ot,c__:()=>Lt,x_7:()=>xt,fDA:()=>Ft,SsD:()=>Ut,O05:()=>Nt,hH1:()=>Dt,Ly9:()=>Zt,FNU:()=>jt,DEy:()=>Mt,n26:()=>qt,ikw:()=>Bt,Vhs:()=>Ht,nl4:()=>Vt,kWv:()=>Wt,pOV:()=>$t,Ix:()=>zt,WCW:()=>Gt,Hrz:()=>Qt,HkP:()=>Yt,y4L:()=>Kt,baL:()=>Jt,LDi:()=>Xt,cMD:()=>en,_xz:()=>tn});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",a="jetpack-essential",u="jetpack-advanced",c="free-themes",l="1gb-storage",p="3gb-storage",d="6gb-storage",f="13gb-storage",h="50gb-storage",g="200gb-storage",m="community-support",y="email-support",v="email-live-chat-support-business-days",w="email-live-chat-support-all-days",b="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",C="css-customization",P="google-analytics",I="cloudflare-analytics",k="google-my-business",T="live-chat-support",A="no-adverts",R="video-upload",O="video-upload-jetpack-pro",L="audio-upload",x="wordads-instant",F="no-wp-branding",U="advanced-seo",N="upload-plugins",D="install-plugins",Z="upload-themes",j="republicize",M="simple-payments",q="all-free-features",B="all-free-features-jetpack",H="all-personal-features",V="all-premium-features",W="all-premium-features-jetpack",$="advanced-design-customization",z="upload-themes-and-plugins",G="free-custom-domain",Q="free-blog-domain",Y="email-support-signup",K="monetise-your-site",J="earn-ad-revenue",X="wordpress-subdomain-signup",ee="advanced-seo-tools",te="advanced-seo-expanded-abbreviation",ne="free-themes-signup",re="memberships",oe="premium-content-block",ie="hosting",se="premium-design-for-stores",ae="sftp-and-database-access",ue="site-backups-and-restore",ce="unlimited-premium-themes",le="advanced-design-customization-and-css",pe="blank-feature",de="standard-security-tools",fe="site-stats",he="traffic-tools",ge="jetpack-manage",me="spam-akismet-plus",ye="offsite-backup-vaultpress-daily",ve="offsite-backup-vaultpress-realtime",we="backup-archive-30",be="backup-archive-unlimited",_e="backup-storage-space-unlimited",Ee="automated-restores",Se="easy-site-migration",Ce="malware-scanning-daily",Pe="malware-scanning-daily-and-on-demand",Ie="one-click-threat-resolution",ke="automatic-security-fixes",Te="site-activity-log",Ae="free-wordpress-themes",Re="seo-preview-tools",Oe="accept-payments",Le="shipping-carriers",xe="unlimited-products-service",Fe="ecommerce-marketing",Ue="premium-customizable-themes",Ne="all-business-features",De="backup-daily-v2",Ze="backup-realtime-v2",je="product-backup-daily-v2",Me="product-backup-realtime-v2",qe="scan-v2",Be="product-scan-daily-v2",He="product-scan-realtime-v2",Ve="antispam-v2",We="waf",$e="activity-log-1-year-v2",ze="product-search-v2",Ge="security-daily",Qe="crm-v2",Ye="collect-payments-v2",Ke=r.K$,Je=r.Sj,Xe=r.JD,et=r.AY,tt=r.oe,nt=r.rx,rt=r.EI,ot=r.uL,it=r.pE,st=r.sY,at=r.Sm,ut=r.PF,ct=r.DH,lt=r.XG,pt=r.nN,dt=r.AK,ft=r.Ve,ht=r.vM,gt="jetpack-1tb-backup-storage",mt="jetpack-real-time-malware-scanning",yt="jetpack-product-backup",vt="jetpack-product-videopress",wt="jetpack-all-backup-security-features",bt="p2-3gb-storage",_t="p2-unlimited-users",Et="p2-unlimited-posts-pages",St="p2-simple-search",Ct="p2-customization-options",Pt="p2-13gb-storage",It="p2-advanced-search",kt="p2-video-sharing",Tt="p2-more-file-types",At="p2-priority-chat-email-support",Rt="p2-activity-overview",Ot="managed-hosting",Lt="unlimited-traffic",xt="payment-blocks",Ft="titan-email",Ut="unlimited-admins",Nt="woocommerce",Dt="social-media-tools",Zt="antispam",jt="atomic",Mt="backups",qt="install-purchased-plugins",Bt="scan",Ht="unlimited-emails",Vt="unlimited-subscribers",Wt="add-multiple-pages-newsletter",$t="ad-free-experience",zt="collect-payments-newsletter",Gt="post-by-email",Qt="real-time-analytics",Yt="google-analytics-v2",Kt="add-unlimited-links",Jt="customize-themes-buttons-colors",Xt="track-views-clicks",en="collect-payments-link-in-bio",tn="link-in-bio-themes-customization"},25432:(e,t,n)=>{"use strict";n.d(t,{tb:()=>r,y6:()=>o});const r="gapps",o="gapps_unlimited"},90892:(e,t,n)=>{"use strict";n.d(t,{mk:()=>o,GA:()=>i,SZ:()=>s,oe:()=>a,rx:()=>u,EI:()=>c,uL:()=>l,pE:()=>p,sY:()=>d,Sm:()=>g,PF:()=>m,DH:()=>y,XG:()=>v,Ve:()=>w,vM:()=>b,nN:()=>S,AK:()=>C,cc:()=>P,E9:()=>I,K$:()=>k,JD:()=>T,Sj:()=>A,AY:()=>R,lj:()=>Z,ap:()=>j,ns:()=>M,Xz:()=>q,p2:()=>B,NJ:()=>H,yY:()=>V,Et:()=>W,w2:()=>$,s1:()=>z,aS:()=>G,th:()=>Q,JX:()=>Y,Vl:()=>K,Dl:()=>J,jI:()=>X,G$:()=>ee,$U:()=>te,jj:()=>ne,Wn:()=>se,vE:()=>ae,Cg:()=>ue});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",a="jetpack_backup_t1_yearly",u="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",p="jetpack_scan",d="jetpack_scan_monthly",f="jetpack_scan_realtime",h="jetpack_scan_realtime_monthly",g="jetpack_anti_spam",m="jetpack_anti_spam_monthly",y="jetpack_search",v="jetpack_search_monthly",w="jetpack_crm",b="jetpack_crm_monthly",_="jetpack_crm_free",E="jetpack_crm_free_monthly",S="jetpack_videopress",C="jetpack_videopress_monthly",P="jetpack_social_basic_yearly",I="jetpack_social_basic_monthly",k="jetpack_backup_daily",T="jetpack_backup_realtime",A="jetpack_backup_daily_monthly",R="jetpack_backup_realtime_monthly",O=[...[k,T,a,c],...[A,R,u,l]],L=[...["jetpack_backup_addon_storage_10gb_monthly","jetpack_backup_addon_storage_100gb_monthly","jetpack_backup_addon_storage_1tb_monthly"],...["jetpack_backup_addon_storage_10gb_yearly","jetpack_backup_addon_storage_100gb_yearly","jetpack_backup_addon_storage_1tb_yearly"]],x=[i,s],F=[p,d,f,h],U=[P,I],N=[g,m],D=[y,v,r.AY,r.MY],Z=(r.AY,r.MY,"jetpack_free"),j="jetpack_personal",M="jetpack_personal_monthly",q="jetpack_premium",B="jetpack_premium_monthly",H="jetpack_business",V="jetpack_business_monthly",W="jetpack_security_t1_yearly",$="jetpack_security_t1_monthly",z="jetpack_security_t2_yearly",G="jetpack_security_t2_monthly",Q="jetpack_complete",Y="jetpack_complete_monthly",K="jetpack_security_daily",J="jetpack_security_daily_monthly",X="jetpack_security_realtime",ee="jetpack_security_realtime_monthly",te=[j,M,H,V,q,B],ne=[K,J,X,ee,W,$,z,G],re=[Q,Y],oe=[...ne,...re],ie=[{yearly:Q,monthly:Y},{yearly:K,monthly:J},{yearly:X,monthly:ee},{yearly:W,monthly:$},{yearly:z,monthly:G}],se="jetpack_tag_for_woocommerce_stores",ae="jetpack_tag_for_news_organisations",ue="jetpack_tag_for_membership_sites"},73239:(e,t,n)=>{"use strict";n.d(t,{ob:()=>r,w$:()=>o,SU:()=>i});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:(e,t,n)=>{"use strict";n.d(t,{UH:()=>r,M6:()=>o,mV:()=>i,Kb:()=>s,Qj:()=>a,h7:()=>u,VH:()=>c,VP:()=>l,w:()=>p,$h:()=>d,L7:()=>f,QI:()=>h,qC:()=>g,lY:()=>m,xg:()=>y});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",a="TYPE_BUSINESS",u="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",p="TYPE_SECURITY_T1",d="TYPE_SECURITY_T2",f="TYPE_ALL",h="TYPE_P2_PLUS",g="TYPE_FLEXIBLE",m="TYPE_PRO",y="TYPE_STARTER"},77904:(e,t,n)=>{"use strict";n.d(t,{w9:()=>r,AY:()=>o,MY:()=>i,Wg:()=>s,p7:()=>a,j2:()=>u,OE:()=>c,xf:()=>l,G6:()=>p,wm:()=>d,sy:()=>f,Qm:()=>h,TW:()=>g,uS:()=>m,lv:()=>y,JA:()=>v,f3:()=>w,_d:()=>b,Ml:()=>_,A2:()=>E,Cq:()=>S,_s:()=>C,dU:()=>P,Id:()=>I});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",a="business-bundle",u="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",p="value_bundle-2y",d="personal-bundle-monthly",f="personal-bundle",h="personal-bundle-2y",g="blogger-bundle",m="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",w="ecommerce-bundle-2y",b="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",C="pro-plan",P="pro-plan-monthly",I="starter-plan"},10128:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(25432);function o(e){return[r.tb,r.y6].includes(e)}},4112:(e,t,n)=>{"use strict";n.d(t,{Wh:()=>a,pl:()=>u,$J:()=>c,uH:()=>p});var r=n(5085),o=n(77904),i=n(73239),s=n(25192);function a(e){return"string"!=typeof e?Object.values(s.E).includes(e)?e:void 0:s.E[e]}function u(e){return l(e,{type:r.Qj,group:o.w9})}function c(e){return l(e,{type:r.h7,group:o.w9})}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(t).filter((e=>!n.includes(e)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=a(e);return!!o&&!("type"in t&&o.type!==t.type||"group"in t&&o.group!==t.group||"term"in t&&o.term!==t.term)}function p(e,t){const n=a(e);if(n&&n.term)switch(n.term){case i.ob:return t("Monthly subscription");case i.w$:return t("Annual subscription");case i.SU:return t("Two year subscription")}}},25192:(e,t,n)=>{"use strict";n.d(t,{E:()=>U});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),a=n(90892),u=n(21862),c=n(77904),l=n(5085),p=n(82006);function d(e){return!!e}function f(e){return e.filter(d)}const h=()=>i.ZP.translate("per month, billed annually"),g=()=>i.ZP.translate("/month, billed every two years"),m=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),y=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),v=()=>({getRecommendedFor:()=>[{tag:a.Wn,label:(0,i.Iu)("WooCommerce stores")},{tag:a.vE,label:(0,i.Iu)("News organizations")},{tag:a.Cg,label:(0,i.Iu)("Membership sites")}]}),w=()=>({getAnnualPlansOnlyFeatures:()=>[u.MCU,u.Eb2,u.IhT,u.dmM,u.Tez,u.N5t,u.vkU]}),b={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},_=()=>({...w(),group:c.w9,type:l.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",b),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[u.Ai8,u.gqo,u.n_S,u.jDM,u.W4b,u.Xk_,u.EBu,u.EDT],getSignupFeatures:()=>[u.fhe,u.Ai8,u.Uwp],getBlogSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},withDomain:{featureList:[p.vD,p.j_,p.Ox],andMore:!1}})}),E=()=>({...w(),group:c.w9,type:l.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",b),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:()=>f([u.Eb2,u.q4V,u.gqo,u.n_S,u.jDM,u.rli,u.W4b,u.Xk_,u.EBu,u.EDT]),getSignupFeatures:()=>[u.MCU,u.fhe,u.jDM],getBlogSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe],getNewsletterDescription:()=>i.ZP.translate("Jumpstart your Newsletter with a custom domain, ad-free experience, and the ability to sell subscriptions, take payments, and collect donations from day one. Backed with email support to help get everything just right."),getNewsletterSignupFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV,u.kWv,u.Ix,u.WCW,u.fhe],getNewsletterHighlightedFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV],getLinkInBioDescription:()=>i.ZP.translate("Stand out and unlock earnings with an ad-free site, custom domain, and the ability to sell subscriptions, take payments, and collect donations. Backed with email support to help get your site just right."),getLinkInBioSignupFeatures:()=>[u.Eb2,u.y4L,u.baL,u.pOV,u.LDi,u.cMD,u.WCW,u.fhe],getLinkInBioHighlightedFeatures:()=>[u.Eb2,u.y4L,u.baL,u.LDi],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.vD,p.j_,p.Ox],andMore:!1},withDomain:{featureList:[p.vD,p.j_,p.Ox],andMore:!1}})}),S=()=>({...w(),group:c.w9,type:l.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",b),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.c74,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.gI6,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.vkU,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.cWM,u.Q3C,u.$xY,u.$23,u.Xif,u.Do2,u.$vg])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.dJS],getSignupFeatures:()=>[u.$xY,u.$23,u.kI],getBlogSignupFeatures:()=>[u.$xY,u.$23,u.kI],getPortfolioSignupFeatures:()=>[u.$xY,u.$23,u.kI],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM,u.$xY,u.$23,u.fp6].filter(d),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.n26,u.vEX,u.HPg,u.okS,u.FNU,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.bh,p.ST,p.ec,p.yc,p.NV],andMore:!0},yearly:{featureList:[p.bh,p.ST,p.ec,p.yc,p.NV],andMore:!0},withDomain:{featureList:[p.bh,p.ST,p.ec,p.yc],andMore:!0}})}),C=()=>({...w(),group:c.w9,type:l.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",b),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.gqo,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.E5t,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.N5t,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE])},getPromotedFeatures:()=>[u.Eb2,u.Xk_,u.dJS,u.E5t],getSignupFeatures:()=>[u.N5t,u.aeb,u.VyO],getNewsletterDescription:()=>i.ZP.translate("Take your Newsletter further, faster. Get everything included in Personal, plus premium design themes, baked-in video uploads, ad monetization, deep visitor insights from Google Analytics, and live chat support."),getNewsletterSignupFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.Tez,u.Hrz,u.pOV,u.kWv,u.Ix,u.WCW,u.fhe],getNewsletterHighlightedFeatures:()=>[u.Eb2,u.Vhs,u.nl4,u.pOV,u.Tez,u.Hrz,u.QfP],getLinkInBioDescription:()=>i.ZP.translate("Take your site further, faster. Get everything included in Personal, plus premium design themes, baked-in video uploads, ad monetization, deep visitor insights from Google Analytics, and live chat support."),getLinkInBioSignupFeatures:()=>[u.Eb2,u.y4L,u.baL,u.pOV,u.LDi,u.cMD,u.WCW,u.fhe,u.Tez,u.Hrz,u.HkP,u.SZ6,u._xz],getLinkInBioHighlightedFeatures:()=>[u.Eb2,u.y4L,u.baL,u.LDi],getBlogSignupFeatures:()=>[u.SZ6,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(d),getPortfolioSignupFeatures:()=>[u.aeb,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(d),getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.N5t,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms].filter(d),getIncludedFeatures:()=>[u.XMd,u.$G1,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.pG,p.E9,p.qK,p.vD,p.j_,p.Ox],andMore:!1},yearly:{featureList:[p.kK,p.pG,p.E9,p.qK,p.vD,p.j_],andMore:!1},withDomain:{featureList:[p.pG,p.E9,p.qK,p.j_,p.vD],andMore:!1}})}),P=()=>({...w(),group:c.w9,type:l.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",b),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f([u.Eb2,u.q4V,u.c74,t&&u.n_S,(0,o._k)("themes/premium")?u.QfP:null,u.rli,u.gI6,u.Xk_,u.EBu,u.EDT,u.dJS,t&&u.vkU,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.cWM,u.Q3C])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.dJS,u.iTE],getSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getBlogSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getPortfolioSignupFeatures:()=>[u.vEX,u.gI6,u.Z5U],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM].filter(d),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.n26,u.HPg,u.okS,u.FNU,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.yc,p.NV,p.ZJ,p.BS,p.Ox],andMore:!0},yearly:{featureList:[p.yc,p.NV,p.ZJ,p.BS,p.kK],andMore:!0},withDomain:{featureList:[p.yc,p.NV,p.ZJ,p.BS],andMore:!0}})}),I=()=>({...w(),group:c.w9,type:l.lY,getTitle:()=>i.ZP.translate("WordPress Pro"),getDescription:()=>i.ZP.translate("Unlock the full power of WordPress with plugins, custom themes and much more."),getSubTitle:()=>i.ZP.translate("Unlimited features. Unbeatable value."),getPlanCompareFeatures:()=>[u.c__,u.FiJ,u.jDM,u.Eb2,u.QfP,u.V09,u.n26,u.J8D,u.O05,u.SLH,u.Xk_,u.B2h,u.SsD,u.iTE,u.x_7,u.hH1,u.fDA,u.SZ6,u.cWM,u._3A,u.gqo,u.Vml,u.Ej,u.Vms],getIncludedFeatures:()=>[u.dJS,u.vqo,u.XMd,u.$G1,u.$4,u.Tx8,u.HPg,u.Vms,u.ggN,u.q4V,u.rli,u.EBu,u.Q3C,u.Zjz,u.EDT,u.okS,u.cWM,u._3A,u.xjj,u.Tmz,u.vEX,u.FNU,u.ikw,u.Ly9,u.DEy],getCancellationFeatureList:()=>({monthly:{featureList:[p.yc,p.E9,p.pG,p.pF,p.BS],andMore:!0},yearly:{featureList:[p.yc,p.E9,p.pG,p.pF,p.BS],andMore:!0},withDomain:{featureList:[p.yc,p.E9,p.pG,p.pF],andMore:!0}})}),k=()=>({group:a.mk,type:l.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:e=>[a.lj].includes(e),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",b),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[u.DwI,u.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.V1k,u.TBQ,u.zrQ,u.T$h,u.okS,u.B2h,u.s1f,u.V37,u.wUt,u.J8D,u.igx,u.Ly9,u.DEy]}),T=()=>({group:a.mk,type:l.Kb,availableFor:e=>[a.lj,a.ap,a.ns].includes(e),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",b),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[u.DwI,u.w7L,u.CtJ],getIncludedFeatures:()=>f([u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.zQV,u.B2h,u.Vms,u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.GwK,u.w6W,u.okS,u.s1f,u.V37,u.zQV,u.m1c,u.QNW,u.Ej,u.B2h,u.igx,u.ikw,u.Ly9,u.DEy])}),A=()=>({group:a.mk,type:l.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:e=>[a.lj,a.Xz,a.p2,a.ap,a.ns].includes(e),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",b):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",b),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[u.csF,u.XgZ,u.CtJ],getIncludedFeatures:()=>f([u._sL,u.L2_,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.vQ$,u.E30,u.B2h,u.Vms,u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.GwK,u.w6W,u.okS,u._sL,(0,o._k)("themes/premium")?u.QfP:null,u.PUy,u.ikw,u.Ly9,u.DEy]),getInferiorFeatures:()=>[u.V1k,u.TBQ]}),R=()=>({group:a.mk,type:l.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:e=>[a.lj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including VaultPress Backup, Scan, Akismet Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[u.afj,u.oIe,u.CtJ,u.YmK],getIncludedFeatures:()=>[u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.nsi,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy]}),O=()=>({group:a.mk,type:l.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:e=>[a.lj,a.Vl,a.Dl,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[u.X2I,u.HpB,u.XgZ,u.n$d],getIncludedFeatures:()=>[u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),L=()=>({...v(),group:a.mk,type:l.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:e=>[a.lj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getFeaturedDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getLightboxDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection.{{br/}}Includes VaultPress Backup, Jetpack Scan, and Akismet Anti-spam.",{components:{br:(0,r.createElement)("br",null)},comment:"{{br/}} represents a line break"}),getPlanCardFeatures:()=>[u.VZW,u.xlk,u.CtJ,u.YmK],getIncludedFeatures:()=>[u.$pY,u.mX4,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getBenefits:()=>[(0,i.Iu)("Protect your revenue stream and content"),(0,i.Iu)("Learn about issues before your customers are impacted"),(0,i.Iu)("Restore your site in one click from desktop or mobile"),(0,i.Iu)("Fix your site without a developer"),(0,i.Iu)("Protect Woo order and customer data"),(0,i.Iu)("Save time manually reviewing spam"),(0,i.Iu)("Best-in-class support from WordPress experts")],getInferiorFeatures:()=>[u.V1k,u.TBQ]}),x=()=>({...L(),type:l.$h,getIncludedFeatures:()=>[u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D,u.ikw,u.Ly9,u.DEy],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),F=()=>({...v(),group:a.mk,type:l.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:e=>[a.lj,...a.jj,...a.$U].includes(e),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getFeaturedDescription:()=>(0,i.Iu)("Get the full Jetpack suite with real-time security tools, improved site performance, and tools to grow your business."),getLightboxDescription:()=>(0,i.Iu)("Full Jetpack suite with real-time security, instant site search, ad-free video, all CRM extensions, and extra storage for backups and video."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[u.lYf,u.puh,u.sQp,u.dZ$,u.rDn],getIncludedFeatures:()=>f([u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.lv3,u.ewW,u.liF,u.DJ3,u.L2_,u.QNW,u.GwK,u.w6W,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,(0,o._k)("themes/premium")?u.QfP:null,u.J8D,u.ikw,u.Ly9,u.DEy]),getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi],getBenefits:()=>[(0,i.Iu)("Protect your revenue stream and content"),(0,i.Iu)("Learn about issues before your customers are impacted"),(0,i.Iu)("Restore your site in one click from desktop or mobile"),(0,i.Iu)("Fix your site without a developer"),(0,i.Iu)("Protect Woo order and customer data"),(0,i.Iu)("Save time manually reviewing spam"),(0,i.Iu)("Grow your business with video, social, and CRM tools"),(0,i.Iu)("Best-in-class support from WordPress experts")]}),U={[c._d]:{group:c.w9,type:l.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>c._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[u.wJ_,u.gqo,u.U_2,u.jDM,u.KlX],getSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBlogSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getPortfolioSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[],getCancellationFeatureList:()=>({monthly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},yearly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},withDomain:{featureList:[p.KG,p._o,p.pG,p.Zs],andMore:!0}})},[c.TW]:{..._(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d].includes(e),getProductId:()=>1010,getStoreSlug:()=>c.TW,getPathSlug:()=>"blogger"},[c.uS]:{..._(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW].includes(e),getProductId:()=>1030,getStoreSlug:()=>c.uS,getPathSlug:()=>"blogger-2-years"},[c.wm]:{...E(),...y(),availableFor:e=>[c._d,c.TW,c.uS].includes(e),getProductId:()=>1019,getStoreSlug:()=>c.wm,getPathSlug:()=>"personal-monthly"},[c.sy]:{...E(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.TW,c.uS,c.wm].includes(e),getProductId:()=>1009,getStoreSlug:()=>c.sy,getPathSlug:()=>"personal"},[c.Qm]:{...E(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy].includes(e),getProductId:()=>1029,getStoreSlug:()=>c.Qm,getPathSlug:()=>"personal-2-years"},[c.OE]:{...C(),...y(),availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm].includes(e),getProductId:()=>1013,getStoreSlug:()=>c.OE,getPathSlug:()=>"premium-monthly"},[c.xf]:{...C(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.Id].includes(e),getProductId:()=>1003,getStoreSlug:()=>c.xf,getPathSlug:()=>"premium"},[c.G6]:{...C(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf].includes(e),getProductId:()=>1023,getStoreSlug:()=>c.G6,getPathSlug:()=>"premium-2-years"},[c.Wg]:{...P(),...y(),availableFor:e=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.dU].includes(e),getProductId:()=>1018,getStoreSlug:()=>c.Wg,getPathSlug:()=>"business-monthly"},[c.p7]:{...P(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.dU].includes(e),getProductId:()=>1008,getStoreSlug:()=>c.p7,getPathSlug:()=>"business"},[c.j2]:{...P(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.p7,c.Wg,c.dU].includes(e),getProductId:()=>1028,getStoreSlug:()=>c.j2,getPathSlug:()=>"business-2-years"},[c.lv]:{...S(),...y(),availableFor:e=>[c._d,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.dU].includes(e),getProductId:()=>1021,getStoreSlug:()=>c.lv,getPathSlug:()=>"ecommerce-monthly"},[c.JA]:{...S(),term:s.w$,getBillingTimeFrame:h,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.lv,c.dU].includes(e),getProductId:()=>1011,getStoreSlug:()=>c.JA,getPathSlug:()=>"ecommerce"},[c.f3]:{...S(),term:s.SU,getBillingTimeFrame:g,availableFor:e=>[c._d,c.Id,c._s,c.TW,c.uS,c.wm,c.sy,c.Qm,c.OE,c.xf,c.G6,c.Wg,c.p7,c.j2,c.lv,c.JA,c.dU].includes(e),getProductId:()=>1031,getStoreSlug:()=>c.f3,getPathSlug:()=>"ecommerce-2-years"},[a.lj]:{term:s.w$,group:a.mk,type:l.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>a.lj,getTagline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=e.some((e=>[u.V1k,u.TBQ,u.s4b,u.TZT,u.$pY,u.mX4,u.tS0,u.L2R].includes(e))),n=e.some((e=>[u.V1I,u.FR0].includes(e)));return t&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):t?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[u.wwD,u.rlg,u.F$l,u.gRD,u.B2h,u.okS,u.ALM,u.rlg,u.wwD,u.F$l,u.$NZ]},[a.Xz]:{...T(),...m(),getProductId:()=>2e3,getStoreSlug:()=>a.Xz,getPathSlug:()=>"premium"},[a.p2]:{...T(),...y(),getProductId:()=>2003,getStoreSlug:()=>a.p2,getPathSlug:()=>"premium-monthly"},[a.ap]:{...k(),...m(),getProductId:()=>2005,getStoreSlug:()=>a.ap,getPathSlug:()=>"jetpack-personal"},[a.ns]:{...k(),...y(),getProductId:()=>2006,getStoreSlug:()=>a.ns,getPathSlug:()=>"jetpack-personal-monthly"},[a.NJ]:{...A(),...m(),getProductId:()=>2001,getStoreSlug:()=>a.NJ,getPathSlug:()=>"professional"},[a.yY]:{...A(),...y(),getProductId:()=>2004,getStoreSlug:()=>a.yY,getPathSlug:()=>"professional-monthly"},[a.Vl]:{...R(),...m(),getMonthlySlug:()=>a.Dl,getStoreSlug:()=>a.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[a.Dl]:{...R(),...y(),getAnnualSlug:()=>a.Vl,getStoreSlug:()=>a.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[a.jI]:{...O(),...m(),getMonthlySlug:()=>a.G$,getStoreSlug:()=>a.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[a.G$]:{...O(),...y(),getAnnualSlug:()=>a.jI,getStoreSlug:()=>a.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[a.th]:{...F(),...m(),getStoreSlug:()=>a.th,getPathSlug:()=>"complete",getProductId:()=>2014,getProductsIncluded:()=>[a.EI,a.pE,a.Sm,a.nN,a.GA,a.cc,a.DH,a.Ve],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("1TB (1,000GB) of cloud storage"),(0,i.Iu)("1-year activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 1 year"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (60k API calls/mo)"),(0,i.Iu)("VideoPress: 1TB of ad-free video hosting"),(0,i.Iu)("Boost: Automatic CSS generation"),(0,i.Iu)("Site Search: Up to 100k records"),(0,i.Iu)("Social: Basic with unlimited shares"),(0,i.Iu)("CRM: Entrepreneur with 30 extensions")]},[a.JX]:{...F(),...y(),getStoreSlug:()=>a.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015,getProductsIncluded:()=>[a.uL,a.sY,a.PF,a.AK,a.SZ,a.E9,a.XG,a.vM],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("1TB (1,000GB) of cloud storage"),(0,i.Iu)("1-year activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 1-year"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (60k API calls/mo)"),(0,i.Iu)("VideoPress: 1TB of ad-free video hosting"),(0,i.Iu)("Boost: Automatic CSS generation"),(0,i.Iu)("Site Search: Up to 100k records"),(0,i.Iu)("Social: Basic with unlimited shares"),(0,i.Iu)("CRM: Entrepreneur with 30 extensions")]},[a.Et]:{...L(),...m(),getStoreSlug:()=>a.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016,getProductsIncluded:()=>[a.oe,a.pE,a.Sm],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("10GB of cloud storage"),(0,i.Iu)("30-day activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 30 days"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.w2]:{...L(),...y(),getStoreSlug:()=>a.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017,getProductsIncluded:()=>[a.rx,a.sY,a.PF],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("10GB of cloud storage"),(0,i.Iu)("30-day activity log archive"),(0,i.Iu)("Unlimited one-click restores from the last 30 days"),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.s1]:{...x(),...m(),getStoreSlug:()=>a.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019,getProductsIncluded:()=>[a.EI,a.pE,a.Sm],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("{{strong}}1TB (1,000GB){{/strong}} of cloud storage",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("{{strong}}1-year{{/strong}} activity log archive",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Unlimited one-click restores from the last {{strong}}1 year{{/strong}}",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[a.aS]:{...x(),...y(),getStoreSlug:()=>a.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020,getProductsIncluded:()=>[a.uL,a.sY,a.PF],getWhatIsIncluded:()=>[(0,i.Iu)("VaultPress Backup: Real-time backups as you edit"),(0,i.Iu)("{{strong}}1TB (1,000GB){{/strong}} of cloud storage",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("{{strong}}1-year{{/strong}} activity log archive",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Unlimited one-click restores from the last {{strong}}1 year{{/strong}}",{components:{strong:(0,r.createElement)("strong",null)}}),(0,i.Iu)("Scan: Real-time malware scanning and one-click fixes"),(0,i.Iu)("Akismet: Comment and form spam protection (10k API calls/mo)")]},[c.Ml]:{group:c.w9,type:l.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",b),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[u.S_M,u.yjN,u.iC0,u.rdd,u.bJv,u.ops],getSignupFeatures:()=>[u.fhe],getIncludedFeatures:()=>[u.XMd,u.lv3,u.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...y(),availableFor:e=>[c._d].includes(e),getProductId:()=>1040,getStoreSlug:()=>c.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};U[c.A2]={...U[c._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",b),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[u.$mN,u.JqD,u.bHF,u.XZZ,u.vje]},U[c.Id]={...w(),group:c.w9,type:l.xg,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Starter"),getProductId:()=>1033,getStoreSlug:()=>c.Id,getPathSlug:()=>"starter",getDescription:()=>i.ZP.hasTranslation("Start with a custom domain name, simple payments, and extra storage.")||["en","en-gb"].includes((0,i.Yj)()||"")?i.ZP.translate("Start with a custom domain name, simple payments, and extra storage."):i.ZP.translate("Start your WordPress.com website. Limited functionality and storage."),getSubTitle:()=>i.ZP.translate("Essential features. Freedom to grow."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[u.c__,u.FiJ,u.jDM,u.Eb2,u.SsD,u.W4b,u.Vms,u.x_7,u.fDA],getIncludedFeatures:()=>[u.n26],getCancellationFeatureList:()=>({monthly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},yearly:{featureList:[p.KG,p._o,p.pG,p.Zs,p.$N],andMore:!0},withDomain:{featureList:[p.KG,p._o,p.pG,p.Zs],andMore:!0}})},U[c.Cq]={...U[c._d],group:c.w9,type:l.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[u.Zaf]},U[c._s]={...I(),term:s.w$,getProductId:()=>1032,getStoreSlug:()=>c._s,getPathSlug:()=>"pro",getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly")},U[c.dU]={...I(),...y(),availableFor:e=>[c._d].includes(e),getProductId:()=>1034,getStoreSlug:()=>c.dU,getPathSlug:()=>"pro-monthly"}},78038:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4174);function o(e,t){let n,o;if(!(e instanceof URL)&&"string"!=typeof e)throw new Error("`url` should be a string or URL instance");if(e instanceof URL)n=e,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(e),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(e,"http://__domain__.invalid/")}switch(void 0===t&&(t=o),t){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${t}\` URL type.`)}}},94668:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,a=["w","h","resize","fit","s"];function u(e){if("string"!=typeof e)return null;if(e.length<1)return null;if(i.test(e))return e;const t=(0,o.A)(e);if(s.test(t.hostname))return t.protocol="https",(0,o.C)(t).toString();if(t.search&&(t.host||t.hostname||t.origin)){if(a.forEach((e=>t.searchParams.delete(e))),"0"===t.searchParams.get("authuser")&&t.searchParams.delete("authuser"),Array.from(t.searchParams).length)return null;t.search="",null!=t&&t.protocol||(t.protocol="https"),e=(0,o.C)(t).toString()}return t.pathname.endsWith(".svg")?null:(0,r.Z)(e)}},6261:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,C:()=>c});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return t.forEach((t=>{n[t]=(null==e?void 0:e[t])??i[t]})),n}function u(e){const t=(0,r.D)(e);if(t===r.a.INVALID)return{...i};const n=e instanceof URL?e:new URL(e,o);if(t===r.a.ABSOLUTE)return a(n);if(t===r.a.SCHEME_RELATIVE)return a(n,s.filter((e=>"protocol"!==e&&"origin"!==e)));const u=a(n,["pathname","hash","search","searchParams"]);return t===r.a.PATH_RELATIVE&&(u.pathname=e.split(/[?#]/,1)[0]),u}function c(e){var t;if(!(null!=e&&e.protocol||null!=e&&e.origin))throw new Error("getUrlFromParts: protocol missing.");if(!e.host&&!e.hostname&&!e.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(e.origin)try{const t=new URL(e.origin);n.host=t.host,n.protocol=t.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=e.host||n.host,null!==(t=e.searchParams)&&void 0!==t&&t.toString&&(n.search=e.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const t=e[r];t&&t!==n[r]&&(n[r]=t)}return n}},4174:(e,t,n)=>{"use strict";let r;n.d(t,{a:()=>r,D:()=>s}),function(e){e.ABSOLUTE="ABSOLUTE",e.SCHEME_RELATIVE="SCHEME_RELATIVE",e.PATH_ABSOLUTE="PATH_ABSOLUTE",e.PATH_RELATIVE="PATH_RELATIVE",e.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(e){if(!(e instanceof URL)&&"string"!=typeof e)return r.INVALID;if(""===e)return r.PATH_RELATIVE;if(e instanceof URL)return r.ABSOLUTE;let t;try{if(t=new URL(e),t.protocol&&":"!==t.protocol)return r.ABSOLUTE}catch{}try{t=new URL(e,i)}catch{return r.INVALID}return""===t.pathname?r.INVALID:t.hostname!==o?r.SCHEME_RELATIVE:e.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(43261);const u=(e,t)=>{const n=e.plain?s()("button-plain",e.className):s()("button",e.className,{"is-compact":e.compact,"is-primary":e.primary,"is-scary":e.scary,"is-busy":e.busy,"is-borderless":e.borderless,"is-transparent":e.transparent});if((e=>!!e.href)(e)){const i=(e=>{let{type:t,borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,transparent:c,...l}=e;return l})(e),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:t}))}const i=(e=>{let{type:t="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,rel:c,href:l,target:p,transparent:d,...f}=e;return{...f,type:t}})(e);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:t}))},c=(0,a.forwardRef)(u);c.defaultProps={type:"button"};const l=c},98148:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),a=n(56399);n(53616);const u=(e,t)=>{let{children:n,className:o,compact:u,displayAsLink:c,highlight:l,tagName:p="div",href:d,target:f,...h}=e;const g=i()("card",o,{"is-card-link":c||d,"is-clickable":h.onClick,"is-compact":u,"is-highlight":l},!!l&&"is-"+l);return d?(0,s.createElement)("a",(0,r.Z)({},h,{href:d,target:f,className:g,ref:t}),(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:f?"external":"chevron-right"}),n):(0,s.createElement)(p,{...h,className:g,ref:t},c&&(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:f?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(u);c.displayName="Card";const l=(0,s.memo)(c)},27136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(69307),o=n(5614),i=n(59806),s=n(5869),a=n(72779),u=n.n(a),c=n(56399);n(81712);const l=e=>{let{isError:t=!1,isWarning:n,isHidden:a,className:l,text:p,icon:d,id:f,children:h}=e;const g=u()(l,{"form-input-validation":!0,"is-warning":n,"is-error":t,"is-hidden":a}),m=t||n?o.Z:i.Z;return(0,r.createElement)("div",{className:g,role:"alert"},(0,r.createElement)("span",{id:f},d?(0,r.createElement)(c.Z,{size:24,icon:d}):(0,r.createElement)(s.Z,{size:24,icon:m}),p,h))}},98480:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(69307),o=n(55609),i=n(69771),s=n(65736),a=n(95885);n(31454);const u="l, F jS h:i A";function c(e,t){const n=new Date;return n>=e&&n<=t}function l(e){let{displayAt:t,closesAt:n,reopensAt:l,enabled:p}=e;const{__:__}=(0,a.QT)();if(!p)return null;const d=new Date(t),f=new Date(n),h=new Date(l),g={before:(0,s.sprintf)(__("Live chat support will be closed from %(closes_at)s until %(reopens_at)s. Customer support via email will remain open.","full-site-editing"),{closes_at:(0,i.format)(u,f),reopens_at:(0,i.format)(u,h)}),during:(0,s.sprintf)(__("Live chat support is closed until %(reopens_at)s. In the meantime you can still reach us by email.","full-site-editing"),{reopens_at:(0,i.format)(u,h)})};if(!c(d,h))return null;const m=c(f,h)?"during":"before",y=h.getMonth()===f.getMonth(),v=(0,s.sprintf)(__("Limited Support %(closes)s – %(reopens)s","full-site-editing"),{closes:(0,i.format)("F d",f),reopens:(0,i.format)(y?"d":"F d",h)});return(0,r.createElement)(o.Panel,{className:"a8c-components__gm-closure-notice"},(0,r.createElement)(o.PanelBody,{initialOpen:!1,title:v},(0,r.createElement)(o.PanelRow,null,g[m])))}},56399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(32421),u=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((e,t)=>{const{size:n=24,icon:i,className:c,title:l,...p}=e,d=n%18==0,f=`gridicons-${i}`,h=s()("gridicon",f,c,{"needs-offset":d&&a.iconsThatNeedOffset.includes(f),"needs-offset-x":d&&a.iconsThatNeedOffsetX.includes(f),"needs-offset-y":d&&a.iconsThatNeedOffsetY.includes(f)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:t},p),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${u}#${f}`}))})));l.displayName="Gridicon";const p=l},13668:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(65736),i=n(72779),s=n.n(i),a=n(92819);n(32014);const __=o.__,u=e=>{let{activePageIndex:t,numberOfPages:n,onChange:i,classNames:u,children:c}=e;const l=s()("pagination-control",u);return(0,r.createElement)("ul",{className:l,"aria-label":__("Pagination control")},(0,a.times)(n,(e=>(0,r.createElement)("li",{key:`${n}-${e}`,"aria-current":e===t?"page":void 0},(0,r.createElement)("button",{className:s()("pagination-control__page",{"is-current":e===t}),disabled:e===t,"aria-label":(0,o.sprintf)(__("Page %1$d of %2$d"),e+1,n),onClick:()=>i(e)})))),c&&(0,r.createElement)("li",{className:"pagination-control__last-item"},c))}},37499:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(18373),c=n(92819),l=n(13980),p=n.n(l),d=n(99196),f=n(91850),h=n.n(f),g=n(88060),m=n(51010);n(17228);const y=()=>{};class v extends d.Component{constructor(){super(...arguments),(0,o.Z)(this,"scheduledPositionUpdate",null),(0,o.Z)(this,"scheduledFocus",null),(0,o.Z)(this,"popoverNodeRef",(0,d.createRef)()),(0,o.Z)(this,"popoverInnerNodeRef",(0,d.createRef)()),(0,o.Z)(this,"state",{left:-99999,top:-99999,positionClass:this.getPositionClass(this.props.position)}),(0,o.Z)(this,"onKeydown",(e=>{if(27===e.keyCode){const e=h().findDOMNode(this.props.context);e&&e.focus(),this.close(!0)}})),(0,o.Z)(this,"getTouchEvent",(()=>"onpointerdown"in document?"pointerdown":"ontouchstart"in document?"touchstart":"click")),(0,o.Z)(this,"onClickout",(e=>{const t=this.popoverInnerNodeRef.current;let n=t&&!t.contains(e.target);if(n&&this.props.context){const t=h().findDOMNode(this.props.context);n=t&&!t.contains(e.target)}if(n&&this.props.ignoreContext){const t=h().findDOMNode(this.props.ignoreContext);n=t&&!t.contains(e.target)}n&&this.close()})),(0,o.Z)(this,"onWindowChange",(()=>{this.setPosition()})),(0,o.Z)(this,"setPosition",(()=>{let e;e=this.props.customPosition?Object.assign({positionClass:this.getPositionClass(this.constructor.defaultProps.position)},this.props.customPosition):this.computePosition(),e&&this.setState(e)})),(0,o.Z)(this,"handleOnMouseEnter",(()=>{const{onMouseEnter:e}=this.props;null==e||e()})),(0,o.Z)(this,"handleOnMouseLeave",(()=>{const{onMouseLeave:e}=this.props;null==e||e()}))}componentDidMount(){this.bindListeners(),this.setPosition(),this.show()}componentDidUpdate(){null==this.scheduledPositionUpdate&&(this.scheduledPositionUpdate=(0,c.defer)((()=>{this.setPosition(),this.scheduledPositionUpdate=null})))}componentWillUnmount(){this.unbindListeners()}bindListeners(){this.bindClickoutHandler(),this.bindEscKeyListener(),this.bindReposition(),(0,m.fN)()}unbindListeners(){this.unbindClickoutHandler(),this.unbindEscKeyListener(),this.unbindReposition(),(0,m.zR)(),null!=this.scheduledPositionUpdate&&(window.clearTimeout(this.scheduledPositionUpdate),this.scheduledPositionUpdate=null),null!=this.scheduledFocus&&(window.clearTimeout(this.scheduledFocus),this.scheduledFocus=null)}bindEscKeyListener(){this.props.closeOnEsc&&document.addEventListener("keydown",this.onKeydown,!0)}unbindEscKeyListener(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.onKeydown,!0)}bindClickoutHandler(){document.addEventListener(this.getTouchEvent(),this.onClickout,!0)}unbindClickoutHandler(){document.removeEventListener(this.getTouchEvent(),this.onClickout,!0)}bindReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindReposition(){window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0)}focusPopover(){this.scheduledFocus=(0,c.defer)((()=>{this.popoverNodeRef.current&&this.popoverNodeRef.current.focus(),this.scheduledFocus=null}))}getPositionClass(e){return`is-${e.replace(/\s+/g,"-")}`}adjustRtlPosition(e){if(this.props.isRtl)switch(e){case"top right":case"right top":return"top left";case"right":return"left";case"bottom right":case"right bottom":return"bottom left";case"bottom left":case"left bottom":return"bottom right";case"left":return"right";case"top left":case"left top":return"top right"}return e}computePosition(){const{position:e,relativePosition:t}=this.props,n=this.popoverInnerNodeRef.current,r=h().findDOMNode(this.props.context);if(!r)return null;let o=e;this.props.autoRtl&&(o=this.adjustRtlPosition(o)),this.props.autoPosition&&(o=(0,m.X6)(o,n,r));return Object.assign({},(0,m.Ou)((0,m.cv)(o,n,r,t),n),{positionClass:this.getPositionClass(o)})}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){this.props.focusOnShow&&this.focusPopover(),this.props.onShow()}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.props.onClose(e)}render(){if(!this.props.context)return null;const e=a()("popover",this.props.className,this.state.positionClass);return(0,i.createElement)("div",{ref:this.popoverNodeRef,"aria-label":this.props["aria-label"],id:this.props.id,role:"tooltip",tabIndex:"-1",style:this.getStylePosition(),className:e,onMouseEnter:this.handleOnMouseEnter,onMouseLeave:this.handleOnMouseLeave},(0,i.createElement)("div",{className:"popover__arrow"}),(0,i.createElement)("div",{ref:this.popoverInnerNodeRef,className:"popover__inner"},this.props.children))}}function w(e){let{isVisible:t=!1,showDelay:n=0,...o}=e;const s=(0,u.V)(),[a,c]=(0,d.useState)(t);return(0,d.useEffect)((()=>{if(n>0&&a!==t&&t){const e=setTimeout((()=>{c(!0)}),n);return()=>{clearTimeout(e)}}}),[n,t,a]),a===t||0!==n&&t||c(t),a?(0,i.createElement)(g.Z,null,(0,i.createElement)(v,(0,r.Z)({},o,{isRtl:s}))):null}(0,o.Z)(v,"defaultProps",{autoPosition:!0,autoRtl:!0,className:"",closeOnEsc:!0,isRtl:!1,focusOnShow:!0,position:"top",onShow:y,onClose:y,onMouseEnter:y,onMouseLeave:y});const b=p().oneOfType([p().instanceOf(d.Component),p().instanceOf("undefined"!=typeof window?window.Element:Object)]);w.propTypes={autoPosition:p().bool,autoRtl:p().bool,className:p().string,closeOnEsc:p().bool,id:p().string,context:b,ignoreContext:b,isVisible:p().bool,focusOnShow:p().bool,position:p().oneOf(["top","top right","right","bottom right","bottom","bottom left","left","top left"]),showDelay:p().number,onShow:p().func,onClose:p().func,relativePosition:p().shape({left:p().number}),customPosition:p().shape({top:p().number,left:p().number,positionClass:p().oneOf(["top","right","bottom","left"])})};const _=w},51010:(e,t,n)=>{"use strict";function r(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,e}n.d(t,{fN:()=>l,zR:()=>p,X6:()=>d,cv:()=>f,Ou:()=>h});const o={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"right",left:"top",bottom:"left",right:"bottom"};let s=null,a=0;function u(){return s||(s=r()),s}function c(){s=r()}function l(){a++>0||(window.addEventListener("resize",c,!0),window.addEventListener("scroll",c,!0))}function p(){--a>0||(window.removeEventListener("resize",c,!0),window.removeEventListener("scroll",c,!0))}function d(e,t,n){const r=u(),s=n.getBoundingClientRect(),a=t.clientHeight,c=t.clientWidth,l={top:s.top-a,bottom:r.height-s.bottom-a,left:s.left-c,right:r.width-s.right-c},p=e.split(/\s+/),[d]=p;let[,h]=p;const g=function(e,t){const n=[e,o[e],i[e],o[i[e]]];let r,s=-1/0;for(let o=0,i=n.length;o<i;o++){const i=n[o],a=t[i];if(a>0)return i;a>s&&(s=a,r=e)}return r}(d,l);return h!==g&&h!==o[g]||(h=null),function(e,t,n,r,s,a){const c=u(),l="top"===e||"bottom"===e,p=t?[l?`${e} ${t}`:`${t} ${e}`,e,l?`${e} ${o[t]}`:`${o[t]} ${e}`]:[e,l?`${e} ${i[e]}`:`${i[e]} ${e}`,l?`${e} ${o[i[e]]}`:`${o[i[e]]} ${e}`];let d,h=0;const g=s*a;for(let o=0,i=p.length;o<i;o++){const e=p[o],t=f(e,n,r),i=t.left+s,u=t.top+a,l=Math.min(t.top<c.top?u-c.top:c.bottom-t.top,a),m=Math.min(t.left<c.left?i-c.left:c.right-t.left,s)*l;if(m===g)return e;m>h&&(h=m,d=e)}return d}(g,h,t,n,c,a)||e}function f(e,t,n,r){const o=t.getBoundingClientRect();if(!o)throw new Error("could not get bounding client rect of Tip element");const i=o.width,s=o.height,a=n.getBoundingClientRect();if(!a)throw new Error("could not get bounding client rect of `target`");const u=a.width,c=a.height,l=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,o=r.clientTop||n.clientTop||0,i=r.clientLeft||n.clientLeft||0,s=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+s-o,left:e.left+a-i}}(a,document);if(!l)throw new Error("could not determine page offset of `target`");let p={};switch(e){case"top":p={top:l.top-s,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"bottom":p={top:l.top+c,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"right":p={top:l.top+c/2-s/2,left:l.left+u};break;case"left":p={top:l.top+c/2-s/2,left:l.left-i};break;case"top left":p={top:l.top-s,left:l.left+u/2-i+15};break;case"top right":p={top:l.top-s,left:l.left+u/2-15};break;case"bottom left":p={top:l.top+c,left:l.left+u/2-i+15};break;case"bottom right":p={top:l.top+c,left:l.left+u/2-15};break;case"left top":p={top:l.top+c/2-s,left:l.left-i};break;case"left bottom":p={top:l.top+c/2,left:l.left-i};break;case"right top":p={top:l.top+c/2-s,left:l.left+u};break;case"right bottom":p={top:l.top+c/2,left:l.left+u};break;default:throw new Error(`invalid position "${e}"`)}return p}function h(e,t){const n=u(),r=t.getBoundingClientRect().width;return e.left=Math.max(0,Math.min(e.left,n.width-r)),e}},88060:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(99196),o=n(91850),i=n.n(o);const s=e=>{let{children:t}=e;const[n,o]=(0,r.useState)(null);return(0,r.useLayoutEffect)((()=>{const e=document.createElement("div");return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}}),[]),n?i().createPortal(t,n):null}},97493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);n(9723);function o(e){let{children:t}=e;return(0,r.createElement)("span",{className:"screen-reader-text"},t)}},89525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(99196);const o=e=>{let{scrollTargetRef:t,smoothScrolling:n,isBelowThreshold:o}=e;const[i,s]=(0,r.useState)(!1),a=(0,r.useCallback)((()=>{t.current&&s(o(t.current))}),[t,o]);(0,r.useEffect)((()=>{if(t.current){const e=t.current;return e.addEventListener("scroll",a),()=>{e.removeEventListener("scroll",a)}}}),[t,a]);return{scrollToTop:(0,r.useCallback)((()=>{t.current&&t.current.scrollTo({top:0,behavior:n?"smooth":"auto"})}),[t,n]),isButtonVisible:i}}},6010:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(80418);class u extends a.PureComponent{render(){const e=s()(this.props.baseClassName,this.props.className),t={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:e},(0,o.createElement)("div",{className:"spinner__outer",style:t},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(u,"defaultProps",{size:20,baseClassName:"spinner"})},90544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{const t=(e=>t=>{if(t in e)return e[t];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${t}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(e);return t.isEnabled=(e=>t=>e.features&&!!e.features[t]||!1)(e),t.enabledFeatures=(e=>()=>e.features?Object.entries(e.features).reduce(((e,t)=>{let[n,r]=t;return r?[...e,n]:e}),[]):[])(e),t.enable=(e=>t=>{e.features&&(e.features[t]=!0)})(e),t.disable=(e=>t=>{e.features&&(e.features[t]=!1)})(e),t}},85694:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(65736);const __=r.__;function o(e,t,n,o){return[{title:__("Add a new domain","full-site-editing"),description:__("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Manage my domain settings","full-site-editing"),description:__("Manage all domains linked to your account.","full-site-editing"),link:`/domains/manage/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Change my site address","full-site-editing"),link:`/domains/manage/${e}/edit/${e}`,synonyms:["domains","domain"],icon:"domains"},{title:__("Add a site redirect","full-site-editing"),description:__("Redirect your site to another domain.","full-site-editing"),link:`/domains/add/site-redirect/${e}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:__("Change my password","full-site-editing"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:__("Change my site's theme"),link:`/themes/${e}`,synonyms:["switch","design"],icon:"customize"},{title:__("Customize my site's theme"),link:t.root,synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:__("Change my homepage","full-site-editing"),link:t.homepage,synonyms:["home","homepage"],icon:"customize"},{title:__("Edit my menu","full-site-editing"),link:t.menus,synonyms:["menu"],icon:"customize"},{title:__("Set a site logo","full-site-editing"),link:t.identity,synonyms:["logo","identity"],icon:"customize"},{title:__("Find a plan to suit my site","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Cancel my plan","full-site-editing"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Upgrade my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,r.sprintf)(__("Cancel %s","full-site-editing"),n),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:__("Renew my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:__("Renew my domain","full-site-editing"),link:`/plans/${e}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:__("View my site activity","full-site-editing"),link:`/activity-log/${e}`,icon:"history"},{title:__("View my site's latest stats"),link:`/stats/day/${e}`,synonyms:["analytics"],icon:"stats-alt"},{title:__("Upload an image, video, audio or document","full-site-editing"),link:`/media/${e}`,synonyms:["media","photo"],icon:"image"},{title:__("Import content from another site","full-site-editing"),link:`/settings/import/${e}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:__("Earn money from my site","full-site-editing"),description:__("By upgrading to the Premium plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${e}`,synonyms:["monetize","wordads","premium"],icon:"money"},{title:__("Learn how to market my site","full-site-editing"),link:`/marketing/tools/${e}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:__("Manage my site's users"),description:__("Invite new users and edit existing ones.","full-site-editing"),link:`/people/team/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Invite new users to my site","full-site-editing"),link:`/people/new/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Change my site's timezone"),link:`/settings/general/${e}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:__("Launch my site","full-site-editing"),description:__("Switch your site from private to public.","full-site-editing"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:__("Delete a site or a site's content"),description:__("Remove all posts, pages, and media, or delete a site completely.","full-site-editing"),link:`/settings/general/${e}#site-tools__header`,icon:"cog"},{title:__("Set a site icon","full-site-editing"),link:`/settings/general/${e}`,icon:"cog",synonyms:["logo"]},{title:__("Change my site's footer text"),description:__("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${e}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:__("Export my site's content and media library"),description:__("Export posts, pages and more from your site.","full-site-editing"),link:`/settings/export/${e}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:__("Manage sharing and social media connections","full-site-editing"),link:`/sharing/${e}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:__("Add sharing buttons to my site","full-site-editing"),description:__("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${e}`,synonyms:["like","reblog"],icon:"share"},{title:__("Install, manage, and search for site Plugins","full-site-editing"),link:`/plugins/${e}`,synonyms:["upload"],icon:"plugins"},{title:__("Approve or delete comments","full-site-editing"),link:`/comments/all/${e}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:__("Manage how users can comment on my site","full-site-editing"),link:`/settings/discussion/${e}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:__("Manage post categories","full-site-editing"),link:`/settings/writing/${e}`,synonyms:["post","category"],icon:"cog"},{title:__("Edit my site title, tagline, or logo","full-site-editing"),link:`/settings/general/${e}`,synonyms:["title","logo"],icon:"cog"},{title:__("Set up a podcast","full-site-editing"),link:`/settings/writing/${e}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:__("Change my site's privacy settings"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:__("Manage SEO and traffic settings","full-site-editing"),link:`/settings/traffic/${e}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:__("Update my profile","full-site-editing"),description:__("Update your name, profile image, and about text.","full-site-editing"),link:"/me",synonyms:["avatar"],icon:"user"},{title:__("Update my username or email address","full-site-editing"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:__("Change the dashboard color scheme","full-site-editing"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:__("Switch the interface language","full-site-editing"),description:__("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:__("Close my account permanently","full-site-editing"),description:__("Delete all of your sites, and close your account completely.","full-site-editing"),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:__("Change my account privacy settings","full-site-editing"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:__("View my purchase and billing history","full-site-editing"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:__("Download the WordPress.com app for my device","full-site-editing"),description:__("Get WordPress apps for all your screens.","full-site-editing"),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:__("View my drafted posts","full-site-editing"),link:`/posts/drafts/${e}`,synonyms:["posts","draft"],icon:"my-sites"},{title:__("Manage my blog posts","full-site-editing"),link:`/posts/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("New post","full-site-editing"),description:__("Create a new blog post on your site."),link:`/post/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("View my drafted pages","full-site-editing"),link:`/pages/drafts/${e}`,synonyms:["pages","draft"],icon:"my-sites"},{title:__("Manage my pages","full-site-editing"),link:`/pages/${e}`,synonyms:["lists","pages"],icon:"my-sites"},{title:__("I cannot find my site on Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:__("Verify my site with Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:__("Create a new site","full-site-editing"),link:`${o}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:__("View contact form messages","full-site-editing"),link:`https://${e}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:__("Portfolio projects (for those who have them active)","full-site-editing"),link:`/types/jetpack-portfolio/${e}`,synonyms:["portfolio"],icon:"cog"}]}},94514:(e,t,n)=>{"use strict";n.d(t,{Sm:()=>r,fI:()=>o,D_:()=>i,EE:()=>s,QZ:()=>a,h_:()=>u});const r="tour",o="video",i="contextual_help",s="api_help",a="admin_section",u="sell_intent"},34923:(e,t,n)=>{"use strict";n.d(t,{r_:()=>p});var r=n(47498),o=n(65736),i=n(94514);const __=o.__,s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Uploading custom plugins and themes","full-site-editing")},get description(){return __("Learn more about installing a custom theme or plugin using the Business plan.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All About Domains","full-site-editing")},get description(){return __("Set up your domain whether it’s registered with WordPress.com or elsewhere.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return __("Quick-Start Guide","full-site-editing")},get description(){return __("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return __("Privacy Settings","full-site-editing")},get description(){return __("Limit your site’s visibility or make it completely private.","full-site-editing")}}],a=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return __("All about blog posts","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return __("Encourage visitors to subscribe to your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return __("Share your content to social media automatically","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return __("Encourage visitors to share your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return __("Learn about how to get noticed by search engines","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return __("Verify your site with Google and other services","full-site-editing")}}],u={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return __("Understanding the Stats Page","full-site-editing")},get description(){return __("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Getting More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:132186,get title(){return __("Increase Your Site Traffic","full-site-editing")},get description(){return __("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.","full-site-editing")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/","full-site-editing")},post_id:130825,get title(){return __("Integrate and Connect to Social Media","full-site-editing")},get description(){return __("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return __("Sharing Your Content","full-site-editing")},get description(){return __("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return __("Using Instagram","full-site-editing")},get description(){return __("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return __("Using Twitter","full-site-editing")},get description(){return __('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!',"full-site-editing")}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return __("Managing Your Profile","full-site-editing")},get description(){return __("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return __("Your Profile Picture","full-site-editing")},get description(){return __("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:138080,get title(){return __("Account Closure","full-site-editing")},get description(){return __("Need a fresh start? Learn how to close your account.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:185309,get title(){return __("Manage Your Account","full-site-editing")},get description(){return __("Learn the ins and outs of managing your WordPress.com account and site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return __("Edit Your Account Settings","full-site-editing")},get description(){return __("You can review and edit basic account information in Account Settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:143899,get title(){return __("Close Your Account","full-site-editing")},get description(){return __("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.","full-site-editing")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return __("Two-Step Authentication","full-site-editing")},get description(){return __('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!',"full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return __("Account Recovery","full-site-editing")},get description(){return __("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return __("Passwords And How To Use Them","full-site-editing")},get description(){return __("Passwords are very important to user accounts, and there may come a time when you need to change your password.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return __("Third Party Applications","full-site-editing")},get description(){return __("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.","full-site-editing")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return __("Notifications","full-site-editing")},get description(){return __("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return __("Email Notifications","full-site-editing")},get description(){return __("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return __("Following Comments","full-site-editing")},get description(){return __("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Following Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return __("The Media Library","full-site-editing")},get description(){return __("The Media Library is where you can manage your images, audio, videos, and documents all in one place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/finding-free-images-and-other-media/","full-site-editing")},post_id:78425,get title(){return __("Finding Free Images and other Media","full-site-editing")},get description(){return __("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/blocks/image-block/")},post_id:38830,get title(){return __("Add Media","full-site-editing")},get description(){return __("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return __("Including Videos","full-site-editing")},get description(){return __("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.","full-site-editing")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("User Roles","full-site-editing")},get description(){return __("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return __("User Mentions","full-site-editing")},get description(){return __("User mentions are a great way to include other WordPress.com users within your posts and comments.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/user-roles/")},post_id:2160,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return __("Your Followers","full-site-editing")},get description(){return __("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.","full-site-editing")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return __("Using Plugins","full-site-editing")},get description(){return __("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Business plan allows you to choose from many thousands of plugins, and install them on your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/use-your-plugins/")},post_id:206930,get title(){return __("Managing plugins","full-site-editing")},get description(){return __("After you install a plugin, it will appear in a list at My Sites → Plugins → Installed Plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#installing-plugins")},post_id:134719,get title(){return __("Adding Plugins","full-site-editing")},get description(){return __("Along with all the tools and features built right into WordPress.com, the Business plan allows you to install other plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Business Plan","full-site-editing")},get description(){return __("When you want to build a one-of-a-kind website, it's time for WordPress.com Business: upload plugins and themes to create a truly tailored experience for your visitors.","full-site-editing")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/","full-site-editing")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return __("Build Your Website in Five Steps","full-site-editing")},get description(){return __("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return __("Landing Pages","full-site-editing")},get description(){return __("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return __("About Blog Posts","full-site-editing")},get description(){return __("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return __("Post Formats","full-site-editing")},get description(){return __("Learn how to make gallery, video, audio, and other post types pop with post formats. ","full-site-editing")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return __("Writing Settings","full-site-editing")},get description(){return __("Learn how to manage categories, date format, content types, and more.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return __("Categories vs. Tags","full-site-editing")},get description(){return __("Learn the differences between categories and tags.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return __("Feeds","full-site-editing")},get description(){return __("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return __("Portfolios","full-site-editing")},get description(){return __("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.","full-site-editing")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return __("Discussion Settings","full-site-editing")},get description(){return __("The Discussion Settings are used to control how visitors and other blogs interact with your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/","full-site-editing")},post_id:5997,get title(){return __("Enable and Disable Comments for Future Posts","full-site-editing")},get description(){return __("You can enable/disable comments on future posts by going into your Discussion settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return __("Subscriptions and Newsletters","full-site-editing")},get description(){return __("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.","full-site-editing")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Get More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return __("Related Posts","full-site-editing")},get description(){return __("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return __("Site Verification Services","full-site-editing")},get description(){return __("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return __("Accelerated Mobile Pages (AMP)","full-site-editing")},get description(){return __("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.","full-site-editing")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return __("Security","full-site-editing")},get description(){return __("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/security/#strong-password")},post_id:35364,get title(){return __("Selecting A Strong Password","full-site-editing")},get description(){return __("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.","full-site-editing")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return __("Settings","full-site-editing")},get description(){return __("The Settings menu of your site is where you will configure everything about how the blog works and functions.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return __("General Settings","full-site-editing")},get description(){return __("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return __("Site Icons","full-site-editing")},get description(){return __("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return __("Five Steps to Your Great New Blog","full-site-editing")},get description(){return __("Get ready to publish! Our five-step checklist walks you through all the fundamentals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes/","full-site-editing")},post_id:134704,get title(){return __("Child Themes","full-site-editing")},get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes/","full-site-editing")},get title(){return __("Child Themes","full-site-editing")},post_id:134704,get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],plans:[{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return __('What are "Blocks"?',"full-site-editing")},get description(){return __("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.","full-site-editing")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/video-tutorials-add-payments-features-to-your-site-with-our-guides/","full-site-editing")},post_id:175999,get title(){return __("The Payments Block","full-site-editing")},get description(){return __("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/offline-editing/")},post_id:3595,get title(){return __("Offline Editing","full-site-editing")},get description(){return __("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return __("The Reader: An Overview","full-site-editing")},get description(){return __("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Follow Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return __("Following Specific Topics in the Reader","full-site-editing")},get description(){return __("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.","full-site-editing")}}],help:[{get link(){return(0,r.aq)("https://wpcourses.com/")},post_id:117437,get title(){return __("Blogging U.","full-site-editing")},get description(){return __("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return __("Help! Getting WordPress.com Support","full-site-editing")},get description(){return __("WordPress.com offers a number of avenues for reaching helpful, individualized support.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return __("All Support Articles","full-site-editing")},get description(){return __("Looking to learn more about a feature? Our docs have all the details.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/learn/")},get title(){return __("Self-guided Online Tutorial","full-site-editing")},get description(){return __("A step-by-step guide to getting familiar with the platform.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:5840,get title(){return __("Comment Display Options","full-site-editing")},get description(){return __("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return __("Comment Likes","full-site-editing")},get description(){return __("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.","full-site-editing")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return __("SFTP on WordPress.com","full-site-editing")},get description(){return __("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return __("phpMyAdmin and MySQL","full-site-editing")},get description(){return __("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return __("PHP Version Switching","full-site-editing")},get description(){return __("Sites on the Business Plan using custom plugins and/or custom themes and any site on the eCommerce Plan, now have the option to switch PHP versions.","full-site-editing")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Manage Purchases and Refund Policy","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return __("Add Email to your Domain","full-site-editing")},get description(){return __("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return __("Manage Custom DNS","full-site-editing")},get description(){return __("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/transfer-domain-registration/","full-site-editing")},post_id:41298,get title(){return __("Transfer a Domain to Another Registrar","full-site-editing")},get description(){return __("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-connection-vs-domain-transfer/")},post_id:157655,get title(){return __("Connect an Existing Domain","full-site-editing")},get description(){return __("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All about domains","full-site-editing")},get description(){return __("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return __("Add Social Sharing Buttons to Your Website","full-site-editing")},get description(){return __("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return __("Connect Your Blog to Facebook Using Jetpack Social","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return __("Display Your Instagram Feed on Your Website","full-site-editing")},get description(){return __("Find out how to display your latest Instagram photos right on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return __("Set Up the Social Links Menu","full-site-editing")},get description(){return __("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return __("Embed a Twitter Timeline in your Sidebar","full-site-editing")},get description(){return __("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return __("Set Up a Social Media Icons Widget","full-site-editing")},get description(){return __("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return __("Embed a Tweet from Twitter in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return __("Embed an Instagram Photo in Your Website","full-site-editing")},get description(){return __("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return __("Embed a Facebook Update in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return __("Share Blog Posts Directly on Twitter","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return __("Add a Site Logo","full-site-editing")},get description(){return __("Find out how to add a custom logo to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return __("Update Your Website Title and Tagline","full-site-editing")},get description(){return __("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return __("Change Your Privacy Settings","full-site-editing")},get description(){return __("Find out how to change your website privacy settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return __("Add a Site Icon","full-site-editing")},get description(){return __("Find out how to add a site icon on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return __("Create a Multilingual Site","full-site-editing")},get description(){return __("Find out how to create a multilingual site on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return __("Customize Your Content Options","full-site-editing")},get description(){return __("Find out how to customize your content options on select WordPress.com themes.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return __("Change Your Language Settings","full-site-editing")},get description(){return __("Find out how to change your blog or website language and your interface language settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return __("Activate Free Email Forwarding","full-site-editing")},get description(){return __("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.","full-site-editing")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return __("Change Your Password","full-site-editing")},get description(){return __("Find out how to change your account password on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return __("Change Your WordPress.com Username","full-site-editing")},get description(){return __("Find out how to change your username on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return __("Change Your WordPress.com Display Name","full-site-editing")},get description(){return __("Find out how to change your display name on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return __("Change Your Account Email Address","full-site-editing")},get description(){return __("Find out how to change your account email address on WordPress.com.","full-site-editing")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return __("Add a Custom Header Image","full-site-editing")},get description(){return __("Find out how to add a custom header image to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return __("Create a Custom Website Menu","full-site-editing")},get description(){return __("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return __("Add a Widget","full-site-editing")},get description(){return __("Find out how to add a widget to your WordPress.com website.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return __("Add a Custom Background","full-site-editing")},get description(){return __("Find out how to add a custom background to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return __("Change Your Site Fonts","full-site-editing")},get description(){return __("Find out how to change the fonts on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return __("Add a Gallery Widget","full-site-editing")},get description(){return __("Find out how to add an image gallery widget to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return __("Use Featured Content","full-site-editing")},get description(){return __("Find out how to use the Featured Content option on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return __("Add an Image Widget","full-site-editing")},get description(){return __("Find out how to add an image widget to your WordPress.com website or blog.","full-site-editing")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return __("Create a Landing Page","full-site-editing")},get description(){return __("Find out how to create a one-page website or landing page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return __("Set Up a Website in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a website on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return __("Set Up a Blog in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a blog on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return __("Create a Page","full-site-editing")},get description(){return __("Find out how to create a page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return __("Create a Post","full-site-editing")},get description(){return __("Find out how to create a post on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return __("Use a Custom Menu in a Widget","full-site-editing")},get description(){return __("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return __("Configure a Static Homepage","full-site-editing")},get description(){return __("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return __("Show Related Posts on Your WordPress Blog","full-site-editing")},get description(){return __("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return __("Add Testimonials","full-site-editing")},get description(){return __("Find out how to add testimonials to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return __("Change Your Post or Page Visibility Settings","full-site-editing")},get description(){return __("Find out how to change your page or post visibility settings WordPress.com.","full-site-editing")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return __("Add a Photo Gallery","full-site-editing")},get description(){return __("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.","full-site-editing")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return __("Change Your Website Theme on WordPress.com","full-site-editing")},get description(){return __("Find out how to change your WordPress.com theme.","full-site-editing")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return __("Learn Media Library Basics","full-site-editing")},get description(){return __("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.","full-site-editing")}}]};function p(e,t){var n,r;"posts"!==e&&"pages"!==e||(e="posts-pages");const o="write"===t?a:s,p=null===(n=c[e])||void 0===n?void 0:n[0],d=null===(r=l[e])||void 0===r?void 0:r[0];let f=u[e]??o;return"home"===e&&Array.isArray(f)?[d,p,...o,...f].filter(Boolean):("gutenberg-editor"===e&&"sell"!==t&&Array.isArray(f)&&(f=f.filter((e=>e.intent!==i.h_))),[d,p,...f].filter(Boolean))}},52865:(e,t,n)=>{"use strict";n.r(t),n.d(t,{setRouterState:()=>a,receiveHasSeenPromotionalPopover:()=>u,setHasSeenPromotionalPopover:()=>c,resetRouterState:()=>l,setSite:()=>p,setUnreadCount:()=>d,setIsMinimized:()=>f,setShowHelpCenter:()=>h,setSubject:()=>g,setMessage:()=>m,setIframe:()=>y,resetIframe:()=>v,setUserDeclaredSiteUrl:()=>w,setUserDeclaredSite:()=>b,startHelpCenterChat:()=>_,resetStore:()=>E});var r=n(23418),o=n(18552),i=n(93661),s=n(2193);const a=(e,t)=>({type:"HELP_CENTER_SET_ROUTER_STATE",history:e,index:t}),u=e=>({type:"HELP_CENTER_SET_SEEN_PROMOTIONAL_POPOVER",value:e});function*c(e){let t;return t=(0,o.aO)()?yield(0,i._9)({path:"me/preferences",apiNamespace:"wpcom/v2/",apiVersion:"2",method:"POST",body:{calypso_preferences:{[s.r]:e}}}):yield(0,r.apiFetch)({global:!0,path:"/help-center/has-seen-promotion",method:"POST"}),u(t[s.r])}const l=()=>({type:"HELP_CENTER_SET_ROUTER_STATE",history:void 0,index:void 0}),p=e=>({type:"HELP_CENTER_SET_SITE",site:e}),d=e=>({type:"HELP_CENTER_SET_UNREAD_COUNT",count:e}),f=e=>({type:"HELP_CENTER_SET_MINIMIZED",minimized:e}),h=function*(e){return e||(yield f(!1)),{type:"HELP_CENTER_SET_SHOW",show:e}},g=e=>({type:"HELP_CENTER_SET_SUBJECT",subject:e}),m=e=>({type:"HELP_CENTER_SET_MESSAGE",message:e}),y=e=>({type:"HELP_CENTER_SET_IFRAME",iframe:e}),v=()=>({type:"HELP_CENTER_RESET_IFRAME"}),w=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:e}),b=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:e}),_=function*(e,t){yield a([{pathname:"/inline-chat"}],0),yield p(e),yield m(t),yield h(!0)},E=()=>({type:"HELP_CENTER_RESET_STORE"})},2193:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,r:()=>o});const r="automattic/help-center",o="seen_help_center_promotion"},17624:(e,t,n)=>{"use strict";n.d(t,{z:()=>f});var r=n(9818),o=n(23418),i=n(5754),s=n(93661),a=n(52865),u=n(2193),c=n(61654),l=n(38251),p=n(55601);let d=!1;function f(){return(0,r.use)(r.plugins.persistence,i.Z),d||((0,r.registerStore)(u.L,{actions:a,reducer:c.Z,controls:{...o.controls,...s.ai},selectors:p,persist:["site","message","userDeclaredSite","userDeclaredSiteUrl","subject"],resolvers:l}),d=!0),u.L}},61654:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818);const o=(0,r.combineReducers)({showHelpCenter:(e,t)=>"HELP_CENTER_SET_SHOW"===t.type?t.show:e,site:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SITE"===t.type?t.site:e},subject:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SUBJECT"===t.type?t.subject:e},message:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_MESSAGE"===t.type?t.message:e},userDeclaredSite:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE"===t.type?t.site:e},userDeclaredSiteUrl:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===t.type?t.url:e},hasSeenPromotionalPopover:(e,t)=>"HELP_CENTER_SET_SEEN_PROMOTIONAL_POPOVER"===t.type?t.value:e,isMinimized:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_MINIMIZED"===t.type?t.minimized:e},unreadCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_UNREAD_COUNT"===t.type?t.count:"HELP_CENTER_RESET_STORE"===t.type?0:e},iframe:(e,t)=>"HELP_CENTER_SET_IFRAME"===t.type?t.iframe:"HELP_CENTER_RESET_IFRAME"!==t.type?e:void 0,routerState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{history:void 0,index:void 0},t=arguments.length>1?arguments[1]:void 0;return"HELP_CENTER_SET_ROUTER_STATE"===t.type?{history:t.history,index:t.index}:e}})},38251:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getHasSeenPromotionalPopover:()=>a});var r=n(86989),o=n.n(r),i=n(18552),s=n(2193);const a=()=>async e=>{let{dispatch:t}=e;const n=(0,i.aO)()?await(0,i.ZP)({path:`me/preferences?preference_key=${s.r}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:"/help-center/has-seen-promotion"});t.receiveHasSeenPromotionalPopover(n)}},55601:(e,t,n)=>{"use strict";n.r(t),n.d(t,{isHelpCenterShown:()=>r,getSite:()=>o,getSubject:()=>i,getMessage:()=>s,getUserDeclaredSiteUrl:()=>a,getIframe:()=>u,getUserDeclaredSite:()=>c,getUnreadCount:()=>l,getIsMinimized:()=>p,getRouterState:()=>d,getHasSeenPromotionalPopover:()=>f});const r=e=>e.showHelpCenter,o=e=>e.site,i=e=>e.subject,s=e=>e.message,a=e=>e.userDeclaredSiteUrl,u=e=>e.iframe,c=e=>e.userDeclaredSite,l=e=>e.unreadCount,p=e=>e.isMinimized,d=e=>e.routerState,f=e=>e.hasSeenPromotionalPopover},5754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const r="WPCOM_7_DAYS_PERSISTENCE",o=r,i=r+"_TS",s={},a={getItem:e=>s.hasOwnProperty(e)?s[e]:null,setItem(e,t){s[e]=String(t)},removeItem(e){delete s[e]}},u=(()=>{try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}})()?window.localStorage:a,c={storageKey:o,storage:{getItem(e){const t=u.getItem(i);return t&&(e=>{const t=Number(e);return Boolean(t)&&t+6048e5>Date.now()})(t)&&!new URLSearchParams(window.location.search).has("fresh")?u.getItem(e):(u.removeItem(o),u.removeItem(i),null)},setItem(e,t){u.setItem(i,JSON.stringify(Date.now())),u.setItem(e,t)}}}},53762:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(86989),o=n.n(r),i=n(99196),s=n(82066),a=n(18552);const u=e=>{const t="has-seen-whats-new-modal",{data:n,isLoading:r}=(0,s.useQuery)(t,(()=>(0,a.aO)()?(0,a.ZP)({path:"/block-editor/has-seen-whats-new-modal",apiNamespace:"wpcom/v2"}):o()({global:!0,path:"/wpcom/v2/block-editor/has-seen-whats-new-modal"})),{enabled:!!e,refetchOnWindowFocus:!1}),u=(0,s.useQueryClient)(),c=(0,s.useMutation)((e=>{let{hasSeenWhatsNewModal:t}=e;return(0,a.aO)()?(0,a.ZP)({path:"/block-editor/has-seen-whats-new-modal",apiNamespace:"wpcom/v2",method:"PUT",body:{has_seen_whats_new_modal:t}}):o()({path:"/wpcom/v2/block-editor/has-seen-whats-new-modal",method:"PUT",data:{has_seen_whats_new_modal:t}})}),{onSuccess(e){u.setQueryData(t,{...e})}}),{mutateAsync:l}=c;return{data:n,isLoading:r,setHasSeenWhatsNewModal:(0,i.useCallback)((e=>l({hasSeenWhatsNewModal:e})),[l])}}},26932:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["is-site-wporg-",e],(async()=>{var t;const n=await(0,o.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(e)}`,apiNamespace:"wpcom/v2"});return!("wordpress"!==n.platform||null!==(t=n.platform_data)&&void 0!==t&&t.is_wpcom)}),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e&&t})}},34381:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(17127),o=n(26932),i=n(41073),s=n(1494);function a(e,t){if(!e||!t)return!1;const n=t.trim().toLowerCase();if(e===n)return!0;try{const t=new URL(e);if(t.host===n)return!0;const r=new URL(n);if(t.host===r.host)return!0}catch(r){return!1}}function u(e,t,n){const[u]=(0,r.Z)(t,500),c=!!(l=u)&&l.length>4&&Boolean(null==l?void 0:l.match(/\w{2,}\.\w{2,32}/))&&n;var l;const{data:p,isLoading:d}=(0,i.u)(e,c),{data:f,isLoading:h}=(0,s.z)(u,c),{data:g,isLoading:m}=(0,o.K)(u,c);if(!c)return{result:"DISABLED",siteURL:t,isWpcom:!1};if(Boolean(null==p?void 0:p.sites.find((e=>a(e.URL,u)))))return{site:f,result:"OWNED_BY_USER",siteURL:t,isWpcom:!0};if(f)return null!=p&&p.sites.find((e=>a(e.URL,f.URL)))?{site:f,result:"OWNED_BY_USER",siteURL:t,isWpcom:!0}:{site:f,result:"NOT_OWNED_BY_USER",siteURL:t,isWpcom:!0};if(g)return{result:"WPORG",siteURL:t,isWpcom:!1};return{result:[d,m,h].some(Boolean)?"LOADING":"UNKNOWN",siteURL:t,isWpcom:!1}}},45655:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(82066),o=n(18552);function i(e){return(0,r.useQuery)("site-intent-"+e,(async()=>await(0,o.ZP)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e})}},41073:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["user-sites",e],(()=>(0,o.ZP)({path:"/me/sites/",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:3e5,enabled:t})}},1494:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)(["wpcom-site",e],(()=>(0,o.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e&&t})}},28459:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(93661),o=n(52699);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),n=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const s=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),a=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),u=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),c=e=>({type:"LAUNCH_SITE_START",siteId:e}),l=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),p=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const d=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const f=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*h(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield s(e,t.blogname)),"blogdescription"in t&&(yield a(e,t.blogdescription)),"site_vertical_id"in t&&(yield u(e,t.site_vertical_id)),yield d(e,t)}catch(n){}}function*g(e,t,n){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,style_variation_slug:n,dont_change_homepage:o},method:"POST"})}function*m(e,t,n){const{recipe:o,verticalizable:i}=t;if(["hannah","gilbert","riley"].indexOf(t.template)>=0)return;const s={trim_content:!0};i&&(s.vertical_id=null==n?void 0:n.verticalId),null!=o&&o.pattern_ids&&(s.pattern_ids=null==o?void 0:o.pattern_ids),null!=o&&o.header_pattern_ids&&(s.header_pattern_ids=null==o?void 0:o.header_pattern_ids),null!=o&&o.footer_pattern_ids&&(s.footer_pattern_ids=null==o?void 0:o.footer_pattern_ids);return yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:s,method:"POST"})}const y=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),v=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),w=(e,t,n)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:n});const b=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),_=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),E=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const S=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),C=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:n}),P=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:n});const I=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),k=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),T=(e,t,n)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:n});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield h(e,{blogname:t})},saveSiteSettings:h,setIntentOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(n){}},setStaticHomepageOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/homepage`,apiVersion:"1.1",body:{is_page_on_front:!0,page_on_front_id:t},method:"POST"})}catch(n){}},setGoalsOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(n){}},receiveSiteTitle:s,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:n,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),installTheme:function*(e,t){yield(0,r._9)({path:`/sites/${e}/themes/${t}/install`,apiVersion:"1.1",method:"POST"})},setThemeOnSite:g,runThemeSetupOnSite:m,setDesignOnSite:function*(e,t,n){var r,o,i;return yield*g(e,(null===(r=t.recipe)||void 0===r||null===(o=r.stylesheet)||void 0===o?void 0:o.split("/")[1])||t.theme,null==n||null===(i=n.styleVariation)||void 0===i?void 0:i.slug),yield*m(e,t,n)},createCustomTemplate:function*(e,t,n,o,i){const s=`${t}//${n}`;let a=!0;try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/templates/${s}`,apiNamespace:"wp/v2",method:"GET"})}catch{a=!1}const u=`templates/${a?s:""}`;yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/${u}`,apiNamespace:"wp/v2",body:{slug:n,theme:t,title:o,content:i,status:"publish",is_wp_suggestion:!0},method:"POST"})},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,s={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},a=yield(0,r._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o});return yield n(a),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:a,receiveSiteVerticalId:u,updateSiteSettings:d,saveSiteTagline:function*(e,t){yield h(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield c(e);try{yield(0,r._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield l(e)}catch(t){yield p(e,o.Hc.INTERNAL)}},launchSiteStart:c,launchSiteSuccess:l,launchSiteFailure:p,getCart:function*(e){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const n=yield(0,r._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield f(e,n),n},receiveSiteGlobalStyles:f,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield y(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield v(e,t)}catch(n){yield w(e,t,o.Hf.INTERNAL)}},atomicTransferStart:y,atomicTransferSuccess:v,atomicTransferFailure:w,latestAtomicTransferStart:b,latestAtomicTransferSuccess:_,latestAtomicTransferFailure:E,requestLatestAtomicTransfer:function*(e){yield b(e);try{const t=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield _(e,t)}catch(t){yield E(e,t)}},atomicSoftwareStatusStart:S,atomicSoftwareStatusSuccess:C,atomicSoftwareStatusFailure:P,requestAtomicSoftwareStatus:function*(e,t){yield S(e,t);try{const n=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield C(e,t,n)}catch(n){yield P(e,t,n)}},initiateSoftwareInstall:function*(e,t){yield I(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield k(e,t)}catch(n){yield T(e,t,n)}},atomicSoftwareInstallStart:I,atomicSoftwareInstallSuccess:k,atomicSoftwareInstallFailure:T,setBundledPluginSlug:(e,t)=>({type:"SET_BUNDLED_PLUGIN_SLUG",siteSlug:e,pluginSlug:t})}}},52005:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="automattic/site"},52369:(e,t,n)=>{"use strict";n.d(t,{z2:()=>d});var r=n(9818),o=n(5754),i=n(93661),s=n(28459),a=n(52005),u=n(2701),c=n(37862),l=n(84309);let p=!1;function d(e){return p||((0,r.use)(r.plugins.persistence,o.Z),p=!0,(0,r.registerStore)(a.L,{actions:(0,s.d)(e),controls:i.ai,reducer:u.ZP,resolvers:c,selectors:l,persist:["bundledPluginSlug"]})),a.L}},2701:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(9818),o=n(52699);const i=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),s=(0,r.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:n,...r}=e;return{...r}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(n=e[t.siteId])||void 0===n?void 0:n.options,site_vertical_id:t.verticalId}}}:e;var n},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:n}=t;return{error:e,message:n}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e},bundledPluginSlug:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_BUNDLED_PLUGIN_SLUG"===t.type?{...e,[t.siteSlug]:t.pluginSlug}:"RESET_SITE_STORE"===t.type?{}:e}})},37862:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSite:()=>o,getSiteDomains:()=>i,getSiteSettings:()=>s});var r=n(18552);const o=e=>async t=>{let{dispatch:n}=t;n.fetchSite();try{const t=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});n.receiveSite(e,t)}catch(o){n.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});n.receiveSiteDomains(e,null==o?void 0:o.domains)},s=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});n.receiveSiteSettings(e,null==o?void 0:o.settings)}},84309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getState:()=>s,getNewSite:()=>a,getNewSiteError:()=>u,isFetchingSite:()=>c,getFetchingSiteError:()=>l,isFetchingSiteDetails:()=>p,isNewSite:()=>d,getSite:()=>f,getSiteIdBySlug:()=>h,getSiteTitle:()=>g,getSiteVerticalId:()=>m,isSiteLaunched:()=>y,isSiteLaunching:()=>v,isSiteAtomic:()=>w,isSiteWPForTeams:()=>b,getSiteDomains:()=>_,getSiteSettings:()=>E,getSiteGlobalStyles:()=>S,getSiteSetupError:()=>C,getSiteOptions:()=>P,getSiteOption:()=>I,getPrimarySiteDomain:()=>k,getSiteSubdomain:()=>T,getSiteLatestAtomicTransfer:()=>A,getSiteLatestAtomicTransferError:()=>R,getAtomicSoftwareStatus:()=>O,getAtomicSoftwareError:()=>L,getAtomicSoftwareInstallError:()=>x,siteHasFeature:()=>F,requiresUpgrade:()=>U,isJetpackSite:()=>N,isEligibleForProPlan:()=>D,getBundledPluginSlug:()=>Z});var r=n(9818),o=n(52005),i=n(52699);const s=e=>e,a=e=>e.newSite.data,u=e=>e.newSite.error,c=e=>e.newSite.isFetching,l=e=>e.fetchingSiteError,p=e=>e.isFetchingSiteDetails,d=e=>!!e.newSite.data,f=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t))||Object.values(e.sites).find((e=>e&&e.options.unmapped_url&&new URL(e.options.unmapped_url).host===t)),h=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.ID},g=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.name},m=(e,t)=>{var n,i;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.site_vertical_id},y=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.SUCCESS},v=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.IN_PROGRESS},w=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpcom_atomic)},b=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],E=(e,t)=>e.sitesSettings[t],S=(e,t)=>e.sitesGlobalStyles[t],C=e=>e.siteSetupErrors,P=(e,t)=>{var n;return null===(n=e.sites[t])||void 0===n?void 0:n.options},I=(e,t,n)=>{var r,o;return null===(r=e.sites[t])||void 0===r||null===(o=r.options)||void 0===o?void 0:o[n]},k=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.primary_domain))},T=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.is_subdomain))},A=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.transfer},R=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.errorCode},O=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.status},L=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},x=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareInstallStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},F=(e,t,n)=>{var i,s;return Boolean(t&&(null===(i=(0,r.select)(o.L).getSite(t))||void 0===i||null===(s=i.plan)||void 0===s?void 0:s.features.active.includes(n)))},U=(e,t)=>t&&!(0,r.select)(o.L).siteHasFeature(t,"woop");function N(e,t){var n;return Boolean(t&&(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.jetpack))}function D(e,t){return!!t&&!(N(0,t)&&!w(e,t)||b(e,t))}const Z=(e,t)=>e.bundledPluginSlug[t]},52699:(e,t,n)=>{"use strict";let r,o,i,s,a,u,c;n.d(t,{Hc:()=>o,uS:()=>i,bc:()=>s,Hf:()=>a,O:()=>u,sw:()=>c}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(r||(r={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.INTERNAL="internal"}(a||(a={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(c||(c={}))},14803:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(e,t,n){const r=!t||n?"wpcom":"jpop";return(0,i.useQuery)(e,(async()=>(0,s.aO)()?await(0,s.ZP)({path:"help/sibyl",apiNamespace:"wpcom/v2/",apiVersion:"2",query:`query=${encodeURIComponent(e)}&site=${r}`}):await o()({path:`help-center/sibyl?query=${encodeURIComponent(e)}&site=${r}`,global:!0})),{refetchOnWindowFocus:!1,keepPreviousData:!0,enabled:!!e})}},41515:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>{let{ownershipResult:t,message:n,subject:r,locale:i,hideInfo:s,userDeclaredSiteUrl:a}=e;const u=t.site,c=[];u?(u.jetpack?(c.push("WP.com: Unknown"),c.push("Jetpack: Yes")):(c.push("WP.com: "+(t.isWpcom?"Yes":"No")),c.push("Jetpack: No")),c.push("Correct account: "+("OWNED_BY_USER"===t.result?"Yes":"No"))):a&&(c.push(`Self-declared URL: ${a}`),c.push("Jetpack: Unknown"),c.push("WP.com: Unknown"));const l={subject:r,message:n+"\n\n"+c.join("\n"),locale:i,client:"help-center",hide_blog_info:s,blog_id:null==u?void 0:u.ID,blog_url:null==u?void 0:u.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:l})}))}},32457:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(){return(0,i.useMutation)((e=>(0,s.aO)()?(0,s.ZP)({path:"help/ticket/new",apiNamespace:"wpcom/v2/",apiVersion:"2",method:"POST",body:e}):o()({global:!0,path:"/help-center/ticket/new",method:"POST",data:e})))}},99706:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);function a(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,i.useQuery)("OTHER"===e?"otherSupportAvailability":"chatSupportAvailability",(async()=>(0,s.aO)()?await(0,s.ZP)({path:`help/eligibility/${"OTHER"===e?"all":"chat"}/mine`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({path:"help-center/support-availability/"+("OTHER"===e?"all":"chat"),global:!0})),{enabled:t,refetchOnWindowFocus:!1,keepPreviousData:!0,staleTime:216e5})}},71382:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(19126),o=n(93661);function i(e){const t=()=>({type:"FETCH_NEW_USER"}),n=e=>({type:"RECEIVE_NEW_USER",response:e}),i=e=>({type:"RECEIVE_NEW_USER_FAILED",error:e});return{receiveCurrentUser:e=>({type:"RECEIVE_CURRENT_USER",currentUser:e}),receiveCurrentUserFailed:()=>({type:"RECEIVE_CURRENT_USER_FAILED"}),fetchNewUser:t,receiveNewUser:n,receiveNewUserFailed:i,clearErrors:()=>({type:"CLEAR_ERRORS"}),createAccount:function*(t){yield{type:"FETCH_NEW_USER"};try{const i=yield(0,o._9)({body:{is_passwordless:!0,signup_flow_name:"gutenboarding",locale:"en",...e,...t,validate:!1},path:"/users/new",apiVersion:"1.1",method:"post",query:(0,r.stringify)({locale:t.locale})});return yield(0,o.sS)(),yield(0,o.Vw)(),yield n(i),{ok:!0}}catch(s){const e=s;return yield i(e),{ok:!1,newUserError:e}}}}}},37037:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="automattic/user"},88330:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(9818),o=n(93661),i=n(71382),s=n(37037),a=n(85938),u=n(45177),c=n(47092);let l=!1;function p(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:(0,u.i)(e),selectors:c})),s.L}},85938:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(9818);const o=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_USER"===t.type){const{response:e}=t;return{username:e.signup_sandbox_username||e.username,userId:e.signup_sandbox_user_id||e.user_id,bearerToken:e.bearer_token}}if("RECEIVE_NEW_USER_FAILED"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_USER":case"RECEIVE_NEW_USER":case"CLEAR_ERRORS":return;case"RECEIVE_NEW_USER_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_USER":return!0;case"RECEIVE_NEW_USER":case"RECEIVE_NEW_USER_FAILED":return!1}return e}}),i=(0,r.combineReducers)({currentUser:(e,t)=>{switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser;case"RECEIVE_CURRENT_USER_FAILED":return null}return e},newUser:o})},45177:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(93661),o=n(71382);function i(e){const{receiveCurrentUser:t,receiveCurrentUserFailed:n}=(0,o.d)(e);return{getCurrentUser:function*(){if(window.currentUser)return t(window.currentUser);try{const e=yield(0,r._9)({path:"/me",apiVersion:"1.1"});return t(e)}catch(e){return n()}}}}},47092:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getState:()=>r,getCurrentUser:()=>o,isCurrentUserLoggedIn:()=>i,getNewUser:()=>s,getNewUserError:()=>a,isFetchingNewUser:()=>u,isNewUser:()=>c});const r=e=>e,o=e=>e.currentUser,i=e=>{var t;return!(null===(t=e.currentUser)||void 0===t||!t.ID)},s=e=>e.newUser.data,a=e=>e.newUser.error,u=e=>e.newUser.isFetching,c=e=>!!e.newUser.data},93661:(e,t,n)=>{"use strict";n.d(t,{_9:()=>o,sS:()=>i,Vw:()=>s,ai:()=>a});var r=n(18552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=()=>({type:"RELOAD_PROXY"}),s=()=>({type:"REQUEST_ALL_BLOGS_ACCESS"}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,r.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:n}=e;const r=await window.fetch(t,n);return{ok:r.ok,body:await r.json()}},RELOAD_PROXY:()=>{(0,r.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,r.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},10819:(e,t,n)=>{"use strict";function r(e){let t=null;function r(){return t||(t=Promise.resolve().then(n.bind(n,56989)).then((t=>{let{default:n}=t;return n(e)}))),t}return{init:async(e,t)=>(await r()).init(e,t),request:async(e,t)=>(await r()).request(e,t),send:async e=>(await r()).send(e)}}n.d(t,{Z:()=>r})},56989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Connection:()=>c,buildConnectionForCheckingAvailability:()=>l,default:()=>p});var r=n(56666),o=n(34386),i=n.n(o),s=n(17768),a=n.n(s);const u=i()("calypso:happychat:connection");class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,r.Z)(this,"receiveAccept",void 0),(0,r.Z)(this,"receiveConnect",void 0),(0,r.Z)(this,"receiveDisconnect",void 0),(0,r.Z)(this,"receiveError",void 0),(0,r.Z)(this,"receiveInit",void 0),(0,r.Z)(this,"receiveLocalizedSupport",void 0),(0,r.Z)(this,"receiveMessage",void 0),(0,r.Z)(this,"receiveHappychatEnv",void 0),(0,r.Z)(this,"receiveMessageOptimistic",void 0),(0,r.Z)(this,"receiveMessageUpdate",void 0),(0,r.Z)(this,"receiveReconnecting",void 0),(0,r.Z)(this,"receiveStatus",void 0),(0,r.Z)(this,"receiveToken",void 0),(0,r.Z)(this,"receiveUnauthorized",void 0),(0,r.Z)(this,"requestTranscript",void 0),(0,r.Z)(this,"closeAfterAccept",void 0),(0,r.Z)(this,"dispatch",void 0),(0,r.Z)(this,"openSocket",void 0),Object.assign(this,e),this.closeAfterAccept=t}init(e,t){if(this.openSocket)return u("socket is already connected"),this.openSocket;const n=t=>{if(t)return e(t)};return this.dispatch=n,this.openSocket=new Promise(((e,r)=>{t.then((t=>{let{url:o,user:{signer_user_id:i,jwt:s,groups:u,skills:c,geoLocation:l}}=t;var p,d;"string"==typeof o&&(o.includes("staging")?n(null===(p=this.receiveHappychatEnv)||void 0===p?void 0:p.call(this,"staging")):n(null===(d=this.receiveHappychatEnv)||void 0===d?void 0:d.call(this,"production")));const f=(e=>"string"==typeof e?new(a())(e,{transports:["websocket"]}):e)(o);return f.once("connect",(()=>{var e;return n(null===(e=this.receiveConnect)||void 0===e?void 0:e.call(this))})).on("token",(e=>{var t;n(null===(t=this.receiveToken)||void 0===t?void 0:t.call(this)),e({signer_user_id:i,jwt:s,groups:u,skills:c})})).on("init",(()=>{var t,r;n(null===(t=this.receiveInit)||void 0===t?void 0:t.call(this,{signer_user_id:i,groups:u,skills:c,geoLocation:l})),n(null===(r=this.requestTranscript)||void 0===r?void 0:r.call(this)),e(f)})).on("unauthorized",(()=>{var e;f.close(),n(null===(e=this.receiveUnauthorized)||void 0===e?void 0:e.call(this,"User is not authorized")),r("user is not authorized")})).on("disconnect",(e=>{var t;return n(null===(t=this.receiveDisconnect)||void 0===t?void 0:t.call(this,e))})).on("reconnecting",(()=>{var e;return n(null===(e=this.receiveReconnecting)||void 0===e?void 0:e.call(this))})).on("status",(e=>{var t;return n(null===(t=this.receiveStatus)||void 0===t?void 0:t.call(this,e))})).on("accept",(e=>{var t;n(null===(t=this.receiveAccept)||void 0===t?void 0:t.call(this,e)),this.closeAfterAccept&&f.close()})).on("localized-support",(e=>{var t;return n(null===(t=this.receiveLocalizedSupport)||void 0===t?void 0:t.call(this,e))})).on("message",(e=>{var t;return n(null===(t=this.receiveMessage)||void 0===t?void 0:t.call(this,e))})).on("message.optimistic",(e=>{var t;return n(null===(t=this.receiveMessageOptimistic)||void 0===t?void 0:t.call(this,e))})).on("message.update",(e=>{var t;return n(null===(t=this.receiveMessageUpdate)||void 0===t?void 0:t.call(this,e))})).on("reconnect_attempt",(()=>{f.io.opts.transports=["polling","websocket"]}))})).catch((e=>r(e)))})),this.openSocket}send(e){if(this.openSocket)return this.openSocket.then((t=>t.emit(e.event,e.payload)),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}request(e,t){if(this.openSocket)return this.openSocket.then((n=>{const r=Promise.race([new Promise(((t,r)=>{n.emit(e.event,e.payload,((e,n)=>e?r(new Error(e)):t(n)))})),new Promise(((e,n)=>setTimeout((()=>n(new Error("timeout"))),t)))]);return r.then((t=>{var n,r;return null===(n=this.dispatch)||void 0===n?void 0:n.call(this,null===(r=e.callback)||void 0===r?void 0:r.call(e,t))}),(t=>{var n,r;"timeout"!==t.message&&(null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,e.event+" request failed: "+t.message)))})),r}),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}}const l=e=>new c(e,!1),p=e=>new c(e)},61082:(e,t,n)=>{"use strict";n.d(t,{_y:()=>a,ZP:()=>c});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);const a="getHappychatAuth-"+Date.now();async function u(){return(0,s.aO)()?await(0,s.ZP)({path:"/help/authenticate/chat",apiNamespace:"wpcom/v2",apiVersion:"2",method:"POST"}):await o()({path:"/help-center/authenticate/chat",method:"POST",global:!0})}function c(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,i.useQuery)(a,u,{staleTime:6e5,enabled:e})}},89645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(82066),o=n(56989),i=n(61082);const s=Date.now();function a(e){return new Promise((t=>{const n={},r=(0,o.buildConnectionForCheckingAvailability)({receiveHappychatEnv:e=>{var o;(n.env=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveAccept:e=>{var o;(n.available=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveStatus(e){var o;(n.status=e,3===Object.keys(n).length)&&(t(n),null===(o=r.openSocket)||void 0===o||o.then((e=>e.close())))},receiveUnauthorized:()=>{t({available:!1,status:"new"})}});r.init((e=>e),Promise.resolve(e))}))}const u=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e5;const{data:n,isLoading:o}=(0,i.ZP)();return(0,r.useQuery)("happychat-available"+s,(()=>a(n)),{enabled:!o&&!!n&&e,staleTime:t})}},40495:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(69307),o=n(43239),i=n(5869),s=n(21100),a=n(95885),u=n(29175);n(62829);const c=e=>{let{onClick:t,backToRoot:n=!1}=e;const{__:__}=(0,a.QT)(),c=(0,u.k6)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:t||function(){n?c.push("/"):c.goBack()}},(0,r.createElement)(i.Z,{icon:s.Z,size:18}),__("Back","full-site-editing"))}},7577:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(69307),o=n(89525),i=n(43239),s=n(5869),a=n(94140),u=n(95885),c=n(72779),l=n.n(c);n(50436);const p=()=>{const e=(0,r.useRef)(null),{__:__}=(0,u.QT)(),t=(0,r.useCallback)((e=>e.scrollTop>400),[]),{isButtonVisible:n,scrollToTop:c}=(0,o.Z)({scrollTargetRef:e,isBelowThreshold:t,smoothScrolling:!1});return(0,r.createElement)(i.Z,{ref:t=>{e.current=(null==t?void 0:t.parentElement)??null},className:l()("back-to-top-button__help-center",{"is-visible":n}),onClick:c},(0,r.createElement)(s.Z,{icon:a.Z,size:16}),__("Back to top","full-site-editing"))}},19762:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(69307),o=n(85774),i=n(22169),s=n(15166);n(21586);const a=e=>{let{content:t,className:n}=e;const o=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(o.current&&t.length){o.current.innerHTML=t;o.current.querySelectorAll('a[href*="http"]').forEach((e=>e.setAttribute("target","_blank")))}}),[o,t]),(0,r.createElement)("div",{ref:o,className:n})},u=e=>{let{content:t,title:n,link:u,isLoading:c=!1}=e;const l={title:n,url:u};return(0,r.createElement)("article",{className:"help-center-article-content__story"},c?(0,r.createElement)(s.Z,{lines:8}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{post:l,isLoading:!1}),(0,r.createElement)(i.Z,null,(0,r.createElement)(a,{className:"help-center-article-content__story-content",content:t}))))}},19892:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(69307),o=n(99196),i=n(4792),s=n(91040),a=n(56077),u=n(9232),c=n(1230),l=n(6712),p=n(19762);n(21586);const d=(e,t)=>({blogId:e,postId:t}),f=e=>{let{postId:t,blogId:n,articleUrl:f}=e;const h=((e,t)=>{const n=(0,c.Z)(e,t);return n.isLoading?null:n.data?d(n.data.blog_id,n.data.page_id):d(e,t)})(+(n??s.Di),t),g=(0,i.v9)((e=>(0,l.UK)(e,h))),m=!(null!=g&&g.content&&h),y=null==g?void 0:g.site_ID,v=!g&&h;return(0,o.useEffect)((()=>{"undefined"!=typeof window&&f&&-1!==f.indexOf("#")&&null!=g&&g.content&&setTimeout((()=>{const e=f.split("#").pop();if(e){const t=document.getElementById(e);t&&t.scrollIntoView()}}),0)}),[f,g]),(0,r.createElement)(r.Fragment,null,y&&(0,r.createElement)(u.Z,{siteId:+y}),v&&(0,r.createElement)(a.Z,{postKey:h,isHelpCenter:!0}),(0,r.createElement)(p.Z,{content:null==g?void 0:g.content,title:null==g?void 0:g.title,link:null==g?void 0:g.link,isLoading:m}))}},23025:(e,t,n)=>{"use strict";n.d(t,{_:()=>N});var r=n(69307),o=n(36115),i=n(20899),s=n(4112),a=n(37499),u=n(43239),c=n(27136),l=n(32457),p=n(41515),d=n(41073),f=n(34381),h=n(14803),g=n(30849),m=n(1283),y=n(55609),v=n(9818),w=n(65736),b=n(5869),_=n(5614),E=n(99196),S=n(82066),C=n(4792),P=n(29175),I=n(17127),k=n(36747),T=n(73041),A=n(98865),R=n(44241),O=n(40495),L=n(10083),x=n(61108);n(27427);const __=w.__,F=["john","joe","julia","emily","ashley","daphne","megan","omar","vivian","sam","tony"].map((e=>`https://s0.wp.com/i/support-engineers/${e}.jpg`)).sort((()=>Math.random()-.5)).slice(0,2),U=e=>{let{onSelect:t,currentSite:n,siteId:o,enabled:i}=e;const s=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(m.a,{enabled:i,onPickSite:function(e){t(e)},options:s,siteId:o})};const N=()=>{var e,t,n;const{search:m}=(0,P.TH)(),w=(0,C.v9)(T.Z),N=new URLSearchParams(m),D=N.get("mode"),Z="true"===N.get("overflow"),j=(0,P.k6)(),[M,q]=(0,E.useState)(!1),[B,H]=(0,E.useState)(!1),V=(0,g.bU)(),{isLoading:W,mutateAsync:$}=(0,l.g)(),{isLoading:z,mutateAsync:G}=(0,p.M)(),Q=(0,C.v9)(k.rc),{data:Y}=(0,d.u)(Q),K=0===(null==Y?void 0:Y.sites.length),J=(0,S.useQueryClient)(),X=(0,C.v9)(k.vz),[ee,te]=(0,E.useState)("CURRENT_SITE"),{currentSite:ne,subject:re,message:oe,userDeclaredSiteUrl:ie}=(0,v.useSelect)((e=>({currentSite:e(A.aM).getSite(),subject:e(A.aM).getSubject(),message:e(A.aM).getMessage(),userDeclaredSiteUrl:e(A.aM).getUserDeclaredSiteUrl()}))),{setSite:se,resetStore:ae,setUserDeclaredSiteUrl:ue,setUserDeclaredSite:ce,setSubject:le,setMessage:pe}=(0,v.useDispatch)(A.aM);(0,E.useEffect)((()=>{const e=(0,R.yQ)(D);(0,o.jN)("calypso_inlinehelp_contact_view",{support_variation:e,forceSiteId:!0,location:"help-center",section:w})}),[D,w]),(0,E.useEffect)((()=>{K&&te("OTHER_SITE")}),[K]);const de=function(e){return{CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing"),buttonSubmittingLabel:__("Connecting to chat","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing"),buttonSubmittingLabel:__("Sending email","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing"),buttonSubmittingLabel:__("Posting in the forums","full-site-editing"),buttonLoadingLabel:__("Analyzing site…","full-site-editing")}}[e]}(D);let fe=(0,f.g)(Q,ie,"OTHER_SITE"===ee);const he="LOADING"===(null===(e=fe)||void 0===e?void 0:e.result),ge=W||z;let me;var ye;(ne&&"CURRENT_SITE"===ee&&(fe={result:"OWNED_BY_USER",isWpcom:!0,siteURL:ne.URL,site:ne}),(0,E.useEffect)((()=>{var e,t;null!==(e=fe)&&void 0!==e&&e.site&&"OTHER_SITE"===ee&&ce(null===(t=fe)||void 0===t?void 0:t.site)}),[fe,ce,ee]),"OTHER_SITE"===ee)?me=null===(ye=fe)||void 0===ye?void 0:ye.site:me=ne;const[ve]=(0,I.Z)(oe||"",500),{data:we}=(0,h.v)(ve,Boolean(null===(t=me)||void 0===t?void 0:t.jetpack),Boolean(null===(n=me)||void 0===n?void 0:n.is_wpcom_atomic)),be="true"===N.get("show-results");function _e(){var e;if(!be&&we&&we.length>0)return N.set("show-results","true"),void j.push({pathname:"/contact-form",search:N.toString()});const t=null===(e=me)||void 0===e?void 0:e.plan.product_slug,n=(0,s.Wh)(t),r=null==n?void 0:n.getProductId(),i=null==n?void 0:n.getTitle(),a=(0,s.uH)(t,(e=>e));switch(D){case"CHAT":if(me){(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"happychat",forceSiteId:!0,location:"help-center",section:w}),(0,o.jN)("calypso_help_live_chat_begin",{site_plan_product_id:r,is_automated_transfer:me.is_wpcom_atomic,forceSiteId:!0,location:"help-center",section:w}),j.push("/inline-chat");break}break;case"EMAIL":if(me){const e=[...["Site I need help with: "+me.URL,`Plan: ${r} - ${i} (${a})`],"\n",oe].join("\n");$({subject:re??"",message:e,locale:V,client:"browser:help-center",is_chat_overflow:Z,source:"source_wpcom_help_center",blog_url:me.URL}).then((()=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"kayako",forceSiteId:!0,location:"help-center",section:w}),j.push("/success"),ae(),setTimeout((()=>{J.invalidateQueries(["activeSupportTickets",X])}),3e4)})).catch((()=>{H(!0)}))}break;case"FORUM":G({ownershipResult:fe,message:oe??"",subject:re??"",locale:V,hideInfo:M,userDeclaredSiteUrl:ie}).then((e=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"forums",forceSiteId:!0,location:"help-center",section:w}),j.push(`/success?forumTopic=${encodeURIComponent(e.topic_URL)}`),ae()})).catch((()=>{H(!0)}))}}const Ee=((e,t)=>{const n=(0,i.ZP)("livechat_support_locales").includes(t),r=(0,i.ZP)("upwork_support_locales").includes(t);switch(e){case"CHAT":return!n;case"EMAIL":return!r&&!["en","en-gb"].includes(t);default:return!1}})(D,V),Se=()=>{if(ge||!oe||he)return!0;switch(D){case"CHAT":return!me;case"EMAIL":return!me||!re;case"FORUM":return!re}},Ce=()=>!be&&we&&we.length>0?__("Continue","full-site-editing"):"CHAT"===D&&be?__("Still chat with us","full-site-editing"):"EMAIL"===D&&be?__("Still email us","full-site-editing"):he?de.buttonLoadingLabel:ge?de.buttonSubmittingLabel:de.buttonLabel;return be?(0,r.createElement)("div",{className:"help-center__sibyl-articles-page"},(0,r.createElement)(O.x,null),(0,r.createElement)(x.e,{title:__("These are some helpful articles","full-site-editing"),supportSite:me,message:oe,articleCanNavigateBack:!0}),(0,r.createElement)("section",{className:"contact-form-submit"},(0,r.createElement)(u.Z,{disabled:Se(),onClick:_e,primary:!0,className:"help-center-contact-form__site-picker-cta"},Ce()),B&&(0,r.createElement)(c.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")}))):(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)(O.x,null),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},de.formTitle),de.formSubtitle&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-subtitle"},de.formSubtitle),de.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},de.formDisclaimer),!K&&(0,r.createElement)("section",null,(0,r.createElement)(U,{enabled:"FORUM"===D,currentSite:ne,onSelect:e=>{0!==e&&se(ne),te(0===e?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===ee?null==ne?void 0:ne.ID:0})),"OTHER_SITE"===ee&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(y.TextControl,{label:__("Site address","full-site-editing"),value:ie??"",onChange:ue})),(0,r.createElement)(L.JJ,{ownershipResult:fe})),["FORUM","EMAIL"].includes(D)&&(0,r.createElement)("section",null,(0,r.createElement)(y.TextControl,{className:"help-center-contact-form__subject",label:__("Subject","full-site-editing"),value:re??"",onChange:le})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:oe??"",onInput:e=>pe(e.currentTarget.value),className:"help-center-contact-form__message"})),"FORUM"===D&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__domain-sharing"},(0,r.createElement)(y.CheckboxControl,{checked:M,label:__("Don’t display my site’s URL publicly","full-site-editing"),help:(0,r.createElement)((()=>{const e=(0,E.useRef)(),[t,n]=(0,E.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("button",{className:"help-center-contact-form__site-picker-forum-privacy-info",ref:e,"aria-haspopup":!0,"aria-label":__("More information"),onClick:()=>n(!t)},(0,r.createElement)(b.Z,{icon:_.Z,size:18})),(0,r.createElement)(a.Z,{className:"help-center-contact-form__site-picker-privacy-popover",isVisible:t,context:e.current,position:"top left"},(0,r.createElement)("span",{className:"help-center-contact-form__site-picker-forum-privacy-popover"},__("This may result in a longer response time, but WordPress.com staff in the forums will still be able to view your site's URL.","full-site-editing"))))}),null),onChange:e=>q(e)}))),(0,r.createElement)("section",{className:"contact-form-submit"},(0,r.createElement)(u.Z,{disabled:Se(),onClick:_e,primary:!0,className:"help-center-contact-form__site-picker-cta"},Ce()),!B&&Ee&&(0,r.createElement)(y.Tip,null,__("Note: Support is only available in English at the moment.")),B&&(0,r.createElement)(c.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")})),["CHAT","EMAIL"].includes(D)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},F.map((e=>(0,r.createElement)("img",{key:e,src:e,"aria-hidden":"true",alt:""}))),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},de.trayText))),(0,r.createElement)(x.e,{supportSite:me,message:oe,articleCanNavigateBack:!0}))}},98490:(e,t,n)=>{"use strict";n.d(t,{_:()=>O,K:()=>L});var r=n(69307),o=n(36115),i=n(20899),s=n(6010),a=n(98480),u=n(99706),c=n(30849),l=n(6339),p=n(55609),d=n(65736),f=n(5869),h=n(77343),g=n(95885),m=n(72779),y=n.n(m),v=(n(99196),n(4792)),w=n(47933),b=n(2402),_=n(36747),E=n(73041),S=n(40495),C=n(97878),P=n(82513),I=n(83822),k=n(67605),T=n(10083),A=n(61108);const R=e=>{let{active:t,...n}=e;return t?(0,r.createElement)(w.rU,n):(0,r.createElement)("span",n)},O=()=>{const{__:__}=(0,g.QT)(),e=(0,c.bU)(),t=(0,P.X)(),n=(0,C.v)(),m=(0,v.v9)(_.vz),{data:E,isLoading:I}=(0,b.t)(m,{staleTime:18e5}),{data:O}=(0,u.p)("CHAT"),L=n.isLoading||t.isLoading||I;(0,r.useEffect)((()=>{L||(0,o.jN)("calypso_helpcenter_contact_options_impression",{forceSiteId:!0,location:"help-center",chat_available:"AVAILABLE"===n.state,email_available:t.render})}),[L,n.state,t.render]);const x=(0,r.useMemo)((()=>(0,l.TF)(e)||!(0,d.hasTranslation)("Live chat (English)")?__("Live chat","full-site-editing"):__("Live chat (English)","full-site-editing")),[__,e]),F=(0,r.useMemo)((()=>{if((0,l.TF)(e))return __("Email","full-site-editing");if((0,i.ZP)("upwork_support_locales").includes(e)){var t;const n=null===(t=(0,l.G3)(e))||void 0===t?void 0:t.name;return n&&(0,d.hasTranslation)("Email (%s)")?(0,d.sprintf)(__("Email (%s)","full-site-editing"),n):__("Email","full-site-editing")}return(0,d.hasTranslation)("Email (English)")?__("Email (English)","full-site-editing"):__("Email","full-site-editing")}),[__,e]);if(L)return(0,r.createElement)("div",{className:"help-center-contact-page__loading"},(0,r.createElement)(s.$,{baseClassName:""}));const U=!["free","personal","starter"].includes((null==O?void 0:O.supportLevel)||"");return(0,r.createElement)("div",{className:"help-center-contact-page"},(0,r.createElement)(S.x,null),(0,r.createElement)("div",{className:"help-center-contact-page__content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts","full-site-editing")),(0,r.createElement)(T.Fv,{tickets:E}),(0,r.createElement)(a.X,{displayAt:"2022-10-29 00:00Z",closesAt:"2022-11-05 00:00Z",reopensAt:"2022-11-14 07:00Z",enabled:U}),(0,r.createElement)("div",{className:y()("help-center-contact-page__boxes",{"is-reversed":!n.render||"AVAILABLE"!==n.state})},n.render&&(0,r.createElement)("div",null,(0,r.createElement)(R,{active:"AVAILABLE"===n.state,to:"/contact-form?mode=CHAT"},(0,r.createElement)("div",{className:y()("help-center-contact-page__box","chat",{"is-disabled":"AVAILABLE"!==n.state}),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(f.Z,{icon:h.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,x),(0,r.createElement)("p",null,"AVAILABLE"!==n.state?__("Chat is unavailable right now","full-site-editing"):__("Get an immediate reply","full-site-editing"))))),"staging"===n.env&&(0,r.createElement)(p.Notice,{status:"warning",actions:[{label:"HUD",url:"https://hud-staging.happychat.io/"}],className:"help-center-contact-page__staging-notice",isDismissible:!1},"Using HappyChat staging")),t.render&&(0,r.createElement)(w.rU,{to:`/contact-form?mode=EMAIL&overflow=${(n.eligible&&"CLOSED"!==n.state&&"AVAILABLE"!==n.state).toString()}`},(0,r.createElement)("div",{className:y()("help-center-contact-page__box","email"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(f.Z,{icon:(0,r.createElement)(k.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,F),(0,r.createElement)("p",null,__("An expert will get back to you soon","full-site-editing"))))))),(0,r.createElement)(A.e,{articleCanNavigateBack:!0}))},L=()=>{const{__:__}=(0,g.QT)(),{url:e,isLoading:t}=(0,I.A)(),n=(0,v.v9)(E.Z),i="https://wordpress.com/help/contact"===e;let s=i?{pathname:e}:e;return t&&(s=""),(0,r.createElement)(w.rU,{to:s,target:i?"_blank":"_self",onClick:()=>{(0,o.jN)("calypso_inlinehelp_morehelp_click",{forceSiteId:!0,location:"help-center",section:n})},className:"button help-center-contact-page__button"},(0,r.createElement)(f.Z,{icon:h.Z}),(0,r.createElement)("span",null,__("Still need help?","full-site-editing")))}},30250:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(7896),o=n(69307),i=n(99706),s=n(89645),a=n(76951),u=n(55609),c=n(9818),l=n(72779),p=n.n(l),d=n(99196),f=n(41327),h=n.n(f),g=n(29175),m=n(24478),y=n(98865),v=n(407),w=n(14059),b=n(24934),_=n(1717);const E=e=>{let{draggable:t,...n}=e;return t?(0,o.createElement)(h(),n):(0,o.createElement)(o.Fragment,null,n.children)},S=e=>{let{handleClose:t,hidden:n}=e;const{show:l,isMinimized:f}=(0,c.useSelect)((e=>({show:e(y.aM).isHelpCenterShown(),isMinimized:e(y.aM).getIsMinimized()}))),{setIsMinimized:h}=(0,c.useDispatch)(y.aM),[S,C]=(0,d.useState)(!0),P=(0,a._z)(),I=p()("help-center__container",P?"is-mobile":"is-desktop",{"is-minimized":f}),{data:k}=(0,i.p)("CHAT"),{data:T}=(0,s.Z)(Boolean(null==k?void 0:k.is_user_eligible)),{history:A,index:R}=(0,c.useSelect)((e=>e(y.aM).getRouterState())),O={style:{animation:(S?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{S||(t(),C(!0))}},L=(0,d.useRef)(null);return!l||n?null:(0,o.createElement)(g.VA,{initialEntries:A,initialIndex:R},"assigned"===(null==T?void 0:T.status)&&(0,o.createElement)(g.l_,{to:"/inline-chat?session=continued"}),(0,o.createElement)(_.L,null),(0,o.createElement)(m.O,null,(0,o.createElement)(E,{draggable:!P&&!f,nodeRef:L,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(u.Card,(0,r.Z)({className:I},O,{ref:L}),(0,o.createElement)(b.Z,{isMinimized:f,onMinimize:()=>h(!0),onMaximize:()=>h(!1),onDismiss:()=>{C(!1)}}),(0,o.createElement)(v.Z,null),!f&&(0,o.createElement)(w.Z,null)))))}},407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(69307),o=n(36115),i=n(55609),s=n(72779),a=n.n(s),u=n(4792),c=n(29175),l=n(73041),p=n(23025),d=n(98490),f=n(26212),h=n(27420),g=n(817),m=n(94509);const y=()=>{const e=(0,c.TH)(),t=a()("help-center__container-content"),n=(0,r.useRef)(null),s=(0,u.v9)(l.Z);return(0,r.useEffect)((()=>{(0,o.jN)("calypso_helpcenter_page_open",{pathname:e.pathname,search:e.search,section:s,forceSiteId:!0,location:"help-center"})}),[e,s]),(0,r.useEffect)((()=>{n.current&&n.current.scrollTo(0,0)}),[e]),(0,r.createElement)(i.CardBody,{ref:n,className:t},(0,r.createElement)(c.AW,{exact:!0,path:"/"},(0,r.createElement)(g.Z,null)),(0,r.createElement)(c.AW,{path:"/post"},(0,r.createElement)(f.X,null)),(0,r.createElement)(c.AW,{path:"/contact-options"},(0,r.createElement)(d._,null)),(0,r.createElement)(c.AW,{path:"/contact-form"},(0,r.createElement)(p._,null)),(0,r.createElement)(c.AW,{path:"/success"},(0,r.createElement)(m.k,null)),(0,r.createElement)(c.AW,{path:"/inline-chat"},(0,r.createElement)(h.Z,null)))}},26212:(e,t,n)=>{"use strict";n.d(t,{X:()=>m});var r=n(69307),o=n(36115),i=n(43239),s=n(55609),a=n(5869),u=n(22042),c=(n(99196),n(4792)),l=n(29175),p=n(73041),d=n(40495),f=n(7577),h=n(19762),g=n(19892);const m=()=>{const{state:e,search:t}=(0,l.TH)(),n=(0,l.k6)(),m=(0,c.v9)(p.Z),y=new URLSearchParams(t),v=y.get("postId"),w=y.get("blogId"),b="true"===y.get("canNavigateBack"),_=y.get("link"),E=y.get("query");(0,r.useEffect)((()=>{const e={search_query:E,forceSiteId:!0,location:"help-center",section:m,result_url:_};(0,o.jN)("calypso_inlinehelp_article_open",e)}),[E,_,m]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"help-center-embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(d.x,{onClick:()=>{b?n.goBack():E?n.push(`/?query=${E}`):n.push("/")}})),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:_??"",target:"_blank",className:"help-center-embed-result__external-button"},(0,r.createElement)(a.Z,{icon:u.Z,size:20})))),null!=e&&e.content?(0,r.createElement)(h.Z,{content:e.content,title:e.title,link:e.link}):v&&(0,r.createElement)(g.Z,{postId:+v,blogId:w})),(0,r.createElement)(f.z,null))}},14059:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(69307),o=n(55609),i=n(72779),s=n.n(i),a=n(29175),u=n(98490);const c=()=>{const e=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:e},(0,r.createElement)(a.AW,{path:"/",exact:!0},(0,r.createElement)(u.K,null)))}},24934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(69307),o=n(55609),i=n(9818),s=n(5869),a=n(39739),u=n(48632),c=n(26715),l=n(63103),p=n(60199),d=n(95885),f=n(72779),h=n.n(f),g=n(99196),m=n(29175),y=n(98865);function v(){var e;const t=(0,m.TH)(),{search:n}=(0,m.TH)(),o=new URLSearchParams(n),i=(null===(e=t.state)||void 0===e?void 0:e.title)||o.get("title")||"";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",{className:"help-center-header__article-title"},i))}const w=()=>{const{__:__}=(0,d.QT)(),{search:e}=(0,m.TH)();switch(new URLSearchParams(e).get("mode")){case"CHAT":return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Z,{icon:u.Z}),__("Start live chat","full-site-editing"));case"EMAIL":return(0,r.createElement)(r.Fragment,null,__("Send us an email","full-site-editing"));case"FORUM":return(0,r.createElement)(r.Fragment,null,__("Ask in our community forums","full-site-editing"));default:return(0,r.createElement)(r.Fragment,null,__("Help Center","full-site-editing"))}},b=e=>{let{isMinimized:t=!1,onMinimize:n,onMaximize:s,onDismiss:a}=e;const u=(0,i.useSelect)((e=>e(y.aM).getUnreadCount())),f=h()("help-center__container-header"),{__:__}=(0,d.QT)(),b=u>9?"9+":u,_=(0,g.useCallback)((e=>{t&&e.target===e.currentTarget&&(null==s||s())}),[t,s]);return(0,r.createElement)(o.CardHeader,{className:f},(0,r.createElement)(o.Flex,{onClick:_},(0,r.createElement)("p",{id:"header-text",className:"help-center-header__text",onClick:_,onKeyUp:_,role:"presentation"},t?(0,r.createElement)(m.rs,null,(0,r.createElement)(m.AW,{path:"/",exact:!0},__("Help Center","full-site-editing")),(0,r.createElement)(m.AW,{path:"/contact-options"},__("Contact Options","full-site-editing")),(0,r.createElement)(m.AW,{path:"/inline-chat"},__("Live Chat","full-site-editing")),(0,r.createElement)(m.AW,{path:"/contact-form",component:w}),(0,r.createElement)(m.AW,{path:"/post",component:v}),(0,r.createElement)(m.AW,{path:"/success"},__("Message Submitted","full-site-editing"))):__("Help Center","full-site-editing"),t&&u>0&&(0,r.createElement)("span",{className:"help-center-header__unread-count"},b)),(0,r.createElement)("div",null,t?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:c.Z,tooltipPosition:"top left",onClick:s,onTouchStart:s}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:l.Z,tooltipPosition:"top left",onClick:n,onTouchStart:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),tooltipPosition:"top left",icon:p.Z,onClick:a,onTouchStart:a}))))}},27420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(69307),o=n(9818),i=n(99196),s=n(29175),a=(n(96459),n(98865));const u=document.createElement("iframe");function c(e){let{src:t}=e;const{setIframe:n}=(0,o.useDispatch)(a.aM),s=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(!s.current)return;const e=s.current;let t=!1;function n(n){if(t||Array.isArray(n)||"resize"===(null==n?void 0:n.type)){const t=e.getBoundingClientRect();u.style.display="block",u.style.left=t.left+"px",u.style.top=t.top+"px",u.style.width=t.width+"px",u.style.height=t.height+"px"}}function r(){t=!0}function o(){t=!1}n([]),window.addEventListener("resize",n),window.addEventListener("mousemove",n),window.addEventListener("mouseup",o),window.addEventListener("mousedown",r);const i=new ResizeObserver(n);return i.observe(e),()=>{u.style.display="none",window.removeEventListener("resize",n),window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",o),window.removeEventListener("mousedown",r),i.unobserve(e)}}),[s]),(0,i.useEffect)((()=>{n(u),u.src!==t&&(u.src=t)}),[t,n]),(0,r.createElement)("div",{className:"help-center__persistent-iframe-container",ref:s})}document.body.appendChild(u),u.style.display="none",u.style.position="fixed",u.style.zIndex="100000";const l=()=>{const{search:e}=(0,s.TH)(),t="continued"===new URLSearchParams(e).get("session")?"continued":"new";return(0,r.createElement)(c,{src:`https://widgets.wp.com/calypso-happychat/?session=${t}`})}},62795:(e,t,n)=>{"use strict";n.d(t,{r:()=>S});var r=n(69307),o=n(36115),i=n(4112),s=n(53762),a=n(47498),u=n(94819),c=n(55609),l=n(5869),p=n(81835),d=n(22042),f=n(26176),h=n(10812),g=n(86642),m=n(95885),y=n(4792),v=n(76678),w=n(73041),b=n(20834),_=n(51519);const E=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"})),S=()=>{const{__:__}=(0,m.QT)(),[e,t]=(0,r.useState)(!1),n=(0,y.v9)(w.Z),{isBusinessOrEcomPlanUser:S,siteId:C}=(0,y.v9)((e=>{const t=(0,v.I)(e),n=t&&t.map((e=>e.productSlug)),r=(0,b.Z)(e);return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:r}})),{data:P,isLoading:I,setHasSeenWhatsNewModal:k}=(0,s.R)(C);(0,r.useEffect)((()=>{!I&&P&&t(!P.has_seen_whats_new_modal)}),[P,I]);const[T,A]=(0,r.useState)(!1),R=e=>{(0,o.jN)("calypso_help_moreresources_click",{is_business_or_ecommerce_plan_user:S,resource:e,forceSiteId:!0,location:"help-center",section:n})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"help-center__section-title"},__("More Resources","full-site-editing")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video",onClick:()=>R("video")},(0,r.createElement)(l.Z,{icon:p.Z,size:24}),(0,r.createElement)("span",null,__("Video Tutorials","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/webinars/"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:S,forceSiteId:!0,location:"help-center",section:n}),R("webinairs")},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Webinars","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:"https://wordpress.com/learn/",rel:"noreferrer",target:"_blank",className:"inline-help__desktop",onClick:()=>R("starting-guide")},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Starting Guide","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered",onClick:()=>R("support-documentation")},(0,r.createElement)(l.Z,{icon:g.Z,size:24}),(0,r.createElement)("span",null,__("Support Documentation","full-site-editing")),(0,r.createElement)(l.Z,{icon:d.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>{null!=P&&P.has_seen_whats_new_modal||k(!0),A(!0),R("whats-new")},className:"inline-help__new-releases"},(0,r.createElement)(l.Z,{icon:(0,r.createElement)(_.Z,null),size:24}),(0,r.createElement)("span",null,__("What's new","full-site-editing")),e&&(0,r.createElement)(l.Z,{className:"inline-help__new-releases_dot",icon:E,size:16}))))),T&&(0,r.createElement)(u.Z,{onClose:()=>A(!1)}))}},10083:(e,t,n)=>{"use strict";n.d(t,{JJ:()=>p,Fv:()=>d});var r=n(69307),o=n(47498),i=n(30849),s=n(36218),a=n(55609),u=n(65736),c=n(5869),l=n(5614);const __=u.__;function p(e){var t;let{ownershipResult:n}=e;if(!n)return null;var i;if("OWNED_BY_USER"===n.result)return(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},(null===(i=n.site)||void 0===i?void 0:i.name)||n.siteURL);const s=(c=function(e){if(!e)return null;try{return new URL(e).host}catch{return e}}(null===(t=n.site)||void 0===t?void 0:t.URL)||n.siteURL,{NOT_OWNED_BY_USER:(0,r.createElement)("p",null,(0,u.sprintf)(__("%s is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing"),c)," "," ",(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted with our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share your question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(a.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing")),OWNED_BY_USER:"",DISABLED:"",LOADING:""});var c;return s[n.result]?(0,r.createElement)(f,null,s[n.result]):null}function d(e){let{tickets:t}=e;const n=(0,i.bU)();return t&&t.length?(0,r.createElement)(f,null,(0,r.createElement)("p",null,(0,r.createElement)("strong",null,(0,u.sprintf)(__("You submitted a request %s.","full-site-editing"),(0,s.qF)({timestamp:1e3*t[0].timestamp,locale:n,style:"long"})))," "," ",__("Rest assured that we got your message and we'll be in touch as soon as we can.","full-site-editing"))):null}function f(e){let{children:t}=e;return(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(c.Z,{icon:l.Z,className:"info-icon"})),t)}},90887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var r=n(7896),o=n(69307),i=n(56399),s=n(34923),a=n(94514),u=n(30849),c=n(47498),l=n(25158),p=n(65736),d=n(5869),f=n(58706),h=n(39739),g=n(92819),m=n(78319),y=n.n(m),v=n(13980),w=n.n(v),b=n(99196),_=n(4792),E=n(66525),S=n(93345),C=n(50118),P=n(19298),I=n(89621),k=n(16193),T=n(56733),A=n(73041),R=n(77331),O=n(15166);const __=p.__,L=()=>{};function x(e){let{message:t="",priority:n="polite",timeout:r=800}=e;return(0,g.debounce)((()=>{(0,l.speak)(t,n)}),r)}const F=x({message:"Loading search results.",timeout:1500}),U=x({message:"Search results loaded."}),N=x({message:"No search results found."});function D(e){let{externalLinks:t=!1,onSelect:n,onAdminSectionSelect:l=L,searchQuery:p="",placeholderLines:g,openAdminInNewTab:m=!1,location:v="inline-help-popover"}=e;const w=(0,_.I0)(),{hasPurchases:x,sectionName:D,adminResults:Z}=(0,_.v9)((e=>({hasPurchases:(0,k.Z)(e),sectionName:(0,A.Z)(e),adminResults:(0,I.Z)(e,p,3)}))),j=["purchases","site-purchases"].includes(D),M=(0,T.P)("site_intent"),q=(0,b.useMemo)((()=>(0,s.r_)(D,M)),[D,M]),B=(0,u.bU)(),H=q.filter(((e,t)=>e||t?()=>!0:e=>111349!==e.post_id)(x,j)),{data:V,isLoading:W}=(0,R.e)(p,B),$=V??[],z=$.length>0;(0,b.useEffect)((()=>{F.cancel(),U.cancel(),N.cancel(),p&&(W?F():z?z&&U():N())}),[W,z,p]);const G=(e,s,u)=>{const{link:g,title:_,icon:E}=e,I=t&&s!==a.QZ;return(0,o.createElement)(b.Fragment,{key:`${e.post_id??g??_}-${u}`},(0,o.createElement)("li",{className:"help-center-search-results__item"},(0,o.createElement)("div",{className:"help-center-search-results__cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,c.aq)(g),onClick:t=>{I||t.preventDefault(),((e,t,r)=>{const{link:o}=t;if(r===a.QZ&&o)return w((0,P.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:p,location:v,section:D})),void(/^http/.test(o)||(e.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):y()(o),l(e)));n(e,t)})(t,e,s)}},I&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===s?(0,o.createElement)(d.Z,{icon:f.Z}):E?(0,o.createElement)(i.Z,{icon:E}):(0,o.createElement)(d.Z,{icon:h.Z})),null),(0,o.createElement)("span",null,(0,S.R)((0,C.S)(_)))))))},Q=e=>{let{type:t,title:n,results:r,condition:i}=e;const s=`inline-search--${t}`;return i?(0,o.createElement)(b.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"help-center-search-results__title"},n):null,(0,o.createElement)("ul",{className:"help-center-search-results__list","aria-labelledby":n?s:void 0},r.map(((e,n)=>G(e,t,n))))):null},Y=__(z?"Search Results":"Helpful resources for this section","full-site-editing");return(0,o.createElement)(b.Fragment,null,(0,o.createElement)(E.Z,null),(0,o.createElement)(b.Fragment,null,W&&!$.length&&(0,o.createElement)(O.Z,{lines:g}),!p||z||W?null:(0,o.createElement)("p",{className:"help-center-search-results__empty-results"},__("Sorry, there were no matches. Here are some of the most searched for help pages for this section:","full-site-editing")),(0,o.createElement)("div",{className:"help-center-search-results__results","aria-label":Y},[{type:a.EE,title:__("Recommended resources","full-site-editing"),results:$.slice(0,5),condition:!W&&$.length>0},{type:a.D_,title:p.length?"":__("Recommended resources","full-site-editing"),results:H.slice(0,6),condition:!W&&!$.length&&H.length>0},{type:a.QZ,title:__("Show me where to","full-site-editing"),results:Z,condition:!!p&&Z.length>0}].map(Q))))}D.propTypes={searchQuery:w().string,onSelect:w().func.isRequired,onAdminSectionSelect:w().func};const Z=D},817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(69307),o=n(65736),i=n(29175),s=n(71688),a=n(93345),u=n(50118),c=n(62795),l=n(90887),p=(n(6128),n(61108));const __=o.__,d=()=>{const e=(0,i.k6)(),{search:t}=(0,i.TH)(),n=new URLSearchParams(t).get("query"),[o,d]=(0,r.useState)(n||"");(0,r.useEffect)((()=>{n&&e.push("/?query="+o)}),[o,n,e]);const f=(0,r.useCallback)(((t,n)=>{t.preventDefault();const r={...n,title:(0,a.R)((0,u.S)(n.title)),query:o},i=new URLSearchParams({link:n.link,postId:n.post_id,query:o,title:(0,a.R)((0,u.S)(n.title))});n.blog_id&&i.set("blogId",n.blog_id),e.push(`/post/?${i}`,r)}),[e,o]);return(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(s.Z,{searchQuery:o,onSearch:d,location:"help-center",isVisible:!0,placeholder:__("Search for help","full-site-editing")}),o&&(0,r.createElement)(l.Z,{onSelect:f,searchQuery:o,openAdminInNewTab:!0,placeholderLines:4,location:"help-center"}),!o&&(0,r.createElement)(p.e,{message:"",supportSite:void 0}),!o&&(0,r.createElement)(c.r,null))}},61108:(e,t,n)=>{"use strict";n.d(t,{e:()=>S});var r=n(7896),o=n(69307),i=n(36115),s=n(34923),a=n(94514),u=n(14803),c=n(45655),l=n(30849),p=n(5869),d=n(39739),f=n(22042),h=n(95885),g=n(99196),m=n(4792),y=n(47933),v=n(17127),w=n(73041);function b(e){return()=>(0,i.jN)("calypso_helpcenter_page_open_sibyl_article",{forceSiteId:!0,location:"help-center",article_link:e.link,article_title:e.title})}const _=e=>{let{article:t,external:n,fullUrl:i,...s}=e;return n?(0,o.createElement)("a",(0,r.Z)({href:i,target:"_blank",rel:"noreferrer noopener"},s)):(0,o.createElement)(y.rU,(0,r.Z)({onClick:b(t)},s))};function E(e,t,n){if(e.post_id){const r=new URLSearchParams({postId:e.post_id,query:t,link:e.link??"",title:e.title});e.blog_id&&r.set("blogId",e.blog_id),n&&r.set("canNavigateBack",String(n));return{pathname:"/post",search:r.toString()}}}function S(e){let{message:t="",supportSite:n,title:r,articleCanNavigateBack:i=!1}=e;const{__:__}=(0,h.QT)(),y=(0,l.bU)(),b=Boolean(null==n?void 0:n.is_wpcom_atomic),S=Boolean(null==n?void 0:n.jetpack),[C]=(0,v.Z)(t||"",500),{data:P}=(0,u.v)(C,S,b),{data:I}=(0,c.B)(null==n?void 0:n.ID),k=(0,m.v9)(w.Z),T=(0,g.useMemo)((()=>(null!=P&&P.length?P:((e,t)=>(0,s.r_)(e,t).filter((e=>{const t="type"in e&&e.type||"";return![a.fI,a.Sm].includes(t)})))(k,(null==I?void 0:I.site_intent)??"")).map((e=>{const n="post_id"in e&&e.post_id;return{...e,url:n?E(e,t,i):e.link,is_external:"en"!==y||!n}}))),[P,k,null==I?void 0:I.site_intent,y,t,i]);return(0,o.createElement)("div",{className:"help-center-sibyl-articles__container"},(0,o.createElement)("h3",{id:"help-center--contextual_help",className:"help-center__section-title"},r||__("Recommended resources","full-site-editing")),(0,o.createElement)("ul",{className:"help-center-sibyl-articles__list","aria-labelledby":"help-center--contextual_help"},T.map(((e,t)=>(0,o.createElement)("li",{key:e.link+t},(0,o.createElement)(_,{to:e.url,external:e.is_external,fullUrl:e.link,article:e},(0,o.createElement)(p.Z,{icon:d.Z}),(0,o.createElement)("span",null,e.title),e.is_external&&(0,o.createElement)(p.Z,{icon:f.Z,size:20})))))))}},55213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(69307),o=n(99706),i=n(89645),s=n(9818),a=n(4792),u=n(87720),c=n(20834),l=n(71645),p=n(83822),d=n(98865),f=n(30250);n(62829);const h=e=>{var t,n;let{handleClose:h,hidden:g}=e;const m=(0,r.useRef)(document.createElement("div")).current,{data:y}=(0,o.p)("CHAT"),{data:v}=(0,i.Z)(Boolean(null==y?void 0:y.is_user_eligible)),{setShowHelpCenter:w}=(0,s.useDispatch)(d.aM),{setUnreadCount:b}=(0,s.useDispatch)(d.aM),{setSite:_}=(0,s.useDispatch)(d.aM),{show:E,isMinimized:S}=(0,s.useSelect)((e=>({isMinimized:e(d.aM).getIsMinimized(),show:e(d.aM).isHelpCenterShown()}))),{unreadCount:C,closeChat:P}=(0,l.g)(S||!E);(0,r.useEffect)((()=>{b(C)}),[C,b]),(0,r.useEffect)((()=>{"assigned"===(null==v?void 0:v.status)&&w(!0)}),[v,w]);const I=(0,a.v9)((e=>(0,c.Z)(e))),k=(0,a.v9)((e=>(0,u.Z)(e)));(0,s.useSelect)((e=>e(d.Em).getCurrentUser()));const T=null===(t=window)||void 0===t||null===(n=t.helpCenterData)||void 0===n?void 0:n.currentSite,A=(0,s.useSelect)((e=>e(d.j4).getSite(I||k)));return _(T||A),(0,o.p)("CHAT"),(0,p.A)(),(0,r.useEffect)((()=>(m.classList.add("help-center"),m.setAttribute("aria-modal","true"),m.setAttribute("aria-labelledby","header-text"),document.body.appendChild(m),()=>{document.body.removeChild(m),P(),h()})),[m]),(0,r.createPortal)((0,r.createElement)(f.Z,{handleClose:h,hidden:g}),m)}},92421:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(69307),o=n(9818),i=n(99196),s=n(98865);const a=(0,i.forwardRef)(((e,t)=>{let{newItems:n}=e;const{unreadCount:i}=(0,o.useSelect)((e=>({unreadCount:e(s.aM).getUnreadCount(),hasSeenPromotion:e(s.aM).getHasSeenPromotionalPopover(),doneLoading:e("core/data").hasFinishedResolution(s.aM,"getHasSeenPromotionalPopover",[])})),[]);return(0,r.createElement)(r.Fragment,null,n||i>0?(0,r.createElement)("svg",{ref:t,width:"24",height:"24",viewBox:"0 -2 26 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0ZM11 16H9V14H11V16ZM11 11.859V13H9V11C9 10.448 9.448 10 10 10C11.103 10 12 9.103 12 8C12 6.897 11.103 6 10 6C8.897 6 8 6.897 8 8H6C6 5.791 7.791 4 10 4C12.209 4 14 5.791 14 8C14 9.862 12.722 11.413 11 11.859Z"}),(0,r.createElement)("circle",{cx:"20",cy:"4",r:"5",fill:"var( --color-masterbar-unread-dot-background )",stroke:"#101517",strokeWidth:"2"})):(0,r.createElement)("svg",{ref:t,width:"24",height:"24",viewBox:"0 -2 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0ZM11 16H9V14H11V16ZM11 11.859V13H9V11C9 10.448 9.448 10 10 10C11.103 10 12 9.103 12 8C12 6.897 11.103 6 10 6C8.897 6 8 6.897 8 8H6C6 5.791 7.791 4 10 4C12.209 4 14 5.791 14 8C14 9.862 12.722 11.413 11 11.859Z"})))}))},1717:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(9818),o=n(99196),i=n(29175),s=n(98865);function a(){const e=(0,i.k6)(),{setRouterState:t}=(0,r.useDispatch)(s.aM);return(0,o.useEffect)((()=>{t(e.entries,e.index)}),[e,t]),null}},15166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);n(25827);function o(e){let{lines:t=4}=e;return(0,r.createElement)("div",{className:"placeholder-lines__help-center"},Array.from({length:t},((e,t)=>(0,r.createElement)("div",{key:t,className:"placeholder-lines__help-center-item"}))))}},55075:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(69307),o=n(36115),i=n(37499),s=n(43239),a=n(9818),u=n(95885),c=n(99196),l=n(98865);const p=e=>{let{iconElement:t}=e;const{hasSeenPromotion:n,doneLoading:p}=(0,a.useSelect)((e=>({hasSeenPromotion:e(l.aM).getHasSeenPromotionalPopover(),doneLoading:e("core/data").hasFinishedResolution(l.aM,"getHasSeenPromotionalPopover",[])})),[]),{setHasSeenPromotionalPopover:d}=(0,a.useDispatch)(l.aM),[f,h]=(0,c.useState)(!1),{__:__}=(0,u.QT)(),g=e=>{(0,o.jN)("calypso_helpcenter_promotion_popover_dismissed",{location:e})};if(!t)return null;const m=t.getBoundingClientRect();return document.elementFromPoint(m.left,m.top)!==t?null:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{className:"help-center__promotion-popover",isVisible:p&&!n&&!f,context:t,onClose:()=>{g("clicking-outside"),d(!0),h(!0)},position:"bottom left",showDelay:500},(0,r.createElement)("div",{className:"help-center__promotion-popover-inner",style:{pointerEvents:"none"}},(0,r.createElement)("h1",null,__("✨ Our new Help Center","full-site-editing")),(0,r.createElement)("p",null,__("We moved our help resources! You can always find it in the top bar.","full-site-editing")),(0,r.createElement)("div",{className:"help-center__promotion-popover-actions"},(0,r.createElement)(s.Z,{style:{pointerEvents:"all"},onClick:()=>{g("clicking-button"),d(!0),h(!0)}},__("Got it","full-site-editing"))))))}},69309:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F",strokeWidth:"1.68",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))},94509:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(69307),o=n(36115),i=n(95885),s=(n(99196),n(4792)),a=n(29175),u=n(73041),c=n(40495),l=n(69309);const p=()=>{const{__:__}=(0,i.QT)(),{search:e}=(0,a.TH)(),t=(0,s.v9)(u.Z),n=new URLSearchParams(e).get("forumTopic");return(0,r.createElement)("div",null,(0,r.createElement)(c.x,{backToRoot:!0}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(l.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,o.jN)("calypso_inlinehelp_forums_open",{forceSiteId:!0,location:"help-center",section:t}),href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},24478:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(69307),o=n(99196);const i=o.createContext(void 0),s=function(e){let t,{children:n}=e;return t="undefined"==typeof helpCenterFeatureFlags?void 0:helpCenterFeatureFlags,(0,r.createElement)(i.Provider,{value:t},n)}},71645:(e,t,n)=>{"use strict";n.d(t,{g:()=>u});var r=n(61082),o=n(9818),i=n(69307),s=n(82066),a=n(98865);function u(e){const{supportSite:t,subject:n,message:u,iframe:c}=(0,o.useSelect)((e=>({supportSite:e(a.aM).getSite(),subject:e(a.aM).getSubject(),message:e(a.aM).getMessage(),iframe:e(a.aM).getIframe()}))),l=(0,s.useQueryClient)(),[p,d]=(0,i.useState)(0),[f,h]=(0,i.useState)(""),g=null==c?void 0:c.contentWindow;function m(e){null==g||g.postMessage(e,"*")}const{resetStore:y}=(0,o.useDispatch)(a.aM);(0,r.ZP)(),(0,i.useEffect)((()=>{m(e?{type:"window-state-change",state:"minimized"}:{type:"window-state-change",state:"maximized"})}),[g,e]);return(0,i.useEffect)((()=>{const e=o=>{if("https://widgets.wp.com"===o.origin){const{data:a}=o;switch(a.type){case"calypso-happy-chat-unread-messages":d(a.state);break;case"window-state-change":h(a.state),"ended"===a.state&&(h(""),d(0),window.removeEventListener("message",e),y());break;case"happy-chat-introduction-data":var i,s;if(u)null===(i=o.source)||void 0===i||i.postMessage({type:"happy-chat-introduction-data",siteId:null==t?void 0:t.ID.toString(),subject:n,message:u,planSlug:null==t||null===(s=t.plan)||void 0===s?void 0:s.product_slug,siteUrl:null==t?void 0:t.URL},{targetOrigin:o.origin});y();break;case"happy-chat-authentication-data":l.fetchQuery(r._y).then((e=>{var t;null===(t=o.source)||void 0===t||t.postMessage({type:"happy-chat-authentication-data",authData:e},{targetOrigin:o.origin})}))}}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[l,t,n,u,y]),{unreadCount:p,chatStatus:f,closeChat:()=>{h(""),d(0),m({type:"window-state-change",state:"closed"})}}}},77331:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,i.useQueryClient)();return(0,i.useQuery)(["help",e],(()=>(0,s.aO)()?(0,s.ZP)({path:`help/search/wpcom?query=${e}&locale=${t}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/help-center/search?query=${e}&locale=${t}`})),{onSuccess:async t=>{var n;if(null===(n=t[0])||void 0===n||!n.content){const n=await Promise.all(t.map((async e=>{const t=(0,s.aO)()?await(0,s.ZP)({path:`help/article/${e.blog_id}/${e.post_id}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:`/help-center/fetch-post?blog_id=${e.blog_id}&post_id=${e.post_id}`});return{...e,content:t.content}})));r.setQueryData(["help",e],n)}},refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:!!e,...n})}},97878:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(99706),o=n(89645);function i(){const{data:e}=(0,r.p)("CHAT"),{data:t,isLoading:n}=(0,o.Z)(Boolean(null==e?void 0:e.is_user_eligible),6e4);return null!=e&&e.is_user_eligible?null!=e&&e.is_chat_closed?{render:!0,state:"CLOSED",isLoading:n,eligible:!0,env:null==t?void 0:t.env}:null!=t&&t.available?{render:!0,state:"AVAILABLE",isLoading:n,eligible:!0,env:t.env}:{render:!0,state:"UNAVAILABLE",isLoading:n,eligible:!0,env:null==t?void 0:t.env}:{render:!1,isLoading:n,state:null!=e&&e.is_chat_closed?"CLOSED":"UNAVAILABLE",eligible:!1,env:null==t?void 0:t.env}}},82513:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(99706);function o(){const{data:e,isFetching:t}=(0,r.p)("OTHER");return{isLoading:t,render:((null==e?void 0:e.is_user_eligible_for_tickets)||(null==e?void 0:e.is_user_eligible_for_upwork))??!1}}},83822:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(99706);function o(){const{data:e,isLoading:t}=(0,r.p)("OTHER");return!(null!=e&&e.is_user_eligible_for_tickets)?{url:"/contact-form?mode=FORUM",isLoading:t}:{url:"/contact-options",isLoading:t}}},67605:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff",strokeWidth:"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent",strokeWidth:"1.5"}))},51519:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(69307);const o=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24",width:"24"},(0,r.createElement)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)("path",{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"}))},98865:(e,t,n)=>{"use strict";n.d(t,{aM:()=>s,Em:()=>a,j4:()=>u});var r=n(17624),o=n(88330),i=n(52369);const s=r.z(),a=o.z({client_id:"",client_secret:""}),u=i.z2({client_id:"",client_secret:""})},44241:(e,t,n)=>{"use strict";n.d(t,{yQ:()=>r});const r=e=>{switch(e){case"CHAT":return"SUPPORT_HAPPYCHAT";case"EMAIL":return"SUPPORT_TICKET";case"FORUM":return"SUPPORT_FORUM";case"UPWORK":return"SUPPORT_UPWORK_TICKET"}}},8057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(99196),o=n(94724);const i=(0,r.createContext)(o.Z)},94724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=new(n(50914).Z)},50914:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I});var r=n(22699),o=n(32594),i=n(96668),s=n(38049),a=n.n(s),u=n(35079),c=n.n(u),l=n(7839),p=n.n(l),d=n(49830),f=n(10003);const h=a()("i18n-calypso"),g="number_format_decimals",m="number_format_thousands_sep",y="messages",v=[function(e){return e}],w={};function b(){P.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(e){return Array.prototype.slice.call(e)}function E(e){const t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&b("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&b("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(e));let n={};for(let r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function S(e,t){return e.dcnpgettext(y,t.context,t.original,t.plural,t.count)}function C(e,t){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return S(e.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=e=>1===e?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:p()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,f.Z)(e,n,r,o)},P.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},P.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){const t=e[""]["key-hash"],n=function(e,t){const n=!1===t?"":String(t);if(void 0!==w[n+e])return w[n+e];const r=c()().update(e).digest("hex");return w[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)v.push(r(!1));else{const e=t.substr(5).indexOf("-");if(e<0){const e=Number(t.substr(5));v.push(r(e))}else{const n=Number(t.substr(5,e)),o=Number(t.substr(6+e));for(let e=n;e<=o;e++)v.push(r(e))}}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.localeVariant=this.state.locale[""].localeVariant,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new d.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([g])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([m])),this.state.numberFormatSettings.decimal_point===g&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===m&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(e){for(const t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!C(this,E(arguments))},P.prototype.translate=function(){const e=E(arguments);let t=C(this,e);if(t||(t=S(this.state.tannin,e)),e.args){const r=Array.isArray(e.args)?e.args.slice(0):[e.args];r.unshift(t);try{t=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const e=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[e](n):window.console[e]("i18n sprintf error:",r)}}return e.components&&(t=(0,o.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},P.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};const I=P},11481:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o,Iu:()=>i,Yj:()=>s});var r=n(94724);const o=r.Z,i=(r.Z.numberFormat.bind(r.Z),r.Z.translate.bind(r.Z)),s=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:(e,t,n)=>{"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,a=void 0===n?".":n;let u="";return u=(i?
|
44 |
/*
|
45 |
* Exposes number format capability
|
46 |
*
|
help-center/src/CalypsoStateProvider.js
CHANGED
@@ -37,9 +37,10 @@ const store = createStore(
|
|
37 |
|
38 |
setStore( store );
|
39 |
|
|
|
40 |
const currentSite = window.helpCenterData.currentSite;
|
41 |
-
currentSite && store.dispatch( setSelectedSiteId( currentSite.
|
42 |
-
store.dispatch( setSection( { name:
|
43 |
|
44 |
i18n.configure( { defaultLocaleSlug: window.helpCenterLocale } );
|
45 |
|
@@ -56,7 +57,7 @@ export default function CalypsoStateProvider( { children } ) {
|
|
56 |
return (
|
57 |
<Provider store={ store }>
|
58 |
<>
|
59 |
-
<QuerySites siteId={ currentSite.
|
60 |
{ children }
|
61 |
</>
|
62 |
</Provider>
|
37 |
|
38 |
setStore( store );
|
39 |
|
40 |
+
const section = window?.helpCenterAdminBar?.isLoaded ? 'wp-admin' : 'gutenberg-editor';
|
41 |
const currentSite = window.helpCenterData.currentSite;
|
42 |
+
currentSite && store.dispatch( setSelectedSiteId( currentSite.ID ) );
|
43 |
+
store.dispatch( setSection( { name: section } ) );
|
44 |
|
45 |
i18n.configure( { defaultLocaleSlug: window.helpCenterLocale } );
|
46 |
|
57 |
return (
|
58 |
<Provider store={ store }>
|
59 |
<>
|
60 |
+
<QuerySites siteId={ currentSite.ID } />
|
61 |
{ children }
|
62 |
</>
|
63 |
</Provider>
|
help-center/src/admin-bar.js
CHANGED
@@ -21,17 +21,12 @@ function AdminHelpCenterContent() {
|
|
21 |
}, [ show, button ] );
|
22 |
|
23 |
const handleToggleHelpCenter = () => {
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
recordTracksEvent( 'calypso_inlinehelp_show', {
|
31 |
-
location: 'help-center',
|
32 |
-
section: 'wp-admin',
|
33 |
-
} );
|
34 |
-
}
|
35 |
setShowHelpCenter( ! show );
|
36 |
};
|
37 |
|
21 |
}, [ show, button ] );
|
22 |
|
23 |
const handleToggleHelpCenter = () => {
|
24 |
+
recordTracksEvent( `calypso_inlinehelp_${ show ? 'close' : 'show' }`, {
|
25 |
+
forceSiteId: true,
|
26 |
+
location: 'help-center',
|
27 |
+
section: 'wp-admin',
|
28 |
+
} );
|
29 |
+
|
|
|
|
|
|
|
|
|
|
|
30 |
setShowHelpCenter( ! show );
|
31 |
};
|
32 |
|
help-center/src/help-center.js
CHANGED
@@ -34,6 +34,7 @@ function HelpCenterContent() {
|
|
34 |
|
35 |
const handleToggleHelpCenter = () => {
|
36 |
recordTracksEvent( `calypso_inlinehelp_${ show ? 'close' : 'show' }`, {
|
|
|
37 |
location: 'help-center',
|
38 |
section: sectionName,
|
39 |
} );
|
34 |
|
35 |
const handleToggleHelpCenter = () => {
|
36 |
recordTracksEvent( `calypso_inlinehelp_${ show ? 'close' : 'show' }`, {
|
37 |
+
forceSiteId: true,
|
38 |
location: 'help-center',
|
39 |
section: sectionName,
|
40 |
} );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
|
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 3.
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 3.50058
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
wpcom-block-editor-nux/dist/images/fireworks-2721c54fdb96fa8d99ef.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg viewBox="0 0 250 157" xmlns="http://www.w3.org/2000/svg"><g fill="#3895ba"><path d="m73.8 69.1c-1.4-1-2-2.3-2.7-3.6l-2.1-3.9c-.7-1.3-1.3-2.7-1.9-4-.6-1.4-1.3-2.7-1.3-4.4 0-.2.1-.3.3-.3.1 0 .1 0 .2.1 1.4 1 2 2.3 2.7 3.6l2.1 3.9c.6 1.3 1.3 2.7 1.9 4 .6 1.4 1.3 2.7 1.3 4.4 0 .2-.1.3-.3.3-.1-.1-.1-.1-.2-.1zm-6.5-21.9c-1.6-1.5-2.5-3.4-3.5-5.2s-1.9-3.7-2.8-5.5c-.9-1.9-1.8-3.7-2.6-5.6s-1.8-3.7-2-5.9c0-.1.1-.3.2-.3s.2 0 .2.1c1.6 1.5 2.5 3.4 3.5 5.2s1.9 3.7 2.8 5.5c.9 1.9 1.8 3.7 2.6 5.6s1.8 3.7 2 5.9c0 .1-.1.3-.2.3 0-.1-.1-.1-.2-.1z"/><path d="m72.8 40.9c-.9-1.2-.9-2.5-1.1-3.7-.2-1.3-.3-2.5-.4-3.8s-.1-2.5-.1-3.8-.2-2.5.5-3.8c.1-.1.3-.2.4-.1l.1.1c.9 1.2.9 2.5 1.1 3.7.2 1.3.3 2.5.4 3.8s.1 2.5.1 3.8.2 2.5-.5 3.8c-.1.2-.3.2-.5 0 0 .1 0 .1 0 0z"/><path d="m80.2 67.7c-.4-2.2 0-4.2.3-6.2s.6-4.1 1-6.1.8-4.1 1.2-6.1.7-4.1 1.9-6c.1-.1.2-.2.4-.1.1 0 .1.1.1.2.4 2.2 0 4.2-.3 6.2s-.6 4.1-1 6.1-.8 4.1-1.2 6.1-.7 4.1-1.9 6c-.1.1-.2.2-.4.1-.1-.1-.1-.2-.1-.2zm2.8-33.4c-.6-1.4-.3-2.7-.1-4s.4-2.6.6-3.8c.3-1.3.5-2.5.8-3.8s.5-2.5 1.5-3.7c.1-.1.3-.1.4 0l.1.1c.6 1.4.3 2.7.1 4s-.4 2.6-.6 3.8c-.3 1.3-.5 2.5-.8 3.8s-.5 2.5-1.5 3.7c-.1.1-.3.1-.4 0 0 0-.1 0-.1-.1zm10.3 5.2c-.3-1.6.2-2.9.6-4.3s.8-2.7 1.2-4.1c.5-1.3.9-2.7 1.5-4 .5-1.3.9-2.7 2.1-3.8.1-.1.3-.1.4 0l.1.1c.3 1.6-.2 2.9-.6 4.3s-.8 2.7-1.2 4.1c-.5 1.3-.9 2.7-1.5 4-.5 1.3-.9 2.7-2.1 3.8-.1.1-.3.1-.4 0-.1 0-.1 0-.1-.1zm13.5 6.2c-.2-1.3.4-2.2.9-3.1s1-1.9 1.5-2.8 1.1-1.8 1.7-2.7 1.1-1.8 2.3-2.3c.2-.1.3 0 .4.2v.1c.2 1.3-.4 2.2-.9 3.1s-1 1.9-1.5 2.8-1.1 1.8-1.7 2.7-1.1 1.8-2.3 2.3c-.1 0-.3-.1-.4-.3zm-14.4 13.6c.1-1.7.9-2.9 1.6-4.2s1.4-2.6 2.2-3.9 1.5-2.5 2.4-3.8c.8-1.2 1.5-2.5 3-3.4.1-.1.3 0 .4.1v.2c-.1 1.7-.9 2.9-1.6 4.2s-1.4 2.6-2.2 3.9-1.5 2.5-2.4 3.8c-.8 1.2-1.5 2.5-3 3.4-.1.1-.3 0-.4-.1.1-.1 0-.2 0-.2zm-7 13.9c.4-1.5 1.5-2.4 2.4-3.4s1.9-1.9 2.9-2.9c1-.9 2-1.8 3.1-2.7 1-.9 2-1.8 3.5-2.2.2 0 .3.1.3.2v.1c-.4 1.5-1.5 2.4-2.4 3.4s-1.9 1.9-2.9 2.9c-1 .9-2 1.8-3.1 2.7-1 .9-2 1.8-3.5 2.2-.2 0-.3-.1-.3-.2zm26.9-2.2c.7-1.2 1.7-1.5 2.6-2 1-.5 1.9-.9 2.9-1.4l3-1.2c1-.4 2-.8 3.3-.5.2 0 .3.2.2.4v.1c-.7 1.2-1.7 1.5-2.6 2-1 .5-1.9.9-2.9 1.4l-3 1.2c-1 .4-2 .8-3.3.5-.1-.1-.2-.3-.2-.5zm3 9.5c1.6-.7 3.2-.5 4.8-.5s3.2.1 4.8.2 3.2.2 4.8.4 3.2.2 4.7 1.1c.1.1.2.3.1.4 0 .1-.1.1-.1.1-1.6.7-3.2.5-4.8.5s-3.2-.1-4.8-.2-3.2-.2-4.8-.4-3.2-.2-4.7-1.1c-.1-.1-.2-.2-.1-.4 0-.1.1-.1.1-.1zm-29.9-2.4c1.4-.7 2.7-.5 4-.4 1.3 0 2.7.2 4 .3 1.3.2 2.6.3 4 .5 1.3.2 2.6.3 3.9 1.2.1.1.2.3.1.4l-.1.1c-1.4.7-2.7.5-4 .4-1.3 0-2.7-.2-4-.3-1.3-.2-2.6-.3-4-.5-1.3-.2-2.6-.3-3.9-1.2-.1-.1-.2-.3-.1-.4.1 0 .1-.1.1-.1zm13.9-9.9c.9-1.4 2.3-2.1 3.6-2.9s2.6-1.5 3.9-2.2 2.7-1.4 4-2c1.4-.6 2.7-1.4 4.4-1.4.2 0 .3.1.3.3v.2c-.9 1.4-2.3 2.1-3.6 2.9s-2.6 1.5-3.9 2.2-2.7 1.4-4 2c-1.4.6-2.7 1.4-4.4 1.4-.2 0-.3-.1-.3-.3-.1-.1-.1-.1 0-.2zm-15.8 13.3c1.7.1 2.9.9 4.2 1.6s2.6 1.5 3.8 2.2c1.2.8 2.5 1.6 3.7 2.4s2.5 1.5 3.4 3c.1.1 0 .3-.1.4h-.2c-1.7-.1-2.9-.9-4.2-1.6s-2.6-1.5-3.8-2.2c-1.2-.8-2.5-1.6-3.7-2.4s-2.5-1.5-3.4-3c-.1-.1 0-.3.1-.4zm30.3 7.9c1.3-.5 2.5-.1 3.6.2 1.1.2 2.3.5 3.4.8s2.2.7 3.4 1.1c1.1.4 2.3.6 3.2 1.7.1.1.1.3 0 .4 0 0-.1 0-.1.1-1.3.5-2.5.1-3.6-.2-1.1-.2-2.3-.5-3.4-.8s-2.2-.7-3.4-1.1c-1.1-.4-2.3-.6-3.2-1.7-.1-.1-.1-.3.1-.5zm-7.7 3.3c2.5.6 4.5 1.9 6.6 3l6.3 3.6c2.1 1.3 4.1 2.5 6.2 3.8 2 1.3 4.1 2.5 5.8 4.4.1.1.1.3 0 .4s-.2.1-.2.1c-2.5-.6-4.5-1.9-6.6-3l-6.3-3.6c-2.1-1.3-4.1-2.5-6.2-3.8-2-1.3-4.1-2.5-5.8-4.4-.1-.1-.1-.3 0-.4s.2-.1.2-.1zm8.2 12.4c1.5.2 2.3 1 3.3 1.8 1 .7 1.9 1.5 2.9 2.3.9.8 1.8 1.6 2.7 2.5s1.9 1.6 2.3 3c0 .2 0 .3-.2.4h-.1c-1.5-.2-2.3-1-3.3-1.8-1-.7-1.9-1.5-2.9-2.3-.9-.8-1.8-1.6-2.7-2.5s-1.9-1.6-2.3-3c0-.2 0-.3.2-.4zm-24.6-12.6c1.3.4 1.8 1.3 2.5 2.1s1.3 1.7 1.9 2.5l1.8 2.7c.6.9 1.2 1.7 1.2 3.1 0 .2-.2.3-.3.3h-.1c-1.3-.4-1.8-1.3-2.5-2.1s-1.3-1.7-1.9-2.5l-1.8-2.7c-.6-.9-1.2-1.7-1.2-3.1 0-.2.1-.3.4-.3-.1 0-.1 0 0 0zm8.6 17.3c1.3.9 1.8 2.2 2.4 3.4s1.2 2.5 1.8 3.7c.5 1.3 1.1 2.5 1.6 3.8s1.1 2.5.9 4.1c0 .2-.2.3-.3.3s-.1 0-.1-.1c-1.3-.9-1.8-2.2-2.4-3.4s-1.2-2.5-1.8-3.7c-.5-1.3-1.1-2.5-1.6-3.8s-1.1-2.5-.9-4.1c0-.2.2-.3.3-.3 0 .1 0 .1.1.1zm-13-6.6c1 1.8 1.2 3.6 1.4 5.4.3 1.8.5 3.7.7 5.5s.4 3.7.5 5.6.4 3.7-.2 5.6c0 .1-.2.2-.3.2s-.1-.1-.2-.1c-1-1.8-1.2-3.6-1.4-5.4-.3-1.8-.5-3.7-.7-5.5s-.4-3.7-.5-5.6-.4-3.7.2-5.6c0-.1.2-.2.3-.2.2 0 .2.1.2.1zm-5.5-18c.8 1.2.7 2.4.7 3.6v3.5c0 1.2-.1 2.4-.2 3.5-.1 1.2-.1 2.4-.9 3.5-.1.1-.3.2-.4.1l-.1-.1c-.8-1.2-.7-2.4-.7-3.6v-3.5c0-1.2.1-2.4.2-3.5.1-1.2.1-2.4.9-3.5.1-.2.3-.2.5 0 0-.1 0-.1 0 0zm-2 31.2c.8.9.7 1.8.7 2.7s.1 1.8 0 2.6c0 .9-.1 1.8-.2 2.6-.1.9-.1 1.8-.9 2.6-.1.1-.3.1-.5 0-.8-.9-.7-1.8-.7-2.7s-.1-1.8 0-2.6c0-.9.1-1.8.2-2.6.1-.9.1-1.8.9-2.6.1-.1.3-.1.5 0zm-4.2-12.5c.3 1.8-.3 3.3-.7 4.9s-.9 3.1-1.4 4.7c-.5 1.5-1 3.1-1.6 4.6s-1 3.1-2.3 4.4c-.1.1-.3.1-.4 0 0 0-.1-.1-.1-.2-.3-1.8.3-3.3.7-4.9s.9-3.1 1.4-4.7c.5-1.5 1-3.1 1.6-4.6s1-3.1 2.3-4.4c.1-.1.3-.1.4 0s.1.1.1.2zm.5-18.9c.2 1.4-.4 2.3-.9 3.4l-1.5 3c-.5 1-1.1 2-1.7 2.9-.6 1-1.1 2-2.4 2.6-.2.1-.3 0-.4-.1v-.1c-.2-1.4.4-2.3.9-3.4l1.5-3c.5-1 1.1-2 1.7-2.9.6-1 1.1-2 2.4-2.6.1-.1.3 0 .4.2zm-11.9 20.7c-.2 2.3-1.2 4.2-2.1 6.1s-1.8 3.9-2.7 5.8c-1 1.9-1.9 3.8-3 5.7-1 1.9-1.9 3.8-3.6 5.4-.1.1-.3.1-.4 0s-.1-.1-.1-.2c.2-2.3 1.2-4.2 2.1-6.1s1.8-3.9 2.7-5.8c1-1.9 1.9-3.8 3-5.7 1-1.9 1.9-3.8 3.6-5.4.1-.1.3-.1.4 0 .1 0 .1.1.1.2zm-7.9-4.5c-.1 1.4-.9 2.2-1.6 3.1s-1.4 1.8-2.1 2.6c-.7.9-1.5 1.7-2.3 2.5s-1.5 1.7-2.8 2c-.2 0-.3-.1-.4-.2v-.1c.1-1.4.9-2.2 1.6-3.1s1.4-1.8 2.1-2.6c.7-.9 1.5-1.7 2.3-2.5s1.5-1.7 2.8-2c.2-.1.4 0 .4.3 0-.1 0-.1 0 0zm9.9-17.2c-.8 1.3-2 1.7-3.1 2.3-1 .7-2.1 1.2-3.3 1.7-1.1.5-2.3 1-3.4 1.5-1.2.5-2.3 1-3.7.8-.2 0-.3-.2-.3-.3v-.1c.8-1.3 2-1.7 3.1-2.3s2.2-1.2 3.3-1.7 2.3-1 3.4-1.5c1.2-.5 2.3-1 3.7-.8.2 0 .3.2.3.3.1.1 0 .1 0 .1zm-17.5 9c-1.4 1.5-3.1 2.2-4.8 3.1l-5.1 2.4c-1.7.8-3.5 1.5-5.2 2.2s-3.4 1.5-5.5 1.6c-.2 0-.3-.1-.3-.3 0-.1 0-.1.1-.2 1.4-1.5 3.1-2.2 4.8-3.1l5.1-2.4c1.7-.8 3.5-1.5 5.2-2.2s3.4-1.5 5.5-1.6c.2 0 .3.1.3.3 0 .1 0 .1-.1.2zm-.4-9.8c-2.1 1.4-4.3 1.9-6.6 2.6-2.2.7-4.5 1.3-6.8 1.9s-4.5 1.1-6.8 1.7c-2.3.5-4.5 1.2-7 1-.1 0-.3-.1-.2-.3 0-.1.1-.2.1-.2 2.1-1.4 4.3-1.9 6.6-2.6 2.2-.7 4.5-1.3 6.8-1.9s4.5-1.1 6.8-1.7c2.3-.5 4.5-1.2 7-1 .1 0 .3.1.2.3 0 .1 0 .2-.1.2zm-.8-8.7c-1.4.7-2.6.5-3.9.5s-2.6-.1-3.9-.2-2.6-.3-3.8-.5c-1.3-.2-2.6-.2-3.8-1.2-.1-.1-.2-.3-.1-.4l.1-.1c1.4-.7 2.6-.5 3.9-.5s2.6.1 3.9.2 2.6.3 3.8.5c1.3.2 2.6.2 3.8 1.2.1.1.2.3.1.4-.1 0-.1.1-.1.1zm23.5 3.9c-1.5.6-2.9.4-4.4.3-1.4-.1-2.9-.2-4.3-.4l-4.2-.6c-1.4-.2-2.8-.3-4.2-1.3-.1-.1-.2-.3-.1-.4l.1-.1c1.5-.6 2.9-.4 4.4-.3 1.4.1 2.9.2 4.3.4l4.2.6c1.4.2 2.8.3 4.2 1.3.1.1.2.3.1.4zm.4-5.6c-1.9-.2-3.4-1.1-4.9-1.9s-3.1-1.7-4.6-2.6-3-1.8-4.5-2.8c-1.5-.9-3-1.8-4.1-3.4-.1-.1-.1-.3.1-.4.1 0 .1-.1.2 0 1.9.2 3.4 1.1 4.9 1.9s3.1 1.7 4.6 2.6 3 1.8 4.5 2.8c1.5.9 3 1.8 4.1 3.4.1.1.1.3-.1.4-.1-.1-.2 0-.2 0zm-28.6-8.1c-1.8.2-3.2-.5-4.7-1s-3-1.1-4.4-1.7c-1.5-.6-2.9-1.2-4.4-1.9-1.4-.7-2.9-1.2-4.1-2.5-.1-.1-.1-.3 0-.4 0 0 .1-.1.2-.1 1.8-.2 3.2.5 4.7 1s3 1.1 4.4 1.7c1.5.6 2.9 1.2 4.4 1.9 1.4.7 2.9 1.2 4.1 2.5.1.1.1.3 0 .4-.1 0-.1.1-.2.1zm7-5.3c-1.8-.4-3.2-1.4-4.6-2.3s-2.8-1.9-4.1-2.9-2.7-2-4-3-2.7-2-3.6-3.6c-.1-.1 0-.3.1-.4h.2c1.8.3 3.1 1.4 4.5 2.3s2.8 1.9 4.1 2.9 2.7 2 4 3 2.7 2 3.6 3.6c.1.1 0 .3-.1.4zm14.6-.8c-1.6-1-2.4-2.5-3.4-3.9s-1.9-2.8-2.8-4.3-1.8-2.9-2.6-4.4-1.8-2.9-2-4.8c0-.2.1-.3.2-.3h.2c1.6 1 2.4 2.5 3.4 3.9s1.9 2.8 2.8 4.3 1.8 2.9 2.6 4.4 1.8 2.9 2 4.8c0 .2-.1.3-.2.3z"/></g><path d="m138.7 31.1c-.7-1.1-.6-2.1-.6-3.1s.1-2 .1-3c.1-1 .2-2 .4-3s.2-2 1.1-3c.1-.1.3-.1.5 0v.1c.7 1.1.6 2.1.6 3.1s-.1 2-.1 3c-.1 1-.2 2-.4 3s-.2 2-1.1 3c-.2 0-.4 0-.5-.1zm4.1-6c-.2-1.6.5-2.9 1-4.3.5-1.3 1.1-2.7 1.6-4 .6-1.3 1.2-2.6 1.9-3.9s1.2-2.6 2.5-3.6c.1-.1.3-.1.4.1 0 0 0 .1.1.1.2 1.6-.5 2.9-1 4.3-.5 1.3-1.1 2.7-1.6 4-.6 1.3-1.2 2.6-1.9 3.9s-1.2 2.6-2.5 3.6c-.1.1-.3.1-.4-.1zm1.1 5.5c.7-1.7 1.9-2.7 3.1-3.9s2.4-2.3 3.6-3.4 2.5-2.2 3.7-3.2c1.3-1 2.4-2.2 4.2-2.7.1 0 .3 0 .3.2v.2c-.7 1.7-1.9 2.7-3.1 3.9s-2.4 2.3-3.6 3.4-2.5 2.2-3.7 3.2c-1.3 1-2.4 2.2-4.2 2.7-.1 0-.3 0-.3-.2zm10.3-14.8c-.2-1.2.4-1.9.8-2.7s.9-1.5 1.4-2.3c.5-.7 1-1.4 1.6-2.1.5-.7 1-1.5 2.1-1.8.2 0 .4.1.4.2.2 1.2-.4 1.9-.8 2.7s-.9 1.5-1.4 2.3c-.5.7-1 1.4-1.6 2.1-.5.7-1 1.5-2.1 1.8-.2.1-.4 0-.4-.2zm12.8 9.6c.4-1 1.1-1.2 1.7-1.6.6-.3 1.3-.6 2-.9s1.3-.5 2-.7 1.3-.5 2.3-.1c.2.1.3.3.2.5-.4 1-1.1 1.2-1.7 1.6-.6.3-1.3.6-2 .9s-1.3.5-2 .7-1.3.5-2.3.1c-.2-.1-.3-.3-.2-.5zm-14.6 7.2c.6-1.1 1.6-1.4 2.5-1.9.9-.4 1.8-.9 2.8-1.2.9-.4 1.9-.7 2.9-1s1.9-.7 3.1-.4c.2.1.3.2.2.4v.1c-.6 1.1-1.6 1.4-2.5 1.9-.9.4-1.8.9-2.8 1.2-.9.4-1.9.7-2.9 1s-1.9.7-3.1.4c-.2 0-.3-.2-.2-.5 0 .1 0 .1 0 0zm12.1 2.5c.8-.8 1.6-.8 2.4-.9s1.6-.1 2.5-.2c.8 0 1.6 0 2.5.1.8.1 1.6 0 2.5.8.1.1.1.4 0 .5-.8.8-1.6.8-2.4.9s-1.6.1-2.5.2c-.8 0-1.6 0-2.5-.1-.8-.1-1.6 0-2.5-.8-.1-.1-.1-.3 0-.5zm-19.5 2.4c1.1-.4 1.9 0 2.8.3.8.3 1.7.6 2.5 1l2.4 1.2c.8.4 1.6.7 2.1 1.8.1.2 0 .4-.2.4-1.1.4-1.9 0-2.8-.3-.8-.3-1.7-.6-2.5-1l-2.4-1.2c-.8-.4-1.6-.7-2.1-1.8 0-.1 0-.3.2-.4zm-4 2.6c1.1.6 1.4 1.6 1.8 2.5s.8 1.8 1.2 2.8c.4.9.7 1.9 1 2.9s.7 1.9.3 3.1c-.1.2-.2.3-.4.2h-.1c-1.1-.6-1.4-1.6-1.8-2.5s-.8-1.8-1.2-2.8c-.4-.9-.7-1.9-1-2.9s-.7-1.9-.3-3.1c.1-.2.3-.3.5-.2z" fill="#004e6e"/><path d="m149.9 45.8 8.1 11.9" fill="#d48fc8"/><path d="m150.1 45.6c1.3.5 2 1.6 2.7 2.5.7 1 1.4 1.9 2.1 2.9s1.3 2 1.9 3.1c.6 1 1.3 2 1.4 3.4 0 .2-.1.3-.3.3h-.1c-1.3-.5-2-1.6-2.7-2.5-.7-1-1.4-1.9-2.1-2.9s-1.3-2-1.9-3.1c-.6-1-1.3-2-1.4-3.4 0-.2.1-.3.3-.3zm-14.2-3.9c.4 1.1 0 1.8-.2 2.5-.3.8-.5 1.5-.8 2.3-.3.7-.7 1.5-1.1 2.2s-.6 1.5-1.7 1.9c-.2.1-.4 0-.5-.2-.4-1.1 0-1.8.2-2.5.3-.8.5-1.5.8-2.3.3-.7.7-1.5 1.1-2.2s.6-1.5 1.7-1.9c.2-.1.4 0 .5.2z" fill="#004e6e"/><path d="m125.8 50.1c-.5 1.3-1.4 1.9-2.3 2.6s-1.8 1.4-2.7 2-1.9 1.2-2.8 1.8c-1 .6-1.8 1.3-3.2 1.2-.2 0-.3-.1-.3-.3v-.1c.5-1.3 1.4-1.9 2.3-2.6s1.8-1.4 2.7-2 1.9-1.2 2.8-1.8c1-.6 1.8-1.3 3.2-1.2.2 0 .3.1.3.4 0-.1 0-.1 0 0z" fill="#3895ba"/><path d="m121.8 43.8c-.4 1.1-1.2 1.4-1.9 1.9-.7.4-1.5.9-2.3 1.2-.8.4-1.6.7-2.4 1s-1.5.8-2.7.4c-.2-.1-.3-.2-.2-.4.4-1.1 1.2-1.4 1.9-1.9.7-.4 1.5-.9 2.3-1.2.8-.4 1.6-.7 2.4-1s1.5-.8 2.7-.4c.2 0 .3.2.2.4zm12-5.9c-.4 1.1-1.1 1.3-1.8 1.7s-1.4.7-2.1 1-1.4.6-2.2.8c-.7.2-1.4.6-2.5.2-.2-.1-.3-.3-.2-.5.4-1.1 1.1-1.3 1.8-1.7s1.4-.7 2.1-1 1.4-.6 2.2-.8c.7-.2 1.4-.6 2.5-.2.2.1.3.3.2.5zm-7.7-6.9c-1.5.4-2.8-.1-4-.4-1.3-.3-2.6-.7-3.8-1-1.3-.4-2.5-.8-3.8-1.3-1.2-.5-2.5-.8-3.6-1.9-.1-.1-.1-.3 0-.4l.1-.1c1.5-.4 2.8.1 4 .4 1.3.3 2.6.7 3.8 1 1.3.4 2.5.8 3.8 1.3 1.2.5 2.5.8 3.6 1.9.1.1.1.3 0 .4zm-7.3-9.9c-1.2.3-1.9-.2-2.8-.6l-2.4-1.2c-.8-.4-1.6-.9-2.3-1.4-.8-.5-1.6-.9-2-2-.1-.2 0-.4.2-.4 1.2-.3 1.9.2 2.8.6l2.4 1.2c.8.4 1.6.9 2.3 1.4.8.5 1.6.9 2 2 .1.1 0 .3-.2.4zm13.6 8.2c-1.2-.4-1.8-1.3-2.4-2.1s-1.2-1.6-1.8-2.5-1.1-1.7-1.6-2.6-1.1-1.7-1-3c0-.2.2-.3.3-.3h.1c1.2.4 1.8 1.3 2.4 2.1s1.2 1.6 1.8 2.5 1.1 1.7 1.6 2.6 1.1 1.7 1 3c0 .2-.1.3-.4.3zm-6.4-15.3c-1.2-.4-1.6-1.2-2.2-1.9-.5-.7-1.1-1.5-1.6-2.3s-.9-1.6-1.4-2.4c-.4-.8-1-1.6-.8-2.8 0-.2.2-.3.4-.3 1.2.3 1.6 1.2 2.2 1.9.5.7 1.1 1.5 1.6 2.3s.9 1.6 1.4 2.4c.4.8 1 1.6.8 2.8 0 .2-.1.3-.4.3.1 0 .1 0 0 0zm8.5 1.1c-.8-.9-.8-1.9-.9-2.9s-.2-1.9-.2-2.9v-2.9c0-1 0-1.9.7-2.9.1-.1.3-.2.5-.1.8.9.8 1.9.9 2.9s.2 1.9.2 2.9v2.9c0 1 0 1.9-.7 2.9-.2.3-.4.3-.5.1 0 .1 0 .1 0 0zm5.5-2.6c-.7-1.1-.5-2.2-.4-3.2s.1-2.1.2-3.1.3-2.1.5-3.1.2-2.1 1.2-3c.1-.1.3-.1.4 0v.1c.7 1.1.5 2.2.5 3.2-.1 1-.1 2.1-.2 3.1s-.3 2.1-.5 3.1-.2 2.1-1.2 3c-.1.1-.3.1-.5-.1z" fill="#004e6e"/><path d="m206.2 69.1c.9-1.6 2.3-2.5 3.6-3.4 1.3-1 2.7-1.9 4-2.9l4.2-2.7c1.4-.9 2.7-1.8 4.6-2.1.2 0 .3.1.3.2v.2c-.9 1.6-2.3 2.5-3.6 3.4-1.3 1-2.7 1.9-4 2.9l-4.2 2.7c-1.4.9-2.7 1.8-4.6 2.1-.2 0-.3-.1-.3-.2zm-22.4 13.5c.9-1.6 2.3-2.4 3.5-3.4 1.3-1 2.6-1.9 3.9-2.8s2.7-1.8 4.1-2.6 2.7-1.8 4.5-2c.2 0 .3.1.3.2v.2c-.9 1.6-2.3 2.4-3.5 3.4-1.3 1-2.6 1.9-3.9 2.8s-2.7 1.8-4.1 2.6-2.7 1.8-4.5 2c-.2 0-.3-.1-.3-.2-.1-.1-.1-.2 0-.2zm27.4-4.5c.9-1 2.1-1.2 3.1-1.5 1.1-.3 2.2-.6 3.3-.8l3.3-.6c1.1-.2 2.2-.4 3.5.1.2.1.2.3.2.4 0 0 0 .1-.1.1-.9 1-2.1 1.2-3.1 1.5-1.1.3-2.2.6-3.3.8l-3.3.6c-1.1.2-2.2.4-3.5-.1-.2 0-.2-.2-.1-.5-.1.1 0 .1 0 0zm-22.5 8.3c1.7-.6 3.2-.4 4.8-.3s3.2.3 4.8.4c1.6.2 3.2.4 4.7.6 1.6.2 3.2.3 4.7 1.3.1.1.2.3.1.4 0 .1-.1.1-.1.1-1.7.6-3.2.4-4.8.3s-3.2-.3-4.8-.4c-1.6-.2-3.2-.4-4.7-.6-1.6-.2-3.2-.3-4.7-1.3-.1-.1-.2-.3-.1-.4zm25.4-.7c1.2-.6 2.2-.4 3.3-.3s2.1.2 3.2.3c1 .2 2.1.4 3.1.6s2.1.3 3 1.3c.1.1.1.3 0 .4h-.1c-1.2.6-2.2.4-3.3.3s-2.1-.2-3.2-.3c-1-.2-2.1-.4-3.1-.6s-2.1-.3-3-1.3c-.1 0-.1-.2.1-.4-.1.1-.1.1 0 0zm-4.1 9.8c1.4-.3 2.4.2 3.6.5 1.1.4 2.2.7 3.3 1.2 1.1.4 2.2.9 3.2 1.4 1.1.5 2.2.9 3 2 .1.1.1.3-.1.4h-.1c-1.4.3-2.4-.2-3.6-.5-1.1-.4-2.2-.7-3.3-1.2-1.1-.4-2.2-.9-3.2-1.4-1.1-.5-2.2-.9-3-2-.1 0-.1-.2.2-.4-.1.1-.1.1 0 0zm-17.4-.6c1.5.1 2.4.8 3.4 1.5s2 1.3 3 2.1c1 .7 1.9 1.5 2.9 2.3.9.8 1.9 1.4 2.4 2.8.1.2 0 .3-.2.4h-.1c-1.5-.1-2.4-.8-3.4-1.5s-2-1.3-3-2.1c-1-.7-1.9-1.5-2.9-2.3-.9-.8-1.9-1.4-2.4-2.8-.1-.2 0-.3.2-.4zm11.1 17.7c1.1.1 1.5.7 2 1.2s1 1.1 1.4 1.6c.5.6.9 1.2 1.3 1.8s.9 1.1.7 2.2c0 .2-.2.3-.4.3-1.1-.1-1.5-.7-2-1.2s-1-1.1-1.4-1.6c-.5-.6-.9-1.2-1.3-1.8s-.9-1.1-.7-2.2c0-.2.2-.3.4-.3zm-18.4-.5c1.1.5 1.3 1.4 1.7 2.1.4.8.7 1.6 1.1 2.4.3.8.6 1.6.8 2.5.2.8.6 1.6.2 2.7-.1.2-.3.3-.4.2-1.1-.5-1.3-1.4-1.7-2.1-.4-.8-.7-1.6-1.1-2.4-.3-.8-.6-1.6-.8-2.5-.2-.8-.6-1.6-.2-2.7 0-.2.2-.3.4-.2zm5.7-8.8c1.2.5 1.7 1.5 2.3 2.4s1.2 1.8 1.7 2.7 1 1.9 1.5 2.8c.5 1 1.1 1.9.9 3.2 0 .2-.2.3-.4.3h-.1c-1.2-.5-1.7-1.5-2.3-2.4s-1.2-1.8-1.7-2.7-1-1.9-1.5-2.8c-.5-1-1.1-1.9-.9-3.2.1-.2.3-.4.5-.3zm-9.6-11.2c1.1.7 1.4 1.8 1.8 2.7l1.2 3c.3 1 .7 2 .9 3 .3 1 .7 2 .3 3.3-.1.2-.2.3-.4.2h-.1c-1.1-.7-1.4-1.8-1.8-2.7l-1.2-3c-.3-1-.7-2-.9-3-.3-1-.7-2-.3-3.3.1-.2.3-.3.5-.2 0-.1 0-.1 0 0zm-5.5-1.5c.2 1.4-.4 2.5-.9 3.6l-1.5 3.3c-.5 1.1-1.1 2.2-1.7 3.2-.6 1.1-1.1 2.2-2.3 2.9-.1.1-.3 0-.4-.1v-.1c-.2-1.4.4-2.5.9-3.6l1.5-3.3c.5-1.1 1.1-2.2 1.7-3.2.6-1.1 1.1-2.2 2.3-2.9.1-.1.3 0 .4.1zm-1.2 22.6c.5 1.1.2 2 0 3-.2.9-.4 1.9-.6 2.8s-.5 1.8-.9 2.8c-.3.9-.5 1.9-1.5 2.6-.1.1-.4.1-.5-.1-.5-1.1-.2-2 0-3 .2-.9.4-1.9.6-2.8s.5-1.8.9-2.8c.3-.9.5-1.9 1.5-2.6.2-.1.4-.1.5.1zm-6.8-4.3c0 1.8-.8 3.3-1.4 4.8s-1.3 3-2 4.5-1.5 2.9-2.2 4.4c-.8 1.4-1.4 3-2.9 4.1-.1.1-.3.1-.4 0 0-.1-.1-.1-.1-.2 0-1.8.8-3.3 1.4-4.8s1.3-3 2-4.5 1.5-2.9 2.2-4.4c.8-1.4 1.4-3 2.9-4.1.1-.1.3-.1.4 0s.1.1.1.2zm-5.9-7.5c-.1 1.2-.8 1.9-1.4 2.6s-1.2 1.4-1.9 2.1c-.6.7-1.3 1.3-2 2-.7.6-1.3 1.4-2.5 1.5-.2 0-.3-.1-.4-.3.1-1.2.8-1.9 1.4-2.6s1.2-1.4 1.9-2.1c.6-.7 1.3-1.3 2-2 .7-.6 1.3-1.4 2.5-1.5.3 0 .4.1.4.3zm-5.6-8.9c-1.1 1.4-2.6 1.9-4 2.6s-2.8 1.3-4.2 2c-1.4.6-2.9 1.2-4.3 1.7-1.5.5-2.9 1.2-4.6 1.1-.2 0-.3-.1-.3-.3 0-.1 0-.1.1-.2 1.1-1.4 2.6-1.9 4-2.6s2.8-1.3 4.2-2c1.4-.6 2.9-1.2 4.3-1.7 1.5-.5 2.9-1.2 4.6-1.1.2 0 .3.1.3.3 0 .1 0 .2-.1.2zm16.5-5.5c-.6 1.1-1.6 1.4-2.5 1.8s-1.8.8-2.7 1.1-1.8.6-2.8.9c-.9.3-1.8.7-3 .2-.2-.1-.3-.2-.2-.4v-.1c.6-1.1 1.6-1.4 2.5-1.8s1.8-.8 2.7-1.1 1.8-.6 2.8-.9c.9-.3 1.8-.7 3-.2.2.1.3.3.2.5zm-19.1-6.6c-1.7.4-3.2 0-4.7-.3s-3-.6-4.5-1l-4.5-1.2c-1.5-.4-3-.7-4.3-1.9-.1-.1-.1-.3 0-.4l.1-.1c1.7-.4 3.2 0 4.7.3s3 .6 4.5 1l4.5 1.2c1.5.4 3 .7 4.3 1.9.1.1.1.3 0 .4zm15.5 3.1c-1.1.6-2 .3-2.9.1s-1.8-.3-2.7-.6c-.9-.2-1.8-.5-2.7-.8s-1.8-.5-2.5-1.5c-.1-.2-.1-.4.1-.5 1.1-.6 2-.3 2.9-.1s1.8.3 2.7.6c.9.2 1.8.5 2.7.8s1.8.5 2.5 1.5c.2.1.1.3-.1.5zm-18.5-12.8c-1.2.3-2-.2-2.8-.6s-1.7-.8-2.5-1.2-1.6-.9-2.4-1.4-1.6-.9-2-2c-.1-.2 0-.4.2-.4 1.2-.3 2 .2 2.8.6s1.7.8 2.5 1.2 1.6.9 2.4 1.4 1.6.9 2 2c.1.1 0 .3-.2.4zm24.2 7.6c-1.5-.3-2.4-1.2-3.4-2s-2-1.7-2.9-2.5c-.9-.9-1.9-1.8-2.8-2.7s-1.9-1.7-2.3-3.2c0-.2.1-.3.2-.4h.1c1.5.3 2.4 1.2 3.4 2s2 1.7 2.9 2.5c.9.9 1.9 1.8 2.8 2.7s1.9 1.7 2.3 3.2c0 .2-.1.3-.2.4zm-14.6-10.9c-1.5-.3-2.4-1.2-3.4-2.1-1-.8-1.9-1.7-2.9-2.6-.9-.9-1.8-1.8-2.7-2.8-.9-.9-1.9-1.8-2.2-3.3 0-.2.1-.3.2-.4h.1c1.5.3 2.4 1.2 3.4 2.1 1 .8 1.9 1.7 2.9 2.6.9.9 1.8 1.8 2.7 2.8.9.9 1.9 1.8 2.2 3.3 0 .2-.1.3-.2.4zm7.6-10.4c-1.4-1.1-2.1-2.5-2.8-3.9-.8-1.4-1.5-2.8-2.2-4.2s-1.4-2.9-2-4.3c-.6-1.5-1.4-2.9-1.4-4.6 0-.2.1-.3.3-.3.1 0 .1 0 .2.1 1.4 1.1 2.1 2.5 2.8 3.9.8 1.4 1.5 2.8 2.2 4.2s1.4 2.9 2 4.3c.6 1.5 1.4 2.9 1.4 4.6 0 .2-.1.3-.3.3-.1 0-.2 0-.2-.1zm9.1 14.8c-1.1-1-1.3-2.3-1.7-3.5s-.7-2.4-1-3.6-.5-2.4-.8-3.7c-.2-1.2-.6-2.4-.1-3.8.1-.2.2-.2.4-.2 0 0 .1 0 .1.1 1.1 1 1.3 2.3 1.7 3.5s.7 2.4 1 3.6.5 2.4.8 3.7c.2 1.2.6 2.4.1 3.8-.1.2-.2.2-.4.2 0-.1-.1-.1-.1-.1zm3.8-22c-.8-1.1-.8-2.1-.8-3.2-.1-1.1-.1-2.1-.1-3.2s0-2.1.1-3.2 0-2.1.8-3.2c.1-.1.3-.2.4-.1l.1.1c.8 1.1.8 2.1.8 3.2.1 1.1.1 2.1.1 3.2s0 2.1-.1 3.2 0 2.1-.8 3.2c-.1.1-.3.1-.5 0 .1 0 .1 0 0 0zm-.6 26.2c-.3-1.4.2-2.3.6-3.4.4-1 .8-2.1 1.3-3.1l1.5-3c.5-1 .9-2 2.1-2.7.1-.1.3 0 .4.1v.1c.3 1.4-.2 2.3-.6 3.4-.4 1-.8 2.1-1.3 3.1l-1.5 3c-.5 1-.9 2-2.1 2.7-.1 0-.3 0-.4-.2zm8.5-20.5c-.4-1-.1-1.5.1-2.2.2-.6.5-1.3.8-1.9s.6-1.2 1-1.8.6-1.2 1.6-1.5c.2 0 .4 0 .5.2.4 1 .1 1.5-.1 2.2-.2.6-.5 1.3-.8 1.9s-.6 1.2-1 1.8-.6 1.2-1.6 1.5c-.2.1-.4 0-.5-.2zm1.7 10.1c-.2-1.3.4-2.1.9-3s.9-1.7 1.5-2.6c.5-.8 1.1-1.7 1.7-2.5s1-1.7 2.2-2.1c.2-.1.4 0 .4.2v.1c.2 1.3-.4 2.1-.9 3s-.9 1.7-1.5 2.6c-.5.8-1.1 1.7-1.7 2.5s-1 1.7-2.2 2.1c-.2 0-.3-.1-.4-.3zm10.5-8.5c.3-1.4 1.1-2.2 1.9-3 .8-.9 1.6-1.7 2.4-2.5s1.7-1.6 2.6-2.4 1.7-1.6 3.1-1.9c.2 0 .3.1.4.2v.1c-.3 1.4-1.1 2.2-1.9 3-.8.9-1.6 1.7-2.4 2.5s-1.7 1.6-2.6 2.4-1.7 1.6-3.1 1.9c-.2 0-.3-.1-.4-.2z" fill="#c475bd"/><path d="m230.9 50.7-2.1-4.4" fill="#fff"/><path d="m230.7 50.7c-.6-.2-.7-.5-1-.9-.2-.3-.4-.7-.6-1.1s-.3-.7-.5-1.1c-.1-.4-.3-.7-.1-1.3l.3-.1c.6.2.7.5 1 .9.2.3.4.7.6 1.1s.3.7.5 1.1c.1.4.3.7.1 1.3z" fill="#f2d76b"/><path d="m227.6 49.5 4.4-2.1" fill="#fff"/><path d="m227.6 49.4c.2-.6.5-.7.9-1 .3-.2.7-.4 1.1-.6s.7-.3 1.1-.5c.4-.1.7-.3 1.3-.1l.1.3c-.2.6-.5.7-.9 1-.3.2-.7.4-1.1.6s-.7.3-1.1.5c-.4.1-.7.3-1.3.1z" fill="#f2d76b"/><path d="m4.9 106.7.9-1.7c.1-.3-.2-.6-.5-.5l-1.7 1-1.5-1.4c-.2-.2-.6 0-.6.3l.4 2-1.7.9c-.3.2-.2.6.1.6l1.9.2.4 2.1c.1.3.5.4.7.1l.8-1.9 2.1.3c.3 0 .5-.4.3-.6z" fill="#004e6e"/><path d="m81.9 4.8.7-1.3c.1-.2-.1-.5-.4-.3l-1.3.7-1.1-1c-.2-.2-.5 0-.4.2l.3 1.5-1.3.7c-.2.1-.2.5.1.5l1.4.1.3 1.6c0 .3.4.3.5.1l.6-1.5 1.6.2c.3 0 .4-.3.2-.5z" fill="#f0c930"/><path d="m243.7 57.3.9-1.8c.2-.3-.2-.6-.5-.5l-1.8 1-1.5-1.4c-.3-.2-.6 0-.6.3l.4 2-1.7 1c-.3.2-.2.6.1.7l1.9.2.4 2.1c.1.3.5.4.7.1l.9-2 2.1.3c.3 0 .5-.4.3-.6z" fill="#8c8f94"/><path d="m197.5 5.6 1.6-3.3c.3-.6-.3-1.2-.9-.8l-3.2 1.8-2.8-2.5c-.5-.4-1.2 0-1.1.6l.7 3.7-3.2 1.8c-.6.3-.4 1.1.3 1.2l3.5.3.7 3.9c.1.6 1 .7 1.2.1l1.6-3.6 3.9.5c.6.1 1-.7.5-1.1zm-56.4 146.9c0-1.1.2-2.3.3-3.4.3-1.9.7-3.8 1.3-5.7s1.3-3.7 2.1-5.5 1.7-3.5 2.8-5.2c2.1-3.3 4.6-6.4 7.7-8.9l-.2-.2c-3.3 2.2-6.1 5.3-8.3 8.6s-3.9 7-5.1 10.9c-.6 1.9-1.1 3.9-1.4 5.9-.2 1.2-.3 2.4-.4 3.6h1.2z" fill="#004e6e"/><circle cx="248.5" cy="110.9" fill="#d48fc8" r="1.5"/><path d="m128.8 148.9c.8 1.9 2.1 3.7 3.6 5.2.9 1 2 1.9 3 2.8h2.1c-1.4-1.2-2.9-2.3-4.1-3.6-1.4-1.4-2.6-3.1-3.4-4.8-.8-1.8-1.3-3.7-1.6-5.6s-.5-3.9-.5-5.8c0-2 .1-3.9.4-5.9.2-1.9.6-3.9 1.2-5.8 1.1-3.8 2.7-7.5 5.1-10.8l-.2-.2c-2.7 3.1-4.6 6.9-5.8 10.7-1.2 3.9-1.8 7.9-1.8 11.9 0 2 .2 4 .5 6 .2 2 .7 4 1.5 5.9zm-16.2-14.1c1.4 3.1 2.3 6.4 2.9 9.7.3 1.7.5 3.4.6 5.1s.1 3.4-.1 5.1c-.1.7-.2 1.3-.3 2l1.2.3c.1-.7.3-1.5.3-2.2.2-1.8.2-3.5 0-5.3-.1-1.7-.4-3.5-.7-5.2-.7-3.4-1.6-6.8-3.2-10-.8-1.6-1.6-3.1-2.7-4.5s-2.3-2.7-3.7-3.6l-.2.2c1.3 1.1 2.4 2.4 3.3 3.8 1.2 1.5 2 3 2.6 4.6z" fill="#004e6e"/><path d="m95.3 146.2-3.6-7.6" fill="#fff"/><path d="m95 146.3c-1-.3-1.3-.9-1.6-1.5-.4-.6-.7-1.2-1-1.8s-.6-1.3-.8-1.9c-.2-.7-.6-1.3-.1-2.2l.5-.2c1 .3 1.3.9 1.6 1.5.4.6.7 1.2 1 1.8s.6 1.3.8 1.9c.2.7.6 1.3.1 2.2z" fill="#f2d76b"/><path d="m89.7 144.2 7.6-3.6" fill="#fff"/><path d="m89.6 143.9c.3-1 .9-1.3 1.5-1.6.6-.4 1.2-.7 1.8-1s1.3-.6 1.9-.8c.7-.2 1.3-.6 2.2-.1l.2.5c-.3 1-.9 1.3-1.5 1.6-.6.4-1.2.7-1.8 1s-1.3.6-1.9.8c-.7.2-1.3.6-2.2.1z" fill="#f2d76b"/><circle cx="10.2" cy="29" fill="#d48fc8" r="1.5"/><path d="m31 110.5c.3-1.3 1.2-1.8 2-2.5s1.6-1.3 2.4-2c.8-.6 1.7-1.2 2.5-1.8.9-.6 1.7-1.2 3-1.2.2 0 .3.1.3.3v.1c-.3 1.3-1.2 1.8-2 2.5s-1.6 1.3-2.4 2c-.8.6-1.7 1.2-2.5 1.8-.9.6-1.7 1.2-3 1.2-.2 0-.3-.1-.3-.4 0 .1 0 .1 0 0z" fill="#3895ba"/></svg>
|
|
wpcom-block-editor-nux/dist/images/video-success-efc454c6ae0b77ec03f0.svg
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg width="158" height="100" viewBox="0 0 158 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<g clip-path="url(#clip0_1341_8650)">
|
3 |
+
<path d="M152.277 29.685C152.091 29.8132 151.946 29.9127 151.844 30.2209L151.907 30.4105C152.206 30.5103 152.388 30.4524 152.575 30.3925C152.625 30.3766 152.675 30.3605 152.729 30.3472C152.855 30.284 152.966 30.2366 153.076 30.1892C153.187 30.1418 153.297 30.0944 153.424 30.0312C153.676 29.9049 153.929 29.7784 154.119 29.652C154.166 29.6165 154.211 29.5854 154.254 29.5559C154.441 29.4277 154.585 29.3282 154.688 29.02L154.625 28.8305C154.325 28.7306 154.144 28.7885 153.956 28.8484C153.906 28.8643 153.856 28.8804 153.803 28.8936C153.677 28.9568 153.566 29.0042 153.455 29.0516C153.345 29.099 153.234 29.1464 153.108 29.2096C152.855 29.336 152.602 29.4625 152.413 29.5889C152.365 29.6244 152.32 29.6554 152.277 29.685Z" fill="#F2D76B"/>
|
4 |
+
<path d="M12.0849 88.6941L12.6537 87.6197C12.7169 87.4301 12.5273 87.2405 12.3377 87.3037L11.2633 87.9357L10.3153 87.0509C10.1889 86.9245 9.93608 87.0509 9.93608 87.2405L10.1889 88.5045L9.11448 89.0733C8.92488 89.1997 8.98808 89.4525 9.17768 89.4525L10.3785 89.5789L10.6313 90.9061C10.6945 91.0957 10.9473 91.1589 11.0737 90.9693L11.5793 89.7685L12.9065 89.9581C13.0961 89.9581 13.2225 89.7053 13.0961 89.5789L12.0849 88.6941Z" fill="#004E6E"/>
|
5 |
+
<path d="M44.3001 17.2532L44.7425 16.4316C44.8057 16.3052 44.6793 16.1156 44.4897 16.242L43.6681 16.6844L42.9729 16.0524C42.8465 15.926 42.6569 16.0524 42.7201 16.1788L42.9097 17.1268L42.0881 17.5692C41.9617 17.6324 41.9617 17.8852 42.1513 17.8852L43.0361 17.9484L43.2257 18.9596C43.2257 19.1492 43.4785 19.1492 43.5417 19.0228L43.9209 18.0748L44.9321 18.2012C45.1217 18.2012 45.1849 18.0116 45.0585 17.8852L44.3001 17.2532Z" fill="#F0C930"/>
|
6 |
+
<path d="M148.019 68.2138L148.588 67.0762C148.714 66.8866 148.462 66.697 148.272 66.7602L147.134 67.3922L146.186 66.5074C145.997 66.381 145.807 66.5074 145.807 66.697L146.06 67.961L144.986 68.593C144.796 68.7194 144.859 68.9722 145.049 69.0354L146.25 69.1618L146.502 70.489C146.566 70.6786 146.818 70.7418 146.945 70.5522L147.514 69.2882L148.841 69.4778C149.03 69.4778 149.157 69.225 149.03 69.0986L148.019 68.2138Z" fill="#8C8F94"/>
|
7 |
+
<path d="M151.053 49.0366C151.577 49.0366 152.001 48.6122 152.001 48.0886C152.001 47.5651 151.577 47.1406 151.053 47.1406C150.53 47.1406 150.105 47.5651 150.105 48.0886C150.105 48.6122 150.53 49.0366 151.053 49.0366Z" fill="#D48FC8"/>
|
8 |
+
<path d="M37.8116 54.2753C37.6361 55.4048 37.459 56.5452 37.6846 57.7863C37.6846 57.7863 37.6846 57.8495 37.7478 57.9127C37.8742 57.9759 37.9374 57.9127 38.0006 57.8495C38.6735 56.7841 38.8986 55.6192 39.1174 54.4873C39.1452 54.3434 39.1729 54.2 39.2014 54.0574C39.3278 53.4254 39.4542 52.7776 39.5806 52.1299C39.707 51.4821 39.8334 50.8343 39.9598 50.2023C40.1836 49.0834 40.3578 47.9151 40.5264 46.7848C40.5483 46.6382 40.57 46.4922 40.5918 46.347C40.6122 46.2113 40.6333 46.0756 40.6544 45.9397C40.8299 44.8101 41.0071 43.6697 40.7814 42.4286C40.7814 42.3655 40.7814 42.3022 40.7182 42.3022C40.5918 42.2391 40.5286 42.3022 40.4654 42.3655C39.7925 43.4308 39.5674 44.5957 39.3486 45.7276C39.3208 45.8715 39.2931 46.0149 39.2646 46.1575C39.1382 46.7895 39.0118 47.4373 38.8854 48.0851C38.759 48.7329 38.6326 49.3807 38.5062 50.0127C38.2825 51.1314 38.1082 52.2997 37.9397 53.4298C37.9178 53.5765 37.896 53.7226 37.8742 53.8679C37.8538 54.0036 37.8327 54.1394 37.8116 54.2753Z" fill="#3895BA"/>
|
9 |
+
<path d="M39.3525 34.3921C39.2328 35.1334 39.1123 35.8797 39.4542 36.6774C39.4542 36.7407 39.5174 36.7407 39.5174 36.7407C39.5806 36.8039 39.707 36.8039 39.7702 36.7407C40.3464 36.0492 40.5024 35.3577 40.6691 34.6184C40.6852 34.5468 40.7015 34.4748 40.7182 34.4022C40.813 33.9914 40.892 33.5964 40.971 33.2014C41.05 32.8064 41.129 32.4114 41.2238 32.0006C41.3502 31.2422 41.4766 30.4206 41.603 29.599C41.6155 29.5182 41.6285 29.4373 41.6416 29.3564C41.7612 28.6151 41.8817 27.8688 41.5398 27.071L41.4766 27.0078C41.4134 26.9446 41.287 26.9446 41.2238 27.0078C40.6476 27.6993 40.4917 28.3908 40.3249 29.1301C40.3088 29.2017 40.2925 29.2737 40.2758 29.3463C40.181 29.7571 40.102 30.1521 40.023 30.5471C39.944 30.942 39.865 31.337 39.7702 31.7478C39.6438 32.5062 39.5174 33.3278 39.391 34.1493C39.3786 34.2302 39.3655 34.3112 39.3525 34.3921Z" fill="#3895BA"/>
|
10 |
+
<path d="M46.2445 37.5817C46.0179 38.3433 45.7984 39.0814 45.9638 39.9639C45.9638 39.9955 45.9638 40.0113 45.9717 40.0191C45.9796 40.0271 45.9954 40.0271 46.027 40.0271C46.0902 40.0902 46.2166 40.0902 46.2798 40.0271C46.939 39.4228 47.2163 38.6752 47.485 37.9504C47.5254 37.8414 47.5657 37.7329 47.607 37.6255C47.8479 37.1034 48.0378 36.5559 48.2253 36.0153C48.333 35.705 48.4398 35.397 48.555 35.0975C48.6814 34.6551 48.8078 34.2285 48.9342 33.8018C49.0606 33.3752 49.187 32.9486 49.3134 32.5062C49.3456 32.3936 49.3788 32.282 49.4119 32.1708C49.6385 31.4092 49.8581 30.6711 49.6926 29.7886L49.6294 29.7254C49.5662 29.6622 49.4398 29.6622 49.3766 29.7254C48.7174 30.3297 48.4402 31.0773 48.1714 31.8021C48.131 31.9111 48.0907 32.0196 48.0494 32.127C47.8085 32.6491 47.6186 33.1966 47.4311 33.7372C47.3235 34.0475 47.2166 34.3555 47.1014 34.655C46.975 35.0975 46.8486 35.524 46.7222 35.9506C46.5958 36.3773 46.4694 36.8038 46.343 37.2463C46.3108 37.3589 46.2776 37.4705 46.2445 37.5817Z" fill="#3895BA"/>
|
11 |
+
<path d="M54.9793 42.0747C54.6853 42.5948 54.3806 43.1336 54.4958 43.8823C54.559 44.0087 54.6854 44.0718 54.7486 44.0718C55.4356 43.7856 55.7596 43.2919 56.0964 42.7786C56.1314 42.7253 56.1665 42.6718 56.2022 42.6183C56.5814 42.0495 56.9606 41.4806 57.2766 40.9118C57.4346 40.6274 57.5926 40.3272 57.7506 40.027C57.9086 39.7268 58.0666 39.4266 58.2246 39.1423C58.2527 39.0917 58.2812 39.0412 58.3099 38.9905C58.604 38.4704 58.9086 37.9317 58.7934 37.183V37.1199C58.7302 36.9935 58.667 36.9302 58.5406 36.9935C57.8536 37.2797 57.5296 37.7734 57.1928 38.2866C57.1578 38.34 57.1227 38.3935 57.087 38.447C56.7079 39.0158 56.3286 39.5847 56.0126 40.1535C55.8546 40.4379 55.6966 40.7381 55.5386 41.0383C55.3806 41.3385 55.2226 41.6387 55.0646 41.923C55.0366 41.9736 55.008 42.0241 54.9793 42.0747Z" fill="#3895BA"/>
|
12 |
+
<path d="M46.2218 50.1587C45.8334 50.8588 45.4495 51.5505 45.395 52.4775C45.395 52.4775 45.4582 52.5406 45.395 52.6039C45.4582 52.667 45.5846 52.7303 45.6478 52.667C46.4682 52.1748 46.9099 51.4933 47.3416 50.8273C47.4088 50.7236 47.4757 50.6204 47.5438 50.5182C47.9878 49.877 48.3547 49.2743 48.7348 48.6499C48.8417 48.4743 48.9496 48.297 49.0606 48.1167C49.5662 47.2951 50.0086 46.4734 50.451 45.6519C50.5117 45.5391 50.5736 45.4275 50.6354 45.3162C51.0239 44.6161 51.4077 43.9244 51.4622 42.9975V42.871C51.399 42.8078 51.2726 42.7447 51.2094 42.8078C50.3891 43.3001 49.9473 43.9816 49.5156 44.6476C49.4484 44.7513 49.3815 44.8545 49.3134 44.9566C48.8695 45.5979 48.5025 46.2007 48.1224 46.8251C48.0155 47.0006 47.9076 47.1779 47.7966 47.3582C47.291 48.1799 46.8486 49.0014 46.4062 49.8231C46.3455 49.9358 46.2836 50.0474 46.2218 50.1587Z" fill="#3895BA"/>
|
13 |
+
<path d="M42.1567 59.4669C41.6728 59.9732 41.1762 60.4928 40.971 61.2622V61.3255C40.971 61.3887 41.0342 61.4519 41.1606 61.4519C42.1086 61.1991 42.7406 60.6303 43.3726 60.0615C44.0678 59.4927 44.6998 58.9239 45.3318 58.355C45.5449 58.142 45.7579 57.9361 45.9685 57.7326C46.3827 57.3324 46.7876 56.9412 47.1646 56.5222C47.2718 56.4032 47.3834 56.2864 47.4957 56.1688C47.9796 55.6625 48.4762 55.1429 48.6814 54.3735V54.3103C48.6814 54.2471 48.6182 54.1838 48.4918 54.1838C47.5438 54.4366 46.9118 55.0054 46.2798 55.5742C45.5847 56.143 44.9527 56.7118 44.3207 57.2805C44.1077 57.4936 43.8945 57.6996 43.6839 57.9031C43.2697 58.3033 42.8649 58.6945 42.4878 59.1135C42.3807 59.2325 42.269 59.3493 42.1567 59.4669Z" fill="#3895BA"/>
|
14 |
+
<path d="M59.2816 58.7811C58.8101 59.0178 58.3291 59.2593 57.9718 59.8719C57.9718 59.9983 58.035 60.1247 58.0982 60.1879C58.9198 60.3775 59.5518 60.1247 60.1838 59.8719L62.0798 59.1135C62.3958 58.9555 62.696 58.8133 62.9962 58.6711C63.2964 58.5289 63.5966 58.3867 63.9126 58.2287C64.022 58.1679 64.1338 58.1118 64.2461 58.0554C64.7175 57.8187 65.1985 57.5772 65.5558 56.9647V56.9015C65.619 56.7751 65.5558 56.6487 65.4294 56.6487C64.6078 56.4591 63.9758 56.7119 63.3438 56.9647L61.4478 57.723C61.1318 57.8811 60.8316 58.0233 60.5314 58.1655C60.2312 58.3077 59.931 58.4499 59.615 58.6079C59.5056 58.6686 59.3939 58.7247 59.2816 58.7811Z" fill="#3895BA"/>
|
15 |
+
<path d="M62.3498 65.5515C61.5225 65.5327 60.6952 65.5139 59.8678 65.8759C59.8678 65.8759 59.8046 65.8758 59.8046 65.939C59.7414 66.0655 59.8046 66.1287 59.8678 66.1918C60.645 66.6582 61.4648 66.7422 62.2921 66.827C62.4739 66.8456 62.6561 66.8643 62.8382 66.887C63.8494 67.0135 64.8606 67.0767 65.8718 67.1399C66.8829 67.203 67.8943 67.2663 68.9054 67.2663C69.0893 67.2663 69.2731 67.2704 69.457 67.2746C70.2843 67.2934 71.1117 67.3122 71.939 66.9502C71.939 66.9502 72.0022 66.9502 72.0022 66.887C72.0654 66.8239 72.0022 66.6974 71.939 66.6342C71.1618 66.1679 70.3421 66.0839 69.5147 65.9991C69.3329 65.9805 69.1508 65.9618 68.9686 65.939C67.9574 65.8127 66.9462 65.7495 65.935 65.6862C64.9238 65.623 63.9126 65.5599 62.9014 65.5599C62.7176 65.5599 62.5337 65.5557 62.3498 65.5515Z" fill="#3895BA"/>
|
16 |
+
<path d="M43.2545 64.0862C42.5138 64.0236 41.7681 63.9605 40.971 64.359C40.971 64.359 40.971 64.4222 40.9078 64.4222C40.8446 64.4855 40.9078 64.6118 40.971 64.675C41.7013 65.1806 42.4316 65.2868 43.1619 65.3929C43.2532 65.4061 43.3445 65.4194 43.4358 65.4335C43.8517 65.4929 44.2536 65.5383 44.6481 65.5829C45.093 65.6332 45.5284 65.6825 45.9638 65.7495C46.228 65.7698 46.4987 65.7966 46.7717 65.8237C47.3478 65.8809 47.9344 65.939 48.4918 65.939C48.5733 65.9453 48.6547 65.9522 48.7363 65.9591C49.477 66.0217 50.2227 66.0848 51.0198 65.6862L51.083 65.623C51.1462 65.5599 51.083 65.4334 51.0198 65.3702C50.2895 64.8646 49.5592 64.7585 48.8289 64.6524C48.7376 64.6392 48.6463 64.6259 48.555 64.6119C48.1391 64.5524 47.7371 64.507 47.3426 64.4624C46.8978 64.4121 46.4624 64.3628 46.027 64.2959C45.7628 64.2755 45.4921 64.2487 45.2191 64.2216C44.643 64.1644 44.0564 64.1062 43.499 64.1062C43.4175 64.1 43.336 64.0931 43.2545 64.0862Z" fill="#3895BA"/>
|
17 |
+
<path d="M51.6885 56.4763C50.9714 56.9055 50.2462 57.3395 49.7558 58.1022C49.7242 58.1339 49.7084 58.1497 49.7084 58.1655C49.7084 58.1813 49.7242 58.1971 49.7558 58.2287C49.7558 58.3551 49.819 58.4183 49.9454 58.4183C50.8049 58.4183 51.5027 58.0947 52.2004 57.7711C52.3748 57.6902 52.5493 57.6093 52.7262 57.5335C53.5478 57.1543 54.4326 56.7119 55.2542 56.2695C56.0758 55.8271 56.8974 55.3847 57.719 54.8791C57.8323 54.8093 57.9468 54.7408 58.0615 54.6721C58.7786 54.243 59.5039 53.809 59.9942 53.0463V52.9198C59.9942 52.7934 59.931 52.7303 59.8046 52.7303C58.9451 52.7303 58.2474 53.0538 57.5496 53.3774C57.3752 53.4583 57.2008 53.5392 57.0238 53.6151C56.2022 53.9943 55.3174 54.4366 54.4958 54.8791C53.6742 55.3214 52.8526 55.7639 52.031 56.2695C51.9177 56.3392 51.8032 56.4077 51.6885 56.4763Z" fill="#3895BA"/>
|
18 |
+
<path d="M42.0889 67.3346C41.3889 66.9462 40.6972 66.5624 39.7702 66.5079H39.6438C39.5806 66.5711 39.5174 66.6974 39.5806 66.7607C40.0728 67.581 40.7543 68.0227 41.4204 68.4545C41.524 68.5216 41.6273 68.5886 41.7294 68.6566C42.1086 68.9094 42.5036 69.1622 42.8986 69.4151C43.2936 69.6679 43.6886 69.9207 44.0678 70.1735C44.2872 70.3014 44.5118 70.4346 44.7402 70.5701C45.3015 70.903 45.8854 71.2494 46.4694 71.5639C46.5822 71.6246 46.6937 71.6865 46.8051 71.7483C47.5051 72.1367 48.1969 72.5205 49.1238 72.5751H49.2502C49.3134 72.5118 49.3766 72.3854 49.3134 72.3223C48.8212 71.5019 48.1397 71.0602 47.4736 70.6284C47.37 70.5613 47.2667 70.4943 47.1646 70.4262C46.7854 70.1734 46.3904 69.9206 45.9954 69.6678C45.6004 69.4151 45.2054 69.1623 44.8262 68.9095C44.6069 68.7815 44.3824 68.6483 44.154 68.5129C43.5927 68.18 43.0086 67.8335 42.4246 67.5191C42.3119 67.4583 42.2003 67.3964 42.0889 67.3346Z" fill="#3895BA"/>
|
19 |
+
<path d="M61.0433 71.5852C60.3899 71.4039 59.682 71.2075 58.9198 71.5006C58.7934 71.6271 58.7934 71.7534 58.8566 71.8167C59.3179 72.3804 59.9039 72.5701 60.4797 72.7566C60.614 72.8 60.7476 72.8433 60.879 72.8911C61.0716 72.9553 61.2602 73.0195 61.4457 73.0826C61.9906 73.2682 62.5092 73.4448 63.0278 73.5863C63.723 73.7758 64.4814 73.9654 65.1766 74.0919C65.2268 74.1056 65.2774 74.1196 65.3283 74.1337C65.9817 74.315 66.6896 74.5114 67.4518 74.2182C67.4518 74.155 67.515 74.1551 67.515 74.1551C67.5782 74.0919 67.5782 73.9654 67.515 73.9022C67.0537 73.3384 66.4677 73.1487 65.8919 72.9623C65.7577 72.9189 65.624 72.8756 65.4926 72.8279C65.2999 72.7636 65.1114 72.6994 64.9258 72.6362C64.381 72.4507 63.8624 72.2741 63.3438 72.1327C62.6486 71.943 61.8902 71.7534 61.195 71.627C61.1448 71.6133 61.0942 71.5993 61.0433 71.5852Z" fill="#3895BA"/>
|
20 |
+
<path d="M57.4038 75.0386C56.3597 74.4654 55.3058 73.8868 54.0534 73.5863C54.0534 73.5863 53.9902 73.5863 53.927 73.6495C53.8638 73.7127 53.8638 73.8391 53.927 73.9022C54.8441 74.9273 55.9455 75.6299 57.0345 76.3247C57.2212 76.4439 57.4076 76.5628 57.5926 76.6831C58.2562 77.0939 58.9041 77.4889 59.5519 77.8839C60.1997 78.2789 60.8474 78.6739 61.511 79.0846L65.4926 81.3598C65.7678 81.504 66.0403 81.6536 66.3134 81.8035C67.3576 82.3767 68.4114 82.9553 69.6638 83.2559C69.6638 83.2559 69.727 83.2559 69.7902 83.1926C69.8534 83.1294 69.8534 83.0031 69.7902 82.9398C68.8731 81.9148 67.7718 81.2122 66.6828 80.5174C66.496 80.3982 66.3096 80.2793 66.1246 80.159C65.4609 79.7482 64.813 79.3531 64.1651 78.9581C63.5174 78.5631 62.8697 78.1682 62.2062 77.7575L58.2246 75.4822C57.9494 75.3381 57.677 75.1885 57.4038 75.0386Z" fill="#3895BA"/>
|
21 |
+
<path d="M61.0936 82.3754C60.5588 81.9368 60.0676 81.534 59.2358 81.423H59.1726C59.0462 81.4863 59.0462 81.5494 59.0462 81.6758C59.2513 82.3937 59.706 82.8203 60.174 83.2595C60.2829 83.3616 60.3925 83.4645 60.4998 83.5719C61.0686 84.1406 61.6374 84.6462 62.2062 85.1518C62.403 85.3093 62.5937 85.4668 62.7821 85.6223C63.1986 85.9662 63.6038 86.3008 64.039 86.6055C64.1165 86.6674 64.192 86.7294 64.2668 86.7907C64.8016 87.2293 65.2928 87.6321 66.1246 87.743H66.1878C66.3142 87.6798 66.3142 87.6166 66.3142 87.4902C66.1091 86.7724 65.6545 86.3458 65.1864 85.9066C65.0776 85.8045 64.968 85.7016 64.8606 85.5942C64.2918 85.0255 63.723 84.5199 63.1542 84.0143C62.9574 83.8568 62.7667 83.6994 62.5783 83.5438C62.1618 83.1999 61.7566 82.8653 61.3214 82.5607C61.2439 82.4987 61.1684 82.4367 61.0936 82.3754Z" fill="#3895BA"/>
|
22 |
+
<path d="M45.0269 74.496C44.6886 74.0776 44.3548 73.6648 43.6886 73.4598C43.499 73.4598 43.4358 73.523 43.4358 73.6495C43.4358 74.4787 43.7689 74.9749 44.1229 75.5022C44.1466 75.5375 44.1704 75.573 44.1942 75.6087L45.3318 77.315C45.4439 77.4645 45.556 77.6195 45.6698 77.7768C45.9408 78.1515 46.221 78.5389 46.5326 78.8951C46.6163 78.9907 46.6954 79.0885 46.7743 79.1861C47.1126 79.6045 47.4464 80.0173 48.1126 80.2222H48.1758C48.239 80.2222 48.3654 80.159 48.3654 80.0327C48.3654 79.2034 48.0323 78.7072 47.6783 78.1799C47.6546 78.1446 47.6308 78.1091 47.607 78.0734L46.4694 76.3671C46.3573 76.2176 46.2452 76.0626 46.1315 75.9053C45.8605 75.5307 45.5802 75.1432 45.2686 74.787C45.1849 74.6914 45.1058 74.5936 45.0269 74.496Z" fill="#3895BA"/>
|
23 |
+
<path d="M50.4947 86.2441C50.1707 85.5746 49.8386 84.8883 49.1238 84.3935C49.0606 84.3935 49.0606 84.3934 49.0606 84.3302C48.9974 84.3302 48.871 84.3934 48.871 84.5199C48.7607 85.4024 49.0355 86.0924 49.3173 86.7999C49.3584 86.903 49.3996 87.0065 49.4398 87.111C49.5978 87.5218 49.7716 87.9168 49.9454 88.3118C50.1192 88.7068 50.293 89.1018 50.451 89.5126C50.6406 89.8918 50.8302 90.2868 51.0198 90.6819C51.2094 91.0769 51.399 91.4718 51.5886 91.8511C51.6379 91.9496 51.6861 92.0492 51.7345 92.1492C52.0585 92.8187 52.3906 93.505 53.1054 93.9998C53.1054 94.0314 53.1054 94.0472 53.1133 94.0552C53.1212 94.063 53.137 94.063 53.1686 94.063C53.2318 94.063 53.3582 93.9999 53.3582 93.8735C53.4685 92.9909 53.1937 92.3009 52.9119 91.5934C52.8708 91.4903 52.8296 91.3868 52.7894 91.2822C52.6314 90.8714 52.4576 90.4764 52.2838 90.0814C52.11 89.6864 51.9362 89.2914 51.7782 88.8807C51.5886 88.5014 51.399 88.1065 51.2094 87.7115C51.0198 87.3165 50.8302 86.9214 50.6406 86.5423C50.5913 86.4437 50.5431 86.3441 50.4947 86.2441Z" fill="#3895BA"/>
|
24 |
+
<path d="M41.7926 83.635C41.6662 82.4975 41.5398 81.3598 40.9078 80.2222C40.9078 80.2222 40.9078 80.159 40.7814 80.159C40.7182 80.159 40.5918 80.2223 40.5918 80.2855C40.2831 81.2629 40.3514 82.1985 40.4215 83.1604C40.4375 83.3802 40.4537 83.6013 40.4654 83.8247C40.5286 85.0255 40.655 86.2262 40.7814 87.3639C40.7929 87.4668 40.8043 87.5703 40.8158 87.6742C40.9312 88.7183 41.0514 89.8052 41.2238 90.8399C41.3502 91.9774 41.4766 93.1151 42.1086 94.2527C42.1402 94.2527 42.156 94.2685 42.1718 94.2843C42.1876 94.3 42.2034 94.3158 42.235 94.3158C42.2982 94.3158 42.4246 94.2527 42.4246 94.1895C42.7333 93.212 42.6651 92.2764 42.5949 91.3145C42.5789 91.0947 42.5628 90.8736 42.551 90.6502C42.4878 89.4494 42.3614 88.2486 42.235 87.111C42.2236 87.0081 42.2121 86.9046 42.2006 86.8007C42.0852 85.7566 41.965 84.6697 41.7926 83.635Z" fill="#3895BA"/>
|
25 |
+
<path d="M37.8755 70.8939C37.8812 70.2114 37.8868 69.5288 37.4318 68.8462C37.3054 68.7198 37.179 68.7198 37.1158 68.8462C36.6659 69.4648 36.6164 70.1335 36.5664 70.8076C36.5602 70.8911 36.554 70.9747 36.547 71.0583C36.4838 71.7534 36.4206 72.5118 36.4206 73.2702V75.4822C36.4206 75.5581 36.42 75.6339 36.4193 75.7098C36.4137 76.3923 36.408 77.0749 36.863 77.7575L36.9262 77.8206C36.9894 77.8839 37.1158 77.8206 37.179 77.7575C37.6289 77.1389 37.6785 76.4702 37.7285 75.7961C37.7346 75.7126 37.7408 75.629 37.7478 75.5454C37.811 74.8503 37.8742 74.0919 37.8742 73.3335V71.1215C37.8742 71.0456 37.8748 70.9698 37.8755 70.8939Z" fill="#3895BA"/>
|
26 |
+
<path d="M36.6115 90.1004C36.6172 89.5885 36.6228 89.0766 36.1678 88.5647C36.0414 88.5014 35.915 88.5014 35.8518 88.5647C35.4018 89.0147 35.3523 89.5148 35.3023 90.0204C35.2961 90.0828 35.29 90.1453 35.283 90.2078C35.2198 90.7134 35.1566 91.2822 35.1566 91.8511C35.1147 92.186 35.1283 92.5486 35.1423 92.9207C35.1494 93.1102 35.1566 93.3022 35.1566 93.4942C35.1566 93.5511 35.156 93.608 35.1553 93.6649C35.1497 94.1768 35.144 94.6887 35.599 95.2007C35.7254 95.2639 35.8518 95.2639 35.915 95.2007C36.365 94.7506 36.4145 94.2505 36.4645 93.7449C36.4707 93.6825 36.4769 93.62 36.4838 93.5574C36.547 93.0518 36.6102 92.483 36.6102 91.9142C36.6521 91.5793 36.6385 91.2167 36.6245 90.8446C36.6174 90.6551 36.6102 90.4631 36.6102 90.271C36.6102 90.2142 36.6108 90.1573 36.6115 90.1004Z" fill="#3895BA"/>
|
27 |
+
<path d="M33.2224 83.196C33.4463 82.387 33.6674 81.5883 33.5134 80.6646C33.5134 80.6014 33.5134 80.6014 33.4502 80.5382C33.387 80.475 33.2606 80.475 33.1974 80.5382C32.5318 81.2038 32.2395 81.9938 31.9509 82.7738C31.8833 82.9567 31.8158 83.139 31.7438 83.319C31.4398 84.079 31.1765 84.8795 30.9212 85.6555C30.858 85.8476 30.7953 86.0382 30.7326 86.2262C30.6714 86.4221 30.6102 86.6157 30.5494 86.8078C30.2965 87.6071 30.0516 88.3813 29.8478 89.1966C29.8003 89.3868 29.7483 89.5747 29.6964 89.7621C29.4725 90.5711 29.2515 91.3698 29.4054 92.2934C29.4054 92.3567 29.4686 92.4199 29.4686 92.4199C29.5318 92.483 29.6582 92.483 29.7214 92.4199C30.387 91.7543 30.6793 90.9643 30.9679 90.1842C31.0355 90.0014 31.103 89.8191 31.175 89.639C31.479 88.8792 31.7423 88.0787 31.9976 87.3027C32.0608 87.1106 32.1235 86.92 32.1862 86.7318C32.2474 86.5359 32.3086 86.3424 32.3694 86.1503C32.6223 85.351 32.8672 84.5768 33.071 83.7615C33.1185 83.5713 33.1706 83.3834 33.2224 83.196Z" fill="#3895BA"/>
|
28 |
+
<path d="M33.4136 70.5453C33.6843 69.9848 33.9357 69.4642 33.8294 68.7198C33.7662 68.5935 33.6398 68.5303 33.5766 68.5935C32.8273 68.9393 32.4985 69.4954 32.1588 70.07C32.1261 70.1254 32.0932 70.181 32.0598 70.2366C31.6806 70.8055 31.3014 71.4375 30.9854 72.0695L30.0374 73.9655C29.9872 74.0758 29.9355 74.183 29.8844 74.2888C29.6137 74.8493 29.3623 75.3699 29.4686 76.1143V76.1775C29.5318 76.2407 29.595 76.3038 29.7214 76.2407C30.4707 75.8948 30.7995 75.3387 31.1392 74.7641C31.172 74.7087 31.2048 74.6531 31.2382 74.5975C31.6174 74.0286 31.9966 73.3967 32.3126 72.7646L33.2606 70.8687C33.3108 70.7583 33.3626 70.6511 33.4136 70.5453Z" fill="#3895BA"/>
|
29 |
+
<path d="M25.1389 85.3272C25.6618 84.2345 26.1938 83.1227 26.3086 81.8022C26.3086 81.739 26.3086 81.6758 26.2454 81.6758C26.1822 81.6126 26.0558 81.6126 25.9926 81.6758C25.0199 82.5913 24.4616 83.6622 23.8957 84.7478C23.8365 84.8613 23.7772 84.975 23.7174 85.0887C23.2539 85.8892 22.8466 86.6897 22.4394 87.4902C22.2357 87.8905 22.0321 88.2908 21.8214 88.691C21.537 89.2914 21.2526 89.9076 20.9682 90.5238C20.6838 91.1401 20.3994 91.7563 20.115 92.3567C20.0629 92.4667 20.0102 92.5767 19.9575 92.6869C19.4346 93.7796 18.9026 94.8914 18.7878 96.2119C18.7878 96.2387 18.7878 96.2542 18.7927 96.2679C18.7992 96.2865 18.8147 96.3019 18.851 96.3382C18.9142 96.4015 19.0406 96.4015 19.1038 96.3382C20.0765 95.4228 20.6348 94.3519 21.2007 93.2663C21.2599 93.1528 21.3192 93.0391 21.379 92.9255C21.8425 92.1249 22.2498 91.3244 22.657 90.5239C22.8607 90.1236 23.0643 89.7233 23.275 89.3231C23.5594 88.7227 23.8438 88.1065 24.1282 87.4903C24.4126 86.8741 24.697 86.2579 24.9814 85.6575C25.0335 85.5474 25.0862 85.4374 25.1389 85.3272Z" fill="#3895BA"/>
|
30 |
+
<path d="M20.4824 80.6939C20.8731 80.2081 21.261 79.7259 21.3158 78.9582C21.3158 78.7686 21.1894 78.7055 21.063 78.7687C20.3588 78.9312 19.9331 79.3723 19.5075 79.8134C19.4366 79.8869 19.3656 79.9604 19.2934 80.0327C18.7878 80.5383 18.2822 81.0439 17.8398 81.6126C17.3974 82.1182 16.955 82.687 16.5127 83.2558C16.4541 83.3311 16.3944 83.4053 16.3348 83.4795C15.9441 83.9652 15.5562 84.4474 15.5014 85.215V85.2783C15.5646 85.3414 15.6278 85.4046 15.7542 85.4046C16.4584 85.2421 16.8841 84.801 17.3097 84.3599C17.3806 84.2864 17.4516 84.2129 17.5238 84.1406C18.0294 83.635 18.535 83.1294 18.9774 82.5607C19.4198 82.0551 19.8622 81.4863 20.3046 80.9174C20.3632 80.8422 20.4228 80.768 20.4824 80.6939Z" fill="#3895BA"/>
|
31 |
+
<path d="M26.0041 69.3394C26.5808 69.0491 27.1606 68.7573 27.5726 68.0879C27.5726 68.0879 27.6358 68.0879 27.5726 68.0247C27.5726 67.9614 27.5094 67.835 27.383 67.835C26.5409 67.7147 25.8705 67.9952 25.1539 68.295C25.1176 68.3102 25.0812 68.3254 25.0446 68.3407C24.6971 68.4986 24.3337 68.6566 23.9704 68.8146C23.6069 68.9726 23.2435 69.1306 22.8958 69.2887C22.2006 69.6047 21.5054 69.9838 20.8102 70.363C20.6815 70.4333 20.5505 70.4992 20.4194 70.5651C19.8428 70.8554 19.263 71.1472 18.851 71.8167V71.8799C18.851 71.943 18.9142 72.0695 19.0406 72.0695C19.8827 72.1898 20.5531 71.9093 21.2697 71.6095C21.306 71.5943 21.3424 71.5791 21.379 71.5639C21.7267 71.4058 22.0901 71.2478 22.4536 71.0898C22.8169 70.9318 23.1803 70.7738 23.5278 70.6159C24.2862 70.2999 24.9814 69.9838 25.6134 69.5415C25.7422 69.4712 25.8731 69.4053 26.0041 69.3394Z" fill="#3895BA"/>
|
32 |
+
<path d="M14.0372 75.4471C14.9205 74.9975 15.7813 74.5594 16.5126 73.7758C16.549 73.7395 16.5644 73.7241 16.571 73.7055C16.5758 73.6918 16.5758 73.6763 16.5758 73.6495C16.5758 73.523 16.5126 73.4598 16.3862 73.4598C15.1962 73.5165 14.2095 73.9288 13.2438 74.3323C13.1324 74.3789 13.0213 74.4253 12.9102 74.471C12.6693 74.5703 12.4252 74.6695 12.1793 74.7694C11.3288 75.115 10.4573 75.4692 9.62381 75.8615L6.40061 77.3783C6.2142 77.4769 6.0278 77.5718 5.84239 77.6662C4.95911 78.1158 4.0983 78.5539 3.36701 79.3374C3.30381 79.4007 3.30381 79.4007 3.30381 79.4639C3.30381 79.5902 3.36701 79.6535 3.49341 79.6535C4.68337 79.5968 5.67012 79.1845 6.63585 78.781C6.74722 78.7344 6.85831 78.688 6.96941 78.6423C7.21032 78.5431 7.45441 78.4439 7.70026 78.3439C8.5508 77.9983 9.42232 77.6441 10.2558 77.2518L13.479 75.735C13.6654 75.6364 13.8518 75.5415 14.0372 75.4471Z" fill="#3895BA"/>
|
33 |
+
<path d="M12.7608 69.026C13.9722 68.6713 15.1386 68.3297 16.2598 67.5822C16.323 67.5822 16.323 67.5191 16.323 67.4558C16.3862 67.3295 16.2598 67.2663 16.1966 67.2663C14.9124 67.1635 13.7534 67.4365 12.5839 67.7121C12.3146 67.7755 12.0447 67.8391 11.7726 67.8982C11.0457 68.0879 10.3347 68.2617 9.62363 68.4355C8.91269 68.6093 8.20175 68.7831 7.47501 68.9726C6.02155 69.3518 4.56767 69.7311 3.17741 70.1735C2.95181 70.2421 2.72773 70.3077 2.50518 70.3729C1.29375 70.7276 0.127424 71.0692 -0.993794 71.8167C-0.993794 71.8167 -1.05699 71.8798 -1.05699 71.943C-1.12019 72.0695 -0.993794 72.1327 -0.930594 72.1327C0.353637 72.2354 1.51261 71.9623 2.68207 71.6868C2.95141 71.6234 3.2213 71.5598 3.49341 71.5006C4.22015 71.3111 4.93109 71.1373 5.64204 70.9635C6.35309 70.7897 7.06415 70.6159 7.79101 70.4262C9.24461 70.0471 10.6982 69.6679 12.0886 69.2254C12.3142 69.1568 12.5383 69.0912 12.7608 69.026Z" fill="#3895BA"/>
|
34 |
+
<path d="M13.7352 62.4083C14.3928 62.4271 15.0313 62.4453 15.7542 62.0839C15.7542 62.0839 15.7542 62.0207 15.8174 62.0207C15.8806 61.9575 15.8174 61.8311 15.7542 61.7679C15.1209 61.2401 14.4435 61.153 13.7588 61.0651C13.6236 61.0477 13.4881 61.0303 13.3526 61.0095C12.5942 60.8831 11.7726 60.7567 10.951 60.6935C10.1294 60.6303 9.30781 60.5671 8.48621 60.5671C8.33586 60.5671 8.18763 60.5628 8.04036 60.5586C7.38282 60.5398 6.7443 60.5216 6.02141 60.883L5.95821 60.9463C5.89501 61.0094 5.95821 61.1358 6.02141 61.1991C6.65475 61.7268 7.33217 61.8139 8.01685 61.9018C8.15205 61.9192 8.28753 61.9366 8.42301 61.9575C9.18141 62.0839 10.003 62.2103 10.8246 62.2735C11.6462 62.3367 12.4678 62.3999 13.2894 62.3999C13.4397 62.3999 13.588 62.4041 13.7352 62.4083Z" fill="#3895BA"/>
|
35 |
+
<path d="M28.1571 64.7622C28.9822 64.8242 29.7696 64.8833 30.6062 64.5487L30.6694 64.4855C30.7326 64.4223 30.6694 64.2959 30.6062 64.2327C29.8099 63.6638 29.0136 63.5558 28.2172 63.4477C28.1288 63.4357 28.0403 63.4237 27.9518 63.411L25.2974 63.0319C24.4677 62.9133 23.5824 62.8504 22.7458 62.7909C22.6902 62.7869 22.6349 62.783 22.5798 62.779C22.4684 62.7716 22.3579 62.7633 22.2481 62.7551C21.423 62.6931 20.6356 62.634 19.799 62.9687L19.7358 63.0319C19.6726 63.0951 19.7358 63.2215 19.799 63.2847C20.5953 63.8535 21.3917 63.9615 22.188 64.0696C22.2765 64.0816 22.3649 64.0936 22.4534 64.1062L25.1078 64.4855C25.9374 64.604 26.8226 64.6669 27.6592 64.7264C27.7148 64.7304 27.7702 64.7343 27.8254 64.7383C27.9368 64.7457 28.0473 64.754 28.1571 64.7622Z" fill="#3895BA"/>
|
36 |
+
<path d="M28.0424 59.9593C28.8993 60.4219 29.7764 60.8955 30.859 61.0095C30.859 61.0095 30.9222 60.9463 30.9854 61.0095C31.1118 60.9463 31.1118 60.8199 31.0486 60.7567C30.3534 59.7455 29.4054 59.1767 28.4574 58.6079C27.5094 57.9759 26.5614 57.407 25.6134 56.8382C24.6654 56.2694 23.6542 55.7006 22.7062 55.195C22.6129 55.1453 22.5196 55.0949 22.426 55.0444C21.5691 54.5818 20.692 54.1082 19.6094 53.9943C19.5703 53.9552 19.5554 53.9644 19.5348 53.9772C19.5221 53.985 19.5071 53.9943 19.483 53.9943C19.3566 54.0575 19.3566 54.1838 19.4198 54.2471C20.115 55.2583 21.063 55.827 22.011 56.3959C22.959 57.0278 23.907 57.5966 24.855 58.1654C25.803 58.7342 26.8142 59.3031 27.7622 59.8087C27.8555 59.8584 27.9488 59.9088 28.0424 59.9593Z" fill="#3895BA"/>
|
37 |
+
<path d="M10.3333 55.4416C11.0963 55.7181 11.856 55.9933 12.7838 55.8902C12.8154 55.8902 12.8312 55.8745 12.847 55.8587C12.8628 55.8428 12.8786 55.827 12.9102 55.827C12.9734 55.7639 12.9734 55.6374 12.9102 55.5742C12.3094 54.9234 11.5897 54.5898 10.8766 54.2594C10.6895 54.1727 10.5029 54.0862 10.319 53.9943C9.37101 53.5519 8.48621 53.1726 7.53821 52.7934C6.65341 52.4142 5.70541 52.035 4.75741 51.7191C4.58261 51.6608 4.40996 51.5982 4.23748 51.5357C3.47452 51.2592 2.71485 50.984 1.78701 51.0871C1.72381 51.0871 1.66061 51.1502 1.66061 51.1502C1.59741 51.2135 1.59741 51.3399 1.66061 51.403C2.26139 52.0539 2.98116 52.3875 3.69424 52.7179C3.88131 52.8046 4.06792 52.8911 4.25181 52.9831C5.19981 53.4254 6.08461 53.8046 7.03261 54.1838C7.91741 54.563 8.86541 54.9423 9.81341 55.2583C9.9882 55.3165 10.1608 55.3791 10.3333 55.4416Z" fill="#3895BA"/>
|
38 |
+
<path d="M14.5774 51.2663C15.3725 51.7834 16.1887 52.3142 17.2078 52.5407H17.271C17.3342 52.4775 17.3974 52.3511 17.3342 52.2878C16.8065 51.3497 16.0068 50.7379 15.2379 50.1498C15.178 50.104 15.1184 50.0583 15.059 50.0127C14.6482 49.6967 14.2216 49.3807 13.795 49.0647C13.3684 48.7487 12.9418 48.4327 12.531 48.1167C11.7094 47.4847 10.8246 46.8526 9.93981 46.2839C9.77139 46.1756 9.60526 46.0627 9.43881 45.9497C8.73078 45.4687 8.01687 44.9838 7.09581 44.8302H6.96941C6.90621 44.8935 6.84301 45.0198 6.90621 45.083C7.43392 46.0212 8.23363 46.633 9.00251 47.2211C9.06238 47.2669 9.12206 47.3126 9.18141 47.3582C9.59221 47.6742 10.0188 47.9902 10.4454 48.3063C10.872 48.6222 11.2986 48.9382 11.7094 49.2542C12.531 49.8862 13.4158 50.5182 14.3006 51.0871C14.3928 51.1463 14.4849 51.2062 14.5774 51.2663Z" fill="#3895BA"/>
|
39 |
+
<path d="M24.6377 50.0798C25.129 50.8045 25.6163 51.5234 26.435 52.035H26.5614C26.6246 52.035 26.6878 51.9719 26.6878 51.8455C26.5856 50.8747 26.153 50.1104 25.7238 49.3523C25.6221 49.1727 25.5207 48.9934 25.4238 48.8119C25.0573 48.1246 24.6575 47.4705 24.2486 46.8015C24.0935 46.5477 23.937 46.2918 23.7806 46.031C23.2118 45.083 22.643 44.1982 22.011 43.3134C21.8907 43.145 21.775 42.9743 21.6595 42.8039C21.1682 42.0792 20.6809 41.3603 19.8622 40.8487H19.7358C19.6726 40.8487 19.6094 40.9118 19.6094 41.0382C19.7116 42.009 20.1442 42.7733 20.5734 43.5314C20.6751 43.711 20.7766 43.8903 20.8734 44.0718C21.24 44.7591 21.6397 45.4132 22.0486 46.0822C22.2037 46.336 22.3602 46.5919 22.5166 46.8526C23.0854 47.8007 23.6542 48.6855 24.2862 49.5703C24.4065 49.7387 24.5222 49.9094 24.6377 50.0798Z" fill="#3895BA"/>
|
40 |
+
<path d="M33.6413 58.6712C32.8401 58.0988 32.4534 57.371 32.059 56.6285L32.0583 56.6272C32.0174 56.5502 31.9765 56.4731 31.9349 56.396L30.6077 53.9311C30.2705 53.3049 29.97 52.6419 29.6782 51.9982C29.5872 51.7974 29.4971 51.5985 29.4069 51.4031C29.3534 51.2782 29.2985 51.1544 29.2439 51.0311C28.9116 50.2812 28.5853 49.545 28.5853 48.6224C28.5853 48.4959 28.6485 48.4328 28.7749 48.4328C28.8381 48.4328 28.8381 48.4328 28.9013 48.4959C29.7026 49.0683 30.0892 49.7961 30.4837 50.5386C30.5248 50.616 30.566 50.6936 30.6077 50.7711L31.9349 53.236C32.1245 53.6466 32.3298 54.0731 32.5352 54.4996C32.7406 54.9262 32.9461 55.3531 33.1357 55.764C33.1893 55.8889 33.2441 56.0127 33.2988 56.136C33.6311 56.8859 33.9573 57.6221 33.9573 58.5448C33.9573 58.6712 33.8941 58.7343 33.7677 58.7343C33.7045 58.6711 33.7045 58.6712 33.6413 58.6712Z" fill="#3895BA"/>
|
41 |
+
<path d="M29.5333 44.8304C28.6678 44.0189 28.1263 43.0222 27.592 42.0384C27.5021 41.873 27.4123 41.7077 27.3213 41.5439C26.8463 40.6889 26.4069 39.7981 25.9765 38.9253C25.8343 38.6369 25.693 38.3504 25.5517 38.068C25.4124 37.7739 25.2732 37.4837 25.1348 37.1953C24.7082 36.3063 24.2903 35.4355 23.9085 34.5288C23.8074 34.2886 23.7012 34.051 23.5951 33.8133C23.1704 32.8628 22.7457 31.9123 22.6445 30.8C22.6445 30.7368 22.7077 30.6104 22.7709 30.6104C22.8341 30.6104 22.8973 30.6104 22.8973 30.6736C23.7629 31.485 24.3043 32.4817 24.8387 33.4655C24.9286 33.631 25.0183 33.7961 25.1093 33.9599C25.5844 34.815 26.0237 35.7058 26.4542 36.5787C26.5964 36.867 26.7377 37.1535 26.8789 37.436C27.0181 37.7298 27.1574 38.02 27.2956 38.3081C27.7223 39.1972 28.1403 40.0684 28.5221 40.9752C28.6232 41.2153 28.7294 41.4529 28.8356 41.6906C29.2603 42.6411 29.685 43.5916 29.7861 44.7039C29.7861 44.7672 29.7229 44.8936 29.6597 44.8936C29.6597 44.8303 29.5965 44.8304 29.5333 44.8304Z" fill="#3895BA"/>
|
42 |
+
<path d="M33.0084 40.8489C32.5473 40.2341 32.46 39.5777 32.3761 38.9472C32.3565 38.7999 32.3371 38.6541 32.3132 38.5105C32.1868 37.6889 32.1236 36.9305 32.0604 36.1089C31.9972 35.2873 31.9972 34.5289 31.9972 33.7073C31.9972 33.5566 31.9929 33.408 31.9887 33.2608C31.97 32.6054 31.9519 31.9765 32.3132 31.3057C32.3764 31.2425 32.5028 31.1793 32.566 31.2425L32.6292 31.3057C33.0903 31.9205 33.1776 32.5768 33.2615 33.2074C33.2811 33.3546 33.3005 33.5005 33.3244 33.6441C33.4508 34.4657 33.514 35.2241 33.5772 36.0457C33.6404 36.8673 33.6404 37.6257 33.6404 38.4473C33.6404 38.598 33.6446 38.7466 33.6489 38.8939C33.6676 39.5493 33.6856 40.178 33.3244 40.8489C33.2612 40.9753 33.1348 40.9753 33.0084 40.8489Z" fill="#3895BA"/>
|
43 |
+
<path d="M73.5769 94.9335C73.1977 95.1231 72.8185 95.3127 72.6289 95.9447L72.7553 96.2607C73.2163 96.5168 73.5528 96.3993 73.8993 96.2782C73.9803 96.2499 74.0619 96.2214 74.1457 96.1975C74.5249 96.0711 74.9673 95.8815 75.3465 95.6919C75.7257 95.5023 76.1049 95.3127 76.4841 95.0599C76.8633 94.8703 77.2425 94.6807 77.4321 94.0487L77.3057 93.7327C76.8447 93.4766 76.5082 93.5941 76.1617 93.7151C76.0807 93.7434 75.9991 93.7719 75.9153 93.7959C75.5361 93.9223 75.0937 94.1119 74.7145 94.3015C74.3353 94.4911 73.9561 94.6807 73.5769 94.9335Z" fill="#F2D76B"/>
|
44 |
+
<path d="M20.448 26.2759C20.9716 26.2759 21.396 25.8514 21.396 25.3279C21.396 24.8043 20.9716 24.3799 20.448 24.3799C19.9244 24.3799 19.5 24.8043 19.5 25.3279C19.5 25.8514 19.9244 26.2759 20.448 26.2759Z" fill="#D48FC8"/>
|
45 |
+
<path d="M136.54 26.3766C137.109 25.3654 137.994 24.7966 138.815 24.2278C139.637 23.5958 140.522 23.027 141.343 22.395L143.998 20.6886C144.883 20.1198 145.704 19.551 146.905 19.3614C147.031 19.3614 147.095 19.4246 147.095 19.4878V19.6142C146.526 20.6254 145.641 21.1942 144.819 21.763C143.998 22.395 143.113 22.9638 142.291 23.5958L139.637 25.3022C138.752 25.871 137.931 26.4398 136.73 26.6294C136.603 26.6294 136.54 26.5662 136.54 26.503V26.3766ZM122.383 34.9086C122.952 33.8974 123.837 33.3918 124.595 32.7598C125.417 32.1278 126.239 31.559 127.06 30.9902C127.882 30.4214 128.767 29.8526 129.651 29.347C130.536 28.8414 131.358 28.2094 132.495 28.083C132.622 28.083 132.685 28.1462 132.685 28.2094V28.3358C132.116 29.347 131.231 29.8526 130.473 30.4846C129.651 31.1166 128.83 31.6854 128.008 32.2542C127.187 32.823 126.302 33.3918 125.417 33.8974C124.532 34.403 123.711 35.035 122.573 35.1614C122.447 35.1614 122.383 35.0982 122.383 35.035C122.32 34.9718 122.32 34.9086 122.383 34.9086ZM139.7 32.0646C140.269 31.4326 141.027 31.3062 141.659 31.1166C142.355 30.927 143.05 30.7374 143.745 30.611L145.831 30.2318C146.526 30.1054 147.221 29.979 148.043 30.295C148.169 30.3582 148.169 30.4846 148.169 30.5478C148.169 30.5478 148.169 30.611 148.106 30.611C147.537 31.243 146.779 31.3694 146.147 31.559C145.451 31.7486 144.756 31.9382 144.061 32.0646L141.975 32.4438C141.28 32.5702 140.585 32.6966 139.763 32.3806C139.637 32.3806 139.637 32.2542 139.7 32.0646C139.7 32.1278 139.637 32.1278 139.7 32.0646ZM125.48 37.3102C126.555 36.931 127.503 37.0574 128.514 37.1206C129.525 37.1838 130.536 37.3102 131.547 37.3734C132.559 37.4998 133.57 37.6262 134.518 37.7526C135.529 37.879 136.54 37.9422 137.488 38.5742C137.551 38.6374 137.615 38.7638 137.551 38.827C137.551 38.8902 137.488 38.8902 137.488 38.8902C136.414 39.2694 135.466 39.143 134.455 39.0798C133.443 39.0166 132.432 38.8902 131.421 38.827C130.41 38.7006 129.399 38.5742 128.451 38.4478C127.439 38.3214 126.428 38.2582 125.48 37.6262C125.417 37.563 125.354 37.4366 125.417 37.3734L125.48 37.3102ZM141.533 36.8678C142.291 36.4886 142.923 36.615 143.619 36.6782C144.314 36.7414 144.946 36.8046 145.641 36.8678C146.273 36.9942 146.968 37.1206 147.6 37.247C148.232 37.3734 148.927 37.4366 149.496 38.0686C149.559 38.1318 149.559 38.2582 149.496 38.3214H149.433C148.675 38.7006 148.043 38.5742 147.347 38.511C146.652 38.4478 146.02 38.3846 145.325 38.3214C144.693 38.195 143.998 38.0686 143.366 37.9422C142.734 37.8158 142.039 37.7526 141.47 37.1206C141.407 37.1206 141.407 36.9942 141.533 36.8678C141.47 36.931 141.47 36.931 141.533 36.8678ZM138.942 43.0614C139.827 42.8718 140.459 43.1878 141.217 43.3774C141.912 43.6302 142.607 43.8198 143.303 44.1358C143.998 44.3886 144.693 44.7046 145.325 45.0206C146.02 45.3366 146.715 45.5894 147.221 46.2846C147.284 46.3478 147.284 46.4742 147.158 46.5374H147.095C146.21 46.727 145.578 46.411 144.819 46.2214C144.124 45.9686 143.429 45.779 142.734 45.463C142.039 45.2102 141.343 44.8942 140.711 44.5782C140.016 44.2622 139.321 44.0094 138.815 43.3142C138.752 43.3142 138.752 43.1878 138.942 43.0614C138.879 43.1246 138.879 43.1246 138.942 43.0614ZM127.945 42.6822C128.893 42.7454 129.462 43.1878 130.094 43.6302C130.726 44.0726 131.358 44.4518 131.99 44.9574C132.622 45.3998 133.191 45.9054 133.823 46.411C134.391 46.9166 135.023 47.2958 135.339 48.1806C135.403 48.307 135.339 48.3702 135.213 48.4334H135.15C134.202 48.3702 133.633 47.9278 133.001 47.4854C132.369 47.043 131.737 46.6638 131.105 46.1582C130.473 45.7158 129.904 45.2102 129.272 44.7046C128.703 44.199 128.071 43.8198 127.755 42.935C127.692 42.8086 127.755 42.7454 127.882 42.6822H127.945ZM134.96 53.8686C135.655 53.9318 135.908 54.311 136.224 54.627C136.54 54.943 136.856 55.3222 137.109 55.6382C137.425 56.0174 137.678 56.3966 137.931 56.7758C138.183 57.155 138.499 57.471 138.373 58.1662C138.373 58.2926 138.247 58.3558 138.12 58.3558C137.425 58.2926 137.172 57.9134 136.856 57.5974C136.54 57.2814 136.224 56.9022 135.971 56.5862C135.655 56.207 135.403 55.8278 135.15 55.4486C134.897 55.0694 134.581 54.7534 134.707 54.0582C134.707 53.9318 134.834 53.8686 134.96 53.8686ZM123.331 53.5526C124.027 53.8686 124.153 54.4374 124.406 54.8798C124.659 55.3854 124.848 55.891 125.101 56.3966C125.291 56.9022 125.48 57.4078 125.607 57.9766C125.733 58.4822 125.986 58.9878 125.733 59.683C125.67 59.8094 125.543 59.8726 125.48 59.8094C124.785 59.4934 124.659 58.9246 124.406 58.4822C124.153 57.9766 123.963 57.471 123.711 56.9654C123.521 56.4598 123.331 55.9542 123.205 55.3854C123.079 54.8798 122.826 54.3742 123.079 53.679C123.079 53.5526 123.205 53.4894 123.331 53.5526ZM126.934 47.991C127.692 48.307 128.008 48.939 128.387 49.5078C128.767 50.0766 129.146 50.6454 129.462 51.2142C129.778 51.783 130.094 52.415 130.41 52.9838C130.726 53.6158 131.105 54.1846 130.979 55.0062C130.979 55.1326 130.852 55.1958 130.726 55.1958H130.663C129.904 54.8798 129.588 54.2478 129.209 53.679C128.83 53.1102 128.451 52.5414 128.135 51.9726C127.819 51.4038 127.503 50.7718 127.187 50.203C126.871 49.571 126.491 49.0022 126.618 48.1806C126.681 48.0542 126.807 47.9278 126.934 47.991ZM120.867 40.9126C121.562 41.355 121.751 42.0502 122.004 42.619L122.763 44.515C122.952 45.147 123.205 45.779 123.331 46.411C123.521 47.043 123.774 47.675 123.521 48.4966C123.458 48.623 123.395 48.6862 123.268 48.623H123.205C122.51 48.1806 122.32 47.4854 122.067 46.9166L121.309 45.0206C121.119 44.3886 120.867 43.7566 120.74 43.1246C120.551 42.4926 120.298 41.8606 120.551 41.039C120.614 40.9126 120.74 40.8494 120.867 40.9126C120.867 40.8494 120.867 40.8494 120.867 40.9126ZM117.391 39.9646C117.517 40.8494 117.138 41.5446 116.822 42.2398L115.874 44.3254C115.558 45.0206 115.179 45.7158 114.799 46.3478C114.42 47.043 114.104 47.7382 113.346 48.1806C113.283 48.2438 113.156 48.1806 113.093 48.1174V48.0542C112.967 47.1694 113.346 46.4742 113.662 45.779L114.61 43.6934C114.926 42.9982 115.305 42.303 115.684 41.671C116.063 40.9758 116.379 40.2806 117.138 39.8382C117.201 39.775 117.327 39.8382 117.391 39.9014V39.9646ZM116.632 54.2478C116.948 54.943 116.759 55.5118 116.632 56.1438C116.506 56.7126 116.379 57.3446 116.253 57.9134C116.127 58.4822 115.937 59.051 115.684 59.683C115.495 60.2518 115.368 60.8838 114.736 61.3262C114.673 61.3894 114.483 61.3894 114.42 61.263C114.104 60.5678 114.294 59.999 114.42 59.367C114.547 58.7982 114.673 58.1662 114.799 57.5974C114.926 57.0286 115.115 56.4598 115.368 55.8278C115.558 55.259 115.684 54.627 116.316 54.1846C116.443 54.1214 116.569 54.1214 116.632 54.2478ZM112.335 51.5302C112.335 52.6678 111.829 53.6158 111.45 54.5638C111.071 55.5118 110.628 56.4598 110.186 57.4078C109.743 58.3558 109.238 59.2406 108.795 60.1886C108.29 61.0734 107.911 62.0846 106.963 62.7798C106.899 62.843 106.773 62.843 106.71 62.7798C106.71 62.7166 106.647 62.7166 106.647 62.6534C106.647 61.5158 107.152 60.5678 107.531 59.6198C107.911 58.6718 108.353 57.7238 108.795 56.7758C109.238 55.8278 109.743 54.943 110.186 53.995C110.691 53.1102 111.071 52.099 112.019 51.4038C112.082 51.3406 112.208 51.3406 112.271 51.4038C112.335 51.467 112.335 51.467 112.335 51.5302ZM108.606 46.7902C108.543 47.5486 108.1 47.991 107.721 48.4334C107.342 48.8758 106.963 49.3182 106.52 49.7606C106.141 50.203 105.699 50.5822 105.256 51.0246C104.814 51.4038 104.435 51.9094 103.676 51.9726C103.55 51.9726 103.487 51.9094 103.423 51.783C103.487 51.0246 103.929 50.5822 104.308 50.1398C104.687 49.6974 105.067 49.255 105.509 48.8126C105.888 48.3702 106.331 47.991 106.773 47.5486C107.215 47.1694 107.595 46.6638 108.353 46.6006C108.543 46.6006 108.606 46.6638 108.606 46.7902ZM105.067 41.1654C104.371 42.0502 103.423 42.3662 102.539 42.8086C101.654 43.251 100.769 43.6302 99.8842 44.0726C98.9994 44.4518 98.0514 44.831 97.1666 45.147C96.2186 45.463 95.3338 45.9054 94.2594 45.8422C94.133 45.8422 94.0698 45.779 94.0698 45.6526C94.0698 45.5894 94.0698 45.5894 94.133 45.5262C94.8282 44.6414 95.7762 44.3254 96.661 43.883C97.5458 43.4406 98.4306 43.0614 99.3154 42.619C100.2 42.2398 101.148 41.8606 102.033 41.5446C102.981 41.2286 103.866 40.7862 104.94 40.8494C105.067 40.8494 105.13 40.9126 105.13 41.039C105.13 41.1022 105.13 41.1654 105.067 41.1654ZM115.495 37.6894C115.115 38.3846 114.483 38.5742 113.915 38.827C113.346 39.0798 112.777 39.3326 112.208 39.5222C111.639 39.7118 111.071 39.9014 110.439 40.091C109.87 40.2806 109.301 40.5334 108.543 40.2174C108.416 40.1542 108.353 40.091 108.416 39.9646V39.9014C108.795 39.2062 109.427 39.0166 109.996 38.7638C110.565 38.511 111.134 38.2582 111.703 38.0686C112.271 37.879 112.84 37.6894 113.472 37.4998C114.041 37.3102 114.61 37.0574 115.368 37.3734C115.495 37.4366 115.558 37.563 115.495 37.6894ZM103.423 33.5182C102.349 33.771 101.401 33.5182 100.453 33.3286C99.505 33.139 98.557 32.9494 97.609 32.6966L94.765 31.9382C93.817 31.6854 92.869 31.4958 92.0474 30.7374C91.9842 30.6742 91.9842 30.5478 92.0474 30.4846L92.1106 30.4214C93.185 30.1686 94.133 30.4214 95.081 30.611C96.029 30.8006 96.977 30.9902 97.925 31.243L100.769 32.0014C101.717 32.2542 102.665 32.4438 103.487 33.2022C103.55 33.2654 103.55 33.3918 103.487 33.455L103.423 33.5182ZM113.219 35.4774C112.524 35.8566 111.955 35.667 111.387 35.5406C110.818 35.4142 110.249 35.351 109.68 35.1614C109.111 35.035 108.543 34.8454 107.974 34.6558C107.405 34.4662 106.836 34.3398 106.394 33.7078C106.331 33.5814 106.331 33.455 106.457 33.3918C107.152 33.0126 107.721 33.2022 108.29 33.3286C108.859 33.455 109.427 33.5182 109.996 33.7078C110.565 33.8342 111.134 34.0238 111.703 34.2134C112.271 34.403 112.84 34.5294 113.283 35.1614C113.409 35.2246 113.346 35.351 113.219 35.4774ZM101.527 27.3878C100.769 27.5774 100.263 27.2614 99.7578 27.0086C99.2522 26.7558 98.6834 26.503 98.1778 26.2502C97.6722 25.9974 97.1666 25.6814 96.661 25.3654C96.1554 25.0494 95.6498 24.7966 95.397 24.1014C95.3338 23.975 95.397 23.8486 95.5234 23.8486C96.2818 23.659 96.7874 23.975 97.293 24.2278C97.7986 24.4806 98.3674 24.7334 98.873 24.9862C99.3786 25.239 99.8842 25.555 100.39 25.871C100.895 26.187 101.401 26.4398 101.654 27.135C101.717 27.1982 101.654 27.3246 101.527 27.3878ZM116.822 32.191C115.874 32.0014 115.305 31.4326 114.673 30.927C114.041 30.4214 113.409 29.8526 112.84 29.347C112.271 28.7782 111.639 28.2094 111.071 27.6406C110.502 27.0718 109.87 26.5662 109.617 25.6182C109.617 25.4918 109.68 25.4286 109.743 25.3654H109.807C110.755 25.555 111.323 26.1238 111.955 26.6294C112.587 27.135 113.219 27.7038 113.788 28.2094C114.357 28.7782 114.989 29.347 115.558 29.9158C116.127 30.4846 116.759 30.9902 117.011 31.9382C117.011 32.0646 116.948 32.1278 116.885 32.191H116.822ZM107.595 25.3022C106.647 25.1126 106.078 24.5438 105.446 23.975C104.814 23.4694 104.245 22.9006 103.613 22.3318C103.044 21.763 102.475 21.1942 101.907 20.5622C101.338 19.9934 100.706 19.4246 100.516 18.4766C100.516 18.3502 100.579 18.287 100.643 18.2238H100.706C101.654 18.4134 102.223 18.9822 102.855 19.551C103.487 20.0566 104.055 20.6254 104.687 21.1942C105.256 21.763 105.825 22.3318 106.394 22.9638C106.963 23.5326 107.595 24.1014 107.784 25.0494C107.784 25.1758 107.721 25.239 107.658 25.3022H107.595ZM112.398 18.7294C111.513 18.0342 111.071 17.1494 110.628 16.2646C110.123 15.3798 109.68 14.495 109.238 13.6102C108.795 12.7254 108.353 11.7774 107.974 10.8926C107.595 9.94458 107.089 9.05978 107.089 7.98538C107.089 7.85898 107.152 7.79578 107.279 7.79578C107.342 7.79578 107.342 7.79578 107.405 7.85898C108.29 8.55418 108.732 9.43898 109.175 10.3238C109.68 11.2086 110.123 12.0934 110.565 12.9782C111.007 13.863 111.45 14.811 111.829 15.6958C112.208 16.6438 112.714 17.5286 112.714 18.603C112.714 18.7294 112.651 18.7926 112.524 18.7926C112.461 18.7926 112.398 18.7926 112.398 18.7294ZM118.149 28.083C117.454 27.451 117.327 26.6294 117.075 25.871C116.822 25.1126 116.632 24.3542 116.443 23.5958C116.253 22.8374 116.127 22.079 115.937 21.2574C115.811 20.499 115.558 19.7406 115.874 18.8558C115.937 18.7294 116 18.7294 116.127 18.7294C116.127 18.7294 116.19 18.7294 116.19 18.7926C116.885 19.4246 117.011 20.2462 117.264 21.0046C117.517 21.763 117.707 22.5214 117.896 23.2798C118.086 24.0382 118.212 24.7966 118.402 25.6182C118.528 26.3766 118.781 27.135 118.465 28.0198C118.402 28.1462 118.339 28.1462 118.212 28.1462C118.212 28.083 118.149 28.083 118.149 28.083V28.083ZM120.551 14.179C120.045 13.4838 120.045 12.8518 120.045 12.1566C119.982 11.4614 119.982 10.8294 119.982 10.1342C119.982 9.43898 119.982 8.80698 120.045 8.11178C120.108 7.41658 120.045 6.78458 120.551 6.08938C120.614 6.02618 120.74 5.96298 120.803 6.02618L120.867 6.08938C121.372 6.78458 121.372 7.41658 121.372 8.11178C121.435 8.80698 121.435 9.43898 121.435 10.1342C121.435 10.8294 121.435 11.4614 121.372 12.1566C121.309 12.8518 121.372 13.4838 120.867 14.179C120.803 14.2422 120.677 14.2422 120.551 14.179C120.614 14.179 120.614 14.179 120.551 14.179ZM120.171 30.7374C119.982 29.8526 120.298 29.2838 120.551 28.5886C120.803 27.9566 121.056 27.2614 121.372 26.6294L122.32 24.7334C122.636 24.1014 122.889 23.4694 123.647 23.027C123.711 22.9638 123.837 23.027 123.9 23.0902V23.1534C124.09 24.0382 123.774 24.607 123.521 25.3022C123.268 25.9342 123.015 26.6294 122.699 27.2614L121.751 29.1574C121.435 29.7894 121.183 30.4214 120.424 30.8638C120.361 30.8638 120.235 30.8638 120.171 30.7374ZM125.543 17.7814C125.291 17.1494 125.48 16.8334 125.607 16.391C125.733 16.0118 125.923 15.5694 126.112 15.1902C126.302 14.811 126.491 14.4318 126.744 14.0526C126.997 13.6734 127.123 13.2942 127.755 13.1046C127.882 13.1046 128.008 13.1046 128.071 13.231C128.324 13.863 128.135 14.179 128.008 14.6214C127.882 15.0006 127.692 15.443 127.503 15.8222C127.313 16.2014 127.123 16.5806 126.871 16.9598C126.618 17.339 126.491 17.7182 125.859 17.9078C125.733 17.971 125.607 17.9078 125.543 17.7814ZM126.618 24.1646C126.491 23.343 126.871 22.8374 127.187 22.2686C127.503 21.6998 127.755 21.1942 128.135 20.6254C128.451 20.1198 128.83 19.551 129.209 19.0454C129.588 18.5398 129.841 17.971 130.599 17.7182C130.726 17.655 130.852 17.7182 130.852 17.8446V17.9078C130.979 18.7294 130.599 19.235 130.283 19.8038C129.967 20.3726 129.715 20.8782 129.335 21.447C129.019 21.9526 128.64 22.5214 128.261 23.027C127.882 23.5326 127.629 24.1014 126.871 24.3542C126.744 24.3542 126.681 24.291 126.618 24.1646ZM133.254 18.7926C133.443 17.9078 133.949 17.4022 134.455 16.8966C134.96 16.3278 135.466 15.8222 135.971 15.3166C136.477 14.811 137.046 14.3054 137.615 13.7998C138.183 13.2942 138.689 12.7886 139.574 12.599C139.7 12.599 139.763 12.6622 139.827 12.7254V12.7886C139.637 13.6734 139.131 14.179 138.626 14.6846C138.12 15.2534 137.615 15.759 137.109 16.2646C136.603 16.7702 136.035 17.2758 135.466 17.7814C134.897 18.287 134.391 18.7926 133.507 18.9822C133.38 18.9822 133.317 18.919 133.254 18.8558V18.7926Z" fill="#C475BD"/>
|
46 |
+
<circle cx="80" cy="50" r="35" fill="white"/>
|
47 |
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M80 82.8125C98.1218 82.8125 112.812 68.1218 112.812 50C112.812 42.6118 111.464 35.7939 107.344 30.3093C101.357 22.3413 90.7336 17.1875 80 17.1875C71.8574 17.1875 65.5013 20.1534 59.7656 25.0639C52.7361 31.0819 47.1875 40.0207 47.1875 50C47.1875 58.6705 49.4567 66.5555 54.9495 72.4219C60.9369 78.8165 70.5487 82.8125 80 82.8125ZM80 85C99.33 85 115 69.33 115 50C115 30.67 99.33 15 80 15C60.67 15 45 30.67 45 50C45 69.33 60.67 85 80 85Z" fill="#C475BD"/>
|
48 |
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M70 33.5521L69.75 56L70 66L88 56L97.6702 50L70 33.5521ZM68.9824 31.7474C69.5855 31.4091 70.3245 31.4183 70.919 31.7717L90 43.5L98.8096 48.3506C99.3903 48.6958 99.75 49.3207 99.75 50C99.75 50.6793 99.3903 51.3042 98.8096 51.6494L70.919 68.2283C70.3245 68.5817 69.5855 68.5909 68.9824 68.2526C68.3783 67.9137 68 67.2757 68 66.5789L68.25 43.5L68 33.4211C68 32.7243 68.3783 32.0863 68.9824 31.7474Z" fill="#6AAFCB"/>
|
49 |
+
<path d="M150.861 3.04976L149.849 5.13536L151.619 6.77856C151.935 7.03136 151.682 7.53696 151.303 7.47376L148.838 7.15776L147.827 9.43296C147.701 9.81216 147.132 9.74896 147.069 9.36976L146.626 6.90496L144.414 6.71536C143.972 6.65216 143.845 6.14656 144.225 5.95696L146.247 4.81936L145.805 2.48096C145.741 2.10176 146.184 1.84896 146.5 2.10176L148.269 3.68176L150.292 2.54416C150.671 2.29136 151.05 2.67056 150.861 3.04976Z" fill="#004E6E"/>
|
50 |
+
</g>
|
51 |
+
<defs>
|
52 |
+
<clipPath id="clip0_1341_8650">
|
53 |
+
<rect width="158" height="99.224" fill="white"/>
|
54 |
+
</clipPath>
|
55 |
+
</defs>
|
56 |
+
</svg>
|
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '0c77b6c6c3f1becf3f7c');
|
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.js
CHANGED
@@ -6907,7 +6907,7 @@ function register() {
|
|
6907 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5736);
|
6908 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
|
6909 |
/* harmony import */ var wpcom_proxy_request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8552);
|
6910 |
-
/* harmony import */ var
|
6911 |
/* harmony import */ var _dotcom_fse_lib_site_intent_use_site_intent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5262);
|
6912 |
/* harmony import */ var _dotcom_fse_lib_video_celebration_modal_use_has_seen_video_celebration_modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1065);
|
6913 |
/* harmony import */ var _nux_modal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3634);
|
@@ -6993,8 +6993,8 @@ const VideoCelebrationModalInner = () => {
|
|
6993 |
isOpen: isModalOpen,
|
6994 |
className: "wpcom-site-editor-video-celebration-modal",
|
6995 |
title: __('You’ve added your first video!', 'full-site-editing'),
|
6996 |
-
description: __('Feel free to keep editing or continue and launch your site.', 'full-site-editing'),
|
6997 |
-
imageSrc:
|
6998 |
actionButtons: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
|
6999 |
onClick: closeModal
|
7000 |
}, __('Keep editing', 'full-site-editing')), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
|
@@ -13046,11 +13046,11 @@ module.exports = __webpack_require__.p + "images/private-761a5407869f32039248.sv
|
|
13046 |
|
13047 |
/***/ }),
|
13048 |
|
13049 |
-
/***/
|
13050 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
13051 |
|
13052 |
"use strict";
|
13053 |
-
module.exports = __webpack_require__.p + "images/
|
13054 |
|
13055 |
/***/ }),
|
13056 |
|
6907 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5736);
|
6908 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
|
6909 |
/* harmony import */ var wpcom_proxy_request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8552);
|
6910 |
+
/* harmony import */ var calypso_assets_images_illustrations_video_success_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1721);
|
6911 |
/* harmony import */ var _dotcom_fse_lib_site_intent_use_site_intent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5262);
|
6912 |
/* harmony import */ var _dotcom_fse_lib_video_celebration_modal_use_has_seen_video_celebration_modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1065);
|
6913 |
/* harmony import */ var _nux_modal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3634);
|
6993 |
isOpen: isModalOpen,
|
6994 |
className: "wpcom-site-editor-video-celebration-modal",
|
6995 |
title: __('You’ve added your first video!', 'full-site-editing'),
|
6996 |
+
description: __('Feel free to keep editing your homepage, or continue and launch your site.', 'full-site-editing'),
|
6997 |
+
imageSrc: calypso_assets_images_illustrations_video_success_svg__WEBPACK_IMPORTED_MODULE_4__,
|
6998 |
actionButtons: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
|
6999 |
onClick: closeModal
|
7000 |
}, __('Keep editing', 'full-site-editing')), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.Button, {
|
13046 |
|
13047 |
/***/ }),
|
13048 |
|
13049 |
+
/***/ 1721:
|
13050 |
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
13051 |
|
13052 |
"use strict";
|
13053 |
+
module.exports = __webpack_require__.p + "images/video-success-efc454c6ae0b77ec03f0.svg";
|
13054 |
|
13055 |
/***/ }),
|
13056 |
|
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.min.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Copyright (c) 2018 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
-
*/!function(){"use strict";var o={}.hasOwnProperty;function r(){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)){if(n.length){var s=r.apply(null,n);s&&e.push(s)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)o.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3421:(e,t)=>{"use strict";var n=decodeURIComponent,o=encodeURIComponent,r=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(n){return e}}},5881:e=>{var t=1e3,n=60*t,o=60*n,r=24*o,i=7*r,s=365.25*r;function a(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*i;case"days":case"day":case"d":return l*r;case"hours":case"hour":case"hrs":case"hr":case"h":return l*o;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var i=Math.abs(e);if(i>=r)return a(e,i,r,"day");if(i>=o)return a(e,i,o,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"
|
3 |
Copyright (c) 2018 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
|