Changeset 3183048
- Timestamp:
- 11/06/2024 10:52:52 AM (17 months ago)
- Location:
- jetpack/trunk
- Files:
-
- 24 edited
-
CHANGELOG.md (modified) (1 diff)
-
_inc/build/admin.asset.php (modified) (1 diff)
-
_inc/build/admin.js (modified) (1 diff)
-
composer.json (modified) (1 diff)
-
jetpack.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/autoload_packages.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/jetpack-autoloader/class-autoloader-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-autoloader-locator.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-autoloader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-container.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-hook-manager.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-latest-autoloader-guard.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-manifest-reader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-path-processor.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-php-autoloader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-plugin-locator.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-plugins-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-shutdown-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-version-loader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-version-selector.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/CHANGELOG.md
r3181385 r3183048 3 3 ### This is a list detailing changes for all Jetpack releases. 4 4 5 ## 14.0-beta - 2024-11-04 6 ### Improved compatibility 7 - Embed Blocks: Append 'Embed' to the titles of Facebook and Instagram embed blocks. [#39970] 8 - Image Block: Make the external media picker button consistent with the other buttons in the image block. [#39985] 9 10 ### Bug fixes 11 - Google Fonts: Fix module not loading fully in certain scenarios. [#39977] 12 - Social: Fix the Instagram maximum video length. [#39930] 13 - Social: Prevent share status styles from affecting other independent elements on the page. [#39991] 5 ## 14.0 - 2024-11-05 6 ### Major enhancements 7 - Newsletters: Add email previews and a floating subscribe button. [#37722] [#39782] 8 - Social: Add support for Bluesky. [#39659] [#39561] 9 10 ### Enhancements 11 - Newsletters: Allow skipping newsletter modals with the "jetpack_skip_subscription_popup" URL query param. [#39644] 12 - Newsletters: Update the default "reply to" setting value from not allowed to replies being posted as public comments. [#39657] 13 - Performance: Optimize CSS for better page load performance and improve sitemap write efficiency. [#39518] [#39572] 14 15 ### Improved compatibility 16 - Embed Blocks: Append 'Embed' to Facebook and Instagram embed blocks' titles. [#39970] 17 - Filters: Update "plugin_action_links" filter parameter to avoid conflicts with other plugins. [#39681] 18 - General: Ensure correct display of notices when running an old version of WordPress. [#39745] 19 - General: Indicate compatibility with WordPress 6.7. [#39786] [#39877] 20 - Image Block: Make the external media picker button consistent with other Image Block buttons. [#39985] 21 - Image CDN: URL encode image path parts for RSS feed compatibility. [#39560] 22 - Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. [#39730] 23 24 ### Bug fixes 25 - AI Assistant: Fix false-positive spelling errors in Write Brief. [#39735] [#39880] 26 - Carousel: Further improve accessibility by being more selective over which images to apply attributes to. [#39913] 27 - Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. [#39759] 28 - General: Include `wp-polyfill` as a script dependency only when needed. [#39629] 29 - Goodreads Block: Avoid PHP warnings caused by missing attributes when rendering. [#39713] 30 - Google Fonts: Fix module not fully loading in certain scenarios. [#39977] 31 - Map Block: Prevent overlap with other blocks placed below. [#39744] 32 - Newsletters: Fix "Enable featured image on your new post emails" and "Use excerpt" settings. [#39700] [#39815] 33 - Sharing: Ensure the sharing settings can be accessed even when the user is not connected to WordPress.com. [#39677] 34 - Slideshow Block: Ensure the block renders correctly inside an iframe editor. [#39551] 35 - Social: Fix the maximum video length for Instagram Business reels. [#39930] 36 - Social: Prevent share status styles from causing text overflow or affecting other elements on the page. [#39599] [#39991] 37 - Stats: Fix top post card on the Insights page. [#39691] 14 38 - Subscribe Block: Fix styling for the number of subscribers in the post editor sidebar. [#39929] 15 39 16 40 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. --> 41 - Admin Menu: Adding tests to check for 'current' class when menu item selected. [#39374] 42 - Blocks: Initialize connection assets in Story block. [#39870] 43 - Blogging Prompt: Preserve language on answers link. [#36730] 44 - Code: Add missing deps in calls to the `useSelect` React hook. [#39421] 45 - Code: Add null check to SAL_Site::posts_status_obj to avoid warnings. [#39727] 46 - Code: Add siteFragment to JP initial state definition, avoid linter warnings. [#39589] 17 47 - Code: Enable test coverage. [#39961] 18 48 - Code: Fix PHPUnit coverage warnings. [#39989] 19 49 - Code: Run coverage tests in parallel. [#39988] 50 - Code: Updated package dependencies. [#39594] [#39639] [#39649] [#39653] [#39707] 20 51 - Code: Update testing instructions for Jetpack 14.0. [#39957] 52 - Code: Use React setState instead of directly modifying state. [#39421] 53 - Connection: Add connection nudge for blocks that are missing it. [#39647] 54 - Connection: Add tracks to connection banner. [#39732] 55 - Connection: Fix issue where connection banner was showing for simple sites. [#39687] 56 - Connection: Show connection nudge instead of error if user is not connected on blogroll block. [#39638] 57 - Connection: Unify connection nudge design on Jetpack Settings. [#39591] 58 - Connection: Unify connection related CTAs on At A Glance. [#39585] 59 - Contact Info: Change block registration code. [#39892] 60 - Email preview modal: Improve error state visuals. [#39476] 21 61 - General: Skip pricing page when connecting from editor blocks. [#39865] 22 - Jetpack AI: Add instructions to general image generation with styles to to-test file. [#39954]23 - Modules: Update any instances where functions are hooked into plugins_loaded, to use a later hook if needed. [#39993]24 - Social: Change order of jetpack social connections. [#40020]25 - Subscribe Block: adjust margin of the notice appearing in the block sidebar. [#39962]26 - Theme Tools: ensure theme-compat files are still loaded when a compatible theme is used. [#39992]27 - Write Brief: Load unconfident words from backend and update caching. [#39975]28 29 ## 14.0-a.11 - 2024-10-2930 ### Improved compatibility31 - Post Editor: Prevent deprecation notices with WordPress 6.7. [#39877]32 33 ### Bug fixes34 - Carousel: Further improve accessibility by being more selective over which images to apply attributes to. [#39913]35 36 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->37 - Add site_partner_bundle option to Sites API response. [#39905]38 - Jetpack AI: add styles dropdown on AI image generator modal. [#39917]39 40 ## 14.0-a.9 - 2024-10-2841 ### Enhancements42 - Subscriptions: Add a floating subscribe button. [#37722]43 44 ### Improved Compatibility45 - General: Indicate compatibility with WordPress 6.7. [#39786]46 47 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->48 - AI Assistant: Write Brief should not flag words like '2nd' and '100th' as spelling errors. [#39880]49 - Blocks: Initialize connection assets in Story block. [#39870]50 - Contact Info: Change block registration code. [#39892]51 62 - General: Updated package dependencies. [#39910] 52 63 - Hooks: Change several action priorities to ensure translation loading is not triggered too early. [#39841] 53 - Jetpack AI: Add instructions on to-test file. [#39866] 64 - Infinite Scroll: Add isset checks to validate input data. [#39618] 65 - Jetpack AI: Add instructions to general image generation with styles to to-test file. [#39954] 66 - Jetpack AI: Add styles dropdown on AI image generator modal. [#39917] 67 - Jetpack AI: Add testing instructions to to-test.md. [#39866] 68 - Jetpack AI: Change constant value for fair usage, accept both values on type definitions. [#39705] 54 69 - Jetpack AI: Remove reload handler for logo generator modal call. [#39848] 55 70 - Jetpack AI: Use new exported component for AI generation modal on GP image generation. [#39864] 71 - JSON Endpoints: Handle null input for update post endpoint. [#39676] 72 - Map Block: Display a static map image when the block is rendered in a pattern preview. [#39768] 73 - Map Block: Remove preview attribute. [#39768] 74 - Modules: Update any instances where functions are hooked into plugins_loaded, to use a later hook if needed. [#39993] 75 - Newsletters: Fix 'class Jetpack_Subscriptions_Widget not found' fatal error during REST API. [#39765] 76 - Related Posts: refine how related posts are made available on singular views in block themes. [#39784] 77 - REST API: Add site_partner_bundle option to Sites API response. [#39905] 56 78 - REST API: Fix upload media endpoint fatals coming from uploads with invalid media type. [#39858] 79 - Scan: Update Jetpack Scan link in the WP Admin menu. [#39619] 80 - Slideshow Block: Fix console warning related to images with the same key. [#39821] 81 - Social: Change order of jetpack social connections. [#40020] 82 - Social: Optimize the 'admin_init' hook callback for Sharing module. [#39737] 57 83 - Stats: Optimize the Stats Admin Bar hook by narrowing down the callback. [#39857] 58 - Subscriptions: Add source attribute for stats to the floating subscribe button. [#39860]59 - Verbum Comments: Update resize logic. [#39791]60 61 ## 14.0-a.7 - 2024-10-2162 ### Enhancements63 - Newsletters: Add an email preview option to the preview menu. [#39782]64 - Newsletters: Allow skipping newsletter modals with a URL query param. [#39644]65 66 ### Improved compatibility67 - General: Ensure notice displays without errors when running an old version of WordPress. [#39745]68 - Plugin action links filters: Update parameter to avoid conflicts with other plugins. [#39681]69 70 ### Bug fixes71 - Map Block: Fix issue where blocks placed underneath would overlap with the map block. [#39744]72 - Newsletters: Fix "Use excerpt" setting. [#39815]73 74 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->75 - Map Block: Display a static map image when the block is rendered in a pattern preview. [#39768]76 - Map: Remove preview attribute. [#39768]77 - Newsletters: Fix 'class Jetpack_Subscriptions_Widget not found' fatal error during REST API. [#39765]78 - Slideshow Block: Fix console warning related to images with the same key. [#39821]79 84 - Story Block: Avoid error when previewing block styles in development version of the Gutenberg plugin. [#39807] 80 85 - Story Block: Fix console warning related to 'key' not being a prop. [#39822] 86 - Subscribe Block: adjust margin of the notice appearing in the block sidebar. [#39962] 87 - Subscriptions: Add source attribute for stats to the floating subscribe button. [#39860] 81 88 - Tests: Fix unit tests. [#39799] 82 - Update VideoPress notice URL on Media Library. [#39731] 83 84 ## 14.0-a.5 - 2024-10-16 85 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. --> 86 - Related Posts: refine how related posts are made available on singular views in block themes. [#39784] 87 88 ## 14.0-a.3 - 2024-10-14 89 ### Enhancements 90 - Newsletter: Update the default "reply to" setting value from not allowed to replies being posted as public comments. [#39657] 91 - Social: Add Bluesky to social previews. [#39659] 92 93 ### Improved compatibility 94 - Image CDN: URL encode image path parts for RSS feed compatibility. [#39560] 95 - Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. [#39730] 96 97 ### Bug fixes 98 - Blocks: Fix rendering of the goodreads block to avoid PHP warnings caused by missing attributes. [#39713] 99 - Blocks: Render the slideshow block correctly inside an iframe editor. [#39551] 100 - Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. [#39759] 101 - General: Only include `wp-polyfill` as a script dependency when needed. [#39629] 102 - Newsletter: Ensure `Enable featured image on your new post emails` setting displays the right value. [#39700] 103 - Sharing: Ensure the sharing settings can be accessed even when a user is not connected to WordPress.com. [#39677] 104 - Stats: Fix top post card on the Insight page. [#39691] 105 106 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. --> 107 - Add connection nudge for blocks that are missing it. [#39647] 108 - Add missing deps in calls to the `useSelect` React hook. [#39421] 109 - Add tracks to connection banner. [#39732] 110 - AI Assistant: Make Breve no longer flag single quotes as spelling errors. [#39735] 111 - Fix issue where connection banner was showing for simple sites. [#39687] 112 - Infinite-scroll: Add isset checks to validate input data. [#39618] 113 - Janitorial: Add siteFragment to JP initial state definition, avoid linter warnings. [#39589] 114 - Jetpack AI: Change constant value for fair usage, accept both values on type definitions. [#39705] 115 - JSON Endpoints: Handle null input for update post endpoint. [#39676] 116 - Optimize the 'admin_init' hook callback for Sharing module. [#39737] 117 - SAL_Site class: Add null check to posts_status_obj to avoid warnings. [#39727] 118 - Show connection nudge instead of error if user is not connected on blogroll block. [#39638] 119 - Update package dependencies. [#39649] [#39653] [#39707] 120 - Use React setState instead of directly modifying state. [#39421] 89 - Theme Tools: ensure theme-compat files are still loaded when a compatible theme is used. [#39992] 90 - Update "My Plan" page to only show Google Analytics for WoA sites. [#40044] 91 - Verbum Comments: Update resize logic. [#39791] 92 - VideoPress: Update VideoPress notice URL on Media Library. [#39731] 121 93 - Widget Visibility: Add check to ensure post exists before accesing post_author. [#39746] 122 123 ## 14.0-a.1 - 2024-10-07 124 ### Enhancements 125 - Sitemap: Improve sitemap write efficienty. [#39572] 126 - CSS: Rely esclusively on individual CSS files instead of a combined one for the features used on each page to improve page loading. [#39518] 127 - Social: Add support for Bluesky 🎉. [#39561] 128 - Scan: Update Jetpack Scan link in the WP Admin menu. [#39619] 129 130 ### Bug fixes 131 - Social: Prevent text overflow in the share status tooltip. [#39599] 132 133 ### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. --> 134 - Admin menu: Adding tests to check for 'current' class when menu item selected. [#39374] 135 - Blogging Prompt: Preserve language on answers link. [#36730] 136 - Email preview modal: Improve error state visuals. [#39476] 137 - Unify connection nudge design on Jetpack Settings. [#39591] 138 - Unify connection related CTAs on At A Glance. [#39585] 139 - Updated package dependencies. [#39594] [#39639] 94 - Write Brief: Load unconfident words from backend and update caching. [#39975] 140 95 141 96 ## 13.9.1 - 2024-10-14 -
jetpack/trunk/_inc/build/admin.asset.php
r3181385 r3183048 1 <?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => ' 996e401bba694ce6dc05');1 <?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'a27e38dbdb8edc4213ee'); -
jetpack/trunk/_inc/build/admin.js
r3181385 r3183048 68 68 __("Your paid plan gives you access to prioritized %s support.","jetpack"),this.props.isAtomicSite?"WordPress.com":"Jetpack"):__("Jetpack offers support via community forums for any site without a paid product.","jetpack")),g().createElement("p",{className:"jp-support-card__description"},this.props.isAtomicSite||g().createElement(r.A,{onClick:this.trackGettingStartedClick,href:(0,s.A)("jetpack-support-getting-started")},__("Getting started with Jetpack","jetpack"),g().createElement(c.A,{className:"dops-card__link-indicator",icon:"external"})),g().createElement(r.A,{onClick:this.trackSearchClick,href:this.props.isAtomicSite?(0,s.A)("calypso-help"):(0,s.A)("jetpack-support")},__("Search our support site","jetpack"),g().createElement(c.A,{className:"dops-card__link-indicator",icon:"external"}))))),this.props.siteConnectionStatus&&!e&&this.props.hasConnectedOwner&&g().createElement(l.Ay,{title:__("Get a faster resolution to your support questions.","jetpack"),plan:(0,d.EP8)(d.DmX),callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),onClick:this.trackBannerClick,href:this.props.supportUpgradeUrl}),this.props.siteConnectionStatus&&!e&&!this.props.hasConnectedOwner&&g().createElement(l.Ay,{title:__("Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.","jetpack"),plan:(0,d.EP8)(d.DmX),callToAction:__("Connect","jetpack"),onClick:this.handleConnectClick}))}}_.propTypes={siteConnectionStatus:m().any.isRequired,className:m().string,isCurrentUserLinked:m().bool,isConnectionOwner:m().bool};const b=(0,k.Ng)((e=>({siteConnectionStatus:(0,f.i$)(e),isFetchingSiteData:(0,E.Kb)(e),isAtomicSite:(0,v.d9)(e),isDevVersion:(0,v.gF)(e),supportUpgradeUrl:(0,v.Q4)(e,"support"),isCurrentUserLinked:(0,f._U)(e),isConnectionOwner:(0,f.uQ)(e),hasConnectedOwner:(0,f.BG)(e),hasSupport:(0,E.IT)(e,"support")||(0,E.F1)(e)})),(e=>({connectUser:()=>e((0,f.k0)())})))(_)},9520:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(56427),n=a(27723),i=a(63242),r=a(53835),o=a(28120),c=a.n(o),l=a(51609),p=a.n(l);const __=n.__;class d extends l.Component{static propTypes={module:c().object,text:c().string,link:c().string,privacyLink:c().string};static defaultProps={module:void 0,text:"",link:"",privacyLink:""};constructor(){super(...arguments),this.getModule=this.getModule.bind(this),this.trackInfoClick=this.trackInfoClick.bind(this),this.trackLearnMoreClick=this.trackLearnMoreClick.bind(this),this.trackPrivacyInfoClick=this.trackPrivacyInfoClick.bind(this)}getModule(){return this.props.module||{}}trackInfoClick(){r.A.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){r.A.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){r.A.tracks.recordJetpackClick({target:"privacy-info",feature:this.getModule().module})}render(){const{text:e,link:t}=this.props;let{privacyLink:a}=this.props;return!a&&t&&(a=t+"#privacy"),p().createElement("div",{className:"jp-support-info"},p().createElement(i.A,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack")},e+" ",t&&p().createElement("div",{className:"jp-support-info__learn-more"},p().createElement(s.ExternalLink,{href:t,onClick:this.trackLearnMoreClick,rel:"noopener noreferrer"},__("Learn more","jetpack"))),p().createElement("span",{className:"jp-support-info__privacy"},p().createElement(s.ExternalLink,{href:a,onClick:this.trackPrivacyInfoClick,rel:"noopener noreferrer"},__("Privacy information","jetpack")))))}}},78888:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(96072),n=a.n(s),i=a(13022),r=a(66087),o=a(51609),c=a.n(o);class l extends c().Component{static displayName="TextInput";static defaultProps={isError:!1,isValid:!1,selectOnFocus:!1,type:"text"};textFieldRef=c().createRef();focus=()=>{this.textFieldRef.current.focus()};render(){const{className:e,selectOnFocus:t}=this.props,a=(0,i.A)(e,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),s=(0,r.omit)(this.props,"selectOnFocus","isError","isValid");return c().createElement("input",n()({},s,{ref:this.textFieldRef,className:a,onClick:t?this.selectOnFocus:null}))}selectOnFocus=e=>{e.target.select()}}},26224:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(96072),n=a.n(s),i=a(13022),r=a(66087),o=a(51609),c=a.n(o);class l extends c().Component{static displayName="Textarea";render(){return c().createElement("textarea",n()({},(0,r.omit)(this.props,"className"),{className:(0,i.A)(this.props.className,"dops-textarea")}),this.props.children)}}},32507:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(40180),n=a(13022),i=a(61933),r=a(28120),o=a.n(r),c=a(51609),l=a.n(c);const p=()=>{};class d extends c.Component{static propTypes={autoPosition:o().bool,className:o().string,id:o().string,isVisible:o().bool,position:o().string,rootClassName:o().string,status:o().string,showDelay:o().number,showOnMobile:o().bool};static defaultProps={showDelay:100,position:"top",showOnMobile:!1};render(){if(!this.props.showOnMobile&&(0,s.Fr)())return null;const e=(0,n.A)("dops-popover","dops-tooltip",`is-${this.props.position}`,this.props.className);return l().createElement(i.A,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:p,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}const u=d},63922:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(28120),n=a.n(s),i=a(51609),r=a(84952),o=a(12623);class c extends i.Component{UNSAFE_componentWillReceiveProps(e){const t=this.props.analytics.tracks.recordEvent;e.searchTerm!==this.props.searchTerm&&e.searchTerm.length>=3&&t("jetpack_wpa_search_term",{term:e.searchTerm})}render(){return null}}c.propTypes={analytics:n().object,searchTerm:n().string};const l=(0,r.Ng)((e=>({searchTerm:(0,o.nh)(e)})))(c)},67204:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(51113),n=a(58535),i=a(31249),r=a(13022),o=a(51609),c=a(26760);const l=e=>{const{items:t,onChange:a,selectedItems:l,disabled:p}=e,[d,u]=(0,o.useState)(""),[m,h]=(0,o.useState)(!1),g=(0,o.useRef)(null),k=(0,o.useRef)(null),f=(0,r.A)("tree-dropdown__input-container",m&&"active",p&&"disabled"),v=(0,o.useMemo)((()=>l?.map((e=>t.find((t=>t.id===e)))).filter(Boolean)||[]),[l,t]),E=(0,o.useCallback)((()=>h(!0)),[]),_=(0,o.useCallback)((e=>{u(e.target.value)}),[]),b=(0,o.useCallback)((e=>a(e.id,!1)),[a]),y=(0,o.useCallback)((e=>t=>{t.stopPropagation(),b(e)}),[b]),w=(0,o.useCallback)((e=>{"Backspace"!==e.key||d?"Escape"===e.key&&(h(!1),u(""),k.current.blur()):b(v[v.length-1])}),[d,b,v]),C=(0,o.useCallback)((e=>{g.current&&!g.current.contains(e.target)&&h(!1)}),[]);(0,o.useEffect)((()=>(document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)})),[C]);const A=(0,o.useCallback)((()=>{E(),k.current.focus()}),[E,k]);return React.createElement("div",{className:"tree-dropdown",ref:g},React.createElement("div",{className:f,onClick:A},React.createElement(s.A,{icon:n.A}),v.map(((e,t)=>React.createElement("span",{key:t,className:"tree-dropdown__tag"},e.name,React.createElement("button",{onClick:y(e),className:"tree-dropdown__tag-remove-button",disabled:p,type:"button"},React.createElement(s.A,{icon:i.A}))))),React.createElement("input",{className:"tree-dropdown__input",ref:k,type:"text",value:d,onFocus:E,onChange:_,onKeyDown:w,disabled:p})),React.createElement("div",{className:"tree-dropdown__dropdown-container"},React.createElement("div",{className:(0,r.A)("tree-dropdown__dropdown",{visible:m})},React.createElement("div",{className:(0,r.A)("tree-dropdown-colapsable",{hide:!m})},React.createElement(c.A,{items:t,selectedItems:l,disabled:p,onChange:a,keyword:d})))))}},26760:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(56427),n=a(27723),i=a(51609),r=a(163);const __=n.__,o=e=>{const{items:t,onChange:a,selectedItems:n,disabled:o,keyword:c=""}=e,l=(0,r.E)(t),p=""!==c?.trim(),d=p?l.filter((e=>e.name.toLowerCase().includes(c?.toLowerCase()))):l,u=(0,i.useCallback)((e=>()=>a(e,!n.includes(e))),[a,n]),m=d.map((e=>React.createElement("li",{key:e.id,className:"jp-tree-item",style:{marginLeft:p?0:25*e.depth}},React.createElement(s.CheckboxControl,{id:`jp-tree-item-${e.id}`,name:"jp-tree-item",checked:n.includes(e.id),onChange:u(e.id),disabled:o,__nextHasNoMarginBottom:!0}),React.createElement("label",{htmlFor:`jp-tree-item-${e.id}`},e.name,p&&e.parentNames.length>0?React.createElement(React.Fragment,null," ",React.createElement("small",null,"(",[...e.parentNames,e.name].join(" > "),")")):React.createElement(React.Fragment,null)))));return React.createElement("ul",{className:"jp-tree-items"},p&&0===d.length?React.createElement("li",{className:"jp-tree-item jp-tree-item__no-results"},React.createElement("span",null,__("Nothing found","jetpack"))):m)}},163:(e,t,a)=>{"use strict";function s(e){const t={},a=[];e.forEach((e=>{t[e.id]={...e,children:[]}})),e.forEach((e=>{0!==e.parent&&t[e.parent]&&t[e.parent].children.push(e.id)}));const s=(e,n,i)=>{const r=t[e],o={...r,depth:n,parentNames:[...i]};a.push(o),r.children.forEach((e=>s(e,n+1,[...i,r.name])))};return e.filter((e=>0===e.parent)).forEach((e=>s(e.id,0,[]))),a.map((({children:e,...t})=>t))}a.d(t,{E:()=>s})},211:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(53835),n=a(28120),i=a.n(n),r=a(51609),o=a.n(r),c=a(84952),l=a(2065);class p extends r.PureComponent{static propTypes={source:i().string.isRequired,target:i().string.isRequired,feature:i().string,upgradeUrl:i().string.isRequired};trackClick=()=>{const{target:e,feature:t}=this.props;if(e){const a=t?{feature:t}:{};s.A.tracks.recordJetpackClick({type:"upgrade-link",target:e,...a})}};render(){return o().createElement("a",{href:this.props.upgradeUrl,target:"_blank",rel:"noopener noreferrer",onClick:this.trackClick},this.props.children)}}const d=(0,c.Ng)(((e,{source:t})=>({upgradeUrl:(0,l.Q4)(e,t)})))(p)},3027:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(27723),n=a(42685),i=a(63344),r=a(20428),o=a.n(r),c=a(53835),l=a(51609),p=a.n(l);const __=s.__,d=(0,i.t)(class extends l.Component{componentDidMount(){o()("body").addClass("jp-dialogue-modern-showing"),c.A.tracks.recordEvent("jetpack_warm_welcome_view",{version:this.props.version})}componentWillUnmount(){o()("body").removeClass("jp-dialogue-modern-showing")}trackLearnMoreClick=()=>{c.A.tracks.recordJetpackClick({target:"warm_welcome_view_editor",version:this.props.version})};dismissNotice=()=>{c.A.tracks.recordJetpackClick({target:"warm_welcome_dismiss",version:this.props.version}),this.props.dismiss()};renderInnerContent(){const e=(new DOMParser).parseFromString(this.props.releasePostContent,"text/html"),t=e.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].setAttribute("target","_blank"),t[e].setAttribute("rel","noopener noreferrer");const a=e.body.innerHTML;return p().createElement("div",{className:"jp-upgrade-notice__content"},p().createElement("div",{dangerouslySetInnerHTML:{__html:a}}))}render(){const{featuredImage:e}=this.props;let t=null,{title:a}=this.props;return e&&e.length>0&&(t=p().createElement("img",{src:e,alt:""})),a&&0!==a.length||(a=(0,s.sprintf)(/* translators: Placeholder is a version number. */ 69 69 __("New in Jetpack %s","jetpack"),this.props.version)),p().createElement(n.A,{svg:t,title:a,content:this.renderInnerContent(),dismiss:this.dismissNotice})}})},4924:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const s={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};const n=function(e){if(e in s)return s[e];throw new Error("config key `"+e+"` does not exist")}},69546:(e,t,a)=>{"use strict";a.d(t,{Iu:()=>i,Ns:()=>r,W_:()=>c,d0:()=>n,ru:()=>o});var s=a(3924);const n=window.Initial_State.pluginBaseUrl+"/images/",i=(0,s.A)("jetpack-contact-support"),r=(0,s.A)("jetpack-contact-support-beta-group"),o=(0,s.A)("jetpack-stats-2023-opt-out-survey"),c="https://jetpack.com/support/backup/the-jetpack-backup-plugin/getting-started-with-the-jetpack-backup-plugin/#starting-your-first-backup"},71801:(e,t,a)=>{"use strict";a.d(t,{H:()=>v});var s=a(96072),n=a.n(s),i=a(3924),r=a(68316),o=a(27723),c=a(11895),l=a(63344),p=a(60619),d=a(8332),u=a(19579),m=a(9520),h=a(78888),g=a(51609),k=a.n(g);const __=o.__;class f extends k().Component{updateFormStateByMarkdown=e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0);handleMarkdownCommentsToggle=()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")};render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),a=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("comment-likes");if(!(e||t||a||s))return null;const{isUnavailableInOfflineMode:o,getOptionValue:l}=this.props,g=this.props.getModule("comments"),f=this.props.getOptionValue("comments"),v=this.props.isUnavailableInOfflineMode("comments"),E=this.props.getModule("gravatar-hovercards"),_=this.props.getModule("markdown"),b=o("comment-likes"),y=l("comment-likes");return k().createElement(d.A,n()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&k().createElement(u.A,{hasChild:!0,disableInOfflineMode:!0,module:g,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,i.A)("jetpack-support-comments")}},k().createElement(p.j,{slug:"comments",compact:!0,disabled:v,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},g.description)),k().createElement(c.dV,null,k().createElement(c.lR,null,k().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),k().createElement(h.A,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!f||v||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),k().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),k().createElement(c.lR,null,k().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),k().createElement(c.FX,n()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!f||v||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments"),rna:!0}))))),(t||a||s)&&k().createElement(u.A,null,t&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.dV,null,k().createElement(p.j,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},E.description))),k().createElement(m.A,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:E.learn_more_button,privacyLink:E.learn_more_button+"#privacy"})),a&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.dV,null,k().createElement(r.A,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle,label:k().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack"))})),k().createElement(m.A,{text:__("Allow readers to use markdown in comments.","jetpack"),link:_.learn_more_button,privacyLink:_.learn_more_button+"#privacy"})),s&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.dV,null,k().createElement(p.j,{slug:"comment-likes",compact:!0,disabled:b,activated:y,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment Likes.","jetpack")))),k().createElement(m.A,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,i.A)("jetpack-support-comment-likes"),privacyLink:(0,i.A)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const v=(0,l.t)(f)},58011:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var s=a(96072),n=a.n(s),i=a(27723),r=a(63109),o=a(51609),c=a.n(o),l=a(84952),p=a(34679),d=a(2065),u=a(26508),m=a(12623),h=a(30138),g=a(71801);const __=i.__;class k extends c().Component{static displayName="DiscussionSettings";render(){const e={settings:this.props.settings,getModule:this.props.module,isOdysseyStatsEnabled:this.props.isOdysseyStatsEnabled,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isWoASite:this.props.isWoASite,siteAdminUrl:this.props.siteAdminUrl};if(!this.props.searchTerm&&!this.props.active)return null;const t=this.props.isModuleFound("comments"),a=this.props.isModuleFound("markdown"),s=this.props.isModuleFound("gravatar-hovercards"),i=this.props.isModuleFound("comment-likes");return t||a||s||i?c().createElement("div",null,c().createElement(r.A,null),c().createElement("h1",{className:"screen-reader-text"},__("Jetpack Discussion Settings","jetpack")),c().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings.","jetpack")),c().createElement(g.H,n()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride}))):null}}const f=(0,l.Ng)((e=>({module:t=>(0,u.f_)(e,t),settings:(0,h.mt)(e),isOfflineMode:(0,p.hN)(e),isUnavailableInOfflineMode:t=>(0,p.Em)(e,t),isModuleFound:t=>(0,m.jQ)(e,t),connectUrl:(0,p.Qp)(e),isLinked:(0,p._U)(e),getModuleOverride:t=>(0,u.d1)(e,t),isOdysseyStatsEnabled:(0,d.jh)(e),isWoASite:(0,d.lI)(e),siteAdminUrl:(0,d.eu)(e)})))(k)},70695:(e,t,a)=>{"use strict";a.d(t,{V:()=>y});var s=a(96072),n=a.n(s),i=a(68316),r=a(3924),o=a(56427),c=a(86087),l=a(27723),p=a(26592),d=a(11895),u=a(63344),m=a(60619),h=a(8332),g=a(19579),k=a(78888),f=a(26224),v=a(53835),E=a(6838),_=a(51609),b=a.n(_);const __=l.__,_x=l._x,y=(0,u.t)(class extends b().Component{updateOptions=e=>{this.props.updateFormStateModuleOption("wordads",e)};trackConfigureClick=()=>{v.A.tracks.recordJetpackClick("view-earnings")};trackConfigureWidgetClick=()=>{v.A.tracks.recordJetpackClick("place_ad_widget")};handleChange=e=>()=>this.updateOptions(e);renderAdsTxtSection(){const{getOptionValue:e,isUnavailableInOfflineMode:t}=this.props,a=e("wordads_custom_adstxt_enabled","wordads"),s=e("wordads_custom_adstxt","wordads"),n=e("wordads"),o=t("wordads");return b().createElement(g.A,{hasChild:!0,support:{text:__("Ads.txt (Authorized Digital Sellers) is a mechanism that enables content owners to declare who is authorized to sell their ad inventory. It’s the formal list of advertising partners you support as a publisher.","jetpack"),link:"https://jetpack.com/support/ads/"}},b().createElement(i.A,{checked:a,disabled:!n||o||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_custom_adstxt_enabled"]),onChange:this.handleChange("wordads_custom_adstxt_enabled"),label:__("Customize your ads.txt file","jetpack")}),a&&b().createElement(d.dV,null,b().createElement("br",null),b().createElement("p",null,n&&(0,c.createInterpolateElement)(__("WordAds automatically generates a custom <link1>ads.txt</link1> tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. <link2>Check here for more details</link2>.","jetpack"),{link1:b().createElement("a",{href:"/ads.txt",target:"_blank",rel:"noopener noreferrer"}),link2:b().createElement("a",{href:(0,r.A)("jetpack-how-jetpack-ads-members-can-increase-their-earnings-with-ads-txt"),target:"_blank",rel:"noopener noreferrer"})}),!n&&__("When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.","jetpack")),b().createElement(f.A,{name:"wordads_custom_adstxt",value:s,disabled:!n||o||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt"]),onChange:this.props.onOptionChange})))}render(){const e=this.props.getOptionValue("wordads"),t=this.props.isUnavailableInOfflineMode("wordads"),a=this.props.getOptionValue("enable_header_ad","wordads"),s=this.props.getOptionValue("wordads_second_belowpost","wordads"),l=this.props.getOptionValue("wordads_inline_enabled","wordads"),u=this.props.getOptionValue("wordads_display_front_page","wordads"),f=this.props.getOptionValue("wordads_display_post","wordads"),v=this.props.getOptionValue("wordads_display_page","wordads"),_=this.props.getOptionValue("wordads_display_archive","wordads"),y=this.props.getOptionValue("wordads_ccpa_enabled","wordads"),w=this.props.getOptionValue("wordads_ccpa_privacy_policy_url","wordads"),C=this.props.getOptionValue("wordads_cmp_enabled","wordads"),A=-1!==this.props.siteRawUrl.indexOf("::");return b().createElement(h.A,n()({},this.props,{header:_x("Ads","Ads header","jetpack"),feature:E.Xd8,saveDisabled:this.props.isSavingAnyOption(["wordads_custom_adstxt"])}),b().createElement(g.A,{disableInOfflineMode:!0,hasChild:!0,module:{module:"wordads"},support:{text:__("Displays high-quality ads on your site that allow you to earn income.","jetpack"),link:(0,r.A)("jetpack-support-ads")}},b().createElement("p",null,__("Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.","jetpack"),b().createElement("br",null),b().createElement("small",{className:"jp-form-setting-explanation"},(0,c.createInterpolateElement)(__("By activating ads, you agree to the Automattic Ads <link>Terms of Service</link>.","jetpack"),{link:b().createElement(o.ExternalLink,{href:(0,r.A)("wpcom-automattic-ads-tos"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackConfigureWidgetClick})}))),b().createElement(m.j,{slug:"wordads",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("wordads"),toggleModule:this.props.toggleModuleNow},b().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable ads and display an ad below each post","jetpack"))),b().createElement(d.dV,null,b().createElement(d.kK,null,__("Display ads below posts on","jetpack")),b().createElement(i.A,{checked:u,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_front_page"]),onChange:this.handleChange("wordads_display_front_page"),label:__("Front page","jetpack")}),b().createElement(i.A,{checked:f,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_post"]),onChange:this.handleChange("wordads_display_post"),label:__("Posts","jetpack")}),b().createElement(i.A,{checked:v,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_page"]),onChange:this.handleChange("wordads_display_page"),label:__("Pages","jetpack")}),b().createElement(i.A,{checked:_,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_archive"]),onChange:this.handleChange("wordads_display_archive"),label:__("Archives","jetpack")})),b().createElement(d.dV,null,b().createElement(d.kK,null,__("Additional ad placements","jetpack")),b().createElement(i.A,{checked:a,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["enable_header_ad"]),onChange:this.handleChange("enable_header_ad"),label:__("Top of each page","jetpack")}),b().createElement(i.A,{checked:s,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_second_belowpost"]),onChange:this.handleChange("wordads_second_belowpost"),label:__("Second ad below post","jetpack")}),b().createElement(i.A,{checked:l,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_inline_enabled"]),onChange:this.handleChange("wordads_inline_enabled"),label:__("Inline within post content","jetpack")}))),b().createElement(g.A,{hasChild:!0,support:{text:__("Enables a targeted advertising opt-out link in US states where this is legally required.","jetpack"),link:this.props.isAtomicSite?(0,r.A)("wpcom-support-us-privacy"):(0,r.A)("jetpack-support-ads")}},b().createElement(i.A,{checked:y,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_ccpa_enabled"]),onChange:this.handleChange("wordads_ccpa_enabled"),label:__("Enable targeted advertising to site visitors in all US states.","jetpack")}),y&&b().createElement(d.dV,null,b().createElement("p",null,b().createElement("small",{className:"jp-form-setting-explanation"},__("Some US states have laws that require offering site visitors an opt-out from having their data used to personalize ads. Targeted advertising is off in certain states unless you enable it.","jetpack"))),b().createElement("p",null,b().createElement(d.kK,null,__("Do Not Sell Link","jetpack")),(0,c.createInterpolateElement)(__('If you enable targeted advertising in all US states, you are required to place a "Do Not Sell or Share My Personal Information" link on every page of your site where targeted advertising will appear. You can use the <widgetLink>Do Not Sell Link Widget</widgetLink>, or the <code>[privacy-do-not-sell-link]</code> shortcode to automatically place this link on your site. Note: the link will always display to logged in administrators regardless of geolocation.',"jetpack"),{code:b().createElement("code",null),widgetLink:b().createElement("a",{className:"jp-module-settings__external-link",href:"customize.php?autofocus[panel]=widgets"})}),b().createElement("span",{className:"jp-form-setting-explanation"},__("Failure to add this link will result in non-compliance with privacy laws in some US states.","jetpack")))),y&&b().createElement(d.dV,null,b().createElement(d.kK,null,__("Privacy Policy URL","jetpack")),b().createElement(k.A,{name:"wordads_ccpa_privacy_policy_url",placeholder:"https://",value:w,disabled:!e||t||!y||this.props.isSavingAnyOption(["wordads","wordads_ccpa_privacy_policy_url"]),onChange:this.props.onOptionChange}),b().createElement("span",{className:"jp-form-setting-explanation"},__("Adds a link to your privacy policy to the notice popup triggered by the do not sell link (optional).","jetpack")))),b().createElement(g.A,{support:{text:__("Show a cookie banner to all EU and UK site visitors prompting them to consent to their personal data being used to personalize the ads they see. Without proper consents EU/UK visitors will only see lower paying non-personalized ads.","jetpack"),link:(0,r.A)("jetpack-support-ads")}},b().createElement(i.A,{checked:C,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_cmp_enabled"]),onChange:this.handleChange("wordads_cmp_enabled"),label:__("Enable GDPR Consent Banner","jetpack")})),!A&&this.renderAdsTxtSection(),!t&&e&&b().createElement(p.A,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("View your earnings","jetpack")))}})},89537:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var s=a(96072),n=a.n(s),i=a(3924),r=a(86087),o=a(27723),c=a(26592),l=a(63109),p=a(8332),d=a(19579),u=a(53835),m=a(6838),h=a(51609),g=a.n(h),k=a(84952),f=a(34679),v=a(2065),E=a(26508),_=a(12623),b=a(70695);const __=o.__;function y(e){const{buttonText:t,featureConstant:a="",featureName:s,infoLink:i,infoDescription:o,supportLink:l,title:m}=e,h=(0,r.useCallback)((()=>{u.A.tracks.recordJetpackClick({target:`visit-${s}`,feature:"earn"})}),[s]);return g().createElement(p.A,n()({},e,{header:m,hideButton:!0,module:"earn",feature:a||void 0}),g().createElement(d.A,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,support:{link:l}},o),g().createElement(c.A,{compact:!0,className:"jp-settings-card__configure-link",onClick:h,href:i,target:"_blank"},t))}const w=(0,k.Ng)((e=>({hasConnectedOwner:(0,f.BG)(e),module:t=>(0,E.f_)(e,t),isOffline:(0,f.hN)(e),isModuleFound:t=>(0,_.jQ)(e,t),isUnavailableInOfflineMode:t=>(0,f.Em)(e,t),isAtomicSite:(0,v.d9)(e),blogID:(0,v.V2)(e)})))((function(e){const{active:t,hasConnectedOwner:a,isModuleFound:s,isOffline:r,searchTerm:o,siteRawUrl:c,blogID:u,feature:h}=e;if(!o&&!t)return null;const k=s("wordads"),f=s("earn");return k||f?g().createElement("div",null,g().createElement(l.A,null),g().createElement("h1",{className:"screen-reader-text"},__("Jetpack Earn Settings","jetpack")),g().createElement("h2",{className:"jp-settings__section-title"},o?__("Earn","jetpack"):__("Explore tools to earn money with your site.","jetpack",0)),k&&g().createElement(b.V,n()({},e,{configureUrl:(0,i.A)("calypso-stats-ads-day",{site:u??c})})),f&&(r?g().createElement(d.A,null,g().createElement("div",{className:"jp-form-block-fade"}),__("Unavailable in Offline Mode.","jetpack")):a?g().createElement(g().Fragment,null,g().createElement(y,n()({},e,{featureName:"payments",title:__("Collect payments","jetpack"),supportLink:(0,i.A)("jetpack-support-jetpack-blocks-payments-block"),infoLink:(0,i.A)("wpcom-earn-payments",{site:u??c}),infoDescription:__("Let visitors pay for digital goods and services or make quick, pre-set donations by enabling the Payment Button block.","jetpack"),buttonText:__("Enable payment button","jetpack")})),g().createElement(y,n()({},e,{featureName:"donations",title:__("Accept donations and tips","jetpack"),supportLink:(0,i.A)("jetpack-support-jetpack-blocks-donations-block"),infoLink:(0,i.A)("wpcom-earn-payments",{site:u??c}),infoDescription:__("Accept one-time and recurring donations by enabling the Donations Form block.","jetpack"),buttonText:__("Enable donations form","jetpack")})),g().createElement(y,n()({},e,{featureName:"paypal",title:__("Collect PayPal payments","jetpack"),supportLink:(0,i.A)("jetpack-support-pay-with-paypal"),infoLink:(0,i.A)("jetpack-support-pay-with-paypal"),infoDescription:__("Accept credit card payments via PayPal for physical products, services, donations, or support of your creative work.","jetpack"),buttonText:__("Learn how to get started","jetpack"),featureConstant:m.jc4}))):g().createElement(p.A,n()({},e,{hideButton:!0,module:"earn",header:__("Collect payments","jetpack"),feature:h})))):null}))},31994:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});const s=[9,32,37,38,39,40];let n=!1;const i=function(){document.addEventListener("keydown",(function(e){n||-1!==s.indexOf(e.keyCode)&&(n=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){n&&(n=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},53835:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(90372),n=a(4924);s.A.setMcAnalyticsEnabled((0,n.A)("mc_analytics_enabled")),s.A.setGoogleAnalyticsEnabled((0,n.A)("google_analytics_enabled"),(0,n.A)("google_analytics_key"));const i=s.A},26704:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});const s=function(){const e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"windows":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":"unknown"}},6838:(e,t,a)=>{"use strict";a.d(t,{$bO:()=>Y,ADq:()=>b,AhN:()=>Jt,BfZ:()=>L,CJy:()=>ye,CRr:()=>r,DCG:()=>G,DGp:()=>Nt,DHZ:()=>d,DmX:()=>yt,E$T:()=>ce,EP8:()=>Xt,EX:()=>j,EiB:()=>$e,Ek$:()=>N,EsA:()=>D,FQO:()=>he,FaP:()=>je,FpR:()=>It,FxV:()=>_t,GGh:()=>fe,GiA:()=>_,Gyc:()=>Ie,HA9:()=>Te,HWr:()=>rt,HdP:()=>pt,Hsn:()=>Le,I5k:()=>Fe,IPX:()=>Zt,IiY:()=>Ge,Is_:()=>K,JGt:()=>v,JM0:()=>it,JZ7:()=>C,Jd5:()=>Ut,Jht:()=>V,JuJ:()=>oe,JvE:()=>At,KCE:()=>Tt,KOn:()=>W,L$c:()=>Gt,LQP:()=>re,MMo:()=>T,Mk2:()=>l,O4w:()=>Ft,Olc:()=>w,Pp2:()=>Ee,Qbh:()=>ue,Qpw:()=>Ae,R3X:()=>St,Ryn:()=>M,SDZ:()=>ze,SyV:()=>jt,T7f:()=>R,TwY:()=>ct,UBB:()=>He,UIR:()=>De,V$p:()=>Pe,VZ5:()=>q,Vno:()=>ke,W$W:()=>x,WcS:()=>xt,Wn7:()=>_e,WpT:()=>c,X4A:()=>F,X8r:()=>Pt,Xd8:()=>wt,XkN:()=>Mt,Xoz:()=>te,Y1M:()=>ie,Y1g:()=>P,Y6$:()=>Lt,YQy:()=>xe,YRH:()=>H,YhD:()=>I,Z4D:()=>Ot,ZFV:()=>J,ZLW:()=>o,ZOP:()=>lt,Zcg:()=>S,ZfG:()=>Yt,ZrU:()=>Ct,_4K:()=>ae,_qL:()=>Wt,aG$:()=>ut,asM:()=>ee,b2e:()=>Z,bDd:()=>Re,bQ:()=>A,c3q:()=>Ke,cwL:()=>g,d2k:()=>bt,d6V:()=>pe,dHS:()=>f,dfd:()=>Kt,djT:()=>qe,dji:()=>p,eJ8:()=>Q,eMf:()=>Je,ebL:()=>me,gF_:()=>Bt,gvR:()=>Et,jc4:()=>Rt,kU:()=>O,kUc:()=>B,lFm:()=>at,m6F:()=>Ne,mFu:()=>z,mNr:()=>Ht,mRQ:()=>m,nFH:()=>U,nMg:()=>y,ncG:()=>X,nt$:()=>$t,oQp:()=>Oe,om_:()=>Ce,ovn:()=>be,p1k:()=>Vt,pcB:()=>we,pmS:()=>E,pt9:()=>vt,pz9:()=>se,qZE:()=>de,rD9:()=>ne,raG:()=>h,sBM:()=>k,sG7:()=>Be,suP:()=>Se,t9C:()=>$,tDL:()=>nt,tX$:()=>ge,tdG:()=>tt,uX5:()=>ve,ufm:()=>Ve,v4P:()=>qt,vS9:()=>Me,vt4:()=>i,wBS:()=>Ue,wD5:()=>Qt,xSu:()=>le,xYC:()=>n,xie:()=>u,yXc:()=>st,yuZ:()=>ot,zwM:()=>Dt,zx5:()=>We});var s=a(66087);const n="business-bundle",i="business-bundle-2y",r="business-bundle-3y",o="business-bundle-monthly",c="wp_bundle_hosting_trial_monthly",l="wp_bundle_migration_trial_monthly",p="wp_com_hundred_year_bundle_centennially",d="ecommerce-bundle",u="ecommerce-bundle-2y",m="ecommerce-bundle-3y",h="ecommerce-bundle-monthly",g="wooexpress-small-bundle-yearly",k="wooexpress-small-bundle-monthly",f="wooexpress-medium-bundle-yearly",v="wooexpress-medium-bundle-monthly",E="ecommerce-trial-bundle-monthly",_="value_bundle",b="value_bundle-2y",y="value_bundle-3y",w="value_bundle-monthly",C="personal-bundle",A="personal-bundle-2y",j="personal-bundle-3y",S="personal-bundle-monthly",N="starter-plan",x="pro-plan",R="free_plan",T="jetpack_free",M="jetpack_premium",O="jetpack_business",P="jetpack_personal",L="jetpack_premium_monthly",I="jetpack_business_monthly",D="jetpack_personal_monthly",z="jetpack_backup_t0_yearly",U="jetpack_backup_t0_monthly",F="jetpack_backup_t1_bi_yearly",V="jetpack_backup_t1_yearly",B="jetpack_backup_t1_monthly",H="jetpack_backup_t2_yearly",J="jetpack_backup_t2_monthly",q="jetpack_search_bi_yearly",W="jetpack_search",G="jetpack_search_free",K="jetpack_search_monthly",$="jetpack_starter_yearly",Y="jetpack_starter_monthly",X="jetpack_security_t1_bi_yearly",Z="jetpack_security_t1_yearly",Q="jetpack_security_t1_monthly",ee="jetpack_security_t2_yearly",te="jetpack_security_t2_monthly",ae="jetpack_complete_bi_yearly",se="jetpack_complete",ne="jetpack_complete_monthly",ie="jetpack_boost_bi_yearly",re="jetpack_boost_yearly",oe="jetpack_boost_monthly",ce="jetpack_ai_monthly",le="jetpack_ai_yearly",pe="jetpack_ai_bi_yearly",de="wpcom_search",ue="wpcom_search_monthly",me="jetpack_scan_bi_yearly",he="jetpack_scan",ge="jetpack_scan_monthly",ke="jetpack_anti_spam_bi_yearly",fe="jetpack_anti_spam",ve="jetpack_anti_spam_monthly",Ee="jetpack_videopress_bi_yearly",_e="jetpack_videopress",be="jetpack_videopress_monthly",ye="vip",we="jetpack_social_basic_bi_yearly",Ce="jetpack_social_basic_yearly",Ae="jetpack_social_basic_monthly",je="jetpack_social_advanced_bi_yearly",Se="jetpack_social_advanced_yearly",Ne="jetpack_social_advanced_monthly",xe="jetpack_social_v1_bi_yearly",Re="jetpack_social_v1_yearly",Te="jetpack_social_v1_monthly",Me="jetpack_golden_token_lifetime",Oe="jetpack_creator_monthly",Pe="jetpack_creator_yearly",Le="jetpack_creator_bi_yearly",Ie="jetpack_backup_daily",De="jetpack_backup_daily_monthly",ze="jetpack_backup_realtime",Ue="jetpack_backup_realtime_monthly",Fe="jetpack_security_daily",Ve="jetpack_security_daily_monthly",Be="jetpack_security_realtime",He="jetpack_security_realtime_monthly",Je="jetpack_stats_bi_yearly",qe="jetpack_stats",We="jetpack_stats_monthly",Ge="jetpack_stats_yearly",Ke="jetpack_stats_pwyw_yearly",$e="jetpack_stats_free_yearly",Ye=[M,O,P,L,I,D],Xe=[M,O,L,I],Ze=[$,Y,X,Z,Q,ee,te,Me,Fe,Ve,Be,He],Qe=[M,O,P,L,I,D,$,Y,X,Z,Q,ee,te,ae,se,ne,Me],et=[M,O,P,L,I,D,$,Y,X,Z,Q,ee,te,ae,se,ne,Fe,Ve,Be,He],tt=[ae,se,ne],at=[Me],st=[X,Z,Q,ee,te,n,i,r,o,d,u,m,h,x,ye,"wpcom-enterprise",Fe,Ve,Be,He],nt=[$,Y],it=[z,U,F,V,B,H,J,Ie,De,ze,Ue],rt=[q,W,K,G,de,ue],ot=[me,he,ge],ct=[ke,fe,ve],lt=[Ee,_e,be],pt=[we,Ce,Ae],dt=[je,Se,Ne],ut=[xe,Re,Te],mt=[...pt,...dt,...ut],ht=[ie,re,oe],gt=[pe,le,ce],kt=[Je,qe,We,Ge,Ke,$e],ft=[Oe,Pe,Le],vt="spam-akismet-plus",Et="site-backups-jetpack",_t="security-scanning-jetpack",bt="video-hosting-jetpack",yt="priority-support-jetpack",wt="wordads-jetpack",Ct="google-analytics-jetpack",At="search-jetpack",jt="videopress-jetpack",St="ai-jetpack",Nt="crm-jetpack",xt="boost-jetpack",Rt="simple-payments-jetpack",Tt="newsletter-jetpack",Mt="downtime-monitoring-jetpack",Ot="sso-jetpack",Pt="post-by-email-jetpack",Lt="social-jetpack",It="blaze-jetpack",Dt="earn-jetpack",zt={[Mt]:Z,[Ct]:Z,[St]:le,[xt]:re,[It]:T,[Dt]:T,[Lt]:Re,[Pt]:T,[yt]:Z,[At]:W,[_t]:he,[Rt]:Z,[Et]:V,[vt]:fe,[Ot]:Z,[bt]:Z,[jt]:_e,[Tt]:Pe,[wt]:Z};function Ut(e){return(0,s.includes)(et,e)}function Ft(e){return(0,s.includes)(Qe,e)}function Vt(e){return(0,s.includes)(it,e)}function Bt(e){return ct.includes(e)}function Ht(e){return mt.includes(e)}function Jt(e){return ht.includes(e)}function qt(e){return ft.includes(e)}function Wt(e){return Vt(e)||function(e){return(0,s.includes)(rt,e)}(e)||function(e){return ot.includes(e)}(e)||Bt(e)||function(e){return lt.includes(e)}(e)||Ht(e)||Jt(e)||function(e){return gt.includes(e)}(e)||function(e){return kt.includes(e)}(e)||qt(e)}function Gt(e){return Ze.includes(e)}function Kt(e){return st.includes(e)}function $t(e){return Ye.includes(e)}function Yt(e){return Xe.includes(e)}function Xt(e){return zt[e]}function Zt(e){switch(e){case T:case R:return"is-free-plan";case C:case A:case j:case S:case N:case P:case D:return"is-personal-plan";case _:case b:case y:case w:case M:case L:return"is-premium-plan";case n:case i:case r:case o:case O:case I:case d:case u:case m:case h:case x:case c:case l:case p:case g:case k:case f:case v:case E:return"is-business-plan";case $:case Y:return"is-jetpack-starter-plan";case X:case Z:case Q:return"is-security-t1-plan";case ee:case te:return"is-security-t2-plan";case ae:case se:case ne:case ye:return"is-complete-plan";case z:case U:return"is-backup-t0-plan";case F:case V:case B:return"is-backup-t1-plan";case H:case J:return"is-backup-t2-plan";case q:case W:case K:case de:case ue:return"is-search-plan";case G:return"is-free-search-plan";case me:case he:case ge:return"is-scan-plan";case ke:case fe:case ve:return"is-anti-spam-plan";case Ee:case _e:case be:return"is-videopress-plan";case Me:return"is-jetpack-golden-token-plan";case Le:case Pe:case Oe:return"is-jetpack-creator-plan";case Fe:case Ve:return"is-daily-security-plan";case Be:case He:return"is-realtime-security-plan";case Ie:case De:return"is-daily-backup-plan";case ze:case Ue:return"is-realtime-backup-plan";case we:case Ce:case Ae:return"is-jetpack-social-basic-plan";case je:case Se:case Ne:return"is-jetpack-social-advanced-plan";case xe:case Re:case Te:return"is-jetpack-social-v1-plan";case ie:case re:case oe:return"is-jetpack-boost-plan";case pe:case ce:case le:return"is-jetpack-ai-plan";case Je:case qe:case We:case Ge:case Ke:return"is-jetpack-stats-plan";case $e:return"is-free-jetpack-stats-plan";default:return""}}function Qt(e){return[Me].includes(e)}},70531:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(51119);const n=(e,t)=>{const a=new s.A;let n;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(()=>{let e=null;n&&n.keyring_id&&(e=Number(n.keyring_id)),t(e)})),a.on("message",(e=>n=e))}},34388:(e,t,a)=>{"use strict";function s(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}a.d(t,{G:()=>s})},17973:(e,t,a)=>{"use strict";a.d(t,{A:()=>Z});var s=a(69546),n=a(5932),i=a(3924),r=a(39384),o=a(41040),c=a(94900),l=a(38745),p=a(47143),d=a(27723),u=a(71803),m=a(77699),h=a(18589),g=a(49990),k=a(26468),f=a(77279),v=a(91808),E=a(4443),_=a(2152),b=a(58330),y=a(38473),w=a(61989),C=a(6034),A=a(63922),j=a(20428),S=a.n(j),N=a(53835),x=a(14643),R=a(56292),T=a(64793),M=a(51609),O=a.n(M),P=a(84952),L=a(60247),I=a(87593),D=a(77496),z=a(34679),U=a(2065),F=a(7237),V=a(26508),B=a(89336),H=a(12623),J=a(30138),q=a(82656),W=a(93287);const __=d.__,G=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/agency","/recommendations/woocommerce","/recommendations/monitor","/recommendations/newsletter","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/publicize","/recommendations/protect","/recommendations/anti-spam","/recommendations/videopress","/recommendations/backup-plan","/recommendations/boost","/recommendations/summary","/recommendations/vaultpress-backup","/recommendations/vaultpress-for-woocommerce","/recommendations/welcome-backup","/recommendations/welcome-complete","/recommendations/welcome-security","/recommendations/welcome-starter","/recommendations/welcome-antispam","/recommendations/welcome-videopress","/recommendations/welcome-search","/recommendations/welcome-scan","/recommendations/welcome-social-basic","/recommendations/welcome-social-v1","/recommendations/welcome-social-image-generator","/recommendations/welcome-golden-token","/recommendations/backup-activated","/recommendations/scan-activated","/recommendations/unlimited-sharing-activated","/recommendations/social-v1-activated","/recommendations/antispam-activated","/recommendations/videopress-activated","/recommendations/search-activated","/recommendations/server-credentials"],K=["my-jetpack "],$=["/","/dashboard","/reconnect","/my-plan","/plans"],Y=["/settings","/security","/performance","/writing","/sharing","/discussion","/earn","/newsletter","/traffic","/privacy"];class X extends O().Component{constructor(e){super(e),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),n.Ay.setApiRoot(this.props.apiRoot),n.Ay.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&N.A.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=S()(".jp-jetpack-connect__container"),t=S()(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}handleRouterWillLeave=()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)};initializeAnalytics=()=>{const e=this.props.tracksUserData;e&&N.A.initialize(e.userid,e.username,{blog_id:e.blogid})};shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&N.A.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=S()("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}renderMainNav=e=>{if(this.shouldShowWooConnectionScreen())return null;if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return null}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return null;if(!this.props.userCanManageModules){if(!this.props.siteConnectionStatus)return null;switch(e){case"/settings":case"/writing":case"/sharing":case"/performance":if(!this.props.isSubscriber)return O().createElement(b.A,this.props)}return O().createElement(_.A,this.props)}if(this.isMainConnectScreen())return null;switch(e){case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/newsletter":case"/traffic":case"/privacy":return O().createElement(b.A,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});case"/license/activation":if(this.props.isLinked&&this.props.isConnectionOwner)return null}return O().createElement(_.A,{routeName:this.props.routeName,blogID:this.props.blogID})};renderMainContent=e=>{if(this.shouldShowWooConnectionScreen()){const e=this.props.location.state?.previousPath,t=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return O().createElement(g.A,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:O().createElement("img",{src:s.d0+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:t,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},O().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return O().createElement(l.ry,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:N.A})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner)){const e=new URLSearchParams(location.search.split("?")[1]);return O().createElement(c.A,{title:this.props.connectingUserFeatureLabel&&(0,d.sprintf)(/* translators: placeholder is a feature label (e.g. SEO, Notifications) */ 70 __("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel),from:e&&e.get("from")||this.props.connectingUserFrom,redirectUri:"admin.php?page=jetpack",apiRoot:this.props.apiRoot,apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,autoTrigger:this.shouldAutoTriggerConnection()})}if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&O().createElement("div",{"aria-live":"assertive"},O().createElement(y.A,this.props));if(this.isMainConnectScreen()){const e=new URLSearchParams(location.search.split("?")[1]);return O().createElement(r.ConnectScreen,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack",from:e&&e.get("from")},O().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),O().createElement("ul",{role:"list"},O().createElement("li",null,__("Speed up your site with optimized images","jetpack")),O().createElement("li",null,__("Protect your site against bot attacks","jetpack")),O().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),O().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))))}let t;switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/connect-user-setup":case"/woo-setup":t=O().createElement(u.A,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/setup":this.props.isSiteConnected&&(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/my-plan":t=O().createElement(x.A,{siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,i.A)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/newsletter":case"/traffic":case"/privacy":t=O().createElement(D.A,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?t=O().createElement(o.b,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep}):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/agency":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/newsletter":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/protect":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/backup-plan":case"/recommendations/boost":case"/recommendations/summary":case"/recommendations/vaultpress-backup":case"/recommendations/vaultpress-for-woocommerce":case"/recommendations/welcome-backup":case"/recommendations/welcome-complete":case"/recommendations/welcome-security":case"/recommendations/welcome-starter":case"/recommendations/welcome-antispam":case"/recommendations/welcome-videopress":case"/recommendations/welcome-search":case"/recommendations/welcome-scan":case"/recommendations/welcome-social-basic":case"/recommendations/welcome-social-v1":case"/recommendations/welcome-golden-token":case"/recommendations/backup-activated":case"/recommendations/scan-activated":case"/recommendations/unlimited-sharing-activated":case"/recommendations/social-v1-activated":case"/recommendations/welcome-social-image-generator":case"/recommendations/antispam-activated":case"/recommendations/videopress-activated":case"/recommendations/search-activated":case"/recommendations/server-credentials":this.props.showRecommendations?t=O().createElement(I.b,null):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;default:if(T.Ix.includes(e)){t=O().createElement(R.A,null);break}this.props.history.replace("/dashboard"),t=this.getAtAGlance()}return this.props.isWoaSite&&!this.props.showMyJetpack?window.wpNavMenuClassChange({dashboard:1,settings:1}):this.props.isLinked||this.props.showMyJetpack?!this.props.isLinked&&this.props.showMyJetpack?window.wpNavMenuClassChange({myJetpack:1,dashboard:2,settings:3}):this.props.isLinked&&!this.props.showMyJetpack?window.wpNavMenuClassChange({activityLog:1,dashboard:2,settings:3}):window.wpNavMenuClassChange():window.wpNavMenuClassChange({dashboard:1,settings:2}),O().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},t)};getAtAGlance(){return O().createElement(u.A,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanViewStats&&$.includes(this.props.location.pathname)}shouldShowJetpackManageBanner(){const{site_count:e}=this.props.connectedWpComUser;return this.props.userCanConnectSite&&e>=2&&this.props.isSiteConnected&&!this.props.isAtomicSite&&!this.shouldShowWooConnectionScreen()&&$.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanManageModules&&$.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&$.includes(this.props.location.pathname)}shouldShowMasthead(){return!this.isMainConnectScreen()&&[...$,...G,...Y].includes(this.props.location.pathname)}shouldShowFooter(){return[...$,...Y,...G,...T.Ix].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname||"/connect-user-setup"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")||this.props.location.pathname.startsWith("/connect-user-setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen");const t=this.renderMainNav(this.props.location.pathname),a=t||this.shouldShowMasthead()||this.shouldShowRewindStatus();return O().createElement("div",null,this.shouldShowReconnectModal()&&O().createElement(w.A,{show:!0,onHide:this.closeReconnectModal}),a&&O().createElement("div",{className:"jp-top"},O().createElement("div",{className:"jp-top-inside"},this.shouldShowMasthead()&&O().createElement(E.A,{location:this.props.location}),this.shouldShowRewindStatus()&&O().createElement(k.A,null),t)),O().createElement("div",{className:e.join(" ")},O().createElement(m.A,null),O().createElement(v.Ay,null),this.shouldConnectUser()&&this.connectUser(),O().createElement(L.XG,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowJetpackManageBanner()&&O().createElement(W.A,{path:this.props.location.pathname,isAgencyAccount:this.props.jetpackManage.isAgencyAccount}),this.shouldShowSupportCard()&&O().createElement(C.A,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&O().createElement(h.A,null)),this.shouldShowFooter()&&O().createElement(f.A,{siteAdminUrl:this.props.siteAdminUrl}),O().createElement(A.A,{analytics:N.A}))}}const Z=(0,P.Ng)((e=>({isOfflineMode:(0,z.hN)(e),connectionStatus:(0,z.HF)(e),siteConnectionStatus:(0,z.i$)(e),connectedWpComUser:(0,z.vn)(e),isLinked:(0,z._U)(e),isConnectingUser:(0,z.Cq)(e),hasConnectedOwner:(0,z.BG)(e),isConnectionOwner:(0,z.uQ)(e),siteRawUrl:(0,U.XG)(e),blogID:(0,U.V2)(e),siteAdminUrl:(0,U.eu)(e),searchTerm:(0,H.nh)(e),apiRoot:(0,U.O3)(e),apiNonce:(0,U.Co)(e),registrationNonce:(0,U.N)(e),tracksUserData:(0,U.io)(e),areThereUnsavedSettings:(0,J.eu)(e),userCanManageModules:(0,U.Ir)(e),userCanConnectSite:(0,U.Hz)(e),userCanViewStats:(0,U.WC)(e),isSiteConnected:(0,z.lY)(e),isReconnectingSite:(0,z.Vs)(e),rewindStatus:(0,B.Qi)(e),currentVersion:(0,U.Mj)(e),showRecommendations:(0,U.ct)(e),pluginBaseUrl:(0,U.K$)(e),connectUrl:(0,z.Qp)(e),connectingUserFeatureLabel:(0,z.Kx)(e),connectingUserFrom:(0,z.m1)(e),isAtomicSite:(0,U.d9)(e),isWoaSite:(0,U.lI)(e),showMyJetpack:(0,U.WS)(e),isWooCommerceActive:(0,U.Lf)(e),hasSeenWCConnectionModal:(0,z.PL)(e),partnerCoupon:(0,U.ly)(e),currentRecommendationsStep:(0,U.Hv)(e),isSubscriber:(0,U.EV)(e),jetpackManage:(0,U.G_)(e)})),(e=>({setInitialState:()=>e((0,U.m$)()),clearUnsavedSettingsFlag:()=>e((0,J.jo)()),setHasSeenWCConnectionModal:()=>e((0,z.xc)()),resetConnectUser:()=>e((0,z.h_)()),updateLicensingActivationNoticeDismiss:()=>e((0,F.od)()),updateUserLicensesCounts:()=>e((0,F.r2)()),fetchSiteData:()=>e((0,q.aW)()),fetchSitePurchases:()=>e((0,q.w3)()),fetchModules:()=>e((0,V.CO)()),fetchSettings:()=>e((0,J.Uc)())})))((0,p.withDispatch)((e=>({setConnectionStatus:t=>{e(r.CONNECTION_STORE_ID).setConnectionStatus(t)}})))((0,L.y)(X)));window.wpNavMenuClassChange=function(){const e=function(){const e=document.querySelector("#toplevel_page_jetpack"),t={};if(e){const a=e.querySelector(".wp-submenu");if(a){const e=a.querySelectorAll("li:not(.wp-submenu-head) a"),s=(t,a)=>{let s=-1;return e.forEach(((e,n)=>{const i=e.href;("end"===a&&i.endsWith(t)||"start"===a&&i.startsWith(t))&&(s=n+1)})),s};return[{key:"dashboard",pattern:"/wp-admin/admin.php?page=jetpack#/dashboard",matchType:"end"},{key:"activityLog",pattern:"https://jetpack.com/redirect/?source=cloud-activity-log-wp-menu",matchType:"start"},{key:"settings",pattern:"/wp-admin/admin.php?page=jetpack#/settings",matchType:"end"}].forEach((({key:e,pattern:a,matchType:n})=>{const i=s(a,n);t[e]=i})),t}}}();let t=window.location.hash,a=new URLSearchParams(window.location.search);S()(".current").each((function(e,t){S()(t).removeClass("current")}));const s=e=>S()("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),a=a.get("page"),K.includes(a)?s(e.myJetpack)?.classList.add("current"):$.includes(t)||G.includes(t)||T.Ix.includes(t)?s(e.dashboard)?.classList.add("current"):Y.includes(t)&&s(e.settings)?.classList.add("current");const n=S()("body");n.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),n.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},51686:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(2467),n=a(66087);function i(e){(0,n.assign)(e,s.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},14643:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var s=a(27723),n=a(37049),i=a(63109),r=a(51609),o=a.n(r),c=a(84952),l=a(34679),p=a(82656),d=a(74936),u=a(70230),m=a(22784);const __=s.__;const h=(0,c.Ng)((e=>({activeFeatures:(0,p.mH)(e),activeProducts:(0,p.eA)(e),availableFeatures:(0,p.NI)(e),getSiteConnectionStatus:()=>(0,l.i$)(e),purchases:(0,p.yY)(e),sitePlan:(0,p.X6)(e)})))((function(e){let t=e.sitePlan.product_slug||"",a=e.availableFeatures,s=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",a={},s={}),o().createElement(o().Fragment,null,o().createElement("h1",{className:"screen-reader-text"},__("Jetpack My Plan Details","jetpack")),o().createElement(i.A,null),o().createElement(n.A,null),o().createElement(m.A,{siteRawUrl:e.siteRawUrl}),o().createElement(u.A,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),o().createElement(d.A,{activeFeatures:s,availableFeatures:a,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl,blogID:e.blogID}))}))},25535:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(69546),n=a(53835),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o),l=a(72095);const p=e=>{const{additionalEventProperties:t,productSlug:a,action:i,title:r,tagLine:p,trackingId:d}=e;(0,o.useEffect)((()=>{n.A.tracks.recordEvent("jetpack_my_plan_banner_view",{type:d,...t})}),[t,d]);const u=(0,o.useCallback)((()=>{n.A.tracks.recordJetpackClick({target:d,feature:"my-plan-banner",page:"my-plan",...t})}),[t,d]);return c().createElement("div",{className:"jp-my-plan-banner"},c().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${s.d0}jetpack-banner-gradient.png)`}},c().createElement(l.A,{productSlug:a,action:c().cloneElement(i,{onClick:u}),title:r,tagLine:p})))};p.propTypes={action:r().element.isRequired,productSlug:r().string.isRequired,trackingId:r().string.isRequired,additionalEventProperties:r().object,tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element])};const d=p},74936:(e,t,a)=>{"use strict";a.d(t,{A:()=>C});var s=a(69546),n=a(3924),i=a(56427),r=a(27723),o=a(70386),c=a(37866),l=a(53835),p=a(6838),d=a(66087),u=a(28120),m=a.n(u),h=a(51609),g=a.n(h),k=a(84952),f=a(2065),v=a(26508),E=a(99577),_=a(57526),b=a(82656),y=a(77423);const __=r.__;class w extends g().Component{static propTypes={plan:m().string};static defaultProps={plan:""};trackPlansClick=e=>{l.A.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})};handleButtonClickForTracking=e=>()=>this.trackPlansClick(e);activateAds=()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")};activatePublicize=()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")};activateVideoPress=()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")};activateGoogleAnalytics=()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")};render(){let e="";const t="offline"!==this.props.plan?(0,p.IPX)(this.props.plan):"offline",a=(0,d.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),r="active"===(0,d.get)(this.props.rewindStatus,["state"],!1),l=!this.props.showBackups||!r&&"unavailable"!==(0,d.get)(this.props.rewindStatus,["state"],!1),u=e=>{const{title:t,description:a}=e;return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},t),g().createElement("p",null,a),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_backup_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your backups","jetpack")))))},m=()=>{if(l)return;if(r)return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),g().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your security activity","jetpack")))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),g().createElement("p",null,e+" "+__("(powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_security_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("vaultpress-dashboard")},__("View your security dashboard","jetpack"))):g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_vault"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack")))))};let h;"is-daily-backup-plan"===t&&(h=u({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-jetpack-starter-plan","is-realtime-backup-plan"].includes(t)&&(h=u({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const k=()=>g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-search.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),g().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure",compact:!0,rna:!0},__("Customize Search","jetpack"))));switch(t){case"is-daily-security-plan":case"is-realtime-security-plan":case"is-personal-plan":case"is-premium-plan":case"is-jetpack-starter-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":e=g().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&m(),"is-premium-plan"===t&&m(),"is-business-plan"===t&&m(),this.props.hasInstantSearch&&k(),"is-jetpack-starter-plan"===t&&h,g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-anti-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),g().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:`${this.props.siteAdminUrl}admin.php?page=akismet-key-config&view=stats`,compact:!0,rna:!0},__("View your spam stats","jetpack")):g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_akismet"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack"))))),a&&"inactive"!==this.props.getModuleOverride("videopress")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-videopress.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),g().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php",compact:!0,rna:!0},__("Upload videos","jetpack")):g().createElement(o.A,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress"),compact:!0,rna:!0},__("Activate VideoPress","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),a&&"inactive"!==this.props.getModuleOverride("wordads")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),g().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_earnings"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("wpcom-ads-earnings",{site:this.props.blogID??this.props.siteRawUrl})},__("View your earnings","jetpack"))):g().createElement(o.A,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads"),compact:!0,rna:!0},__("Start earning","jetpack")))),a&& "inactive"!==this.props.getModuleOverride("google-analytics")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Charts depicting an evolution in traffic and engagement","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),g().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_ga"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-marketing-traffic",{site:this.props.blogID??this.props.siteRawUrl})},__("Configure Google Analytics","jetpack"))):g().createElement(o.A,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics"),compact:!0,rna:!0},__("Activate Google Analytics","jetpack")))),a&&"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),g().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("schedule_posts"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-edit-posts",{site:this.props.blogID??this.props.siteRawUrl})},__("Schedule posts","jetpack"))):g().createElement(o.A,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))));break;case"is-daily-backup-plan":case"is-realtime-backup-plan":case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"is-jetpack-golden-token-plan":case"is-free-search-plan":case"is-jetpack-creator-plan":case"offline":e=g().createElement("div",{className:"jp-landing__plan-features"},h,this.props.hasInstantSearch&&k(),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),g().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_security"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-settings-security",{site:this.props.blogID??this.props.siteRawUrl})},__("Set up your site security","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),g().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, & customize your site exactly how you like it.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_themes"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-themes",{site:this.props.blogID??this.props.siteRawUrl})},__("Explore themes","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("Jetpack Stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),g().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_sharing"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-marketing-connections",{site:this.props.blogID??this.props.siteRawUrl})},__("Start sharing","jetpack"))):g().createElement(o.A,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),g().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_support_documentation"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("jetpack-support")},__("Search support docs","jetpack"))))));break;default:e=g().createElement("div",{className:"jp-landing__plan-features is-loading"},g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return g().createElement("div",null,g().createElement(c.A,null),e)}}const C=(0,k.Ng)((e=>({hasInstantSearch:(0,b.IT)(e,"instant-search"),isFetchingPluginsData:(0,y.rC)(e),isPluginActive:t=>(0,y.gT)(e,t),isPluginInstalled:t=>(0,y.O8)(e,t),isModuleActivated:t=>(0,v.Yp)(e,t),isActivatingModule:t=>(0,v.ro)(e,t),getModuleOverride:t=>(0,v.d1)(e,t),showBackups:(0,f.Fp)(e),getFeatureState:t=>(0,_.PL)(e,t),isActivatingFeature:t=>(0,_.Ny)(e,t)})),(e=>({fetchPluginsData:()=>e((0,y.bR)()),activateModule:t=>e((0,v.MB)(t)),activateFeature:t=>e((0,E.Xx)({[t]:!0}))})))(w)},72095:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(13022),n=a(76122),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o);const l=({productSlug:e,action:t,isError:a,isPlaceholder:i,details:r,tagLine:o,title:l,isPlan:p,cardClassNames:d=[]})=>{d=(0,s.A)("my-plan-card",...d,{"is-placeholder":i,"is-plan":p,"has-action-only":t&&!r&&!i});const u=(0,s.A)("my-plan-card__details",{"is-error":a});return c().createElement("div",{className:d},c().createElement("div",{className:"my-plan-card__primary"},c().createElement("div",{className:"my-plan-card__icon"},e&&c().createElement(n.A,{plan:e,alt:""})),c().createElement("div",{className:"my-plan-card__header"},l&&c().createElement("h2",{className:"my-plan-card__title"},l),o&&c().createElement("p",{className:"my-plan-card__tag-line"},o))),(r||t||i)&&c().createElement("div",{className:"my-plan-card__secondary"},c().createElement("div",{className:u},i?null:r),c().createElement("div",{className:"my-plan-card__action"},i?null:t)))};l.propTypes={productSlug:r().string.isRequired,action:r().oneOfType([r().node,r().element]),isError:r().bool,isPlaceholder:r().bool,details:r().oneOfType([r().string,r().node,r().element]),tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element]),classNames:r().array};const p=l},70230:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var s=a(96072),n=a.n(s),i=a(3924),r=a(56427),o=a(38443),c=a(86087),l=a(27723),p=a(13022),d=a(70386),u=a(26592),m=a(41117),h=a(68859),g=a(211),k=a(53835),f=a(6838),v=a(66087),E=a(28120),_=a.n(E),b=a(51609),y=a.n(b),w=a(84952),C=a(2065),A=a(7237),j=a(72095),S=a(33075);const __=l.__,_n=l._n,_x=l._x;class N extends y().Component{getProductProps(e,t=[]){const{displayBackups:a,dateFormat:s,purchases:n}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const r=(0,v.find)(n,(t=>t.product_slug===e));let p,d;switch(r&&(p=y().createElement(h.A,{key:"product-expiration",dateFormat:s,expiryDate:r.expiry_date,purchaseDate:r.subscribed_date,isRefundable:r.is_refundable,isGift:(0,f.wD5)(r.product_slug),purchaseID:r.ID}),d="1"===r.active?(0,o.isInTheFuture)(r.expiry_date)||null===r.expiry_date?y().createElement(m.p,{key:"product-activated",type:null===r.expiry_date?"never-expires":""}):y().createElement(m.p,{key:"product-expired",type:"product-expired"}):null),(0,f.IPX)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const a=t.some((({product_slug:e})=>f.JM0.includes(e))),s=t.some((({product_slug:e})=>f.yuZ.includes(e)));a&&s?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):a?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):s&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,c.createInterpolateElement)(e,{a:y().createElement(g.A,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:p,tagLine:a?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */70 __("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel),from:e&&e.get("from")||this.props.connectingUserFrom,redirectUri:"admin.php?page=jetpack",apiRoot:this.props.apiRoot,apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,autoTrigger:this.shouldAutoTriggerConnection()})}if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&O().createElement("div",{"aria-live":"assertive"},O().createElement(y.A,this.props));if(this.isMainConnectScreen()){const e=new URLSearchParams(location.search.split("?")[1]);return O().createElement(r.ConnectScreen,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack",from:e&&e.get("from")},O().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),O().createElement("ul",{role:"list"},O().createElement("li",null,__("Speed up your site with optimized images","jetpack")),O().createElement("li",null,__("Protect your site against bot attacks","jetpack")),O().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),O().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))))}let t;switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/connect-user-setup":case"/woo-setup":t=O().createElement(u.A,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/setup":this.props.isSiteConnected&&(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/my-plan":t=O().createElement(x.A,{siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,i.A)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/newsletter":case"/traffic":case"/privacy":t=O().createElement(D.A,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?t=O().createElement(o.b,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep}):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/agency":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/newsletter":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/protect":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/backup-plan":case"/recommendations/boost":case"/recommendations/summary":case"/recommendations/vaultpress-backup":case"/recommendations/vaultpress-for-woocommerce":case"/recommendations/welcome-backup":case"/recommendations/welcome-complete":case"/recommendations/welcome-security":case"/recommendations/welcome-starter":case"/recommendations/welcome-antispam":case"/recommendations/welcome-videopress":case"/recommendations/welcome-search":case"/recommendations/welcome-scan":case"/recommendations/welcome-social-basic":case"/recommendations/welcome-social-v1":case"/recommendations/welcome-golden-token":case"/recommendations/backup-activated":case"/recommendations/scan-activated":case"/recommendations/unlimited-sharing-activated":case"/recommendations/social-v1-activated":case"/recommendations/welcome-social-image-generator":case"/recommendations/antispam-activated":case"/recommendations/videopress-activated":case"/recommendations/search-activated":case"/recommendations/server-credentials":this.props.showRecommendations?t=O().createElement(I.b,null):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;default:if(T.Ix.includes(e)){t=O().createElement(R.A,null);break}this.props.history.replace("/dashboard"),t=this.getAtAGlance()}return this.props.isWoaSite&&!this.props.showMyJetpack?window.wpNavMenuClassChange({dashboard:1,settings:1}):this.props.isLinked||this.props.showMyJetpack?!this.props.isLinked&&this.props.showMyJetpack?window.wpNavMenuClassChange({myJetpack:1,dashboard:2,settings:3}):this.props.isLinked&&!this.props.showMyJetpack?window.wpNavMenuClassChange({activityLog:1,dashboard:2,settings:3}):window.wpNavMenuClassChange():window.wpNavMenuClassChange({dashboard:1,settings:2}),O().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},t)};getAtAGlance(){return O().createElement(u.A,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanViewStats&&$.includes(this.props.location.pathname)}shouldShowJetpackManageBanner(){const{site_count:e}=this.props.connectedWpComUser;return this.props.userCanConnectSite&&e>=2&&this.props.isSiteConnected&&!this.props.isAtomicSite&&!this.shouldShowWooConnectionScreen()&&$.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanManageModules&&$.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&$.includes(this.props.location.pathname)}shouldShowMasthead(){return!this.isMainConnectScreen()&&[...$,...G,...Y].includes(this.props.location.pathname)}shouldShowFooter(){return[...$,...Y,...G,...T.Ix].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname||"/connect-user-setup"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")||this.props.location.pathname.startsWith("/connect-user-setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen");const t=this.renderMainNav(this.props.location.pathname),a=t||this.shouldShowMasthead()||this.shouldShowRewindStatus();return O().createElement("div",null,this.shouldShowReconnectModal()&&O().createElement(w.A,{show:!0,onHide:this.closeReconnectModal}),a&&O().createElement("div",{className:"jp-top"},O().createElement("div",{className:"jp-top-inside"},this.shouldShowMasthead()&&O().createElement(E.A,{location:this.props.location}),this.shouldShowRewindStatus()&&O().createElement(k.A,null),t)),O().createElement("div",{className:e.join(" ")},O().createElement(m.A,null),O().createElement(v.Ay,null),this.shouldConnectUser()&&this.connectUser(),O().createElement(L.XG,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowJetpackManageBanner()&&O().createElement(W.A,{path:this.props.location.pathname,isAgencyAccount:this.props.jetpackManage.isAgencyAccount}),this.shouldShowSupportCard()&&O().createElement(C.A,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&O().createElement(h.A,null)),this.shouldShowFooter()&&O().createElement(f.A,{siteAdminUrl:this.props.siteAdminUrl}),O().createElement(A.A,{analytics:N.A}))}}const Z=(0,P.Ng)((e=>({isOfflineMode:(0,z.hN)(e),connectionStatus:(0,z.HF)(e),siteConnectionStatus:(0,z.i$)(e),connectedWpComUser:(0,z.vn)(e),isLinked:(0,z._U)(e),isConnectingUser:(0,z.Cq)(e),hasConnectedOwner:(0,z.BG)(e),isConnectionOwner:(0,z.uQ)(e),siteRawUrl:(0,U.XG)(e),blogID:(0,U.V2)(e),siteAdminUrl:(0,U.eu)(e),searchTerm:(0,H.nh)(e),apiRoot:(0,U.O3)(e),apiNonce:(0,U.Co)(e),registrationNonce:(0,U.N)(e),tracksUserData:(0,U.io)(e),areThereUnsavedSettings:(0,J.eu)(e),userCanManageModules:(0,U.Ir)(e),userCanConnectSite:(0,U.Hz)(e),userCanViewStats:(0,U.WC)(e),isSiteConnected:(0,z.lY)(e),isReconnectingSite:(0,z.Vs)(e),rewindStatus:(0,B.Qi)(e),currentVersion:(0,U.Mj)(e),showRecommendations:(0,U.ct)(e),pluginBaseUrl:(0,U.K$)(e),connectUrl:(0,z.Qp)(e),connectingUserFeatureLabel:(0,z.Kx)(e),connectingUserFrom:(0,z.m1)(e),isAtomicSite:(0,U.d9)(e),isWoaSite:(0,U.lI)(e),showMyJetpack:(0,U.WS)(e),isWooCommerceActive:(0,U.Lf)(e),hasSeenWCConnectionModal:(0,z.PL)(e),partnerCoupon:(0,U.ly)(e),currentRecommendationsStep:(0,U.Hv)(e),isSubscriber:(0,U.EV)(e),jetpackManage:(0,U.G_)(e)})),(e=>({setInitialState:()=>e((0,U.m$)()),clearUnsavedSettingsFlag:()=>e((0,J.jo)()),setHasSeenWCConnectionModal:()=>e((0,z.xc)()),resetConnectUser:()=>e((0,z.h_)()),updateLicensingActivationNoticeDismiss:()=>e((0,F.od)()),updateUserLicensesCounts:()=>e((0,F.r2)()),fetchSiteData:()=>e((0,q.aW)()),fetchSitePurchases:()=>e((0,q.w3)()),fetchModules:()=>e((0,V.CO)()),fetchSettings:()=>e((0,J.Uc)())})))((0,p.withDispatch)((e=>({setConnectionStatus:t=>{e(r.CONNECTION_STORE_ID).setConnectionStatus(t)}})))((0,L.y)(X)));window.wpNavMenuClassChange=function(){const e=function(){const e=document.querySelector("#toplevel_page_jetpack"),t={};if(e){const a=e.querySelector(".wp-submenu");if(a){const e=a.querySelectorAll("li:not(.wp-submenu-head) a"),s=(t,a)=>{let s=-1;return e.forEach(((e,n)=>{const i=e.href;("end"===a&&i.endsWith(t)||"start"===a&&i.startsWith(t))&&(s=n+1)})),s};return[{key:"dashboard",pattern:"/wp-admin/admin.php?page=jetpack#/dashboard",matchType:"end"},{key:"activityLog",pattern:"https://jetpack.com/redirect/?source=cloud-activity-log-wp-menu",matchType:"start"},{key:"settings",pattern:"/wp-admin/admin.php?page=jetpack#/settings",matchType:"end"}].forEach((({key:e,pattern:a,matchType:n})=>{const i=s(a,n);t[e]=i})),t}}}();let t=window.location.hash,a=new URLSearchParams(window.location.search);S()(".current").each((function(e,t){S()(t).removeClass("current")}));const s=e=>S()("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),a=a.get("page"),K.includes(a)?s(e.myJetpack)?.classList.add("current"):$.includes(t)||G.includes(t)||T.Ix.includes(t)?s(e.dashboard)?.classList.add("current"):Y.includes(t)&&s(e.settings)?.classList.add("current");const n=S()("body");n.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),n.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},51686:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(2467),n=a(66087);function i(e){(0,n.assign)(e,s.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},14643:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var s=a(27723),n=a(37049),i=a(63109),r=a(51609),o=a.n(r),c=a(84952),l=a(34679),p=a(82656),d=a(74936),u=a(70230),m=a(22784);const __=s.__;const h=(0,c.Ng)((e=>({activeFeatures:(0,p.mH)(e),activeProducts:(0,p.eA)(e),availableFeatures:(0,p.NI)(e),getSiteConnectionStatus:()=>(0,l.i$)(e),purchases:(0,p.yY)(e),sitePlan:(0,p.X6)(e)})))((function(e){let t=e.sitePlan.product_slug||"",a=e.availableFeatures,s=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",a={},s={}),o().createElement(o().Fragment,null,o().createElement("h1",{className:"screen-reader-text"},__("Jetpack My Plan Details","jetpack")),o().createElement(i.A,null),o().createElement(n.A,null),o().createElement(m.A,{siteRawUrl:e.siteRawUrl}),o().createElement(u.A,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),o().createElement(d.A,{activeFeatures:s,availableFeatures:a,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl,blogID:e.blogID}))}))},25535:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(69546),n=a(53835),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o),l=a(72095);const p=e=>{const{additionalEventProperties:t,productSlug:a,action:i,title:r,tagLine:p,trackingId:d}=e;(0,o.useEffect)((()=>{n.A.tracks.recordEvent("jetpack_my_plan_banner_view",{type:d,...t})}),[t,d]);const u=(0,o.useCallback)((()=>{n.A.tracks.recordJetpackClick({target:d,feature:"my-plan-banner",page:"my-plan",...t})}),[t,d]);return c().createElement("div",{className:"jp-my-plan-banner"},c().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${s.d0}jetpack-banner-gradient.png)`}},c().createElement(l.A,{productSlug:a,action:c().cloneElement(i,{onClick:u}),title:r,tagLine:p})))};p.propTypes={action:r().element.isRequired,productSlug:r().string.isRequired,trackingId:r().string.isRequired,additionalEventProperties:r().object,tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element])};const d=p},74936:(e,t,a)=>{"use strict";a.d(t,{A:()=>C});var s=a(69546),n=a(3924),i=a(56427),r=a(27723),o=a(70386),c=a(37866),l=a(53835),p=a(6838),d=a(66087),u=a(28120),m=a.n(u),h=a(51609),g=a.n(h),k=a(84952),f=a(2065),v=a(26508),E=a(99577),_=a(57526),b=a(82656),y=a(77423);const __=r.__;class w extends g().Component{static propTypes={plan:m().string};static defaultProps={plan:""};trackPlansClick=e=>{l.A.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})};handleButtonClickForTracking=e=>()=>this.trackPlansClick(e);activateAds=()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")};activatePublicize=()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")};activateVideoPress=()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")};activateGoogleAnalytics=()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")};render(){let e="";const t="offline"!==this.props.plan?(0,p.IPX)(this.props.plan):"offline",a=(0,d.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),r="active"===(0,d.get)(this.props.rewindStatus,["state"],!1),l=!this.props.showBackups||!r&&"unavailable"!==(0,d.get)(this.props.rewindStatus,["state"],!1),u=e=>{const{title:t,description:a}=e;return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},t),g().createElement("p",null,a),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_backup_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your backups","jetpack")))))},m=()=>{if(l)return;if(r)return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),g().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your security activity","jetpack")))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),g().createElement("p",null,e+" "+__("(powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_security_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("vaultpress-dashboard")},__("View your security dashboard","jetpack"))):g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_vault"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack")))))};let h;"is-daily-backup-plan"===t&&(h=u({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-jetpack-starter-plan","is-realtime-backup-plan"].includes(t)&&(h=u({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const k=()=>g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-search.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),g().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure",compact:!0,rna:!0},__("Customize Search","jetpack"))));switch(t){case"is-daily-security-plan":case"is-realtime-security-plan":case"is-personal-plan":case"is-premium-plan":case"is-jetpack-starter-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":e=g().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&m(),"is-premium-plan"===t&&m(),"is-business-plan"===t&&m(),this.props.hasInstantSearch&&k(),"is-jetpack-starter-plan"===t&&h,g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-anti-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),g().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:`${this.props.siteAdminUrl}admin.php?page=akismet-key-config&view=stats`,compact:!0,rna:!0},__("View your spam stats","jetpack")):g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_akismet"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack"))))),a&&"inactive"!==this.props.getModuleOverride("videopress")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-videopress.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),g().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php",compact:!0,rna:!0},__("Upload videos","jetpack")):g().createElement(o.A,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress"),compact:!0,rna:!0},__("Activate VideoPress","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),a&&"inactive"!==this.props.getModuleOverride("wordads")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),g().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_earnings"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("wpcom-ads-earnings",{site:this.props.blogID??this.props.siteRawUrl})},__("View your earnings","jetpack"))):g().createElement(o.A,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads"),compact:!0,rna:!0},__("Start earning","jetpack")))),a&&this.props.isWoASite&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Charts depicting an evolution in traffic and engagement","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),g().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("configure_ga"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-marketing-traffic",{site:this.props.blogID??this.props.siteRawUrl})},__("Configure Google Analytics","jetpack"))))),a&&"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),g().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("schedule_posts"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-edit-posts",{site:this.props.blogID??this.props.siteRawUrl})},__("Schedule posts","jetpack"))):g().createElement(o.A,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))));break;case"is-daily-backup-plan":case"is-realtime-backup-plan":case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"is-jetpack-golden-token-plan":case"is-free-search-plan":case"is-jetpack-creator-plan":case"offline":e=g().createElement("div",{className:"jp-landing__plan-features"},h,this.props.hasInstantSearch&&k(),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),g().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_security"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-settings-security",{site:this.props.blogID??this.props.siteRawUrl})},__("Set up your site security","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),g().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, & customize your site exactly how you like it.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_themes"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-themes",{site:this.props.blogID??this.props.siteRawUrl})},__("Explore themes","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("Jetpack Stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),g().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_sharing"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-marketing-connections",{site:this.props.blogID??this.props.siteRawUrl})},__("Start sharing","jetpack"))):g().createElement(o.A,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:s.d0+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),g().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),g().createElement(o.A,{onClick:this.handleButtonClickForTracking("free_support_documentation"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.A)("jetpack-support")},__("Search support docs","jetpack"))))));break;default:e=g().createElement("div",{className:"jp-landing__plan-features is-loading"},g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return g().createElement("div",null,g().createElement(c.A,null),e)}}const C=(0,k.Ng)((e=>({hasInstantSearch:(0,b.IT)(e,"instant-search"),isFetchingPluginsData:(0,y.rC)(e),isPluginActive:t=>(0,y.gT)(e,t),isPluginInstalled:t=>(0,y.O8)(e,t),isModuleActivated:t=>(0,v.Yp)(e,t),isActivatingModule:t=>(0,v.ro)(e,t),getModuleOverride:t=>(0,v.d1)(e,t),showBackups:(0,f.Fp)(e),getFeatureState:t=>(0,_.PL)(e,t),isActivatingFeature:t=>(0,_.Ny)(e,t),isWoASite:(0,f.lI)(e)})),(e=>({fetchPluginsData:()=>e((0,y.bR)()),activateModule:t=>e((0,v.MB)(t)),activateFeature:t=>e((0,E.Xx)({[t]:!0}))})))(w)},72095:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(13022),n=a(76122),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o);const l=({productSlug:e,action:t,isError:a,isPlaceholder:i,details:r,tagLine:o,title:l,isPlan:p,cardClassNames:d=[]})=>{d=(0,s.A)("my-plan-card",...d,{"is-placeholder":i,"is-plan":p,"has-action-only":t&&!r&&!i});const u=(0,s.A)("my-plan-card__details",{"is-error":a});return c().createElement("div",{className:d},c().createElement("div",{className:"my-plan-card__primary"},c().createElement("div",{className:"my-plan-card__icon"},e&&c().createElement(n.A,{plan:e,alt:""})),c().createElement("div",{className:"my-plan-card__header"},l&&c().createElement("h2",{className:"my-plan-card__title"},l),o&&c().createElement("p",{className:"my-plan-card__tag-line"},o))),(r||t||i)&&c().createElement("div",{className:"my-plan-card__secondary"},c().createElement("div",{className:u},i?null:r),c().createElement("div",{className:"my-plan-card__action"},i?null:t)))};l.propTypes={productSlug:r().string.isRequired,action:r().oneOfType([r().node,r().element]),isError:r().bool,isPlaceholder:r().bool,details:r().oneOfType([r().string,r().node,r().element]),tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element]),classNames:r().array};const p=l},70230:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var s=a(96072),n=a.n(s),i=a(3924),r=a(56427),o=a(38443),c=a(86087),l=a(27723),p=a(13022),d=a(70386),u=a(26592),m=a(41117),h=a(68859),g=a(211),k=a(53835),f=a(6838),v=a(66087),E=a(28120),_=a.n(E),b=a(51609),y=a.n(b),w=a(84952),C=a(2065),A=a(7237),j=a(72095),S=a(33075);const __=l.__,_n=l._n,_x=l._x;class N extends y().Component{getProductProps(e,t=[]){const{displayBackups:a,dateFormat:s,purchases:n}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const r=(0,v.find)(n,(t=>t.product_slug===e));let p,d;switch(r&&(p=y().createElement(h.A,{key:"product-expiration",dateFormat:s,expiryDate:r.expiry_date,purchaseDate:r.subscribed_date,isRefundable:r.is_refundable,isGift:(0,f.wD5)(r.product_slug),purchaseID:r.ID}),d="1"===r.active?(0,o.isInTheFuture)(r.expiry_date)||null===r.expiry_date?y().createElement(m.p,{key:"product-activated",type:null===r.expiry_date?"never-expires":""}):y().createElement(m.p,{key:"product-expired",type:"product-expired"}):null),(0,f.IPX)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const a=t.some((({product_slug:e})=>f.JM0.includes(e))),s=t.some((({product_slug:e})=>f.yuZ.includes(e)));a&&s?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):a?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):s&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,c.createInterpolateElement)(e,{a:y().createElement(g.A,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:p,tagLine:a?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */ 71 71 _n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:y().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */ 72 72 _n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:y().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-complete-plan":return{...i,details:[d,p],tagLine:__("The ultimate toolkit for best-in-class websites: complete security, performance, and growth.","jetpack"),title:__("Jetpack Complete","jetpack")};case"is-backup-t0-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */ -
jetpack/trunk/composer.json
r3181385 r3183048 99 99 "ext-intl": "0.0.0" 100 100 }, 101 "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta",101 "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0", 102 102 "allow-plugins": { 103 103 "automattic/jetpack-autoloader": true, -
jetpack/trunk/jetpack.php
r3181385 r3183048 5 5 * Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things. 6 6 * Author: Automattic 7 * Version: 14.0 -beta7 * Version: 14.0 8 8 * Author URI: https://jetpack.com 9 9 * License: GPL2+ … … 35 35 define( 'JETPACK__MINIMUM_WP_VERSION', '6.5' ); 36 36 define( 'JETPACK__MINIMUM_PHP_VERSION', '7.0' ); 37 define( 'JETPACK__VERSION', '14.0 -beta' );37 define( 'JETPACK__VERSION', '14.0' ); 38 38 39 39 /** -
jetpack/trunk/readme.txt
r3181385 r3183048 327 327 328 328 == Changelog == 329 ### 14.0-beta - 2024-11-04 329 ### 14.0 - 2024-11-05 330 #### Major enhancements 331 - Newsletters: Add email previews and a floating subscribe button. 332 - Social: Add support for Bluesky. 333 330 334 #### Enhancements 331 - CSS: Rely esclusively on individual CSS files instead of a combined one for the features used on each page to improve page loading. 332 - Newsletter: Update the default "reply to" setting value from not allowed to replies being posted as public comments. 333 - Newsletters: Add an email preview option to the preview menu. 334 - Newsletters: Allow skipping newsletter modals with a URL query param. 335 - Scan: Update Jetpack Scan link in the WP Admin menu. 336 - Sitemap: Improve sitemap write efficienty. 337 - Social: Add Bluesky to social previews. 338 - Social: Add support for Bluesky 🎉. 339 - Subscriptions: Add a floating subscribe button. 335 - Newsletters: Allow skipping newsletter modals with the "jetpack_skip_subscription_popup" URL query param. 336 - Newsletters: Update the default "reply to" setting value from not allowed to replies being posted as public comments. 337 - Performance: Optimize CSS for better page load performance and improve sitemap write efficiency. 340 338 341 339 #### Improved compatibility 342 - Embed Blocks: Append 'Embed' to the titles of Facebook and Instagram embed blocks. 343 - General: Ensure notice displays without errors when running an old version of WordPress. 344 - Image Block: Make the external media picker button consistent with the other buttons in the image block. 340 - Embed Blocks: Append 'Embed' to Facebook and Instagram embed blocks' titles. 341 - Filters: Update "plugin_action_links" filter parameter to avoid conflicts with other plugins. 342 - General: Ensure correct display of notices when running an old version of WordPress. 343 - General: Indicate compatibility with WordPress 6.7. 344 - Image Block: Make the external media picker button consistent with other Image Block buttons. 345 345 - Image CDN: URL encode image path parts for RSS feed compatibility. 346 - Plugin action links filters: Update parameter to avoid conflicts with other plugins.347 - Post Editor: Prevent deprecation notices with WordPress 6.7.348 346 - Related Posts: Allow Related Posts on non-post CPTs where the block is already able to be used. 349 347 350 #### Improved Compatibility351 - General: Indicate compatibility with WordPress 6.7.352 353 348 #### Bug fixes 354 - Blocks: Fix rendering of the goodreads block to avoid PHP warnings caused by missing attributes. 355 - Blocks: Render the slideshow block correctly inside an iframe editor. 349 - AI Assistant: Fix false-positive spelling errors in Write Brief. 356 350 - Carousel: Further improve accessibility by being more selective over which images to apply attributes to. 357 351 - Contact Form: Ensure that submitted forms can only be accessed by logged in users allowed to view form submissions. 358 - General: Only include `wp-polyfill` as a script dependency when needed.359 - Goo gle Fonts: Fix module not loading fully in certain scenarios.360 - Map Block: Fix issue where blocks placed underneath would overlap with the map block.361 - Newsletter: Ensure `Enable featured image on your new post emails` setting displays the right value.362 - Newsletters: Fix " Use excerpt" setting.363 - Sharing: Ensure the sharing settings can be accessed even when auser is not connected to WordPress.com.364 - S ocial: Fix the Instagram maximum video length.365 - Social: Prevent share status styles from affecting other independent elements on the page.366 - Social: Prevent text overflow in the share status tooltip.367 - Stats: Fix top post card on the Insight page.352 - General: Include `wp-polyfill` as a script dependency only when needed. 353 - Goodreads Block: Avoid PHP warnings caused by missing attributes when rendering. 354 - Google Fonts: Fix module not fully loading in certain scenarios. 355 - Map Block: Prevent overlap with other blocks placed below. 356 - Newsletters: Fix "Enable featured image on your new post emails" and "Use excerpt" settings. 357 - Sharing: Ensure the sharing settings can be accessed even when the user is not connected to WordPress.com. 358 - Slideshow Block: Ensure the block renders correctly inside an iframe editor. 359 - Social: Fix the maximum video length for Instagram Business reels. 360 - Social: Prevent share status styles from causing text overflow or affecting other elements on the page. 361 - Stats: Fix top post card on the Insights page. 368 362 - Subscribe Block: Fix styling for the number of subscribers in the post editor sidebar. 369 363 -
jetpack/trunk/vendor/autoload.php
r3181385 r3183048 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::getLoader();25 return ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::getLoader(); -
jetpack/trunk/vendor/autoload_packages.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/composer/autoload_real.php
r3181385 r3183048 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta5 class ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); 35 35 $loader->register(true); 36 36 37 $filesToLoad = \Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::$files;37 $filesToLoad = \Composer\Autoload\ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::$files; 38 38 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 39 39 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
jetpack/trunk/vendor/composer/autoload_static.php
r3181385 r3183048 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta7 class ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 8 8 { 9 9 public static $files = array ( … … 507 507 { 508 508 return \Closure::bind(function () use ($loader) { 509 $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::$prefixLengthsPsr4;510 $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::$prefixDirsPsr4;511 $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta::$classMap;509 $loader->prefixLengthsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::$prefixLengthsPsr4; 510 $loader->prefixDirsPsr4 = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::$prefixDirsPsr4; 511 $loader->classMap = ComposerStaticInitf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0::$classMap; 512 512 513 513 }, null, ClassLoader::class); -
jetpack/trunk/vendor/jetpack-autoloader/class-autoloader-handler.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-autoloader-locator.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-autoloader.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-container.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-hook-manager.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-manifest-reader.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-path-processor.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-php-autoloader.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-plugin-locator.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-plugins-handler.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-shutdown-handler.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-version-loader.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore -
jetpack/trunk/vendor/jetpack-autoloader/class-version-selector.php
r3181385 r3183048 6 6 */ 7 7 8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0 _beta\al3_1_3;8 namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ14_0\al3_1_3; 9 9 10 10 // phpcs:ignore
Note: See TracChangeset
for help on using the changeset viewer.