laipower/wp-content/plugins/jetpack-protect/jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js

12 lines
165 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={9487:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});const c={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function a(e){return c[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},8899:(e,t,n)=>{"use strict";n.d(t,{LR:()=>r});var c=n(9487),a=n(2003);function r(e,t,n={}){const r=(0,c.X)(t);if(!r||isNaN(e))return null;const{decimal:i,grouping:o,precision:s,symbol:l}={...r,...n},p=e<0?"-":"",u=Math.abs(e),d=Math.floor(u);return{sign:p,symbol:l,integer:(0,a.Z)(u,s,i,o).split(i)[0],fraction:s>0?(0,a.Z)(u-d,s,i,o).slice(1):""}}},2003:(e,t,n)=>{"use strict";function c(e,t=0,n=".",c=","){const a=(e+"").replace(/[^0-9+\-Ee.]/g,""),r=isFinite(+a)?+a:0,i=isFinite(+t)?Math.abs(t):0,o=(i?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(r,i):""+Math.round(r)).split(".");return o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(o[1]||"").length<i&&(o[1]=o[1]||"",o[1]+=new Array(i-o[1].length+1).join("0")),o.join(n)}n.d(t,{Z:()=>c})},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(9307);const a=function(e){let{icon:t,size:n=24,...a}=e;return(0,c.cloneElement)(t,{width:n,height:n,...a})}},3259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},9201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},6936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},9517:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}))},496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},1908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,c.createElement)(a.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}))},797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9307),a=n(444);const r=(0,c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,c.createElement)(a.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},5235:(e,t)=>{var n;!function(){"use strict";var c={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var o in n)c.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},951:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let c=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(c++,"%c"===e&&(a=c))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:c}=e.exports;c.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,a,r,i=null;function o(...e){if(!o.enabled)return;const c=o,a=Number(new Date),r=a-(n||a);c.diff=r,c.prev=n,c.curr=a,n=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,a)=>{if("%%"===n)return"%";i++;const r=t.formatters[a];if("function"==typeof r){const t=e[i];n=r.call(c,t),e.splice(i,1),i--}return n})),t.formatArgs.call(c,e);(c.log||t.log).apply(c,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=c,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(o),o}function c(e,n){const c=t(this.namespace+(void 0===n?":":n)+e);return c.log=this.log,c}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const c=("string"==typeof e?e:"").split(/[\s,]+/),a=c.length;for(n=0;n<a;n++)c[n]&&("-"===(e=c[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,c;for(n=0,c=t.skips.length;n<c;n++)if(t.skips[n].test(e))return!1;for(n=0,c=t.names.length;n<c;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3171),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5250:(e,t,n)=>{"use strict";n.d(t,{Ep:()=>d,aU:()=>c,cP:()=>m,q_:()=>s});var c,a=n(255);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c||(c={}));var r=function(e){return e};var i="beforeunload",o="popstate";function s(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,s=n.history;function g(){var e=m(n.location.hash.substr(1)),t=e.pathname,c=void 0===t?"/":t,a=e.search,i=void 0===a?"":a,o=e.hash,l=void 0===o?"":o,p=s.state||{};return[p.idx,r({pathname:c,search:i,hash:l,state:p.usr||null,key:p.key||"default"})]}var h=null;function y(){if(h)j.call(h),h=null;else{var e=c.Pop,t=g(),n=t[0],a=t[1];if(j.length){if(null!=n){var r=f-n;r&&(h={action:e,location:a,retry:function(){S(-1*r)}},S(r))}}else N(e)}}n.addEventListener(o,y),n.addEventListener("hashchange",(function(){d(g()[1])!==d(E)&&y()}));var v=c.Pop,k=g(),f=k[0],E=k[1],b=p(),j=p();function _(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var c=n.location.href,a=c.indexOf("#");t=-1===a?c:c.slice(0,a)}return t}()+"#"+("string"==typeof e?e:d(e))}function C(e,t){return void 0===t&&(t=null),r((0,a.Z)({pathname:E.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:u()}))}function Z(e,t){return[{usr:e.state,key:e.key,idx:t},_(e)]}function w(e,t,n){return!j.length||(j.call({action:e,location:t,retry:n}),!1)}function N(e){v=e;var t=g();f=t[0],E=t[1],b.call({action:v,location:E})}function S(e){s.go(e)}null==f&&(f=0,s.replaceState((0,a.Z)({},s.state,{idx:f}),""));var P={get action(){return v},get location(){return E},createHref:_,push:function e(t,a){var r=c.Push,i=C(t,a);if(w(r,i,(function(){e(t,a)}))){var o=Z(i,f+1),l=o[0],p=o[1];try{s.pushState(l,"",p)}catch(e){n.location.assign(p)}N(r)}},replace:function e(t,n){var a=c.Replace,r=C(t,n);if(w(a,r,(function(){e(t,n)}))){var i=Z(r,f),o=i[0],l=i[1];s.replaceState(o,"",l),N(a)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return b.push(e)},block:function(e){var t=j.push(e);return 1===j.length&&n.addEventListener(i,l),function(){t(),j.length||n.removeEventListener(i,l)}}};return P}function l(e){e.preventDefault(),e.returnValue=""}function p(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function u(){return Math.random().toString(36).substr(2,8)}function d(e){var t=e.pathname,n=void 0===t?"/":t,c=e.search,a=void 0===c?"":c,r=e.hash,i=void 0===r?"":r;return a&&"?"!==a&&(n+="?"===a.charAt(0)?a:"?"+a),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}function m(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var c=e.indexOf("?");c>=0&&(t.search=e.substr(c),e=e.substr(0,c)),e&&(t.pathname=e)}return t}},2289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},1494:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj"}},511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={section:"cAbGtJDGgLubucBnz7vM"}},281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},9171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},3466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},2404:()=>{},5612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={iconWrapper:"sDAzdUdcbaYmUMZBe2XW","star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43"}},9054:()=>{},3080:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smCols:"4",mdCols:"8",lgCols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},8730:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},1683:()=>{},3280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},1510:()=>{},9610:()=>{},9836:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",link:"keppPyjmE5m2vuXkN8CS",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},4220:()=>{},287:()=>{},9823:()=>{},7664:()=>{},6234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"rV_5QyvhDnsVjCX4pb0h",link:"MO1jDNY8VPqeNS9xL8jE"}},8578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"relative-col":"zvd4dCB_bBDiXJKKDqXm","close-link":"ly4o9lSswAGHFXqGUEIO","account-description":"u64Go3kwEZ7MD9eji0H1","account-images":"_RT41NE3LU4R0ubcij2y",wordpress:"cFGWJeRiGHjAr8D7CWJW",google:"Iz3l7a05TP6HK9S92TIL",apple:"lmQ0wFmnk4kKkGVjokPA","all-features":"AoIs8wD92wKR8RpQj6Uc"}},6322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={"connection-status-card":"kezuOHNvu9vdvlJ86Fwg",status:"qJizORs2q_CVCj9L6XLe","avatar-wrapper":"VmtuLc2xRqmsO6cK8qjF",cloud:"MdTRfQ3eo5qZKChZlzNj",jetpack:"PbEpL02SEH9VNAlbKCfV",avatar:"TD4AUM9gcTVAB6JHB5ZR",line:"yjl73qv0VWoPP8IhGreh",disconnected:"rq8YRaj9OyUUXJUHiUgI",info:"YZ7FNKEm9qpvQ4ZkbAz5","list-item":"oH9tzGE80LnB6Og69RFz","list-item-text":"xXVEWvQllVsFGmJY8WEp",error:"J0GIu2rNR7rXocQTyd8p"}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={icon:"hdasSNj9k3Sc5PwXK4uE",link:"eWN8Hj0SBRDq1F48n_Fg"}},1017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={heading:"jErCC9oKHSM15BxzFyQK",notice:"oVoYbwbFB6U2o90Njusk",message:"wBVXH4OTNwLHPRpN4nsq"}},6891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"wiobThfXJCuhGNrbFIT6","expire-date":"VgAxgahF9bC2M__FiIgV","actions-list-item":"Doju0RxvvN9JS12mf489"}},9720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"pIsYsXFAJ9KX2VrS5rmY","is-link":"YXHdD0VsFjiTsVRLrrx9","has-error":"Pp9cMIaESLYelLOX3tkI",name:"w56ueQLYexqzTybA7015",description:"gmPKCDKZcfQt9WieTyKS",actions:"fDBaV7I4yUO6w5AWVEtr",status:"f5VJYwuJmjxH8PVxEbbv",active:"ry3pxoGtmQ0ZeSwp7F_3",inactive:"LZzE3EG7m3CDR46wwwEr",error:"Vx_jpT02r8W6NfsRSB02","is-fetching":"PdsJCfyyjSgrNDheF2qi","blink-animation":"dWP7ypkVXudMbAa38W5Z"}},8429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={card:"q0T8YyQxRawhpDtvJjxI",container:"B7JDqI_vtKxSy5GjvqA1","card-header":"zj7xadmhIWeuf7ZwvVTS","product-bundle-icon":"GsioW6IsC8EMYE3U6788","product-bundle-icons":"dbz07JqxOlivjKO4vBEF","product-icon":"cfEO8udWbRGPFJzW8Jg5","plus-icon":"zlh3zbjUe4Z8cBs7uVVe","product-has-required-plan":"qoZuzG5EcDa231hC6t0P","checkout-button":"Q6uUUQCPWS6_6nLxIn68","components-spinner":"YU4iBCRze09ZP3iCsdcb","free-product-checkout-button":"OrQG7DjDd9Ha2Xj1Mx3L",features:"Q1jaYDpa2AVfJpA29wT0",disclaimers:"sEcLfpWjo0GF7QrxD3Lt","price-container":"xgv3jRkeF39aEQELCwru",price:"twlleZ5Ehq4bB7CvKVSW","is-old":"Qg4rPEvXsqmod1s_31d8","price-description":"ApsgxIornVy_3KnciVeJ","supporting-info":"NMxcZL17aEP7v81uG3zD"}},1287:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={container:"SWwV4Pw6OZ5vU3PqPXmr",imageContainer:"r7tUofa9Z3A5ziKVR1H7"}},5878:()=>{},3171:e=>{var t=1e3,n=60*t,c=60*n,a=24*c,r=7*a,i=365.25*a;function o(e,t,n,c){var a=t>=1.5*n;return Math.round(e/n)+" "+c+(a?"s":"")}e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!o)return;var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*c;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var r=Math.abs(e);if(r>=a)return o(e,r,a,"day");if(r>=c)return o(e,r,c,"hour");if(r>=n)return o(e,r,n,"minute");if(r>=t)return o(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=a)return Math.round(e/a)+"d";if(r>=c)return Math.round(e/c)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7556:(e,t,n)=>{"use strict";var c=n(3713);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5844:(e,t,n)=>{e.exports=n(7556)()},3713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},469:(e,t,n)=>{"use strict";var c=n(758);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,i){if(i!==c){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},5162:(e,t,n)=>{e.exports=n(469)()},758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},554:(e,t,n)=>{"use strict";n.d(t,{UT:()=>l,rU:()=>p});var c=n(9196),a=n(5250),r=n(5439);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},i.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,c,a={},r=Object.keys(e);for(c=0;c<r.length;c++)n=r[c],t.indexOf(n)>=0||(a[n]=e[n]);return a}const s=["onClick","reloadDocument","replace","state","target","to"];function l(e){let{basename:t,children:n,window:i}=e,o=(0,c.useRef)();null==o.current&&(o.current=(0,a.q_)({window:i}));let s=o.current,[l,p]=(0,c.useState)({action:s.action,location:s.location});return(0,c.useLayoutEffect)((()=>s.listen(p)),[s]),(0,c.createElement)(r.F0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const p=(0,c.forwardRef)((function(e,t){let{onClick:n,reloadDocument:l,replace:p=!1,state:u,target:d,to:m}=e,g=o(e,s),h=(0,r.oQ)(m),y=function(e,t){let{target:n,replace:i,state:o}=void 0===t?{}:t,s=(0,r.s0)(),l=(0,r.TH)(),p=(0,r.WU)(e);return(0,c.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!i||(0,a.Ep)(l)===(0,a.Ep)(p);s(e,{replace:n,state:o})}}),[l,s,p,i,o,n,e])}(m,{replace:p,state:u,target:d});return(0,c.createElement)("a",i({},g,{href:h,onClick:function(e){n&&n(e),e.defaultPrevented||l||y(e)},ref:t,target:d}))}))},5439:(e,t,n)=>{"use strict";n.d(t,{AW:()=>l,F0:()=>p,TH:()=>g,WU:()=>y,Z5:()=>u,oQ:()=>d,s0:()=>h});var c=n(9196),a=n(5250);function r(e,t){if(!e)throw new Error(t)}const i=(0,c.createContext)(null);const o=(0,c.createContext)(null);const s=(0,c.createContext)({outlet:null,matches:[]});function l(e){r(!1)}function p(e){let{basename:t="/",children:n=null,location:s,navigationType:l=a.aU.Pop,navigator:p,static:u=!1}=e;m()&&r(!1);let d=S(t),g=(0,c.useMemo)((()=>({basename:d,navigator:p,static:u})),[d,p,u]);"string"==typeof s&&(s=(0,a.cP)(s));let{pathname:h="/",search:y="",hash:v="",state:k=null,key:f="default"}=s,E=(0,c.useMemo)((()=>{let e=w(h,d);return null==e?null:{pathname:e,search:y,hash:v,state:k,key:f}}),[d,h,y,v,k,f]);return null==E?null:(0,c.createElement)(i.Provider,{value:g},(0,c.createElement)(o.Provider,{children:n,value:{location:E,navigationType:l}}))}function u(e){let{children:t,location:n}=e;return function(e,t){m()||r(!1);let{matches:n}=(0,c.useContext)(s),i=n[n.length-1],o=i?i.params:{},l=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;0;let p,u=g();if(t){var d;let e="string"==typeof t?(0,a.cP)(t):t;"/"===l||(null==(d=e.pathname)?void 0:d.startsWith(l))||r(!1),p=e}else p=u;let h=p.pathname||"/",y="/"===l?h:h.slice(l.length)||"/",v=function(e,t,n){void 0===n&&(n="/");let c=w(("string"==typeof t?(0,a.cP)(t):t).pathname||"/",n);if(null==c)return null;let r=k(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let i=null;for(let e=0;null==i&&e<r.length;++e)i=j(r[e],c);return i}(e,{pathname:y});0;return _(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:N([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:N([l,e.pathnameBase])}))),n)}(v(t),n)}function d(e){m()||r(!1);let{basename:t,navigator:n}=(0,c.useContext)(i),{hash:o,pathname:s,search:l}=y(e),p=s;if("/"!==t){let n=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?(0,a.cP)(e).pathname:e.pathname}(e),c=null!=n&&n.endsWith("/");p="/"===s?t+(c?"/":""):N([t,s])}return n.createHref({pathname:p,search:l,hash:o})}function m(){return null!=(0,c.useContext)(o)}function g(){return m()||r(!1),(0,c.useContext)(o).location}function h(){m()||r(!1);let{basename:e,navigator:t}=(0,c.useContext)(i),{matches:n}=(0,c.useContext)(s),{pathname:a}=g(),o=JSON.stringify(n.map((e=>e.pathnameBase))),l=(0,c.useRef)(!1);return(0,c.useEffect)((()=>{l.current=!0})),(0,c.useCallback)((function(n,c){if(void 0===c&&(c={}),!l.current)return;if("number"==typeof n)return void t.go(n);let r=Z(n,JSON.parse(o),a);"/"!==e&&(r.pathname=N([e,r.pathname])),(c.replace?t.replace:t.push)(r,c.state)}),[e,t,o,a])}function y(e){let{matches:t}=(0,c.useContext)(s),{pathname:n}=g(),a=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,c.useMemo)((()=>Z(e,JSON.parse(a),n)),[e,a,n])}function v(e){let t=[];return c.Children.forEach(e,(e=>{if(!(0,c.isValidElement)(e))return;if(e.type===c.Fragment)return void t.push.apply(t,v(e.props.children));e.type!==l&&r(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=v(e.props.children)),t.push(n)})),t}function k(e,t,n,c){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===c&&(c=""),e.forEach(((e,a)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(c)||r(!1),i.relativePath=i.relativePath.slice(c.length));let o=N([c,i.relativePath]),s=n.concat(i);e.children&&e.children.length>0&&(!0===e.index&&r(!1),k(e.children,t,s,o)),(null!=e.path||e.index)&&t.push({path:o,score:b(o,e.index),routesMeta:s})})),t}const f=/^:\w+$/,E=e=>"*"===e;function b(e,t){let n=e.split("/"),c=n.length;return n.some(E)&&(c+=-2),t&&(c+=2),n.filter((e=>!E(e))).reduce(((e,t)=>e+(f.test(t)?3:""===t?1:10)),c)}function j(e,t){let{routesMeta:n}=e,c={},a="/",r=[];for(let e=0;e<n.length;++e){let i=n[e],o=e===n.length-1,s="/"===a?t:t.slice(a.length)||"/",l=C({path:i.relativePath,caseSensitive:i.caseSensitive,end:o},s);if(!l)return null;Object.assign(c,l.params);let p=i.route;r.push({params:c,pathname:N([a,l.pathname]),pathnameBase:S(N([a,l.pathnameBase])),route:p}),"/"!==l.pathnameBase&&(a=N([a,l.pathnameBase]))}return r}function _(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,a,r)=>(0,c.createElement)(s.Provider,{children:void 0!==a.route.element?a.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,r+1))}})),null)}function C(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,c]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);let c=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(c.push(t),"([^\\/]+)")));e.endsWith("*")?(c.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";return[new RegExp(a,t?void 0:"i"),c]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let r=a[0],i=r.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:c.reduce(((e,t,n)=>{if("*"===t){let e=o[n]||"";i=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(o[n]||""),e}),{}),pathname:r,pathnameBase:i,pattern:e}}function Z(e,t,n){let c,r="string"==typeof e?(0,a.cP)(e):e,i=""===e||""===r.pathname?"/":r.pathname;if(null==i)c=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}c=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:n,search:c="",hash:r=""}="string"==typeof e?(0,a.cP)(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:P(c),hash:R(r)}}(r,c);return i&&"/"!==i&&i.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function w(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const N=e=>e.join("/").replace(/\/\/+/g,"/"),S=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),P=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",R=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(951);const a=n.n(c)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const o={initialize:function(e,t,n){o.setUser(e,t),o.setSuperProps(n),o.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return n}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){o.tracks.recordPageView(e),o.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,c,a,r,i){o.ga.recordPurchase(e,t,n,c,a,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(a("- Super Props: %o",r),t=Object.assign(t,r)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};o.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){o.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};o.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),o.ga.initialized=!0)},recordPageView:function(e,t){o.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,c){o.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==c&&(r+=" [Option Value: "+c+"]"),a(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,c)},recordPurchase:function(e,t,n,c,a,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:c,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=o},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var c=n(1132),a=n(6483);function r(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const i=r("JsonParseError"),o=r("JsonParseAfterRedirectError"),s=r("Api404Error"),l=r("Api404AfterRedirectError"),p=r("FetchNetworkError");const u=new function(e,t){let n=e,r=e,i={"X-WP-Nonce":t},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",c=n.length?n.split("&"):[];return c.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+c.join("&")};const p={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){i={"X-WP-Nonce":e},o={credentials:"same-origin",headers:i},s={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const a={registration_nonce:e,no_iframe:!0};return(0,c.jetpackConfigHas)("consumer_slug")&&(a.plugin_slug=(0,c.jetpackConfigGet)("consumer_slug")),null!==t&&(a.redirect_uri=t),g(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(a)}).then(d).then(m)},fetchAuthorizationUrl:e=>u((0,a.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(d).then(m),fetchSiteConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchSiteConnectionStatus:()=>u(`${n}jetpack/v4/connection`,o).then(m),fetchSiteConnectionTest:()=>u(`${n}jetpack/v4/connection/test`,o).then(d).then(m),fetchUserConnectionData:()=>u(`${n}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>u(`${n}jetpack/v4/tracking/settings`,o).then(d).then(m),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),disconnectSite:()=>g(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(d).then(m),fetchConnectUrl:()=>u(`${n}jetpack/v4/connection/url`,o).then(d).then(m),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(d).then(m),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,s).then(d).then(m),fetchConnectedPlugins:()=>u(`${n}jetpack/v4/connection/plugins`,o).then(d).then(m),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(d).then(m),fetchModules:()=>u(`${n}jetpack/v4/module/all`,o).then(d).then(m),fetchModule:e=>u(`${n}jetpack/v4/module/${e}`,o).then(d).then(m),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(d).then(m),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(d).then(m),updateSettings:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),getProtectCount:()=>u(`${n}jetpack/v4/module/protect/data`,o).then(d).then(m),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(d).then(m),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(m),getVaultPressData:()=>u(`${n}jetpack/v4/module/vaultpress/data`,o).then(d).then(m),installPlugin:(e,t)=>{const c={slug:e,status:"active"};return t&&(c.source=t),g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(c)}).then(d).then(m)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(m),getAkismetData:()=>u(`${n}jetpack/v4/module/akismet/data`,o).then(d).then(m),checkAkismetKey:()=>u(`${n}jetpack/v4/module/akismet/key/check`,o).then(d).then(m),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(d).then(m),fetchStatsData:e=>u(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(d).then(m).then(y),getPluginUpdates:()=>u(`${n}jetpack/v4/updates/plugins`,o).then(d).then(m),getPlans:()=>u(`${n}jetpack/v4/plans`,o).then(d).then(m),fetchSettings:()=>u(`${n}jetpack/v4/settings`,o).then(d).then(m),updateSetting:e=>g(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSiteData:()=>u(`${n}jetpack/v4/site`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${n}jetpack/v4/site/features`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${n}jetpack/v4/site/products`,o).then(d).then(m),fetchSitePurchases:()=>u(`${n}jetpack/v4/site/purchases`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${n}jetpack/v4/site/benefits`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${n}jetpack/v4/site/discount`,o).then(d).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${n}jetpack/v4/setup/questionnaire`,o).then(d).then(m),fetchRecommendationsData:()=>u(`${n}jetpack/v4/recommendations/data`,o).then(d).then(m),fetchRecommendationsProductSuggestions:()=>u(`${n}jetpack/v4/recommendations/product-suggestions`,o).then(d).then(m),fetchRecommendationsUpsell:()=>u(`${n}jetpack/v4/recommendations/upsell`,o).then(d).then(m),fetchRecommendationsConditional:()=>u(`${n}jetpack/v4/recommendations/conditional`,o).then(d).then(m),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>u(`${n}jetpack/v4/products`,o).then(d).then(m),fetchRewindStatus:()=>u(`${n}jetpack/v4/rewind`,o).then(d).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${n}jetpack/v4/scan`,o).then(d).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(d).then(m),fetchPluginsData:()=>u(`${n}jetpack/v4/plugins`,o).then(d).then(m),fetchIntroOffers:()=>u(`${n}jetpack/v4/intro-offers`,o).then(d).then(m),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,o).then(d).then(m),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(d).then(m),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(d).then(m),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(d).then(m),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(d).then(m),getUserLicensesCounts:()=>u(`${n}jetpack/v4/licensing/user/counts`,o).then(d).then(m),getUserLicenses:()=>u(`${n}jetpack/v4/licensing/user/licenses`,o).then(d).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(d).then(m),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(d),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(d).then(m),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,s).then(d),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(d).then(m),fetchSearchPlanInfo:()=>u(`${r}jetpack/v4/search/plan`,o).then(d).then(m),fetchSearchSettings:()=>u(`${r}jetpack/v4/search/settings`,o).then(d).then(m),updateSearchSettings:e=>g(`${r}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(d).then(m),fetchSearchStats:()=>u(`${r}jetpack/v4/search/stats`,o).then(d).then(m),fetchWafSettings:()=>u(`${n}jetpack/v4/waf`,o).then(d).then(m),fetchWordAdsSettings:()=>u(`${n}jetpack/v4/wordads/settings`,o).then(d).then(m),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,s,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${r}jetpack/v4/search/pricing`,o).then(d).then(m)};function u(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(h)}function y(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new s})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new o(n):new i}function h(){throw new p}},7121:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(5609),a=n(5736),r=n(5235),i=n.n(r),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(526),d=n(2289);const __=a.__,m=e=>{const{label:t,onClick:n,isLoading:a,displayError:r,errorMessage:o}=e;return p().createElement(p().Fragment,null,p().createElement(u.Z,{className:i()(d.Z.button,"jp-action-button--button"),label:t,onClick:n,variant:"primary",disabled:a},a?p().createElement(c.Spinner,null):t),r&&p().createElement("p",{className:i()(d.Z.error,"jp-action-button__error")},o))};m.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,displayError:s().bool,errorMessage:s().string},m.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack-my-jetpack")};const g=m},9105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5235),r=n.n(a),i=n(8237),o=n(8868),s=n(3846),l=n(3363),p=n(1494);const __=c.__,u=e=>{let{children:t,moduleName:n=__("Jetpack","jetpack-my-jetpack"),moduleNameHref:c,a8cLogoHref:a,showHeader:u=!0,showFooter:d=!0,showBackground:m=!0,header:g}=e;const h=r()(p.Z["admin-page"],{[p.Z.background]:m});return React.createElement("div",{className:h},u&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,g||React.createElement(o.Z,null))),React.createElement(l.Z,{fluid:!0,horizontalSpacing:0},React.createElement(s.Z,null,t)),d&&React.createElement(l.Z,{horizontalSpacing:5},React.createElement(s.Z,null,React.createElement(i.Z,{moduleName:n,a8cLogoHref:a,moduleNameHref:c}))))}},6579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(511);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z.section},t)}},216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9196),a=n.n(c),r=n(281);const i=e=>{let{children:t}=e;return a().createElement("div",{className:r.Z["section-hero"]},t)}},4972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(797),a=n(496),r=n(9201),i=n(1074),o=n(5235),s=n.n(o),l=n(9196),p=n.n(l),u=n(9171);const d=e=>{switch(e){case"error":case"warning":default:return c.Z;case"info":return a.Z;case"success":return r.Z}},m=e=>{let{level:t,children:n,showIcon:c}=e;const a=s()(u.Z.container,u.Z[`is-${t}`]);return p().createElement("div",{className:a},c&&p().createElement("div",{className:u.Z["icon-wrapper"]},p().createElement(i.Z,{icon:d(t),className:u.Z.icon})),p().createElement("div",null,n))};m.defaultProps={level:"warning",showIcon:!0};const g=m},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{title:t=__("An Automattic Airline","jetpack-my-jetpack"),height:n=7,className:c,...r}=e;return l().createElement("svg",a()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:o()("jp-automattic-byline-logo",c)},r),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(2674),a=n.n(c),r=n(5609),i=n(1074),o=n(5381),s=n(5235),l=n.n(s),p=n(9196),u=n.n(p),d=n(3466);const m=(0,p.forwardRef)(((e,t)=>{var n,c;const{children:s,variant:p="primary",size:m="normal",weight:g="bold",icon:h,iconSize:y,disabled:v,isDestructive:k,isLoading:f,isExternalLink:E,className:b,text:j,fullWidth:_,...C}=e,Z=l()(d.Z.button,b,{[d.Z.normal]:"normal"===m,[d.Z.small]:"small"===m,[d.Z.icon]:Boolean(h),[d.Z.loading]:f,[d.Z.regular]:"regular"===g,[d.Z["full-width"]]:_,[d.Z["is-icon-button"]]:Boolean(h)&&!s});C.ref=t;const w="normal"===m?20:16,N=E&&u().createElement(i.Z,{size:w,icon:o.Z,className:d.Z["external-icon"]}),S=E?"_blank":void 0,P=(null==s?void 0:s[0])&&null!==s[0]&&"components-tooltip"!==(null==s||null===(n=s[0])||void 0===n||null===(c=n.props)||void 0===c?void 0:c.className);return u().createElement(r.Button,a()({target:S,variant:p,className:l()(Z,{"has-text":!!h&&P}),icon:E?void 0:h,iconSize:y,disabled:v,"aria-disabled":v,isDestructive:k,text:j},C),f&&u().createElement(r.Spinner,null),u().createElement("span",null,s),N)}))},9026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(2404);const c=e=>{let{format:t="horizontal",icon:n,imageUrl:c}=e;return React.createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:c?`url( ${c} )`:""}}),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)}},3396:(e,t,n)=>{"use strict";n.d(t,{KM:()=>u,VS:()=>g,r7:()=>p});var c=n(2674),a=n.n(c),r=n(5609),i=n(5235),o=n.n(i),s=n(5612);const l=e=>{let{className:t,size:n=24,viewBox:c="0 0 24 24",opacity:i=1,color:l,children:p}=e;const u={className:o()(s.Z.iconWrapper,t),width:n,height:n,viewBox:c,opacity:i,fill:void 0};return l&&(u.fill=l),React.createElement(r.SVG,a()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(r.G,{opacity:i},p))},p=e=>{let{size:t,className:n=s.Z["star-icon"]}=e;return React.createElement(l,{className:n,size:t},React.createElement(r.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}))},u=e=>{let{size:t,className:n=s.Z["checkmark-icon"]}=e;return React.createElement(l,{className:n,size:t},React.createElement(r.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}))},d=e=>{let{className:t,fill:n="none",size:c,children:a}=e;return React.createElement(l,{className:o()(s.Z.socialIcon,t),size:c,color:n},a)},m={...{"anti-spam":e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"m8.455 21.207 8-17.5-.91-.416-1.261 2.76A4.979 4.979 0 0 0 12 5.5c-1.062 0-2.046.33-2.855.895L7.19 4.44 6.13 5.5l1.926 1.927A4.975 4.975 0 0 0 7.025 10H5v1.5h2V13H5v1.5h2.1a5.001 5.001 0 0 0 1.937 3.028L7.545 20.79l.91.416ZM9.68 16.12A3.492 3.492 0 0 1 8.5 13.5v-3a3.5 3.5 0 0 1 5.159-3.083L9.68 16.121Zm5.675-6.62.81-1.77c.44.663.728 1.436.81 2.269H19v1.5h-2V13h2v1.5h-2.1a5.002 5.002 0 0 1-5.634 3.947l.662-1.448L12 17a3.5 3.5 0 0 0 3.5-3.5v-3a3.5 3.5 0 0 0-.145-.998Z"}))},backup:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"m15.82 11.373.013-1.277v-.03c0-1.48-1.352-2.9-3.3-2.9-1.627 0-2.87 1.015-3.205 2.208l-.32 1.143-1.186-.048a2.192 2.192 0 0 0-.089-.002c-1.19 0-2.233 1.008-2.233 2.35 0 1.34 1.04 2.348 2.23 2.35H16.8c.895 0 1.7-.762 1.7-1.8 0-.927-.649-1.643-1.423-1.777l-1.258-.217ZM7.883 8.97l-.15-.003C5.67 8.967 4 10.69 4 12.817c0 2.126 1.671 3.85 3.733 3.85H16.8c1.767 0 3.2-1.478 3.2-3.3 0-1.635-1.154-2.993-2.667-3.255v-.045c0-2.43-2.149-4.4-4.8-4.4-2.237 0-4.118 1.403-4.65 3.303Z",fill:"#000"}))},boost:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"}))},crm:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"}))},extras:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"}))},protect:e=>{let{opacity:t=1,size:n,className:c}=e;return React.createElement(l,{className:c,size:n,opacity:t},React.createElement(r.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),React.createElement(r.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"}))},scan:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"}))},search:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},social:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"}))},star:p,videopress:e=>{let{opacity:t=1,size:n}=e;return React.createElement(l,{size:n,opacity:t},React.createElement(r.Path,{d:"M5.286 4.5h13.428c.434 0 .786.352.786.786v13.428a.786.786 0 0 1-.786.786H5.286a.786.786 0 0 1-.786-.786V5.286c0-.434.352-.786.786-.786ZM3 5.286A2.286 2.286 0 0 1 5.286 3h13.428A2.286 2.286 0 0 1 21 5.286v13.428A2.286 2.286 0 0 1 18.714 21H5.286A2.286 2.286 0 0 1 3 18.714V5.286ZM15 12l-5-3v6l5-3Z"}))},jetpack:e=>{let{size:t,className:n=s.Z.jetpack}=e;return React.createElement(l,{className:n,size:t,viewBox:"0 0 32 32"},React.createElement(r.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),React.createElement(r.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(r.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"}))}},...{facebook:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(d,{fill:t,size:n,className:o()(s.Z.facebook,c)},React.createElement(r.Path,{d:"M12,2C6.5,2,2,6.5,2,12c0,5,3.7,9.1,8.4,9.9v-7H7.9V12h2.5V9.8c0-2.5,1.5-3.9,3.8-3.9c1.1,0,2.2,0.2,2.2,0.2v2.5h-1.3 c-1.2,0-1.6,0.8-1.6,1.6V12h2.8l-0.4,2.9h-2.3v7C18.3,21.1,22,17,22,12C22,6.5,17.5,2,12,2z"}))},twitter:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(d,{fill:t,size:n,className:o()(s.Z.twitter,c)},React.createElement(r.Path,{d:"M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z M16.466,9.71 c0.004,0.099,0.007,0.198,0.007,0.298c0,3.045-2.318,6.556-6.556,6.556c-1.301,0-2.512-0.381-3.532-1.035 c0.18,0.021,0.364,0.032,0.55,0.032c1.079,0,2.073-0.368,2.862-0.986c-1.008-0.019-1.859-0.685-2.152-1.6 c0.141,0.027,0.285,0.041,0.433,0.041c0.21,0,0.414-0.028,0.607-0.081c-1.054-0.212-1.848-1.143-1.848-2.259 c0-0.01,0-0.019,0-0.029c0.311,0.173,0.666,0.276,1.044,0.288c-0.618-0.413-1.025-1.118-1.025-1.918 c0-0.422,0.114-0.818,0.312-1.158c1.136,1.394,2.834,2.311,4.749,2.407c-0.039-0.169-0.06-0.344-0.06-0.525 c0-1.272,1.032-2.304,2.304-2.304c0.663,0,1.261,0.28,1.682,0.728c0.525-0.103,1.018-0.295,1.463-0.559 c-0.172,0.538-0.537,0.99-1.013,1.275c0.466-0.056,0.91-0.18,1.323-0.363C17.306,8.979,16.916,9.385,16.466,9.71z"}))},linkedin:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(d,{fill:t,size:n,className:o()(s.Z.linkedin,c)},React.createElement(r.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))},tumblr:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(d,{fill:t,size:n,className:o()(s.Z.tumblr,c)},React.createElement(r.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},google:e=>{let{fill:t,size:n,className:c}=e;return React.createElement(d,{fill:t,size:n,className:o()(s.Z.google,c)},React.createElement(r.Path,{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))}}};function g(e){return m[e]?m[e]:null}},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s),p=n(7525),u=(n(9054),n(8868));const __=r.__,d=e=>{let{a8cLogoHref:t="https://automattic.com",moduleName:n=__("Jetpack","jetpack-my-jetpack"),className:c,moduleNameHref:r="https://jetpack.com",...i}=e;return l().createElement("div",a()({className:o()("jp-dashboard-footer",c)},i),l().createElement("div",{className:"jp-dashboard-footer__footer-left"},l().createElement(u.Z,{logoColor:"#000",showText:!1,height:16,className:"jp-dashboard-footer__jetpack-symbol","aria-label":__("Jetpack logo","jetpack-my-jetpack")}),l().createElement("span",{className:"jp-dashboard-footer__module-name"},r?l().createElement("a",{href:r,"aria-label":n},n):n)),l().createElement("div",{className:"jp-dashboard-footer__footer-right"},l().createElement("a",{href:t,"aria-label":__("An Automattic Airline","jetpack-my-jetpack")},l().createElement(p.Z,null))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(2674),a=n.n(c),r=n(5736),i=n(5235),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{let{logoColor:t="#069e08",showText:n=!0,className:c,height:r=32,...i}=e;const s=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:o()("jetpack-logo",c),"aria-labelledby":"jetpack-logo-title",height:r},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-my-jetpack")),l().createElement("path",{fill:t,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&&l().createElement(l().Fragment,null,l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"}),l().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"})))}},3846:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5235),a=n.n(c),r=n(3080);const i=Number(r.Z.smCols),o=Number(r.Z.mdCols),s=Number(r.Z.lgCols),l=e=>{const{children:t,className:n}=e,c=Math.min(i,"number"==typeof e.sm?e.sm:i),l=Math.min(i,"object"==typeof e.sm?e.sm.start:0),p=Math.min(i,"object"==typeof e.sm?e.sm.end:0),u=Math.min(o,"number"==typeof e.md?e.md:o),d=Math.min(o,"object"==typeof e.md?e.md.start:0),m=Math.min(o,"object"==typeof e.md?e.md.end:0),g=Math.min(s,"number"==typeof e.lg?e.lg:s),h=Math.min(s,"object"==typeof e.lg?e.lg.start:0),y=Math.min(s,"object"==typeof e.lg?e.lg.end:0),v=a()(n,{[r.Z[`col-sm-${c}`]]:!(l&&p),[r.Z[`col-sm-${l}-start`]]:l>0,[r.Z[`col-sm-${p}-end`]]:p>0,[r.Z[`col-md-${u}`]]:!(d&&m),[r.Z[`col-md-${d}-start`]]:d>0,[r.Z[`col-md-${m}-end`]]:m>0,[r.Z[`col-lg-${g}`]]:!(h&&y),[r.Z[`col-lg-${h}-start`]]:h>0,[r.Z[`col-lg-${y}-end`]]:y>0});return React.createElement("div",{className:v},t)}},3363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(5235),a=n.n(c),r=n(9196),i=n(8730);const o=e=>{let{children:t,fluid:n=!1,className:c,horizontalGap:o=1,horizontalSpacing:s=1}=e;const l=(0,r.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${s} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${o} )`}}),[o,s]),p=a()(c,i.Z.container,{[i.Z.fluid]:n});return React.createElement("div",{className:p,style:l},t)}},5033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(1683);const o=e=>{const t=e.className+" jp-components-spinner",n={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},c={borderTopColor:e.color,borderRightColor:e.color};return i().createElement("div",{className:t},i().createElement("div",{className:"jp-components-spinner__outer",style:n},i().createElement("div",{className:"jp-components-spinner__inner",style:c})))};o.propTypes={color:a().string,className:a().string,size:a().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const s=o},6017:(e,t,n)=>{"use strict";n.d(t,{h:()=>c,s:()=>a});const c={"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"},a=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},5106:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>g,H3:()=>m,ZP:()=>d});var c=n(2674),a=n.n(c),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(6017),p=n(3280);const u=(0,o.forwardRef)(((e,t)=>{let{variant:n="body",children:c,component:r,className:u,...d}=e;const m=r||l.h[n]||"span",g=(0,o.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==d[t]&&(e+=p.Z[`${t}-${d[t]}`]+" ",delete d[t]),e)),"")),[d]);return d.ref=t,s().createElement(m,a()({className:i()(p.Z.reset,p.Z[n],u,g)},d),c)})),d=u,m=e=>{let{children:t,weight:n="bold",...c}=e;const r="headline-small"+("bold"===n?"":`-${n}`);return s().createElement(u,a()({variant:r,mb:3},c),t)},g=e=>{let{children:t,size:n="medium",...c}=e;return s().createElement(u,a()({variant:`title-${n}`,mb:1},c),t)}},8275:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u});var c=n(9196),a=n.n(c);const r={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},o={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},s={"--spacing-base":"8px"},l={},p=(e,t)=>{const n={...r,...i,...o,...s};for(const t in n)e.style.setProperty(t,n[t]);t&&(l[t]={provided:!0,root:e})},u=e=>{var t;let{children:n=null,targetDom:r,id:i}=e;const o=(0,c.useRef)(),s=null==l||null===(t=l[i])||void 0===t?void 0:t.provided;return(0,c.useLayoutEffect)((()=>{if(!s)return r?p(r,i):void(null!=o&&o.current&&p(o.current,i))}),[r,o,s,i]),r?n:a().createElement("div",{ref:o},n)}},6895:(e,t,n)=>{"use strict";function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let c;var a;"undefined"!=typeof window&&(c=null===(a=window.Initial_State)||void 0===a?void 0:a.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),c&&(n.calypso_env=c);const r=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+r}n.d(t,{Z:()=>c})},1132:(e,t,n)=>{let c={};try{c=n(4462)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),c={missingConfig:!0}}const a=e=>c.hasOwnProperty(e);e.exports={jetpackConfigHas:a,jetpackConfigGet:e=>{if(!a(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 c[e]}}},9312:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(1294),l=n(1624);const __=c.__,p=e=>{const{title:t,buttonLabel:n,apiRoot:c,apiNonce:a,registrationNonce:r,from:i,redirectUri:p,images:u,children:d,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:y}=e,{handleRegisterSite:v,isRegistered:k,isUserConnected:f,siteIsRegistering:E,userIsConnecting:b,registrationError:j}=(0,s.Z)({registrationNonce:r,redirectUri:p,apiRoot:c,apiNonce:a,autoTrigger:g,from:i,skipUserConnection:y}),_=!k||!f,C=Boolean(j),Z=E||b;return o().createElement(l.Z,{title:t,images:u,assetBaseUrl:m,showConnectButton:_,buttonLabel:n,handleButtonClick:v,displayButtonError:C,buttonIsLoading:Z,footer:h},d)};p.propTypes={title:r().string,buttonLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,registrationNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,autoTrigger:r().bool,images:r().arrayOf(r().string),assetBaseUrl:r().string,skipUserConnection:r().bool},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack-my-jetpack"),buttonLabel:__("Set up Jetpack","jetpack-my-jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};const u=p},1624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(6895),a=n(7121),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(8524);n(1510);const __=i.__,d=(0,r.createInterpolateElement)(__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack-my-jetpack"),{tosLink:p().createElement("a",{href:(0,c.Z)("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:p().createElement("a",{href:(0,c.Z)("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),m=e=>{const{title:t,images:n,children:c,assetBaseUrl:r,isLoading:i,showConnectButton:o,buttonLabel:s,handleButtonClick:l,displayButtonError:m,buttonIsLoading:g,footer:h}=e;return p().createElement(u.Z,{title:t,assetBaseUrl:r,images:n,className:"jp-connection__connect-screen"+(i?" jp-connection__connect-screen__loading":"")},p().createElement("div",{className:"jp-connection__connect-screen__content"},c,o&&p().createElement(p().Fragment,null,p().createElement(a.Z,{label:s,onClick:l,displayError:m,isLoading:g}),p().createElement("div",{className:"jp-connection__connect-screen__tos"},d)),h&&p().createElement("div",{className:"jp-connection__connect-screen__footer"},h)))};m.propTypes={title:s().string,images:s().arrayOf(s().string),assetBaseUrl:s().string,isLoading:s().bool,showConnectButton:s().bool,buttonLabel:s().string.isRequired,handleButtonClick:s().func,displayButtonError:s().bool,buttonIsLoading:s().bool,footer:s().node},m.defaultProps={showConnectButton:!0,isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,handleButtonClick:()=>{},footer:null};const g=m},2458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);const o=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const c=t.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"},c)};o.propTypes={images:a().arrayOf(a().string).isRequired,assetBaseUrl:a().string},o.defaultProps={assetBaseUrl:""};const s=o},8524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(8868),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(2458);n(9610);const l=e=>{const{title:t,children:n,className:a,assetBaseUrl:r,images:i}=e,l=null==i?void 0:i.length;return o().createElement("div",{className:"jp-connection__connect-screen-layout"+(l?" jp-connection__connect-screen-layout__two-columns":"")+(a?" "+a:"")},o().createElement("div",{className:"jp-connection__connect-screen-layout__left"},o().createElement(c.Z,null),o().createElement("h2",null,t),n),l?o().createElement("div",{className:"jp-connection__connect-screen-layout__right"},o().createElement(s.Z,{images:i,assetBaseUrl:r})):null)};l.propTypes={title:r().string,className:r().string,images:r().arrayOf(r().string),assetBaseUrl:r().string};const p=l},7879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(4322);const __=c.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,c=(0,i.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&c.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().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-my-jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},c.map((e=>o().createElement(s.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:r().array,disconnectingPlugin:r().string};const p=l},6186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var c=n(5033),a=n(5609),r=n(5736),i=n(1074),o=n(797),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=n(9836);const __=r.__,m=e=>{const{message:t,isRestoringConnection:n,restoreConnectionCallback:s,restoreConnectionError:l}=e;if(!t)return null;if(n)return u().createElement(a.Notice,{status:"error",isDismissible:!1,className:d.Z.notice},u().createElement(i.Z,{icon:o.Z}),u().createElement("div",{className:d.Z.message},__("Reconnecting Jetpack","jetpack-my-jetpack")),u().createElement(c.Z,{color:"#B32D2E"}));const p=l?u().createElement(a.Notice,{status:"error",isDismissible:!1,className:d.Z.notice+" "+d.Z.error},u().createElement(i.Z,{icon:o.Z}),u().createElement("div",{className:d.Z.message},(0,r.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack-my-jetpack"),l))):null;return u().createElement(u().Fragment,null,p,u().createElement(a.Notice,{status:"error",isDismissible:!1,className:d.Z.notice},u().createElement(i.Z,{icon:o.Z}),u().createElement("div",{className:d.Z.message},t),s&&u().createElement("a",{onClick:s,onKeyDown:s,className:d.Z.link,href:"#"},__("Restore Connection","jetpack-my-jetpack"))))};m.propTypes={message:l().string.isRequired,restoreConnectionCallback:l().func,isRestoringConnection:l().bool,restoreConnectionError:l().string};const g=m},4322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r);n(4220);const o=e=>{const{title:t,value:n,description:c}=e;return i().createElement("div",{className:"jp-connection__disconnect-card card"},i().createElement("div",{className:"jp-connection__disconnect-card__card-content"},i().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||c)&&i().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},i().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),i().createElement("div",{className:"jp-connection__disconnect-card__card-description"},c))))};o.propTypes={title:a().string,value:a().oneOfType([a().string,a().number]),description:a().string};const s=o},6168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var c=n(6975),a=n(4743),r=n(1132),i=n(5609),o=n(5736),s=n(5162),l=n.n(s),p=n(9196),u=n.n(p),d=(n(287),n(9015)),m=n(5995),g=n(1702),h=n(1166);const __=o.__,y=e=>{const[t,n]=(0,p.useState)(!1),[o,s]=(0,p.useState)(!1),[l,y]=(0,p.useState)(!1),[v,k]=(0,p.useState)(!1),[f,E]=(0,p.useState)(!1),[b,j]=(0,p.useState)(!1),{apiRoot:_,apiNonce:C,connectedPlugins:Z,title:w,pluginScreenDisconnectCallback:N,onDisconnected:S,onError:P,disconnectStepComponent:R,context:x,connectedUser:I,connectedSiteId:U,isOpen:T,onClose:A}=e;let O="";(0,r.jetpackConfigHas)("consumer_slug")&&(O=(0,r.jetpackConfigGet)("consumer_slug"));const F=(0,p.useMemo)((()=>({context:x,plugin:O})),[x,O]);(0,p.useEffect)((()=>{a.ZP.setApiRoot(_),a.ZP.setApiNonce(C)}),[_,C]),(0,p.useEffect)((()=>{I&&I.ID&&I.login&&c.Z.initialize(I.ID,I.login)}),[I,I.ID,I.login]),(0,p.useEffect)((()=>{T&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",F)}),[T,F]),(0,p.useEffect)((()=>{T&&(o?!o||v||f?v&&!f?c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},F)):f&&c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},F)):c.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},F)))}),[T,o,v,f,F]);const L=(0,p.useCallback)((()=>{a.ZP.disconnectSite().then((()=>{n(!1),s(!0)})).catch((e=>{n(!1),y(e),P&&P(e)}))}),[n,s,y,P]),z=(0,p.useCallback)(((e,t)=>{j(!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);c.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),j(!1)})).catch((e=>{c.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),j(!1)}))}),[j,E]),D=(0,p.useCallback)((e=>{e&&e.preventDefault(),y(!1),n(!0),"plugins"!==x?L():N&&N(e)}),[y,n,N,x,L]),M=(0,p.useCallback)((e=>c.Z.tracks.recordEvent(e,F)),[F]),V=(0,p.useCallback)((()=>I.ID&&U),[I,U]),B=(0,p.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!V())return void E(!0);const c={site_id:U,user_id:I.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},a=Object.assign({},F,{disconnect_reason:e});z(c,a)}),[z,E,V,U,I,F]),J=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),A()}),[S,A]),H=(0,p.useCallback)((e=>{e&&e.preventDefault(),k(!0)}),[k]);return u().createElement(u().Fragment,null,T&&u().createElement(i.Modal,{title:"",contentLabel:w,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:A,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||v||f?v&&!f?u().createElement(g.Z,{isSubmittingFeedback:b,onFeedBackProvided:B,onExit:J}):f?u().createElement(h.Z,{onExit:J}):void 0:u().createElement(m.Z,{canProvideFeedback:V(),onProvideFeedback:H,onExit:J}):u().createElement(d.Z,{title:w,connectedPlugins:Z,disconnectStepComponent:R,isDisconnecting:t,closeModal:A,onDisconnect:D,disconnectError:l,context:x,disconnectingPlugin:O,trackModalClick:M})))};y.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},y.defaultProps={title:__("Are you sure you want to disconnect?","jetpack-my-jetpack"),context:"jetpack-dashboard",connectedUser:{}};const v=y},5995:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(2042);const __=i.__,d=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:i}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{icon:"unlink",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,r.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack-my-jetpack"),{br:p().createElement("br",null)})),n&&p().createElement(p().Fragment,null,p().createElement("p",null,__("Were sorry to see you go. Here at Jetpack, were always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-my-jetpack")),p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:i,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-my-jetpack"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack-my-jetpack"))),!n&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))))};d.propTypes={onExit:s().func,onProvideFeedback:s().func,canProvideFeedback:s().bool};const m=d},9015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(6895),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(7879);const __=i.__,d=e=>{const{title:t,isDisconnecting:n,onDisconnect:i,disconnectError:o,disconnectStepComponent:s,connectedPlugins:d,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:y}=e,v=(0,l.useCallback)((()=>y("jetpack_disconnect_dialog_click_learn_about")),[y]),k=(0,l.useCallback)((()=>y("jetpack_disconnect_dialog_click_support")),[y]),f=(0,l.useCallback)((()=>{y("jetpack_disconnect_dialog_click_stay_connected"),g()}),[y,g]),E=(0,l.useCallback)((e=>{y("jetpack_disconnect_dialog_click_disconnect"),i(e)}),[y,i]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),p().createElement(u.Z,{connectedPlugins:d,disconnectingPlugin:m}),s,(()=>{if(!(d&&Object.keys(d).filter((e=>e!==m)).length)&&!s)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-my-jetpack"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-my-jetpack")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},p().createElement("p",null,(0,r.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack-my-jetpack"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement("a",{href:(0,c.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:v}),jpSupportLink:p().createElement("a",{href:(0,c.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:k})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},p().createElement(a.Button,{variant:"primary",disabled:n,onClick:f,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-my-jetpack"):__("Stay connected","jetpack-my-jetpack",0)),(()=>{let e=__("Disconnect","jetpack-my-jetpack");return n?e=__("Disconnecting…","jetpack-my-jetpack"):"plugins"===h&&(e=__("Deactivate","jetpack-my-jetpack")),p().createElement(a.Button,{variant:"primary",disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};d.propTypes={title:s().string,isDisconnecting:s().bool,onDisconnect:s().func,disconnectError:s().bool,disconnectStepComponent:s().element,connectedPlugins:s().array,disconnectingPlugin:s().string,closeModal:s().func,context:s().string,trackModalClick:s().func};const m=d},1702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(5736),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=(n(9823),n(6336));const __=c.__,l=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:c}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-my-jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didnt work for you","jetpack-my-jetpack")),o().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:c}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack-my-jetpack")))};l.PropTypes={onExit:r().func,onFeedBackProvided:r().func,isSubmittingFeedback:r().bool};const p=l},1166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(9026),a=n(5609),r=n(9307),i=n(5736),o=n(5162),s=n.n(o),l=n(9196),p=n.n(l),u=n(724);const __=i.__,d=e=>{const{onExit:t}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(c.Z,{format:"vertical",imageUrl:u}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-my-jetpack")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,r.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack-my-jetpack"),{br:p().createElement("br",null)})),p().createElement(a.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-my-jetpack"))))};d.PropTypes={onExit:s().func,assetBaseUrl:s().string};const m=d},6336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5609),a=n(5736),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(4372);const __=a.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[a,r]=(0,o.useState)(),[i,p]=(0,o.useState)(),u=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-my-jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-my-jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-my-jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack-my-jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-my-jetpack")}],d="another-reason",m=(0,o.useCallback)((()=>{t(a,a===d?i:"")}),[t,d,i,a]),g=(0,o.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),h=e=>e===a?"jp-connect__disconnect-survey-card--selected":"",y=(0,o.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":r(e)}}),[r]);return s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},u.map((e=>s().createElement(l.Z,{id:e.id,onClick:r,onKeyDown:y,className:"card jp-connect__disconnect-survey-card "+h(e.id)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),s().createElement(l.Z,{id:d,onClick:r,onKeyDown:y,className:"card jp-connect__disconnect-survey-card "+h(d)},s().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-my-jetpack")," ",s().createElement("input",{placeholder:__("share your experience","jetpack-my-jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:i,onChange:g,maxLength:1e3})))),s().createElement("p",null,s().createElement(c.Button,{disabled:!a||n,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack-my-jetpack"):__("Submit Feedback","jetpack-my-jetpack",0))))};p.PropTypes={onSubmit:i().func,isSubmittingFeedback:i().bool};const u=p},4372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n.n(c);n(9823);const r=e=>{const{id:t,onClick:n,onKeyDown:r,children:i,className:o}=e,s=(0,c.useCallback)((()=>{n(t)}),[t,n]),l=(0,c.useCallback)((e=>{r(t,e)}),[t,r]);return a().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},i)}},8137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var c=n(5106),a=n(6895),r=n(526),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(6936),u=n(5381),d=n(5235),m=n.n(d),g=n(5162),h=n.n(g),y=n(9196),v=n.n(y),k=n(6168);n(7664);const __=s.__,f=e=>{var t,n;const{title:r,apiRoot:o,apiNonce:s,connectedPlugins:l,onDisconnected:p,context:u,connectedUser:d,connectedSiteId:m,isOpen:g,onClose:h}=e,[f,j]=(0,y.useState)(!1),_=(0,y.useCallback)((e=>{e&&e.preventDefault(),j(!0)}),[j]),C=(0,y.useCallback)((e=>{e&&e.preventDefault(),j(!1)}),[j]);return v().createElement(v().Fragment,null,g&&v().createElement(v().Fragment,null,v().createElement(i.Modal,{title:"",contentLabel:r,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},v().createElement("div",{className:"jp-connection__manage-dialog__content"},v().createElement("h1",{id:"jp-connection__manage-dialog__heading"},r),v().createElement(c.ZP,{className:"jp-connection__manage-dialog__large-text"},__("At least one user must be connected for your Jetpack products to work properly.","jetpack-my-jetpack")),v().createElement(E,{title:__("Transfer ownership to another admin","jetpack-my-jetpack"),link:(0,a.Z)("calypso-settings-manage-connection",{site:null===(t=window)||void 0===t||null===(n=t.myJetpackInitialState)||void 0===n?void 0:n.siteSuffix}),key:"transfer",action:"transfer"}),v().createElement(E,{title:__("Disconnect Jetpack","jetpack-my-jetpack"),onClick:_,key:"disconnect",action:"disconnect"})),v().createElement(b,{onClose:h})),v().createElement(k.Z,{apiRoot:o,apiNonce:s,onDisconnected:p,connectedPlugins:l,connectedSiteId:m,connectedUser:d,isOpen:f,onClose:C,context:u})))},E=e=>{let{title:t,onClick:n=(()=>null),link:c="#",action:a}=e;return v().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},v().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},v().createElement("a",{href:c,className:m()("jp-connection__manage-dialog__action-card__card-headline",a),onClick:n},t,v().createElement(l.Z,{icon:"disconnect"===a?p.Z:u.Z,className:"jp-connection__manage-dialog__action-card__icon"}))))},b=e=>{let{onClose:t}=e;return v().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},v().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-8 md-col-span-6 sm-col-span-3"},v().createElement(c.ZP,null,(0,o.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <connectionInfoLink>Jetpack connection</connectionInfoLink> or <supportLink>contact Jetpack support</supportLink>","jetpack-my-jetpack"),{strong:v().createElement("strong",null),connectionInfoLink:v().createElement("a",{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__manage-dialog__link"}),supportLink:v().createElement("a",{href:(0,a.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__manage-dialog__link"})}))),v().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-4 md-col-span-2 sm-col-span-1"},v().createElement(r.Z,{weight:"regular",variant:"secondary",onClick:t,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-my-jetpack"))))};f.propTypes={title:h().string,apiRoot:h().string.isRequired,apiNonce:h().string.isRequired,connectedPlugins:h().oneOfType([h().array,h().object]),onDisconnected:h().func,context:h().string,connectedUser:h().object,connectedSiteId:h().number,isOpen:h().bool,onClose:h().func},f.defaultProps={title:__("Manage your Jetpack connection","jetpack-my-jetpack"),isOpen:!1,context:"jetpack-dashboard",connectedUser:{}};const j=f},1294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c,a=n(4743),r=n(9818),i=n(9196),o=n(428);const s=null!==(c=window)&&void 0!==c&&c.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},l=function(){let{registrationNonce:e=s.registrationNonce,apiRoot:t=s.apiRoot,apiNonce:n=s.apiNonce,redirectUri:c,autoTrigger:l,from:p,skipUserConnection:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:d,connectUser:m,refreshConnectedPlugins:g}=(0,r.useDispatch)(o.t),h=(0,r.useSelect)((e=>e(o.t).getRegistrationError())),{siteIsRegistering:y,userIsConnecting:v,userConnectionData:k,connectedPlugins:f,connectionErrors:E,isRegistered:b,isUserConnected:j,hasConnectedOwner:_}=(0,r.useSelect)((e=>({siteIsRegistering:e(o.t).getSiteIsRegistering(),userIsConnecting:e(o.t).getUserIsConnecting(),userConnectionData:e(o.t).getUserConnectionData(),connectedPlugins:e(o.t).getConnectedPlugins(),connectionErrors:e(o.t).getConnectionErrors(),...e(o.t).getConnectionStatus()}))),C=()=>u?c?(window.location=c,Promise.resolve(c)):Promise.resolve():m({from:p,redirectUri:c}),Z=t=>(t&&t.preventDefault(),b?C():d({registrationNonce:e,redirectUri:c}).then((()=>C())));return(0,i.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,i.useEffect)((()=>{!l||y||v||Z()}),[]),{handleRegisterSite:Z,handleConnectUser:C,refreshConnectedPlugins:g,isRegistered:b,isUserConnected:j,siteIsRegistering:y,userIsConnecting:v,registrationError:h,userConnectionData:k,hasConnectedOwner:_,connectedPlugins:f,connectionErrors:E}}},3329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,h:()=>o});var c=n(6186),a=n(1294),r=n(1045);function i(){const{connectionErrors:e}=(0,a.Z)({}),t=Object.values(e).shift(),n=t&&Object.values(t).length&&Object.values(t).shift().error_message;return{hasConnectionError:Boolean(n),connectionErrorMessage:n}}const o=()=>{const{hasConnectionError:e,connectionErrorMessage:t}=i(),{restoreConnection:n,isRestoringConnection:a,restoreConnectionError:o}=(0,r.Z)();return e?React.createElement(c.Z,{isRestoringConnection:a,restoreConnectionError:o,restoreConnectionCallback:n,message:t}):null}},1045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c,a=n(4743),r=n(9818),i=n(9196),o=n(428);const{apiRoot:s,apiNonce:l}=null!==(c=window)&&void 0!==c&&c.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function p(){const[e,t]=(0,i.useState)(!1),[n,c]=(0,i.useState)(null),{disconnectUserSuccess:p}=(0,r.useDispatch)(o.t),u="/wp-admin/admin.php?page=my-jetpack#/connection";return(0,i.useEffect)((()=>{a.ZP.setApiRoot(s),a.ZP.setApiNonce(l)}),[]),{restoreConnection:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t(!0),c(null),a.ZP.reconnect().then((t=>("in_progress"===t.status?(p(),e&&(window.location.href=u)):window.location.reload(),t))).catch((e=>{throw c(e),t(!1),e}))},isRestoringConnection:e,restoreConnectionError:n}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>r,N4:()=>o,Qo:()=>d,T1:()=>l,TS:()=>p,ZP:()=>j,b5:()=>g,i6:()=>a,qV:()=>s,r7:()=>i,wQ:()=>m});var c=n(4743);const a="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",s="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="CONNECT_USER",d="DISCONNECT_USER_SUCCESS",m="SET_CONNECTED_PLUGINS",g="SET_CONNECTION_ERRORS",h=e=>({type:a,connectionStatus:e}),y=e=>({type:i,isRegistering:e}),v=e=>({type:o,isConnecting:e}),k=e=>({type:s,registrationError:e}),f=()=>({type:l}),E=e=>({type:p,authorizationUrl:e}),b=e=>({type:m,connectedPlugins:e});const j={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:y,setUserIsConnecting:v,setRegistrationError:k,clearRegistrationError:f,setAuthorizationUrl:E,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield f(),yield y(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield h({isRegistered:!0}),yield E(e.authorizeUrl),yield y(!1),Promise.resolve(e)}catch(e){return yield k(e),yield y(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield v(!0),yield{type:u,from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:b,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>c.ZP.fetchConnectedPlugins().then((n=>{t(b(n)),e(n)}))))},setConnectionErrors:e=>({type:g,connectionErrors:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(4743),a=n(9818),r=n(7057);const i={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return c.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return c.ZP.registerSite(t,n)},CONNECT_USER:(0,a.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((a,i)=>{t(r.Z).getAuthorizationUrl(c).then((t=>{const c=n||(e=>window.location.assign(e)),r=new URL(t);e&&r.searchParams.set("from",encodeURIComponent(e));const i=r.toString();c(i),a(i)})).catch((e=>{i(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7523);const r=(0,c.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.i6:return{...e,...t.connectionStatus};case a.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case a.T1:return!1;case a.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===a.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.b5?t.connectionErrors:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(9818),a=n(7523),r=n(7057);const i={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];const o=(0,c.select)(r.Z).hasFinishedResolution("getAuthorizationUrl",a);return t&&!o&&(0,c.dispatch)(r.Z).finishResolution("getAuthorizationUrl",a),t},*fulfill(e){const t=yield a.ZP.fetchAuthorizationUrl(e);yield a.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c={...{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||[],getWpcomUser:e=>{var t,n;return null==e||null===(t=e.userConnectionData)||void 0===t||null===(n=t.currentUser)||void 0===n?void 0:n.wpcomUser},getBlogId:e=>{var t,n;return null==e||null===(t=e.userConnectionData)||void 0===t||null===(n=t.currentUser)||void 0===n?void 0:n.blogId}}}},3535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(17),a=n.n(c),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}a()(i,"store",null);const o=i},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});const c="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var c=n(7523),a=n(1432),r=n(1479),i=n(7728),o=n(2725),s=n(3535),l=n(7057);const p=window.JP_CONNECTION_INITIAL_STATE;p||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."),s.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.Z,resolvers:i.Z,controls:a.Z,initialState:p||{}})},8728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(6975),a=n(8868),r=n(5033),i=n(5609),o=n(9307),s=n(5736),l=n(1074),p=n(797),u=n(5844),d=n.n(u),m=n(9196),g=n.n(m);const __=s.__,h=e=>{const{activateLicense:t,isActivating:n,license:s,licenseError:u,onLicenseChange:d}=e,h=null!=u;return(0,m.useEffect)((()=>{c.Z.tracks.recordEvent("jetpack_wpa_license_key_activation_view")}),[]),g().createElement("div",{className:"jp-license-activation-screen-controls"},g().createElement("div",{className:"jp-license-activation-screen-controls--content"},g().createElement(a.Z,{showText:!1,height:48}),g().createElement("h1",null,__("Add a license key","jetpack-my-jetpack")),g().createElement("p",null,(0,o.createInterpolateElement)(__("<strong>Check your email</strong> for your license key. You should have received it after making your purchase.","jetpack-my-jetpack"),{strong:g().createElement("strong",null)})),g().createElement(i.TextControl,{className:h?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",label:__("License key","jetpack-my-jetpack"),value:s,onChange:d,disabled:n}),h&&g().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},g().createElement(l.Z,{icon:p.Z}),g().createElement("span",null,u))),g().createElement("div",null,g().createElement(i.Button,{className:"jp-license-activation-screen-controls--button",onClick:t},n?g().createElement(r.Z,null):__("Activate","jetpack-my-jetpack"))))};h.propTypes={activateLicense:d().func.isRequired,isActivating:d().bool.isRequired,license:d().string.isRequired,licenseError:d().string,onLicenseChange:d().func.isRequired,siteUrl:d().string.isRequired};const y=h},8781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(6895),a=n(9307),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{imageUrl:t,showSupportLink:n=!1}=e;return l().createElement("div",{className:"jp-license-activation-screen-illustration"},l().createElement("div",{className:"jp-license-activation-screen-illustration--wrapper"},l().createElement("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})),n&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,a.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack-my-jetpack"),{a:l().createElement("a",{href:(0,c.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const u=p},7554:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(8868),a=n(5844),r=n.n(a),i=n(9196),o=n.n(i),s=n(3157),l=n(8288),p=n(4172);const u=e=>{const{productId:t,siteRawUrl:n,siteAdminUrl:a,currentRecommendationsStep:r}=e;return o().createElement("div",{className:"jp-license-activation-screen-success-info"},o().createElement("div",{className:"jp-license-activation-screen-success-info--content"},o().createElement(c.Z,{showText:!1,height:48})),o().createElement(l.Z,{siteRawUrl:n,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(s.c,{currentRecommendationsStep:r,siteAdminUrl:a,siteRawUrl:n}),o().createElement(p.o,{siteRawUrl:n,productId:t})))};u.propTypes={siteRawUrl:r().string,productId:r().number,siteAdminUrl:r().string,currentRecommendationsStep:r().string};const d=u},3157:(e,t,n)=>{"use strict";n.d(t,{c:()=>p});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s);const __=r.__,p=e=>{const{currentRecommendationsStep:t,siteAdminUrl:n,siteRawUrl:r}=e;return"not-started"===t?l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:n+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack-my-jetpack")):l().createElement(a.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,c.Z)("license-activation-view-my-plans",{site:r})},__("View my plans","jetpack-my-jetpack"))};p.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},4172:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var c=n(6895),a=n(5609),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s),p=n(9430);const __=r.__,u=e=>{const{productId:t,siteRawUrl:n}=e,r={jetpack_backup:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack-my-jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,p.F)(t)];return l().createElement(l().Fragment,null,r&&l().createElement(a.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,c.Z)(r.redirectSource,{site:n})},r.text))};u.propTypes={siteRawUrl:o().string,productId:o().number}},468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(6975),a=n(4743),r=n(5736),i=n(5844),o=n.n(i),s=n(9196),l=n.n(s),p=n(8728),u=n(8781),d=n(7554),m=n(8702),g=n(1160);const __=r.__,h=e=>{const{onActivationSuccess:t=(()=>null),siteRawUrl:n,startingLicense:r,siteAdminUrl:i,currentRecommendationsStep:o}=e,[h,y]=(0,s.useState)(r??""),[v,k]=(0,s.useState)(null),[f,E]=(0,s.useState)(!1),[b,j]=(0,s.useState)(null),_=(0,s.useCallback)((()=>f?Promise.resolve():h.length<1?(k(__("This is not a valid license key. Please try again.","jetpack-my-jetpack")),Promise.resolve()):(k(null),E(!0),c.Z.tracks.recordJetpackClick({target:"license_activation_button"}),a.ZP.attachLicenses([h]).then((e=>{const n=(e=>{var t,n;let c=e;for(;Array.isArray(c)&&c.length>0;)c=c[0];if(null!==(t=c)&&void 0!==t&&t.activatedProductId)return c.activatedProductId;if(null!==(n=c)&&void 0!==n&&n.errors)for(const e in c.errors)if(c.errors[e].length>0)throw new Error(c.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack-my-jetpack"))})(e);j(n),t(n),c.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{k(e.message),c.Z.tracks.recordEvent("jetpack_wpa_license_activation_error")})).finally((()=>{E(!1)})))),[f,h,t]);return null!==b?l().createElement("div",{className:"jp-license-activation-screen"},l().createElement(d.Z,{siteRawUrl:n,productId:b,siteAdminUrl:i,currentRecommendationsStep:o}),l().createElement(u.Z,{imageUrl:g,showSupportLink:!1})):l().createElement("div",{className:"jp-license-activation-screen"},l().createElement(p.Z,{license:h,onLicenseChange:y,activateLicense:_,siteUrl:n,licenseError:v,isActivating:f}),l().createElement(u.Z,{imageUrl:m,showSupportLink:!0}))};h.propTypes={onActivationSuccess:o().func,siteRawUrl:o().string.isRequired,startingLicense:o().string,siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string};const y=h},3281:(e,t,n)=>{"use strict";n.d(t,{I:()=>c.Z});var c=n(468)},1899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var c=n(4743),a=n(9105),r=n(3363),i=n(3846),o=n(3281),s=n(9196),l=n.n(s),p=n(2199),u=n(5626);function d(){var e,t,n,d;(0,s.useEffect)((()=>{var e;const{apiRoot:t,apiNonce:n}=(null===(e=window)||void 0===e?void 0:e.myJetpackRest)||{};c.ZP.setApiRoot(t),c.ZP.setApiNonce(n)}),[]);const{recordEvent:m}=(0,p.Z)(),g=(0,s.useCallback)((e=>{m("jetpack_myjetpack_license_activation_back_link_click"),document.referrer.includes(window.location.host)&&(e.preventDefault(),history.back())}),[m]);return l().createElement(a.Z,{showHeader:!1,showBackground:!1},l().createElement(r.Z,{horizontalSpacing:3,horizontalGap:3},l().createElement(i.Z,null,l().createElement(u.Z,{onClick:g})),l().createElement(i.Z,null,l().createElement(o.I,{siteRawUrl:null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix,onActivationSuccess:void 0,siteAdminUrl:null===(n=window)||void 0===n||null===(d=n.myJetpackInitialState)||void 0===d?void 0:d.adminUrl,currentRecommendationsStep:null}))))}},3890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(1074),a=n(9517),r=n(5235),i=n.n(r),o=n(9196),s=n.n(o),l=n(554),p=n(6234);const u=e=>{let{className:t}=e;return s().createElement(l.rU,{to:"/",className:i()(p.Z.link,t)},s().createElement(c.Z,{icon:a.Z,className:p.Z.icon}))}},5745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var c=n(3396),a=n(1294),r=n(5162),i=n.n(r),o=n(9196),s=n.n(o),l=n(3345),p=n(3703),u=n(2728);const d=e=>{let{admin:t,slug:n}=e;const{isRegistered:r,isUserConnected:i}=(0,a.Z)(),{detail:d,status:m,activate:g,deactivate:h,isFetching:y}=(0,p.i)(n),{name:v,description:k,manageUrl:f}=d,E=(0,l.Z)("/connection"),b=(0,l.Z)(`add-${n}`),j=(0,o.useCallback)((()=>{window.location=f}),[f]),_=(0,c.VS)(n);return s().createElement(u.Z,{name:v,description:k,status:m,icon:s().createElement(_,{opacity:.4}),admin:t,isFetching:y,onDeactivate:h,slug:n,onActivate:g,onAdd:(C=b,()=>{r&&i?C():E()}),onManage:j,onFixConnection:E});var C};d.propTypes={admin:i().bool.isRequired,slug:i().string.isRequired};const m=d},9841:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var c=n(9105),a=n(3363),r=n(3846),i=n(6895),o=n(9312),s=n(5736),l=n(1074),p=n(5381),u=n(9196),d=n.n(u),m=n(1689),g=n(3890),h=n(5242),y=n(6790),v=n(184),k=n(8578),f=n(4403);const __=s.__,E=()=>d().createElement(d().Fragment,null,d().createElement("div",{className:k.Z["account-description"]},__("You can use your existing account on any of these services:","jetpack-my-jetpack")),d().createElement("span",{className:k.Z["account-images"]},d().createElement("img",{src:f,className:k.Z.wordpress,alt:__("Wordpress Logo","jetpack-my-jetpack")}),d().createElement("img",{src:v,className:k.Z.google,alt:__("Google Logo","jetpack-my-jetpack")}),d().createElement("img",{src:h,className:k.Z.apple,alt:__("Apple Logo","jetpack-my-jetpack")}))),b=()=>{const{apiRoot:e,apiNonce:t}=(0,m.Z)();return d().createElement(c.Z,{showHeader:!1,showBackground:!1},d().createElement(a.Z,{horizontalSpacing:8,horizontalGap:0},d().createElement(r.Z,{className:k.Z["relative-col"]},d().createElement(g.Z,{className:k.Z["close-link"]})),d().createElement(r.Z,null,d().createElement(o.Z,{title:__("Unlock all the amazing features of Jetpack by connecting now","jetpack-my-jetpack"),buttonLabel:__("Connect your user account","jetpack-my-jetpack"),apiRoot:e,apiNonce:t,images:[y],footer:d().createElement(E,null),from:"my-jetpack",redirectUri:"admin.php?page=my-jetpack"},d().createElement("ul",null,d().createElement("li",null,__("Receive instant downtime alerts","jetpack-my-jetpack")),d().createElement("li",null,__("Automatically share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("Let your subscribers know when you post","jetpack-my-jetpack")),d().createElement("li",null,__("Receive notifications about new likes and comments","jetpack-my-jetpack")),d().createElement("li",null,__("Let visitors share your content on social media","jetpack-my-jetpack")),d().createElement("li",null,__("And more!","jetpack-my-jetpack")," ",d().createElement("a",{href:(0,i.Z)("jetpack-features"),target:"_blank",className:k.Z["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack-my-jetpack"),d().createElement(l.Z,{icon:p.Z}))))))))}},247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var c=n(5106),a=n(526),r=n(1294),i=n(428),o=n(8137),s=n(9818),l=n(5736),p=n(1074),u=n(496),d=n(9201),m=n(5235),g=n.n(m),h=n(5162),y=n.n(h),v=n(9196),k=n.n(v),f=n(3591),E=n(3815),b=n(9182),j=n(6322);const __=l.__,_=e=>{let{text:t,actionText:n,onClick:r,status:i}=e;return k().createElement("div",{className:j.Z["list-item"]},k().createElement(c.ZP,{className:g()(j.Z["list-item-text"],{[j.Z.error]:"error"===i})},k().createElement(p.Z,{icon:"error"===i?u.Z:d.Z,className:g()({[j.Z.info]:"error"===i})}),t),n&&k().createElement(a.Z,{variant:"link",weight:"regular",onClick:r},n))},C=e=>{var t,n,a,p;const{apiRoot:u,apiNonce:d,redirectUri:m,title:h,connectionInfoText:y,onDisconnected:C,connectedPlugins:Z,connectedSiteId:w,context:N,onConnectUser:S}=e,{isRegistered:P,isUserConnected:R,userConnectionData:x}=(0,r.Z)({apiRoot:u,apiNonce:d,redirectUri:m}),[I,U]=(0,v.useState)(!1),{setConnectionStatus:T,setUserIsConnecting:A}=(0,s.useDispatch)(i.t),O=S||A,F=null===(t=x.currentUser)||void 0===t||null===(n=t.wpcomUser)||void 0===n?void 0:n.avatar,L=(0,v.useCallback)((e=>{e&&e.preventDefault(),U(!0)}),[U]),z=(0,v.useCallback)((e=>{e&&e.preventDefault(),U(!1)}),[U]),D=(0,v.useCallback)((e=>{e&&e.preventDefault(),T({isActive:!1,isRegistered:!1,isUserConnected:!1}),null==C||C()}),[C,T]);return k().createElement("div",{className:j.Z["connection-status-card"]},k().createElement(c.H3,null,h),k().createElement(c.ZP,{variant:"body",mb:3},y),k().createElement("div",{className:j.Z.status},k().createElement("img",{src:f,alt:"",className:j.Z.cloud}),k().createElement("div",{className:g()(j.Z.line,{[j.Z.disconnected]:!P||!R})}),k().createElement("div",{className:j.Z["avatar-wrapper"]},k().createElement("img",{src:b,alt:"",className:j.Z.jetpack}),k().createElement("img",{src:R&&F?F:E,alt:"",className:j.Z.avatar}))),k().createElement("div",null,P?k().createElement(k().Fragment,null,k().createElement(_,{onClick:L,text:__("Site connected.","jetpack-my-jetpack"),actionText:R?null:__("Manage","jetpack-my-jetpack")}),R&&k().createElement(_,{onClick:L,actionText:__("Manage","jetpack-my-jetpack"),text:(0,l.sprintf)(/* translators: placeholder is user name */
__("Connected as %s.","jetpack-my-jetpack"),null===(a=x.currentUser)||void 0===a||null===(p=a.wpcomUser)||void 0===p?void 0:p.display_name)}),!R&&k().createElement(_,{onClick:O,text:__("Youre not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})):k().createElement(_,{onClick:O,text:__("Jetpack is not connected.","jetpack-my-jetpack"),actionText:__("Connect","jetpack-my-jetpack"),status:"error"})),k().createElement(o.Z,{apiRoot:u,apiNonce:d,onDisconnected:D,connectedPlugins:Z,connectedSiteId:w,connectedUser:x,isOpen:I,onClose:z,context:N}))};C.propTypes={apiRoot:y().string.isRequired,apiNonce:y().string.isRequired,redirectUri:y().string,connectedPlugins:y().array,connectedSiteId:y().number,title:y().string,connectionInfoText:y().string,onDisconnected:y().func,context:y().string,onConnectUser:y().func,requiresUserConnection:y().bool},C.defaultProps={title:__("Connection","jetpack-my-jetpack"),connectionInfoText:__("Jetpack connects your site and user account to the WordPress.com cloud to provide more powerful features.","jetpack-my-jetpack"),redirectUri:null,onConnectUser:null,requiresUserConnection:!0};const Z=C},5784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var c=n(9818),a=n(9196),r=n.n(a),i=n(1689),o=n(3345),s=n(7493),l=n(247);function p(){const{apiRoot:e,apiNonce:t,topJetpackMenuItemUrl:n,connectedPlugins:a}=(0,i.Z)(),p=(0,o.Z)("/connection"),u=(0,c.useSelect)((e=>e(s.t).getProductsThatRequiresUserConnection()));return r().createElement(l.Z,{apiRoot:e,apiNonce:t,redirectUri:n,onConnectUser:p,connectedPlugins:a,requiresUserConnection:u.length>0,onDisconnected:()=>{var e,t;return null===(e=document)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload(!0)}})}},5626:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(5736),a=n(1074),r=n(3259),i=n(9196),o=n.n(i),s=n(554),l=n(197);const __=c.__;function p(e){let{onClick:t}=e;return o().createElement(s.rU,{to:"/",className:l.Z.link,onClick:t},o().createElement(a.Z,{icon:r.Z,className:l.Z.icon}),__("Go back","jetpack-my-jetpack"))}p.defaultProps={onClick:()=>{}};const u=p},8966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>N});var c=n(2674),a=n.n(c),r=n(9105),i=n(216),o=n(3363),s=n(3846),l=n(5106),p=n(6579),u=n(3329),d=n(5609),m=n(5736),g=n(797),h=n(496),y=n(1074),v=n(9196),k=n.n(v),f=n(2199),E=n(5371),b=n(5031),j=n(5784),_=n(6800),C=n(5943),Z=n(1017);const __=m.__,w=e=>{let{message:t,options:n,clean:c}=e;const r={error:g.Z,info:h.Z};return k().createElement(d.Notice,a()({isDismissible:!1},n,{onRemove:c,className:Z.Z.notice}),(null==r?void 0:r[n.status])&&k().createElement(y.Z,{icon:r[n.status]}),k().createElement("div",{className:Z.Z.message},t))};function N(){(0,E.Z)();const{message:e,options:t,clean:n}=(0,b.Z)(),{hasConnectionError:c}=(0,u.Z)(),{recordEvent:a}=(0,f.Z)();return(0,v.useEffect)((()=>{a("jetpack_myjetpack_page_view")}),[a]),k().createElement(r.Z,null,k().createElement(i.Z,null,k().createElement(o.Z,{horizontalSpacing:0},k().createElement(s.Z,null,k().createElement("div",{id:"jp-admin-notices",className:"my-jetpack-jitm-card"}))),k().createElement(o.Z,{horizontalSpacing:5,horizontalGap:e?3:6},k().createElement(s.Z,{sm:4,md:7,lg:6},k().createElement(l.ZP,{variant:"headline-small"},__("Manage your Jetpack products","jetpack-my-jetpack"))),c&&k().createElement(s.Z,null,k().createElement(u.h,null)),e&&k().createElement(s.Z,null,k().createElement(w,{message:e,options:t,clean:n})),k().createElement(s.Z,null,k().createElement(C.Z,null)))),k().createElement(p.Z,null,k().createElement(o.Z,{horizontalSpacing:8},k().createElement(s.Z,{sm:2,md:4,lg:6},k().createElement(_.Z,null)),k().createElement(s.Z,{sm:2,md:4,lg:6},k().createElement(j.Z,null)))))}},6800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var c=n(5106),a=n(526),r=n(5736),i=n(9196),o=n.n(i),s=n(2199),l=n(1689),p=n(3345),u=n(1750),d=n(8295),m=n(7258),g=n(6891);const __=r.__,_n=r._n;function h(e){let{purchase:t={}}=e;const{product_name:n,expiry_message:a}=t;return o().createElement(o().Fragment,null,o().createElement(c.Dx,null,n),o().createElement(c.ZP,{variant:"body",className:g.Z["expire-date"]},a))}function y(e){let{purchases:t}=e;return o().createElement(o().Fragment,null,o().createElement(c.H3,null,t.length<=1?__("Your plan","jetpack-my-jetpack"):__("Your plans","jetpack-my-jetpack")),0===t.length&&o().createElement(c.ZP,{variant:"body"},__("Want to power up your Jetpack?","jetpack-my-jetpack")))}function v(e){var t,n,c,r;let{purchases:u}=e;const{recordEvent:h}=(0,s.Z)(),{isUserConnected:y}=(0,l.Z)();let v=__("Purchase a plan","jetpack-my-jetpack");u.length>=1&&(v=_n("Manage your plan","Manage your plans",u.length,"jetpack-my-jetpack"));const k=(0,i.useCallback)((()=>{const e=u.length?"jetpack_myjetpack_plans_manage_click":"jetpack_myjetpack_plans_purchase_click";h(e)}),[u,h]),f=(0,p.Z)("/connection"),E=(0,i.useCallback)((()=>{h("jetpack_myjetpack_activate_license_click"),y||f()}),[f,y,h]);let b=__("Activate a license","jetpack-my-jetpack");return y||(b=__("Activate a license (requires a user connection)","jetpack-my-jetpack")),o().createElement("ul",null,o().createElement("li",{className:g.Z["actions-list-item"]},o().createElement(a.Z,{onClick:k,href:u.length?(0,d.Z)():(0,m.Z)(),weight:"regular",variant:"link",isExternalLink:!0},v)),(null===(t=window)||void 0===t||null===(n=t.myJetpackInitialState)||void 0===n?void 0:n.loadAddLicenseScreen)&&o().createElement("li",{className:g.Z["actions-list-item"]},o().createElement(a.Z,{onClick:E,href:y?`${null===(c=window)||void 0===c||null===(r=c.myJetpackInitialState)||void 0===r?void 0:r.adminUrl}admin.php?page=my-jetpack#/add-license`:void 0,variant:"link",weight:"regular"},b)))}function k(){const e=(0,u.Z)();return o().createElement("div",{className:g.Z.container},o().createElement(y,{purchases:e}),o().createElement("div",{className:g.Z.purchasesSection},e.map((e=>o().createElement(h,{key:`purchase-${e.product_name}`,purchase:e})))),o().createElement(v,{purchases:e}))}},2728:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,Z:()=>E});var c=n(2674),a=n.n(c),r=n(526),i=n(5106),o=n(5736),s=n(5235),l=n.n(s),p=n(5162),u=n.n(p),d=n(9196),m=n.n(d),g=n(2199),h=n(9720);const __=o.__,y={ACTIVE:"active",INACTIVE:"inactive",ERROR:"error",ABSENT:"plugin_absent",NEEDS_PURCHASE:"needs_purchase",NEEDS_PURCHASE_OR_FREE:"needs_purchase_or_free"},v={[y.ACTIVE]:__("Active","jetpack-my-jetpack"),[y.INACTIVE]:__("Inactive","jetpack-my-jetpack"),[y.NEEDS_PURCHASE]:__("Inactive","jetpack-my-jetpack"),[y.NEEDS_PURCHASE_OR_FREE]:__("Inactive","jetpack-my-jetpack"),[y.ERROR]:__("Error","jetpack-my-jetpack")},k=e=>{let{status:t,admin:n,name:c,onActivate:i,onManage:s,onFixConnection:l,isFetching:p,className:u,onAdd:d}=e;if(!n)return m().createElement(r.Z,a()({},g,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */
(0,o.sprintf)(__("Learn about %s","jetpack-my-jetpack"),c));const g={variant:p?void 0:"primary",disabled:p,className:u};switch(t){case y.ABSENT:return m().createElement(r.Z,a()({},g,{size:"small",variant:"link",weight:"regular"}),/* translators: placeholder is product name. */
(0,o.sprintf)(__("Add %s","jetpack-my-jetpack"),c));case y.NEEDS_PURCHASE:return m().createElement(r.Z,a()({},g,{size:"small",weight:"regular",onClick:d}),__("Purchase","jetpack-my-jetpack"));case y.NEEDS_PURCHASE_OR_FREE:return m().createElement(r.Z,a()({},g,{size:"small",weight:"regular",onClick:d}),__("Start for free","jetpack-my-jetpack"));case y.ACTIVE:return m().createElement(r.Z,a()({},g,{size:"small",weight:"regular",variant:"secondary",onClick:s}),__("Manage","jetpack-my-jetpack"));case y.ERROR:return m().createElement(r.Z,a()({},g,{size:"small",weight:"regular",onClick:l}),__("Fix connection","jetpack-my-jetpack"));case y.INACTIVE:return m().createElement(r.Z,a()({},g,{size:"small",weight:"regular",variant:"secondary",onClick:i}),__("Activate","jetpack-my-jetpack"));default:return null}},f=e=>{const{name:t,description:n,icon:c,status:r,onActivate:o,onAdd:s,onFixConnection:p,onManage:u,isFetching:f,slug:E}=e,b=r===y.ACTIVE,j=r===y.ERROR,_=r===y.INACTIVE,C=r===y.ABSENT,Z=r===y.NEEDS_PURCHASE||r===y.NEEDS_PURCHASE_OR_FREE,w=v[r],N=l()(h.Z.container,{[h.Z.plugin_absent]:C,[h.Z["is-purchase-required"]]:Z,[h.Z["is-link"]]:C,[h.Z["has-error"]]:j}),S=l()(h.Z.status,{[h.Z.active]:b,[h.Z.inactive]:_||Z,[h.Z.error]:j,[h.Z["is-fetching"]]:f}),{recordEvent:P}=(0,g.Z)(),R=(0,d.useCallback)((()=>{P("jetpack_myjetpack_product_card_activate_click",{product:E}),o()}),[E,o,P]),x=(0,d.useCallback)((e=>{null!=e&&e.preventDefault&&e.preventDefault(),P("jetpack_myjetpack_product_card_add_click",{product:E}),s()}),[E,s,P]),I=(0,d.useCallback)((()=>{P("jetpack_myjetpack_product_card_manage_click",{product:E}),u()}),[E,u,P]),U=(0,d.useCallback)((()=>{P("jetpack_myjetpack_product_card_fixconnection_click",{product:E}),p()}),[E,p,P]),T=C?e=>{let{children:t,...n}=e;return m().createElement("a",a()({},n,{href:"#",onClick:x}),t)}:e=>{let{children:t,...n}=e;return m().createElement("div",n,t)};return m().createElement(T,{className:N},m().createElement("div",{className:h.Z.name},m().createElement(i.ZP,{variant:"title-medium"},t),c),m().createElement(i.ZP,{variant:"body-small",className:h.Z.description},n),m().createElement("div",{className:h.Z.actions},m().createElement(k,a()({},e,{onActivate:R,onFixConnection:U,onManage:I,className:h.Z.button})),!C&&m().createElement(i.ZP,{variant:"label",className:S},w)))};f.propTypes={name:u().string.isRequired,description:u().string.isRequired,icon:u().element,admin:u().bool.isRequired,isFetching:u().bool,onManage:u().func,onFixConnection:u().func,onActivate:u().func,onAdd:u().func,slug:u().string.isRequired,status:u().oneOf([y.ACTIVE,y.INACTIVE,y.ERROR,y.ABSENT,y.NEEDS_PURCHASE,y.NEEDS_PURCHASE_OR_FREE]).isRequired},f.defaultProps={icon:null,isFetching:!1,onManage:()=>{},onFixConnection:()=>{},onActivate:()=>{},onAdd:()=>{}};const E=f},1640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"anti-spam"})};s.propTypes={admin:a().bool.isRequired};const l=s},401:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"backup"})};s.propTypes={admin:a().bool.isRequired};const l=s},4074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"boost"})};s.propTypes={admin:a().bool.isRequired};const l=s},5996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"crm"})};s.propTypes={admin:a().bool.isRequired};const l=s},717:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"extras"})};s.propTypes={admin:a().bool.isRequired};const l=s},5943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var c=n(3363),a=n(3846),r=n(9196),i=n.n(r),o=n(1640),s=n(401),l=n(4074),p=n(5996),u=n(717),d=n(5440),m=n(687),g=n(419),h=n(9894);const y=()=>i().createElement(c.Z,{fluid:!0,horizontalSpacing:0,horizontalGap:3},i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(s.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(d.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(o.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(l.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(m.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(h.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(p.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(g.Z,{admin:!0})),i().createElement(a.Z,{sm:4,md:4,lg:4},i().createElement(u.Z,{admin:!0})))},5440:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var c=n(9818),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i),s=n(7493),l=n(5745);const p=e=>{let{admin:t}=e;const n=(0,c.useSelect)((e=>e(s.t).hasStandalonePluginInstalled()));return o().createElement(l.Z,{admin:t,slug:n?"protect":"scan"})};p.propTypes={admin:r().bool.isRequired};const u=p},687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"search"})};s.propTypes={admin:a().bool.isRequired};const l=s},419:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"social"})};s.propTypes={admin:a().bool.isRequired};const l=s},9894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5162),a=n.n(c),r=n(9196),i=n.n(r),o=n(5745);const s=e=>{let{admin:t}=e;return i().createElement(o.Z,{admin:t,slug:"videopress"})};s.propTypes={admin:a().bool.isRequired};const l=s},2667:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(5609),a=n(5162),r=n.n(a),i=n(9196),o=n.n(i);const s=e=>{let{children:t,className:n,href:a,isLoading:r,onClick:i,isPrimary:s,disabled:l}=e;return o().createElement(c.Button,{onClick:i,className:n,href:a,variant:s?"primary":"secondary",disabled:r||l},r?o().createElement(c.Spinner,null):t)};s.propTypes={className:r().string,isLoading:r().bool,isPrimary:r().bool,disabled:r().bool},s.defaultProps={isLoading:!1,isPrimary:!0,disabled:!1};const l=s},968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var c=n(8899),a=n(5106),r=n(3396),i=n(4972),o=n(5609),s=n(5736),l=n(1074),p=n(1908),u=n(9201),d=n(5235),m=n.n(d),g=n(9196),h=n.n(g),y=n(2199),v=n(1689),k=n(3703),f=n(8278),E=n(2667),b=n(8429);const __=s.__;function j(e){let{value:t,currency:n,isOld:r}=e;if(!t||!n)return null;const i=(0,c.LR)(t,n),o=m()(b.Z.price,{[b.Z["is-old"]]:r});return h().createElement(a.ZP,{className:o,variant:"headline-medium",component:"p"},h().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.symbol),i.integer,h().createElement(a.ZP,{component:"sup",variant:"title-medium"},i.fraction))}const _=e=>{var t,n;let{slug:c,onClick:d,trackButtonClick:_,className:C,supportingInfo:Z}=e;const w=null===(t=window)||void 0===t||null===(n=t.myJetpackInitialState)||void 0===n?void 0:n.fileSystemWriteAccess,{detail:N,isFetching:S}=(0,k.i)(c),{title:P,longDescription:R,features:x,disclaimers:I,pricingForUi:U,isBundle:T,supportedProducts:A,hasRequiredPlan:O,status:F,pluginSlug:L}=N,z="plugin_absent"===F&&"no"===w,{isFree:D,trialAvailable:M,fullPricePerMonth:V,currencyCode:B,discountPricePerMonth:J,wpcomProductSlug:H,wpcomFreeProductSlug:q}=U,{isUserConnected:$}=(0,v.Z)(),{recordEvent:G}=(0,y.Z)(),W=!D&&!O,K=W&&H?(0,f.Z)(H,$):null,X=M&&q?(0,f.Z)(q,$):null,Q=T?A.join("_plus_").split("_").map(((e,t)=>{if("plus"===e)return h().createElement(l.Z,{className:b.Z["plus-icon"],key:`icon-plugs${t}`,icon:p.Z,size:14});const n=(0,r.VS)(e);return h().createElement(n,{key:e,size:24})})):null,Y=(0,g.useCallback)((()=>{_(),null==d||d(K)}),[d,_,K]),ee=(0,g.useCallback)((()=>{_(q),null==d||d(X)}),[d,_,X,q]),te=(0,g.useCallback)((e=>{G("jetpack_myjetpack_product_card_disclaimer_click",{id:e,product:c})}),[c,G]);function ne(e){let{slug:t}=e;const n=(0,r.VS)(t);return n?h().createElement("div",{className:b.Z["product-icon"]},h().createElement(n,null)):()=>null}return h().createElement("div",{className:m()(b.Z.card,C,{[b.Z["is-bundle-card"]]:T})},T&&h().createElement("div",{className:b.Z["card-header"]},h().createElement(r.r7,{className:b.Z["product-bundle-icon"],size:16}),h().createElement(a.ZP,{variant:"label"},__("Popular upgrade","jetpack-my-jetpack"))),h().createElement("div",{className:b.Z.container},T&&h().createElement("div",{className:b.Z["product-bundle-icons"]},Q),h().createElement(ne,{slug:c}),h().createElement(a.H3,null,P),h().createElement(a.ZP,{mb:3},R),h().createElement("ul",{className:b.Z.features},x.map(((e,t)=>h().createElement(a.ZP,{component:"li",key:`feature-${t}`,variant:"body"},h().createElement(l.Z,{icon:u.Z,size:24}),e)))),W&&h().createElement(h().Fragment,null,h().createElement("div",{className:b.Z["price-container"]},J<V&&h().createElement(j,{value:V,currency:B,isOld:!0}),h().createElement(j,{value:J,currency:B,isOld:!1})),h().createElement(a.ZP,{className:b.Z["price-description"]},__("/month, paid yearly","jetpack-my-jetpack"))),D&&h().createElement(a.H3,null,__("Free","jetpack-my-jetpack")),z&&h().createElement(i.Z,null,h().createElement(a.ZP,null,(0,s.sprintf)(
// translators: %s is the plugin name.
__("Due to your server settings, we can't automatically install the plugin for you. Please manually install the %s plugin.","jetpack-my-jetpack"),P)," ",h().createElement(o.ExternalLink,{href:`https://wordpress.org/plugins/${L}`},__("Get plugin","jetpack-my-jetpack")))),(!T||T&&!O)&&h().createElement(a.ZP,{component:E.Z,onClick:Y,isLoading:S,disabled:z,isPrimary:!T,href:d?void 0:K,className:b.Z["checkout-button"],variant:"body"},/* translators: placeholder is product name. */
(0,s.sprintf)(__("Add %s","jetpack-my-jetpack"),P)),(!T||T&&!O)&&M&&h().createElement(a.ZP,{component:E.Z,onClick:ee,isLoading:S,disabled:z,isPrimary:!1,href:d?void 0:X,className:[b.Z["checkout-button"],b.Z["free-product-checkout-button"]],variant:"body"},__("Start for free","jetpack-my-jetpack")),I.length>0&&h().createElement("div",{className:b.Z.disclaimers},I.map(((e,t)=>{const{text:n,link_text:c=null,url:r=null}=e;return h().createElement(a.ZP,{key:`disclaimer-${t}`,component:"p",variant:"body-small"},`${n} `,r&&c&&h().createElement(o.ExternalLink,{onClick:()=>te(t),href:r,target:"_blank",rel:"noopener noreferrer"},c))}))),T&&O&&h().createElement("div",{className:b.Z["product-has-required-plan"]},h().createElement(r.KM,{size:36}),h().createElement(a.ZP,null,__("Active on your site","jetpack-my-jetpack"))),Z&&h().createElement(a.ZP,{className:b.Z["supporting-info"],variant:"body-extra-small"},Z)))};_.defaultProps={trackButtonClick:()=>{}};const C=_},8093:(e,t,n)=>{"use strict";n.d(t,{B$:()=>w,Jw:()=>I,Q5:()=>P,WJ:()=>Z,Yi:()=>N,jO:()=>S,q:()=>_,qA:()=>C,uw:()=>x,y$:()=>R});var c=n(9105),a=n(3363),r=n(3846),i=n(9818),o=n(5736),s=n(9196),l=n.n(s),p=n(2199),u=n(3345),d=n(3703),m=n(7493),g=n(5626),h=n(968),y=n(5610),v=n(4763),k=n(2605),f=n(720),E=n(1287),b=n(1439);const __=o.__;function j(e){let{bundle:t,installsPlugin:n=!1,slug:o,supportingInfo:y,children:v=null}=e;const{activate:k,detail:f}=(0,d.i)(o),{isUpgradableByBundle:b}=f,{recordEvent:j}=(0,p.Z)();(0,s.useEffect)((()=>{j("jetpack_myjetpack_product_interstitial_view",{product:o})}),[j,o]);const _=(0,s.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;j("jetpack_myjetpack_product_interstitial_add_link_click",{product:e??o})}),[j,o]),C=(0,s.useCallback)((()=>{j("jetpack_myjetpack_product_interstitial_add_link_click",{product:t})}),[j,t]),Z=(0,u.Z)("/"),w=(0,s.useCallback)((e=>{k().finally((()=>{var t;const n=(0,i.select)(m.t).getProduct(o),c=null==n?void 0:n.postActivationUrl,a=null==n?void 0:n.hasRequiredPlan,r=null==n||null===(t=n.pricingForUi)||void 0===t?void 0:t.isFree;if(!c)return!r&&!a&&e?void(window.location.href=e):Z();window.location.href=c}))}),[Z,k,o]),N=(0,s.useCallback)((()=>{o&&j("jetpack_myjetpack_product_interstitial_back_link_click",{product:o})}),[j,o]);return l().createElement(c.Z,{showHeader:!1,showBackground:!1},l().createElement(a.Z,{horizontalSpacing:3,horizontalGap:3},l().createElement(r.Z,null,l().createElement(g.Z,{onClick:N})),l().createElement(r.Z,null,l().createElement(a.Z,{className:b?null:E.Z.container,horizontalSpacing:0,horizontalGap:0,fluid:!0},l().createElement(r.Z,{sm:4,md:4,lg:7},l().createElement(h.Z,{slug:o,trackButtonClick:_,onClick:n?w:void 0,className:b?E.Z.container:null,supportingInfo:y})),l().createElement(r.Z,{sm:4,md:4,lg:5,className:E.Z.imageContainer},t?l().createElement(h.Z,{slug:"security",trackButtonClick:C,className:b?E.Z.container:null}):v)))))}function _(){return l().createElement(j,{slug:"anti-spam",installsPlugin:!0,bundle:"security"})}function C(){return l().createElement(j,{slug:"backup",installsPlugin:!0,bundle:"security"})}function Z(){return l().createElement(j,{slug:"boost",installsPlugin:!0},l().createElement("img",{src:y,alt:"Boost"}))}function w(){return l().createElement(j,{slug:"crm",installsPlugin:!0},l().createElement("img",{src:v,alt:"CRM"}))}function N(){return l().createElement(j,{slug:"extras",installsPlugin:!0},l().createElement("img",{src:k,alt:"Extras"}))}function S(){return l().createElement(j,{slug:"protect",installsPlugin:!0,bundle:"security"})}function P(){return l().createElement(j,{slug:"scan",installsPlugin:!0,bundle:"security"})}function R(){return l().createElement(j,{slug:"social",installsPlugin:!0})}function x(){var e;const{detail:t}=(0,d.i)("search");return l().createElement(j,{slug:"search",installsPlugin:!0,supportingInfo:(null!=t&&null!==(e=t.pricingForUi)&&void 0!==e&&e.trialAvailable?__("Jetpack Search Free supports up to 5,000 records and 500 search requests per month for free. You will be asked to upgrade to a paid plan if you exceed these limits for three continuous months.","jetpack-my-jetpack"):"")+__("For the paid plan, pricing will automatically adjust based on the number of records in your search index. If you grow into a new pricing tier, we'll let you know before your next billing cycle.","jetpack-my-jetpack")},l().createElement("img",{src:f,alt:"Search"}))}function I(){return l().createElement(j,{slug:"videopress",installsPlugin:!0},l().createElement("img",{src:b,alt:"VideoPress"}))}},8565:(e,t,n)=>{"use strict";n.d(t,{f6:()=>a,w6:()=>c});const c="my-jetpack-my-plans-manage",a="my-jetpack-my-plans-purchase"},2199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var c=n(6975),a=n(9196),r=n(1689);const i=()=>{var e;const{isUserConnected:t,connectedPlugins:n,userConnectionData:i={}}=(0,r.Z)(),{login:o,ID:s}=(null===(e=i.currentUser)||void 0===e?void 0:e.wpcomUser)||{};(0,a.useEffect)((()=>{t&&s&&o&&c.Z.initialize(s,o)}),[s,t,o]);const l=Object.keys(n||{}).sort().join(",").replaceAll("jetpack-",""),{clearedIdentity:p,ga:u,mc:d,pageView:m,purchase:g,setGoogleAnalyticsEnabled:h,setMcAnalyticsEnabled:y,setProperties:v,tracks:k}=c.Z;return{clearedIdentity:p,ga:u,mc:d,pageView:m,purchase:g,recordEvent:(0,a.useCallback)(((e,t)=>{var n,c;k.recordEvent(e,{...t,version:null===(n=window)||void 0===n||null===(c=n.myJetpackInitialState)||void 0===c?void 0:c.myJetpackVersion,referring_plugins:l})}),[]),setGoogleAnalyticsEnabled:h,setMcAnalyticsEnabled:y,setProperties:v,tracks:k}}},5371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9818),a=n(5736),r=n(9196),i=n(7493),o=n(1689),s=n(3345);const __=a.__;function l(){const e=(0,s.Z)("/connection"),{setGlobalNotice:t}=(0,c.useDispatch)(i.t),n=(0,c.useSelect)((e=>e(i.t).getProductsThatRequiresUserConnection())),{isSiteConnected:l,hasConnectedOwner:p}=(0,o.Z)(),u=!p&&n.length>0,d=(0,a.sprintf)(/* translators: placeholder is product name. */
__("Jetpack %s needs a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"),n[0]),m=n.length>1?__("Some products need a user connection to WordPress.com to be able to work.","jetpack-my-jetpack"):d,g=__("Some products need a connection to WordPress.com to be able to work.","jetpack-my-jetpack");(0,r.useEffect)((()=>{l?u&&t(m,{status:"error",actions:[{label:__("Connect your user account to fix this","jetpack-my-jetpack"),onClick:e,variant:"link",noDefaultClasses:!0}]}):t(g,{status:"warning",actions:[{label:__("Connect your site to fix this","jetpack-my-jetpack"),onClick:e,variant:"link",noDefaultClasses:!0}]})}),[l,g,m,u,e,t])}},1689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var c=n(1294);function a(){const{apiRoot:e,apiNonce:t}=myJetpackRest,{topJetpackMenuItemUrl:n}=myJetpackInitialState,a=(0,c.Z)({apiRoot:e,apiNonce:t}),r=a.isRegistered;return{apiNonce:t,apiRoot:e,...a,isSiteConnected:r,topJetpackMenuItemUrl:n}}},3345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9196),a=n(5439);function r(e){const t=(0,a.s0)();return(0,c.useCallback)((()=>t(e)),[t,e])}},5031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){const e=(0,c.useDispatch)(),{message:t,options:n}=(0,c.useSelect)((e=>e(a.t).getGlobalNotice()));return{message:t,options:n||{},clean:()=>e(a.t).cleanGlobalNotice()}}},3703:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var c=n(9818),a=n(7493);function r(e){const{activateProduct:t,deactivateProduct:n}=(0,c.useDispatch)(a.t),r=(0,c.useSelect)((t=>t(a.t).getProduct(e)));return{activate:()=>t(e),deactivate:()=>n(e),productsList:(0,c.useSelect)((e=>e(a.t).getProducts())),detail:r,isActive:"active"===r.status,isFetching:(0,c.useSelect)((t=>t(a.t).isFetching(e))),status:r.status}}},1750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(7493);function r(){return(0,c.useSelect)((e=>e(a.t).getPurchases()))}},9274:(e,t,n)=>{"use strict";n.d(t,{RT:()=>s,ZP:()=>j,d1:()=>h,dE:()=>m,dI:()=>d,dq:()=>g,fE:()=>y,ny:()=>l,vv:()=>u,z8:()=>p});var c=n(428),a=n(6989),r=n.n(a),i=n(5736),o=n(2086);const __=i.__,s="SET_PURCHASES_IS_FETCHING",l="FETCH_PURCHASES",p="SET_PURCHASES",u="SET_IS_FETCHING_PRODUCT",d="SET_PRODUCT",m="SET_PRODUCT_REQUEST_ERROR",g="SET_PRODUCT_STATUS",h="SET_GLOBAL_NOTICE",y="CLEAN_GLOBAL_NOTICE",v=e=>({type:d,product:e}),k=(e,t)=>({type:m,productId:e,error:t}),f=(e,t)=>({type:"SET_GLOBAL_NOTICE",message:e,options:t});function E(e,t){return{type:u,productId:e,isFetching:t}}const b={setProduct:v,activateProduct:e=>async t=>await function(e,t,n){let{select:a,dispatch:s,registry:l}=n;return new Promise(((n,p)=>{if(!a.isValidProduct(e)){const t=__("Invalid product name","jetpack-my-jetpack"),n=new Error(t);return s(k(e,n)),s(f(t,{status:"error",isDismissible:!0})),void p(n)}const u=t.activate?"POST":"DELETE";return s(E(e,!0)),r()({path:`${o.Jk}/${e}`,method:u}).then((t=>{s(E(e,!1)),s(v(t)),l.dispatch(c.t).refreshConnectedPlugins(),n(null==t?void 0:t.status)})).catch((t=>{const{name:n}=a.getProduct(e),c=(0,i.sprintf)(
// translators: %$1s: Jetpack Product name
__("Failed to activate %1$s. Please try again","jetpack-my-jetpack"),n);s(E(e,!1)),s(k(e,t)),s(f(c,{status:"error",isDismissible:!0})),p(t)}))}))}(e,{activate:!0},t),setIsFetchingProduct:E,setRequestProductError:k,setProductStatus:(e,t)=>({type:g,productId:e,status:t})},j={setPurchasesIsFetching:e=>({type:s,isFetching:e}),fetchPurchases:()=>({type:l}),setPurchases:e=>({type:p,purchases:e}),...{setGlobalNotice:f,cleanGlobalNotice:()=>({type:"CLEAN_GLOBAL_NOTICE"})},...b}},2086:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>a,LQ:()=>c,iB:()=>r});const c="my-jetpack/v1/site/purchases",a="my-jetpack/v1/site/products",r=["scan"]},9462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),a=n.n(c),r=n(9274),i=n(2086);const o={[r.ny]:function(){return new Promise(((e,t)=>{a()({path:i.LQ}).then(e).catch(t)}))}}},925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(9818),a=n(9274);const r=(0,c.combineReducers)({products:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.vv:{const{productId:n,isFetching:c}=t;return{...e,isFetching:{...e.isFetching,[n]:c},errors:{...e.errors,[n]:c?void 0:e.errors[n]}}}case a.dq:{const{productId:n,status:c}=t;return{...e,items:{...e.items,[n]:{...e.items[n],status:c}}}}case a.dI:{const{product:n}=t,{slug:c}=n;return{...e,items:{...e.items,[c]:n}}}case a.dE:{const{productId:n,error:c}=t;return{...e,errors:{...e.errors,[n]:c}}}default:return e}},purchases:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.RT:return{...e,isFetching:t.isFetching};case a.z8:return{...e,items:(null==t?void 0:t.purchases)||[]};default:return e}},notices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{global:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.d1:{const{message:n,options:c}=t;return{...e,global:{message:n,options:c}}}case a.fE:return{...e,global:{}};default:return e}},plugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}})},9844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(6989),a=n.n(c),r=n(5736),i=n(2086);const __=r.__,o={...{getProduct:{isFulfilled:(e,t)=>{var n;return((null==e||null===(n=e.products)||void 0===n?void 0:n.items)||{}).hasOwnProperty(t)&&!i.iB.includes(t)},fulfill:e=>async t=>{let{dispatch:n}=t;try{n.setIsFetchingProduct(e,!0);const t=await a()({path:`${i.Jk}/${e}`});return n.setProduct(t),n.setIsFetchingProduct(e,!1),Promise.resolve()}catch(t){if(n.setIsFetchingProduct(e,!1),null!=t&&t.code&&null!=t&&t.message)return n.setRequestProductError(e,t),Promise.reject(t);throw new Error(t)}}},getPurchases:()=>async e=>{let{dispatch:t}=e;t.setPurchasesIsFetching(!0);try{t.setPurchases(await a()({path:i.LQ})),t.setPurchasesIsFetching(!1)}catch(e){t.setPurchasesIsFetching(!1),"not_connected"!==e.code&&t.setGlobalNotice(__("There was an error fetching your purchases information. Check your site connectivity and try again.","jetpack-my-jetpack"),{status:"error"})}}}}},6896:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var c=n(2728),a=n(6782);const r=e=>{var t;return(null===(t=e.products)||void 0===t?void 0:t.items)||{}},i=e=>Object.keys(r(e)),o={...{getProducts:r,getProductNames:i,getProduct:(e,t)=>{var n;const c=(null===(n=r(e))||void 0===n?void 0:n[t])||{},i=(0,a.N)(c,!0);return i.pricingForUi=(0,a.N)(i.pricingForUi||{},!0),i.features=i.features||[],i.supportedProducts=i.supportedProducts||[],i.pricingForUi.fullPricePerMonth=Math.ceil(i.pricingForUi.fullPrice/12*100)/100,i.pricingForUi.discountPricePerMonth=Math.ceil(i.pricingForUi.discountPrice/12*100)/100,i},isValidProduct:(e,t)=>i(e).includes(t),isFetching:(e,t)=>{var n,c;return(null===(n=e.products)||void 0===n||null===(c=n.isFetching)||void 0===c?void 0:c[t])||!1},getProductsThatRequiresUserConnection:e=>{const t=r(e);return Object.keys(t).reduce(((e,n)=>{const a=t[n];return(null==a?void 0:a.requires_user_connection)&&((null==a?void 0:a.status)===c.N.ACTIVE||(null==a?void 0:a.status)===c.N.ERROR)&&e.push(null==a?void 0:a.name),e}),[])}},getPurchases:e=>{var t;return(null===(t=e.purchases)||void 0===t?void 0:t.items)||[]},isRequestingPurchases:e=>e.isRequestingPurchases||!1,getGlobalNotice:e=>{var t;return null===(t=e.notices)||void 0===t?void 0:t.global},...{hasStandalonePluginInstalled:e=>Object.values(e.plugins).filter((e=>["jetpack-backup","jetpack-boost","jetpack-protect","jetpack-search","jetpack-social","jetpack-videopress"].indexOf(e.TextDomain)>=0)).length>0}}},1214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var c=n(17),a=n.n(c),r=n(9818);class i{static mayBeInit(e,t){null===i.store&&(i.store=(0,r.createReduxStore)(e,t),(0,r.register)(i.store))}}a()(i,"store",null);const o=i},7493:(e,t,n)=>{"use strict";n.d(t,{N:()=>p,t:()=>l});var c=n(9274),a=n(9462),r=n(925),i=n(9844),o=n(6896),s=n(1214);const l="my-jetpack";function p(){s.Z.mayBeInit(l,{__experimentalUseThunks:!0,reducer:r.Z,actions:c.ZP,selectors:o.ZP,resolvers:i.Z,controls:a.Z,initialState:window.myJetpackInitialState||{}})}},8295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){var e,t;const n=null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix;return(0,c.Z)(a.w6,{site:n})}},8278:(e,t,n)=>{"use strict";function c(e,t){var n;const{siteSuffix:c,myJetpackUrl:a}=(null===(n=window)||void 0===n?void 0:n.myJetpackInitialState)||{},r=new URL("https://wordpress.com/checkout/"),i=new URL(`${r}${c}/${e}`);return i.searchParams.set("redirect_to",a),t||i.searchParams.set("unlinked",1),i.searchParams.set("site",c),i.toString()}n.d(t,{Z:()=>c})},7258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var c=n(6895),a=n(8565);function r(){var e,t;const n=null===(e=window)||void 0===e||null===(t=e.myJetpackInitialState)||void 0===t?void 0:t.siteSuffix;return(0,c.Z)(a.f6,{site:n})}},6782:(e,t,n)=>{"use strict";function c(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function a(e){return-1!==e.indexOf("_")}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=Object.assign({},e);for(const e in n)n.hasOwnProperty(e)&&a(e)&&(n[c(e)]=n[e],t&&delete n[e]);return n}n.d(t,{N:()=>r})},2042:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},724:(e,t,n)=>{"use strict";e.exports=n.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},8702:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},1160:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},5242:(e,t,n)=>{"use strict";e.exports=n.p+"images/apple-92dacafad84e79708a74.svg"},6790:(e,t,n)=>{"use strict";e.exports=n.p+"images/connect-f27775ac15cf885713c2.png"},184:(e,t,n)=>{"use strict";e.exports=n.p+"images/google-dec2a429bf1d8e83f9ad.svg"},4403:(e,t,n)=>{"use strict";e.exports=n.p+"images/wordpress-1fc3e0ba6c52e9707900.svg"},3591:(e,t,n)=>{"use strict";e.exports=n.p+"images/cloud-81ac85ba680343200f54.svg"},3815:(e,t,n)=>{"use strict";e.exports=n.p+"images/empty-avatar-fea23feddfa99b07c2e8.svg"},9182:(e,t,n)=>{"use strict";e.exports=n.p+"images/jetpack-9de1caef5eb5c22da5d6.svg"},5610:(e,t,n)=>{"use strict";e.exports=n.p+"images/boost-a54137485af36fdffe9c.png"},4763:(e,t,n)=>{"use strict";e.exports=n.p+"images/crm-7e7684ae2c40327d8fed.png"},2605:(e,t,n)=>{"use strict";e.exports=n.p+"images/extras-26daf36507504c96d066.png"},720:(e,t,n)=>{"use strict";e.exports=n.p+"images/search-f9756bd9c926d905fe70.png"},1439:(e,t,n)=>{"use strict";e.exports=n.p+"images/videopress-9591093a9a238cc48a35.png"},4462:e=>{"use strict";if(void 0==={consumer_slug:"my_jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"my_jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"my_jetpack"}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},5736:e=>{"use strict";e.exports=window.wp.i18n},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},17:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},255:(e,t,n)=>{"use strict";function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},c.apply(this,arguments)}n.d(t,{Z:()=>c})},8288:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var c=n(9307),a=n(5736),r=n(5844),i=n(9196),o=n(9430);const __=a.__,s=e=>{const{productId:t,siteRawUrl:n}=e,a=`https://cloud.jetpack.com/landing/${n}`,r=(0,o.F)(t),s={jetpack_anti_spam:{title:__("Jetpack Anti-spam is active!","jetpack-my-jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack-my-jetpack")},jetpack_backup:{title:__("Jetpack Backup is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:a})})},jetpack_complete:{title:__("Jetpack Complete is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:a})})},jetpack_scan:{title:__("Jetpack Scan is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your security scans on <a>cloud.jetpack.com</a>.","jetpack-my-jetpack"),{a:i.createElement("a",{href:a})})},jetpack_search:{title:__("Jetpack Search is active!","jetpack-my-jetpack"),text:__("Next, we'll help you customize the Search experience for your visitors.","jetpack-my-jetpack")},jetpack_security:{title:__("Jetpack Security is active!","jetpack-my-jetpack"),text:(0,c.createInterpolateElement)(__("You can see your backups, security scans, and restore your site on <a>cloud.jetpack.com</a>. If you ever lose access to your site, you can restore it there.","jetpack-my-jetpack"),{a:i.createElement("a",{href:a})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack-my-jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack-my-jetpack")},default:{title:__("Your product is active!","jetpack-my-jetpack"),text:__("You're all set!","jetpack-my-jetpack")}};return i.createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},i.createElement("h1",null,s[r].title," ",String.fromCodePoint(127881)),i.createElement("p",null,s[r].text))};s.propTypes={dashboardUrl:r.string,productId:r.number};const l=s},9430:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});const c={jetpack_anti_spam:[2110,2111],jetpack_backup:[2100,2101,2102,2103,2112,2113,2114,2115],jetpack_complete:[2014,2015],jetpack_scan:[2106,2107,2108,2109],jetpack_search:[2104,2105],jetpack_security:[2010,2011,2012,2013,2016,2017,2019,2020],jetpack_videopress:[2116,2117]};function a(e){return Object.keys(c).find((t=>c[t].includes(e)))||"default"}}},t={};function n(c){var a=t[c];if(void 0!==a)return a.exports;var r=t[c]={exports:{}};return e[c](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var c=t.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(8275),t=n(9196),c=n.n(t),a=n(1850),r=n.n(a),i=n(5439),o=n(554),s=n(1899),l=n(9841),p=n(8966),u=n(8093),d=n(7493);n(5878);function m(){const e=(0,i.TH)();return(0,t.useEffect)((()=>window.scrollTo(0,0)),[e]),null}(0,d.N)();const g=()=>{var t,n;return c().createElement(e.ZP,null,c().createElement(o.UT,null,c().createElement(m,null),c().createElement(i.Z5,null,c().createElement(i.AW,{path:"/",element:c().createElement(p.Z,null)}),c().createElement(i.AW,{path:"/connection",element:c().createElement(l.Z,null)}),c().createElement(i.AW,{path:"/add-anti-spam",element:c().createElement(u.q,null)}),c().createElement(i.AW,{path:"/add-backup",element:c().createElement(u.qA,null)}),c().createElement(i.AW,{path:"/add-boost",element:c().createElement(u.WJ,null)}),c().createElement(i.AW,{path:"/add-crm",element:c().createElement(u.B$,null)}),c().createElement(i.AW,{path:"/add-extras",element:c().createElement(u.Yi,null)}),c().createElement(i.AW,{path:"/add-protect",element:c().createElement(u.jO,null)}),c().createElement(i.AW,{path:"/add-scan",element:c().createElement(u.Q5,null)}),c().createElement(i.AW,{path:"/add-social",element:c().createElement(u.y$,null)}),c().createElement(i.AW,{path:"/add-search",element:c().createElement(u.uw,null)}),c().createElement(i.AW,{path:"/add-videopress",element:c().createElement(u.Jw,null)}),(null===(t=window)||void 0===t||null===(n=t.myJetpackInitialState)||void 0===n?void 0:n.loadAddLicenseScreen)&&c().createElement(i.AW,{path:"/add-license",element:c().createElement(s.Z,null)}))))};!function(){const e=document.getElementById("my-jetpack-container");null!==e&&r().render(c().createElement(g,null),e)}()})()})();