diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php index a518aef0..2c6cf008 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php +++ b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php @@ -1 +1 @@ - array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'eb297001421eed2aa7ff'); + array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'bc8ee5ac3a110a6aed54'); diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js index 1264f96e..3de6698f 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js +++ b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js @@ -3,5 +3,5 @@ __("(opens in a new tab)","jetpack-connection"))),A=f?"_blank":void 0,N=t?.[0]&&null!==t[0]&&"components-tooltip"!==t?.[0]?.props?.className;return d().createElement(c.Button,i()({target:A,variant:o,className:(0,l.A)(v,{"has-text":!!m&&N}),icon:f?void 0:m,iconSize:g,disabled:h,"aria-disabled":h,isDestructive:_,text:k},E),y&&d().createElement(c.Spinner,null),d().createElement("span",null,t),w)}));m.displayName="Button";const g=m},9121:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});t(9535);const o=({format:e="horizontal",icon:n,imageUrl:t})=>React.createElement("div",{className:"jp-components__decorative-card "+(e?"jp-components__decorative-card--"+e:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:t?`url( ${t} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)},7142:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(8579),i=t.n(o),c=t(7723),r=t(2231),s=t(1609),a=t.n(s);const __=c.__,l=({logoColor:e="#069e08",showText:n=!0,className:t,height:o=32,...c})=>{const s=n?"0 0 118 32":"0 0 32 32";return a().createElement("svg",i()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:(0,r.A)("jetpack-logo",t),"aria-labelledby":"jetpack-logo-title",height:o},c,{role:"img"}),a().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection")),a().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&a().createElement(a().Fragment,null,a().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),a().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),a().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),a().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),a().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),a().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),a().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},442:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(9491),i=t(8403);const c=["sm","md","lg"],r=(e,n)=>{const t=Array.isArray(e)?e:[e],r=Array.isArray(n)?n:[n],[s,a,l]=c,p={sm:(0,o.useMediaQuery)(i.A[s]),md:(0,o.useMediaQuery)(i.A[a]),lg:(0,o.useMediaQuery)(i.A[l])};return t.map(((e,n)=>{const t=r[n];return t?((e,n,t)=>{const o=c.indexOf(e),i=o+1,r=n.includes("=");let s=[];return n.startsWith("<")&&(s=c.slice(0,r?i:o)),n.startsWith(">")&&(s=c.slice(r?o:i)),s?.length?s.some((e=>t[e])):t[e]})(e,t,p):p[e]}))}},1876:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var o=t(2231),i=t(1609),c=t.n(i),r=t(6406);const s=({children:e=null,width:n=null,height:t=null,className:i=""})=>c().createElement("div",{className:(0,o.A)(r.A.placeholder,i),style:{width:n,height:t}},e)},9957:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(4761),i=t(6427),c=t(7723),r=t(1876),s=t(5879);t(4319);const __=c.__,a=e=>-1===e.fraction.indexOf("00"),l=({currencyCode:e="USD",priceDetails:n=__("/month, paid yearly","jetpack-connection"),...t})=>{const l=(0,o.vA)(t.priceBefore,e),p=(0,o.vA)(t.priceAfter,e);return React.createElement("div",{className:"jp-components__pricing-card"},t.icon&&React.createElement("div",{className:"jp-components__pricing-card__icon"},"string"==typeof t.icon?React.createElement("img",{src:t.icon,alt:(0,c.sprintf)(/* translators: placeholder is a product name */ __("Icon for the product %s","jetpack-connection"),t.title)}):t.icon),React.createElement("h1",{className:"jp-components__pricing-card__title"},t.title),React.createElement("div",{className:"jp-components__pricing-card__pricing"},0===t.priceAfter&&React.createElement(r.A,{width:"100%",height:48}),t.priceBefore!==t.priceAfter&&t.priceAfter>0&&React.createElement("div",{className:"jp-components__pricing-card__price-before"},React.createElement("span",{className:"jp-components__pricing-card__currency"},l.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},l.integer),a(l)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",l.fraction),React.createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),t.priceAfter>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-components__pricing-card__price-after"},React.createElement("span",{className:"jp-components__pricing-card__currency"},p.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},p.integer),a(p)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"},p.fraction)),React.createElement("span",{className:"jp-components__pricing-card__price-details"},n))),t.children&&React.createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},t.children),t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},t.tosText),t.ctaText&&React.createElement(React.Fragment,null,!t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},React.createElement(s.A,{agreeButtonLabel:t.ctaText})),React.createElement("div",{className:"jp-components__pricing-card__cta"},React.createElement(i.Button,{className:"jp-components__pricing-card__button",label:t.ctaText,onClick:t.onCtaClick},t.ctaText))),t.infoText&&React.createElement("div",{className:"jp-components__pricing-card__info"},t.infoText))}},6461:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(8325);const s=({color:e="#FFFFFF",className:n="",size:t=20})=>{const o=n+" jp-components-spinner",i={width:t,height:t,fontSize:t,borderTopColor:e},c={borderTopColor:e,borderRightColor:e};return r().createElement("div",{className:o},r().createElement("div",{className:"jp-components-spinner__outer",style:i},r().createElement("div",{className:"jp-components-spinner__inner",style:c})))};s.propTypes={color:i().string,className:i().string,size:i().number};const a=s},5879:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(8579),i=t.n(o),c=t(6087),r=t(7723),s=t(2231),a=t(3924),l=t(7425);t(9634);const __=r.__,p=({multipleButtonsLabels:e})=>Array.isArray(e)&&e.length>1?(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s is button label 1 and %2$s is button label 2 */ __("By clicking %1$s or %2$s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e[0],e[1]),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,c.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),{tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({agreeButtonLabel:e})=>(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %s is a button label */ -__("By clicking %s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:n})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.A)(e),rel:"noopener noreferrer",target:"_blank"},n),m=({className:e,multipleButtons:n,agreeButtonLabel:t,...o})=>React.createElement(l.Ay,i()({className:(0,s.A)(e,"terms-of-service")},o),n?React.createElement(p,{multipleButtonsLabels:n}):React.createElement(d,{agreeButtonLabel:t}))},110:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o,Z:()=>i});const o={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},i=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(8579),i=t.n(o),c=t(2231),r=t(1609),s=t.n(r),a=t(110),l=t(4495);const p=(0,r.forwardRef)((({variant:e="body",children:n,component:t,className:o,...p},d)=>{const u=t||a.Q[e]||"span",m=(0,r.useMemo)((()=>a.Z.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.A[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return s().createElement(u,i()({className:(0,c.A)(l.A.reset,l.A[e],o,m)},p,{ref:d}),n)}));p.displayName="Text";const d=p},3924:(e,n,t)=>{"use strict";function o(e,n={}){const t={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);for(const e in n)t[e]=encodeURIComponent(n[e]);!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(t.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(t.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(t).map((e=>e+"="+t[e])).join("&")}t.d(n,{A:()=>o})},6439:(e,n,t)=>{let o={};try{o=t(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>Object.hasOwn(o,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},8421:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(8089),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(9660);const __=i.__,p=e=>{const{apiRoot:n,apiNonce:t,connectLabel:i=__("Connect","jetpack-connection"),registrationNonce:c,redirectUri:r=null,from:s,autoTrigger:p=!1}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:g,userIsConnecting:h,registrationError:_}=(0,l.A)({registrationNonce:c,redirectUri:r,apiRoot:n,apiNonce:t,autoTrigger:p,from:s});return a().createElement(a().Fragment,null,(!u||!m)&&a().createElement(o.A,{label:i,onClick:d,displayError:!!_,isLoading:g||h}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool};const d=p},6212:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7723),i=t(1609),c=t.n(i),r=t(9660),s=t(5582);const __=o.__,a=({title:e,buttonLabel:n,loadingLabel:t,apiRoot:o,apiNonce:i,registrationNonce:a,from:l,redirectUri:p,images:d,children:u,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:_,skipPricingPage:y,logo:f})=>{const{handleRegisterSite:b,siteIsRegistering:k,userIsConnecting:C,registrationError:E,isOfflineMode:v}=(0,r.A)({registrationNonce:a,redirectUri:p,apiRoot:o,apiNonce:i,autoTrigger:g,from:l,skipUserConnection:_,skipPricingPage:y}),j=Boolean(E),w=k||C,A=E?.response?.code;return c().createElement(s.A,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),images:d||[],assetBaseUrl:m,buttonLabel:n||__("Set up Jetpack","jetpack-connection"),loadingLabel:t,handleButtonClick:b,displayButtonError:j,errorCode:A,buttonIsLoading:w,footer:h,isOfflineMode:v,logo:f},u)}},5582:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(5879),i=t(8089),c=t(3924),r=t(6087),s=t(7723),a=t(1609),l=t.n(a),p=t(2668);t(1772);const __=s.__,d=(e,n)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-connection");case"connection_disabled":return __("This site has been suspended.","jetpack-connection")}if(n)return(0,r.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:l().createElement("a",{href:(0,c.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},u=({title:e,images:n,children:t,assetBaseUrl:c,isLoading:r,buttonLabel:s,handleButtonClick:a,displayButtonError:u,errorCode:m,buttonIsLoading:g,loadingLabel:h,footer:_,isOfflineMode:y,logo:f})=>l().createElement(p.A,{title:e,assetBaseUrl:c,images:n,className:"jp-connection__connect-screen"+(r?" jp-connection__connect-screen__loading":""),logo:f},l().createElement("div",{className:"jp-connection__connect-screen__content"},t,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(o.A,{agreeButtonLabel:s})),l().createElement(i.A,{label:s,onClick:a,displayError:u||y,errorMessage:d(m,y),isLoading:g,isDisabled:y}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},g?h||__("Loading","jetpack-connection"):""),_&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},_)))},5745:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);const c=({images:e,assetBaseUrl:n=""})=>{if(!e?.length)return null;const t=e.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},t)}},2668:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7142),i=t(2231),c=t(1609),r=t.n(c),s=t(5745);t(9064);const a=({title:e,children:n,className:t,assetBaseUrl:c,images:a,logo:l,rna:p=!1})=>{const d=a?.length;return r().createElement("div",{className:(0,i.A)("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",t?" "+t:"")},p&&r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||r().createElement(o.A,null),r().createElement("h2",null,e),n),d?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.A,{images:a,assetBaseUrl:c})):null)}},7945:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(2558),l=t(9660),p=t(401);const __=o.__,d=e=>{const{title:n=__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),autoTrigger:t=!1,buttonLabel:o=__("Set up Jetpack","jetpack-connection"),apiRoot:i,apiNonce:c,registrationNonce:r,from:d,redirectUri:u,children:m,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f="USD",wpcomProductSlug:b,siteProductAvailabilityHandler:k,logo:C,rna:E=!1}=e,{handleRegisterSite:v,siteIsRegistering:j,userIsConnecting:w,registrationError:A,isOfflineMode:N}=(0,l.A)({registrationNonce:r,redirectUri:u,apiRoot:i,apiNonce:c,autoTrigger:t,from:d}),S=b||"",{run:R,hasCheckoutStarted:T}=(0,a.A)({productSlug:S,redirectUrl:u,siteProductAvailabilityHandler:k,from:d}),O=Boolean(A),I=j||w||T,P=S?R:v;return s().createElement(p.A,{title:n,buttonLabel:o,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f,handleButtonClick:P,displayButtonError:O,buttonIsLoading:I,logo:C,isOfflineMode:N,rna:E},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,pricingIcon:c().oneOfType([c().string,c().element]),priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,wpcomProductSlug:c().string,checkSiteHasWpcomProduct:c().func,logo:c().element};const u=d},401:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var o=t(8089),i=t(3924),c=t(9957),r=t(5879),s=t(6087),a=t(7723),l=t(2231),p=t(4804),d=t.n(p),u=t(3619),m=t.n(u),g=t(1609),h=t.n(g),_=t(2668);t(381);const __=a.__,y=d()("jetpack:connection:ConnectScreenRequiredPlanVisual"),f=e=>{const{title:n,buttonLabel:t,children:a,priceBefore:p,priceAfter:d,pricingIcon:u,pricingTitle:m,pricingCurrencyCode:g="USD",isLoading:f=!1,handleButtonClick:b=()=>{},displayButtonError:k=!1,buttonIsLoading:C=!1,logo:E,isOfflineMode:v,rna:j=!1}=e;y("props are %o",e);const w=(0,s.createInterpolateElement)(__("Already have a subscription? ","jetpack-connection"),{connectButton:h().createElement(o.A,{label:__("Log in to get started","jetpack-connection"),onClick:b,isLoading:C})}),A=v?(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:h().createElement("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return h().createElement(_.A,{title:n,className:(0,l.A)("jp-connection__connect-screen-required-plan",f?"jp-connection__connect-screen-required-plan__loading":"",j?"rna":""),logo:E,rna:j},h().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},a,h().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},h().createElement(c.A,{title:m,icon:u,priceBefore:p,currencyCode:g,priceAfter:d},h().createElement(r.A,{agreeButtonLabel:t}),h().createElement(o.A,{label:t,onClick:b,displayError:k||v,errorMessage:A,isLoading:C,isDisabled:v}))),!v&&h().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},w)))};f.propTypes={pricingTitle:m().string.isRequired,priceBefore:m().number.isRequired,priceAfter:m().number.isRequired,pricingCurrencyCode:m().string,title:m().string,buttonLabel:m().string,pricingIcon:m().oneOfType([m().string,m().element]),isLoading:m().bool,handleButtonClick:m().func,displayButtonError:m().bool,buttonIsLoading:m().bool,logo:m().element,isOfflineMode:m().bool};const b=f},7840:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(5932),i=t(3619),c=t.n(i),r=t(1609);const s=e=>{const{redirectFunc:n=e=>window.location.assign(e),connectUrl:t,redirectUri:i=null,from:c}=e,[s,a]=(0,r.useState)(null);return t&&t!==s&&a(t),(0,r.useEffect)((()=>{s||o.Ay.fetchAuthorizationUrl(i).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func};const a=s},648:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(7499);const __=o.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,o=(0,r.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&o.length>0?s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection"))),s().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>s().createElement(a.A,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().array,disconnectingPlugin:c().string};const p=l},7088:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(442),i=t(6461),c=t(6427),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(4175);const __=r.__,u=e=>{const{message:n,isRestoringConnection:t,restoreConnectionCallback:s,restoreConnectionError:a}=e,[l]=(0,o.A)(["md"],[">"]),u=d.A.notice+(l?" "+d.A["bigger-than-medium"]:""),m=p().createElement(c.Icon,{icon:p().createElement(c.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(c.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(c.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(c.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!n)return null;if(t)return p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},p().createElement(i.A,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-connection")));const g=a?p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u+" "+d.A.error},p().createElement("div",{className:d.A.message},m,(0,r.sprintf)(/* translators: placeholder is the error. */ +__("By clicking %s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:n})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.A)(e),rel:"noopener noreferrer",target:"_blank"},n),m=({className:e,multipleButtons:n,agreeButtonLabel:t,...o})=>React.createElement(l.Ay,i()({className:(0,s.A)(e,"terms-of-service")},o),n?React.createElement(p,{multipleButtonsLabels:n}):React.createElement(d,{agreeButtonLabel:t}))},110:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o,Z:()=>i});const o={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},i=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(8579),i=t.n(o),c=t(2231),r=t(1609),s=t.n(r),a=t(110),l=t(4495);const p=(0,r.forwardRef)((({variant:e="body",children:n,component:t,className:o,...p},d)=>{const u=t||a.Q[e]||"span",m=(0,r.useMemo)((()=>a.Z.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.A[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return s().createElement(u,i()({className:(0,c.A)(l.A.reset,l.A[e],o,m)},p,{ref:d}),n)}));p.displayName="Text";const d=p},3924:(e,n,t)=>{"use strict";function o(e,n={}){const t={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);for(const e in n)t[e]=encodeURIComponent(n[e]);!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(t.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(t.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(t).map((e=>e+"="+t[e])).join("&")}t.d(n,{A:()=>o})},6439:(e,n,t)=>{let o={};try{o=t(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>Object.hasOwn(o,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},8421:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(8089),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(9660);const __=i.__,p=e=>{const{apiRoot:n,apiNonce:t,connectLabel:i=__("Connect","jetpack-connection"),registrationNonce:c,redirectUri:r=null,from:s,autoTrigger:p=!1}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:g,userIsConnecting:h,registrationError:_}=(0,l.A)({registrationNonce:c,redirectUri:r,apiRoot:n,apiNonce:t,autoTrigger:p,from:s});return a().createElement(a().Fragment,null,(!u||!m)&&a().createElement(o.A,{label:i,onClick:d,displayError:!!_,isLoading:g||h}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool};const d=p},6212:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7723),i=t(1609),c=t.n(i),r=t(9660),s=t(5582);const __=o.__,a=({title:e,buttonLabel:n,loadingLabel:t,apiRoot:o,apiNonce:i,registrationNonce:a,from:l,redirectUri:p,images:d,children:u,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:_,skipPricingPage:y,logo:f})=>{const{handleRegisterSite:b,siteIsRegistering:k,userIsConnecting:C,registrationError:E,isOfflineMode:v}=(0,r.A)({registrationNonce:a,redirectUri:p,apiRoot:o,apiNonce:i,autoTrigger:g,from:l,skipUserConnection:_,skipPricingPage:y}),j=Boolean(E),w=k||C,A=E?.response?.code;return c().createElement(s.A,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),images:d||[],assetBaseUrl:m,buttonLabel:n||__("Set up Jetpack","jetpack-connection"),loadingLabel:t,handleButtonClick:b,displayButtonError:j,errorCode:A,buttonIsLoading:w,footer:h,isOfflineMode:v,logo:f},u)}},5582:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(3924),i=t(5879),c=t(8089),r=t(6087),s=t(7723),a=t(1609),l=t.n(a),p=t(2668);t(1772);const __=s.__,d=(e,n)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-connection");case"connection_disabled":return __("This site has been suspended.","jetpack-connection")}if(n)return(0,r.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:l().createElement("a",{href:(0,o.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},u=({title:e,images:n,children:t,assetBaseUrl:o,isLoading:r,buttonLabel:s,handleButtonClick:a,displayButtonError:u,errorCode:m,buttonIsLoading:g,loadingLabel:h,footer:_,isOfflineMode:y,logo:f})=>l().createElement(p.A,{title:e,assetBaseUrl:o,images:n,className:"jp-connection__connect-screen"+(r?" jp-connection__connect-screen__loading":""),logo:f},l().createElement("div",{className:"jp-connection__connect-screen__content"},t,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(i.A,{agreeButtonLabel:s})),l().createElement(c.A,{label:s,onClick:a,displayError:u||y,errorMessage:d(m,y),isLoading:g,isDisabled:y}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},g?h||__("Loading","jetpack-connection"):""),_&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},_)))},5745:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);const c=({images:e,assetBaseUrl:n=""})=>{if(!e?.length)return null;const t=e.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},t)}},2668:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7142),i=t(2231),c=t(1609),r=t.n(c),s=t(5745);t(9064);const a=({title:e,children:n,className:t,assetBaseUrl:c,images:a,logo:l,rna:p=!1})=>{const d=a?.length;return r().createElement("div",{className:(0,i.A)("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",t?" "+t:"")},p&&r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||r().createElement(o.A,null),r().createElement("h2",null,e),n),d?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.A,{images:a,assetBaseUrl:c})):null)}},7945:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(2558),l=t(9660),p=t(401);const __=o.__,d=e=>{const{title:n=__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),autoTrigger:t=!1,buttonLabel:o=__("Set up Jetpack","jetpack-connection"),apiRoot:i,apiNonce:c,registrationNonce:r,from:d,redirectUri:u,children:m,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f="USD",wpcomProductSlug:b,siteProductAvailabilityHandler:k,logo:C,rna:E=!1}=e,{handleRegisterSite:v,siteIsRegistering:j,userIsConnecting:w,registrationError:A,isOfflineMode:N}=(0,l.A)({registrationNonce:r,redirectUri:u,apiRoot:i,apiNonce:c,autoTrigger:t,from:d}),S=b||"",{run:R,hasCheckoutStarted:T}=(0,a.A)({productSlug:S,redirectUrl:u,siteProductAvailabilityHandler:k,from:d}),O=Boolean(A),I=j||w||T,P=S?R:v;return s().createElement(p.A,{title:n,buttonLabel:o,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f,handleButtonClick:P,displayButtonError:O,buttonIsLoading:I,logo:C,isOfflineMode:N,rna:E},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,pricingIcon:c().oneOfType([c().string,c().element]),priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,wpcomProductSlug:c().string,checkSiteHasWpcomProduct:c().func,logo:c().element};const u=d},401:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var o=t(8089),i=t(3924),c=t(9957),r=t(5879),s=t(6087),a=t(7723),l=t(2231),p=t(4804),d=t.n(p),u=t(3619),m=t.n(u),g=t(1609),h=t.n(g),_=t(2668);t(381);const __=a.__,y=d()("jetpack:connection:ConnectScreenRequiredPlanVisual"),f=e=>{const{title:n,buttonLabel:t,children:a,priceBefore:p,priceAfter:d,pricingIcon:u,pricingTitle:m,pricingCurrencyCode:g="USD",isLoading:f=!1,handleButtonClick:b=()=>{},displayButtonError:k=!1,buttonIsLoading:C=!1,logo:E,isOfflineMode:v,rna:j=!1}=e;y("props are %o",e);const w=(0,s.createInterpolateElement)(__("Already have a subscription? ","jetpack-connection"),{connectButton:h().createElement(o.A,{label:__("Log in to get started","jetpack-connection"),onClick:b,isLoading:C})}),A=v?(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:h().createElement("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return h().createElement(_.A,{title:n,className:(0,l.A)("jp-connection__connect-screen-required-plan",f?"jp-connection__connect-screen-required-plan__loading":"",j?"rna":""),logo:E,rna:j},h().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},a,h().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},h().createElement(c.A,{title:m,icon:u,priceBefore:p,currencyCode:g,priceAfter:d},h().createElement(r.A,{agreeButtonLabel:t}),h().createElement(o.A,{label:t,onClick:b,displayError:k||v,errorMessage:A,isLoading:C,isDisabled:v}))),!v&&h().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},w)))};f.propTypes={pricingTitle:m().string.isRequired,priceBefore:m().number.isRequired,priceAfter:m().number.isRequired,pricingCurrencyCode:m().string,title:m().string,buttonLabel:m().string,pricingIcon:m().oneOfType([m().string,m().element]),isLoading:m().bool,handleButtonClick:m().func,displayButtonError:m().bool,buttonIsLoading:m().bool,logo:m().element,isOfflineMode:m().bool};const b=f},7840:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(5932),i=t(3619),c=t.n(i),r=t(1609);const s=e=>{const{redirectFunc:n=e=>window.location.assign(e),connectUrl:t,redirectUri:i=null,from:c}=e,[s,a]=(0,r.useState)(null);return t&&t!==s&&a(t),(0,r.useEffect)((()=>{s||o.Ay.fetchAuthorizationUrl(i).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func};const a=s},648:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(7499);const __=o.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,o=(0,r.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&o.length>0?s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection"))),s().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>s().createElement(a.A,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().array,disconnectingPlugin:c().string};const p=l},7088:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(442),i=t(6461),c=t(6427),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(4175);const __=r.__,u=e=>{const{message:n,isRestoringConnection:t,restoreConnectionCallback:s,restoreConnectionError:a}=e,[l]=(0,o.A)(["md"],[">"]),u=d.A.notice+(l?" "+d.A["bigger-than-medium"]:""),m=p().createElement(c.Icon,{icon:p().createElement(c.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(c.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(c.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(c.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!n)return null;if(t)return p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},p().createElement(i.A,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-connection")));const g=a?p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u+" "+d.A.error},p().createElement("div",{className:d.A.message},m,(0,r.sprintf)(/* translators: placeholder is the error. */ __("There was an error reconnecting Jetpack. Error: %s","jetpack-connection"),a))):null;return p().createElement(p().Fragment,null,g,p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},m,n),s&&p().createElement("a",{onClick:s,onKeyDown:s,className:d.A.button,href:"#"},__("Restore Connection","jetpack-connection"))))};u.propTypes={message:a().string.isRequired,restoreConnectionCallback:a().func,isRestoringConnection:a().bool,restoreConnectionError:a().string};const m=u},7499:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(7419);const s=e=>{const{title:n,value:t,description:o}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},n),(t||o)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},t),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},o))))};s.propTypes={title:i().string,value:i().oneOfType([i().string,i().number]),description:i().string};const a=s},3269:(e,n,t)=>{"use strict";t.d(n,{A:()=>y});var o=t(372),i=t(5932),c=t(6439),r=t(6427),s=t(7723),a=t(3619),l=t.n(a),p=t(1609),d=t.n(p),u=(t(785),t(4472)),m=t(8503),g=t(412),h=t(8090);const __=s.__,_=e=>{const[n,t]=(0,p.useState)(!1),[s,a]=(0,p.useState)(!1),[l,_]=(0,p.useState)(!1),[y,f]=(0,p.useState)(!1),[b,k]=(0,p.useState)(!1),[C,E]=(0,p.useState)(!1),{apiRoot:v,apiNonce:j,connectedPlugins:w,title:A=__("Are you sure you want to disconnect?","jetpack-connection"),pluginScreenDisconnectCallback:N,onDisconnected:S,onError:R,disconnectStepComponent:T,context:O="jetpack-dashboard",connectedUser:I={},connectedSiteId:P,isOpen:D,onClose:x}=e;let U="";(0,c.jetpackConfigHas)("consumer_slug")&&(U=(0,c.jetpackConfigGet)("consumer_slug"));const L=(0,p.useMemo)((()=>({context:O,plugin:U})),[O,U]);(0,p.useEffect)((()=>{i.Ay.setApiRoot(v),i.Ay.setApiNonce(j)}),[v,j]),(0,p.useEffect)((()=>{I&&I.ID&&I.login&&o.A.initialize(I.ID,I.login)}),[I,I.ID,I.login]),(0,p.useEffect)((()=>{D&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_open",L)}),[D,L]),(0,p.useEffect)((()=>{D&&(s?!s||y||b?y&&!b?o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},L)):b&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},L)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},L)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},L)))}),[D,s,y,b,L]);const F=(0,p.useCallback)((()=>{i.Ay.disconnectSite().then((()=>{t(!1),a(!0)})).catch((e=>{t(!1),_(e),R&&R(e)}))}),[t,a,_,R]),B=(0,p.useCallback)(((e,n)=>{E(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);o.A.tracks.recordEvent("jetpack_disconnect_survey_submit",n),k(!0),E(!1)})).catch((e=>{o.A.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},n)),k(!0),E(!1)}))}),[E,k]),M=(0,p.useCallback)((e=>{e&&e.preventDefault(),_(!1),t(!0),"plugins"!==O?F():N&&N(e)}),[_,t,N,O,F]),$=(0,p.useCallback)((e=>o.A.tracks.recordEvent(e,L)),[L]),J=(0,p.useCallback)((()=>!(!I.ID||!P)),[I,P]),z=(0,p.useCallback)(((e,n,t)=>{if(t&&t.preventDefault(),!J())return void k(!0);const o={site_id:P,user_id:I.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:n||null}}},i=Object.assign({},L,{disconnect_reason:e});B(o,i)}),[B,k,J,P,I,L]),q=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),x()}),[S,x]),G=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]);return d().createElement(d().Fragment,null,D&&d().createElement(r.Modal,{title:"",contentLabel:A,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:x,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(s?" jp-connection__disconnect-dialog__success":"")},s?!s||y||b?y&&!b?d().createElement(g.A,{isSubmittingFeedback:C,onFeedBackProvided:z,onExit:q}):b?d().createElement(h.A,{onExit:q}):void 0:d().createElement(m.A,{canProvideFeedback:J(),onProvideFeedback:G,onExit:q}):d().createElement(u.A,{title:A,connectedPlugins:w,disconnectStepComponent:T,isDisconnecting:n,closeModal:x,onDisconnect:M,disconnectError:l,context:O,disconnectingPlugin:U,trackModalClick:$})))};_.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func};const y=_},8503:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(2365);const __=r.__,u=e=>{const{onExit:n,canProvideFeedback:t,onProvideFeedback:r}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{icon:"unlink",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,c.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-connection"),{br:p().createElement("br",null)})),t&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-connection")),p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("No thank you","jetpack-connection"))),!t&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))))};u.propTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool};const m=u},4472:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(3924),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(648);const __=r.__,u=e=>{const{title:n,isDisconnecting:t,onDisconnect:r,disconnectError:s,disconnectStepComponent:a,connectedPlugins:u,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:_}=e,y=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_learn_about")),[_]),f=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_support")),[_]),b=(0,l.useCallback)((()=>{_("jetpack_disconnect_dialog_click_stay_connected"),g()}),[_,g]),k=(0,l.useCallback)((e=>{_("jetpack_disconnect_dialog_click_disconnect"),r(e)}),[_,r]),C=(0,l.useCallback)((e=>{"Escape"!==e.key||t||b()}),[b,t]);(0,l.useEffect)((()=>(document.addEventListener("keydown",C,!1),()=>{document.removeEventListener("keydown",C,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},n),p().createElement(d.A,{connectedPlugins:u,disconnectingPlugin:m}),a,(()=>{if(!(u&&Object.keys(u).filter((e=>e!==m)).length)&&!a)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,c.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-connection"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(i.ExternalLink,{href:(0,o.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:p().createElement(i.ExternalLink,{href:(0,o.A)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:f})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(i.Button,{variant:"primary",disabled:t,onClick:b,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-connection"):__("Stay connected","jetpack-connection",0)),(()=>{let e=__("Disconnect","jetpack-connection");return t?e=__("Disconnecting…","jetpack-connection"):"plugins"===h&&(e=__("Deactivate","jetpack-connection")),p().createElement(i.Button,{variant:"primary",disabled:t,onClick:k,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),s&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},s)))};u.propTypes={title:a().string,isDisconnecting:a().bool,onDisconnect:a().func,disconnectError:a().bool,disconnectStepComponent:a().element,connectedPlugins:a().array,disconnectingPlugin:a().string,closeModal:a().func,context:a().string,trackModalClick:a().func};const m=u},412:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=(t(255),t(2951));const __=o.__,l=e=>{const{onExit:n,onFeedBackProvided:t,isSubmittingFeedback:o}=e;return s().createElement("div",{className:"jp-connection__disconnect-dialog__content"},s().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection")),s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection")),s().createElement(a.A,{onSubmit:t,isSubmittingFeedback:o}),s().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("Skip for now","jetpack-connection")))};l.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool};const p=l},8090:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(9362);const __=r.__,u=e=>{const{onExit:n}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{format:"vertical",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-connection")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,c.createInterpolateElement)(__("Your answer has been submitted.
Thanks for your input on how we can improve Jetpack.","jetpack-connection"),{br:p().createElement("br",null)})),p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))};u.PropTypes={onExit:a().func,assetBaseUrl:a().string};const m=u},2951:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(6427),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(8233);const __=i.__,p=e=>{const{onSubmit:n,isSubmittingFeedback:t}=e,[i,c]=(0,s.useState)(),[r,p]=(0,s.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection")}],u="another-reason",m=(0,s.useCallback)((()=>{n(i,i===u?r:"")}),[n,u,r,i]),g=(0,s.useCallback)((e=>{const n=e.target.value;e.stopPropagation(),p(n)}),[p]),h=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",_=(0,s.useCallback)(((e,n)=>{switch(n.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return a().createElement(a().Fragment,null,a().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>a().createElement(l.A,{key:e.id,id:e.id,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(e.id)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),a().createElement(l.A,{id:u,key:u,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(u)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection")," ",a().createElement("input",{placeholder:__("share your experience","jetpack-connection"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:r,onChange:g,maxLength:1e3})))),a().createElement("p",null,a().createElement(o.Button,{disabled:!i||t,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},t?__("Submitting…","jetpack-connection"):__("Submit Feedback","jetpack-connection",0))))};p.PropTypes={onSubmit:r().func,isSubmittingFeedback:r().bool};const d=p},8233:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);t(255);const c=e=>{const{id:n,onClick:t,onKeyDown:c,children:r,className:s}=e,a=(0,o.useCallback)((()=>{t(n)}),[n,t]),l=(0,o.useCallback)((e=>{c(n,e)}),[n,c]);return i().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+s},r)}},7018:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r);t(3732);const __=o.__,a=e=>{const{title:n,isLoading:t=!1,width:o="100%",displayTOS:i,scrollToIframe:c=!1,connectUrl:a,onComplete:l,onThirdPartyCookiesBlocked:p,location:d}=e;let{height:u="300"}=e;const m=(0,r.useRef)(void 0),g=(0,r.useRef)(void 0),h=e=>{if(g.current&&e.source===g.current.contentWindow)switch(e.data){case"close":window.removeEventListener("message",h),l&&l();break;case"wpcom_nocookie":p&&p()}};(0,r.useEffect)((()=>{c&&window.scrollTo(0,m.current.offsetTop-10),window.addEventListener("message",h)}));let _=a.replace("authorize/","authorize_iframe/");return _.includes("?")||(_+="?"),i&&(_+="&display-tos",u=(parseInt(u)+50).toString()),_+="&iframe_height="+parseInt(u),d&&(_+="&iframe_source="+d),s().createElement("div",{className:"dops-card fade-in jp-iframe-wrap",ref:m},s().createElement("h1",null,n),t?s().createElement("p",null,__("Loading…","jetpack-connection")):s().createElement("iframe",{title:n,width:o,height:u,src:_,ref:g}))};a.propTypes={title:c().string.isRequired,isLoading:c().bool,width:c().string,height:c().string,connectUrl:c().string.isRequired,displayTOS:c().bool.isRequired,scrollToIframe:c().bool,onComplete:c().func,onThirdPartyCookiesBlocked:c().func,location:c().string};const l=a},4981:(e,n,t)=>{"use strict";t.d(n,{A:()=>C});var o=t(7425),i=t(3924),c=t(1112),r=t(6427),s=t(6087),a=t(7723),l=t(7750),p=t(1386),d=t(8391),u=t(2231),m=t(3619),g=t.n(m),h=t(1609),_=t.n(h),y=t(3269);t(2057);const __=a.__,f=e=>{const{title:n=__("Manage your Jetpack connection","jetpack-connection"),apiRoot:t,apiNonce:c,connectedPlugins:s,onDisconnected:a,context:l="jetpack-dashboard",connectedUser:p={},connectedSiteId:d,isOpen:u=!1,onClose:m}=e,[g,f]=(0,h.useState)(!1),C=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]),E=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!1)}),[f]);return _().createElement(_().Fragment,null,u&&_().createElement(_().Fragment,null,_().createElement(r.Modal,{title:"",contentLabel:n,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},_().createElement("div",{className:"jp-connection__manage-dialog__content"},_().createElement("h1",{id:"jp-connection__manage-dialog__heading"},n),_().createElement(o.Ay,{className:"jp-connection__manage-dialog__large-text"},__("At least one user must be connected for your Jetpack products to work properly.","jetpack-connection")),_().createElement(b,{title:__("Transfer ownership to another admin","jetpack-connection"),link:(0,i.A)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),_().createElement(b,{title:__("Disconnect Jetpack","jetpack-connection"),onClick:C,key:"disconnect",action:"disconnect"})),_().createElement(k,{onClose:m})),_().createElement(y.A,{apiRoot:t,apiNonce:c,onDisconnected:a,connectedPlugins:s,connectedSiteId:d,connectedUser:p,isOpen:g,onClose:E,context:l})))},b=({title:e,onClick:n=()=>null,link:t="#",action:o})=>_().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},_().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},_().createElement("a",{href:t,className:(0,u.A)("jp-connection__manage-dialog__action-card__card-headline",o),onClick:n},e,_().createElement(l.A,{icon:"disconnect"===o?p.A:d.A,className:"jp-connection__manage-dialog__action-card__icon"})))),k=({onClose:e})=>_().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},_().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},_().createElement(o.Ay,null,(0,s.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-connection"),{strong:_().createElement("strong",null),connectionInfoLink:_().createElement(r.ExternalLink,{href:(0,i.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:_().createElement(r.ExternalLink,{href:(0,i.A)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),_().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},_().createElement(c.A,{weight:"regular",variant:"secondary",onClick:e,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-connection"))));f.propTypes={title:g().string,apiRoot:g().string.isRequired,apiNonce:g().string.isRequired,connectedPlugins:g().oneOfType([g().array,g().object]),onDisconnected:g().func,context:g().string,connectedUser:g().object,connectedSiteId:g().number,isOpen:g().bool,onClose:g().func};const C=f},9660:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const a=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},l=({registrationNonce:e=a.registrationNonce,apiRoot:n=a.apiRoot,apiNonce:t=a.apiNonce,redirectUri:i,autoTrigger:l,from:p,skipUserConnection:d,skipPricingPage:u}={})=>{const{registerSite:m,connectUser:g,refreshConnectedPlugins:h}=(0,c.useDispatch)(s.a),_=(0,c.useSelect)((e=>e(s.a).getRegistrationError())),{siteIsRegistering:y,userIsConnecting:f,userConnectionData:b,connectedPlugins:k,connectionErrors:C,isRegistered:E,isUserConnected:v,hasConnectedOwner:j,isOfflineMode:w}=(0,c.useSelect)((e=>({siteIsRegistering:e(s.a).getSiteIsRegistering(),userIsConnecting:e(s.a).getUserIsConnecting(),userConnectionData:e(s.a).getUserConnectionData(),connectedPlugins:e(s.a).getConnectedPlugins(),connectionErrors:e(s.a).getConnectionErrors(),isOfflineMode:e(s.a).getIsOfflineMode(),...e(s.a).getConnectionStatus()}))),A=()=>d?i?(window.location=i,Promise.resolve(i)):Promise.resolve():g({from:p,redirectUri:i,skipPricingPage:u}),N=n=>(n&&n.preventDefault(),E?A():m({registrationNonce:e,redirectUri:i,from:p}).then((()=>A())));return(0,r.useEffect)((()=>{o.Ay.setApiRoot(n),o.Ay.setApiNonce(t)}),[n,t]),(0,r.useEffect)((()=>{!l||y||f||N()}),[]),{handleRegisterSite:N,handleConnectUser:A,refreshConnectedPlugins:h,isRegistered:E,isUserConnected:v,siteIsRegistering:y,userIsConnecting:f,registrationError:_,userConnectionData:b,hasConnectedOwner:j,connectedPlugins:k,connectionErrors:C,isOfflineMode:w}}},3765:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var o=t(7999);function i(){const e=("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection)?.calypsoEnv;switch(e){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}},4617:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o=e=>{window.location.replace(e)}},9628:(e,n,t)=>{"use strict";t.d(n,{A:()=>r,R:()=>s});var o=t(7088),i=t(9660),c=t(1713);function r(){const{connectionErrors:e}=(0,i.A)({}),n=Object.values(e).shift(),t=n&&Object.values(n).length&&Object.values(n).shift().error_message;return{hasConnectionError:Boolean(t),connectionErrorMessage:t}}const s=()=>{const{hasConnectionError:e,connectionErrorMessage:n}=r(),{restoreConnection:t,isRestoringConnection:i,restoreConnectionError:s}=(0,c.A)();return e?React.createElement(o.A,{isRestoringConnection:i,restoreConnectionError:s,restoreConnectionCallback:t,message:n}):null}},2558:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var o=t(5932),i=t(7999),c=t(7143),r=t(4804),s=t.n(r),a=t(1609),l=t(3765),p=t(9660),d=t(4293);const u=s()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:g,apiNonce:h,siteSuffix:_}=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},y=()=>"undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function f({productSlug:e,redirectUrl:n,siteSuffix:t=_,adminUrl:i=y(),connectAfterCheckout:r=!1,siteProductAvailabilityHandler:s=null,quantity:f=null,from:b,useBlogIdSuffix:k=!1}={}){u("productSlug is %s",e),u("redirectUrl is %s",n),u("siteSuffix is %s",t),u("from is %s",b);const[C,E]=(0,a.useState)(!1),{registerSite:v}=(0,c.useDispatch)(d.a),j=(0,c.useSelect)((e=>e(d.a).getBlogId()),[]);u("blogID is %s",j??"undefined"),k=k&&!!j;const{isUserConnected:w,isRegistered:A,handleConnectUser:N}=(0,p.A)({redirectUri:n,from:b}),S=(0,a.useMemo)((()=>{const o=(0,l.A)(),c=(!A||!w)&&r,s=c?"checkout/jetpack/":`checkout/${k?j.toString():t}/`,a=new URL(`${o}${s}${e}${null!=f?`:-q-${f}`:""}`);return c?(a.searchParams.set("connect_after_checkout",!0),a.searchParams.set("admin_url",i),a.searchParams.set("from_site_slug",t)):a.searchParams.set("site",t),a.searchParams.set("source",b),a.searchParams.set("redirect_to",n),w||a.searchParams.set("unlinked","1"),a}),[A,w,r,t,f,e,b,n,i,k,j]);u("isRegistered is %s",A),u("isUserConnected is %s",w),u("connectAfterCheckout is %s",r),u("checkoutUrl is %s",S);const R=(e=null)=>Promise.resolve(s&&s()).then((n=>{if(e&&S.searchParams.set("redirect_to",e),n)return u("handleAfterRegistration: Site has a product associated"),N();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",S),window.location.href=S}));return(0,a.useEffect)((()=>{o.Ay.setApiRoot(g),o.Ay.setApiNonce(h)}),[]),{run:(e,t=null)=>(e&&e.preventDefault(),E(!0),r?((e=null)=>{e&&S.searchParams.set("redirect_to",e),u("Redirecting to connectAfterCheckout flow: %s",S),window.location.href=S})(t):A?R(t):void v({registrationNonce:m,redirectUri:n}).then((()=>R(t)))),isRegistered:A,hasCheckoutStarted:C}}},1713:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const{apiRoot:a,apiNonce:l}=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{};function p(){const[e,n]=(0,r.useState)(!1),[t,i]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:d}=(0,c.useDispatch)(s.a);return(0,r.useEffect)((()=>{o.Ay.setApiRoot(a),o.Ay.setApiNonce(l)}),[]),{restoreConnection:(e=!0)=>(n(!0),i(null),o.Ay.reconnect().then((n=>("in_progress"===n.status?(p(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),n))).catch((e=>{throw i(e),n(!1),e}))),isRestoringConnection:e,restoreConnectionError:t}}},8980:(e,n,t)=>{"use strict";t.d(n,{AY:()=>g.A,F0:()=>o.A,Hx:()=>y.a,JC:()=>l.A,Jl:()=>i.A,Ni:()=>u.A,Ob:()=>b.A,Rc:()=>p.R,Sx:()=>p.A,ag:()=>_.A,bo:()=>d.A,cS:()=>f.A,d1:()=>h.A,mX:()=>a.A,nM:()=>c.A,pK:()=>r.A,w5:()=>m.A,xW:()=>s.A});var o=t(6212),i=t(2668),c=t(7945),r=t(8421),s=t(7018),a=t(7840),l=t(7088),p=t(9628),d=t(3269),u=t(7499),m=t(9660),g=t(4981),h=t(4617),_=t(3765),y=t(4293),f=t(2558),b=t(1713)},3935:(e,n,t)=>{"use strict";t.d(n,{A1:()=>a,Ay:()=>E,DO:()=>s,Ij:()=>r,Kl:()=>m,LW:()=>l,MU:()=>g,XY:()=>p,ZO:()=>c,dz:()=>d,gH:()=>u,v_:()=>i});var o=t(5932);const i="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:i,connectionStatus:e}),_=e=>({type:r,isRegistering:e}),y=e=>({type:s,isConnecting:e}),f=e=>({type:a,registrationError:e}),b=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const E={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:_,setUserIsConnecting:y,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:k,registerSite:function*({registrationNonce:e,redirectUri:n,from:t=""}){yield b(),yield _(!0);try{const o=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:n,from:t};return yield h({isRegistered:!0}),yield k(o.authorizeUrl),yield _(!1),Promise.resolve(o)}catch(e){return yield f(e),yield _(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:n,redirectUri:t,skipPricingPage:o}={}){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:n,redirectUri:t,skipPricingPage:o}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((n=>o.Ay.fetchConnectedPlugins().then((t=>{e(C(t)),n(t)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},2494:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(5932),i=t(7143),c=t(2279);const r={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>o.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:n,from:t})=>o.Ay.registerSite(e,n,t),CONNECT_USER:(0,i.createRegistryControl)((({resolveSelect:e})=>({from:n,redirectFunc:t,redirectUri:o,skipPricingPage:i}={})=>new Promise(((r,s)=>{e(c.A).getAuthorizationUrl(o).then((e=>{const o=t||(e=>window.location.assign(e)),c=new URL(e);i&&c.searchParams.set("skip_pricing","true"),n&&c.searchParams.set("from",encodeURIComponent(n));const s=c.toString();o(s),r(s)})).catch((e=>{s(e)}))}))))}},5051:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143),i=t(3935);const c=(0,o.combineReducers)({connectionStatus:(e={},n)=>{switch(n.type){case i.v_:return{...e,...n.connectionStatus};case i.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,n)=>n.type===i.ZO?n.isFetching:e,siteIsRegistering:(e=!1,n)=>n.type===i.Ij?n.isRegistering:e,userIsConnecting:(e=!1,n)=>n.type===i.DO?n.isConnecting:e,registrationError:(e,n)=>{switch(n.type){case i.LW:return!1;case i.A1:return n.registrationError;default:return e}},authorizationUrl:(e,n)=>n.type===i.XY?n.authorizationUrl:e,userConnectionData:(e,n)=>(n.type,e),connectedPlugins:(e={},n)=>n.type===i.gH?n.connectedPlugins:e,connectionErrors:(e={},n)=>n.type===i.Kl?n.connectionErrors:e,isOfflineMode:(e=!1,n)=>n.type===i.MU?n.isConnecting:e})},8019:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(7143),i=t(3935),c=t(2279);const r={...{getAuthorizationUrl:{isFulfilled:(e,...n)=>{const t=Boolean(e.authorizationUrl),i=(0,o.select)(c.A).hasFinishedResolution("getAuthorizationUrl",n);return t&&!i&&(0,o.dispatch)(c.A).finishResolution("getAuthorizationUrl",n),t},*fulfill(e){const n=yield i.Ay.fetchAuthorizationUrl(e);yield i.Ay.setAuthorizationUrl(n.authorizeUrl)}}}}},2676:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143);class i{static store=null;static mayBeInit(e,n){null===i.store&&(i.store=(0,o.createReduxStore)(e,n),(0,o.register)(i.store))}}const c=i},2279:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o="jetpack-connection"},4293:(e,n,t)=>{"use strict";t.d(n,{a:()=>p.A});var o=t(7999),i=t(3935),c=t(2494),r=t(5051),s=t(8019),a=t(2676),l=t(8734),p=t(2279);const d=window.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(p.A,{__experimentalUseThunks:!0,reducer:r.A,actions:i.Ay,selectors:a.A,resolvers:s.A,controls:c.A,initialState:d||{}})},2365:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},9362:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9074:e=>{"use strict";e.exports={consumer_slug:"connection_package"}},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},8579:e=>{function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";function o(e){var n,t,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var c=e.length;for(n=0;ni});const i=function(){for(var e,n,t=0,i="",c=arguments.length;t{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var o=n.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e})();var o={};return(()=>{"use strict";t.r(o),t.d(o,{CONNECTION_STORE_ID:()=>e.Hx,ConnectButton:()=>e.pK,ConnectScreen:()=>e.F0,ConnectScreenLayout:()=>e.Jl,ConnectScreenRequiredPlan:()=>e.nM,ConnectUser:()=>e.mX,ConnectionError:()=>e.Rc,ConnectionErrorNotice:()=>e.JC,DisconnectCard:()=>e.Ni,DisconnectDialog:()=>e.bo,InPlaceConnection:()=>e.xW,ManageConnectionDialog:()=>e.AY,getCalypsoOrigin:()=>e.ag,thirdPartyCookiesFallbackHelper:()=>e.d1,useConnection:()=>e.w5,useConnectionErrorNotice:()=>e.Sx,useProductCheckoutWorkflow:()=>e.cS,useRestoreConnection:()=>e.Ob});var e=t(8980)})(),o})())); \ No newline at end of file diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 360c9b34..83faf638 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": "845153ed63db17156cca60d22aed58c3023b68e4" + "reference": "bfce4c70ab081270ff49e701e4276b5c501b627c" }, "require": { "php": ">=7.2" @@ -63,7 +63,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "b6d1555dd53c26ef0eed7f78a77b8167b4fc19cc" + "reference": "59e3e25693daf2bb63c42b6c78a147713f815c62" }, "require": { "php": ">=7.2" @@ -131,7 +131,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "c099b86a64dcef0d2f649e625e8d26bf2a1ed206" + "reference": "e940769a15c2a6ebd882a00c87124f07b5fcdbea" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -203,7 +203,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "ad064a81dc7cb773ce88c9b6bf64d79a9523c3d6" + "reference": "712d75707f87795347268925bf91b49b20aab886" }, "require": { "composer-plugin-api": "^2.2", @@ -274,7 +274,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "c2c8d75ea6f69473906226f8f388d3f0d640b2e7" + "reference": "0cf126aafbf5f05189ab79774fca52b6c2b217ef" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -345,7 +345,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "6fe9a0857212a70804283a9f4e66e24e27527668" + "reference": "cb0464e2be6ac8d59fdc49319478404c2aeb5222" }, "require": { "automattic/jetpack-boost-core": "^0.3.2", @@ -424,7 +424,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "b81fd4cbadca43ae94a15ff23eda3004f2cb7546" + "reference": "c8b82a2f7768d4dd4be3807d8c0bc3bc18f6c7a2" }, "require": { "composer-plugin-api": "^2.2", @@ -487,7 +487,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "68a1530b20bcd70f4ef80195219da22537e218a8" + "reference": "e589a6bd4264eea8165354330e4ad8cd1bf98976" }, "require": { "php": ">=7.2" @@ -562,7 +562,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "9aa05a2abf00c0655a93f2bac96077c1c3a43cfa" + "reference": "cab529deb25f646d9e1eaa18492b16a2e06ab214" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -655,7 +655,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "269df62728434f389a80964533b3d52d254f0c4b" + "reference": "7827a565fcfe50a6b1712dc00278ae93978a2558" }, "require": { "php": ">=7.2" @@ -712,7 +712,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "de97bd1dbc6ae66779a1d1118670f5b854ff8a90" + "reference": "eed745d1c77f1d5b40f024ebabb032d737d5af2f" }, "require": { "php": ">=7.2" @@ -768,7 +768,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "08d99b3327fb7d27184fb68ffc1fc94bcc7d9182" + "reference": "e8435fd3cbf74af45e4c7417f9895bf3b99256af" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -846,7 +846,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "ac82f960e62aa66069eb9bd7f4fc3a6d8a045961" + "reference": "bc9e15c2b6a6886def1cd472c36067a1fd114ea2" }, "require": { "php": ">=7.2" @@ -907,7 +907,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "99bcf9e4dc0f189f990c1830f0ba90dc02d8e470" + "reference": "7c26cf88c34c19699481e7eb045c8fea47fe6d8f" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -985,7 +985,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "fa453589a3044935b53638c61889ca6f4be851fa" + "reference": "86c3d65edae73fad2ba1537a4fea73181b7f9cd7" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1050,7 +1050,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "7b6a77edb773f167eb9d72bef4610afb4b268467" + "reference": "8dfce4609e08d5d8d550931b78d3248cd70e347c" }, "require": { "php": ">=7.2" @@ -1106,7 +1106,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "b357103f726e834bdcba4ea3b8a6a9e48ec7fe3a" + "reference": "2fbfad9dd38145cecce586bab42eaf7d7d92604f" }, "require": { "automattic/jetpack-admin-ui": "^0.5.1", @@ -1211,7 +1211,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "175e636979fb6d6dd520f61101c6c14a93bc3e65" + "reference": "ea6dae3b5c42e7a905e42a1ca9d43d7283ce23b1" }, "require": { "php": ">=7.2" @@ -1275,7 +1275,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "c470208cd94ba9a0d355d77266c71b14a0b5286a" + "reference": "fb9498b137c76fed5a9aaebc64e43b8b27fbec34" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1346,7 +1346,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "89683ca4cd7e96a42b4dfe6fc680626c9c19d17d" + "reference": "bda026b7f5ff729322f01a8fb4c6b49c0baa19f5" }, "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": "92d09c3ce674e40d7ac193af06ddd00ab084eb04" + "reference": "059eefa395a0b80c57c72b42555e53487afce424" }, "require": { "php": ">=7.2" @@ -1478,7 +1478,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "434e33556552c27dfec495f5021fd81e4809ee62" + "reference": "39a54a49deb5476675b500980ef2655509827944" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1556,7 +1556,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "60b85a5307dca5a094ae89495da6743ce80a892b" + "reference": "b6c981cda1c065513c3eafa2fe15d88a565c8ad4" }, "require": { "automattic/jetpack-status": "^5.0.1", @@ -1614,7 +1614,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "52d01515d3aabc9af3acac448ffaf656f268071e" + "reference": "b363f4282865e7b40d84e562cda786290a1e3ab6" }, "require": { "php": ">=7.2" @@ -1671,7 +1671,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "95a5c32e18771de2dc18809512cee4d7ed635e27" + "reference": "07f9daadd7ae236269be6356f05e2f904d68b2e7" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -1738,7 +1738,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "d728b6a666c422c621bafb609fc64a6efe6f0091" + "reference": "328c6d7eb24286004577aad440c007bc5797a1f6" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index bf162f4c..8a6a7540 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' => '845153ed63db17156cca60d22aed58c3023b68e4', + 'reference' => 'bfce4c70ab081270ff49e701e4276b5c501b627c', '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' => 'b6d1555dd53c26ef0eed7f78a77b8167b4fc19cc', + 'reference' => '59e3e25693daf2bb63c42b6c78a147713f815c62', '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.1', 'version' => '4.0.1.0', - 'reference' => 'c099b86a64dcef0d2f649e625e8d26bf2a1ed206', + 'reference' => 'e940769a15c2a6ebd882a00c87124f07b5fcdbea', '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' => 'ad064a81dc7cb773ce88c9b6bf64d79a9523c3d6', + 'reference' => '712d75707f87795347268925bf91b49b20aab886', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => 'c2c8d75ea6f69473906226f8f388d3f0d640b2e7', + 'reference' => '0cf126aafbf5f05189ab79774fca52b6c2b217ef', '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' => '6fe9a0857212a70804283a9f4e66e24e27527668', + 'reference' => 'cb0464e2be6ac8d59fdc49319478404c2aeb5222', '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' => 'b81fd4cbadca43ae94a15ff23eda3004f2cb7546', + 'reference' => 'c8b82a2f7768d4dd4be3807d8c0bc3bc18f6c7a2', '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' => '68a1530b20bcd70f4ef80195219da22537e218a8', + 'reference' => 'e589a6bd4264eea8165354330e4ad8cd1bf98976', '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.0-alpha.1733428152', 'version' => '6.2.0.0-alpha1733428152', - 'reference' => '9aa05a2abf00c0655a93f2bac96077c1c3a43cfa', + 'reference' => 'cab529deb25f646d9e1eaa18492b16a2e06ab214', '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' => '269df62728434f389a80964533b3d52d254f0c4b', + 'reference' => '7827a565fcfe50a6b1712dc00278ae93978a2558', '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' => 'de97bd1dbc6ae66779a1d1118670f5b854ff8a90', + 'reference' => 'eed745d1c77f1d5b40f024ebabb032d737d5af2f', '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.2', 'version' => '0.2.2.0', - 'reference' => '08d99b3327fb7d27184fb68ffc1fc94bcc7d9182', + 'reference' => 'e8435fd3cbf74af45e4c7417f9895bf3b99256af', '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' => 'ac82f960e62aa66069eb9bd7f4fc3a6d8a045961', + 'reference' => 'bc9e15c2b6a6886def1cd472c36067a1fd114ea2', '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.2', 'version' => '4.0.2.0', - 'reference' => '99bcf9e4dc0f189f990c1830f0ba90dc02d8e470', + 'reference' => '7c26cf88c34c19699481e7eb045c8fea47fe6d8f', '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' => 'fa453589a3044935b53638c61889ca6f4be851fa', + 'reference' => '86c3d65edae73fad2ba1537a4fea73181b7f9cd7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '7b6a77edb773f167eb9d72bef4610afb4b268467', + 'reference' => '8dfce4609e08d5d8d550931b78d3248cd70e347c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), @@ -157,7 +157,7 @@ 'automattic/jetpack-my-jetpack' => array( 'pretty_version' => '5.1.1', 'version' => '5.1.1.0', - 'reference' => 'b357103f726e834bdcba4ea3b8a6a9e48ec7fe3a', + 'reference' => '2fbfad9dd38145cecce586bab42eaf7d7d92604f', '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' => '175e636979fb6d6dd520f61101c6c14a93bc3e65', + 'reference' => 'ea6dae3b5c42e7a905e42a1ca9d43d7283ce23b1', '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' => 'c470208cd94ba9a0d355d77266c71b14a0b5286a', + 'reference' => 'fb9498b137c76fed5a9aaebc64e43b8b27fbec34', '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' => '89683ca4cd7e96a42b4dfe6fc680626c9c19d17d', + 'reference' => 'bda026b7f5ff729322f01a8fb4c6b49c0baa19f5', '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.1', 'version' => '0.4.1.0', - 'reference' => '92d09c3ce674e40d7ac193af06ddd00ab084eb04', + 'reference' => '059eefa395a0b80c57c72b42555e53487afce424', '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.4.0', 'version' => '0.4.0.0', - 'reference' => '434e33556552c27dfec495f5021fd81e4809ee62', + 'reference' => '39a54a49deb5476675b500980ef2655509827944', '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.1', 'version' => '3.0.1.0', - 'reference' => '60b85a5307dca5a094ae89495da6743ce80a892b', + 'reference' => 'b6c981cda1c065513c3eafa2fe15d88a565c8ad4', '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.1', 'version' => '3.0.1.0', - 'reference' => '52d01515d3aabc9af3acac448ffaf656f268071e', + 'reference' => 'b363f4282865e7b40d84e562cda786290a1e3ab6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -238,7 +238,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', - 'reference' => '95a5c32e18771de2dc18809512cee4d7ed635e27', + 'reference' => '07f9daadd7ae236269be6356f05e2f904d68b2e7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => 'd728b6a666c422c621bafb609fc64a6efe6f0091', + 'reference' => '328c6d7eb24286004577aad440c007bc5797a1f6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(),