diff --git a/composer.json b/composer.json index 8bf416a7..e98dc1b0 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "automattic/jetpack-composer-plugin": "^3.0.0", "automattic/jetpack-config": "^3.0.0", "automattic/jetpack-connection": "^6.0.1", - "automattic/jetpack-my-jetpack": "^5.0.1", + "automattic/jetpack-my-jetpack": "^5.0.2-alpha", "automattic/jetpack-search": "^0.47.0", "automattic/jetpack-stats": "^0.14.0", "automattic/jetpack-status": "^5.0.1-alpha", diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md index 7890f025..5c33dc9a 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md @@ -5,6 +5,10 @@ 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.0.2-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + ## [5.0.1] - 2024-11-18 ### Changed - Update dependencies. [#38910] @@ -1812,6 +1816,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[5.0.2-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.0.1...5.0.2-alpha [5.0.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/5.0.0...5.0.1 [5.0.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.37.0...5.0.0 [4.37.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/4.36.0...4.37.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 6b772d49..8ba6a199 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-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '88d37a42d9912670f2bf'); + array('jetpack-connection', 'jetpack-script-data', 'react', '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' => 'db398117c2c37674d62a'); diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js index c23d7d47..3875a15b 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js @@ -18,7 +18,7 @@ __("Connected as %1$s (Owner).","jetpack-my-jetpack"),n.currentUser?.wpcomUser?. __("Connected as %1$s.","jetpack-my-jetpack"),n.currentUser?.wpcomUser?.display_name):__("User connected.","jetpack-my-jetpack"),{onClick:c,actionText:__("Manage","jetpack-my-jetpack"),text:s,status:"success"}})({hasProductsThatRequireUserConnection:D,hasUserConnectionBrokenModules:q,isUserConnected:M,userConnectionData:S,openManageUserConnectionDialog:W,handleConnectUser:X});return React.createElement("div",{id:"dylan",className:j.A["connection-status-card"]},React.createElement(n.H3,null,o),React.createElement(n.Ay,{variant:"body",mb:3},`${u} `,React.createElement(c.A,{href:(0,r.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),variant:"link",weight:"regular",isExternalLink:!0,onClick:Y},__("Learn more about connections","jetpack-my-jetpack"))),React.createElement("div",{className:j.A.status},React.createElement("img",{src:k,alt:"",className:j.A.cloud}),React.createElement("div",{className:(0,p.A)(j.A.line,z?"":J?j.A.error:j.A.warning)}),React.createElement("div",{className:j.A["avatar-wrapper"]},React.createElement("img",{src:z?b:A,alt:"",className:j.A.jetpack}),(D||q)&&React.createElement("img",{src:M&&O?O:y,alt:"",className:j.A.avatar})),"success"===ee?.status&&ee?.actionText&&React.createElement("div",{className:j.A["connect-action"]},React.createElement(_,{onClick:ee?.onClick,actionText:ee?.actionText}))),React.createElement("div",null,React.createElement(R,ee),z&&React.createElement(R,te),M&&S?.connectionOwner&&!S.currentUser?.isMaster&&React.createElement(R,{text:(0,l.sprintf)(/* translators: placeholder is the username of the Jetpack connection owner */ __("Also connected: %s (Owner).","jetpack-my-jetpack"),S.connectionOwner)})),React.createElement(s.ManageConnectionDialog,{apiRoot:e,apiNonce:t,onDisconnected:Z,connectedPlugins:d,connectedSiteId:C,connectedUser:S,isOpen:V,onClose:K,context:x}))}},3593:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(8837),c=a(4923),r=a(8117),s=a(1870),i=a(3981),l=a(4596);function o(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:a,connectedPlugins:o}=(0,s.A)(),u=(0,i.A)(n.NM.Connection),m=(0,c.V)(),d=(0,r.A)(m);return React.createElement(l.A,{apiRoot:e,apiNonce:t,redirectUri:a,onConnectUser:u,connectedPlugins:o,requiresUserConnection:d.length>0,onDisconnected:()=>document?.location?.reload(!0)})}},5167:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(5918),c=a(8509),r=a(7425),s=a(6427),i=a(7723),l=a(2778),o=a(8888),u=a(9115),m=a(3022),d=a(1609),p=a(3804),h=a(4526),g=a(9674),v=a(6225);const __=i.__,_n=i._n,f=()=>{const e=(0,d.useRef)(null),{recordEvent:t}=(0,h.A)(),{recommendedModules:a,redoEvaluation:i,removeEvaluationResult:f}=(0,p.A)(),[w,E]=(0,d.useState)(!0),[k,y]=(0,d.useState)(!1),A=(0,d.useCallback)((()=>{if(e.current){const{scrollLeft:t,scrollWidth:a,clientWidth:n}=e.current;E(0===t),y(t+n>=a)}}),[e]),b=(e,t,a=24)=>{if(e.current){const n=e.current.querySelector("li").clientWidth;e.current.scrollBy({left:t*(n+a),behavior:"smooth"})}},j=(0,d.useCallback)((()=>{b(e,1),t("jetpack_myjetpack_recommendations_slide_arrow_click",{direction:"next"})}),[t,e]),R=(0,d.useCallback)((()=>{b(e,-1),t("jetpack_myjetpack_recommendations_slide_arrow_click",{direction:"previous"})}),[t,e]),_=_n("Our recommendation for you","Our recommendations for you",a.length,"jetpack-my-jetpack"),C=__("Redo","jetpack-my-jetpack"),x=__("Dismiss","jetpack-my-jetpack");return(0,d.useEffect)((()=>{const t=e.current;if(t)return t.addEventListener("scroll",A),A(),()=>{t.removeEventListener("scroll",A)}}),[A]),(0,d.useEffect)((()=>{t("jetpack_myjetpack_evaluation_recommendations_view",{modules:a})}),[a,t]),React.createElement(n.A,{horizontalGap:2,horizontalSpacing:6},React.createElement(c.A,null,React.createElement(s.Flex,null,React.createElement(s.FlexItem,null,React.createElement(r.Ay,{variant:"headline-small",className:v.A.title},_),React.createElement(r.Ay,null,__("Here are the tools that we think will help you reach your website goals:","jetpack-my-jetpack"))),React.createElement(s.FlexItem,null,React.createElement(s.DropdownMenu,{menuProps:{className:v.A["dropdown-menu"]},popoverProps:{position:"bottom left"},icon:l.A,label:__("Recommendations menu","jetpack-my-jetpack"),controls:[{title:C,onClick:i},{title:x,onClick:f}]})))),React.createElement(c.A,null,React.createElement(n.A,{ref:e,tagName:"ul",className:v.A["recommendations-list"],horizontalGap:4,horizontalSpacing:2,fluid:!0},a.map((e=>{const t=g.z[e];return t&&React.createElement(c.A,{tagName:"li",key:e,lg:4},React.createElement(t,{recommendation:!0}))}))),React.createElement(s.Flex,{align:"center",justify:"center"},React.createElement(s.FlexItem,null,React.createElement(s.Button,{className:(0,m.A)(v.A["slider-button"],v.A["prev-button"]),onClick:R,disabled:w,"aria-disabled":w,"aria-label":__("Previous","jetpack-my-jetpack")},React.createElement(s.Icon,{icon:o.A}))),React.createElement(s.FlexItem,null,React.createElement(s.Button,{className:(0,m.A)(v.A["slider-button"],v.A["next-button"]),onClick:j,disabled:k,"aria-disabled":k,"aria-label":__("Next","jetpack-my-jetpack")},React.createElement(s.Icon,{icon:u.A}))))))}},1617:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7723),c=a(1113),r=a(7474),s=a(1609),i=a.n(s),l=a(28),o=a(8870);const __=n.__;const u=function({onClick:e=()=>{},reload:t}){const a=t?"/?reload=true":"/";return i().createElement(l.N_,{to:a,className:o.A.link,onClick:e},i().createElement(c.A,{icon:r.A,className:o.A.icon}),__("Go back","jetpack-my-jetpack"))}},1651:(e,t,a)=>{"use strict";a.d(t,{k:()=>m});var n=a(1112),c=a(8478),r=a(6427),s=a(8443),i=a(7723),l=a(3022),o=a(1609),u=a(9331);a(4800);const __=i.__;function m({productName:e,giftedDate:t}){const[a,m]=(0,o.useState)(!1),d=(0,o.useCallback)((()=>m(!0)),[m]),p={position:"top center",placement:"top",animate:!0,noArrow:!1,resize:!1,flip:!1,offset:6,focusOnMount:"container",onClose:(0,o.useCallback)((()=>m(!1)),[m]),className:u.A.container},h=(0,l.A)(u.A.wrapper,"golden-token-icon-tooltip");return React.createElement("div",{className:h},React.createElement(n.A,{variant:"link",onClick:d},React.createElement(c.sT,{className:u.A.logo})),React.createElement("div",{className:u.A.helper},a&&React.createElement(r.Popover,p,React.createElement("div",null,React.createElement("div",{className:u.A.title},e),React.createElement("div",{className:u.A.content},(0,i.sprintf)( // translators: %1$s is a product name, %2$s is the date the product was gifted. -__("%1$s was gifted on %2$s. It gives you access to a lifetime subscription of Jetpack VaultPress Backup and Jetpack Scan.","jetpack-my-jetpack"),e,(0,s.dateI18n)("F j, Y",t)))))))}},6894:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6427),c=a(1609),r=a.n(c),s=a(146);const i=function(){const[e,t]=(0,c.useState)(!0),a=(0,c.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:i,isSafeModeConfirmed:l}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!i||l?null:r().createElement(n.Modal,{onRequestClose:a,overlayClassName:s.A.modal},r().createElement("div",{id:i,className:s.A.container}))}},2660:(e,t,a)=>{"use strict";a.d(t,{I:()=>l});var n=a(1883),c=a(6427),r=a(9491),s=a(1609),i=a(4526);a(6632);const l=({children:e,className:t,icon:a="info-outline",iconSize:l=14,tracksEventName:o,tracksEventProps:u={}})=>{const{recordEvent:m}=(0,i.A)(),d=(0,s.useRef)(),p=(0,r.useViewportMatch)("medium","<"),[h,g]=(0,s.useState)(!1),v=(0,s.useCallback)((()=>g((e=>(!0==!e&&o&&m(`jetpack_${o}`,{page:"my-jetpack",...u}),!e)))),[m,o,u]),f=(0,s.useCallback)((()=>{d.current&&!d.current.contains(d.current.ownerDocument.activeElement)&&g(!1)}),[g,d]);return React.createElement("span",{className:t},React.createElement("button",{className:"info-tooltip__button",onClick:v,ref:d},React.createElement(n.A,{icon:a,size:l})),h&&React.createElement(c.Popover,{placement:p?"top-end":"right",noArrow:!1,offset:10,focusOnMount:"container",onClose:f},React.createElement("div",{className:"info-tooltip__content"},e)))}},3449:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7506),c=a(3924),r=a(7723),s=a(1609),i=a.n(s),l=a(4526),o=a(4576);const __=r.__,u=e=>{const{isAgencyAccount:t=!1}=e,{recordEvent:a}=(0,l.A)();(0,s.useEffect)((()=>{a("jetpack_myjetpack_manage_banner_view",{})}),[a]);const r=(0,s.useCallback)((e=>{a("jetpack_myjetpack_manage_banner_click",{target:e,feature:"manage"})}),[a]),u=(0,s.useCallback)((()=>{r("jp-agencies-register-interest")}),[r]);return i().createElement(n.A,{icon:o,title:__("Manage client sites and grow your business","jetpack-my-jetpack"),description:__("Are you an agency or freelancer? We’re working on a new partnership program bringing together the best of Jetpack, Woo, WordPress.com, and Pressable. Get bulk discounts, referral commissions, and more.","jetpack-my-jetpack"),primaryCtaLabel:__("Sign up now","jetpack-my-jetpack"),primaryCtaURL:(0,c.A)("jetpack-for-agencies-register-interest"),primaryCtaIsExternalLink:!0,primaryCtaOnClick:u})}},2912:(e,t,a)=>{"use strict";a.d(t,{A:()=>L});var n=a(6072),c=a.n(n),r=a(442),s=a(8089),i=a(7656),l=a(2947),o=a(5918),u=a(8509),m=a(5640),d=a(8587),p=a(3022),h=a(1609),g=a(6007),v=a(1504),f=a(3804),w=a(280),E=a(8242),k=a(9812),y=a(4526),A=a(1870),b=a(7436),j=a(3593),R=a(5167),_=a(6894),C=a(3449),x=a(3958),N=a(5487),z=a(8388),M=a(5055);const S=({message:e,title:t,options:a})=>{const{recordEvent:n}=(0,y.A)();(0,h.useEffect)((()=>{const e=a?.tracksArgs||{};n("jetpack_myjetpack_global_notice_view",{notice_id:a.id,...e})}),[a.id,n,a?.tracksArgs]);const[l]=(0,r.A)(["md"],[">"]),o=a.actions?.map((e=>React.createElement(s.A,c()({key:e.key||e.label,customClass:M.A.cta},e))));return React.createElement("div",{className:(0,p.A)(M.A.notice,{[M.A["bigger-than-medium"]]:l})},React.createElement(i.A,c()({hideCloseButton:!0},a,{title:t,actions:o}),React.createElement("div",{className:M.A.message},e)))};function L(){const[e,t]=(0,h.useState)({isLoading:!1,variation:"control"});(0,b.A)();const{redBubbleAlerts:a}=(0,E.A$)(),{jetpackManage:n={},adminUrl:c}=(0,E.A$)(),{isWelcomeBannerVisible:r}=(0,k.A)(),{isSectionVisible:s}=(0,f.A)(),{siteIsRegistered:i}=(0,A.A)(),{currentNotice:p}=(0,h.useContext)(g.g),{message:L,title:V,options:P}=p||{},{data:H,isLoading:I}=(0,w.A)({name:v._,query:{path:v.rR}}),{data:B,isLoading:O}=(0,w.A)({name:v.nw,query:{path:v.O2}}),T=H?.is_available,F=B?.user?.jwt,U=!O&&!I&&T&&F,D="1"===(0,E.A$)("userIsNewToJetpack"),{recordEvent:q}=(0,y.A)(),[J,G]=(0,h.useState)(!1);return(0,h.useLayoutEffect)((()=>{q("jetpack_myjetpack_page_view",{red_bubble_alerts:Object.keys(a).join(",")})}),[q,a]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),G(!0)),J?null:React.createElement(l.A,{siteAdminUrl:c},React.createElement("hr",{className:M.A.separator}),React.createElement(_.A,null),!D&&React.createElement(o.A,{horizontalSpacing:0},React.createElement(u.A,null,React.createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),r?React.createElement(z.A,{welcomeFlowExperiment:e,setWelcomeFlowExperiment:t},L&&i&&React.createElement(S,{message:L,title:V,options:P})):L&&React.createElement(o.A,{horizontalSpacing:3,horizontalGap:3},React.createElement(u.A,null,React.createElement(S,{message:L,title:V,options:P}))),!r&&s&&React.createElement(R.A,null),React.createElement(N.A,null),n.isEnabled&&React.createElement(o.A,{horizontalSpacing:6,horizontalGap:L?3:6},React.createElement(u.A,null,React.createElement(C.A,{isAgencyAccount:n.isAgencyAccount}))),React.createElement(m.A,null,React.createElement(o.A,{horizontalSpacing:8},React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(x.A,null)),React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(j.A,null)))),U&&React.createElement(d.A,{jwt_token:F}))}},3958:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(7425),c=a(1112),r=a(7723),s=a(1609),i=a(8837),l=a(1504),o=a(280),u=a(8242),m=a(4526),d=a(1870),p=a(3981),h=a(6256),g=a(3542),v=a(8252),f=a(1651),w=a(4334);const __=r.__,_n=r._n;function E({purchase:e={}}){const{product_name:t}=e;return React.createElement(React.Fragment,null,React.createElement(n.hE,null,t),React.createElement(k,e))}function k(e){const{expiry_message:t,product_name:a,subscribed_date:c}=e;return(0,v.b)(e)?React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},React.createElement("span",{className:w.A["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(f.k,{productName:a,giftedDate:c})):React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},t)}function y({numberOfPurchases:e=0}){return React.createElement(React.Fragment,null,React.createElement(n.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(n.Ay,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function A({numberOfPurchases:e}){const{recordEvent:t}=(0,m.A)(),{isUserConnected:a}=(0,d.A)(),n=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"),r=__("Purchase a plan","jetpack-my-jetpack"),l=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_manage_click")}),[t]),o=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_purchase_click")}),[t]),v=(0,p.A)(i.NM.Connection),f=(0,s.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||v()}),[v,a,t]);let E=__("Activate a license","jetpack-my-jetpack");a||(E=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:k="",adminUrl:y=""}=(0,u.A$)();return React.createElement("ul",null,e>0&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:l,href:(0,h.A)(),weight:"regular",variant:"link",isExternalLink:!0},n)),React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:o,href:(0,g.A)(),weight:"regular",variant:"link",isExternalLink:!0},r)),k&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:f,href:a?`${y}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},E)))}function b(){const e=!!(0,u.A$)("userIsAdmin"),{isSiteConnected:t}=(0,d.A)(),{data:a,isLoading:n,isError:c}=(0,o.A)({name:l.Ck,query:{path:l.tb},options:{enabled:t}}),r=a&&!n&&!c,s=r?a.length:0;return React.createElement("div",{className:w.A.container},React.createElement(y,{numberOfPurchases:s}),React.createElement("div",{className:w.A.purchasesSection},r&&a.map((e=>React.createElement(E,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(A,{numberOfPurchases:s}))}},169:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var n=a(6072),c=a.n(n),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),w=a(1413),E=a(1208);const __=s.__,k=p()("my-jetpack:product-card:action-button"),y=({status:e,admin:t,name:a,slug:n,onActivate:d,additionalActions:p,primaryActionOverride:y,onManage:A,onFixConnection:b,isFetching:j,isInstallingStandalone:R,className:_,onAdd:C,onInstall:x,onLearnMore:N,upgradeInInterstitial:z,isOwned:M})=>{const[S,L]=(0,h.useState)(!1),[V,P]=(0,h.useState)({}),{detail:H}=(0,v.A)(n),{manageUrl:I,purchaseUrl:B}=H,O=!I,T=(0,h.useRef)(null),F=(0,h.useRef)(null),{recordEvent:U}=(0,f.A)();"jetpack-ai"===n&&k(n,H);const D=j||R,q=p?.length>0,J=(0,h.useMemo)((()=>({variant:D?void 0:"primary",disabled:D,size:"small",weight:"regular",className:_})),[D,_]),G=(0,h.useCallback)((()=>{switch("jetpack-ai"===n&&k(n,e),e){case g.hp.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...J,href:`#/add-${n}`,variant:"primary",label:e,onClick:N,...y&&g.hp.ABSENT in y&&y[g.hp.ABSENT]}}case g.hp.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...J,variant:"primary",label:e,onClick:x,...y&&g.hp.ABSENT_WITH_PLAN in y&&y[g.hp.ABSENT_WITH_PLAN]}}case g.hp.NEEDS_FIRST_SITE_CONNECTION:return{...J,href:B||`#/add-${n}`,variant:"primary",label:__("Learn more","jetpack-my-jetpack"),onClick:C,...y&&g.hp.NEEDS_FIRST_SITE_CONNECTION in y&&y[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=M?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.NEEDS_PLAN in y&&y[g.hp.NEEDS_PLAN]}}case g.hp.CAN_UPGRADE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=B||z?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.CAN_UPGRADE in y&&y[g.hp.CAN_UPGRADE]}}case g.hp.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...J,disabled:O||J?.disabled,href:I,variant:"secondary",label:e,onClick:A,...y&&g.hp.ACTIVE in y&&y[g.hp.ACTIVE]}}case g.hp.SITE_CONNECTION_ERROR:return{...J,href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.SITE_CONNECTION_ERROR in y&&y[g.hp.SITE_CONNECTION_ERROR]};case g.hp.USER_CONNECTION_ERROR:return{href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.USER_CONNECTION_ERROR in y&&y[g.hp.USER_CONNECTION_ERROR]};case g.hp.INACTIVE:case g.hp.MODULE_DISABLED:case g.hp.NEEDS_ACTIVATION:return{...J,variant:"secondary",label:__("Activate","jetpack-my-jetpack"),onClick:d,...y&&g.hp.INACTIVE in y&&y[g.hp.INACTIVE]};default:return null}}),[e,J,n,C,b,d,x,N,B,z,O,I,A,y,M]),$=(0,h.useMemo)((()=>q?[...p,G()]:[G()]),[p,G,q]),W=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_dropdown_toggle",{product:n,state:S?"closed":"open"})}),[S,U,n]),Q=(0,h.useCallback)((()=>{L(!S),W()}),[S,W]);if((0,h.useEffect)((()=>{P($[0])}),[$]),(0,w.A)(T,(e=>{F.current.contains(e.target)||(L(!1),W())})),!t)return React.createElement(r.A,c()({},J,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */ /* translators: placeholder is product name. */ +__("%1$s was gifted on %2$s. It gives you access to a lifetime subscription of Jetpack VaultPress Backup and Jetpack Scan.","jetpack-my-jetpack"),e,(0,s.dateI18n)("F j, Y",t)))))))}},6894:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6427),c=a(1609),r=a.n(c),s=a(146);const i=function(){const[e,t]=(0,c.useState)(!0),a=(0,c.useCallback)((()=>t(!1)),[]);if(!e)return null;if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return null;const{containerID:i,isSafeModeConfirmed:l}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;return!i||l?null:r().createElement(n.Modal,{onRequestClose:a,overlayClassName:s.A.modal},r().createElement("div",{id:i,className:s.A.container}))}},2660:(e,t,a)=>{"use strict";a.d(t,{I:()=>l});var n=a(1883),c=a(6427),r=a(9491),s=a(1609),i=a(4526);a(6632);const l=({children:e,className:t,icon:a="info-outline",iconSize:l=14,tracksEventName:o,tracksEventProps:u={}})=>{const{recordEvent:m}=(0,i.A)(),d=(0,s.useRef)(),p=(0,r.useViewportMatch)("medium","<"),[h,g]=(0,s.useState)(!1),v=(0,s.useCallback)((()=>g((e=>(!0==!e&&o&&m(`jetpack_${o}`,{page:"my-jetpack",...u}),!e)))),[m,o,u]),f=(0,s.useCallback)((()=>{d.current&&!d.current.contains(d.current.ownerDocument.activeElement)&&g(!1)}),[g,d]);return React.createElement("span",{className:t},React.createElement("button",{className:"info-tooltip__button",onClick:v,ref:d},React.createElement(n.A,{icon:a,size:l})),h&&React.createElement(c.Popover,{placement:p?"top-end":"right",noArrow:!1,offset:10,focusOnMount:"container",onClose:f},React.createElement("div",{className:"info-tooltip__content"},e)))}},3449:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(7506),c=a(3924),r=a(7723),s=a(1609),i=a.n(s),l=a(4526),o=a(4576);const __=r.__,u=e=>{const{isAgencyAccount:t=!1}=e,{recordEvent:a}=(0,l.A)();(0,s.useEffect)((()=>{a("jetpack_myjetpack_manage_banner_view",{})}),[a]);const r=(0,s.useCallback)((e=>{a("jetpack_myjetpack_manage_banner_click",{target:e,feature:"manage"})}),[a]),u=(0,s.useCallback)((()=>{r("jp-agencies-register-interest")}),[r]);return i().createElement(n.A,{icon:o,title:__("Manage client sites and grow your business","jetpack-my-jetpack"),description:__("Are you an agency or freelancer? We’re working on a new partnership program bringing together the best of Jetpack, Woo, WordPress.com, and Pressable. Get bulk discounts, referral commissions, and more.","jetpack-my-jetpack"),primaryCtaLabel:__("Sign up now","jetpack-my-jetpack"),primaryCtaURL:(0,c.A)("jetpack-for-agencies-register-interest"),primaryCtaIsExternalLink:!0,primaryCtaOnClick:u})}},2912:(e,t,a)=>{"use strict";a.d(t,{A:()=>L});var n=a(6072),c=a.n(n),r=a(442),s=a(8089),i=a(7656),l=a(2947),o=a(5918),u=a(8509),m=a(5640),d=a(8587),p=a(3022),h=a(1609),g=a(6007),v=a(1504),f=a(3804),w=a(280),E=a(8242),k=a(9812),y=a(4526),A=a(1870),b=a(7436),j=a(3593),R=a(5167),_=a(6894),C=a(3449),x=a(3958),N=a(5487),z=a(8388),M=a(5055);const S=({message:e,title:t,options:a})=>{const{recordEvent:n}=(0,y.A)();(0,h.useEffect)((()=>{const e=a?.tracksArgs||{};n("jetpack_myjetpack_global_notice_view",{notice_id:a.id,...e})}),[a.id,n,a?.tracksArgs]);const[l]=(0,r.A)(["md"],[">"]),o=a.actions?.map((e=>React.createElement(s.A,c()({key:e.key||e.label,customClass:M.A.cta},e))));return React.createElement("div",{className:(0,p.A)(M.A.notice,{[M.A["bigger-than-medium"]]:l})},React.createElement(i.A,c()({hideCloseButton:!0},a,{title:t,actions:o}),React.createElement("div",{className:M.A.message},e)))};function L(){const[e,t]=(0,h.useState)({isLoading:!1,variation:"control"});(0,b.A)();const{redBubbleAlerts:a}=(0,E.A$)(),{isAtomic:n=!1,jetpackManage:c={},adminUrl:r}=(0,E.A$)(),{isWelcomeBannerVisible:s}=(0,k.A)(),{isSectionVisible:i}=(0,f.A)(),{siteIsRegistered:p}=(0,A.A)(),{currentNotice:L}=(0,h.useContext)(g.g),{message:V,title:P,options:H}=L||{},{data:I,isLoading:B}=(0,w.A)({name:v._,query:{path:v.rR}}),{data:O,isLoading:T}=(0,w.A)({name:v.nw,query:{path:v.O2}}),F=I?.is_available,U=O?.user?.jwt,D=!T&&!B&&F&&U,q="1"===(0,E.A$)("userIsNewToJetpack"),{recordEvent:J}=(0,y.A)(),[G,$]=(0,h.useState)(!1);return(0,h.useLayoutEffect)((()=>{J("jetpack_myjetpack_page_view",{red_bubble_alerts:Object.keys(a).join(",")})}),[J,a]),window.location.hash.includes("?reload=true")&&(window.history.replaceState(null,"",window.location.href.replace("?reload=true","")),window.location.reload(),$(!0)),G?null:React.createElement(l.A,{siteAdminUrl:r},React.createElement("hr",{className:M.A.separator}),React.createElement(_.A,null),!q&&React.createElement(o.A,{horizontalSpacing:0},React.createElement(u.A,null,React.createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),s?React.createElement(z.A,{welcomeFlowExperiment:e,setWelcomeFlowExperiment:t},V&&p&&React.createElement(S,{message:V,title:P,options:H})):V&&React.createElement(o.A,{horizontalSpacing:3,horizontalGap:3},React.createElement(u.A,null,React.createElement(S,{message:V,title:P,options:H}))),!s&&i&&React.createElement(R.A,null),React.createElement(N.A,null),c.isEnabled&&React.createElement(o.A,{horizontalSpacing:6,horizontalGap:V?3:6},React.createElement(u.A,null,React.createElement(C.A,{isAgencyAccount:c.isAgencyAccount}))),React.createElement(m.A,null,React.createElement(o.A,{horizontalSpacing:8},React.createElement(u.A,{sm:4,md:4,lg:6},React.createElement(x.A,null)),React.createElement(u.A,{sm:4,md:4,lg:6},!n&&React.createElement(j.A,null)))),D&&React.createElement(d.A,{jwt_token:U}))}},3958:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(7425),c=a(1112),r=a(7723),s=a(1609),i=a(8837),l=a(1504),o=a(280),u=a(8242),m=a(4526),d=a(1870),p=a(3981),h=a(6256),g=a(3542),v=a(8252),f=a(1651),w=a(4334);const __=r.__,_n=r._n;function E({purchase:e={}}){const{product_name:t}=e;return React.createElement(React.Fragment,null,React.createElement(n.hE,null,t),React.createElement(k,e))}function k(e){const{expiry_message:t,product_name:a,subscribed_date:c}=e;return(0,v.b)(e)?React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},React.createElement("span",{className:w.A["expire-date--with-icon"]},__("Never Expires","jetpack-my-jetpack")),React.createElement(f.k,{productName:a,giftedDate:c})):React.createElement(n.Ay,{variant:"body",className:w.A["expire-date"]},t)}function y({numberOfPurchases:e=0}){return React.createElement(React.Fragment,null,React.createElement(n.H3,null,_n("Your plan","Your plans",e,"jetpack-my-jetpack")),0===e&&React.createElement(n.Ay,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function A({numberOfPurchases:e}){const{recordEvent:t}=(0,m.A)(),{isUserConnected:a}=(0,d.A)(),n=_n("Manage your plan","Manage your plans",e,"jetpack-my-jetpack"),r=__("Purchase a plan","jetpack-my-jetpack"),l=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_manage_click")}),[t]),o=(0,s.useCallback)((()=>{t("jetpack_myjetpack_plans_purchase_click")}),[t]),v=(0,p.A)(i.NM.Connection),f=(0,s.useCallback)((()=>{t("jetpack_myjetpack_activate_license_click"),a||v()}),[v,a,t]);let E=__("Activate a license","jetpack-my-jetpack");a||(E=__("Activate a license (requires a user connection)","jetpack-my-jetpack"));const{loadAddLicenseScreen:k="",adminUrl:y=""}=(0,u.A$)();return React.createElement("ul",null,e>0&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:l,href:(0,h.A)(),weight:"regular",variant:"link",isExternalLink:!0},n)),React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:o,href:(0,g.A)(),weight:"regular",variant:"link",isExternalLink:!0},r)),k&&React.createElement("li",{className:w.A["actions-list-item"]},React.createElement(c.A,{onClick:f,href:a?`${y}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},E)))}function b(){const e=!!(0,u.A$)("userIsAdmin"),{isSiteConnected:t}=(0,d.A)(),{data:a,isLoading:n,isError:c}=(0,o.A)({name:l.Ck,query:{path:l.tb},options:{enabled:t}}),r=a&&!n&&!c,s=r?a.length:0;return React.createElement("div",{className:w.A.container},React.createElement(y,{numberOfPurchases:s}),React.createElement("div",{className:w.A.purchasesSection},r&&a.map((e=>React.createElement(E,{key:`purchase-${e.product_name}`,purchase:e})))),e&&React.createElement(A,{numberOfPurchases:s}))}},169:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var n=a(6072),c=a.n(n),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),w=a(1413),E=a(1208);const __=s.__,k=p()("my-jetpack:product-card:action-button"),y=({status:e,admin:t,name:a,slug:n,onActivate:d,additionalActions:p,primaryActionOverride:y,onManage:A,onFixConnection:b,isFetching:j,isInstallingStandalone:R,className:_,onAdd:C,onInstall:x,onLearnMore:N,upgradeInInterstitial:z,isOwned:M})=>{const[S,L]=(0,h.useState)(!1),[V,P]=(0,h.useState)({}),{detail:H}=(0,v.A)(n),{manageUrl:I,purchaseUrl:B}=H,O=!I,T=(0,h.useRef)(null),F=(0,h.useRef)(null),{recordEvent:U}=(0,f.A)();"jetpack-ai"===n&&k(n,H);const D=j||R,q=p?.length>0,J=(0,h.useMemo)((()=>({variant:D?void 0:"primary",disabled:D,size:"small",weight:"regular",className:_})),[D,_]),G=(0,h.useCallback)((()=>{switch("jetpack-ai"===n&&k(n,e),e){case g.hp.ABSENT:{const e=__("Learn more","jetpack-my-jetpack");return{...J,href:`#/add-${n}`,variant:"primary",label:e,onClick:N,...y&&g.hp.ABSENT in y&&y[g.hp.ABSENT]}}case g.hp.ABSENT_WITH_PLAN:{const e=__("Install Plugin","jetpack-my-jetpack");return{...J,variant:"primary",label:e,onClick:x,...y&&g.hp.ABSENT_WITH_PLAN in y&&y[g.hp.ABSENT_WITH_PLAN]}}case g.hp.NEEDS_FIRST_SITE_CONNECTION:return{...J,href:B||`#/add-${n}`,variant:"primary",label:__("Learn more","jetpack-my-jetpack"),onClick:C,...y&&g.hp.NEEDS_FIRST_SITE_CONNECTION in y&&y[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=M?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.NEEDS_PLAN in y&&y[g.hp.NEEDS_PLAN]}}case g.hp.CAN_UPGRADE:{const e=__("Upgrade","jetpack-my-jetpack"),t=__("Learn more","jetpack-my-jetpack"),a=B||z?e:t;return{...J,href:B||`#/add-${n}`,variant:"primary",label:a,onClick:C,...y&&g.hp.CAN_UPGRADE in y&&y[g.hp.CAN_UPGRADE]}}case g.hp.ACTIVE:{const e=__("View","jetpack-my-jetpack");return{...J,disabled:O||J?.disabled,href:I,variant:"secondary",label:e,onClick:A,...y&&g.hp.ACTIVE in y&&y[g.hp.ACTIVE]}}case g.hp.SITE_CONNECTION_ERROR:return{...J,href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.SITE_CONNECTION_ERROR in y&&y[g.hp.SITE_CONNECTION_ERROR]};case g.hp.USER_CONNECTION_ERROR:return{href:"#/connection",variant:"primary",label:__("Connect","jetpack-my-jetpack"),onClick:b,...y&&g.hp.USER_CONNECTION_ERROR in y&&y[g.hp.USER_CONNECTION_ERROR]};case g.hp.INACTIVE:case g.hp.MODULE_DISABLED:case g.hp.NEEDS_ACTIVATION:return{...J,variant:"secondary",label:__("Activate","jetpack-my-jetpack"),onClick:d,...y&&g.hp.INACTIVE in y&&y[g.hp.INACTIVE]};default:return null}}),[e,J,n,C,b,d,x,N,B,z,O,I,A,y,M]),$=(0,h.useMemo)((()=>q?[...p,G()]:[G()]),[p,G,q]),W=(0,h.useCallback)((()=>{U("jetpack_myjetpack_product_card_dropdown_toggle",{product:n,state:S?"closed":"open"})}),[S,U,n]),Q=(0,h.useCallback)((()=>{L(!S),W()}),[S,W]);if((0,h.useEffect)((()=>{P($[0])}),[$]),(0,w.A)(T,(e=>{F.current.contains(e.target)||(L(!1),W())})),!t)return React.createElement(r.A,c()({},J,{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 K=q&&React.createElement("div",{ref:T,className:E.A["action-button-dropdown"]},React.createElement("ul",{className:E.A["dropdown-menu"]},[...p,G()].map((({label:e,isExternalLink:t},a)=>React.createElement("li",{key:a},React.createElement("button",{onClick:()=>{P($[a]),L(!1),U("jetpack_myjetpack_product_card_dropdown_action_click",{product:n,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"],q?E.A["has-additional-actions"]:null)},React.createElement(r.A,c()({},J,V),V.label),q&&React.createElement("button",{className:(0,m.A)(E.A["dropdown-chevron"],"primary"===V.variant?E.A.primary:E.A.secondary),onClick:Q,ref:F},React.createElement(i.A,{icon:u.A,size:24,fill:"primary"===V.variant?"white":"black"})),S&&K))}},5410:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var n=a(6072),c=a.n(n),r=a(7723),s=a(3022),i=a(1609),l=a(8837),o=a(8242),u=a(4526),m=a(2450),d=a(169),p=a(6710),h=a(7879),g=a(1887),v=a(2854),f=a(1208);const __=r.__,w=e=>{const t={isFetching:!1,isInstallingStandalone:!1,onActivate:()=>{},...e},{name:a,Description:n,status:r,onActivate:w,isFetching:E,isDataLoading:k,isInstallingStandalone:y,slug:A,additionalActions:b,primaryActionOverride:j,secondaryAction:R,children:_,onInstallStandalone:C,onMouseEnter:x,onMouseLeave:N,recommendation:z,customLoadTracks:M}=e,{ownedProducts:S}=(0,o.A$)("lifecycleStats"),L=S?.includes(A),V=r===l.hp.SITE_CONNECTION_ERROR||r===l.hp.USER_CONNECTION_ERROR,P=r===l.hp.ABSENT||r===l.hp.ABSENT_WITH_PLAN,H=r===l.hp.NEEDS_PLAN,I=(0,s.A)({[f.A.plugin_absent]:P,[f.A["is-purchase-required"]]:H,[f.A["is-link"]]:P,[f.A["has-error"]]:V}),{recordEvent:B}=(0,u.A)(),O=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_activate_click",{product:A}),w()}),[A,w,B]),T=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_add_click",{product:A})}),[A,B]),F=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_manage_click",{product:A})}),[A,B]),U=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_fixconnection_click",{product:A})}),[A,B]),D=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_learnmore_click",{product:A})}),[A,B]),q=(0,i.useCallback)((()=>{B("jetpack_myjetpack_product_card_install_standalone_plugin_click",{product:A}),C()}),[A,C,B]);return(0,i.useEffect)((()=>{B("jetpack_myjetpack_product_card_load",{product:A,status:r,...M})}),[B,A,r,M]),React.createElement(m.A,{title:a,className:(0,s.A)(f.A.container,I),headerRightContent:null,onMouseEnter:x,onMouseLeave:N},z&&React.createElement(p.A,{slug:A}),React.createElement(n,null),k?React.createElement("span",{className:f.A.loading},__("Loading…","jetpack-my-jetpack")):_,z?React.createElement(h.A,{slug:A}):React.createElement("div",{className:f.A.actions},React.createElement("div",{className:f.A.buttons},R&&R?.positionFirst&&React.createElement(g.A,R),React.createElement(d.A,c()({},t,{onActivate:O,onFixConnection:U,onManage:F,onAdd:T,onInstall:q,onLearnMore:D,className:f.A.button,additionalActions:b,primaryActionOverride:j,isOwned:L})),R&&!R?.positionFirst&&React.createElement(g.A,R)),React.createElement(v.A,{status:r,isFetching:E,isInstallingStandalone:y,isOwned:L})))}},6710:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(7397),c=a(7723),r=a(3022),s=a(1208),i=a(6147);const __=c.__,l=({slug:e})=>{const{discountPrice:t,fullPrice:a,currencyCode:c}=(0,i.A)(e);return React.createElement("div",{className:s.A.priceContainer},t&&React.createElement("span",{className:s.A.price},(0,n.Ay)(t,c)),React.createElement("span",{className:(0,r.A)(s.A.price,t&&s.A.discounted)},(0,n.Ay)(a,c)),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 n=a(6072),c=a.n(n),r=a(1112),s=a(3022),i=a(1208),l=a(6147);const o=({slug:e})=>{const{secondaryAction:t,purchaseAction:a,isActivating:n}=(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,c()({size:"small"},a),a.label),React.createElement(r.A,c()({size:"small",variant:"secondary",disabled:n},t),t.label)))}},1887:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(1112),c=a(7723);const __=c.__,r=e=>{const{shouldShowButton:t=()=>!0,...a}={size:"small",variant:"secondary",weight:"regular",label:__("Learn more","jetpack-my-jetpack"),...e};return!!t()&&React.createElement(n.A,a,a.label)}},2854:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(7425),c=a(7723),r=a(3022),s=a(8837),i=a(1208);const __=c.__,l=({status:e,isFetching:t,isInstallingStandalone:a,isOwned:c})=>{const l=((e,t)=>{switch(e){case s.hp.ACTIVE:case s.hp.CAN_UPGRADE:return __("Active","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}default:return __("Inactive","jetpack-my-jetpack")}})(e,c),o=(0,r.A)(i.A.status,((e,t)=>{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: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;default:return i.A.inactive}})(e,c),{[i.A["is-fetching"]]:t||a});return React.createElement(n.Ay,{variant:"label",className:o},l)}},6147:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(9384),c=a(7723),r=a(1609),s=a(8837),i=a(9935),l=a(4923),o=a(8242),u=a(4526),m=a(1870);const __=c.__,d=(e,t)=>{const a=e.status===s.hp.ACTIVE&&(e.isUpgradableByBundle.length||e.isUpgradable),n=e.pricingForUi.fullPrice||e.pricingForUi.tiers?.upgraded?.fullPrice;return e.status===s.hp.CAN_UPGRADE||a?n?{label:__("Upgrade","jetpack-my-jetpack"),onClick:t}:null:{label:__("Purchase","jetpack-my-jetpack"),onClick:t}},p=(e,t)=>{!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}`}},h=e=>{const{recordEvent:t}=(0,u.A)(),{detail:a}=(0,l.A)(e),{wpcomProductSlug:c,wpcomFreeProductSlug:s,...h}=(e=>{const{tiers:t,wpcomFreeProductSlug:a}=e;if(e.tiers){const{discountPrice:e,fullPrice:n,currencyCode:c,wpcomProductSlug:r,quantity:s}=t.upgraded;return{wpcomFreeProductSlug:a,wpcomProductSlug:s?`${r}:-q-${s}`:r,discountPrice:e&&e!==n?e/12:null,fullPrice:n/12,currencyCode:c}}const{discountPricePerMonth:n,fullPricePerMonth:c,currencyCode:r,isIntroductoryOffer:s,wpcomProductSlug:i}=e;return{wpcomFreeProductSlug:a,wpcomProductSlug:i,discountPrice:s?n:null,fullPrice:c,currencyCode:r}})(a.pricingForUi),{isUserConnected:g}=(0,m.A)(),{myJetpackUrl:v,siteSuffix:f}=(0,o.A$)(),{activate:w,isPending:E}=(0,i.A)(e),{run:k}=(0,n.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:c,redirectUrl:v,connectAfterCheckout:!g,siteSuffix:f}),{run:y}=(0,n.useProductCheckoutWorkflow)({from:"my-jetpack",productSlug:s,redirectUrl:v,connectAfterCheckout:!g,siteSuffix:f}),A=((0,r.useCallback)((()=>{s?y():w()}),[w,y,s]),(0,r.useCallback)((()=>{if(t("jetpack_myjetpack_evaluation_recommendations_checkout_click",{slug:e}),"crm"===e)return w(),void window.open("https://jetpackcrm.com/pricing/","_blank");k()}),[w,t,k,e]));return{secondaryAction:p(a),purchaseAction:d(a,A),isActivating:E,...h}}},8412:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6072),c=a.n(n),r=a(1504),s=a(6176);const i=e=>React.createElement(s.A,c()({slug:r.D_.JETPACK_AI,upgradeInInterstitial:!0},e))},9674:(e,t,a)=>{"use strict";a.d(t,{z:()=>h});var n=a(8412),c=a(6724),r=a(161),s=a(9838),i=a(3690),l=a(1686),o=a(4274),u=a(414),m=a(7769),d=a(4073),p=a(7631);const h={backup:r.A,protect:o.A,"anti-spam":c.A,boost:s.A,search:u.A,videopress:p.A,stats:d.A,crm:l.A,creator:i.A,social:m.A,ai:n.A,"jetpack-ai":n.A,extras:null,scan:null,security:null}},6724:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(6072),c=a.n(n),r=a(5739),s=a.n(r),i=a(1504),l=a(6176);const o=e=>React.createElement(l.A,c()({slug:i.D_.ANTI_SPAM},e));o.propTypes={admin:s().bool.isRequired};const u=o},161:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(6072),c=a.n(n),r=a(3924),s=a(7425),i=a(6427),l=a(7723),o=a(3022),u=a(2290),m=a(5739),d=a.n(m),p=a(1609),h=a(8837),g=a(1504),v=a(4923),f=a(280),w=a(8242),E=a(4526),k=a(6581),y=a(6176),A=a(3649);const __=l.__,_n=l._n,b=g.D_.BACKUP,j=e=>{const{detail:t}=(0,v.A)(b),{status:a}=t;return a===h.hp.ACTIVE||a===h.hp.CAN_UPGRADE?React.createElement(R,c()({slug:b},e)):React.createElement(y.A,c()({slug:b},e))},R=e=>{const{data:t,isLoading:a}=(0,f.A)({name:g.Dz,query:{path:g.DB}}),n=t?.last_rewindable_event,i=n?.published,o=t?.undo_backup_id,{recordEvent:m}=(0,E.A)(),{siteSuffix:d=""}=(0,w.A$)(),p={href:(0,r.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(y.A,c()({},e,{showMenu:!0,isDataLoading:a,Description:n?()=>React.createElement(s.Ay,{variant:"body-small",className:A.A.description},React.createElement("span",null,__("Activity Detected","jetpack-my-jetpack")),React.createElement("span",{className:A.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),n=Math.floor(t%36e5/6e4),c=Math.floor(t%6e4/1e3);return e>0?(0,l.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)( 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 216c8256..c10dfc79 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php @@ -42,7 +42,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '5.0.1'; + const PACKAGE_VERSION = '5.0.2-alpha'; /** * HTML container ID for the IDC screen on My Jetpack page. diff --git a/jetpack_vendor/automattic/jetpack-search/composer.json b/jetpack_vendor/automattic/jetpack-search/composer.json index e1aa6bc3..65adad3b 100644 --- a/jetpack_vendor/automattic/jetpack-search/composer.json +++ b/jetpack_vendor/automattic/jetpack-search/composer.json @@ -10,7 +10,7 @@ "automattic/jetpack-constants": "^3.0.0", "automattic/jetpack-status": "^5.0.1-alpha", "automattic/jetpack-config": "^3.0.0", - "automattic/jetpack-my-jetpack": "^5.0.1", + "automattic/jetpack-my-jetpack": "^5.0.2-alpha", "automattic/jetpack-sync": "^4.0.0" }, "require-dev": { diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index efa29d23..60ac06d7 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.0.1', + 'ver' => '5.0.2-alpha1731961756', ), 'jetpack-password-checker' => array( 'path' => 'jetpack_vendor/automattic/jetpack-password-checker', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 48dda4bf..3a9d6433 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": "bf651192d79fda3576756af4640b821bf80a8b79" + "reference": "4e66343af77304d1661adfa98eba142f7f42cf04" }, "require": { "php": ">=7.2" @@ -63,7 +63,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "bf49714e6ec10c125ebe807cd3dd29d212e363c4" + "reference": "c0d633a09b0400bde4620c1e7bd52208756dbbc1" }, "require": { "php": ">=7.2" @@ -131,7 +131,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "098cd72b357e703ae095bf21aa838554fd818141" + "reference": "19bc59bfa8f606048d2954558cb0ef0604a3d68f" }, "require": { "automattic/jetpack-constants": "^3.0.0", @@ -203,7 +203,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "a9178ead042011478fc5b4029e7e276b7786d148" + "reference": "aec1b20461faabd02fa5aff79ce00144d6558aad" }, "require": { "composer-plugin-api": "^1.1 || ^2.0", @@ -274,7 +274,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "3ec0e357ecead0906eaa28d0c249926415d0dc36" + "reference": "ef3d849d5fbaa44c6a863e694ef1929be3390b5d" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -345,7 +345,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "e23ee6a444d36441ef8c5fee66559f400fb32e19" + "reference": "25020810fd65d388029fcf79494af3e53640788d" }, "require": { "automattic/jetpack-boost-core": "^0.3.0", @@ -424,7 +424,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "dd50d07f627d3c1880a51e33580b854e5226e52b" + "reference": "b0808689042a046b51231b9cc8b85fd7f7b35757" }, "require": { "composer-plugin-api": "^2.1.0", @@ -487,7 +487,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "e4458c5dbded9cbe6505d9adbf017c8d04bf10b4" + "reference": "6973e47b8781b9f44a07ba2183b637c65f98f372" }, "require": { "php": ">=7.2" @@ -562,7 +562,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "1f351cc9ef926c0b6303c773f49437ef83d55e77" + "reference": "6409e4eda2fe7ac059c164fc267e3e1c0b69b0d8" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -655,7 +655,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "43a0546913eb83ac3ee8e24286704eacca8121eb" + "reference": "50a9209d682b5eb76f38892ceb1acb44308557ee" }, "require": { "php": ">=7.2" @@ -712,7 +712,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "233b2a3bef3745ca4180b91289a8c0603b599ca5" + "reference": "97e7d7fb2496e110831d010ff883c35181a938e9" }, "require": { "php": ">=7.2" @@ -768,7 +768,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "3631f0a06c67d21a48ac9510511114881b609e38" + "reference": "9e4fe08dcd7b2fed0c61da2a1e3b98655c38f187" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -846,7 +846,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "d262d549f6cd24e8afd1c54172b9be9271546a07" + "reference": "ee38046f033d4a0240ec762653d5c354298fb612" }, "require": { "php": ">=7.2" @@ -907,7 +907,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "7046c8fd9dc0b7dc9e72b727fd47fc85583fe327" + "reference": "777f194aa39b0809f4bd5319d0de3f4ea2ceeefe" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -985,7 +985,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "c2fab79b9f4f1a608e9cfb69a67e8c971c4fc130" + "reference": "e6a236f9da6f251a62fa4ef178984f664723b39f" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -1050,7 +1050,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "396ea3b4ceab6ce517aff1627a227e9b64c266e9" + "reference": "9487d39b0c85ec6cae7576f93c40dcf824f69d86" }, "require": { "php": ">=7.2" @@ -1101,12 +1101,12 @@ }, { "name": "automattic/jetpack-my-jetpack", - "version": "5.0.1", - "version_normalized": "5.0.1.0", + "version": "5.0.2-alpha.1731961756", + "version_normalized": "5.0.2.0-alpha1731961756", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "a1543c76d9fdd418dac14d294df77d820177a56b" + "reference": "05733105447383c886e02d9f1557365927391793" }, "require": { "automattic/jetpack-admin-ui": "^0.5.0", @@ -1211,7 +1211,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "32b1d61cff229a5241eadbabfc16b68953b0d5c2" + "reference": "858fa33c731cd377986d208836673bbe8784dd6b" }, "require": { "php": ">=7.2" @@ -1275,7 +1275,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "65991410aa233f41023588e3ef56eeadd526870e" + "reference": "b21142f2c3ca09ffb2f7a8686b974ac784a379f6" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -1346,7 +1346,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "68870616b12a96c9368af8bb4982859a0567abab" + "reference": "a3484f970bac0349c5693a1a7e2ad7d8cfa21916" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -1405,7 +1405,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-models", - "reference": "aef0ac9b2106d876ef7a022adf4191c21a657290" + "reference": "fd84f022582795311cf9585cd6a6856c48b27f33" }, "require": { "php": ">=7.2" @@ -1478,7 +1478,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "718488692443326c951f2166838b5f2d05f1eb4c" + "reference": "5ebfb7e7196301c4aaa70a0fb20342d62e4d7783" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -1556,7 +1556,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "5d5b8db98eb165bafe702d4c748ea5892e31dab6" + "reference": "6d45c2b78814f20d45fc6e2e64d060a7a1bbc760" }, "require": { "automattic/jetpack-status": "^5.0.1-alpha", @@ -1614,7 +1614,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "c6d979f6e66bec2cc468adb23254bd8d1b4fb9a7" + "reference": "e25490022b2a79ef8140b57dcecbbf08e3bd0020" }, "require": { "php": ">=7.2" @@ -1671,14 +1671,14 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "c3d05ac13dde1658c4964c519fe9b5fb6b2ea324" + "reference": "dce33b86a5bf0b2f67d8acaf6df1fb4ebf5187a3" }, "require": { "automattic/jetpack-assets": "^4.0.0-alpha", "automattic/jetpack-config": "^3.0.0", "automattic/jetpack-connection": "^6.0.1", "automattic/jetpack-constants": "^3.0.0", - "automattic/jetpack-my-jetpack": "^5.0.1", + "automattic/jetpack-my-jetpack": "^5.0.2-alpha", "automattic/jetpack-status": "^5.0.1-alpha", "automattic/jetpack-sync": "^4.0.0", "php": ">=7.2" @@ -1762,7 +1762,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "77dfa6f5528a8c66eb7a3a7c2d4f51cac4dd4cc1" + "reference": "cadae1ed5e7b173624de13430d0e9b1d59396fb5" }, "require": { "automattic/jetpack-connection": "^6.0.1", @@ -1832,7 +1832,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "b46a179b30519a40ca2f2aa7089bded6fe5641ac" + "reference": "89399980296ca51a28c4ab1267d870814aecade6" }, "require": { "automattic/jetpack-constants": "^3.0.0", @@ -1899,7 +1899,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "4775069d5a398ca5b4e4983a96103a1357549338" + "reference": "c110b3943fe1daa85d16a8b8e8c3490b30ccff2d" }, "require": { "automattic/jetpack-connection": "^6.0.1", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index cd8d33e8..43baf3ba 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' => 'bf651192d79fda3576756af4640b821bf80a8b79', + 'reference' => '4e66343af77304d1661adfa98eba142f7f42cf04', '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.0', 'version' => '0.5.0.0', - 'reference' => 'bf49714e6ec10c125ebe807cd3dd29d212e363c4', + 'reference' => 'c0d633a09b0400bde4620c1e7bd52208756dbbc1', '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.0-alpha.1731948564', 'version' => '4.0.0.0-alpha1731948564', - 'reference' => '098cd72b357e703ae095bf21aa838554fd818141', + 'reference' => '19bc59bfa8f606048d2954558cb0ef0604a3d68f', '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-alpha.1731948564', 'version' => '5.0.0.0-alpha1731948564', - 'reference' => 'a9178ead042011478fc5b4029e7e276b7786d148', + 'reference' => 'aec1b20461faabd02fa5aff79ce00144d6558aad', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '3ec0e357ecead0906eaa28d0c249926415d0dc36', + 'reference' => 'ef3d849d5fbaa44c6a863e694ef1929be3390b5d', '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' => 'e23ee6a444d36441ef8c5fee66559f400fb32e19', + 'reference' => '25020810fd65d388029fcf79494af3e53640788d', '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' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'dd50d07f627d3c1880a51e33580b854e5226e52b', + 'reference' => 'b0808689042a046b51231b9cc8b85fd7f7b35757', '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' => 'e4458c5dbded9cbe6505d9adbf017c8d04bf10b4', + 'reference' => '6973e47b8781b9f44a07ba2183b637c65f98f372', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '6.0.1', 'version' => '6.0.1.0', - 'reference' => '1f351cc9ef926c0b6303c773f49437ef83d55e77', + 'reference' => '6409e4eda2fe7ac059c164fc267e3e1c0b69b0d8', '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.0', 'version' => '3.0.0.0', - 'reference' => '43a0546913eb83ac3ee8e24286704eacca8121eb', + 'reference' => '50a9209d682b5eb76f38892ceb1acb44308557ee', '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' => '233b2a3bef3745ca4180b91289a8c0603b599ca5', + 'reference' => '97e7d7fb2496e110831d010ff883c35181a938e9', '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.1-alpha.1731956635', 'version' => '0.2.1.0-alpha1731956635', - 'reference' => '3631f0a06c67d21a48ac9510511114881b609e38', + 'reference' => '9e4fe08dcd7b2fed0c61da2a1e3b98655c38f187', '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.0', 'version' => '0.4.0.0', - 'reference' => 'd262d549f6cd24e8afd1c54172b9be9271546a07', + 'reference' => 'ee38046f033d4a0240ec762653d5c354298fb612', '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.0', 'version' => '4.0.0.0', - 'reference' => '7046c8fd9dc0b7dc9e72b727fd47fc85583fe327', + 'reference' => '777f194aa39b0809f4bd5319d0de3f4ea2ceeefe', '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.0', 'version' => '3.0.0.0', - 'reference' => 'c2fab79b9f4f1a608e9cfb69a67e8c971c4fc130', + 'reference' => 'e6a236f9da6f251a62fa4ef178984f664723b39f', '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' => '396ea3b4ceab6ce517aff1627a227e9b64c266e9', + 'reference' => '9487d39b0c85ec6cae7576f93c40dcf824f69d86', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-my-jetpack' => array( - 'pretty_version' => '5.0.1', - 'version' => '5.0.1.0', - 'reference' => 'a1543c76d9fdd418dac14d294df77d820177a56b', + 'pretty_version' => '5.0.2-alpha.1731961756', + 'version' => '5.0.2.0-alpha1731961756', + 'reference' => '05733105447383c886e02d9f1557365927391793', '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.0', 'version' => '0.4.0.0', - 'reference' => '32b1d61cff229a5241eadbabfc16b68953b0d5c2', + 'reference' => '858fa33c731cd377986d208836673bbe8784dd6b', '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.0', 'version' => '0.5.0.0', - 'reference' => '65991410aa233f41023588e3ef56eeadd526870e', + 'reference' => 'b21142f2c3ca09ffb2f7a8686b974ac784a379f6', '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' => '68870616b12a96c9368af8bb4982859a0567abab', + 'reference' => 'a3484f970bac0349c5693a1a7e2ad7d8cfa21916', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-protect-models' => array( 'pretty_version' => '0.4.0', 'version' => '0.4.0.0', - 'reference' => 'aef0ac9b2106d876ef7a022adf4191c21a657290', + 'reference' => 'fd84f022582795311cf9585cd6a6856c48b27f33', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-models', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-protect-status' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '718488692443326c951f2166838b5f2d05f1eb4c', + 'reference' => '5ebfb7e7196301c4aaa70a0fb20342d62e4d7783', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-status', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '5d5b8db98eb165bafe702d4c748ea5892e31dab6', + 'reference' => '6d45c2b78814f20d45fc6e2e64d060a7a1bbc760', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'c6d979f6e66bec2cc468adb23254bd8d1b4fb9a7', + 'reference' => 'e25490022b2a79ef8140b57dcecbbf08e3bd0020', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-search' => array( 'pretty_version' => '0.47.0', 'version' => '0.47.0.0', - 'reference' => 'c3d05ac13dde1658c4964c519fe9b5fb6b2ea324', + 'reference' => 'dce33b86a5bf0b2f67d8acaf6df1fb4ebf5187a3', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.14.0', 'version' => '0.14.0.0', - 'reference' => '77dfa6f5528a8c66eb7a3a7c2d4f51cac4dd4cc1', + 'reference' => 'cadae1ed5e7b173624de13430d0e9b1d59396fb5', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -256,7 +256,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '5.0.1-alpha.1731948564', 'version' => '5.0.1.0-alpha1731948564', - 'reference' => 'b46a179b30519a40ca2f2aa7089bded6fe5641ac', + 'reference' => '89399980296ca51a28c4ab1267d870814aecade6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -265,7 +265,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => '4775069d5a398ca5b4e4983a96103a1357549338', + 'reference' => 'c110b3943fe1daa85d16a8b8e8c3490b30ccff2d', '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 15733f16..49effad9 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -339,123 +339,123 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Activitylog' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-activitylog.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Jetpack_Manage' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-jetpack-manage.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Product' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Creator' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-creator.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Jetpack_Ai' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Starter' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Stats' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_AI' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Product_Data' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Recommendations_Evaluation' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-recommendations-evaluation.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Zendesk_Chat' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array( - 'version' => '5.0.1.0', + 'version' => '5.0.2.0-alpha1731961756', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php' ), 'Automattic\\Jetpack\\Partner' => array(