__("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},p=e=>{let{slug:t,children:n}=e;returnReact.createElement("a",{className:"terms-of-service__link",href:(0,c.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)};t.Z=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:r}=e;returnReact.createElement(a.ZP,{className:s()(t,"terms-of-service")},n?React.createElement(u,null):React.createElement(l,{agreeButtonLabel:r}))}},66017:function(e,t,n){"use strict";n.d(t,{h:function(){returnr},s:function(){returno}});constr={"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"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},45106:function(e,t,n){"use strict";varr=n(82674),o=n.n(r),i=n(65235),s=n.n(i),c=n(99196),a=n.n(c),u=n(66017),l=n(85837);constp=(0,c.forwardRef)(((e,t)=>{let{variant:n="body",children:r,component:i,className:p,...f}=e;constd=i||u.h[n]||"span",h=(0,c.useMemo)((()=>u.s.reduce(((e,t)=>(void0!==f[t]&&(e+=l.Z[`${t}-${f[t]}`]+" ",deletef[t]),e)),"")),[f]);returnf.ref=t,a().createElement(d,o()({className:s()(l.Z.reset,l.Z[n],p,h)},f),r)}));p.displayName="Text",t.ZP=p},6895:function(e,t,n){"use strict";functionr(e){lett=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};constn={};letr;if("undefined"!=typeofwindow&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){constt=newURL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}elsen.source=encodeURIComponent(e);for(consteint)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeofjetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:function(){returnr}})},61132:function(e,t,n){letr={};try{r=n(92787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}consto=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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.';returnr[e]}}},9312:function(e,t,n){"use strict";varr=n(65736),o=n(15844),i=n.n(o),s=n(99196),c=n.n(s),a=n(31294),u=n(71624);const__=r.__,l=e=>{let{title:t,buttonLabel:n,apiRoot:r,apiNonce:o,registrationNonce:i,from:s,redirectUri:l,images:p,children:f,assetBaseUrl:d,autoTrigger:h,footer:g,skipUserConnection:m,logo:y}=e;const{handleRegisterSite:E,siteIsRegistering:v,userIsConnecting:S,registrationError:_,isOfflineMode:C}=(0,a.Z)({registrationNonce:i,redirectUri:l,apiRoot:r,apiNonce:o,autoTrigger:h,from:s,skipUserConnection:m}),b=Boolean(_),T=v||S;returnc().createElement(u.Z,{title:t,images:p,assetBaseUrl:d,buttonLabel:n,handleButtonClick:E,displayButtonError:b,buttonIsLoading:T,footer:g,isOfflineMode:C,logo:y},f)};l.propTypes={title:i().string,buttonLabel:i().string,apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,registrationNonce:i().string.isRequired,from:i().string,redirectUri:i().string.isRequired,autoTrigger:i().bool,images:i().arrayOf(i().string),assetBaseUrl:i().string,skipUserConnection:i().bool,logo:i().element},l.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1},t.Z=l},71624:function(e,t,n){"use strict";varr=n(6895),o=n(37325),i=n