diff --git a/composer.json b/composer.json index 2f8ba2bd..f60c8aff 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "automattic/jetpack-config": "^3.0.0", "automattic/jetpack-publicize": "^0.57.3-alpha", "automattic/jetpack-connection": "^6.2.2", - "automattic/jetpack-my-jetpack": "^5.3.1", + "automattic/jetpack-my-jetpack": "^5.3.2-alpha", "automattic/jetpack-sync": "^4.3.0", "automattic/jetpack-status": "^5.0.1", "automattic/jetpack-plans": "^0.5.1", diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md index bc6fc7d7..962d4fc5 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.3.2-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Fixed +- Fix bug where description doesn't show up on backup card in specific scenarios + ## [5.3.1] - 2025-01-10 ### Added - Add new WAF status on Protect card for when WAF is unsupported. [#40880] @@ -1902,6 +1909,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[5.3.2-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.3.1...5.3.2-alpha [5.3.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.3.0...5.3.1 [5.3.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.2.0...5.3.0 [5.2.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.1.2...5.2.0 diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php index 3816bc74..980aa2d6 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '82cd9f738294716d43b4'); + array('jetpack-connection', 'jetpack-script-data', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6ab3699f47ebfa7d6508'); diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js index 8528f733..b021928c 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js @@ -27,27 +27,15 @@ __("Expired on %1$s","jetpack-my-jetpack"),t):!a&&m?(0,s.sprintf)( __("Managed by: %1$s","jetpack-my-jetpack"),m):(0,s.sprintf)( // translators: %1$s is the formatted date to display, i.e.- November 24th, 2024 __("Expires on %1$s","jetpack-my-jetpack"),t)}),[a,b,A,m,h]),_=(0,l.useCallback)((()=>b?A?React.createElement(n.A,{href:f,isExternalLink:!0,variant:"link",weight:"regular"},__("Renew subscription","jetpack-my-jetpack")):React.createElement(n.A,{href:v,isExternalLink:!0,variant:"link",weight:"regular"},__("Resume subscription","jetpack-my-jetpack")):null),[b,A,v,f]);return(0,w.b)(e)?React.createElement(c.Ay,{variant:"body",className:y.A["expire-date"]},React.createElement("span",{className:y.A["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(E.k,{productName:d,giftedDate:h})):React.createElement(React.Fragment,null,React.createElement(c.Ay,{variant:"body",className:(0,i.A)(y.A["expire-date"],j)},R()),b&&React.createElement(c.Ay,null,_()))},j=({numberOfPurchases:e=0})=>React.createElement(React.Fragment,null,React.createElement(c.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(c.Ay,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack"))),R=({numberOfPurchases:e})=>{const{recordEvent:t}=(0,h.A)(),{isUserConnected:a}=(0,g.A)(),{complete:c}=(0,m.V)(),r=c.hasPaidPlanForProduct,s=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"),i=__("Purchase a plan","jetpack-my-jetpack"),u=(0,l.useCallback)((()=>{t("jetpack_myjetpack_plans_manage_click")}),[t]),d=(0,l.useCallback)((()=>{t("jetpack_myjetpack_plans_purchase_click")}),[t]),w=(0,v.A)(o.NM.ConnectionSkipPricing),E=(0,l.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||w()}),[w,a,t]);let A=__("Activate a license","jetpack-my-jetpack");a||(A=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:b="",adminUrl:j=""}=(0,p.A$)();return React.createElement("ul",null,e>0&&React.createElement("li",{className:y.A["actions-list-item"]},React.createElement(n.A,{onClick:u,href:(0,f.A)(),weight:"regular",variant:"link",isExternalLink:!0},s)),!r&&React.createElement("li",{className:y.A["actions-list-item"]},React.createElement(n.A,{onClick:d,href:(0,k.A)(),weight:"regular",variant:"link",isExternalLink:!0},i)),!r&&b&&React.createElement("li",{className:y.A["actions-list-item"]},React.createElement(n.A,{onClick:E,href:a?`${j}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},A)))},_=()=>{const e=!!(0,p.A$)("userIsAdmin"),{isSiteConnected:t}=(0,g.A)(),a=(0,d.A)({name:u.Ck,query:{path:u.tb},options:{enabled:t}}),{isLoading:c,isError:n}=a,r=a.data,s=r&&!c&&!n,i=s?r.length:0;return React.createElement("div",{className:y.A.container},React.createElement(j,{numberOfPurchases:i}),React.createElement("div",{className:y.A.purchasesSection},s&&r.map((e=>React.createElement(A,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(R,{numberOfPurchases:i}))}},169:(e,t,a)=>{"use strict";a.d(t,{A:()=>A});var c=a(6072),n=a.n(c),r=a(1112),s=a(7723),i=a(1113),l=a(3512),o=a(3883),u=a(4969),m=a(3022),d=a(6941),p=a.n(d),h=a(1609),g=a(8837),v=a(4923),f=a(4526),k=a(1870),w=a(1413),E=a(1208);const __=s.__,y=p()("my-jetpack:product-card:action-button"),A=({status:e,admin:t,name:a,slug:c,onActivate:d,additionalActions:p,primaryActionOverride:A,onManage:b,onFixUserConnection:j,onFixSiteConnection:R,isFetching:_,isInstallingStandalone:C,className:x,onAdd:N,onInstall:M,onLearnMore:z,isOwned:S})=>{const[L,P]=(0,h.useState)(!1),[V,H]=(0,h.useState)({}),{detail:I}=(0,v.A)(c),{manageUrl:B,purchaseUrl:O,managePaidPlanPurchaseUrl:T,renewPaidPlanPurchaseUrl:F}=I,{siteIsRegistering:D}=(0,k.A)(),U=!B,q=(0,h.useRef)(null),G=(0,h.useRef)(null),{recordEvent:J}=(0,f.A)();"jetpack-ai"===c&&y(c,I);const $=_||C||D&&e===g.hp.SITE_CONNECTION_ERROR,W=p?.length>0,Q=(0,h.useMemo)((()=>({variant:$?void 0:"primary",disabled:$,size:"small",weight:"regular",className:x})),[$,x]),K=(0,h.useCallback)((()=>{switch("jetpack-ai"===c&&y(c,e),e){case g.hp.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...Q,href:`#/add-${c}`,variant:"primary",label:e,onClick:z,...A?.[g.hp.ABSENT]??{}}}case g.hp.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...Q,variant:"primary",label:e,onClick:M,...A?.[g.hp.ABSENT_WITH_PLAN]??{}}}case g.hp.NEEDS_FIRST_SITE_CONNECTION:return{...Q,href:O||`#/add-${c}`,variant:"primary",label:__("Learn more","jetpack-my-jetpack"),onClick:N,...A?.[g.hp.NEEDS_FIRST_SITE_CONNECTION]??{}};case g.hp.NEEDS_PLAN:{const e=__("Get plan","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=S?e:t;return{...Q,href:O||`#/add-${c}`,variant:"primary",label:a,onClick:N,...A?.[g.hp.NEEDS_PLAN]??{}}}case g.hp.CAN_UPGRADE:return{...Q,href:O||`#/add-${c}`,variant:"primary",label:__("Upgrade","jetpack-my-jetpack"),onClick:N,...A?.[g.hp.CAN_UPGRADE]??{}};case g.hp.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...Q,disabled:U||Q?.disabled,href:B,variant:"secondary",label:e,onClick:b,...A?.[g.hp.ACTIVE]??{}}}case g.hp.SITE_CONNECTION_ERROR:return{...Q,variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:R,...A?.[g.hp.SITE_CONNECTION_ERROR]??{}};case g.hp.USER_CONNECTION_ERROR:return{href:"#/connection?skip_pricing=true",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:j,...A?.[g.hp.USER_CONNECTION_ERROR]??{}};case g.hp.INACTIVE:case g.hp.MODULE_DISABLED:case g.hp.NEEDS_ACTIVATION:return{...Q,variant:"secondary",label:__("Activate","jetpack-my-jetpack"),onClick:d,...A?.[g.hp.INACTIVE]??{}};case g.hp.EXPIRING_SOON:return{...Q,href:F,variant:"primary",label:__("Renew my plan","jetpack-my-jetpack"),...A?.[g.hp.EXPIRING_SOON]??{}};case g.hp.EXPIRED:return{...Q,href:T,variant:"primary",label:__("Resume my plan","jetpack-my-jetpack"),...A?.[g.hp.EXPIRED]??{}};case g.hp.NEEDS_ATTENTION__ERROR:{const e={...Q,href:B,variant:"primary",label:__("Troubleshoot","jetpack-my-jetpack"),...A?.[g.hp.NEEDS_ATTENTION__ERROR]??{}};switch(c){case"backup":return{...e,href:"https://jetpack.com/support/backup/troubleshooting-jetpack-backup/"};case"protect":return{...e,label:__("Fix threats","jetpack-my-jetpack")};default:return e}}case g.hp.NEEDS_ATTENTION__WARNING:{const e={...Q,href:B,variant:"primary",label:__("Troubleshoot","jetpack-my-jetpack"),...A?.[g.hp.NEEDS_ATTENTION__WARNING]??{}};return"protect"===c?{...e,label:__("Fix threats","jetpack-my-jetpack")}:{...e}}default:return{...Q,href:O||`#/add-${c}`,label:__("Learn more","jetpack-my-jetpack"),onClick:N}}}),[e,Q,c,N,j,R,d,M,z,O,U,B,b,A,S,T,F]),Z=(0,h.useMemo)((()=>W?[...p,K()]:[K()]),[p,K,W]),Y=(0,h.useCallback)((()=>{J("jetpack_myjetpack_product_card_dropdown_toggle",{product:c,state:L?"closed":"open"})}),[L,J,c]),X=(0,h.useCallback)((()=>{P(!L),Y()}),[L,Y]);if((0,h.useEffect)((()=>{H(Z[0])}),[Z]),(0,w.A)(q,(e=>{G.current.contains(e.target)||(P(!1),Y())})),!t)return React.createElement(r.A,n()({},Q,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ /* translators: placeholder is product name. */ -(0,s.sprintf)(__("Learn about %s","jetpack-my-jetpack"),a));const ee=W&&React.createElement("div",{ref:q,className:E.A["action-button-dropdown"]},React.createElement("ul",{className:E.A["dropdown-menu"]},[...p,K()].map((({label:e,isExternalLink:t},a)=>React.createElement("li",{key:a},React.createElement("button",{onClick:()=>{H(Z[a]),P(!1),J("jetpack_myjetpack_product_card_dropdown_action_click",{product:c,action:e})},className:E.A["dropdown-item"]},React.createElement("div",{className:E.A["dropdown-item-label"]},e,t&&React.createElement(i.A,{icon:l.A,size:16})),e===V.label&&React.createElement("div",{className:E.A["active-action-checkmark"]},React.createElement(i.A,{icon:o.A,size:24,fill:"white"}))))))));return React.createElement(React.Fragment,null,React.createElement("div",{className:(0,m.A)(E.A["action-button"],W?E.A["has-additional-actions"]:null)},React.createElement(r.A,n()({},Q,V),V.label),W&&React.createElement("button",{className:(0,m.A)(E.A["dropdown-chevron"],"primary"===V.variant?E.A.primary:E.A.secondary),onClick:X,ref:G},React.createElement(i.A,{icon:u.A,size:24,fill:"primary"===V.variant?"white":"black"})),L&&ee))}},5410:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var c=a(6072),n=a.n(c),r=a(7723),s=a(3022),i=a(1609),l=a(8837),o=a(8242),u=a(4526),m=a(6312),d=a(1870),p=a(2450),h=a(169),g=a(6710),v=a(7879),f=a(1887),k=a(2854),w=a(1208);const __=r.__,E=e=>{const t={isFetching:!1,isInstallingStandalone:!1,onActivate:()=>{},...e},{name:a,Description:c,status:r,onActivate:E,isFetching:y,isDataLoading:A,isInstallingStandalone:b,slug:j,additionalActions:R,primaryActionOverride:_,secondaryAction:C,children:x,onInstallStandalone:N,onMouseEnter:M,onMouseLeave:z,recommendation:S,customLoadTracks:L}=e,{ownedProducts:P}=(0,o.A$)("lifecycleStats"),V=P?.includes(j),H=r===l.hp.EXPIRED||r===l.hp.NEEDS_ATTENTION__ERROR,I=r===l.hp.EXPIRING_SOON||r===l.hp.NEEDS_ATTENTION__WARNING,B=r===l.hp.ABSENT||r===l.hp.ABSENT_WITH_PLAN,O=r===l.hp.NEEDS_PLAN,T=(0,s.A)({[w.A.plugin_absent]:B,[w.A["is-purchase-required"]]:O,[w.A["is-link"]]:B,[w.A["has-error"]]:H,[w.A["has-warning"]]:I}),{recordEvent:F}=(0,u.A)(),{siteIsRegistering:D}=(0,d.A)(),U=y||D&&r===l.hp.SITE_CONNECTION_ERROR,{connectSite:q}=(0,m.A)({tracksInfo:{event:"jetpack_myjetpack_product_card_fix_site_connection",properties:{}}}),G=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_activate_click",{product:j}),E()}),[j,E,F]),J=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_add_click",{product:j})}),[j,F]),$=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_manage_click",{product:j})}),[j,F]),W=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_fixconnection_click",{product:j})}),[j,F]),Q=(0,i.useCallback)((({e:e})=>{q(e)}),[q]),K=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_learnmore_click",{product:j})}),[j,F]),Z=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:j}),N()}),[j,N,F]);return(0,i.useEffect)((()=>{F("jetpack_myjetpack_product_card_load",{product:j,status:r,...L})}),[F,j,r,L]),React.createElement(p.A,{title:a,className:(0,s.A)(w.A.container,T),headerRightContent:null,onMouseEnter:M,onMouseLeave:z},S&&React.createElement(g.A,{slug:j}),React.createElement(c,null),A?React.createElement("span",{className:w.A.loading},__("Loading…","jetpack-my-jetpack")):x,S?React.createElement(v.A,{slug:j}):React.createElement("div",{className:w.A.actions},React.createElement("div",{className:w.A.buttons},C&&C?.positionFirst&&React.createElement(f.A,C),React.createElement(h.A,n()({},t,{onActivate:G,onFixUserConnection:W,onFixSiteConnection:Q,onManage:$,onAdd:J,onInstall:Z,onLearnMore:K,className:w.A.button,additionalActions:R,primaryActionOverride:_,isOwned:V})),C&&!C?.positionFirst&&React.createElement(f.A,C)),React.createElement(k.A,{status:r,isFetching:U,isInstallingStandalone:b,isOwned:V,suppressNeedsAttention:"protect"===j})))}},6710:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(7397),n=a(7723),r=a(3022),s=a(1208),i=a(6147);const __=n.__,l=({slug:e})=>{const{discountPrice:t,fullPrice:a,currencyCode:n,isFeature:l,hasFreeOffering:o}=(0,i.A)(e),u=l&&o&&!a;return React.createElement("div",{className:s.A.priceContainer},t&&React.createElement("span",{className:s.A.price},(0,c.Ay)(t,n)),React.createElement("span",{className:(0,r.A)(s.A.price,{[s.A.discounted]:t})},!u&&(0,c.Ay)(a,n),u&&__("Free","jetpack-my-jetpack")),!u&&React.createElement("span",{className:s.A.term},__("/month, billed yearly","jetpack-my-jetpack")))}},7879:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var c=a(6072),n=a.n(c),r=a(1112),s=a(3022),i=a(1208),l=a(6147);const o=({slug:e})=>{const{secondaryAction:t,primaryAction:a,isFeature:c,isActivating:o,isInstalling:u}=(0,l.A)(e);return React.createElement("div",{className:i.A.actions},React.createElement("div",{className:(0,s.A)(i.A.buttons,i.A.upsell)},a&&React.createElement(r.A,n()({size:"small",disabled:c&&(o||u)},a),a.label),t&&React.createElement(r.A,n()({size:"small",variant:"secondary",disabled:o},t),t.label)))}},1887:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(1112),n=a(7723);const __=n.__,r=e=>{const{shouldShowButton:t=()=>!0,...a}={size:"small",variant:"secondary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),...e};return!!t()&&React.createElement(c.A,a,a.label)}},2854:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(7425),n=a(7723),r=a(3022),s=a(8837),i=a(1208);const __=n.__,l=({status:e,isFetching:t,isInstallingStandalone:a,isOwned:n,suppressNeedsAttention:l=!1})=>{const o=((e,t,a)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return __("Active","jetpack-my-jetpack");case s.hp.EXPIRING_SOON:return __("Expires soon","jetpack-my-jetpack");case s.hp.EXPIRED:return __("Expired plan","jetpack-my-jetpack");case s.hp.INACTIVE:case s.hp.MODULE_DISABLED:case s.hp.NEEDS_ACTIVATION:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.ABSENT:return __("Inactive","jetpack-my-jetpack");case s.hp.ABSENT_WITH_PLAN:return __("Needs Plugin","jetpack-my-jetpack");case s.hp.USER_CONNECTION_ERROR:return __("Needs user account","jetpack-my-jetpack");case s.hp.SITE_CONNECTION_ERROR:return __("Needs connection","jetpack-my-jetpack");case s.hp.NEEDS_PLAN:{const e=__("Needs plan","jetpack-my-jetpack"),a=__("Inactive","jetpack-my-jetpack");return t?e:a}case s.hp.NEEDS_ATTENTION__WARNING:case s.hp.NEEDS_ATTENTION__ERROR:{const e=__("Active","jetpack-my-jetpack"),t=__("Needs attention","jetpack-my-jetpack");return a?e:t}default:return __("Inactive","jetpack-my-jetpack")}})(e,n,l),u=(0,r.A)(i.A.status,((e,t,a)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return i.A.active;case s.hp.ABSENT_WITH_PLAN:case s.hp.SITE_CONNECTION_ERROR:case s.hp.USER_CONNECTION_ERROR:case s.hp.EXPIRING_SOON:return i.A.warning;case s.hp.INACTIVE:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.NEEDS_ACTIVATION:return i.A.inactive;case s.hp.NEEDS_PLAN:return t?i.A.warning:i.A.inactive;case s.hp.EXPIRED:case s.hp.NEEDS_ATTENTION__WARNING:return a?i.A.active:i.A.warning;case s.hp.NEEDS_ATTENTION__ERROR:return a?i.A.active:i.A.error;default:return i.A.inactive}})(e,n,l),{[i.A["is-fetching"]]:t||a});return React.createElement(c.Ay,{variant:"label",className:u},o)}},6147:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var c=a(9384),n=a(7723),r=a(1609),s=a(8837),i=a(9935),l=a(4367),o=a(4923),u=a(8242),m=a(4526),d=a(1870);const __=n.__,p=(e,{onCheckout:t,onActivate:a,onInstall:c,onManage:n})=>{const r=e.status===s.hp.ACTIVE&&(e.isUpgradableByBundle.length||e.isUpgradable),i=e.pricingForUi.fullPrice||e.pricingForUi.tiers?.upgraded?.fullPrice;return e.status===s.hp.CAN_UPGRADE||r?i?{label:__("Upgrade","jetpack-my-jetpack"),onClick:t}:null:e.isFeature?((e,{onActivate:t,onInstall:a,onManage:c})=>{switch(e.status){case s.hp.MODULE_DISABLED:return{label:__("Activate","jetpack-my-jetpack"),onClick:t};case s.hp.ABSENT:return{label:__("Install","jetpack-my-jetpack"),onClick:a};case s.hp.USER_CONNECTION_ERROR:return{label:__("Connect","jetpack-my-jetpack"),href:"#/connection"};default:return{label:__("Manage","jetpack-my-jetpack"),href:e.manageUrl,onClick:c}}})(e,{onActivate:a,onInstall:c,onManage:n}):{label:__("Purchase","jetpack-my-jetpack"),onClick:t}},h=(e,t)=>{if(e.isFeature)return null;!e.isPluginActive||e.status===s.hp.NEEDS_ACTIVATION||(e.status,s.hp.NEEDS_PLAN);return{label:__("Learn more","jetpack-my-jetpack"),href:`#/add-${e.slug}`}},g=e=>{const{recordEvent:t}=(0,m.A)(),{detail:a}=(0,o.A)(e),{wpcomProductSlug:n,wpcomFreeProductSlug:s,...g}=(e=>{const{tiers:t,wpcomFreeProductSlug:a,introductoryOffer:c}=e;if(e.tiers){const{discountPrice:e,fullPrice:c,currencyCode:n,wpcomProductSlug:r,quantity:s,introductoryOffer:i}=t.upgraded;return{wpcomFreeProductSlug:a,wpcomProductSlug:s?`${r}:-q-${s}`:r,discountPrice:e&&e!==c&&!i?.reason?e/12:null,fullPrice:c/12,currencyCode:n}}const{discountPrice:n,discountPricePerMonth:r,fullPrice:s,fullPricePerMonth:i,currencyCode:l,wpcomProductSlug:o}=e;return{wpcomFreeProductSlug:a,wpcomProductSlug:o,discountPrice:n&&n!==s&&!c?.reason?r:null,fullPrice:i,currencyCode:l}})(a.pricingForUi),{install:v,isPending:f}=(0,l.A)(e),{isUserConnected:k}=(0,d.A)(),{myJetpackUrl:w,siteSuffix:E}=(0,u.A$)(),{activate:y,isPending:A}=(0,i.A)(e),{run:b}=(0,c.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:n,redirectUrl:w,connectAfterCheckout:!k,siteSuffix:E}),{run:j}=(0,c.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:s,redirectUrl:w,connectAfterCheckout:!k,siteSuffix:E}),R=(0,r.useCallback)((()=>{s?j():y()}),[y,j,s]),_=(0,r.useCallback)((()=>{if(t("jetpack_myjetpack_evaluation_recommendations_checkout_click",{slug:e}),"crm"===e)return y(),void window.open("https://jetpackcrm.com/pricing/","_blank");b()}),[y,t,b,e]),C=(0,r.useCallback)((()=>{t("jetpack_myjetpack_evaluation_recommendations_install_plugin_click",{product:e}),v()}),[e,v,t]),x=(0,r.useCallback)((()=>{t("jetpack_myjetpack_evaluation_recommendations_manage_click",{product:e})}),[e,t]);return{secondaryAction:h(a),primaryAction:p(a,{onCheckout:_,onActivate:R,onInstall:C,onManage:x}),isFeature:a.isFeature,hasFreeOffering:a.hasFreeOffering,isActivating:A,isInstalling:f,...g}}},8412:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var c=a(6072),n=a.n(c),r=a(1504),s=a(6176);const i=e=>React.createElement(s.A,n()({slug:r.D_.JETPACK_AI,upgradeInInterstitial:!0},e))},9674:(e,t,a)=>{"use strict";a.d(t,{z:()=>w});var c=a(8412),n=a(6724),r=a(161),s=a(9838),i=a(5375),l=a(1686),o=a(5383),u=a(5243),m=a(4274),d=a(2917),p=a(414),h=a(7014),g=a(4169),v=a(7769),f=a(4073),k=a(7631);const w={backup:r.A,protect:m.A,"anti-spam":n.A,boost:s.A,search:p.A,videopress:k.A,stats:f.A,crm:l.A,social:v.A,ai:c.A,"jetpack-ai":c.A,security:h.A,growth:o.A,complete:i.A,extras:null,scan:null,creator:null,newsletter:u.A,"related-posts":d.A,"site-accelerator":g.A}},6724:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(6072),n=a.n(c),r=a(8120),s=a.n(r),i=a(1504),l=a(6176);const o=e=>React.createElement(l.A,n()({slug:i.D_.ANTI_SPAM},e));o.propTypes={admin:s().bool};const u=o},161:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var c=a(6072),n=a.n(c),r=a(7425),s=a(3924),i=a(6427),l=a(7723),o=a(3022),u=a(2290),m=a(8120),d=a.n(m),p=a(1609),h=a(8837),g=a(1504),v=a(4923),f=a(280),k=a(8242),w=a(4526),E=a(271),y=a(6581),A=a(6176),b=a(2660),j=a(3649);const __=l.__,_n=l._n,R=g.D_.BACKUP,_=e=>{const{detail:t}=(0,v.A)(R),{status:a}=t,{backup_failure:c}=(0,k.A$)("redBubbleAlerts")||{},{status:s}=c||{},i=a===h.hp.ACTIVE||a===h.hp.CAN_UPGRADE,{title:l,text:o}=(0,E.t)()||{};return i?React.createElement(C,n()({slug:R},e)):React.createElement(A.A,n()({slug:R,Description:()=>null},e),a===h.hp.NEEDS_ATTENTION__ERROR&&c&&React.createElement("div",{className:j.A.backupErrorContainer},React.createElement("div",{className:j.A.iconContainer},React.createElement(u.A,{icon:"notice",size:16,className:j.A.iconError})),React.createElement("div",{className:j.A.contentContainer},React.createElement(r.Ay,{variant:"body-small",className:"value-section__heading"},__("The last backup attempt failed.","jetpack-my-jetpack"),React.createElement(b.I,{tracksEventName:"backup_card_tooltip_open",tracksEventProps:{location:"backup-error",status:a,backup_status:s,feature:"jetpack-backup"},expandOnMobile:!0},React.createElement(React.Fragment,null,React.createElement("h3",null,l),React.createElement("p",null,o),React.createElement("p",null,__("Check out our troubleshooting guide or contact your hosting provider to resolve the issue.","jetpack-my-jetpack"))))),React.createElement(r.Ay,{variant:"body-small",className:j.A.error_description},__("Check out our troubleshooting guide.","jetpack-my-jetpack")))))},C=e=>{const{data:t,isLoading:a}=(0,f.A)({name:g.Dz,query:{path:g.DB}}),c=t?.last_rewindable_event,i=c?.published,o=t?.undo_backup_id,{recordEvent:m}=(0,w.A)(),{siteSuffix:d=""}=(0,k.A$)(),p={href:(0,s.A)("jetpack-backup-undo-cta",{path:o,site:d}),size:"small",variant:"primary",weight:"regular",label:__("Undo","jetpack-my-jetpack"),onClick:()=>{m("jetpack_myjetpack_backup_card_undo_click",{product:e.slug,undo_backup_id:o})},isExternalLink:!0};return React.createElement(A.A,n()({},e,{showMenu:!0,isDataLoading:a,Description:c?()=>React.createElement(r.Ay,{variant:"body-small",className:j.A.description},React.createElement("span",null,__("Activity Detected","jetpack-my-jetpack")),React.createElement("span",{className:j.A.time},(e=>{if(!e)return"";const t=new Date-new Date(e);if(t>0){const e=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),c=Math.floor(t%36e5/6e4),n=Math.floor(t%6e4/1e3);return e>0?(0,l.sprintf)( +(0,s.sprintf)(__("Learn about %s","jetpack-my-jetpack"),a));const ee=W&&React.createElement("div",{ref:q,className:E.A["action-button-dropdown"]},React.createElement("ul",{className:E.A["dropdown-menu"]},[...p,K()].map((({label:e,isExternalLink:t},a)=>React.createElement("li",{key:a},React.createElement("button",{onClick:()=>{H(Z[a]),P(!1),J("jetpack_myjetpack_product_card_dropdown_action_click",{product:c,action:e})},className:E.A["dropdown-item"]},React.createElement("div",{className:E.A["dropdown-item-label"]},e,t&&React.createElement(i.A,{icon:l.A,size:16})),e===V.label&&React.createElement("div",{className:E.A["active-action-checkmark"]},React.createElement(i.A,{icon:o.A,size:24,fill:"white"}))))))));return React.createElement(React.Fragment,null,React.createElement("div",{className:(0,m.A)(E.A["action-button"],W?E.A["has-additional-actions"]:null)},React.createElement(r.A,n()({},Q,V),V.label),W&&React.createElement("button",{className:(0,m.A)(E.A["dropdown-chevron"],"primary"===V.variant?E.A.primary:E.A.secondary),onClick:X,ref:G},React.createElement(i.A,{icon:u.A,size:24,fill:"primary"===V.variant?"white":"black"})),L&&ee))}},5410:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var c=a(6072),n=a.n(c),r=a(7723),s=a(3022),i=a(1609),l=a(8837),o=a(8242),u=a(4526),m=a(6312),d=a(1870),p=a(2450),h=a(169),g=a(6710),v=a(7879),f=a(1887),k=a(2854),w=a(1208);const __=r.__,E=e=>{const t={isFetching:!1,isInstallingStandalone:!1,onActivate:()=>{},...e},{name:a,Description:c,status:r,onActivate:E,isFetching:y,isDataLoading:A,isInstallingStandalone:b,slug:j,additionalActions:R,primaryActionOverride:_,secondaryAction:C,children:x,onInstallStandalone:N,onMouseEnter:M,onMouseLeave:z,recommendation:S,customLoadTracks:L}=e,{ownedProducts:P}=(0,o.A$)("lifecycleStats"),V=P?.includes(j),H=r===l.hp.EXPIRED||r===l.hp.NEEDS_ATTENTION__ERROR,I=r===l.hp.EXPIRING_SOON||r===l.hp.NEEDS_ATTENTION__WARNING,B=r===l.hp.ABSENT||r===l.hp.ABSENT_WITH_PLAN,O=r===l.hp.NEEDS_PLAN,T=(0,s.A)({[w.A.plugin_absent]:B,[w.A["is-purchase-required"]]:O,[w.A["is-link"]]:B,[w.A["has-error"]]:H,[w.A["has-warning"]]:I}),{recordEvent:F}=(0,u.A)(),{siteIsRegistering:D}=(0,d.A)(),U=y||D&&r===l.hp.SITE_CONNECTION_ERROR,{connectSite:q}=(0,m.A)({tracksInfo:{event:"jetpack_myjetpack_product_card_fix_site_connection",properties:{}}}),G=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_activate_click",{product:j}),E()}),[j,E,F]),J=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_add_click",{product:j})}),[j,F]),$=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_manage_click",{product:j})}),[j,F]),W=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_fixconnection_click",{product:j})}),[j,F]),Q=(0,i.useCallback)((({e:e})=>{q(e)}),[q]),K=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_learnmore_click",{product:j})}),[j,F]),Z=(0,i.useCallback)((()=>{F("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:j}),N()}),[j,N,F]);return(0,i.useEffect)((()=>{F("jetpack_myjetpack_product_card_load",{product:j,status:r,...L})}),[F,j,r,L]),React.createElement(p.A,{title:a,className:(0,s.A)(w.A.container,T),headerRightContent:null,onMouseEnter:M,onMouseLeave:z},S&&React.createElement(g.A,{slug:j}),React.createElement(c,null),A?React.createElement("span",{className:w.A.loading},__("Loading…","jetpack-my-jetpack")):x,S?React.createElement(v.A,{slug:j}):React.createElement("div",{className:w.A.actions},React.createElement("div",{className:w.A.buttons},C&&C?.positionFirst&&React.createElement(f.A,C),React.createElement(h.A,n()({},t,{onActivate:G,onFixUserConnection:W,onFixSiteConnection:Q,onManage:$,onAdd:J,onInstall:Z,onLearnMore:K,className:w.A.button,additionalActions:R,primaryActionOverride:_,isOwned:V})),C&&!C?.positionFirst&&React.createElement(f.A,C)),React.createElement(k.A,{status:r,isFetching:U,isInstallingStandalone:b,isOwned:V,suppressNeedsAttention:"protect"===j})))}},6710:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(7397),n=a(7723),r=a(3022),s=a(1208),i=a(6147);const __=n.__,l=({slug:e})=>{const{discountPrice:t,fullPrice:a,currencyCode:n,isFeature:l,hasFreeOffering:o}=(0,i.A)(e),u=l&&o&&!a;return React.createElement("div",{className:s.A.priceContainer},t&&React.createElement("span",{className:s.A.price},(0,c.Ay)(t,n)),React.createElement("span",{className:(0,r.A)(s.A.price,{[s.A.discounted]:t})},!u&&(0,c.Ay)(a,n),u&&__("Free","jetpack-my-jetpack")),!u&&React.createElement("span",{className:s.A.term},__("/month, billed yearly","jetpack-my-jetpack")))}},7879:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var c=a(6072),n=a.n(c),r=a(1112),s=a(3022),i=a(1208),l=a(6147);const o=({slug:e})=>{const{secondaryAction:t,primaryAction:a,isFeature:c,isActivating:o,isInstalling:u}=(0,l.A)(e);return React.createElement("div",{className:i.A.actions},React.createElement("div",{className:(0,s.A)(i.A.buttons,i.A.upsell)},a&&React.createElement(r.A,n()({size:"small",disabled:c&&(o||u)},a),a.label),t&&React.createElement(r.A,n()({size:"small",variant:"secondary",disabled:o},t),t.label)))}},1887:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(1112),n=a(7723);const __=n.__,r=e=>{const{shouldShowButton:t=()=>!0,...a}={size:"small",variant:"secondary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),...e};return!!t()&&React.createElement(c.A,a,a.label)}},2854:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(7425),n=a(7723),r=a(3022),s=a(8837),i=a(1208);const __=n.__,l=({status:e,isFetching:t,isInstallingStandalone:a,isOwned:n,suppressNeedsAttention:l=!1})=>{const o=((e,t,a)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return __("Active","jetpack-my-jetpack");case s.hp.EXPIRING_SOON:return __("Expires soon","jetpack-my-jetpack");case s.hp.EXPIRED:return __("Expired plan","jetpack-my-jetpack");case s.hp.INACTIVE:case s.hp.MODULE_DISABLED:case s.hp.NEEDS_ACTIVATION:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.ABSENT:return __("Inactive","jetpack-my-jetpack");case s.hp.ABSENT_WITH_PLAN:return __("Needs Plugin","jetpack-my-jetpack");case s.hp.USER_CONNECTION_ERROR:return __("Needs user account","jetpack-my-jetpack");case s.hp.SITE_CONNECTION_ERROR:return __("Needs connection","jetpack-my-jetpack");case s.hp.NEEDS_PLAN:{const e=__("Needs plan","jetpack-my-jetpack"),a=__("Inactive","jetpack-my-jetpack");return t?e:a}case s.hp.NEEDS_ATTENTION__WARNING:case s.hp.NEEDS_ATTENTION__ERROR:{const e=__("Active","jetpack-my-jetpack"),t=__("Needs attention","jetpack-my-jetpack");return a?e:t}default:return __("Inactive","jetpack-my-jetpack")}})(e,n,l),u=(0,r.A)(i.A.status,((e,t,a)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return i.A.active;case s.hp.ABSENT_WITH_PLAN:case s.hp.SITE_CONNECTION_ERROR:case s.hp.USER_CONNECTION_ERROR:case s.hp.EXPIRING_SOON:return i.A.warning;case s.hp.INACTIVE:case s.hp.NEEDS_FIRST_SITE_CONNECTION:case s.hp.NEEDS_ACTIVATION:return i.A.inactive;case s.hp.NEEDS_PLAN:return t?i.A.warning:i.A.inactive;case s.hp.EXPIRED:case s.hp.NEEDS_ATTENTION__WARNING:return a?i.A.active:i.A.warning;case s.hp.NEEDS_ATTENTION__ERROR:return a?i.A.active:i.A.error;default:return i.A.inactive}})(e,n,l),{[i.A["is-fetching"]]:t||a});return React.createElement(c.Ay,{variant:"label",className:u},o)}},6147:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var c=a(9384),n=a(7723),r=a(1609),s=a(8837),i=a(9935),l=a(4367),o=a(4923),u=a(8242),m=a(4526),d=a(1870);const __=n.__,p=(e,{onCheckout:t,onActivate:a,onInstall:c,onManage:n})=>{const r=e.status===s.hp.ACTIVE&&(e.isUpgradableByBundle.length||e.isUpgradable),i=e.pricingForUi.fullPrice||e.pricingForUi.tiers?.upgraded?.fullPrice;return e.status===s.hp.CAN_UPGRADE||r?i?{label:__("Upgrade","jetpack-my-jetpack"),onClick:t}:null:e.isFeature?((e,{onActivate:t,onInstall:a,onManage:c})=>{switch(e.status){case s.hp.MODULE_DISABLED:return{label:__("Activate","jetpack-my-jetpack"),onClick:t};case s.hp.ABSENT:return{label:__("Install","jetpack-my-jetpack"),onClick:a};case s.hp.USER_CONNECTION_ERROR:return{label:__("Connect","jetpack-my-jetpack"),href:"#/connection"};default:return{label:__("Manage","jetpack-my-jetpack"),href:e.manageUrl,onClick:c}}})(e,{onActivate:a,onInstall:c,onManage:n}):{label:__("Purchase","jetpack-my-jetpack"),onClick:t}},h=(e,t)=>{if(e.isFeature)return null;!e.isPluginActive||e.status===s.hp.NEEDS_ACTIVATION||(e.status,s.hp.NEEDS_PLAN);return{label:__("Learn more","jetpack-my-jetpack"),href:`#/add-${e.slug}`}},g=e=>{const{recordEvent:t}=(0,m.A)(),{detail:a}=(0,o.A)(e),{wpcomProductSlug:n,wpcomFreeProductSlug:s,...g}=(e=>{const{tiers:t,wpcomFreeProductSlug:a,introductoryOffer:c}=e;if(e.tiers){const{discountPrice:e,fullPrice:c,currencyCode:n,wpcomProductSlug:r,quantity:s,introductoryOffer:i}=t.upgraded;return{wpcomFreeProductSlug:a,wpcomProductSlug:s?`${r}:-q-${s}`:r,discountPrice:e&&e!==c&&!i?.reason?e/12:null,fullPrice:c/12,currencyCode:n}}const{discountPrice:n,discountPricePerMonth:r,fullPrice:s,fullPricePerMonth:i,currencyCode:l,wpcomProductSlug:o}=e;return{wpcomFreeProductSlug:a,wpcomProductSlug:o,discountPrice:n&&n!==s&&!c?.reason?r:null,fullPrice:i,currencyCode:l}})(a.pricingForUi),{install:v,isPending:f}=(0,l.A)(e),{isUserConnected:k}=(0,d.A)(),{myJetpackUrl:w,siteSuffix:E}=(0,u.A$)(),{activate:y,isPending:A}=(0,i.A)(e),{run:b}=(0,c.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:n,redirectUrl:w,connectAfterCheckout:!k,siteSuffix:E}),{run:j}=(0,c.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:s,redirectUrl:w,connectAfterCheckout:!k,siteSuffix:E}),R=(0,r.useCallback)((()=>{s?j():y()}),[y,j,s]),_=(0,r.useCallback)((()=>{if(t("jetpack_myjetpack_evaluation_recommendations_checkout_click",{slug:e}),"crm"===e)return y(),void window.open("https://jetpackcrm.com/pricing/","_blank");b()}),[y,t,b,e]),C=(0,r.useCallback)((()=>{t("jetpack_myjetpack_evaluation_recommendations_install_plugin_click",{product:e}),v()}),[e,v,t]),x=(0,r.useCallback)((()=>{t("jetpack_myjetpack_evaluation_recommendations_manage_click",{product:e})}),[e,t]);return{secondaryAction:h(a),primaryAction:p(a,{onCheckout:_,onActivate:R,onInstall:C,onManage:x}),isFeature:a.isFeature,hasFreeOffering:a.hasFreeOffering,isActivating:A,isInstalling:f,...g}}},8412:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var c=a(6072),n=a.n(c),r=a(1504),s=a(6176);const i=e=>React.createElement(s.A,n()({slug:r.D_.JETPACK_AI,upgradeInInterstitial:!0},e))},9674:(e,t,a)=>{"use strict";a.d(t,{z:()=>w});var c=a(8412),n=a(6724),r=a(161),s=a(9838),i=a(5375),l=a(1686),o=a(5383),u=a(5243),m=a(4274),d=a(2917),p=a(414),h=a(7014),g=a(4169),v=a(7769),f=a(4073),k=a(7631);const w={backup:r.A,protect:m.A,"anti-spam":n.A,boost:s.A,search:p.A,videopress:k.A,stats:f.A,crm:l.A,social:v.A,ai:c.A,"jetpack-ai":c.A,security:h.A,growth:o.A,complete:i.A,extras:null,scan:null,creator:null,newsletter:u.A,"related-posts":d.A,"site-accelerator":g.A}},6724:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(6072),n=a.n(c),r=a(8120),s=a.n(r),i=a(1504),l=a(6176);const o=e=>React.createElement(l.A,n()({slug:i.D_.ANTI_SPAM},e));o.propTypes={admin:s().bool};const u=o},161:(e,t,a)=>{"use strict";a.d(t,{A:()=>j});var c=a(6072),n=a.n(c),r=a(7425),s=a(3924),i=a(7723),l=a(2290),o=a(8120),u=a.n(o),m=a(8837),d=a(1504),p=a(4923),h=a(280),g=a(8242),v=a(4526),f=a(271),k=a(6176),w=a(2660),E=a(3649);const __=i.__,_n=i._n,y=d.D_.BACKUP,A=e=>{const{detail:t}=(0,p.A)(y),{status:a}=t,{backup_failure:c}=(0,g.A$)("redBubbleAlerts")||{},{status:s}=c||{},i=a===m.hp.ACTIVE||a===m.hp.CAN_UPGRADE,{title:o,text:u}=(0,f.t)()||{};if(i)return React.createElement(b,n()({slug:y},e));const d=a===m.hp.NEEDS_ATTENTION__ERROR&&c;return React.createElement(k.A,n()({slug:y,Description:d&&(()=>null)},e),d&&React.createElement("div",{className:E.A.backupErrorContainer},React.createElement("div",{className:E.A.iconContainer},React.createElement(l.A,{icon:"notice",size:16,className:E.A.iconError})),React.createElement("div",{className:E.A.contentContainer},React.createElement(r.Ay,{variant:"body-small",className:"value-section__heading"},__("The last backup attempt failed.","jetpack-my-jetpack"),React.createElement(w.I,{tracksEventName:"backup_card_tooltip_open",tracksEventProps:{location:"backup-error",status:a,backup_status:s,feature:"jetpack-backup"},expandOnMobile:!0},React.createElement(React.Fragment,null,React.createElement("h3",null,o),React.createElement("p",null,u),React.createElement("p",null,__("Check out our troubleshooting guide or contact your hosting provider to resolve the issue.","jetpack-my-jetpack"))))),React.createElement(r.Ay,{variant:"body-small",className:E.A.error_description},__("Check out our troubleshooting guide.","jetpack-my-jetpack")))))},b=e=>{const{data:t,isLoading:a}=(0,h.A)({name:d.Dz,query:{path:d.DB}}),c=t?.last_rewindable_event,o=c?.published,u=t?.undo_backup_id,{recordEvent:m}=(0,v.A)(),{siteSuffix:p=""}=(0,g.A$)(),f={href:(0,s.A)("jetpack-backup-undo-cta",{path:u,site:p}),size:"small",variant:"primary",weight:"regular",label:__("Undo","jetpack-my-jetpack"),onClick:()=>{m("jetpack_myjetpack_backup_card_undo_click",{product:e.slug,undo_backup_id:u})},isExternalLink:!0};return React.createElement(k.A,n()({},e,{showMenu:!0,isDataLoading:a,Description:c?()=>React.createElement(r.Ay,{variant:"body-small",className:E.A.description},React.createElement("span",null,__("Activity Detected","jetpack-my-jetpack")),React.createElement("span",{className:E.A.time},(e=>{if(!e)return"";const t=new Date-new Date(e);if(t>0){const e=Math.floor(t/864e5),a=Math.floor(t%864e5/36e5),c=Math.floor(t%36e5/6e4),n=Math.floor(t%6e4/1e3);return e>0?(0,i.sprintf)( // translators: %s is the number of days since the last backup -_n("%s day ago","%s days ago",e,"jetpack-my-jetpack"),e):a>0?(0,l.sprintf)( +_n("%s day ago","%s days ago",e,"jetpack-my-jetpack"),e):a>0?(0,i.sprintf)( // translators: %s is the number of hours since the last backup -_n("%s hour ago","%s hours ago",a,"jetpack-my-jetpack"),a):c>0?(0,l.sprintf)( +_n("%s hour ago","%s hours ago",a,"jetpack-my-jetpack"),a):c>0?(0,i.sprintf)( // translators: %s is the number of minutes since the last backup -_n("%s minute ago","%s minutes ago",c,"jetpack-my-jetpack"),c):(0,l.sprintf)( +_n("%s minute ago","%s minutes ago",c,"jetpack-my-jetpack"),c):(0,i.sprintf)( // translators: %s is the number of seconds since the last backup -_n("%s second ago","%s seconds ago",n,"jetpack-my-jetpack"),n)}})(i))):null,additionalActions:c?[p]:[]}),c?React.createElement("div",{className:j.A.activity},React.createElement(u.A,{icon:c.gridicon,size:24}),React.createElement("p",{className:j.A.summary},c.summary)):null)};_.propTypes={admin:d().bool},(e=>{const{data:t,isLoading:a}=(0,f.A)({name:g.gw,query:{path:g.Sm}}),c=(0,p.useMemo)((()=>{const e=[];return t?(Object.keys(t).forEach((a=>{0!==t[a]&&e.push([a,t[a]])})),e.sort(((e,t)=>e[1]{const a=e[0].split("_")[1],c=e[1];return React.createElement("li",{className:(0,o.A)(j.A["main-stat"],`main-stat-${t}`),key:t+a},React.createElement(React.Fragment,null,React.createElement("span",{className:(0,o.A)(j.A["visual-stat"]),"aria-hidden":"true"},(e=>{switch(e){case"post":return React.createElement(u.A,{icon:"posts",size:24});case"page":return React.createElement(u.A,{icon:"pages",size:24});default:return React.createElement(u.A,{icon:e,size:24})}})(a),React.createElement("span",null,(0,y.A)(c))),React.createElement(i.VisuallyHidden,null,({comment:e=>(0,l.sprintf)( -// translators: %d is the number of comments -_n("%d comment","%d comments",e,"jetpack-my-jetpack"),e),post:e=>(0,l.sprintf)( -// translators: %d is the number of posts -_n("%d post","%d posts",e,"jetpack-my-jetpack"),e),page:e=>(0,l.sprintf)( -// translators: %d is the number of pages -_n("%d page","%d pages",e,"jetpack-my-jetpack"),e),image:e=>(0,l.sprintf)( -// translators: %d is the number of images -_n("%d image","%d images",e,"jetpack-my-jetpack"),e),video:e=>(0,l.sprintf)( -// translators: %d is the number of videos -_n("%d video","%d videos",e,"jetpack-my-jetpack"),e),audio:e=>(0,l.sprintf)( -// translators: %d is the number of files -_n("%d audio file","%d audio files",e,"jetpack-my-jetpack"),e)}[n=a]||(e=>`${e} ${n}`))(c))));var n})))))}).propTypes={productData:d().object};const x=_},9520:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var c=a(8454),n=a(6461),r=a(580),s=a(6427),i=a(9491),l=a(7723),o=a(1113),u=a(2510),m=a(1609),d=a(8837),p=a(4923),h=a(8242),g=a(4526),v=a(1870),f=a(6683);a(2106);const __=l.__,k=()=>{const{recordEvent:e}=(0,g.A)(),[t,a]=(0,m.useState)(!1),[l,k]=(0,m.useState)(""),[w,E]=(0,m.useState)(null),[y,A]=(0,m.useState)(null),[b,j]=(0,m.useState)(!1),[R,_]=(0,m.useState)(!1),[C,x]=(0,m.useState)(!1),N=(0,i.useViewportMatch)("medium","<"),{siteUrl:M="",latestBoostSpeedScores:z}=(0,h.A$)(),{apiRoot:S,apiNonce:L,isSiteConnected:P}=(0,v.A)(),{detail:V}=(0,p.A)("boost"),{status:H}=V,I=H===d.hp.ACTIVE||H===d.hp.CAN_UPGRADE,B=(e,t)=>{const{mobile:a,desktop:c}=t||{};var n,r;a&&c&&e((n=a,r=c,Math.round((n+r)/2)))},O=e=>{const{scores:t,previousScores:a}=e||{};B(E,t),B(A,a),(e=>{const{mobile:t,desktop:a}=e||{};t&&a&&k((0,c.T)(t,a))})(t)},T=async()=>{P?(a(!0),(0,c.sE)(!0,S,M,L).then((e=>{const t=(0,c.T)(e.current.mobile,e.current.desktop);k(t),B(E,e.current),B(A,z.scores),a(!1)})).catch((t=>{e("jetpack_boost_speed_score_error",{feature:"jetpack-boost",position:"my-jetpack",error:t}),z&&z.scores?O(z):j(!0),a(!1)}))):j(!0)},F=(0,m.useMemo)((()=>y&&w?w{_(!0)}),[_]),q=(0,m.useCallback)((()=>{_(!1)}),[_]);return(0,m.useEffect)((()=>{z?I?(0,c.US)(1e3*z.timestamp)<1?O(z):T():(0,c.US)(1e3*z.timestamp)<14?O(z):T():T()}),[]),(0,m.useEffect)((()=>{t||!R||C||(e("jetpack_boost_card_tooltip_viewed",{feature:"jetpack-boost",position:"my-jetpack"}),x(!0))}),[t,R,e,C]),!b&&React.createElement("div",{className:"mj-boost-speed-score",role:"presentation",onMouseEnter:U,onMouseLeave:q,onClick:R?q:U,onFocus:U,onBlur:q},t?React.createElement(n.A,{color:"#23282d",size:16}):React.createElement(React.Fragment,null,React.createElement("div",{className:"mj-boost-speed-score__grade"},React.createElement("span",null,__("Your website’s overall speed score:","jetpack-my-jetpack")),React.createElement("span",{className:"mj-boost-speed-score__grade--letter"},l,!t&&R&&React.createElement(s.Popover,{placement:N?"top-end":"top-start",noArrow:!1,offset:10},React.createElement("div",{className:"boost-score-tooltip__parent"},React.createElement("p",{className:"boost-score-tooltip__heading"},__("Site speed performance:","jetpack-my-jetpack")," ",l),React.createElement("p",{className:"boost-score-tooltip__content"},D))))),React.createElement("div",{className:"mj-boost-speed-score__bar"},React.createElement(r.A,{score:w,active:w>0,isLoading:t,showPrevScores:!1,scoreBarType:"desktop",noBoostScoreTooltip:null})),!!F&&React.createElement("div",{className:"mj-boost-speed-score__increase"},React.createElement(o.A,{size:18,icon:u.A}),React.createElement("span",null,F))))}},9838:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(6072),n=a.n(c),r=a(7723),s=a(8837),i=a(1504),l=a(6176),o=a(9520);const __=r.__,u=e=>{const t={[s.hp.ABSENT]:{label:__("Boost your site","jetpack-my-jetpack")}};return React.createElement(l.A,n()({slug:i.D_.BOOST,primaryActionOverride:t},e),React.createElement(o.A,null))}},6683:(e,t,a)=>{"use strict";a.d(t,{R:()=>r});var c=a(7723),n=a(4923);const __=c.__;function r({speedLetterGrade:e,boostScoreIncrease:t}){const{detail:a}=(0,n.A)("boost"),{isPluginActive:r,hasPaidPlanForProduct:s}=a;if(r){if(s){if(t)return(0,c.sprintf)(/* translators: %d is the number (positive integer) of points the speed has increased */ +_n("%s second ago","%s seconds ago",n,"jetpack-my-jetpack"),n)}})(o))):null,additionalActions:c?[f]:[]}),c?React.createElement("div",{className:E.A.activity},React.createElement(l.A,{icon:c.gridicon,size:24}),React.createElement("p",{className:E.A.summary},c.summary)):null)};A.propTypes={admin:u().bool};const j=A},9520:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var c=a(8454),n=a(6461),r=a(580),s=a(6427),i=a(9491),l=a(7723),o=a(1113),u=a(2510),m=a(1609),d=a(8837),p=a(4923),h=a(8242),g=a(4526),v=a(1870),f=a(6683);a(2106);const __=l.__,k=()=>{const{recordEvent:e}=(0,g.A)(),[t,a]=(0,m.useState)(!1),[l,k]=(0,m.useState)(""),[w,E]=(0,m.useState)(null),[y,A]=(0,m.useState)(null),[b,j]=(0,m.useState)(!1),[R,_]=(0,m.useState)(!1),[C,x]=(0,m.useState)(!1),N=(0,i.useViewportMatch)("medium","<"),{siteUrl:M="",latestBoostSpeedScores:z}=(0,h.A$)(),{apiRoot:S,apiNonce:L,isSiteConnected:P}=(0,v.A)(),{detail:V}=(0,p.A)("boost"),{status:H}=V,I=H===d.hp.ACTIVE||H===d.hp.CAN_UPGRADE,B=(e,t)=>{const{mobile:a,desktop:c}=t||{};var n,r;a&&c&&e((n=a,r=c,Math.round((n+r)/2)))},O=e=>{const{scores:t,previousScores:a}=e||{};B(E,t),B(A,a),(e=>{const{mobile:t,desktop:a}=e||{};t&&a&&k((0,c.T)(t,a))})(t)},T=async()=>{P?(a(!0),(0,c.sE)(!0,S,M,L).then((e=>{const t=(0,c.T)(e.current.mobile,e.current.desktop);k(t),B(E,e.current),B(A,z.scores),a(!1)})).catch((t=>{e("jetpack_boost_speed_score_error",{feature:"jetpack-boost",position:"my-jetpack",error:t}),z&&z.scores?O(z):j(!0),a(!1)}))):j(!0)},F=(0,m.useMemo)((()=>y&&w?w{_(!0)}),[_]),q=(0,m.useCallback)((()=>{_(!1)}),[_]);return(0,m.useEffect)((()=>{z?I?(0,c.US)(1e3*z.timestamp)<1?O(z):T():(0,c.US)(1e3*z.timestamp)<14?O(z):T():T()}),[]),(0,m.useEffect)((()=>{t||!R||C||(e("jetpack_boost_card_tooltip_viewed",{feature:"jetpack-boost",position:"my-jetpack"}),x(!0))}),[t,R,e,C]),!b&&React.createElement("div",{className:"mj-boost-speed-score",role:"presentation",onMouseEnter:U,onMouseLeave:q,onClick:R?q:U,onFocus:U,onBlur:q},t?React.createElement(n.A,{color:"#23282d",size:16}):React.createElement(React.Fragment,null,React.createElement("div",{className:"mj-boost-speed-score__grade"},React.createElement("span",null,__("Your website’s overall speed score:","jetpack-my-jetpack")),React.createElement("span",{className:"mj-boost-speed-score__grade--letter"},l,!t&&R&&React.createElement(s.Popover,{placement:N?"top-end":"top-start",noArrow:!1,offset:10},React.createElement("div",{className:"boost-score-tooltip__parent"},React.createElement("p",{className:"boost-score-tooltip__heading"},__("Site speed performance:","jetpack-my-jetpack")," ",l),React.createElement("p",{className:"boost-score-tooltip__content"},D))))),React.createElement("div",{className:"mj-boost-speed-score__bar"},React.createElement(r.A,{score:w,active:w>0,isLoading:t,showPrevScores:!1,scoreBarType:"desktop",noBoostScoreTooltip:null})),!!F&&React.createElement("div",{className:"mj-boost-speed-score__increase"},React.createElement(o.A,{size:18,icon:u.A}),React.createElement("span",null,F))))}},9838:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(6072),n=a.n(c),r=a(7723),s=a(8837),i=a(1504),l=a(6176),o=a(9520);const __=r.__,u=e=>{const t={[s.hp.ABSENT]:{label:__("Boost your site","jetpack-my-jetpack")}};return React.createElement(l.A,n()({slug:i.D_.BOOST,primaryActionOverride:t},e),React.createElement(o.A,null))}},6683:(e,t,a)=>{"use strict";a.d(t,{R:()=>r});var c=a(7723),n=a(4923);const __=c.__;function r({speedLetterGrade:e,boostScoreIncrease:t}){const{detail:a}=(0,n.A)("boost"),{isPluginActive:r,hasPaidPlanForProduct:s}=a;if(r){if(s){if(t)return(0,c.sprintf)(/* translators: %d is the number (positive integer) of points the speed has increased */ __("Your speed has improved by %d points! Boost is working to enhance your performance with automated tools.","jetpack-my-jetpack"),t);switch(e){case"A":return __("Your site is fast! Boost is working to enhance your performance with automated tools.","jetpack-my-jetpack");case"B":case"C":case"D":case"E":case"F":return __("Visit the Boost dashboard to view your historical speed scores and manage your product settings.","jetpack-my-jetpack");default:return __("Visit the Boost dashboard to view your site’s speed scores and manage your product settings.","jetpack-my-jetpack")}}if(t)return(0,c.sprintf)(/* translators: %d is the number (integer) of points the speed has increased */ __("Your speed has improved by %d points! Upgrade Boost to unlock automated CSS and image optimization tools to maintain your high score.","jetpack-my-jetpack"),t);switch(e){case"A":return __("Your site is fast! But maintaining a high speed isn’t easy. Upgrade Boost to use automated CSS and image optimization tools to improve your performance on the go.","jetpack-my-jetpack");case"B":return __("You are one step away from making your site blazing fast. Upgrade Boost to use automated CSS and image optimization tools to improve your performance.","jetpack-my-jetpack");default:return __("Improve your performance with automated CSS and image optimization tools by upgrading Boost.","jetpack-my-jetpack")}}switch(e){case"A":return __("Your site is fast! But maintaining a high speed isn’t easy. Use Boost’s automated acceleration tools to optimize your performance on the go.","jetpack-my-jetpack");case"B":return __("You are one step away from making your site blazing fast. Install Boost to enhance your site’s performance like top websites, no developer needed.","jetpack-my-jetpack");default:return __("Your site needs performance improvements. Make your site blazing fast with Boost’s simple dashboard and acceleration tools.","jetpack-my-jetpack")}}},5375:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(1504),n=a(6176);const r=({admin:e,recommendation:t})=>React.createElement(n.A,{slug:c.D_.COMPLETE,showMenu:!0,admin:e,recommendation:t})},1686:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(6072),n=a.n(c),r=a(8120),s=a.n(r),i=a(1504),l=a(6176);const o=e=>React.createElement(l.A,n()({slug:i.D_.CRM},e));o.propTypes={admin:s().bool};const u=o},5383:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(1504),n=a(6176);const r=({admin:e,recommendation:t})=>React.createElement(n.A,{slug:c.D_.GROWTH,showMenu:!0,admin:e,recommendation:t})},5487:(e,t,a)=>{"use strict";a.d(t,{A:()=>R});var c=a(8509),n=a(5918),r=a(766),s=a(7425),i=a(7723),l=a(1609),o=a(1504),u=a(5350),m=a(8242),d=a(1035),p=a(8412),h=a(6724),g=a(161),v=a(9838),f=a(1686),k=a(4274),w=a(414),E=a(7769),y=a(4073),A=a(1218),b=a(7631);const __=i.__,j=({slugs:e})=>{const{showFullJetpackStatsCard:t=!1}=(0,m.A$)("myJetpackFlags"),{userIsAdmin:a=!1}=(0,m.A$)(),r={backup:g.A,protect:k.A,"anti-spam":h.A,boost:v.A,search:w.A,videopress:b.A,stats:y.A,crm:f.A,social:E.A,"jetpack-ai":p.A},s=e.filter((e=>(e!==o.D_.STATS||!t)&&!!r[e]));return React.createElement(React.Fragment,null,e.includes("stats")&&t&&React.createElement(c.A,{className:A.A.fullStatsCard},React.createElement(d.A,null)),React.createElement(n.A,{className:A.A.cardlist,tagName:"ul",fluid:!0,horizontalSpacing:0,horizontalGap:3},s.map((e=>{const t=r[e];return React.createElement(c.A,{tagName:"li",sm:4,md:4,lg:4,key:e},React.createElement(t,{admin:"1"===a}))}))))},R=({noticeMessage:e})=>{const{data:{ownedProducts:t,unownedProducts:a}}=(0,u.A)(),i=(0,l.useMemo)((()=>t.length>0?__("Discover more","jetpack-my-jetpack"):__("Discover all Jetpack Products","jetpack-my-jetpack")),[t.length]),o=e=>{const t=["scan","security","growth","extras","complete"];return e.filter((e=>!t.includes(e)))},m=o(t),d=o(a);return React.createElement(React.Fragment,null,m.length>0&&React.createElement(r.A,null,React.createElement(n.A,{horizontalSpacing:6,horizontalGap:e?3:6},React.createElement(c.A,null,React.createElement(c.A,{sm:4,md:8,lg:12,className:A.A.cardListTitle},React.createElement(s.Ay,{variant:"headline-small"},__("My products","jetpack-my-jetpack"))),React.createElement(j,{slugs:m})))),d.length>0&&React.createElement(n.A,{horizontalSpacing:6,horizontalGap:e?3:6},React.createElement(c.A,null,React.createElement(c.A,{sm:4,md:8,lg:12,className:A.A.cardListTitle},React.createElement(s.Ay,{variant:"headline-small"},i)),React.createElement(j,{slugs:d}))))}},5243:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(1504),n=a(6176);const r=({admin:e,recommendation:t})=>React.createElement(n.A,{slug:c.D_.NEWSLETTER,admin:e,recommendation:t})},3293:(e,t,a)=>{"use strict";a.d(t,{Q:()=>g});var c=a(9491),n=a(7723),r=a(3022),s=a(4923),i=a(8242),l=a(1870),o=a(2660),u=a(1218),m=a(6068),d=a(850),p=a(4516),h=a(7915);const __=n.__,g=()=>{const{detail:e}=(0,s.A)("protect"),{isPluginActive:t=!1}=e||{},{isSiteConnected:a}=(0,l.A)(),{protect:{wafConfig:c}}=(0,i.A$)(),{jetpack_waf_automatic_rules:n}=c||{};return t&&a?n?React.createElement(v,{status:"active"}):React.createElement(v,{status:"inactive"}):React.createElement(v,{status:"off"})};function v({status:e}){const t=(0,c.useViewportMatch)("medium","<"),{detail:a}=(0,s.A)("protect"),{hasPaidPlanForProduct:n=!1}=a||{},i=(0,h.T)(),{autoFirewallTooltip:l}=i;return"active"===e?React.createElement(React.Fragment,null,React.createElement("div",{className:u.A.valueSectionHeading},__("Auto-Firewall","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:p,alt:__("Shield icon - Auto-Firewall Status: On","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("On","jetpack-my-jetpack")))):"inactive"===e?React.createElement(React.Fragment,null,React.createElement("div",{className:(0,r.A)(u.A.valueSectionHeading,"value-section__heading")},__("Auto-Firewall","jetpack-my-jetpack"),React.createElement(o.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"auto-firewall",status:e,feature:"jetpack-protect",has_paid_plan:n},placement:t?"top":"right"},React.createElement("h3",null,l.title),React.createElement("p",null,l.text))),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:m,alt:__("Shield icon - Auto-Firewall Status: Inactive","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Inactive","jetpack-my-jetpack")))):React.createElement(React.Fragment,null,React.createElement("div",{className:u.A.valueSectionHeading},__("Auto-Firewall","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:d,alt:__("Shield icon - Auto-Firewall Status: Off","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Off","jetpack-my-jetpack"))))}},4274:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(6072),n=a.n(c),r=a(1504),s=a(6176),i=a(7765);const l=e=>React.createElement(s.A,n()({},e,{slug:r.D_.PROTECT,upgradeInInterstitial:!0}),React.createElement(i.A,null))},66:(e,t,a)=>{"use strict";a.d(t,{f:()=>g});var c=a(7723),n=a(3022),r=a(4923),s=a(8242),i=a(1870),l=a(6581),o=a(3658),u=a(2660),m=a(1218),d=a(850),p=a(4538),h=a(7915);const __=c.__,g=()=>{const{detail:e}=(0,r.A)("protect"),{isPluginActive:t=!1}=e||{},{isSiteConnected:a}=(0,i.A)(),{protect:{wafConfig:c}}=(0,s.A$)(),{blocked_logins:n,brute_force_protection:l}=c||{};return(t||(0,o.w)())&&a?l?React.createElement(v,{status:"active"}):React.createElement(v,{status:"inactive"}):a&&n>0?React.createElement(v,{status:"inactive"}):React.createElement(v,{status:"off"})};function v({status:e}){const{protect:{wafConfig:t}}=(0,s.A$)(),{blocked_logins:a}=t||{},c=(0,h.T)(),{blockedLoginsTooltip:r}=c;return"active"===e?a>0?React.createElement(React.Fragment,null,React.createElement("div",{className:m.A.valueSectionHeading},__("Logins Blocked","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",{className:"logins_blocked__count"},(0,l.A)(a)))):React.createElement(React.Fragment,null,React.createElement("div",{className:(0,n.A)(m.A.valueSectionHeading,"value-section__heading")},__("Logins Blocked","jetpack-my-jetpack"),React.createElement(u.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"blocked-logins",status:e,feature:"jetpack-protect",message:"no data yet"}},React.createElement("h3",null,r.title),React.createElement("p",null,r.text))),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:p,alt:__("Shield icon - Brute Force Protection Status: Active","jetpack-my-jetpack")})))):"inactive"===e?React.createElement(React.Fragment,null,React.createElement("div",{className:(0,n.A)(m.A.valueSectionHeading,"value-section__heading")},__("Logins Blocked","jetpack-my-jetpack"),React.createElement(u.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"blocked-logins",feature:"jetpack-protect",status:e}},React.createElement("h3",null,r.title),React.createElement("p",null,r.text))),React.createElement("div",{className:"value-section__data"},a>0?React.createElement(React.Fragment,null,React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:d,alt:__("Shield icon - Brute Force Protection Status: Inactive","jetpack-my-jetpack")})),React.createElement("div",{className:"logins_blocked__count"},(0,l.A)(a))):React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:d,alt:__("Shield icon - Brute Force Protection Status: Inactive","jetpack-my-jetpack")})))):React.createElement(React.Fragment,null,React.createElement("div",{className:m.A.valueSectionHeading},__("Logins Blocked","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:d,alt:__("Shield icon - Brute Force Protection Status: Off","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Off","jetpack-my-jetpack"))))}},7765:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(4923),n=a(2660),r=a(3293),s=a(66),i=a(1512),l=a(2584),o=a(7915);a(538);const u=()=>{const{detail:e}=(0,c.A)("protect"),{isPluginActive:t=!1}=e||{},a=(0,l.A)(),u=(0,o.T)(),{pluginsThemesTooltip:m}=u;return React.createElement(React.Fragment,null,React.createElement("div",{className:"value-section__last-scan"},a&&React.createElement("div",null,a),!t&&React.createElement(n.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"plugins&themes",feature:"jetpack-protect",status:"inactive"}},React.createElement("h3",null,m.title),React.createElement("p",null,m.text))),React.createElement("div",{className:"value-section"},React.createElement("div",{className:"value-section__scan-threats"},React.createElement(i.v,null)),React.createElement("div",{className:"value-section__auto-firewall"},React.createElement(r.Q,null)),React.createElement("div",{className:"value-section__logins-blocked"},React.createElement(s.f,null))))}},1512:(e,t,a)=>{"use strict";a.d(t,{v:()=>w});var c=a(1883),n=a(6427),r=a(9491),s=a(7723),i=a(3022),l=a(1609),o=a(4923),u=a(8242),m=a(4526),d=a(1870),p=a(2660),h=a(1218),g=a(850),v=a(4538),f=a(4516),k=a(7915);const __=s.__,w=()=>{const{detail:e}=(0,o.A)("protect"),{isPluginActive:t=!1,hasPaidPlanForProduct:a}=e||{},{isSiteConnected:c}=(0,d.A)(),{protect:{scanData:n}}=(0,u.A$)(),{plugins:r,themes:s,num_threats:i=0}=n||{},m=(0,l.useMemo)((()=>{const{core:e,database:t,files:a,num_plugins_threats:c,num_themes_threats:i}=n||{};return[...c?r.reduce(((e,t)=>e.concat(t.threats)),[]):[],...i?s.reduce(((e,t)=>e.concat(t.threats)),[]):[],...e?.threats??[],...t,...a].reduce(((e,t)=>t.severity>=5?e+=1:e),0)}),[r,s,n]);return t&&c?a?i?React.createElement(E,{numThreats:i,criticalThreatCount:m}):React.createElement(y,{status:"success"}):i?React.createElement(E,{numThreats:i}):React.createElement(y,{status:"partial"}):React.createElement(y,{status:"off"})};function E({numThreats:e,criticalThreatCount:t}){const{recordEvent:a}=(0,m.A)(),s=(0,l.useRef)(),o=(0,r.useViewportMatch)("medium","<"),[u,d]=(0,l.useState)(!1),g=(0,k.T)(),{scanThreatsTooltip:v}=g,f=(0,l.useCallback)((()=>d((t=>(!0==!t&&a("jetpack_protect_card_tooltip_open",{page:"my-jetpack",feature:"jetpack-protect",location:"scan",has_paid_plan:!0,threats:e}),!t)))),[e,a]),w=(0,l.useCallback)((()=>{s.current&&!s.current.contains(s.current.ownerDocument.activeElement)&&d(!1)}),[d,s]);return t?React.createElement(React.Fragment,null,React.createElement("div",{className:(0,i.A)(h.A.valueSectionHeading,"value-section__heading")},__("Threats","jetpack-my-jetpack"),React.createElement("div",{className:"scan-threats__critical-threat-container"},React.createElement("button",{className:"info-tooltip__button",onClick:f,ref:s},React.createElement(c.A,{className:"scan_threats__icon-critical",icon:"info",size:14}),React.createElement("span",{className:"scan-threats__critical-threat-count"},t)),u&&React.createElement(n.Popover,{placement:o?"top-end":"right",noArrow:!1,offset:10,focusOnMount:"container",onClose:w},React.createElement("div",{className:"info-tooltip__content"},React.createElement("h3",null,v.title),React.createElement("p",null,v.text))))),React.createElement("div",{className:"value-section__data"},React.createElement("div",{className:"scan-threats__critical-threats"},React.createElement("div",{className:"scan-threats__threat-count"},e)))):React.createElement(React.Fragment,null,React.createElement("div",{className:(0,i.A)(h.A.valueSectionHeading,"value-section__heading")},__("Threats","jetpack-my-jetpack"),React.createElement(p.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"threats",feature:"jetpack-protect",has_paid_plan:!0,threats:e}},React.createElement("h3",null,v.title),React.createElement("p",null,v.text))),React.createElement("div",{className:"value-section__data"},React.createElement("div",{className:"scan-threats__threat-count"},e)))}function y({status:e}){const t=(0,k.T)(),{scanThreatsTooltip:a}=t;return"success"===e?React.createElement(React.Fragment,null,React.createElement("div",{className:h.A.valueSectionHeading},__("Scan","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:f,alt:__("Shield icon - Scan Status: Secure","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Secure","jetpack-my-jetpack")))):"partial"===e?React.createElement(React.Fragment,null,React.createElement("div",{className:(0,i.A)(h.A.valueSectionHeading,"value-section__heading")},__("Scan","jetpack-my-jetpack"),React.createElement(p.I,{tracksEventName:"protect_card_tooltip_open",tracksEventProps:{location:"scan",status:e,feature:"jetpack-protect",has_paid_plan:!1,threats:0}},React.createElement("h3",null,a.title),React.createElement("p",null,a.text))),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:v,alt:__("Shield icon - Scan Status: Partial","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Partial","jetpack-my-jetpack")))):React.createElement(React.Fragment,null,React.createElement("div",{className:h.A.valueSectionHeading},__("Scan","jetpack-my-jetpack")),React.createElement("div",{className:"value-section__data"},React.createElement("div",null,React.createElement("img",{className:"value-section__status-icon",src:g,alt:__("Shield icon - Scan Status: Off","jetpack-my-jetpack")})),React.createElement("div",{className:"value-section__status-text"},__("Off","jetpack-my-jetpack"))))}},2584:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var c=a(7723),n=a(1609),r=a(4923),s=a(8242),i=a(4542);const __=c.__,_n=c._n,l=()=>{const{detail:e}=(0,r.A)("protect"),{isPluginActive:t=!1}=e||{},{plugins:a,themes:l,protect:{scanData:o}}=(0,s.A$)(),{plugins:u,themes:m,last_checked:d=null}=o||{},p=u.length||Object.keys(a).length,h=m.length||Object.keys(l).length,g=!!d&&(0,i._)(Date.parse(d));return(0,n.useMemo)((()=>t?g?(0,c.sprintf)(/* translators: %s is how long ago since the last scan took place, i.e.- "17 hours ago" */ __("Last scan: %s","jetpack-my-jetpack"),g):null:(0,c.sprintf)(/* translators: %d is the number of plugins installed on the site. */ @@ -86,7 +74,7 @@ __("Wait for %d days to reset your limit, or upgrade now to a higher tier for ad __("Wait for %d days to reset your limit, per our fair usage policy.","jetpack-my-jetpack"),Math.floor((new Date(T?.nextStart||null)-new Date)/864e5)),{link:React.createElement("a",{href:(0,c.A)("ai-product-page-fair-usage-policy"),target:"_blank",rel:"noreferrer"})}),fe=D?ge:ve,ke=__("Reach for More with Jetpack AI! Upgrade now for additional requests and keep your momentum going.","jetpack-my-jetpack"),we=(0,d.sprintf)( // translators: %s is the next upgrade value __("Get %s requests","jetpack-my-jetpack"),O?.value||"more"),Ee=__("Upgrade now","jetpack-my-jetpack"),ye=(0,R.A)("/add-jetpack-ai"),{recordEvent:Ae}=(0,A.A)(),be=(0,E.useCallback)((()=>{Ae("jetpack_ai_upgrade_contact_us",{placement:"product-page"})}),[Ae]),je=(0,E.useCallback)((()=>{Ae("jetpack_ai_upgrade_button",{placement:"product-page",context:"my-jetpack",current_tier_slug:B?.slug||"",requests_count:I}),ye()}),[Ae,I,B,ye]),Re=(0,E.useCallback)((()=>N(!1)),[]);(0,E.useEffect)((()=>{Ae("jetpack_ai_myjetpack_product_page_view",{current_tier_slug:B?.slug||"",requests_count:I})}),[I,B?.slug,Ae]),(0,E.useEffect)((()=>{N(se||ie)}),[se,ie]);const _e=React.createElement("span",{className:C.A["product-interstitial__new-badge"]},__("New","jetpack-my-jetpack")," ");return React.createElement(n.A,{showHeader:!1,showBackground:!0},React.createElement(r.A,{fluid:!0,horizontalSpacing:3,horizontalGap:2},React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__section-wrapper-wide"]},React.createElement(_.A,{onClick:e})),React.createElement("div",{className:(0,f.A)(C.A["product-interstitial__section-wrapper-wide"],C.A["product-interstitial__product-header"])},React.createElement(i.A,null),React.createElement("div",{className:C.A["product-interstitial__product-header-name"]},__("AI Assistant","jetpack-my-jetpack")))),React.createElement(s.A,{className:(0,f.A)(C.A["product-interstitial__section"])},React.createElement("div",{className:C.A["product-interstitial__hero-section"]},React.createElement("div",{className:C.A["product-interstitial__hero-content"]},React.createElement("h1",{className:C.A["product-interstitial__hero-heading"]},a),React.createElement("div",{className:C.A["product-interstitial__hero-sub-heading"]},__("Draft, transform, translate, and alter both new and existing content leveraging the capabilities of AI, inside the block editor.","jetpack-my-jetpack")),!J&&!q&&React.createElement(u.Button,{variant:"primary",onClick:je,className:C.A["product-interstitial__hero-cta"]},__("Get more requests","jetpack-my-jetpack")),J&&React.createElement(u.Button,{variant:"primary",onClick:be,href:K,className:C.A["product-interstitial__hero-cta"]},__("Contact Us","jetpack-my-jetpack"))),React.createElement("div",{className:C.A["product-interstitial__hero-side"]},W&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(l.KH,null),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},D?de:me),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},ue))),Q&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("All-time requests used","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},I))),U&&React.createElement(u.Card,{className:C.A["stats-card"]},React.createElement(p.A,{icon:h.A,className:C.A["stats-card-icon-check"]}),React.createElement("div",null,React.createElement("div",{className:C.A["product-interstitial__stats-card-text"]},__("Free requests available","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__stats-card-value"]},$)))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},w&&React.createElement("div",{className:C.A["product-interstitial__ai-notice"]},React.createElement(o.A,{actions:D?[React.createElement(u.Button,{key:"upgrade",isPrimary:!0,onClick:je},se?we:Ee)]:{},onClose:Re,level:se?"warning":"error",title:se?pe:he},se?fe:ke)),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("AI Features","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Discover all the Jetpack features powered by AI","jetpack-my-jetpack")),React.createElement("div",{className:C.A["product-interstitial__usage-videos"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/2OU6GCMs?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F07%2Fjetpack-ai-breve-poster.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:H}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},H,_e),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Simplify your writing with AI suggestions to fix long sentences and complex words and sound more confident. As you type, check your Reading grade score to make sure it suits your audience.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ae},__("Learn more","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/GdXmtVtW?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-37.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:z}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},z),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use the AI block to generate content, or use our AI edit options in existing blocks. Use prompts or any of our recommended actions.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:v.A,href:ce},M?ne:re))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/HJCf8cXc?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fone-click-featured-images.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:S}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},S),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Create featured images to illustrate your content and make it more engaging with just one click. Use prompts to generate adjusted new featured images.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:Y},__("Learn about featured images","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/xjy2weWj?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F06%2Fjetpack-ai-title-optimization.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:L}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},L),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Use AI to generate title suggestions based on your content, each with an explanation of why it works better. Save time and create engaging, SEO-friendly titles.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:X},__("Learn about Jetpack SEO tools","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/OMI3zqid?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-38.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:P}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},P),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Quickly build forms using the Jetpack Forms block and AI. Use prompts to describe your form and AI will generate the elements in a few seconds.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:ee},__("Learn about forms","jetpack-my-jetpack")))),React.createElement("div",{className:C.A["product-interstitial__usage-videos-item"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-video"]},React.createElement("iframe",{width:"280",height:"157",src:"https://videopress.com/embed/0vb0OJm7?posterUrl=https%3A%2F%2Fjetpackme.files.wordpress.com%2F2024%2F02%2Fimage-39.png%3Fw%3D560",allowFullScreen:!0,allow:"clipboard-write",title:V}),React.createElement("script",{src:"https://videopress.com/videopress-iframe.js"})),React.createElement("div",{className:C.A["product-interstitial__usage-videos-content"]},React.createElement("div",{className:C.A["product-interstitial__usage-videos-heading"]},V),React.createElement("div",{className:C.A["product-interstitial__usage-videos-text"]},__("Get instant feedback on your post before publishing. AI will read your post and highlight opportunities to improve your publication.","jetpack-my-jetpack")),React.createElement(u.Button,{className:C.A["product-interstitial__usage-videos-link"],icon:g.A,target:"_blank",href:te},__("Learn more","jetpack-my-jetpack"))))))),React.createElement(s.A,{className:C.A["product-interstitial__section"]},React.createElement("div",{className:C.A["product-interstitial__section-wrapper"]},React.createElement("div",{className:C.A["product-interstitial__section-emoji"]},"👋"),React.createElement("h2",{className:C.A["product-interstitial__section-heading"]},__("Do you have any feedback?","jetpack-my-jetpack")),React.createElement("p",{className:C.A["product-interstitial__section-sub-heading"]},__("Help us improving the accuracy of our results and feel free to give us ideas for future implementations and improvements.","jetpack-my-jetpack")," ",React.createElement(u.ExternalLink,{href:Z},__("Share your feedback!","jetpack-my-jetpack")))))))}},7265:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var c=a(1040),n=a(7723),r=a(1504),s=a(280),i=a(1870),l=a(8252);const __=n.__;function o(){const{userConnectionData:e,isSiteConnected:t}=(0,i.A)(),a=e?.currentUser?.wpcomUser?.display_name||e?.currentUser?.wpcomUser?.login||e?.currentUser?.username,{isLoading:n,data:o}=(0,s.A)({name:r.Ck,query:{path:r.tb},options:{enabled:t}});if(n)return React.createElement(React.Fragment,null,__("Checking gold status…","jetpack-my-jetpack"));const u=(0,l.M)(o);return React.createElement(React.Fragment,null,React.createElement(c._,{tokenRedeemed:u,displayName:a}))}},9654:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var c=a(7723),n=a(1113),r=a(5788),s=a(1871),i=a(6994),l=a(1609),o=a.n(l),u=a(3),m=a(3336),d=a(3747);const __=c.__,p=({counts:e,previousCounts:t})=>o().createElement("div",{className:d.A["section-stats-highlights"]},o().createElement("h3",{className:d.A["section-title"]},o().createElement("span",null,__("7-day highlights","jetpack-my-jetpack")),o().createElement("small",{className:d.A["section-description"]},__("Compared to previous period","jetpack-my-jetpack"))),o().createElement("div",{className:d.A["cards-list"]},o().createElement(u.A,{heading:__("Views","jetpack-my-jetpack"),icon:o().createElement(n.A,{icon:m.A}),count:e?.views,previousCount:t?.views}),o().createElement(u.A,{heading:__("Visitors","jetpack-my-jetpack"),icon:o().createElement(n.A,{icon:r.A}),count:e?.visitors,previousCount:t?.visitors}),o().createElement(u.A,{heading:__("Likes","jetpack-my-jetpack"),icon:o().createElement(n.A,{icon:s.A}),count:e?.likes,previousCount:t?.likes}),o().createElement(u.A,{heading:__("Comments","jetpack-my-jetpack"),icon:o().createElement(n.A,{icon:i.A}),count:e?.comments,previousCount:t?.comments})))},3:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var c=a(6427),n=a(1113),r=a(6955),s=a(2510),i=a(3022),l=a(8120),o=a.n(l),u=a(1609),m=a.n(u),d=a(6581),p=a(3747);const h=({count:e=0,previousCount:t=0,icon:a,heading:l})=>{const o=(h=t,"number"!=typeof(u=e)||"number"!=typeof h?null:u-h);var u,h;const g=Math.abs(o),v=Number.isFinite(o)?((e,t)=>{if("number"!=typeof e||"number"!=typeof t)return null;if(0===e&&0===t)return 0;const a=e/t*100;return Math.abs(a)===1/0?100:Math.round(a)})(g,t):null;return m().createElement(c.Card,{className:p.A["stats-card"]},a&&m().createElement("div",{className:p.A["stats-card-icon"]},a),l&&m().createElement("div",{className:p.A["stats-card-heading"]},l),m().createElement("div",{className:p.A["stats-card-count"]},m().createElement("span",{className:p.A["stats-card-count-value"],title:Number.isFinite(e)?String(e):void 0},(0,d.A)(e)),null!==o?m().createElement("span",{className:(0,i.A)(p.A["stats-card-difference"],{[p.A["stats-card-difference--positive"]]:o<0,[p.A["stats-card-difference--negative"]]:o>0})},m().createElement("span",{className:p.A["stats-card-difference-icon"],title:String(o)},o<0&&m().createElement(n.A,{size:18,icon:r.A}),o>0&&m().createElement(n.A,{size:18,icon:s.A})),m().createElement("span",{className:p.A["stats-card-difference-absolute-value"]},g>9999?(0,d.A)(g):(0,d.A)(g,{})),null!==v&&m().createElement("span",{className:p.A["stats-card-difference-absolute-percentage"]},"(",v,"%)")):null))};h.propTypes={count:o().number,heading:o().node,icon:o().node,previousCount:o().number};const g=h},3336:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var c=a(6427);const n=React.createElement(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(c.Path,{d:"m4 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.071-.122.18-.302.329-.52.298-.435.749-1.017 1.359-1.598C7.673 9.883 9.498 8.75 12 8.75s4.326 1.132 5.545 2.293c.61.581 1.061 1.163 1.36 1.599a8.29 8.29 0 0 1 .422.689l.002.005L20 13l.67-.336v-.003l-.003-.005-.008-.015-.028-.052a9.752 9.752 0 0 0-.489-.794 11.6 11.6 0 0 0-1.562-1.838C17.174 8.617 14.998 7.25 12 7.25S6.827 8.618 5.42 9.957c-.702.669-1.22 1.337-1.563 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.002.005-.001.002v.001L4 13Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"}))},1035:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var c=a(7723),n=a(1609),r=a(8837),s=a(1504),i=a(4923),l=a(280),o=a(8242),u=a(4526),m=a(1870),d=a(6176),p=a(9654);const __=c.__,h=()=>{const e="stats",{blogID:t,isSiteConnected:a}=(0,m.A)(),{detail:c}=(0,i.A)(e),{status:h}=c,g=!!(0,o.A$)("userIsAdmin"),{data:v}=(0,l.A)({name:s.MB,query:{path:(0,s.IM)(t)},options:{enabled:a}}),f=v?.past_seven_days||{},k=v?.between_past_eight_and_fifteen_days||{},{recordEvent:w}=(0,u.A)(),E=(0,n.useCallback)((()=>{w("jetpack_myjetpack_stats_card_seedetailedstats_click",{product:e})}),[w]),y=(0,n.useCallback)((()=>!(h!==r.hp.CAN_UPGRADE)),[h]),A={href:"admin.php?page=stats",label:__("View detailed stats","jetpack-my-jetpack"),onClick:E,shouldShowButton:y},b={[r.hp.ACTIVE]:{label:__("View detailed stats","jetpack-my-jetpack")},[r.hp.SITE_CONNECTION_ERROR]:{label:__("Connect Jetpack to use Stats","jetpack-my-jetpack")},[r.hp.NEEDS_FIRST_SITE_CONNECTION]:{href:`#/add-${e}`}};return React.createElement(d.A,{admin:g,slug:e,primaryActionOverride:b,secondaryAction:A,showMenu:!0},React.createElement(p.A,{counts:f,previousCounts:k}))}},7881:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var c=a(8509),n=a(7425),r=a(5879),s=a(1112),i=a(7723),l=a(6312),o=a(5225);const __=i.__,u=({isActivating:e})=>{const t=__("Activate Jetpack in one click","jetpack-my-jetpack"),{connectSite:a}=(0,l.A)({tracksInfo:{event:"jetpack_myjetpack_welcome_banner_connect_site",properties:{}}});return React.createElement(React.Fragment,null,React.createElement(c.A,{sm:6,md:8,lg:6,className:o.A["banner-description"]},React.createElement(n.Ay,{variant:"headline-small",mb:3},__("Welcome to Jetpack!","jetpack-my-jetpack")),React.createElement(n.Ay,{variant:"body",mb:2},__("Unlock the power of your WordPress site with Jetpack, the complete toolkit for enhancing your site’s security, speed, and growth.","jetpack-my-jetpack")),React.createElement(n.Ay,{variant:"body",mb:2},__("Jetpack works behind the scenes to keep your site safe, make it lightning-fast, and to help you get more traffic.","jetpack-my-jetpack")),React.createElement(r.A,{agreeButtonLabel:t,mb:4}),React.createElement(s.A,{variant:"primary",disabled:e,isLoading:e,onClick:a},e?__("Activating…","jetpack-my-jetpack"):t)),React.createElement(c.A,{sm:6,md:8,lg:6,className:o.A["banner-image"]}))}},6259:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var c=a(8509),n=a(7425),r=a(1112),s=a(6427),i=a(7723),l=a(3022),o=a(1609),u=a(5225);const __=i.__,m={protect:__("Protect my site","jetpack-my-jetpack"),performance:__("Improve my site‘s performance","jetpack-my-jetpack"),audience:__("Grow my audience","jetpack-my-jetpack"),content:__("Create quality content","jetpack-my-jetpack"),unsure:__("I don‘t know","jetpack-my-jetpack")},d={protect:!1,performance:!1,audience:!1,content:!1,unsure:!1},p=({onSkipOnboarding:e,onSubmitEvaluation:t})=>{const[a,i]=(0,o.useState)(d),p=(0,o.useCallback)((e=>t=>{i((a=>({...a,[e]:t})))}),[i]),h=(0,o.useCallback)((()=>t(a)),[t,a]),g=Object.values(a).some((e=>e));return React.createElement(React.Fragment,null,React.createElement(c.A,{sm:6,md:8,lg:6,className:u.A["banner-description"]},React.createElement(n.Ay,{variant:"headline-small",mb:3},__("What would you like Jetpack to do?","jetpack-my-jetpack")),React.createElement(n.Ay,{variant:"body",mb:2},__("Jetpack does a lot. Select the items that are most important to you and we‘ll find the Jetpack tools that are the best match for your site.","jetpack-my-jetpack")),React.createElement("form",{className:u.A.form},Object.entries(m).map((([e,t])=>React.createElement(s.CheckboxControl,{key:e,className:u.A["form-checkbox"],label:t,checked:a[e],onChange:p(e),__nextHasNoMarginBottom:!0}))),React.createElement("div",{className:u.A["form-actions"]},React.createElement(r.A,{variant:"primary",text:__("See solutions","jetpack-my-jetpack"),onClick:h,disabled:!g}),React.createElement(r.A,{variant:"link",className:u.A["form-link-action"],text:__("Skip onboarding","jetpack-my-jetpack"),onClick:e})))),React.createElement(c.A,{sm:6,md:8,lg:6,className:(0,l.A)(u.A["banner-image-evaluation"],{[u.A["is-selected"]]:g})}))}},5157:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var c=a(8509),n=a(7425),r=a(6427),s=a(7723),i=a(3022),l=a(369),o=a(5225);const __=s.__,u=()=>React.createElement(r.SVG,{className:o.A.logo,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(r.Path,{className:o.A["circle-outline"],d:"M44 86C67.196 86 86 67.196 86 44C86 20.804 67.196 2 44 2C20.804 2 2 20.804 2 44C2 67.196 20.804 86 44 86Z",stroke:"#003010",strokeWidth:"1"}),React.createElement(r.Path,{className:o.A["triangles-outline"],d:"M41.7319 8.73633V51.3088H19.8159L41.7319 8.73633ZM46.1835 79.2694V36.6129H68.1835L46.1835 79.2694Z",stroke:"#003010",strokeWidth:"1"}),React.createElement(r.Path,{className:o.A["circle-fill"],d:"M44 88C68.3005 88 88 68.3005 88 44C88 19.6995 68.3005 0 44 0C19.6995 0 0 19.6995 0 44C0 68.3005 19.6995 88 44 88Z",fill:"#003010"}),React.createElement(r.Path,{className:o.A["triangles-fill"],fillRule:"evenodd",clipRule:"evenodd",d:"M41.7319 8.73633V51.3088H19.8159L41.7319 8.73633ZM46.1835 79.2694V36.6129H68.1835L46.1835 79.2694Z",fill:"#48FF50"})),m=({type:e,isReady:t})=>{if("connecting"===e){const e=__("Connecting Jetpack","jetpack-my-jetpack"),a=__("Getting things ready in the background — almost there!","jetpack-my-jetpack"),r=(0,s.sprintf)(/* translators: %s: is an emoji */ -__("Jetpack is connected %s","jetpack-my-jetpack"),"🎉"),l=__("You’re connected and ready to fly!","jetpack-my-jetpack");return React.createElement(c.A,{className:o.A["loading-banner"]},React.createElement("div",{className:(0,i.A)(o.A["loader-container"],{[o.A["connection-ready"]]:t})},React.createElement(u,null)),React.createElement(n.Ay,{variant:"headline-small",mb:1},t?r:e),React.createElement(n.Ay,{variant:"body"},t?l:a))}return"recommendations"===e?React.createElement(c.A,{className:o.A["loading-banner"]},React.createElement("div",{className:(0,i.A)(o.A["loader-container"],o.A.recommendations)},React.createElement(l.A,null),React.createElement(u,null)),React.createElement(n.Ay,{variant:"headline-small",mb:1},__("Crafting your unique journey","jetpack-my-jetpack")),React.createElement(n.Ay,{variant:"body"},__("Hang tight while we personalize recommendations to suit your style.","jetpack-my-jetpack"))):React.createElement(React.Fragment,null)}},369:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(6427),n=a(5225);const r=()=>React.createElement(c.SVG,{className:n.A["products-icons"],width:"379",height:"157",viewBox:"0 0 379 157",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(c.G,{className:n.A.people},React.createElement(c.Rect,{x:"334.012",y:"49.7305",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M359.516 70.8799C360.852 70.8799 361.935 69.7967 361.935 68.4604C361.935 67.1242 360.852 66.041 359.516 66.041C358.179 66.041 357.096 67.1242 357.096 68.4604C357.096 69.7967 358.179 70.8799 359.516 70.8799ZM359.516 69.4282C360.05 69.4282 360.483 68.9949 360.483 68.4604C360.483 67.926 360.05 67.4927 359.516 67.4927C358.981 67.4927 358.548 67.926 358.548 68.4604C358.548 68.9949 358.981 69.4282 359.516 69.4282Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M357.338 76.6865V74.7509C357.338 73.2811 356.147 72.0896 354.677 72.0896H350.806C349.336 72.0896 348.144 73.2811 348.144 74.7509V76.6865H349.596V74.7509C349.596 74.0828 350.138 73.5412 350.806 73.5412H354.677C355.345 73.5412 355.886 74.0828 355.886 74.7509V76.6865H357.338Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M364.112 74.7509V76.6865H362.661V74.7509C362.661 74.0828 362.119 73.5412 361.451 73.5412H359.032V72.0896H361.451C362.921 72.0896 364.112 73.2811 364.112 74.7509Z",fill:"#0CED57"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M355.161 68.4604C355.161 69.7967 354.077 70.8799 352.741 70.8799C351.405 70.8799 350.322 69.7967 350.322 68.4604C350.322 67.1242 351.405 66.041 352.741 66.041C354.077 66.041 355.161 67.1242 355.161 68.4604ZM353.709 68.4604C353.709 68.9949 353.276 69.4282 352.741 69.4282C352.207 69.4282 351.773 68.9949 351.773 68.4604C351.773 67.926 352.207 67.4927 352.741 67.4927C353.276 67.4927 353.709 67.926 353.709 68.4604Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.videopress},React.createElement(c.Rect,{x:"280",y:"10",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M294.5269 25.5844C295.3517 25.5844 296.0764 26.1303 296.3023 26.9219L298.5352 34.7481C298.5375 34.756 298.5411 34.7632 298.5459 34.7696L301.1912 25.5844H302.6711H306.7619C309.6292 25.5844 311.5512 27.4457 311.5512 30.2635C311.5512 33.1136 309.5788 34.8909 306.6359 34.8909H304.695H302.1939L301.708 36.3915C301.2723 37.7373 300.0165 38.6493 298.599 38.6493C297.1815 38.6493 295.9258 37.7373 295.49 36.3915L292.7704 27.9923C292.3853 26.8029 293.2742 25.5844 294.5269 25.5844ZM303.0979 32.0989H305.9301C307.1589 32.0989 307.8962 31.3945 307.8962 30.2635C307.8962 29.126 307.1589 28.4539 305.9301 28.4539H304.2781L303.0979 32.0989Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.shield},React.createElement(c.Rect,{x:"14.0122",y:"80.7305",width:"76.212",height:"76.212",rx:"38.106",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M51.9558 104.023L63.163 109.118V116.712C63.163 123.185 59.0053 129.315 53.1424 131.248C52.372 131.502 51.5396 131.502 50.7692 131.248C44.9063 129.315 40.7485 123.185 40.7485 116.712V109.118L51.9558 104.023ZM43.239 110.721V116.712C43.239 122.212 46.8007 127.317 51.5492 128.883C51.813 128.97 52.0986 128.97 52.3624 128.883C57.1109 127.317 60.6725 122.212 60.6725 116.712V110.721L51.9558 106.759L43.239 110.721Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.akismet},React.createElement(c.Rect,{x:"69.0122",y:"20.7305",width:"54.212",height:"54.212",rx:"27.106",fill:"#003010"}),React.createElement(c.Path,{d:"M97.9649 38.592L103.765 53.9038C104.265 55.2138 105.034 55.6888 106.348 55.7997C106.396 55.8019 106.443 55.814 106.486 55.8352C106.529 55.8564 106.568 55.8862 106.599 55.9229C106.63 55.9595 106.654 56.0022 106.668 56.0483C106.682 56.0944 106.687 56.143 106.681 56.191C106.683 56.2405 106.675 56.2899 106.658 56.3364C106.641 56.3828 106.615 56.4254 106.581 56.4616C106.547 56.4978 106.507 56.527 106.462 56.5473C106.417 56.5677 106.368 56.5789 106.319 56.5803H99.9659C99.9145 56.5816 99.8634 56.5724 99.8157 56.5533C99.768 56.5342 99.7246 56.5055 99.6882 56.4692C99.6518 56.4328 99.6231 56.3894 99.6039 56.3416C99.5846 56.2937 99.5752 56.2425 99.5762 56.191C99.5724 56.1409 99.579 56.0906 99.5956 56.0433C99.6121 55.9959 99.6382 55.9525 99.6722 55.9158C99.7063 55.8791 99.7475 55.8498 99.7934 55.8298C99.8392 55.8098 99.8887 55.7996 99.9387 55.7997C100.577 55.7997 101.3 55.6323 101.3 54.8517C101.294 54.5262 101.228 54.2047 101.104 53.9038L99.7121 50.1936C99.6559 50.0262 99.6287 49.9698 99.462 49.9698H94.1604C93.3266 49.9698 92.2989 49.9698 91.8258 51.0306L90.5571 53.9038C90.4281 54.1644 90.3523 54.4484 90.3341 54.7389C90.3341 55.7433 91.641 55.7997 92.3279 55.7997C92.3779 55.7996 92.4274 55.8098 92.4732 55.8298C92.5191 55.8498 92.5603 55.8791 92.5944 55.9158C92.6284 55.9525 92.6545 55.9959 92.671 56.0433C92.6876 56.0906 92.6942 56.1409 92.6904 56.191C92.6914 56.2426 92.682 56.2939 92.6626 56.3417C92.6432 56.3896 92.6143 56.433 92.5777 56.4692C92.541 56.5055 92.4974 56.5339 92.4495 56.5527C92.4016 56.5715 92.3503 56.5803 92.2989 56.5785H86.662C86.6107 56.5798 86.5597 56.5706 86.5121 56.5514C86.4645 56.5323 86.4212 56.5037 86.3849 56.4673C86.3487 56.4308 86.3201 56.3874 86.3011 56.3396C86.282 56.2918 86.2729 56.2406 86.2741 56.1891C86.2703 56.1391 86.2769 56.0888 86.2935 56.0415C86.31 55.9941 86.3361 55.9507 86.3702 55.914C86.4042 55.8772 86.4454 55.848 86.4913 55.828C86.5371 55.808 86.5866 55.7978 86.6366 55.7979C87.9978 55.7142 88.4491 55.0701 88.9693 53.9019L95.6648 39.1761C95.9711 38.5338 96.6381 37.977 97.2489 37.977C97.6875 37.9788 97.8271 38.2299 97.9649 38.592ZM92.8898 48.576C92.8562 48.6257 92.8368 48.6835 92.8336 48.7434C92.8336 48.7998 92.8898 48.8271 93.0004 48.8271H98.5014C98.8892 48.8271 99.056 48.7434 99.056 48.4923C99.0555 48.3663 99.027 48.242 98.9726 48.1284L97.4447 43.9998C97.0822 43.0518 96.5565 41.7981 96.3898 40.7646C96.3898 40.71 96.3608 40.6809 96.3336 40.6809C96.3064 40.6809 96.2792 40.71 96.2792 40.7646C96.0706 41.4752 95.8007 42.1662 95.4726 42.8298L92.8898 48.576Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M97.9649 38.592L103.765 53.9038C104.265 55.2138 105.034 55.6888 106.348 55.7997C106.396 55.8019 106.443 55.814 106.486 55.8352C106.529 55.8564 106.568 55.8862 106.599 55.9229C106.63 55.9595 106.654 56.0022 106.668 56.0483C106.682 56.0944 106.687 56.143 106.681 56.191C106.683 56.2405 106.675 56.2899 106.658 56.3364C106.641 56.3828 106.615 56.4254 106.581 56.4616C106.547 56.4978 106.507 56.527 106.462 56.5473C106.417 56.5677 106.368 56.5789 106.319 56.5803H99.9659C99.9145 56.5816 99.8634 56.5724 99.8157 56.5533C99.768 56.5342 99.7246 56.5055 99.6882 56.4692C99.6518 56.4328 99.6231 56.3894 99.6039 56.3416C99.5846 56.2938 99.5752 56.2425 99.5762 56.191C99.5724 56.1409 99.579 56.0906 99.5956 56.0433C99.6121 55.9959 99.6382 55.9525 99.6722 55.9158C99.7063 55.8791 99.7475 55.8498 99.7934 55.8298C99.8392 55.8098 99.8887 55.7996 99.9387 55.7997C100.577 55.7997 101.3 55.6323 101.3 54.8517C101.294 54.5262 101.228 54.2047 101.104 53.9038L99.7121 50.1936C99.6559 50.0262 99.6287 49.9698 99.462 49.9698H94.1604C93.3266 49.9698 92.2989 49.9698 91.8258 51.0306L90.5571 53.9038C90.4281 54.1644 90.3523 54.4484 90.3341 54.7389C90.3341 55.7433 91.641 55.7997 92.3279 55.7997C92.3779 55.7996 92.4274 55.8098 92.4732 55.8298C92.5191 55.8498 92.5603 55.8791 92.5944 55.9158C92.6284 55.9525 92.6545 55.9959 92.671 56.0433C92.6876 56.0906 92.6942 56.1409 92.6904 56.191C92.6914 56.2426 92.682 56.2939 92.6626 56.3417C92.6432 56.3896 92.6143 56.433 92.5777 56.4692C92.541 56.5055 92.4974 56.5339 92.4495 56.5527C92.4016 56.5715 92.3503 56.5803 92.2989 56.5785H86.662C86.6107 56.5798 86.5597 56.5706 86.5121 56.5514C86.4645 56.5323 86.4212 56.5037 86.3849 56.4673C86.3487 56.4308 86.3201 56.3874 86.3011 56.3396C86.282 56.2918 86.2729 56.2406 86.2741 56.1891C86.2703 56.1391 86.2769 56.0888 86.2935 56.0415C86.31 55.9941 86.3361 55.9507 86.3702 55.914C86.4042 55.8772 86.4454 55.848 86.4913 55.828C86.5371 55.808 86.5866 55.7978 86.6366 55.7979C87.9978 55.7142 88.4491 55.0701 88.9693 53.9019L95.6648 39.1761C95.9711 38.5338 96.6381 37.977 97.2489 37.977C97.6875 37.9788 97.8271 38.2299 97.9649 38.592ZM92.8898 48.576C92.8562 48.6257 92.8368 48.6835 92.8336 48.7434C92.8336 48.7998 92.8898 48.8271 93.0004 48.8271H98.5014C98.8892 48.8271 99.056 48.7434 99.056 48.4923C99.0555 48.3663 99.027 48.242 98.9726 48.1284L97.4447 43.9998C97.0822 43.0518 96.5565 41.7981 96.3898 40.7646C96.3898 40.71 96.3608 40.6809 96.3336 40.6809C96.3064 40.6809 96.2792 40.71 96.2792 40.7646C96.0706 41.4752 95.8007 42.1662 95.4726 42.8298L92.8898 48.576Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M108.413 47.9182C108.413 48.6351 108.008 49.0409 107.278 49.0409C106.547 49.0409 106.257 48.6679 106.257 48.0983C106.257 47.3814 106.68 46.9756 107.392 46.9756C108.104 46.9756 108.413 47.365 108.413 47.9182Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M86.6465 47.9408C86.6465 48.6559 86.2405 49.0635 85.5119 49.0635C84.7832 49.0635 84.4878 48.6887 84.4878 48.1191C84.4878 47.404 84.9101 46.9965 85.6224 46.9965C86.3348 46.9965 86.6465 47.3877 86.6465 47.9408Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.stars},React.createElement(c.Rect,{x:"168.012",y:"0.730469",width:"76.212",height:"76.212",rx:"38.106",fill:"#003010"}),React.createElement(c.Path,{d:"M197.184 24.5478L198.7 28.3908L202.543 29.9064L198.7 31.4221L197.184 35.2651L195.668 31.4221L191.825 29.9064L195.668 28.3908L197.184 24.5478Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M213.26 24.5477L215.281 29.6717L220.405 31.6925L215.281 33.7134L213.26 38.8374L211.239 33.7134L206.115 31.6925L211.239 29.6717L213.26 24.5477Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M204.329 35.2649L206.855 41.6699L213.26 44.196L206.855 46.7221L204.329 53.1271L201.803 46.7221L195.398 44.196L201.803 41.6699L204.329 35.2649Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.search},React.createElement(c.Rect,{x:"250.012",y:"76.7305",width:"56.212",height:"56.212",rx:"28.106",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M287.184 103.116C287.184 107.306 283.788 110.702 279.599 110.702C277.846 110.702 276.232 110.107 274.948 109.109L270.156 113.9L268.815 112.56L273.607 107.768C272.608 106.483 272.014 104.869 272.014 103.116C272.014 98.9272 275.41 95.5312 279.599 95.5312C283.788 95.5312 287.184 98.9272 287.184 103.116ZM285.288 103.116C285.288 106.258 282.741 108.805 279.599 108.805C276.457 108.805 273.91 106.258 273.91 103.116C273.91 99.9745 276.457 97.4275 279.599 97.4275C282.741 97.4275 285.288 99.9745 285.288 103.116Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.social},React.createElement(c.Rect,{x:"0.012207",y:"21.7305",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M25.3608 37.4654V48.3956L18.9181 46.5084V49.9341H17.7104L17.7104 46.1546L15.518 45.5124C14.6693 45.2638 14.0889 44.5075 14.0889 43.6503V42.2107C14.0889 41.3535 14.6693 40.5972 15.518 40.3486L25.3608 37.4654ZM24.1531 46.822L18.9181 45.2885L18.9181 40.5725L24.1531 39.039V46.822ZM17.7104 40.9263L17.7104 44.9347L15.8682 44.3951C15.5287 44.2957 15.2966 43.9932 15.2966 43.6503V42.2107C15.2966 41.8678 15.5287 41.5653 15.8682 41.4659L17.7104 40.9263ZM26.9733 43.5155H30.1939V42.3481H26.9733V43.5155ZM30.1939 46.8212L26.9733 46.0429V44.8754L30.1939 45.6537V46.8212ZM26.9733 40.9856L30.1939 40.2073V39.0398L26.9733 39.8181V40.9856Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A["empty-circle"]},React.createElement(c.Rect,{x:"110",y:"-30.2695",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"})))},8388:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var c=a(5918),n=a(8509),r=a(1112),s=a(7723),i=a(991),l=a(3022),o=a(1609),u=a(3804),m=a(4393),d=a(9812),p=a(4526),h=a(1870),g=a(2450),v=a(7881),f=a(6259),k=a(5157),w=a(5225);const __=s.__,E=({welcomeFlowExperiment:e,setWelcomeFlowExperiment:t,children:a})=>{const{recordEvent:s}=(0,p.A)(),{dismissWelcomeBanner:E}=(0,d.A)(),{recommendedModules:y,submitEvaluation:A,saveEvaluationResult:b}=(0,u.A)(),{siteIsRegistered:j,siteIsRegistering:R,isUserConnected:_,isSiteConnected:C}=(0,h.A)({skipUserConnection:!0}),[x,N]=(0,o.useState)(!1),[M,z]=(0,o.useState)(""),[S,L]=(0,o.useState)(null);(0,o.useEffect)((()=>{if("site-connecting"===M&&!R&&j){L(!0);const e=setTimeout((()=>L(!1)),3e3);return()=>clearTimeout(e)}}),[x,M,y,j,R]);const P=(0,o.useMemo)((()=>R||S||j&&"site-connecting"===M&&null===S?"site-connecting":!j||e.isLoading?"connection":x?"evaluation-processing":y||(0,m.A)()?"evaluation":null),[j,S,R,M,e.isLoading,x,y]);(0,o.useEffect)((()=>{M!==P&&(s("jetpack_myjetpack_welcome_banner_step_view",{current_step:P}),z(P))}),[P,M,s]);const V=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_dismiss_click",{current_step:P,is_user_connected:_,is_site_connected:C}),E()}),[s,P,_,C,E]),H=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_skip_recommendations_click"),E()}),[E,s]),I=(0,o.useCallback)((async e=>{const t=Object.keys(e).filter((t=>e[t]));N(!0),s("jetpack_myjetpack_welcome_banner_evaluation_submit",{goals:t});try{const e=await A(t);await b(e),E()}catch{N(!1)}}),[E,s,b,A]);return(0,o.useEffect)((()=>{P||E()}),[P,E]),P?React.createElement(c.A,{horizontalSpacing:6,horizontalGap:2},a&&React.createElement(n.A,null,a),React.createElement(n.A,{lg:12,className:w.A.banner},React.createElement(g.O,{className:(0,l.A)(w.A["banner-card"],"connection"===P&&w.A["is-mandatory"])},React.createElement(c.A,{horizontalSpacing:0,horizontalGap:0,className:w.A["banner-content"]},"connection"===P&&React.createElement(v.A,{onUpdateWelcomeFlowExperiment:t,isActivating:R||e.isLoading}),"evaluation"===P&&React.createElement(f.A,{onSkipOnboarding:H,onSubmitEvaluation:I}),"evaluation-processing"===P&&React.createElement(k.A,{type:"recommendations"}),"site-connecting"===P&&React.createElement(k.A,{type:"connecting",isReady:C}))),React.createElement(r.A,{className:w.A.dismiss,variant:"secondary","aria-label":__("Don’t show the welcome message again","jetpack-my-jetpack"),size:"small",icon:i.A,disabled:R,onClick:V}))):null}},8837:(e,t,a)=>{"use strict";a.d(t,{ED:()=>n,NM:()=>s,OM:()=>c,hp:()=>i,mk:()=>r});const c="my-jetpack-my-plans-manage",n="my-jetpack-my-plans-purchase",r="my-jetpack-my-plans-purchase-no-site",s={Home:"/",Connection:"/connection",ConnectionSkipPricing:"/connection?skip_pricing=true",AddAkismet:"/add-akismet",AddAntiSpam:"/add-anti-spam",AddBackup:"/add-backup",AddBoost:"/add-boost",AddComplete:"/add-complete",AddCRM:"/add-crm",AddJetpackAI:"/add-jetpack-ai",AddExtras:"/add-extras",AddGrowth:"/add-growth",AddProtect:"/add-protect/:feature?",AddScan:"/add-scan",AddSocial:"/add-social",AddSearch:"/add-search",AddSecurity:"/add-security",AddVideoPress:"/add-videopress",AddStats:"/add-stats",AddLicense:"/add-license",JetpackAi:"/jetpack-ai",RedeemToken:"/redeem-token"},i={ACTIVE:"active",INACTIVE:"inactive",MODULE_DISABLED:"module_disabled",SITE_CONNECTION_ERROR:"site_connection_error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PLAN:"needs_plan",NEEDS_ACTIVATION:"needs_activation",NEEDS_FIRST_SITE_CONNECTION:"needs_first_site_connection",USER_CONNECTION_ERROR:"user_connection_error",CAN_UPGRADE:"can_upgrade",EXPIRING_SOON:"expiring",EXPIRED:"expired",NEEDS_ATTENTION__ERROR:"needs_attention_error",NEEDS_ATTENTION__WARNING:"needs_attention_warning"}},3537:(e,t,a)=>{"use strict";a.d(t,{EX:()=>n,PG:()=>c,pv:()=>r});const c=100,n=200,r=300},6007:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,g:()=>r});var c=a(1609);const n={message:"",title:null,options:{level:"info",priority:0}},r=(0,c.createContext)({currentNotice:n,setNotice:null,resetNotice:null}),s=({children:e})=>{const[t,a]=(0,c.useState)(n),s=(0,c.useCallback)((()=>{a(n)}),[]),i=(0,c.useCallback)(((e,c)=>{if(!t.message||e.options.priority>t.options.priority){const t={...e.options,onClose:e.options?.onClose||(e.options?.hideCloseButton?void 0:c)};s(),a({...e,options:t})}}),[t.message,t.options.priority,s]);return React.createElement(r.Provider,{value:{currentNotice:t,setNotice:i,resetNotice:s}},e)}},1521:(e,t,a)=>{"use strict";a.d(t,{l:()=>r});var c=a(7723),n=a(3537);const r={message:(0,c.__)("Site connection failed. Please try again.","jetpack-my-jetpack"),options:{id:"site-connection-error-notice",level:"error",actions:[],priority:n.pv,hideCloseButton:!1}}},6077:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,_:()=>r});var c=a(1609);const n=(0,c.createContext)({state:{},setState:()=>{}}),r=(e,t)=>{const{state:a,setState:r}=(0,c.useContext)(n),{[e]:s=t}=a;(0,c.useEffect)((()=>{void 0===a[e]&&r((a=>({...a,[e]:t})))}),[t,e,r,a]);return[s,(0,c.useCallback)((t=>{r((a=>({...a,[e]:t})))}),[e,r])]},s=({children:e})=>{const[t,a]=(0,c.useState)({});return React.createElement(n.Provider,{value:{state:t,setState:a}},e)}},1504:(e,t,a)=>{"use strict";a.d(t,{AD:()=>m,Ck:()=>_,DB:()=>r,D_:()=>M,Dz:()=>A,FW:()=>f,IM:()=>h,L6:()=>d,MB:()=>j,MD:()=>x,Md:()=>w,O2:()=>l,PM:()=>u,QO:()=>R,Rx:()=>v,Sm:()=>s,_:()=>E,dB:()=>C,gw:()=>b,jE:()=>k,jf:()=>o,no:()=>p,nw:()=>y,pN:()=>N,rR:()=>i,tb:()=>n,xF:()=>g});const c="my-jetpack/v1",n=`${c}/site/purchases`,r=`${c}/site/backup/undo-event`,s=`${c}/site/backup/count-items`,i=`${c}/chat/availability`,l=`${c}/chat/authentication`,o=`${c}/site/products`,u=`${c}/site/products-ownership`,m=`${c}/site/dismiss-welcome-banner`,d=`${c}/site/recommendations/evaluation`,p=`${c}/site/recommendations/evaluation/result`,h=e=>`jetpack/v4/stats-app/sites/${e}/stats/highlights`,g="product",v="product ownership",f="activate product",k="install product",w="available licenses",E="chat availability",y="chat authentication",A="backup history",b="backup stats",j="stats counts",R="dismiss welcome banner",_="purchases",C="evaluate site recommendations",x="save site evaluation result",N="remove site evaluation result",M={ANTI_SPAM:"anti-spam",BACKUP:"backup",BOOST:"boost",BRUTE_FORCE:"brute-force",CRM:"crm",CREATOR:"creator",EXTRAS:"extras",JETPACK_AI:"jetpack-ai",NEWSLETTER:"newsletter",PROTECT:"protect",RELATED_POSTS:"related-posts",SCAN:"scan",SEARCH:"search",SITE_ACCELERATOR:"site-accelerator",SOCIAL:"social",STATS:"stats",VIDEOPRESS:"videopress",SECURITY:"security",GROWTH:"growth",COMPLETE:"complete"}},3804:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var c=a(7723),n=a(1609),r=a(6077),s=a(4526),i=a(1504),l=a(929),o=a(8242),u=a(4393),m=a(9812);const __=c.__,d=()=>{const{recordEvent:e}=(0,s.A)(),{isWelcomeBannerVisible:t,showWelcomeBanner:a}=(0,m.A)(),[c,d]=(0,r._)("recommendedModules",(0,o.A$)("recommendedModules").modules),[p,h]=(0,r._)("isFirstRun",(0,o.A$)("recommendedModules").isFirstRun),g=(0,n.useMemo)((()=>{const e=(0,o.A$)("lifecycleStats")?.ownedProducts||[];return c?.filter((t=>!e.includes(t))).slice(0,5)}),[c]),v=(0,n.useMemo)((()=>{const{dismissed:e}=(0,o.A$)("recommendedModules");return!e&&!t&&(0,u.A)()}),[t]),[f,k]=(0,r._)("recommendedModulesVisible",v&&!!g?.length),{mutate:w}=(0,l.A)({name:i.dB,query:{path:i.L6,method:"GET"},errorMessage:__("Failed to evaluate site recommendations","jetpack-my-jetpack")}),{mutate:E}=(0,l.A)({name:i.MD,query:{path:i.no,method:"POST"},errorMessage:__("Failed to save evaluation results. Please try again","jetpack-my-jetpack")}),{mutate:y}=(0,l.A)({name:i.pN,query:{path:i.no,method:"DELETE"},errorMessage:__("Failed to hide evaluation results. Please try again","jetpack-my-jetpack")});return{submitEvaluation:(0,n.useCallback)((e=>new Promise(((t,a)=>{w({queryParams:{goals:e}},{onSuccess:t,onError:a})}))),[w]),saveEvaluationResult:(0,n.useCallback)((e=>new Promise(((t,a)=>{E({data:{recommendations:e}},{onSuccess:e=>{d(e),k(!0),t()},onError:a})}))),[E,k,d]),removeEvaluationResult:(0,n.useCallback)((()=>{y({},{onSuccess:()=>{k(!1),h(!1),e("jetpack_myjetpack_evaluation_recommendations_dismiss_click")}})}),[y,e,h,k]),redoEvaluation:(0,n.useCallback)((()=>{k(!1),h(!1),a(),e("jetpack_myjetpack_evaluation_recommendations_redo_click")}),[e,h,k,a]),recommendedModules:g,isSectionVisible:f,isFirstRun:p}}},2447:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var c=a(7723),n=a(1609),r=a(3537),s=a(6007),i=a(1504);const __=c.__,l=[i.Ck,i.FW,i.jE],o=({infoName:e,isError:t,overrideMessage:a})=>{const{setNotice:i}=(0,n.useContext)(s.g),o=a??(0,c.sprintf)( +__("Jetpack is connected %s","jetpack-my-jetpack"),"🎉"),l=__("You’re connected and ready to fly!","jetpack-my-jetpack");return React.createElement(c.A,{className:o.A["loading-banner"]},React.createElement("div",{className:(0,i.A)(o.A["loader-container"],{[o.A["connection-ready"]]:t})},React.createElement(u,null)),React.createElement(n.Ay,{variant:"headline-small",mb:1},t?r:e),React.createElement(n.Ay,{variant:"body"},t?l:a))}return"recommendations"===e?React.createElement(c.A,{className:o.A["loading-banner"]},React.createElement("div",{className:(0,i.A)(o.A["loader-container"],o.A.recommendations)},React.createElement(l.A,null),React.createElement(u,null)),React.createElement(n.Ay,{variant:"headline-small",mb:1},__("Crafting your unique journey","jetpack-my-jetpack")),React.createElement(n.Ay,{variant:"body"},__("Hang tight while we personalize recommendations to suit your style.","jetpack-my-jetpack"))):React.createElement(React.Fragment,null)}},369:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var c=a(6427),n=a(5225);const r=()=>React.createElement(c.SVG,{className:n.A["products-icons"],width:"379",height:"157",viewBox:"0 0 379 157",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(c.G,{className:n.A.people},React.createElement(c.Rect,{x:"334.012",y:"49.7305",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M359.516 70.8799C360.852 70.8799 361.935 69.7967 361.935 68.4604C361.935 67.1242 360.852 66.041 359.516 66.041C358.179 66.041 357.096 67.1242 357.096 68.4604C357.096 69.7967 358.179 70.8799 359.516 70.8799ZM359.516 69.4282C360.05 69.4282 360.483 68.9949 360.483 68.4604C360.483 67.926 360.05 67.4927 359.516 67.4927C358.981 67.4927 358.548 67.926 358.548 68.4604C358.548 68.9949 358.981 69.4282 359.516 69.4282Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M357.338 76.6865V74.7509C357.338 73.2811 356.147 72.0896 354.677 72.0896H350.806C349.336 72.0896 348.144 73.2811 348.144 74.7509V76.6865H349.596V74.7509C349.596 74.0828 350.138 73.5412 350.806 73.5412H354.677C355.345 73.5412 355.886 74.0828 355.886 74.7509V76.6865H357.338Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M364.112 74.7509V76.6865H362.661V74.7509C362.661 74.0828 362.119 73.5412 361.451 73.5412H359.032V72.0896H361.451C362.921 72.0896 364.112 73.2811 364.112 74.7509Z",fill:"#0CED57"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M355.161 68.4604C355.161 69.7967 354.077 70.8799 352.741 70.8799C351.405 70.8799 350.322 69.7967 350.322 68.4604C350.322 67.1242 351.405 66.041 352.741 66.041C354.077 66.041 355.161 67.1242 355.161 68.4604ZM353.709 68.4604C353.709 68.9949 353.276 69.4282 352.741 69.4282C352.207 69.4282 351.773 68.9949 351.773 68.4604C351.773 67.926 352.207 67.4927 352.741 67.4927C353.276 67.4927 353.709 67.926 353.709 68.4604Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.videopress},React.createElement(c.Rect,{x:"280",y:"10",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M294.5269 25.5844C295.3517 25.5844 296.0764 26.1303 296.3023 26.9219L298.5352 34.7481C298.5375 34.756 298.5411 34.7632 298.5459 34.7696L301.1912 25.5844H302.6711H306.7619C309.6292 25.5844 311.5512 27.4457 311.5512 30.2635C311.5512 33.1136 309.5788 34.8909 306.6359 34.8909H304.695H302.1939L301.708 36.3915C301.2723 37.7373 300.0165 38.6493 298.599 38.6493C297.1815 38.6493 295.9258 37.7373 295.49 36.3915L292.7704 27.9923C292.3853 26.8029 293.2742 25.5844 294.5269 25.5844ZM303.0979 32.0989H305.9301C307.1589 32.0989 307.8962 31.3945 307.8962 30.2635C307.8962 29.126 307.1589 28.4539 305.9301 28.4539H304.2781L303.0979 32.0989Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.shield},React.createElement(c.Rect,{x:"14.0122",y:"80.7305",width:"76.212",height:"76.212",rx:"38.106",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M51.9558 104.023L63.163 109.118V116.712C63.163 123.185 59.0053 129.315 53.1424 131.248C52.372 131.502 51.5396 131.502 50.7692 131.248C44.9063 129.315 40.7485 123.185 40.7485 116.712V109.118L51.9558 104.023ZM43.239 110.721V116.712C43.239 122.212 46.8007 127.317 51.5492 128.883C51.813 128.97 52.0986 128.97 52.3624 128.883C57.1109 127.317 60.6725 122.212 60.6725 116.712V110.721L51.9558 106.759L43.239 110.721Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.akismet},React.createElement(c.Rect,{x:"69.0122",y:"20.7305",width:"54.212",height:"54.212",rx:"27.106",fill:"#003010"}),React.createElement(c.Path,{d:"M97.9649 38.592L103.765 53.9038C104.265 55.2138 105.034 55.6888 106.348 55.7997C106.396 55.8019 106.443 55.814 106.486 55.8352C106.529 55.8564 106.568 55.8862 106.599 55.9229C106.63 55.9595 106.654 56.0022 106.668 56.0483C106.682 56.0944 106.687 56.143 106.681 56.191C106.683 56.2405 106.675 56.2899 106.658 56.3364C106.641 56.3828 106.615 56.4254 106.581 56.4616C106.547 56.4978 106.507 56.527 106.462 56.5473C106.417 56.5677 106.368 56.5789 106.319 56.5803H99.9659C99.9145 56.5816 99.8634 56.5724 99.8157 56.5533C99.768 56.5342 99.7246 56.5055 99.6882 56.4692C99.6518 56.4328 99.6231 56.3894 99.6039 56.3416C99.5846 56.2937 99.5752 56.2425 99.5762 56.191C99.5724 56.1409 99.579 56.0906 99.5956 56.0433C99.6121 55.9959 99.6382 55.9525 99.6722 55.9158C99.7063 55.8791 99.7475 55.8498 99.7934 55.8298C99.8392 55.8098 99.8887 55.7996 99.9387 55.7997C100.577 55.7997 101.3 55.6323 101.3 54.8517C101.294 54.5262 101.228 54.2047 101.104 53.9038L99.7121 50.1936C99.6559 50.0262 99.6287 49.9698 99.462 49.9698H94.1604C93.3266 49.9698 92.2989 49.9698 91.8258 51.0306L90.5571 53.9038C90.4281 54.1644 90.3523 54.4484 90.3341 54.7389C90.3341 55.7433 91.641 55.7997 92.3279 55.7997C92.3779 55.7996 92.4274 55.8098 92.4732 55.8298C92.5191 55.8498 92.5603 55.8791 92.5944 55.9158C92.6284 55.9525 92.6545 55.9959 92.671 56.0433C92.6876 56.0906 92.6942 56.1409 92.6904 56.191C92.6914 56.2426 92.682 56.2939 92.6626 56.3417C92.6432 56.3896 92.6143 56.433 92.5777 56.4692C92.541 56.5055 92.4974 56.5339 92.4495 56.5527C92.4016 56.5715 92.3503 56.5803 92.2989 56.5785H86.662C86.6107 56.5798 86.5597 56.5706 86.5121 56.5514C86.4645 56.5323 86.4212 56.5037 86.3849 56.4673C86.3487 56.4308 86.3201 56.3874 86.3011 56.3396C86.282 56.2918 86.2729 56.2406 86.2741 56.1891C86.2703 56.1391 86.2769 56.0888 86.2935 56.0415C86.31 55.9941 86.3361 55.9507 86.3702 55.914C86.4042 55.8772 86.4454 55.848 86.4913 55.828C86.5371 55.808 86.5866 55.7978 86.6366 55.7979C87.9978 55.7142 88.4491 55.0701 88.9693 53.9019L95.6648 39.1761C95.9711 38.5338 96.6381 37.977 97.2489 37.977C97.6875 37.9788 97.8271 38.2299 97.9649 38.592ZM92.8898 48.576C92.8562 48.6257 92.8368 48.6835 92.8336 48.7434C92.8336 48.7998 92.8898 48.8271 93.0004 48.8271H98.5014C98.8892 48.8271 99.056 48.7434 99.056 48.4923C99.0555 48.3663 99.027 48.242 98.9726 48.1284L97.4447 43.9998C97.0822 43.0518 96.5565 41.7981 96.3898 40.7646C96.3898 40.71 96.3608 40.6809 96.3336 40.6809C96.3064 40.6809 96.2792 40.71 96.2792 40.7646C96.0706 41.4752 95.8007 42.1662 95.4726 42.8298L92.8898 48.576Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M97.9649 38.592L103.765 53.9038C104.265 55.2138 105.034 55.6888 106.348 55.7997C106.396 55.8019 106.443 55.814 106.486 55.8352C106.529 55.8564 106.568 55.8862 106.599 55.9229C106.63 55.9595 106.654 56.0022 106.668 56.0483C106.682 56.0944 106.687 56.143 106.681 56.191C106.683 56.2405 106.675 56.2899 106.658 56.3364C106.641 56.3828 106.615 56.4254 106.581 56.4616C106.547 56.4978 106.507 56.527 106.462 56.5473C106.417 56.5677 106.368 56.5789 106.319 56.5803H99.9659C99.9145 56.5816 99.8634 56.5724 99.8157 56.5533C99.768 56.5342 99.7246 56.5055 99.6882 56.4692C99.6518 56.4328 99.6231 56.3894 99.6039 56.3416C99.5846 56.2938 99.5752 56.2425 99.5762 56.191C99.5724 56.1409 99.579 56.0906 99.5956 56.0433C99.6121 55.9959 99.6382 55.9525 99.6722 55.9158C99.7063 55.8791 99.7475 55.8498 99.7934 55.8298C99.8392 55.8098 99.8887 55.7996 99.9387 55.7997C100.577 55.7997 101.3 55.6323 101.3 54.8517C101.294 54.5262 101.228 54.2047 101.104 53.9038L99.7121 50.1936C99.6559 50.0262 99.6287 49.9698 99.462 49.9698H94.1604C93.3266 49.9698 92.2989 49.9698 91.8258 51.0306L90.5571 53.9038C90.4281 54.1644 90.3523 54.4484 90.3341 54.7389C90.3341 55.7433 91.641 55.7997 92.3279 55.7997C92.3779 55.7996 92.4274 55.8098 92.4732 55.8298C92.5191 55.8498 92.5603 55.8791 92.5944 55.9158C92.6284 55.9525 92.6545 55.9959 92.671 56.0433C92.6876 56.0906 92.6942 56.1409 92.6904 56.191C92.6914 56.2426 92.682 56.2939 92.6626 56.3417C92.6432 56.3896 92.6143 56.433 92.5777 56.4692C92.541 56.5055 92.4974 56.5339 92.4495 56.5527C92.4016 56.5715 92.3503 56.5803 92.2989 56.5785H86.662C86.6107 56.5798 86.5597 56.5706 86.5121 56.5514C86.4645 56.5323 86.4212 56.5037 86.3849 56.4673C86.3487 56.4308 86.3201 56.3874 86.3011 56.3396C86.282 56.2918 86.2729 56.2406 86.2741 56.1891C86.2703 56.1391 86.2769 56.0888 86.2935 56.0415C86.31 55.9941 86.3361 55.9507 86.3702 55.914C86.4042 55.8772 86.4454 55.848 86.4913 55.828C86.5371 55.808 86.5866 55.7978 86.6366 55.7979C87.9978 55.7142 88.4491 55.0701 88.9693 53.9019L95.6648 39.1761C95.9711 38.5338 96.6381 37.977 97.2489 37.977C97.6875 37.9788 97.8271 38.2299 97.9649 38.592ZM92.8898 48.576C92.8562 48.6257 92.8368 48.6835 92.8336 48.7434C92.8336 48.7998 92.8898 48.8271 93.0004 48.8271H98.5014C98.8892 48.8271 99.056 48.7434 99.056 48.4923C99.0555 48.3663 99.027 48.242 98.9726 48.1284L97.4447 43.9998C97.0822 43.0518 96.5565 41.7981 96.3898 40.7646C96.3898 40.71 96.3608 40.6809 96.3336 40.6809C96.3064 40.6809 96.2792 40.71 96.2792 40.7646C96.0706 41.4752 95.8007 42.1662 95.4726 42.8298L92.8898 48.576Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M108.413 47.9182C108.413 48.6351 108.008 49.0409 107.278 49.0409C106.547 49.0409 106.257 48.6679 106.257 48.0983C106.257 47.3814 106.68 46.9756 107.392 46.9756C108.104 46.9756 108.413 47.365 108.413 47.9182Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M86.6465 47.9408C86.6465 48.6559 86.2405 49.0635 85.5119 49.0635C84.7832 49.0635 84.4878 48.6887 84.4878 48.1191C84.4878 47.404 84.9101 46.9965 85.6224 46.9965C86.3348 46.9965 86.6465 47.3877 86.6465 47.9408Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.stars},React.createElement(c.Rect,{x:"168.012",y:"0.730469",width:"76.212",height:"76.212",rx:"38.106",fill:"#003010"}),React.createElement(c.Path,{d:"M197.184 24.5478L198.7 28.3908L202.543 29.9064L198.7 31.4221L197.184 35.2651L195.668 31.4221L191.825 29.9064L195.668 28.3908L197.184 24.5478Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M213.26 24.5477L215.281 29.6717L220.405 31.6925L215.281 33.7134L213.26 38.8374L211.239 33.7134L206.115 31.6925L211.239 29.6717L213.26 24.5477Z",fill:"#0CED57"}),React.createElement(c.Path,{d:"M204.329 35.2649L206.855 41.6699L213.26 44.196L206.855 46.7221L204.329 53.1271L201.803 46.7221L195.398 44.196L201.803 41.6699L204.329 35.2649Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.search},React.createElement(c.Rect,{x:"250.012",y:"76.7305",width:"56.212",height:"56.212",rx:"28.106",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M287.184 103.116C287.184 107.306 283.788 110.702 279.599 110.702C277.846 110.702 276.232 110.107 274.948 109.109L270.156 113.9L268.815 112.56L273.607 107.768C272.608 106.483 272.014 104.869 272.014 103.116C272.014 98.9272 275.41 95.5312 279.599 95.5312C283.788 95.5312 287.184 98.9272 287.184 103.116ZM285.288 103.116C285.288 106.258 282.741 108.805 279.599 108.805C276.457 108.805 273.91 106.258 273.91 103.116C273.91 99.9745 276.457 97.4275 279.599 97.4275C282.741 97.4275 285.288 99.9745 285.288 103.116Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A.social},React.createElement(c.Rect,{x:"0.012207",y:"21.7305",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"}),React.createElement(c.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M25.3608 37.4654V48.3956L18.9181 46.5084V49.9341H17.7104L17.7104 46.1546L15.518 45.5124C14.6693 45.2638 14.0889 44.5075 14.0889 43.6503V42.2107C14.0889 41.3535 14.6693 40.5972 15.518 40.3486L25.3608 37.4654ZM24.1531 46.822L18.9181 45.2885L18.9181 40.5725L24.1531 39.039V46.822ZM17.7104 40.9263L17.7104 44.9347L15.8682 44.3951C15.5287 44.2957 15.2966 43.9932 15.2966 43.6503V42.2107C15.2966 41.8678 15.5287 41.5653 15.8682 41.4659L17.7104 40.9263ZM26.9733 43.5155H30.1939V42.3481H26.9733V43.5155ZM30.1939 46.8212L26.9733 46.0429V44.8754L30.1939 45.6537V46.8212ZM26.9733 40.9856L30.1939 40.2073V39.0398L26.9733 39.8181V40.9856Z",fill:"#0CED57"})),React.createElement(c.G,{className:n.A["empty-circle"]},React.createElement(c.Rect,{x:"110",y:"-30.2695",width:"44.4222",height:"44.4222",rx:"22.2111",fill:"#003010"})))},8388:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var c=a(5918),n=a(8509),r=a(1112),s=a(7723),i=a(991),l=a(3022),o=a(1609),u=a(3804),m=a(4393),d=a(9812),p=a(4526),h=a(1870),g=a(2450),v=a(7881),f=a(6259),k=a(5157),w=a(5225);const __=s.__,E=({welcomeFlowExperiment:e,setWelcomeFlowExperiment:t,children:a})=>{const{recordEvent:s}=(0,p.A)(),{dismissWelcomeBanner:E}=(0,d.A)(),{recommendedModules:y,submitEvaluation:A,saveEvaluationResult:b}=(0,u.A)(),{siteIsRegistered:j,siteIsRegistering:R,isUserConnected:_,isSiteConnected:C}=(0,h.A)({skipUserConnection:!0}),[x,N]=(0,o.useState)(!1),[M,z]=(0,o.useState)(""),[S,L]=(0,o.useState)(null);(0,o.useEffect)((()=>{if("site-connecting"===M&&!R&&j){L(!0);const e=setTimeout((()=>L(!1)),3e3);return()=>clearTimeout(e)}}),[x,M,y,j,R]);const P=(0,o.useMemo)((()=>R||S||j&&"site-connecting"===M&&null===S?"site-connecting":!j||e.isLoading?"connection":x?"evaluation-processing":y||(0,m.A)()?"evaluation":null),[j,S,R,M,e.isLoading,x,y]);(0,o.useEffect)((()=>{M!==P&&(s("jetpack_myjetpack_welcome_banner_step_view",{current_step:P}),z(P))}),[P,M,s]);const V=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_dismiss_click",{current_step:P,is_user_connected:_,is_site_connected:C}),E()}),[s,P,_,C,E]),H=(0,o.useCallback)((()=>{s("jetpack_myjetpack_welcome_banner_skip_recommendations_click"),E()}),[E,s]),I=(0,o.useCallback)((async e=>{const t=Object.keys(e).filter((t=>e[t]));N(!0),s("jetpack_myjetpack_welcome_banner_evaluation_submit",{goals:t});try{const e=await A(t);await b(e),E()}catch{N(!1)}}),[E,s,b,A]);return(0,o.useEffect)((()=>{P||E()}),[P,E]),P?React.createElement(c.A,{horizontalSpacing:6,horizontalGap:2},a&&React.createElement(n.A,null,a),React.createElement(n.A,{lg:12,className:w.A.banner},React.createElement(g.O,{className:(0,l.A)(w.A["banner-card"],"connection"===P&&w.A["is-mandatory"])},React.createElement(c.A,{horizontalSpacing:0,horizontalGap:0,className:w.A["banner-content"]},"connection"===P&&React.createElement(v.A,{onUpdateWelcomeFlowExperiment:t,isActivating:R||e.isLoading}),"evaluation"===P&&React.createElement(f.A,{onSkipOnboarding:H,onSubmitEvaluation:I}),"evaluation-processing"===P&&React.createElement(k.A,{type:"recommendations"}),"site-connecting"===P&&React.createElement(k.A,{type:"connecting",isReady:C}))),React.createElement(r.A,{className:w.A.dismiss,variant:"secondary","aria-label":__("Don’t show the welcome message again","jetpack-my-jetpack"),size:"small",icon:i.A,disabled:R,onClick:V}))):null}},8837:(e,t,a)=>{"use strict";a.d(t,{ED:()=>n,NM:()=>s,OM:()=>c,hp:()=>i,mk:()=>r});const c="my-jetpack-my-plans-manage",n="my-jetpack-my-plans-purchase",r="my-jetpack-my-plans-purchase-no-site",s={Home:"/",Connection:"/connection",ConnectionSkipPricing:"/connection?skip_pricing=true",AddAkismet:"/add-akismet",AddAntiSpam:"/add-anti-spam",AddBackup:"/add-backup",AddBoost:"/add-boost",AddComplete:"/add-complete",AddCRM:"/add-crm",AddJetpackAI:"/add-jetpack-ai",AddExtras:"/add-extras",AddGrowth:"/add-growth",AddProtect:"/add-protect/:feature?",AddScan:"/add-scan",AddSocial:"/add-social",AddSearch:"/add-search",AddSecurity:"/add-security",AddVideoPress:"/add-videopress",AddStats:"/add-stats",AddLicense:"/add-license",JetpackAi:"/jetpack-ai",RedeemToken:"/redeem-token"},i={ACTIVE:"active",INACTIVE:"inactive",MODULE_DISABLED:"module_disabled",SITE_CONNECTION_ERROR:"site_connection_error",ABSENT:"plugin_absent",ABSENT_WITH_PLAN:"plugin_absent_with_plan",NEEDS_PLAN:"needs_plan",NEEDS_ACTIVATION:"needs_activation",NEEDS_FIRST_SITE_CONNECTION:"needs_first_site_connection",USER_CONNECTION_ERROR:"user_connection_error",CAN_UPGRADE:"can_upgrade",EXPIRING_SOON:"expiring",EXPIRED:"expired",NEEDS_ATTENTION__ERROR:"needs_attention_error",NEEDS_ATTENTION__WARNING:"needs_attention_warning"}},3537:(e,t,a)=>{"use strict";a.d(t,{EX:()=>n,PG:()=>c,pv:()=>r});const c=100,n=200,r=300},6007:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,g:()=>r});var c=a(1609);const n={message:"",title:null,options:{level:"info",priority:0}},r=(0,c.createContext)({currentNotice:n,setNotice:null,resetNotice:null}),s=({children:e})=>{const[t,a]=(0,c.useState)(n),s=(0,c.useCallback)((()=>{a(n)}),[]),i=(0,c.useCallback)(((e,c)=>{if(!t.message||e.options.priority>t.options.priority){const t={...e.options,onClose:e.options?.onClose||(e.options?.hideCloseButton?void 0:c)};s(),a({...e,options:t})}}),[t.message,t.options.priority,s]);return React.createElement(r.Provider,{value:{currentNotice:t,setNotice:i,resetNotice:s}},e)}},1521:(e,t,a)=>{"use strict";a.d(t,{l:()=>r});var c=a(7723),n=a(3537);const r={message:(0,c.__)("Site connection failed. Please try again.","jetpack-my-jetpack"),options:{id:"site-connection-error-notice",level:"error",actions:[],priority:n.pv,hideCloseButton:!1}}},6077:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,_:()=>r});var c=a(1609);const n=(0,c.createContext)({state:{},setState:()=>{}}),r=(e,t)=>{const{state:a,setState:r}=(0,c.useContext)(n),{[e]:s=t}=a;(0,c.useEffect)((()=>{void 0===a[e]&&r((a=>({...a,[e]:t})))}),[t,e,r,a]);return[s,(0,c.useCallback)((t=>{r((a=>({...a,[e]:t})))}),[e,r])]},s=({children:e})=>{const[t,a]=(0,c.useState)({});return React.createElement(n.Provider,{value:{state:t,setState:a}},e)}},1504:(e,t,a)=>{"use strict";a.d(t,{AD:()=>u,Ck:()=>j,DB:()=>r,D_:()=>x,Dz:()=>y,FW:()=>v,IM:()=>p,L6:()=>m,MB:()=>A,MD:()=>_,Md:()=>k,O2:()=>i,PM:()=>o,QO:()=>b,Rx:()=>g,_:()=>w,dB:()=>R,jE:()=>f,jf:()=>l,no:()=>d,nw:()=>E,pN:()=>C,rR:()=>s,tb:()=>n,xF:()=>h});const c="my-jetpack/v1",n=`${c}/site/purchases`,r=`${c}/site/backup/undo-event`,s=`${c}/chat/availability`,i=`${c}/chat/authentication`,l=`${c}/site/products`,o=`${c}/site/products-ownership`,u=`${c}/site/dismiss-welcome-banner`,m=`${c}/site/recommendations/evaluation`,d=`${c}/site/recommendations/evaluation/result`,p=e=>`jetpack/v4/stats-app/sites/${e}/stats/highlights`,h="product",g="product ownership",v="activate product",f="install product",k="available licenses",w="chat availability",E="chat authentication",y="backup history",A="stats counts",b="dismiss welcome banner",j="purchases",R="evaluate site recommendations",_="save site evaluation result",C="remove site evaluation result",x={ANTI_SPAM:"anti-spam",BACKUP:"backup",BOOST:"boost",BRUTE_FORCE:"brute-force",CRM:"crm",CREATOR:"creator",EXTRAS:"extras",JETPACK_AI:"jetpack-ai",NEWSLETTER:"newsletter",PROTECT:"protect",RELATED_POSTS:"related-posts",SCAN:"scan",SEARCH:"search",SITE_ACCELERATOR:"site-accelerator",SOCIAL:"social",STATS:"stats",VIDEOPRESS:"videopress",SECURITY:"security",GROWTH:"growth",COMPLETE:"complete"}},3804:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var c=a(7723),n=a(1609),r=a(6077),s=a(4526),i=a(1504),l=a(929),o=a(8242),u=a(4393),m=a(9812);const __=c.__,d=()=>{const{recordEvent:e}=(0,s.A)(),{isWelcomeBannerVisible:t,showWelcomeBanner:a}=(0,m.A)(),[c,d]=(0,r._)("recommendedModules",(0,o.A$)("recommendedModules").modules),[p,h]=(0,r._)("isFirstRun",(0,o.A$)("recommendedModules").isFirstRun),g=(0,n.useMemo)((()=>{const e=(0,o.A$)("lifecycleStats")?.ownedProducts||[];return c?.filter((t=>!e.includes(t))).slice(0,5)}),[c]),v=(0,n.useMemo)((()=>{const{dismissed:e}=(0,o.A$)("recommendedModules");return!e&&!t&&(0,u.A)()}),[t]),[f,k]=(0,r._)("recommendedModulesVisible",v&&!!g?.length),{mutate:w}=(0,l.A)({name:i.dB,query:{path:i.L6,method:"GET"},errorMessage:__("Failed to evaluate site recommendations","jetpack-my-jetpack")}),{mutate:E}=(0,l.A)({name:i.MD,query:{path:i.no,method:"POST"},errorMessage:__("Failed to save evaluation results. Please try again","jetpack-my-jetpack")}),{mutate:y}=(0,l.A)({name:i.pN,query:{path:i.no,method:"DELETE"},errorMessage:__("Failed to hide evaluation results. Please try again","jetpack-my-jetpack")});return{submitEvaluation:(0,n.useCallback)((e=>new Promise(((t,a)=>{w({queryParams:{goals:e}},{onSuccess:t,onError:a})}))),[w]),saveEvaluationResult:(0,n.useCallback)((e=>new Promise(((t,a)=>{E({data:{recommendations:e}},{onSuccess:e=>{d(e),k(!0),t()},onError:a})}))),[E,k,d]),removeEvaluationResult:(0,n.useCallback)((()=>{y({},{onSuccess:()=>{k(!1),h(!1),e("jetpack_myjetpack_evaluation_recommendations_dismiss_click")}})}),[y,e,h,k]),redoEvaluation:(0,n.useCallback)((()=>{k(!1),h(!1),a(),e("jetpack_myjetpack_evaluation_recommendations_redo_click")}),[e,h,k,a]),recommendedModules:g,isSectionVisible:f,isFirstRun:p}}},2447:(e,t,a)=>{"use strict";a.d(t,{M:()=>o});var c=a(7723),n=a(1609),r=a(3537),s=a(6007),i=a(1504);const __=c.__,l=[i.Ck,i.FW,i.jE],o=({infoName:e,isError:t,overrideMessage:a})=>{const{setNotice:i}=(0,n.useContext)(s.g),o=a??(0,c.sprintf)( // translators: %s is the name of the information being fetched, e.g. "site purchases". __("There was an error fetching your %s information. Check your site connectivity and try again.","jetpack-my-jetpack"),e);(0,n.useEffect)((()=>{t&&l.includes(e)&&i({message:o,options:{id:"fetching-error-notice",level:"error",priority:r.PG}})}),[o,i,t,e])}},9935:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var c=a(7723),n=a(4526),r=a(1504),s=a(929),i=a(8242),l=a(4923);const __=c.__,o=e=>{const{detail:t,refetch:a}=(0,l.A)(e),{recordEvent:o}=(0,n.A)(),{mutate:u,isPending:m,isSuccess:d}=(0,s.A)({name:r.FW,query:{path:`${r.jf}/${e}`,method:"POST"},options:{onSuccess:()=>{(e=>{const{standalonePluginInfo:t,isPluginActive:a}=e;return t?.hasStandalonePlugin?t?.isStandaloneActive:a})(t)||(o("jetpack_myjetpack_product_activated",{product:e}),(e=>{const{items:t}=(0,i.A$)("products");t[e]?.standalone_plugin_info.has_standalone_plugin&&(window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_active=!0,window.myJetpackInitialState.products.items[e].standalone_plugin_info.is_standalone_installed=!0)})(e)),a()}},errorMessage:(0,c.sprintf)( // translators: %$1s: Jetpack Product name diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/global.d.ts b/jetpack_vendor/automattic/jetpack-my-jetpack/global.d.ts index 7d348487..a09edea1 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/global.d.ts +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/global.d.ts @@ -47,7 +47,8 @@ type JetpackModule = | 'complete' | 'site-accelerator' | 'newsletter' - | 'related-posts'; + | 'related-posts' + | 'brute-force'; type ThreatItem = { // Protect API properties (free plan) diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php index 5fd94ab9..4e345133 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php @@ -41,7 +41,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '5.3.1'; + const PACKAGE_VERSION = '5.3.2-alpha'; /** * HTML container ID for the IDC screen on My Jetpack page. diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php index 15530adb..f40a6439 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php @@ -28,16 +28,6 @@ public function __construct() { 'permission_callback' => __CLASS__ . '::permissions_callback', ) ); - - register_rest_route( - 'my-jetpack/v1', - '/site/backup/count-items', - array( - 'methods' => \WP_REST_Server::READABLE, - 'callback' => __CLASS__ . '::count_things_that_can_be_backed_up', - 'permission_callback' => __CLASS__ . '::permissions_callback', - ) - ); } /** @@ -109,39 +99,4 @@ public static function get_site_backup_undo_event() { return rest_ensure_response( $undo_event ); } - - /** - * This will collect a count of all the items that could be backed up - * This is used to show what backup could be doing if it is not enabled - * - * @return WP_Error|\WP_REST_Response - */ - public static function count_things_that_can_be_backed_up() { - $image_mime_type = 'image'; - $video_mime_type = 'video'; - $audio_mime_type = 'audio'; - - $data = array(); - - // Add all post types together to get the total post count - $data['total_post_count'] = array_sum( (array) wp_count_posts( 'post' ) ); - - // Add all page types together to get the total page count - $data['total_page_count'] = array_sum( (array) wp_count_posts( 'page' ) ); - - // Add all comments together to get the total comment count - $comments = (array) wp_count_comments(); - $data['total_comment_count'] = $comments ? $comments['total_comments'] : 0; - - // Add all image attachments together to get the total image count - $data['total_image_count'] = array_sum( (array) wp_count_attachments( $image_mime_type ) ); - - // Add all video attachments together to get the total video count - $data['total_video_count'] = array_sum( (array) wp_count_attachments( $video_mime_type ) ); - - // Add all audio attachments together to get the total audio count - $data['total_audio_count'] = array_sum( (array) wp_count_attachments( $audio_mime_type ) ); - - return rest_ensure_response( $data ); - } } diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index 78e0ec91..96b7538f 100644 --- a/jetpack_vendor/i18n-map.php +++ b/jetpack_vendor/i18n-map.php @@ -46,7 +46,7 @@ ), 'jetpack-my-jetpack' => array( 'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack', - 'ver' => '5.3.1', + 'ver' => '5.3.2-alpha1736872081', ), 'jetpack-password-checker' => array( 'path' => 'jetpack_vendor/automattic/jetpack-password-checker', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 613f325f..f0cb4e10 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "a92027343054acd637a8182dd3faf2ed645c39a5" + "reference": "f11c9b57823a50e513e85cdded8d2e8e020e84d4" }, "require": { "php": ">=7.2" @@ -63,7 +63,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "8e9dac204663bcc6d429cb0243a5930d6aeb07d6" + "reference": "e7f328e4a8ac277d6ce12aa1ffc92301f2dc09ac" }, "require": { "php": ">=7.2" @@ -131,7 +131,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "09d8ab75c2707e662706654c6eb8f1a0c82a84bf" + "reference": "d9704d2ac396f11678ed5b521e4d3625c34a21cb" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -203,7 +203,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "c41584c8483991be7c4776eecae4e97ab860bec4" + "reference": "29e4bf792bd0c1f0b1d654c0b119303c5bf14932" }, "require": { "composer-plugin-api": "^2.2", @@ -274,7 +274,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "6f34905d3bbc88cbf949ea929d861defa693e8d5" + "reference": "63f1191cf32ecc37c89f9247c716e5554691794f" }, "require": { "automattic/jetpack-connection": "^6.2.2", @@ -345,7 +345,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "24bc9d73d512a9cfe8f2f5fbcc4a6c6f050f8f57" + "reference": "acbde11012a1f0b90dd0d41099a639d77b5f93b0" }, "require": { "automattic/jetpack-boost-core": "^0.3.3", @@ -424,7 +424,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "7eea8794ccb7430f3ac74bc74f84405a213a4065" + "reference": "ef0a53054c65ceca589d9afcd64b79aafc29cbb3" }, "require": { "composer-plugin-api": "^2.2", @@ -487,7 +487,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "63dd4f7d930fa51a39b3261f6de565b0ab19f8c6" + "reference": "dfeba0102cf9038d6cffb695e0fe1cf7e25679a0" }, "require": { "php": ">=7.2" @@ -562,7 +562,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "d3b9c53e9e4c3c45746c0d010835d1b6edc1f8c8" + "reference": "618a29e1ce2e36bb2889dfe1fbd89f740233a423" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -655,7 +655,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "35282eb1c5e98dbbe6cbcb590d9d0c325aa6e269" + "reference": "6e55ae15449708e9cfcb05229c245afe13840f3c" }, "require": { "php": ">=7.2" @@ -712,7 +712,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "707f90b23e8122239db390241558ccdccf2a53ec" + "reference": "25705063a6e75f1cd84155c427134ed73de1c839" }, "require": { "php": ">=7.2" @@ -768,7 +768,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "eada0dc01cb41ecb6461d5bbbe2631c945042a28" + "reference": "3a3c31d8f905ac8a0e02d7f9fbd2167a71534d33" }, "require": { "automattic/jetpack-connection": "^6.2.2", @@ -846,7 +846,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "5416bc6568c21615ea3a5fb73548ca5c7254cd7d" + "reference": "dce5a4a9d82b824c31d9b217078040f677695a0d" }, "require": { "php": ">=7.2" @@ -907,7 +907,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "c7d0a6f613c2ced940f1e59e4d48afd78abda65e" + "reference": "e40a46e32df92ea5bf3962d647f3fcd52b43520f" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -985,7 +985,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "4c7fb33bfa034f8ba022282ff175a03c2be23412" + "reference": "6d3905f9adf0e10512aa81cf47b530523fc37817" }, "require": { "automattic/jetpack-connection": "^6.2.2", @@ -1050,7 +1050,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "900adbaa3be9833bfa973488eda2ae23c827b773" + "reference": "a2c5612eb789d229fd60129e4a0da89ef0de633b" }, "require": { "php": ">=7.2" @@ -1101,12 +1101,12 @@ }, { "name": "automattic/jetpack-my-jetpack", - "version": "5.3.1", - "version_normalized": "5.3.1.0", + "version": "5.3.2-alpha.1736872081", + "version_normalized": "5.3.2.0-alpha1736872081", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "9d86810f0de7662a8ed006500458bd2276a46f4d" + "reference": "f0908307bd82237dd55e51f83506cfe1d123fb01" }, "require": { "automattic/jetpack-admin-ui": "^0.5.1", @@ -1211,7 +1211,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "40c4538863b632edb8acc22f7fe8e54b6b10ba68" + "reference": "af1f0e90453eede962f43bc8256df4a086f441d3" }, "require": { "php": ">=7.2" @@ -1275,7 +1275,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "deb9c7ea4a0cdd0e136a876edfcdf7f916a95824" + "reference": "1d7c3a95c557f73f71741e6db11e80809a179ae7" }, "require": { "automattic/jetpack-connection": "^6.2.2", @@ -1346,7 +1346,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "86ed5b3fc3d5909f5d3acdd3eae8f7a68af5b21b" + "reference": "16bb10869a38f2cd7acae4a3ca5786fb5fe6e79a" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -1405,7 +1405,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-post-list", - "reference": "c75bc8ea939c382f8f5a5000daf12121c16671b0" + "reference": "27bf765624eaf74a57f20bbd562b810deefbf0d2" }, "require": { "automattic/jetpack-assets": "^4.0.2", @@ -1473,7 +1473,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-models", - "reference": "dd18fe6bf9c9b97d18ec8900854a4b8f9c2486f9" + "reference": "d873670ca9619f98267988318646a4243689540a" }, "require": { "php": ">=7.2" @@ -1546,7 +1546,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "c4ba04c533bd7c4a5bd769e619593f4dc26474f6" + "reference": "197ee1efec673eaed482c3ca4abaa19a63f69d3d" }, "require": { "automattic/jetpack-connection": "^6.2.2", @@ -1624,7 +1624,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-publicize", - "reference": "3950a35960d44da605d50e4f9d1e407c73df8c70" + "reference": "b2d2cbc95a7ac455a110f864f52078e2aa5ad560" }, "require": { "automattic/jetpack-assets": "^4.0.2", @@ -1709,7 +1709,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "1802d16ad7ae6708487177522edff565d6d6dc48" + "reference": "40a01b63eaac7b1d6f1fb8edef2662898d139d1d" }, "require": { "automattic/jetpack-status": "^5.0.1", @@ -1767,7 +1767,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "7be82f14ef917480034d46bc900c6c2d5c8cf27e" + "reference": "d1786160663850b16a48136cc764d140d952c618" }, "require": { "php": ">=7.2" @@ -1824,7 +1824,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "11523779dd46d8afe7df1ac69f40881d0386b3f5" + "reference": "990564a6eb7a8782e450fcbf49f0f59a29afa2a8" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -1891,7 +1891,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "1a6350e6d7fab1866e1049a4134909525e0490f4" + "reference": "f9b794f9315e9f052437f641f25d0791031d195c" }, "require": { "automattic/jetpack-connection": "^6.2.2", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index d86d8f4d..77be5800 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'a92027343054acd637a8182dd3faf2ed645c39a5', + 'reference' => 'f11c9b57823a50e513e85cdded8d2e8e020e84d4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.5.1', 'version' => '0.5.1.0', - 'reference' => '8e9dac204663bcc6d429cb0243a5930d6aeb07d6', + 'reference' => 'e7f328e4a8ac277d6ce12aa1ffc92301f2dc09ac', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '09d8ab75c2707e662706654c6eb8f1a0c82a84bf', + 'reference' => 'd9704d2ac396f11678ed5b521e4d3625c34a21cb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', - 'reference' => 'c41584c8483991be7c4776eecae4e97ab860bec4', + 'reference' => '29e4bf792bd0c1f0b1d654c0b119303c5bf14932', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.3.3', 'version' => '0.3.3.0', - 'reference' => '6f34905d3bbc88cbf949ea929d861defa693e8d5', + 'reference' => '63f1191cf32ecc37c89f9247c716e5554691794f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-core', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-boost-speed-score' => array( 'pretty_version' => '0.4.0', 'version' => '0.4.0.0', - 'reference' => '24bc9d73d512a9cfe8f2f5fbcc4a6c6f050f8f57', + 'reference' => 'acbde11012a1f0b90dd0d41099a639d77b5f93b0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-speed-score', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => '7eea8794ccb7430f3ac74bc74f84405a213a4065', + 'reference' => 'ef0a53054c65ceca589d9afcd64b79aafc29cbb3', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '63dd4f7d930fa51a39b3261f6de565b0ab19f8c6', + 'reference' => 'dfeba0102cf9038d6cffb695e0fe1cf7e25679a0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '6.2.2', 'version' => '6.2.2.0', - 'reference' => 'd3b9c53e9e4c3c45746c0d010835d1b6edc1f8c8', + 'reference' => '618a29e1ce2e36bb2889dfe1fbd89f740233a423', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => '35282eb1c5e98dbbe6cbcb590d9d0c325aa6e269', + 'reference' => '6e55ae15449708e9cfcb05229c245afe13840f3c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '707f90b23e8122239db390241558ccdccf2a53ec', + 'reference' => '25705063a6e75f1cd84155c427134ed73de1c839', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-explat' => array( 'pretty_version' => '0.2.3', 'version' => '0.2.3.0', - 'reference' => 'eada0dc01cb41ecb6461d5bbbe2631c945042a28', + 'reference' => '3a3c31d8f905ac8a0e02d7f9fbd2167a71534d33', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-explat', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => '5416bc6568c21615ea3a5fb73548ca5c7254cd7d', + 'reference' => 'dce5a4a9d82b824c31d9b217078040f677695a0d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '4.0.3', 'version' => '4.0.3.0', - 'reference' => 'c7d0a6f613c2ced940f1e59e4d48afd78abda65e', + 'reference' => 'e40a46e32df92ea5bf3962d647f3fcd52b43520f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '3.0.2', 'version' => '3.0.2.0', - 'reference' => '4c7fb33bfa034f8ba022282ff175a03c2be23412', + 'reference' => '6d3905f9adf0e10512aa81cf47b530523fc37817', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -148,16 +148,16 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '900adbaa3be9833bfa973488eda2ae23c827b773', + 'reference' => 'a2c5612eb789d229fd60129e4a0da89ef0de633b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-my-jetpack' => array( - 'pretty_version' => '5.3.1', - 'version' => '5.3.1.0', - 'reference' => '9d86810f0de7662a8ed006500458bd2276a46f4d', + 'pretty_version' => '5.3.2-alpha.1736872081', + 'version' => '5.3.2.0-alpha1736872081', + 'reference' => 'f0908307bd82237dd55e51f83506cfe1d123fb01', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -166,7 +166,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => '40c4538863b632edb8acc22f7fe8e54b6b10ba68', + 'reference' => 'af1f0e90453eede962f43bc8256df4a086f441d3', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.5.1', 'version' => '0.5.1.0', - 'reference' => 'deb9c7ea4a0cdd0e136a876edfcdf7f916a95824', + 'reference' => '1d7c3a95c557f73f71741e6db11e80809a179ae7', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.5.0', 'version' => '0.5.0.0', - 'reference' => '86ed5b3fc3d5909f5d3acdd3eae8f7a68af5b21b', + 'reference' => '16bb10869a38f2cd7acae4a3ca5786fb5fe6e79a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-post-list' => array( 'pretty_version' => '0.7.3', 'version' => '0.7.3.0', - 'reference' => 'c75bc8ea939c382f8f5a5000daf12121c16671b0', + 'reference' => '27bf765624eaf74a57f20bbd562b810deefbf0d2', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-post-list', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-protect-models' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => 'dd18fe6bf9c9b97d18ec8900854a4b8f9c2486f9', + 'reference' => 'd873670ca9619f98267988318646a4243689540a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-models', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-protect-status' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => 'c4ba04c533bd7c4a5bd769e619593f4dc26474f6', + 'reference' => '197ee1efec673eaed482c3ca4abaa19a63f69d3d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-status', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-publicize' => array( 'pretty_version' => '0.57.3-alpha.1736824854', 'version' => '0.57.3.0-alpha1736824854', - 'reference' => '3950a35960d44da605d50e4f9d1e407c73df8c70', + 'reference' => 'b2d2cbc95a7ac455a110f864f52078e2aa5ad560', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-publicize', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => '1802d16ad7ae6708487177522edff565d6d6dc48', + 'reference' => '40a01b63eaac7b1d6f1fb8edef2662898d139d1d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -238,7 +238,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => '7be82f14ef917480034d46bc900c6c2d5c8cf27e', + 'reference' => 'd1786160663850b16a48136cc764d140d952c618', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -256,7 +256,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', - 'reference' => '11523779dd46d8afe7df1ac69f40881d0386b3f5', + 'reference' => '990564a6eb7a8782e450fcbf49f0f59a29afa2a8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -265,7 +265,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '4.3.0', 'version' => '4.3.0.0', - 'reference' => '1a6350e6d7fab1866e1049a4134909525e0490f4', + 'reference' => 'f9b794f9315e9f052437f641f25d0791031d195c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(), diff --git a/vendor/composer/jetpack_autoload_classmap.php b/vendor/composer/jetpack_autoload_classmap.php index cf70ddf8..af120336 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -339,143 +339,143 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Activitylog' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-activitylog.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Jetpack_Manage' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-jetpack-manage.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Product' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Complete' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-complete.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Creator' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-creator.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Growth' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-growth.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Jetpack_Ai' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Newsletter' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-newsletter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Related_Posts' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-related-posts.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Site_Accelerator' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-site-accelerator.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Starter' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Stats' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_AI' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Product_Data' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Recommendations_Evaluation' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-recommendations-evaluation.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Zendesk_Chat' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array( - 'version' => '5.3.1.0', + 'version' => '5.3.2.0-alpha1736872081', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php' ), 'Automattic\\Jetpack\\Partner' => array(