PK qhYJFF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/tiktechtok.org/wp-content/plugins/jetpack/_inc/build/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/tiktechtok.org/wp-content/plugins/jetpack/_inc/build/admin.js

/*! For license information please see admin.js.LICENSE.txt */
(()=>{var e={61074:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(69307);const n=(0,a.forwardRef)((function({icon:e,size:t=24,...s},n){return(0,a.cloneElement)(e,{width:t,height:t,...s,ref:n})}))},70157:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"}))},79201:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}))},6163:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},39517:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.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"}))},15381:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},90496:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(n.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"}))},30797:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s(70444);const i=(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,a.createElement)(n.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"}))},16163:(e,t,s)=>{var a=s(46147);e.exports=function(e){var t=null,s=a(e);if(3===e.nodeType){var n=s.createRange();n.selectNodeContents(e),e=n}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var i=s.createElement("span");i.appendChild(s.createTextNode("​")),e.insertNode(i),t=i.getBoundingClientRect();var r=i.parentNode;r.removeChild(i),r.normalize()}return t}},65235:(e,t)=>{var s;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var i=typeof s;if("string"===i||"number"===i)e.push(s);else if(Array.isArray(s)){if(s.length){var r=n.apply(null,s);r&&e.push(r)}}else if("object"===i){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var o in s)a.call(s,o)&&s[o]&&e.push(o)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},52491:function(e){var t;t=function(){return function(e){var t={};function s(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=e,s.c=t,s.d=function(e,t,a){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)s.d(a,n,function(t){return e[t]}.bind(null,n));return a},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var s=e.hasAttribute("readonly");s||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),s||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var a=window.getSelection(),n=document.createRange();n.selectNodeContents(e),a.removeAllRanges(),a.addRange(n),t=a.toString()}return t}},function(e,t){function s(){}s.prototype={on:function(e,t,s){var a=this.e||(this.e={});return(a[e]||(a[e]=[])).push({fn:t,ctx:s}),this},once:function(e,t,s){var a=this;function n(){a.off(e,n),t.apply(s,arguments)}return n._=t,this.on(e,n,s)},emit:function(e){for(var t=[].slice.call(arguments,1),s=((this.e||(this.e={}))[e]||[]).slice(),a=0,n=s.length;a<n;a++)s[a].fn.apply(s[a].ctx,t);return this},off:function(e,t){var s=this.e||(this.e={}),a=s[e],n=[];if(a&&t)for(var i=0,r=a.length;i<r;i++)a[i].fn!==t&&a[i].fn._!==t&&n.push(a[i]);return n.length?s[e]=n:delete s[e],this}},e.exports=s,e.exports.TinyEmitter=s},function(e,t,s){var a=s(3),n=s(4);e.exports=function(e,t,s){if(!e&&!t&&!s)throw new Error("Missing required arguments");if(!a.string(t))throw new TypeError("Second argument must be a String");if(!a.fn(s))throw new TypeError("Third argument must be a Function");if(a.node(e))return function(e,t,s){return e.addEventListener(t,s),{destroy:function(){e.removeEventListener(t,s)}}}(e,t,s);if(a.nodeList(e))return function(e,t,s){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,s)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,s)}))}}}(e,t,s);if(a.string(e))return function(e,t,s){return n(document.body,e,t,s)}(e,t,s);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var s=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===s||"[object HTMLCollection]"===s)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,s){var a=s(5);function n(e,t,s,a,n){var r=i.apply(this,arguments);return e.addEventListener(s,r,n),{destroy:function(){e.removeEventListener(s,r,n)}}}function i(e,t,s,n){return function(s){s.delegateTarget=a(s.target,t),s.delegateTarget&&n.call(e,s)}}e.exports=function(e,t,s,a,i){return"function"==typeof e.addEventListener?n.apply(null,arguments):"function"==typeof s?n.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return n(e,t,s,a,i)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,s){"use strict";s.r(t);var a=s(0),n=s.n(a),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var s=0;s<t.length;s++){var a=t[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,s,a){return s&&e(t.prototype,s),a&&e(t,a),t}}(),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return r(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var s=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=s+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=n()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=n()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}(),c=o,l=s(1),p=s.n(l),d=s(2),u=s.n(d),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(){function e(e,t){for(var s=0;s<t.length;s++){var a=t[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,s,a){return s&&e(t.prototype,s),a&&e(t,a),t}}(),g=function(e){function t(e,s){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.resolveOptions(s),a.listenClick(e),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=u()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return k("action",e)}},{key:"defaultTarget",value:function(e){var t=k("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return k("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,s=!!document.queryCommandSupported;return t.forEach((function(e){s=s&&!!document.queryCommandSupported(e)})),s}}]),t}(p.a);function k(e,t){var s="data-clipboard-"+e;if(t.hasAttribute(s))return t.getAttribute(s)}t.default=g}]).default},e.exports=t()},29494:(e,t,s)=>{var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";function n(e){var t,s;for(t=[],s=0;s<e.length;s++)t.push(a[e[s]%64]);return t.join("")}e.exports=function(e){if("undefined"!=typeof window){if(void 0!==window.crypto)return n(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),a=0;a<e;a++)t[a]=Math.floor(256*Math.random());return n(t)}var i=s(39369);try{return n(i.randomBytes(e))}catch(t){return n(i.pseudoRandomBytes(e))}}},53184:e=>{"use strict";var t,s="object"==typeof Reflect?Reflect:null,a=s&&"function"==typeof s.apply?s.apply:function(e,t,s){return Function.prototype.apply.call(e,t,s)};t=s&&"function"==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var n=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(s,a){function n(s){e.removeListener(t,i),a(s)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",n),s([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,s){"function"==typeof e.on&&g(e,"error",t,s)}(e,n,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var r=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,s,a){var n,i,r,l;if(o(s),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,s.listener?s.listener:s),i=e._events),r=i[t]),void 0===r)r=i[t]=s,++e._eventsCount;else if("function"==typeof r?r=i[t]=a?[s,r]:[r,s]:a?r.unshift(s):r.push(s),(n=c(e))>0&&r.length>n&&!r.warned){r.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=e,p.type=t,p.count=r.length,l=p,console&&console.warn&&console.warn(l)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,s){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:s},n=p.bind(a);return n.listener=s,a.wrapFn=n,n}function u(e,t,s){var a=e._events;if(void 0===a)return[];var n=a[t];return void 0===n?[]:"function"==typeof n?s?[n.listener||n]:[n]:s?function(e){for(var t=new Array(e.length),s=0;s<t.length;++s)t[s]=e[s].listener||e[s];return t}(n):h(n,n.length)}function m(e){var t=this._events;if(void 0!==t){var s=t[e];if("function"==typeof s)return 1;if(void 0!==s)return s.length}return 0}function h(e,t){for(var s=new Array(t),a=0;a<t;++a)s[a]=e[a];return s}function g(e,t,s,a){if("function"==typeof e.on)a.once?e.once(t,s):e.on(t,s);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function n(i){a.once&&e.removeEventListener(t,n),s(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");r=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||n(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],s=1;s<arguments.length;s++)t.push(arguments[s]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var r;if(t.length>0&&(r=t[0]),r instanceof Error)throw r;var o=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw o.context=r,o}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else{var l=c.length,p=h(c,l);for(s=0;s<l;++s)a(p[s],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return o(t),this.on(e,d(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return o(t),this.prependListener(e,d(this,e,t)),this},i.prototype.removeListener=function(e,t){var s,a,n,i,r;if(o(t),void 0===(a=this._events))return this;if(void 0===(s=a[e]))return this;if(s===t||s.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete a[e],a.removeListener&&this.emit("removeListener",e,s.listener||t));else if("function"!=typeof s){for(n=-1,i=s.length-1;i>=0;i--)if(s[i]===t||s[i].listener===t){r=s[i].listener,n=i;break}if(n<0)return this;0===n?s.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(s,n),1===s.length&&(a[e]=s[0]),void 0!==a.removeListener&&this.emit("removeListener",e,r||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,s,a;if(void 0===(s=this._events))return this;if(void 0===s.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==s[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete s[e]),this;if(0===arguments.length){var n,i=Object.keys(s);for(a=0;a<i.length;++a)"removeListener"!==(n=i[a])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=s[e]))this.removeListener(e,t);else if(void 0!==t)for(a=t.length-1;a>=0;a--)this.removeListener(e,t[a]);return this},i.prototype.listeners=function(e){return u(this,e,!0)},i.prototype.rawListeners=function(e){return u(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},i.prototype.listenerCount=m,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2056:(e,t,s)=>{"use strict";s.d(t,{v:()=>u});var a,n=s(58750);function i(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function r(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,a)}return s}var o,c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var s=o.indexOf(e);-1===s||o.splice(s,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},p=function(e,t){var s=-1;return e.every((function(e,a){return!t(e)||(s=a,!1)})),s},d=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),a=1;a<t;a++)s[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,s):e},u=function(e,t){var s,o=document,u=function(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?r(Object(s),!0).forEach((function(t){i(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),m={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},h=function(e){return m.containers.some((function(t){return t.contains(e)}))},g=function(e){var t=u[e];if(!t)return null;var s=t;if("string"==typeof t&&!(s=o.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(s=t()))throw new Error("`".concat(e,"` did not return a node"));return s},k=function(){var e;if(null!==g("initialFocus"))e=g("initialFocus");else if(h(o.activeElement))e=o.activeElement;else{var t=m.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},f=function(){if(m.tabbableGroups=m.containers.map((function(e){var t=(0,n.ht)(e);if(t.length>0)return{container:e,firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),m.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function e(t){t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!u.preventScroll}),m.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(k()))},E=function(e){h(e.target)||(d(u.clickOutsideDeactivates,e)?s.deactivate({returnFocus:u.returnFocusOnDeactivate&&!(0,n.EB)(e.target)}):d(u.allowOutsideClick,e)||e.preventDefault())},w=function(e){var t=h(e.target);t||e.target instanceof Document?t&&(m.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),v(m.mostRecentlyFocusedNode||k()))},_=function(e){if(!1!==u.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void s.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){f();var t=null;if(m.tabbableGroups.length>0)if(p(m.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var s=p(m.tabbableGroups,(function(t){var s=t.firstTabbableNode;return e.target===s}));if(s>=0){var a=0===s?m.tabbableGroups.length-1:s-1;t=m.tabbableGroups[a].lastTabbableNode}}else{var n=p(m.tabbableGroups,(function(t){var s=t.lastTabbableNode;return e.target===s}));if(n>=0){var i=n===m.tabbableGroups.length-1?0:n+1;t=m.tabbableGroups[i].firstTabbableNode}}else t=g("fallbackFocus");t&&(e.preventDefault(),v(t))}(e)},b=function(e){d(u.clickOutsideDeactivates,e)||h(e.target)||d(u.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},y=function(){if(m.active)return c.activateTrap(s),a=u.delayInitialFocus?l((function(){v(k())})):v(k()),o.addEventListener("focusin",w,!0),o.addEventListener("mousedown",E,{capture:!0,passive:!1}),o.addEventListener("touchstart",E,{capture:!0,passive:!1}),o.addEventListener("click",b,{capture:!0,passive:!1}),o.addEventListener("keydown",_,{capture:!0,passive:!1}),s},C=function(){if(m.active)return o.removeEventListener("focusin",w,!0),o.removeEventListener("mousedown",E,!0),o.removeEventListener("touchstart",E,!0),o.removeEventListener("click",b,!0),o.removeEventListener("keydown",_,!0),s};return(s={activate:function(e){if(m.active)return this;f(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=o.activeElement;var t=e&&e.onActivate?e.onActivate:u.onActivate;return t&&t(),y(),this},deactivate:function(e){if(!m.active)return this;clearTimeout(a),C(),m.active=!1,m.paused=!1,c.deactivateTrap(s);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:u.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:u.returnFocusOnDeactivate)&&l((function(){var e;v((e=m.nodeFocusedBeforeActivation,g("setReturnFocus")||e))})),this},pause:function(){return m.paused||!m.active||(m.paused=!0,C()),this},unpause:function(){return m.paused&&m.active?(m.paused=!1,f(),y(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return m.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),m.active&&f(),this}}).updateContainerElements(e),s}},46147:e=>{e.exports=function e(t){if(s(t))return t;if(s(t.ownerDocument))return t.ownerDocument;if(s(t.document))return t.document;if(t.parentNode)return e(t.parentNode);if(t.commonAncestorContainer)return e(t.commonAncestorContainer);if(t.startContainer)return e(t.startContainer);if(t.anchorNode)return e(t.anchorNode)};var t=9;function s(e){return e&&e.nodeType===t}},92511:(e,t,s)=>{"use strict";s.d(t,{Ep:()=>d,Hp:()=>m,PP:()=>x,lX:()=>w,ob:()=>u,q_:()=>S});var a=s(80255),n=s(4456),i=s(51260),r=s(94262);function o(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,s=e.search,a=e.hash,n=t||"/";return s&&"?"!==s&&(n+="?"===s.charAt(0)?s:"?"+s),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function u(e,t,s,i){var r;"string"==typeof e?(r=function(e){var t=e||"/",s="",a="",n=t.indexOf("#");-1!==n&&(a=t.substr(n),t=t.substr(0,n));var i=t.indexOf("?");return-1!==i&&(s=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===s?"":s,hash:"#"===a?"":a}}(e),r.state=t):(void 0===(r=(0,a.Z)({},e)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==t&&void 0===r.state&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return s&&(r.key=s),i?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=(0,n.Z)(r.pathname,i.pathname)):r.pathname=i.pathname:r.pathname||(r.pathname="/"),r}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.Z)(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,s,a,n){if(null!=e){var i="function"==typeof e?e(t,s):e;"string"==typeof i?"function"==typeof a?a(i,n):n(!0):n(!1!==i)}else n(!0)},appendListener:function(e){var s=!0;function a(){s&&e.apply(void 0,arguments)}return t.push(a),function(){s=!1,t=t.filter((function(e){return e!==a}))}},notifyListeners:function(){for(var e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];t.forEach((function(e){return e.apply(void 0,s)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function k(e,t){t(window.confirm(e))}var f="popstate",v="hashchange";function E(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),g||(0,r.Z)(!1);var t,s=window.history,n=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),c=e,m=c.forceRefresh,w=void 0!==m&&m,_=c.getUserConfirmation,b=void 0===_?k:_,y=c.keyLength,C=void 0===y?6:y,j=e.basename?p(o(e.basename)):"";function S(e){var t=e||{},s=t.key,a=t.state,n=window.location,i=n.pathname+n.search+n.hash;return j&&(i=l(i,j)),u(i,a,s)}function N(){return Math.random().toString(36).substr(2,C)}var x=h();function T(e){(0,a.Z)(V,e),V.length=s.length,x.notifyListeners(V.location,V.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||Z(S(e.state))}function M(){Z(S(E()))}var P=!1;function Z(e){if(P)P=!1,T();else{x.confirmTransitionTo(e,"POP",b,(function(t){t?T({action:"POP",location:e}):function(e){var t=V.location,s=R.indexOf(t.key);-1===s&&(s=0);var a=R.indexOf(e.key);-1===a&&(a=0);var n=s-a;n&&(P=!0,z(n))}(e)}))}}var O=S(E()),R=[O.key];function L(e){return j+d(e)}function z(e){s.go(e)}var I=0;function U(e){1===(I+=e)&&1===e?(window.addEventListener(f,A),i&&window.addEventListener(v,M)):0===I&&(window.removeEventListener(f,A),i&&window.removeEventListener(v,M))}var D=!1;var V={length:s.length,action:"POP",location:O,createHref:L,push:function(e,t){var a="PUSH",i=u(e,t,N(),V.location);x.confirmTransitionTo(i,a,b,(function(e){if(e){var t=L(i),r=i.key,o=i.state;if(n)if(s.pushState({key:r,state:o},null,t),w)window.location.href=t;else{var c=R.indexOf(V.location.key),l=R.slice(0,c+1);l.push(i.key),R=l,T({action:a,location:i})}else window.location.href=t}}))},replace:function(e,t){var a="REPLACE",i=u(e,t,N(),V.location);x.confirmTransitionTo(i,a,b,(function(e){if(e){var t=L(i),r=i.key,o=i.state;if(n)if(s.replaceState({key:r,state:o},null,t),w)window.location.replace(t);else{var c=R.indexOf(V.location.key);-1!==c&&(R[c]=i.key),T({action:a,location:i})}else window.location.replace(t)}}))},go:z,goBack:function(){z(-1)},goForward:function(){z(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return D||(U(1),D=!0),function(){return D&&(D=!1,U(-1)),t()}},listen:function(e){var t=x.appendListener(e);return U(1),function(){U(-1),t()}}};return V}var _="hashchange",b={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:o},slash:{encodePath:o,decodePath:o}};function y(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function j(e){window.location.replace(y(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),g||(0,r.Z)(!1);var t=window.history,s=(window.navigator.userAgent.indexOf("Firefox"),e),n=s.getUserConfirmation,i=void 0===n?k:n,c=s.hashType,m=void 0===c?"slash":c,f=e.basename?p(o(e.basename)):"",v=b[m],E=v.encodePath,w=v.decodePath;function S(){var e=w(C());return f&&(e=l(e,f)),u(e)}var N=h();function x(e){(0,a.Z)(D,e),D.length=t.length,N.notifyListeners(D.location,D.action)}var T=!1,A=null;function M(){var e,t,s=C(),a=E(s);if(s!==a)j(a);else{var n=S(),r=D.location;if(!T&&(t=n,(e=r).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===d(n))return;A=null,function(e){if(T)T=!1,x();else{var t="POP";N.confirmTransitionTo(e,t,i,(function(s){s?x({action:t,location:e}):function(e){var t=D.location,s=R.lastIndexOf(d(t));-1===s&&(s=0);var a=R.lastIndexOf(d(e));-1===a&&(a=0);var n=s-a;n&&(T=!0,L(n))}(e)}))}}(n)}}var P=C(),Z=E(P);P!==Z&&j(Z);var O=S(),R=[d(O)];function L(e){t.go(e)}var z=0;function I(e){1===(z+=e)&&1===e?window.addEventListener(_,M):0===z&&window.removeEventListener(_,M)}var U=!1;var D={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),s="";return t&&t.getAttribute("href")&&(s=y(window.location.href)),s+"#"+E(f+d(e))},push:function(e,t){var s="PUSH",a=u(e,void 0,void 0,D.location);N.confirmTransitionTo(a,s,i,(function(e){if(e){var t=d(a),n=E(f+t);if(C()!==n){A=t,function(e){window.location.hash=e}(n);var i=R.lastIndexOf(d(D.location)),r=R.slice(0,i+1);r.push(t),R=r,x({action:s,location:a})}else x()}}))},replace:function(e,t){var s="REPLACE",a=u(e,void 0,void 0,D.location);N.confirmTransitionTo(a,s,i,(function(e){if(e){var t=d(a),n=E(f+t);C()!==n&&(A=t,j(n));var i=R.indexOf(d(D.location));-1!==i&&(R[i]=t),x({action:s,location:a})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return U||(I(1),U=!0),function(){return U&&(U=!1,I(-1)),t()}},listen:function(e){var t=N.appendListener(e);return I(1),function(){I(-1),t()}}};return D}function N(e,t,s){return Math.min(Math.max(e,t),s)}function x(e){void 0===e&&(e={});var t=e,s=t.getUserConfirmation,n=t.initialEntries,i=void 0===n?["/"]:n,r=t.initialIndex,o=void 0===r?0:r,c=t.keyLength,l=void 0===c?6:c,p=h();function m(e){(0,a.Z)(w,e),w.length=w.entries.length,p.notifyListeners(w.location,w.action)}function g(){return Math.random().toString(36).substr(2,l)}var k=N(o,0,i.length-1),f=i.map((function(e){return u(e,void 0,"string"==typeof e?g():e.key||g())})),v=d;function E(e){var t=N(w.index+e,0,w.entries.length-1),a=w.entries[t];p.confirmTransitionTo(a,"POP",s,(function(e){e?m({action:"POP",location:a,index:t}):m()}))}var w={length:f.length,action:"POP",location:f[k],index:k,entries:f,createHref:v,push:function(e,t){var a="PUSH",n=u(e,t,g(),w.location);p.confirmTransitionTo(n,a,s,(function(e){if(e){var t=w.index+1,s=w.entries.slice(0);s.length>t?s.splice(t,s.length-t,n):s.push(n),m({action:a,location:n,index:t,entries:s})}}))},replace:function(e,t){var a="REPLACE",n=u(e,t,g(),w.location);p.confirmTransitionTo(n,a,s,(function(e){e&&(w.entries[w.index]=n,m({action:a,location:n}))}))},go:E,goBack:function(){E(-1)},goForward:function(){E(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return w}},57692:(e,t,s)=>{"use strict";var a=s(93801),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function c(e){return a.isMemo(e)?r:o[e.$$typeof]||n}o[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[a.Memo]=r;var l=Object.defineProperty,p=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,s,a){if("string"!=typeof s){if(h){var n=m(s);n&&n!==h&&e(t,n,a)}var r=p(s);d&&(r=r.concat(d(s)));for(var o=c(t),g=c(s),k=0;k<r.length;++k){var f=r[k];if(!(i[f]||a&&a[f]||g&&g[f]||o&&o[f])){var v=u(s,f);try{l(t,f,v)}catch(e){}}}}return t}},97676:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},1488:()=>{},56878:()=>{},40888:()=>{},59961:()=>{},73443:()=>{},58449:()=>{},86508:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},17472:()=>{},62103:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={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"}},46172:()=>{},53351:()=>{},45460:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR"}},33527:()=>{},49710:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},31418:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={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"}},87054:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},12077:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={container:"VHYulMcpzbr10HWR0iSE","icon-wrapper":"FGpSkMCiIHQjszcV0dbn","close-button":"KoWZcCwhW13xvkEb0QON","main-content":"smrfczkC53EaFM8OJUXs",title:"IKYRWoPwt9xOVEx1wzNS","action-bar":"qM0qY6mPYp1MPN54A3Kg","is-error":"A5YkDkkXuiYgavrY6Nux",icon:"y_IPyP1wIAOhyNaqvXJq","is-warning":"cT5rwuPMZzWvi5o6shMl","is-info":"yo0O3uvNomPsYUXFCpAS","is-success":"oZdDFf1jBLkzn5ICCC6x"}},37387:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf","promo-label":"NubApIV1vQCRUNprfm6b",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},11334:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={wrapper:"McCYJ2ErFiztX2NeMRou",small:"BzRvZWnrBa4JjQY0uluD",progress:"DKqdDLOgkrxCkDzKGT87"}},34086:()=>{},48026:()=>{},49807:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={status:"bZ4b33s2MdcOjaDKBbeV",status__indicator:"UzkzDaqt2mXprJh2OXRz",status__label:"QuS0vdcr87FsiBvSSrvA","is-active":"bGx0wbQAwuY7k8P3PHVQ","is-inactive":"wR8Cz8uHgObTQavolv5y","is-error":"IzbBYGwBKhSYFUQlIMww","is-action":"Kdvp_HJf89IBrZuCaLm8","is-initializing":"hVf5vsbBWm8OFye7cy7a"}},67660:()=>{},85837:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={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"}},93468:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},87999:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={toggle:"gecp_0Z0owRZtj8JAYir","is-small":"qgKXEdMmHsIK84VDnLO2","no-label":"Vy6dbB4PsGKm8BDqzJ9J","is-toggling":"ykWv7fKpkVW_vpAoddu4"}},81737:()=>{},54590:()=>{},15035:()=>{},22202:()=>{},52741:()=>{},88043:()=>{},9459:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={"jp-wrap":"EiaNctK1_P9pPqOeiaSI","jp-row":"ogHZg_sJCljylz3VJfsf","sm-col-span-1":"zv7eGvijKRkbPVakubHw","sm-col-span-2":"VoJNoiya_1ck3_kXS6_C","sm-col-span-3":"ecv0NO526NoTNbpALA1A","sm-col-span-4":"OfBdkceMzeHvRbzhqDlP","md-col-span-1":"JLb3NpEKN8pOaWd7K1bu","md-col-span-2":"fsMPGqPKE4mjMIPFwl77","md-col-span-3":"DIK_zdaGAQ09eKspBJ4E","md-col-span-4":"shXYpxPu3WCJsR8aOHtz","md-col-span-5":"s7ElrOqG_yGd5SIfwqOR","md-col-span-6":"Cxml9uzGvArAL8_RDs_p","md-col-span-7":"aANxBKDGx72eDqU0iUPj","md-col-span-8":"XxyzuTY3mnQcl9EGZadm","lg-col-span-1":"Sfo4WaSNIWInJ93Abd3w","lg-col-span-2":"tQS7SKUGrU4THhWMysbo","lg-col-span-3":"I94U7mpY4h16pcOksZNF","lg-col-span-4":"uWMb9k77kQxBdS5MTt0s","lg-col-span-5":"rKwEEZQxK9s_POMg5Jss","lg-col-span-6":"UcPXX_s06IPCkF7ZjH3D","lg-col-span-7":"CrQdtiCFkRbzY6K2dFvt","lg-col-span-8":"rEUALOmOdUBXO0Us871z","lg-col-span-9":"NqXa9TlcTEviVsB53hBV","lg-col-span-10":"OnWVeiQiwgQ9lzdGPW66","lg-col-span-11":"D2PkTcy7b8u2K9QXY6VQ","lg-col-span-12":"EcqBhzAyxo5RDc2Y6m7K","md-col-span-0":"gB1mWzHOM38d80lrhBRX","sm-col-span-0":"KNQXLP78ejczOkour3zg","jp-cut":"rBVbaVWBnBRtTMrUKZxm",modal:"gfM_DIJrVbRhmKdAphIm","jetpack-logo":"zfJfONxRAw0fHjXUS7LN",animating:"pnwbCuWbV0PNQr1LFpRh",button:"_j4GWTmW5psCHFYh6R0x",headline:"saSAjv8yulVXQDoqDJEI",paragraph:"O_hcdbeMivIhBn7ApDnS","jetpack-logo-triangles":"FCnyb_xCK7DhJ63p6TEd","video-wrap":"Qn5xayjI_jH2m1d6BEoq",videoMove:"OmAVpCQ270MqI4IsT9Ky",slidein:"Axe8f2LgqEBZHVcsRgY5","content-wrap":"iBMDoShSmqpt72YfJb36","hi-user":"eQG1KKK8jjKtQyzfv573","content-wrap-text":"l35bIyiqYJiZ6tVYvJtC","powers-wrap":"HQVDZ6J3x6SJNYFX5khS","jetpack-products":"KdvmPIjelQIFiPQGuIYf"}},91853:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={"connection-container":"KQcQQLxH5fI08DfOlKwL"}},75631:()=>{"use strict"},58487:()=>{"use strict"},42911:()=>{"use strict"},69339:()=>{"use strict"},45811:()=>{"use strict"},82283:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={notice:"ptn8jt555LOvMXWaoLxs","notice--default":"IVzciZv5S5E8XgR5EsLp","notice--highlight":"OpbDsm3F65Z4K5Bz43cz","notice--warning":"dlrSwB0tyuf1TYcypDec","notice--error":"hkpqil8E11PObwu7TVU2",content:"AeqtA3GRe7sFjKaC9SqL",dismiss:"IArBTmNL2K4du5WPBUhg",actions:"T7E2eJJN4qjwPpv3mcjV"}},23761:()=>{"use strict"},45078:()=>{"use strict"},2097:()=>{"use strict"},78619:()=>{"use strict"},30664:()=>{"use strict"},73640:()=>{"use strict"},40088:()=>{"use strict"},15214:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={footer:"WJ5nPw0EHj7eoNZB06TW"}},47320:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={templates:"m9360_cMWKFHTNk9xpNz",template:"j4EvSJfKIJLGEIAETiEY","template--active":"dQb3Zpl0puk4V6ezZslo"}},89696:()=>{"use strict"},28161:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},87728:()=>{"use strict"},73171:e=>{var t=1e3,s=60*t,a=60*s,n=24*a,i=7*n,r=365.25*n;function o(e,t,s,a){var n=t>=1.5*s;return Math.round(e/s)+" "+a+(n?"s":"")}e.exports=function(e,c){c=c||{};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 c=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*r;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*n;case"hours":case"hour":case"hrs":case"hr":case"h":return c*a;case"minutes":case"minute":case"mins":case"min":case"m":return c*s;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var i=Math.abs(e);if(i>=n)return o(e,i,n,"day");if(i>=a)return o(e,i,a,"hour");if(i>=s)return o(e,i,s,"minute");if(i>=t)return o(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=n)return Math.round(e/n)+"d";if(i>=a)return Math.round(e/a)+"h";if(i>=s)return Math.round(e/s)+"m";if(i>=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))}},20070:(e,t,s)=>{var a=s(97676);e.exports=m,e.exports.parse=i,e.exports.compile=function(e,t){return o(i(e,t),t)},e.exports.tokensToFunction=o,e.exports.tokensToRegExp=u;var n=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var s,a=[],i=0,r=0,o="",p=t&&t.delimiter||"/";null!=(s=n.exec(e));){var d=s[0],u=s[1],m=s.index;if(o+=e.slice(r,m),r=m+d.length,u)o+=u[1];else{var h=e[r],g=s[2],k=s[3],f=s[4],v=s[5],E=s[6],w=s[7];o&&(a.push(o),o="");var _=null!=g&&null!=h&&h!==g,b="+"===E||"*"===E,y="?"===E||"*"===E,C=s[2]||p,j=f||v;a.push({name:k||i++,prefix:g||"",delimiter:C,optional:y,repeat:b,partial:_,asterisk:!!w,pattern:j?l(j):w?".*":"[^"+c(C)+"]+?"})}}return r<e.length&&(o+=e.substr(r)),o&&a.push(o),a}function r(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function o(e,t){for(var s=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(s[n]=new RegExp("^(?:"+e[n].pattern+")$",d(t)));return function(t,n){for(var i="",o=t||{},c=(n||{}).pretty?r:encodeURIComponent,l=0;l<e.length;l++){var p=e[l];if("string"!=typeof p){var d,u=o[p.name];if(null==u){if(p.optional){p.partial&&(i+=p.prefix);continue}throw new TypeError('Expected "'+p.name+'" to be defined')}if(a(u)){if(!p.repeat)throw new TypeError('Expected "'+p.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(p.optional)continue;throw new TypeError('Expected "'+p.name+'" to not be empty')}for(var m=0;m<u.length;m++){if(d=c(u[m]),!s[l].test(d))throw new TypeError('Expected all "'+p.name+'" to match "'+p.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===m?p.prefix:p.delimiter)+d}}else{if(d=p.asterisk?encodeURI(u).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(u),!s[l].test(d))throw new TypeError('Expected "'+p.name+'" to match "'+p.pattern+'", but received "'+d+'"');i+=p.prefix+d}}else i+=p}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function p(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function u(e,t,s){a(t)||(s=t||s,t=[]);for(var n=(s=s||{}).strict,i=!1!==s.end,r="",o=0;o<e.length;o++){var l=e[o];if("string"==typeof l)r+=c(l);else{var u=c(l.prefix),m="(?:"+l.pattern+")";t.push(l),l.repeat&&(m+="(?:"+u+m+")*"),r+=m=l.optional?l.partial?u+"("+m+")?":"(?:"+u+"("+m+"))?":u+"("+m+")"}}var h=c(s.delimiter||"/"),g=r.slice(-h.length)===h;return n||(r=(g?r.slice(0,-h.length):r)+"(?:"+h+"(?=$))?"),r+=i?"$":n&&g?"":"(?="+h+"|$)",p(new RegExp("^"+r,d(s)),t)}function m(e,t,s){return a(t)||(s=t||s,t=[]),s=s||{},e instanceof RegExp?function(e,t){var s=e.source.match(/\((?!\?)/g);if(s)for(var a=0;a<s.length;a++)t.push({name:a,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(e,t)}(e,t):a(e)?function(e,t,s){for(var a=[],n=0;n<e.length;n++)a.push(m(e[n],t,s).source);return p(new RegExp("(?:"+a.join("|")+")",d(s)),t)}(e,t,s):function(e,t,s){return u(i(e,s),t,s)}(e,t,s)}},469:(e,t,s)=>{"use strict";var a=s(90758);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,s,n,i,r){if(r!==a){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 s={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:i,resetWarningCache:n};return s.PropTypes=s,s}},25162:(e,t,s)=>{e.exports=s(469)()},90758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},47556:(e,t,s)=>{"use strict";var a=s(33713);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,s,n,i,r){if(r!==a){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 s={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:i,resetWarningCache:n};return s.PropTypes=s,s}},15844:(e,t,s)=>{e.exports=s(47556)()},33713:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8922:(e,t)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,n=s?Symbol.for("react.portal"):60106,i=s?Symbol.for("react.fragment"):60107,r=s?Symbol.for("react.strict_mode"):60108,o=s?Symbol.for("react.profiler"):60114,c=s?Symbol.for("react.provider"):60109,l=s?Symbol.for("react.context"):60110,p=s?Symbol.for("react.async_mode"):60111,d=s?Symbol.for("react.concurrent_mode"):60111,u=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,h=s?Symbol.for("react.suspense_list"):60120,g=s?Symbol.for("react.memo"):60115,k=s?Symbol.for("react.lazy"):60116,f=s?Symbol.for("react.block"):60121,v=s?Symbol.for("react.fundamental"):60117,E=s?Symbol.for("react.responder"):60118,w=s?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case d:case i:case o:case r:case m:return e;default:switch(e=e&&e.$$typeof){case l:case u:case k:case g:case c:return e;default:return t}}case n:return t}}}function b(e){return _(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=a,t.ForwardRef=u,t.Fragment=i,t.Lazy=k,t.Memo=g,t.Portal=n,t.Profiler=o,t.StrictMode=r,t.Suspense=m,t.isAsyncMode=function(e){return b(e)||_(e)===p},t.isConcurrentMode=b,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return _(e)===u},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===k},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===n},t.isProfiler=function(e){return _(e)===o},t.isStrictMode=function(e){return _(e)===r},t.isSuspense=function(e){return _(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===o||e===r||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===k||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===v||e.$$typeof===E||e.$$typeof===w||e.$$typeof===f)},t.typeOf=_},93801:(e,t,s)=>{"use strict";e.exports=s(8922)},4223:(e,t)=>{"use strict";var s=60103,a=60106,n=60107,i=60108,r=60114,o=60109,c=60110,l=60112,p=60113,d=60120,u=60115,m=60116,h=60121,g=60122,k=60117,f=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var E=Symbol.for;s=E("react.element"),a=E("react.portal"),n=E("react.fragment"),i=E("react.strict_mode"),r=E("react.profiler"),o=E("react.provider"),c=E("react.context"),l=E("react.forward_ref"),p=E("react.suspense"),d=E("react.suspense_list"),u=E("react.memo"),m=E("react.lazy"),h=E("react.block"),g=E("react.server.block"),k=E("react.fundamental"),f=E("react.debug_trace_mode"),v=E("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case n:case r:case i:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case m:case u:case o:return e;default:return t}}case a:return t}}}t.isContextConsumer=function(e){return w(e)===c}},51637:(e,t,s)=>{"use strict";e.exports=s(4223)},30373:(e,t,s)=>{"use strict";s.d(t,{E:()=>n});var a=s(99196),n=s.n(a)().createContext(null)},31290:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(99196),n=s.n(a),i=s(30373),r=s(95053),o=s(40999);const c=function(e){var t=e.store,s=e.context,c=e.children,l=(0,a.useMemo)((function(){var e=(0,r.X)(t);return{store:t,subscription:e}}),[t]),p=(0,a.useMemo)((function(){return t.getState()}),[t]);(0,o.L)((function(){var e=l.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),p!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,p]);var d=s||i.E;return n().createElement(d.Provider,{value:l},c)}},35642:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(80255),n=s(37921),i=s(57692),r=s.n(i),o=s(99196),c=s.n(o),l=s(51637),p=s(95053),d=s(40999),u=s(30373),m=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],k=[null,null];function f(e,t){var s=e[1];return[t.payload,s+1]}function v(e,t,s){(0,d.L)((function(){return e.apply(void 0,t)}),s)}function E(e,t,s,a,n,i,r){e.current=a,t.current=n,s.current=!1,i.current&&(i.current=null,r())}function w(e,t,s,a,n,i,r,o,c,l){if(e){var p=!1,d=null,u=function(){if(!p){var e,s,u=t.getState();try{e=a(u,n.current)}catch(e){s=e,d=e}s||(d=null),e===i.current?r.current||c():(i.current=e,o.current=e,r.current=!0,l({type:"STORE_UPDATED",payload:{error:s}}))}};s.onStateChange=u,s.trySubscribe(),u();return function(){if(p=!0,s.tryUnsubscribe(),s.onStateChange=null,d)throw d}}}var _=function(){return[null,0]};function b(e,t){void 0===t&&(t={});var s=t,i=s.getDisplayName,d=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,b=s.methodName,y=void 0===b?"connectAdvanced":b,C=s.renderCountProp,j=void 0===C?void 0:C,S=s.shouldHandleStateChanges,N=void 0===S||S,x=s.storeKey,T=void 0===x?"store":x,A=(s.withRef,s.forwardRef),M=void 0!==A&&A,P=s.context,Z=void 0===P?u.E:P,O=(0,n.Z)(s,m),R=Z;return function(t){var s=t.displayName||t.name||"Component",i=d(s),u=(0,a.Z)({},O,{getDisplayName:d,methodName:y,renderCountProp:j,shouldHandleStateChanges:N,storeKey:T,displayName:i,wrappedComponentName:s,WrappedComponent:t}),m=O.pure;var b=m?o.useMemo:function(e){return e()};function C(s){var i=(0,o.useMemo)((function(){var e=s.reactReduxForwardedRef,t=(0,n.Z)(s,h);return[s.context,e,t]}),[s]),r=i[0],d=i[1],m=i[2],y=(0,o.useMemo)((function(){return r&&r.Consumer&&(0,l.isContextConsumer)(c().createElement(r.Consumer,null))?r:R}),[r,R]),C=(0,o.useContext)(y),j=Boolean(s.store)&&Boolean(s.store.getState)&&Boolean(s.store.dispatch);Boolean(C)&&Boolean(C.store);var S=j?s.store:C.store,x=(0,o.useMemo)((function(){return function(t){return e(t.dispatch,u)}(S)}),[S]),T=(0,o.useMemo)((function(){if(!N)return k;var e=(0,p.X)(S,j?null:C.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[S,j,C]),A=T[0],M=T[1],P=(0,o.useMemo)((function(){return j?C:(0,a.Z)({},C,{subscription:A})}),[j,C,A]),Z=(0,o.useReducer)(f,g,_),O=Z[0][0],L=Z[1];if(O&&O.error)throw O.error;var z=(0,o.useRef)(),I=(0,o.useRef)(m),U=(0,o.useRef)(),D=(0,o.useRef)(!1),V=b((function(){return U.current&&m===I.current?U.current:x(S.getState(),m)}),[S,O,m]);v(E,[I,z,D,m,V,U,M]),v(w,[N,S,A,x,I,z,D,U,M,L],[S,A,x]);var B=(0,o.useMemo)((function(){return c().createElement(t,(0,a.Z)({},V,{ref:d}))}),[d,t,V]);return(0,o.useMemo)((function(){return N?c().createElement(y.Provider,{value:P},B):B}),[y,B,P])}var S=m?c().memo(C):C;if(S.WrappedComponent=t,S.displayName=C.displayName=i,M){var x=c().forwardRef((function(e,t){return c().createElement(S,(0,a.Z)({},e,{reactReduxForwardedRef:t}))}));return x.displayName=i,x.WrappedComponent=t,r()(x,t)}return r()(S,t)}}},51479:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(80255),n=s(37921),i=s(35642),r=s(38588),o=s(72320),c=s(22004),l=s(24769),p=s(98164),d=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function u(e,t,s){for(var a=t.length-1;a>=0;a--){var n=t[a](e);if(n)return n}return function(t,a){throw new Error("Invalid value of type "+typeof e+" for "+s+" argument when connecting component "+a.wrappedComponentName+".")}}function m(e,t){return e===t}function h(e){var t=void 0===e?{}:e,s=t.connectHOC,h=void 0===s?i.Z:s,g=t.mapStateToPropsFactories,k=void 0===g?c.ZP:g,f=t.mapDispatchToPropsFactories,v=void 0===f?o.ZP:f,E=t.mergePropsFactories,w=void 0===E?l.ZP:E,_=t.selectorFactory,b=void 0===_?p.ZP:_;return function(e,t,s,i){void 0===i&&(i={});var o=i,c=o.pure,l=void 0===c||c,p=o.areStatesEqual,g=void 0===p?m:p,f=o.areOwnPropsEqual,E=void 0===f?r.Z:f,_=o.areStatePropsEqual,y=void 0===_?r.Z:_,C=o.areMergedPropsEqual,j=void 0===C?r.Z:C,S=(0,n.Z)(o,d),N=u(e,k,"mapStateToProps"),x=u(t,v,"mapDispatchToProps"),T=u(s,w,"mergeProps");return h(b,(0,a.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:N,initMapDispatchToProps:x,initMergeProps:T,pure:l,areStatesEqual:g,areOwnPropsEqual:E,areStatePropsEqual:y,areMergedPropsEqual:j},S))}}const g=h()},72320:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>i});var a=s(57059),n=s(70278);const i=[function(e){return"function"==typeof e?(0,n.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,n.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,n.dX)((function(t){return(0,a.Z)(e,t)})):void 0}]},22004:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>n});var a=s(70278);const n=[function(e){return"function"==typeof e?(0,a.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,a.dX)((function(){return{}}))}]},24769:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>i});var a=s(80255);function n(e,t,s){return(0,a.Z)({},s,e,t)}const i=[function(e){return"function"==typeof e?function(e){return function(t,s){s.displayName;var a,n=s.pure,i=s.areMergedPropsEqual,r=!1;return function(t,s,o){var c=e(t,s,o);return r?n&&i(c,a)||(a=c):(r=!0,a=c),a}}}(e):void 0},function(e){return e?void 0:function(){return n}}]},98164:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>o});var a=s(37921),n=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(e,t,s,a){return function(n,i){return s(e(n,i),t(a,i),i)}}function r(e,t,s,a,n){var i,r,o,c,l,p=n.areStatesEqual,d=n.areOwnPropsEqual,u=n.areStatePropsEqual,m=!1;function h(n,m){var h,g,k=!d(m,r),f=!p(n,i);return i=n,r=m,k&&f?(o=e(i,r),t.dependsOnOwnProps&&(c=t(a,r)),l=s(o,c,r)):k?(e.dependsOnOwnProps&&(o=e(i,r)),t.dependsOnOwnProps&&(c=t(a,r)),l=s(o,c,r)):f?(h=e(i,r),g=!u(h,o),o=h,g&&(l=s(o,c,r)),l):l}return function(n,p){return m?h(n,p):(o=e(i=n,r=p),c=t(a,r),l=s(o,c,r),m=!0,l)}}function o(e,t){var s=t.initMapStateToProps,o=t.initMapDispatchToProps,c=t.initMergeProps,l=(0,a.Z)(t,n),p=s(e,l),d=o(e,l),u=c(e,l);return(l.pure?r:i)(p,d,u,e,l)}},70278:(e,t,s)=>{"use strict";function a(e){return function(t,s){var a=e(t,s);function n(){return a}return n.dependsOnOwnProps=!1,n}}function n(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,s){s.displayName;var a=function(e,t){return a.dependsOnOwnProps?a.mapToProps(e,t):a.mapToProps(e)};return a.dependsOnOwnProps=!0,a.mapToProps=function(t,s){a.mapToProps=e,a.dependsOnOwnProps=n(e);var i=a(t,s);return"function"==typeof i&&(a.mapToProps=i,a.dependsOnOwnProps=n(i),i=a(t,s)),i},a}}s.d(t,{dX:()=>a,xv:()=>i})},91654:(e,t,s)=>{"use strict";s.d(t,{$j:()=>n.Z,zt:()=>a.Z});var a=s(31290),n=(s(35642),s(30373),s(51479));s(87518),s(68882),s(46271)},87518:(e,t,s)=>{"use strict";s(30373),s(46271)},82830:(e,t,s)=>{"use strict";s(99196),s(30373)},68882:(e,t,s)=>{"use strict";s(99196),s(82830),s(95053),s(40999),s(30373)},46271:(e,t,s)=>{"use strict";s(99196),s(30373),s(82830)},59309:(e,t,s)=>{"use strict";s.d(t,{$j:()=>a.$j,zt:()=>a.zt});var a=s(91654),n=s(79523);(0,s(72935).F)(n.m)},95053:(e,t,s)=>{"use strict";s.d(t,{X:()=>i});var a=s(72935);var n={notify:function(){},get:function(){return[]}};function i(e,t){var s,i=n;function r(){c.onStateChange&&c.onStateChange()}function o(){var n,o,c;s||(s=t?t.addNestedSub(r):e.subscribe(r),n=(0,a.k)(),o=null,c=null,i={clear:function(){o=null,c=null},notify:function(){n((function(){for(var e=o;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=o;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,s=c={callback:e,next:null,prev:c};return s.prev?s.prev.next=s:o=s,function(){t&&null!==o&&(t=!1,s.next?s.next.prev=s.prev:c=s.prev,s.prev?s.prev.next=s.next:o=s.next)}}})}var c={addNestedSub:function(e){return o(),i.subscribe(e)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:r,isSubscribed:function(){return Boolean(s)},trySubscribe:o,tryUnsubscribe:function(){s&&(s(),s=void 0,i.clear(),i=n)},getListeners:function(){return i}};return c}},72935:(e,t,s)=>{"use strict";s.d(t,{F:()=>n,k:()=>i});var a=function(e){e()},n=function(e){return a=e},i=function(){return a}},57059:(e,t,s)=>{"use strict";function a(e,t){var s={},a=function(a){var n=e[a];"function"==typeof n&&(s[a]=function(){return t(n.apply(void 0,arguments))})};for(var n in e)a(n);return s}s.d(t,{Z:()=>a})},79523:(e,t,s)=>{"use strict";s.d(t,{m:()=>a.unstable_batchedUpdates});var a=s(91850)},38588:(e,t,s)=>{"use strict";function a(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function n(e,t){if(a(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var s=Object.keys(e),n=Object.keys(t);if(s.length!==n.length)return!1;for(var i=0;i<s.length;i++)if(!Object.prototype.hasOwnProperty.call(t,s[i])||!a(e[s[i]],t[s[i]]))return!1;return!0}s.d(t,{Z:()=>n})},40999:(e,t,s)=>{"use strict";s.d(t,{L:()=>n});var a=s(99196),n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect},27453:(e,t,s)=>{"use strict";s.d(t,{UT:()=>d});var a=s(44498),n=s(41806),i=s(99196),r=s.n(i),o=s(92511),c=s(80255),l=s(37921),p=s(94262);r().Component;var d=function(e){function t(){for(var t,s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];return(t=e.call.apply(e,[this].concat(a))||this).history=(0,o.q_)(t.props),t}return(0,n.Z)(t,e),t.prototype.render=function(){return r().createElement(a.F0,{history:this.history,children:this.props.children})},t}(r().Component);var u=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?(0,o.ob)(e,null,null,t):e},h=function(e){return e},g=r().forwardRef;void 0===g&&(g=h);var k=g((function(e,t){var s=e.innerRef,a=e.navigate,n=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),o=i.target,p=(0,c.Z)({},i,{onClick:function(e){try{n&&n(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||o&&"_self"!==o||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),a())}});return p.ref=h!==g&&t||s,r().createElement("a",p)}));var f=g((function(e,t){var s=e.component,n=void 0===s?k:s,i=e.replace,d=e.to,f=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return r().createElement(a.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var s=e.history,a=m(u(d,e.location),e.location),l=a?s.createHref(a):"",k=(0,c.Z)({},v,{href:l,navigate:function(){var t=u(d,e.location),a=(0,o.Ep)(e.location)===(0,o.Ep)(m(t));(i||a?s.replace:s.push)(t)}});return h!==g?k.ref=t||f:k.innerRef=f,r().createElement(n,k)}))})),v=function(e){return e},E=r().forwardRef;void 0===E&&(E=v);E((function(e,t){var s=e["aria-current"],n=void 0===s?"page":s,i=e.activeClassName,o=void 0===i?"active":i,d=e.activeStyle,h=e.className,g=e.exact,k=e.isActive,w=e.location,_=e.sensitive,b=e.strict,y=e.style,C=e.to,j=e.innerRef,S=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return r().createElement(a.s6.Consumer,null,(function(e){e||(0,p.Z)(!1);var s=w||e.location,i=m(u(C,s),s),l=i.pathname,N=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=N?(0,a.LX)(s.pathname,{path:N,exact:g,sensitive:_,strict:b}):null,T=!!(k?k(x,s):x),A="function"==typeof h?h(T):h,M="function"==typeof y?y(T):y;T&&(A=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter((function(e){return e})).join(" ")}(A,o),M=(0,c.Z)({},M,d));var P=(0,c.Z)({"aria-current":T&&n||null,className:A,style:M,to:i},S);return v!==E?P.ref=t||j:P.innerRef=j,r().createElement(f,P)}))}))},44498:(e,t,s)=>{"use strict";s.d(t,{AW:()=>O,EN:()=>V,F0:()=>b,LX:()=>Z,NL:()=>C,l_:()=>T,rs:()=>D,s6:()=>_});var a=s(41806),n=s(99196),i=s.n(n),r=s(15844),o=s.n(r),c=s(92511),l=s(94262),p=s(80255),d=s(20070),u=s.n(d),m=(s(93801),s(37921)),h=s(57692),g=s.n(h),k=1073741823,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window||"undefined"!=typeof window?window:{};var v=i().createContext||function(e,t){var s,n,r="__create-react-context-"+function(){var e="__global_unique_id__";return f[e]=(f[e]||0)+1}()+"__",c=function(e){function s(){for(var t,s,a,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).emitter=(s=t.props.value,a=[],{on:function(e){a.push(e)},off:function(e){a=a.filter((function(t){return t!==e}))},get:function(){return s},set:function(e,t){s=e,a.forEach((function(e){return e(s,t)}))}}),t}(0,a.Z)(s,e);var n=s.prototype;return n.getChildContext=function(){var e;return(e={})[r]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var s,a=this.props.value,n=e.value;((i=a)===(r=n)?0!==i||1/i==1/r:i!=i&&r!=r)?s=0:(s="function"==typeof t?t(a,n):k,0!==(s|=0)&&this.emitter.set(e.value,s))}var i,r},n.render=function(){return this.props.children},s}(i().Component);c.childContextTypes=((s={})[r]=o().object.isRequired,s);var l=function(t){function s(){for(var e,s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];return(e=t.call.apply(t,[this].concat(a))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,s){0!=((0|e.observedBits)&s)&&e.setState({value:e.getValue()})},e}(0,a.Z)(s,t);var n=s.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?k:t},n.componentDidMount=function(){this.context[r]&&this.context[r].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?k:e},n.componentWillUnmount=function(){this.context[r]&&this.context[r].off(this.onUpdate)},n.getValue=function(){return this.context[r]?this.context[r].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},s}(i().Component);return l.contextTypes=((n={})[r]=o().object,n),{Provider:c,Consumer:l}},E=function(e){var t=v();return t.displayName=e,t},w=E("Router-History"),_=E("Router"),b=function(e){function t(t){var s;return(s=e.call(this,t)||this).state={location:t.history.location},s._isMounted=!1,s._pendingLocation=null,t.staticContext||(s.unlisten=t.history.listen((function(e){s._pendingLocation=e}))),s}(0,a.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var s=t.prototype;return s.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},s.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},s.render=function(){return i().createElement(_.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);i().Component;var y=function(e){function t(){return e.apply(this,arguments)||this}(0,a.Z)(t,e);var s=t.prototype;return s.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},s.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},s.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},s.render=function(){return null},t}(i().Component);function C(e){var t=e.message,s=e.when,a=void 0===s||s;return i().createElement(_.Consumer,null,(function(e){if(e||(0,l.Z)(!1),!a||e.staticContext)return null;var s=e.history.block;return i().createElement(y,{onMount:function(e){e.release=s(t)},onUpdate:function(e,a){a.message!==t&&(e.release(),e.release=s(t))},onUnmount:function(e){e.release()},message:t})}))}var j={},S=1e4,N=0;function x(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(j[e])return j[e];var t=u().compile(e);return N<S&&(j[e]=t,N++),t}(e)(t,{pretty:!0})}function T(e){var t=e.computedMatch,s=e.to,a=e.push,n=void 0!==a&&a;return i().createElement(_.Consumer,null,(function(e){e||(0,l.Z)(!1);var a=e.history,r=e.staticContext,o=n?a.push:a.replace,d=(0,c.ob)(t?"string"==typeof s?x(s,t.params):(0,p.Z)({},s,{pathname:x(s.pathname,t.params)}):s);return r?(o(d),null):i().createElement(y,{onMount:function(){o(d)},onUpdate:function(e,t){var s=(0,c.ob)(t.to);(0,c.Hp)(s,(0,p.Z)({},d,{key:s.key}))||o(d)},to:s})}))}var A={},M=1e4,P=0;function Z(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var s=t,a=s.path,n=s.exact,i=void 0!==n&&n,r=s.strict,o=void 0!==r&&r,c=s.sensitive,l=void 0!==c&&c;return[].concat(a).reduce((function(t,s){if(!s&&""!==s)return null;if(t)return t;var a=function(e,t){var s=""+t.end+t.strict+t.sensitive,a=A[s]||(A[s]={});if(a[e])return a[e];var n=[],i={regexp:u()(e,n,t),keys:n};return P<M&&(a[e]=i,P++),i}(s,{end:i,strict:o,sensitive:l}),n=a.regexp,r=a.keys,c=n.exec(e);if(!c)return null;var p=c[0],d=c.slice(1),m=e===p;return i&&!m?null:{path:s,url:"/"===s&&""===p?"/":p,isExact:m,params:r.reduce((function(e,t,s){return e[t.name]=d[s],e}),{})}}),null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(_.Consumer,null,(function(t){t||(0,l.Z)(!1);var s=e.props.location||t.location,a=e.props.computedMatch?e.props.computedMatch:e.props.path?Z(s.pathname,e.props):t.match,n=(0,p.Z)({},t,{location:s,match:a}),r=e.props,o=r.children,c=r.component,d=r.render;return Array.isArray(o)&&function(e){return 0===i().Children.count(e)}(o)&&(o=null),i().createElement(_.Provider,{value:n},n.match?o?"function"==typeof o?o(n):o:c?i().createElement(c,n):d?d(n):null:"function"==typeof o?o(n):null)}))},t}(i().Component);function R(e){return"/"===e.charAt(0)?e:"/"+e}function L(e,t){if(!e)return t;var s=R(e);return 0!==t.pathname.indexOf(s)?t:(0,p.Z)({},t,{pathname:t.pathname.substr(s.length)})}function z(e){return"string"==typeof e?e:(0,c.Ep)(e)}function I(e){return function(){(0,l.Z)(!1)}}function U(){}i().Component;var D=function(e){function t(){return e.apply(this,arguments)||this}return(0,a.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(_.Consumer,null,(function(t){t||(0,l.Z)(!1);var s,a,n=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==a&&i().isValidElement(e)){s=e;var r=e.props.path||e.props.from;a=r?Z(n.pathname,(0,p.Z)({},e.props,{path:r})):t.match}})),a?i().cloneElement(s,{location:n,computedMatch:a}):null}))},t}(i().Component);function V(e){var t="withRouter("+(e.displayName||e.name)+")",s=function(t){var s=t.wrappedComponentRef,a=(0,m.Z)(t,["wrappedComponentRef"]);return i().createElement(_.Consumer,null,(function(t){return t||(0,l.Z)(!1),i().createElement(e,(0,p.Z)({},a,t,{ref:s}))}))};return s.displayName=t,s.WrappedComponent=e,g()(s,e)}i().useContext},24561:(e,t,s)=>{"use strict";var a=s(99196),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,s){var a,i={},l=null,p=null;for(a in void 0!==s&&(l=""+s),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(p=t.ref),t)r.call(t,a)&&!c.hasOwnProperty(a)&&(i[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===i[a]&&(i[a]=t[a]);return{$$typeof:n,type:e,key:l,ref:p,props:i,_owner:o.current}}t.jsx=l,t.jsxs=l},30275:(e,t,s)=>{"use strict";e.exports=s(24561)},75385:(e,t,s)=>{"use strict";function a(e){return function(t){var s=t.dispatch,a=t.getState;return function(t){return function(n){return"function"==typeof n?n(s,a,e):t(n)}}}}s.d(t,{Z:()=>i});var n=a();n.withExtraArgument=a;const i=n},835:(e,t,s)=>{"use strict";s.d(t,{DE:()=>d,MT:()=>o,UY:()=>l,md:()=>g,qC:()=>h});var a=s(407),n=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+n(),REPLACE:"@@redux/REPLACE"+n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+n()}};function r(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,s){var n;if("function"==typeof t&&"function"==typeof s||"function"==typeof s&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===s&&(s=t,t=void 0),void 0!==s){if("function"!=typeof s)throw new Error("Expected the enhancer to be a function.");return s(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,l=t,p=[],d=p,u=!1;function m(){d===p&&(d=p.slice())}function h(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function g(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return m(),d.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,m();var s=d.indexOf(e);d.splice(s,1),p=null}}}function k(e){if(!r(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,l=c(l,e)}finally{u=!1}for(var t=p=d,s=0;s<t.length;s++){(0,t[s])()}return e}return k({type:i.INIT}),(n={dispatch:k,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,k({type:i.REPLACE})}})[a.Z]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function s(){e.next&&e.next(h())}return s(),{unsubscribe:t(s)}}})[a.Z]=function(){return this},e},n}function c(e,t){var s=t&&t.type;return"Given "+(s&&'action "'+String(s)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(e){for(var t=Object.keys(e),s={},a=0;a<t.length;a++){var n=t[a];0,"function"==typeof e[n]&&(s[n]=e[n])}var r,o=Object.keys(s);try{!function(e){Object.keys(e).forEach((function(t){var s=e[t];if(void 0===s(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===s(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(s)}catch(e){r=e}return function(e,t){if(void 0===e&&(e={}),r)throw r;for(var a=!1,n={},i=0;i<o.length;i++){var l=o[i],p=s[l],d=e[l],u=p(d,t);if(void 0===u){var m=c(l,t);throw new Error(m)}n[l]=u,a=a||u!==d}return(a=a||o.length!==Object.keys(e).length)?n:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var s={};for(var a in e){var n=e[a];"function"==typeof n&&(s[a]=p(n,t))}return s}function u(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function m(e,t){var s=Object.keys(e);return Object.getOwnPropertySymbols&&s.push.apply(s,Object.getOwnPropertySymbols(e)),t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s}function h(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return function(e){return function(){var s=e.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},n={getState:s.getState,dispatch:function(){return a.apply(void 0,arguments)}},i=t.map((function(e){return e(n)}));return function(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?m(s,!0).forEach((function(t){u(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):m(s).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}({},s,{dispatch:a=h.apply(void 0,i)(s.dispatch)})}}}},4456:(e,t,s)=>{"use strict";function a(e){return"/"===e.charAt(0)}function n(e,t){for(var s=t,a=s+1,n=e.length;a<n;s+=1,a+=1)e[s]=e[a];e.pop()}s.d(t,{Z:()=>i});const i=function(e,t){void 0===t&&(t="");var s,i=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&a(e),c=t&&a(t),l=o||c;if(e&&a(e)?r=i:i.length&&(r.pop(),r=r.concat(i)),!r.length)return"/";if(r.length){var p=r[r.length-1];s="."===p||".."===p||""===p}else s=!1;for(var d=0,u=r.length;u>=0;u--){var m=r[u];"."===m?n(r,u):".."===m?(n(r,u),d++):d&&(n(r,u),d--)}if(!l)for(;d--;d)r.unshift("..");!l||""===r[0]||r[0]&&a(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h}},92659:(e,t,s)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.Z=void 0;var n,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var s=c(t);if(s&&s.has(e))return s.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!=r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,s&&s.set(e,n),n}(s(99196)),r=(n=s(15844))&&n.__esModule?n:{default:n},o=["size","onClick","icon","className"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(c=function(e){return e?s:t})(e)}function l(){return l=Object.assign||function(e){for(var t,s=1;s<arguments.length;s++)for(var a in t=arguments[s])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)}function p(e,t){if(null==e)return{};var s,a,n=function(e,t){if(null==e)return{};var s,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)s=i[a],0<=t.indexOf(s)||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)s=i[a],0<=t.indexOf(s)||Object.prototype.propertyIsEnumerable.call(e,s)&&(n[s]=e[s])}return n}function d(e,t){for(var s,a=0;a<t.length;a++)(s=t[a]).enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var s,n=h(e);if(t){var i=h(this).constructor;s=Reflect.construct(n,arguments,i)}else s=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,s)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e);var s=m(t);return function(e,t,s){t&&d(e.prototype,t),s&&d(e,s)}(t,[{key:"render",value:function(){var e,t=this.props,s=t.size,a=t.onClick,n=t.icon,r=t.className,c=p(t,o),d=["social-logo","social-logo-"+n,r].filter(Boolean).join(" ");switch(n){default:e=i.default.createElement("svg",l({height:s,width:s},c));break;case"amazon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"codepen":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("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.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})));break;case"fediverse":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 743 743",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M181.131 275.137a68.894 68.894 0 01-29.465 29.328l161.758 162.389 38.998-19.764-171.291-171.953zm213.363 214.187l-38.998 19.764 81.963 82.283a68.895 68.895 0 0129.471-29.332l-72.436-72.715zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.896 68.896 0 01-18.792-37.086zm-144.738 73.351L220.383 522.477a68.895 68.895 0 0118.795 37.089L443.66 455.934l-6.752-43.192zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.899 68.899 0 01-36.991-18.98zM235.621 399.459l-52.922 103.314a68.896 68.896 0 0136.987 18.979l46.781-91.328-30.846-30.965zM150.768 304.918a68.888 68.888 0 01-34.416 7.195 68.979 68.979 0 01-6.651-.695l30.903 197.662a68.883 68.883 0 0134.416-7.195 68.91 68.91 0 016.646.695l-30.898-197.662zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.902 68.902 0 01-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.892 68.892 0 017.27-27.178l-197.629-31.713zM601.133 377.199l-91.219 178.082a68.895 68.895 0 0136.994 18.983l91.217-178.08a68.895 68.895 0 01-36.992-18.985zM476.723 125.33a68.895 68.895 0 01-29.471 29.332l141.266 141.811a68.889 68.889 0 0129.468-29.332L476.723 125.33zM347.787 104.631l-178.576 90.498a68.897 68.897 0 0118.793 37.086l178.574-90.502a68.896 68.896 0 01-18.791-37.082zM446.926 154.826a68.902 68.902 0 01-34.983 7.483 69.274 69.274 0 01-6.029-.633l15.818 101.291 43.163 6.926-17.969-115.067zm-16 167.028l37.4 239.482a68.895 68.895 0 0133.914-6.943c2.415.137 4.82.401 7.207.791L474.09 328.777l-43.164-6.923zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.91 68.91 0 01-7.16 26.983l101.369 16.281 19.923-38.908-114.89-18.451zm173.736 27.9l-19.926 38.912 239.514 38.467a68.897 68.897 0 01-.695-13.719 68.893 68.893 0 017.349-27.324l-226.242-36.336z"}),i.default.createElement("path",{d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.882-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943zM646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131 1.882-34.538-24.592-64.061-59.13-65.943-34.538-1.881-64.062 24.593-65.943 59.131-1.882 34.538 24.592 64.061 59.13 65.943zM495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.13-65.943-34.538-1.882-64.062 24.592-65.943 59.13-1.882 34.538 24.592 64.062 59.13 65.943zM167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13 1.882-34.538-24.592-64.062-59.13-65.943-34.538-1.881-64.062 24.592-65.943 59.13-1.881 34.538 24.592 64.062 59.13 65.943zM116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.881-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943z",fillOpacity:".996"})));break;case"feed":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"})));break;case"ghost":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"})));break;case"google-plus-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("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"})));break;case"instagram":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"link":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"})));break;case"linkedin":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})));break;case"mail":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"mastodon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4.359 4.359 0 01-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921h-.058zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922.53.609.794 1.434.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012c0-1.035.263-1.86.793-2.469.547-.609 1.263-.922 2.15-.922z"})));break;case"medium-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"nextdoor":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{strokeMiterlimit:"10",viewBox:"0 0 130 130",xmlns:"http://www.w3.org/2000/svg",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75 33.799 3.064 63.685-21.857 66.75-55.657 3.064-33.8-21.857-63.686-55.657-66.75a62.075 62.075 0 00-6.281-.25zm3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 01-1.25-1.25V63.375c0-5.58-4.309-11.938-11.469-11.938-7.47 0-11.468 6.358-11.468 11.938V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718z"})));break;case"patreon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"})));break;case"pinterest-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})));break;case"pinterest":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"})));break;case"pocket":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"})));break;case"print":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"})));break;case"share":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"})));break;case"spotify":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"threads":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{class:"x19hqcy",d:"M141.537 88.988a66.667 66.667 0 00-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553zM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274z"})));break;case"tiktok-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 11-3.802-3.802h.533v2.082a1.73 1.73 0 00-1.922.648 1.727 1.727 0 001.947 2.646 1.73 1.73 0 001.19-1.642L12.53 6z"})));break;case"tiktok":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"})));break;case"tumblr":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"})));break;case"twitch":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"})));break;case"woocommerce":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"x":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M13.982 10.622L20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378zm-2.128 2.474l-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787z"})));break;case"xanga":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(i.PureComponent);t.Z=k,g(k,"defaultProps",{size:24}),g(k,"propTypes",{icon:r.default.string.isRequired,size:r.default.number,onClick:r.default.func,className:r.default.string})},39897:(e,t,s)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.Z=void 0;var n,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var s=c(t);if(s&&s.has(e))return s.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!=r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,s&&s.set(e,n),n}(s(99196)),r=(n=s(15844))&&n.__esModule?n:{default:n},o=["size","onClick","icon","className"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(c=function(e){return e?s:t})(e)}function l(){return l=Object.assign||function(e){for(var t,s=1;s<arguments.length;s++)for(var a in t=arguments[s])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)}function p(e,t){if(null==e)return{};var s,a,n=function(e,t){if(null==e)return{};var s,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)s=i[a],0<=t.indexOf(s)||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)s=i[a],0<=t.indexOf(s)||Object.prototype.propertyIsEnumerable.call(e,s)&&(n[s]=e[s])}return n}function d(e,t){for(var s,a=0;a<t.length;a++)(s=t[a]).enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var s,n=h(e);if(t){var i=h(this).constructor;s=Reflect.construct(n,arguments,i)}else s=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,s)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e);var s=m(t);return function(e,t,s){t&&d(e.prototype,t),s&&d(e,s)}(t,[{key:"render",value:function(){var e,t=this.props,s=t.size,a=t.onClick,n=t.icon,r=t.className,c=p(t,o),d=["social-logo","social-logo-"+n,r].filter(Boolean).join(" ");switch(n){default:e=i.default.createElement("svg",l({height:s,width:s},c));break;case"amazon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"})));break;case"behance":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"})));break;case"blogger-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"})));break;case"blogger":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"})));break;case"bluesky":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1-.6.3-.7 1.3-.7 1.8s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8z"})));break;case"codepen":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"})));break;case"dribbble":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"})));break;case"dropbox":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"})));break;case"eventbrite":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z",fillRule:"evenodd",clipRule:"evenodd"})));break;case"facebook":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("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.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})));break;case"fediverse":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 743 743",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M181.131 275.137a68.894 68.894 0 01-29.465 29.328l161.758 162.389 38.998-19.764-171.291-171.953zm213.363 214.187l-38.998 19.764 81.963 82.283a68.895 68.895 0 0129.471-29.332l-72.436-72.715zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.896 68.896 0 01-18.792-37.086zm-144.738 73.351L220.383 522.477a68.895 68.895 0 0118.795 37.089L443.66 455.934l-6.752-43.192zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.899 68.899 0 01-36.991-18.98zM235.621 399.459l-52.922 103.314a68.896 68.896 0 0136.987 18.979l46.781-91.328-30.846-30.965zM150.768 304.918a68.888 68.888 0 01-34.416 7.195 68.979 68.979 0 01-6.651-.695l30.903 197.662a68.883 68.883 0 0134.416-7.195 68.91 68.91 0 016.646.695l-30.898-197.662zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.902 68.902 0 01-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.892 68.892 0 017.27-27.178l-197.629-31.713zM601.133 377.199l-91.219 178.082a68.895 68.895 0 0136.994 18.983l91.217-178.08a68.895 68.895 0 01-36.992-18.985zM476.723 125.33a68.895 68.895 0 01-29.471 29.332l141.266 141.811a68.889 68.889 0 0129.468-29.332L476.723 125.33zM347.787 104.631l-178.576 90.498a68.897 68.897 0 0118.793 37.086l178.574-90.502a68.896 68.896 0 01-18.791-37.082zM446.926 154.826a68.902 68.902 0 01-34.983 7.483 69.274 69.274 0 01-6.029-.633l15.818 101.291 43.163 6.926-17.969-115.067zm-16 167.028l37.4 239.482a68.895 68.895 0 0133.914-6.943c2.415.137 4.82.401 7.207.791L474.09 328.777l-43.164-6.923zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.91 68.91 0 01-7.16 26.983l101.369 16.281 19.923-38.908-114.89-18.451zm173.736 27.9l-19.926 38.912 239.514 38.467a68.897 68.897 0 01-.695-13.719 68.893 68.893 0 017.349-27.324l-226.242-36.336z"}),i.default.createElement("path",{d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.882-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943zM646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131 1.882-34.538-24.592-64.061-59.13-65.943-34.538-1.881-64.062 24.593-65.943 59.131-1.882 34.538 24.592 64.061 59.13 65.943zM495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.13-65.943-34.538-1.882-64.062 24.592-65.943 59.13-1.882 34.538 24.592 64.062 59.13 65.943zM167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13 1.882-34.538-24.592-64.062-59.13-65.943-34.538-1.881-64.062 24.592-65.943 59.13-1.881 34.538 24.592 64.062 59.13 65.943zM116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13 1.881-34.538-24.592-64.062-59.131-65.943-34.538-1.881-64.061 24.592-65.943 59.13-1.881 34.538 24.593 64.062 59.131 65.943z",fillOpacity:".996"})));break;case"feed":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"})));break;case"flickr":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})));break;case"foursquare":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"})));break;case"ghost":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"})));break;case"github":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"})));break;case"google-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"})));break;case"google-plus-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})));break;case"google-plus":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"})));break;case"google":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("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"})));break;case"instagram":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"})));break;case"link":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"})));break;case"linkedin":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})));break;case"mail":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"mastodon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4.359 4.359 0 01-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921h-.058zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922.53.609.794 1.434.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012c0-1.035.263-1.86.793-2.469.547-.609 1.263-.922 2.15-.922z"})));break;case"medium-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z",fillRule:"nonzero"})));break;case"medium":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"})));break;case"nextdoor":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{strokeMiterlimit:"10",viewBox:"0 0 130 130",xmlns:"http://www.w3.org/2000/svg",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75 33.799 3.064 63.685-21.857 66.75-55.657 3.064-33.8-21.857-63.686-55.657-66.75a62.075 62.075 0 00-6.281-.25zm3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 01-1.25-1.25V63.375c0-5.58-4.309-11.938-11.469-11.938-7.47 0-11.468 6.358-11.468 11.938V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718z"})));break;case"patreon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273z"})));break;case"pinterest-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})));break;case"pinterest":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"})));break;case"pocket":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"})));break;case"polldaddy":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"})));break;case"print":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"})));break;case"reddit":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"})));break;case"share":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"})));break;case"skype":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"})));break;case"spotify":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"})));break;case"squarespace":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"})));break;case"stumbleupon":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"})));break;case"telegram":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"})));break;case"threads":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{class:"x19hqcy",d:"M141.537 88.988a66.667 66.667 0 00-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553zM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274z"})));break;case"tiktok-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 11-3.802-3.802h.533v2.082a1.73 1.73 0 00-1.922.648 1.727 1.727 0 001.947 2.646 1.73 1.73 0 001.19-1.642L12.53 6z"})));break;case"tiktok":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"})));break;case"tumblr-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"})));break;case"tumblr":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"})));break;case"twitch":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"})));break;case"twitter-alt":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"})));break;case"twitter":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"})));break;case"vimeo":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"})));break;case"whatsapp":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"})));break;case"woocommerce":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"})));break;case"wordpress":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})));break;case"x":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M13.982 10.622L20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378zm-2.128 2.474l-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787z"})));break;case"xanga":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"})));break;case"youtube":e=i.default.createElement("svg",l({className:d,height:s,width:s,onClick:a},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),i.default.createElement("g",null,i.default.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"})))}return e}}]),t}(i.PureComponent);t.Z=k,g(k,"defaultProps",{size:24}),g(k,"propTypes",{icon:r.default.string.isRequired,size:r.default.number,onClick:r.default.func,className:r.default.string})},407:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a,n=s(37148);e=s.hmd(e),a="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;const i=(0,n.Z)(a)},37148:(e,t,s)=>{"use strict";function a(e){var t,s=e.Symbol;return"function"==typeof s?s.observable?t=s.observable:(t=s("observable"),s.observable=t):t="@@observable",t}s.d(t,{Z:()=>a})},58750:(e,t,s)=>{"use strict";s.d(t,{EB:()=>_,ht:()=>E});var a=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],n=a.join(","),i="undefined"==typeof Element,r=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,s){var a=Array.prototype.slice.apply(e.querySelectorAll(n));return t&&r.call(e,n)&&a.unshift(e),a=a.filter(s)},l=function e(t,s,a){for(var i=[],o=Array.from(t);o.length;){var c=o.shift();if("SLOT"===c.tagName){var l=c.assignedElements(),p=e(l.length?l:c.children,!0,a);a.flatten?i.push.apply(i,p):i.push({scope:c,candidates:p})}else{r.call(c,n)&&a.filter(c)&&(s||!t.includes(c))&&i.push(c);var d=c.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(c),u=!a.shadowRootFilter||a.shadowRootFilter(c);if(d&&u){var m=e(!0===d?c.children:d.children,!0,a);a.flatten?i.push.apply(i,m):i.push({scope:c,candidates:m})}else o.unshift.apply(o,c.children)}}return i},p=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},u=function(e){return"INPUT"===e.tagName},m=function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,s=e.form||o(e),a=function(e){return s.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var n=function(e,t){for(var s=0;s<e.length;s++)if(e[s].checked&&e[s].form===t)return e[s]}(t,e.form);return!n||n===e}(e)},h=function(e){var t=e.getBoundingClientRect(),s=t.width,a=t.height;return 0===s&&0===a},g=function(e,t){return!(t.disabled||function(e){return u(e)&&"hidden"===e.type}(t)||function(e,t){var s=t.displayCheck,a=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var n=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(n,"details:not([open]) *"))return!0;var i=o(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(s&&"full"!==s){if("non-zero-area"===s)return h(e)}else{if("function"==typeof a){for(var l=e;e;){var p=e.parentElement,d=o(e);if(p&&!p.shadowRoot&&!0===a(p))return h(e);e=e.assignedSlot?e.assignedSlot:p||d===e.ownerDocument?p:d.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var s=0;s<t.children.length;s++){var a=t.children.item(s);if("LEGEND"===a.tagName)return!!r.call(t,"fieldset[disabled] *")||!a.contains(e)}return!0}t=t.parentElement}return!1}(t))},k=function(e,t){return!(m(t)||p(t)<0||!g(e,t))},f=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},v=function e(t){var s=[],a=[];return t.forEach((function(t,n){var i=!!t.scope,r=i?t.scope:t,o=p(r,i),c=i?e(t.candidates):r;0===o?i?s.push.apply(s,c):s.push(r):a.push({documentOrder:n,tabIndex:o,item:t,isScope:i,content:c})})),a.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(s)},E=function(e,t){var s;return s=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:k.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:f}):c(e,t.includeContainer,k.bind(null,t)),v(s)},w=a.concat("iframe").join(","),_=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==r.call(e,w)&&g(t,e)}},6975:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(51128);const n=s.n(a)()("dops:analytics");let i,r;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,s){o.setUser(e,t),o.setSuperProps(s),o.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){r={ID:e,username:t}},setSuperProps:function(e){i=e},assignSuperProps:function(e){i=Object.assign(i||{},e)},mc:{bumpStat:function(e,t){const s=function(e,t){let s="";if("object"==typeof e){for(const t in e)s+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);n("Bumping stats %o",e)}else s="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),n('Bumping stat "%s" in group "%s"',t,e);return s}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+s+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const s=function(e,t){let s="";if("object"==typeof e){for(const t in e)s+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);n("Built stats %o",e)}else s="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),n('Built stat "%s" in group "%s"',t,e);return s}(e,t);o.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+s+"&t="+Math.random())}},pageView:{record:function(e,t){o.tracks.recordPageView(e),o.ga.recordPageView(e,t)}},purchase:{record:function(e,t,s,a,n,i,r){o.ga.recordPurchase(e,t,s,a,n,i,r)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(i&&(n("- Super Props: %o",i),t=Object.assign(t,i)),n('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):n('- 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){n("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};o.ga.initialized||(r&&(e={userId:"u-"+r.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),o.ga.initialized=!0)},recordPageView:function(e,t){o.ga.initialize(),n("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,s,a){o.ga.initialize();let i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==s&&(i+=" [Option Label: "+s+"]"),void 0!==a&&(i+=" [Option Value: "+a+"]"),n(i),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,s,a)},recordPurchase:function(e,t,s,a,n,i,r){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:r}),window.ga("ecommerce:addItem",{id:e,name:t,sku:s,price:n,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){r&&window._tkq.push(["identifyUser",r.ID,r.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=o},64743:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>d});var a=s(61132),n=s(96483);function i(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const r=i("JsonParseError"),o=i("JsonParseAfterRedirectError"),c=i("Api404Error"),l=i("Api404AfterRedirectError"),p=i("FetchNetworkError");const d=new function(e,t){let s=e,i=e,r={"X-WP-Nonce":t},o={credentials:"same-origin",headers:r},c={method:"post",credentials:"same-origin",headers:Object.assign({},r,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),s=t.length>1?t[1]:"",a=s.length?s.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const p={setApiRoot(e){s=e},setWpcomOriginApiUrl(e){i=e},setApiNonce(e){r={"X-WP-Nonce":e},o={credentials:"same-origin",headers:r},c={method:"post",credentials:"same-origin",headers:Object.assign({},r,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const n={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(n.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(n.redirect_uri=t),h(`${s}jetpack/v4/connection/register`,c,{body:JSON.stringify(n)}).then(u).then(m)},fetchAuthorizationUrl:e=>d((0,n.addQueryArgs)(`${s}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),o).then(u).then(m),fetchSiteConnectionData:()=>d(`${s}jetpack/v4/connection/data`,o).then(m),fetchSiteConnectionStatus:()=>d(`${s}jetpack/v4/connection`,o).then(m),fetchSiteConnectionTest:()=>d(`${s}jetpack/v4/connection/test`,o).then(u).then(m),fetchUserConnectionData:()=>d(`${s}jetpack/v4/connection/data`,o).then(m),fetchUserTrackingSettings:()=>d(`${s}jetpack/v4/tracking/settings`,o).then(u).then(m),updateUserTrackingSettings:e=>h(`${s}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(u).then(m),disconnectSite:()=>h(`${s}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(u).then(m),fetchConnectUrl:()=>d(`${s}jetpack/v4/connection/url`,o).then(u).then(m),unlinkUser:()=>h(`${s}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(u).then(m),reconnect:()=>h(`${s}jetpack/v4/connection/reconnect`,c).then(u).then(m),fetchConnectedPlugins:()=>d(`${s}jetpack/v4/connection/plugins`,o).then(u).then(m),setHasSeenWCConnectionModal:()=>h(`${s}jetpack/v4/seen-wc-connection-modal`,c).then(u).then(m),fetchModules:()=>d(`${s}jetpack/v4/module/all`,o).then(u).then(m),fetchModule:e=>d(`${s}jetpack/v4/module/${e}`,o).then(u).then(m),activateModule:e=>h(`${s}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(u).then(m),deactivateModule:e=>h(`${s}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${s}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(u).then(m),updateSettings:e=>h(`${s}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(u).then(m),getProtectCount:()=>d(`${s}jetpack/v4/module/protect/data`,o).then(u).then(m),resetOptions:e=>h(`${s}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(u).then(m),activateVaultPress:()=>h(`${s}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(m),getVaultPressData:()=>d(`${s}jetpack/v4/module/vaultpress/data`,o).then(u).then(m),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),h(`${s}jetpack/v4/plugins`,c,{body:JSON.stringify(a)}).then(u).then(m)},activateAkismet:()=>h(`${s}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(m),getAkismetData:()=>d(`${s}jetpack/v4/module/akismet/data`,o).then(u).then(m),checkAkismetKey:()=>d(`${s}jetpack/v4/module/akismet/key/check`,o).then(u).then(m),checkAkismetKeyTyped:e=>h(`${s}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(u).then(m),fetchStatsData:e=>d(function(e){let t=`${s}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),o).then(u).then(m).then(k),getPluginUpdates:()=>d(`${s}jetpack/v4/updates/plugins`,o).then(u).then(m),getPlans:()=>d(`${s}jetpack/v4/plans`,o).then(u).then(m),fetchSettings:()=>d(`${s}jetpack/v4/settings`,o).then(u).then(m),updateSetting:e=>h(`${s}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(u).then(m),fetchSiteData:()=>d(`${s}jetpack/v4/site`,o).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${s}jetpack/v4/site/features`,o).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${s}jetpack/v4/site/products`,o).then(u).then(m),fetchSitePurchases:()=>d(`${s}jetpack/v4/site/purchases`,o).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${s}jetpack/v4/site/benefits`,o).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${s}jetpack/v4/site/discount`,o).then(u).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${s}jetpack/v4/setup/questionnaire`,o).then(u).then(m),fetchRecommendationsData:()=>d(`${s}jetpack/v4/recommendations/data`,o).then(u).then(m),fetchRecommendationsProductSuggestions:()=>d(`${s}jetpack/v4/recommendations/product-suggestions`,o).then(u).then(m),fetchRecommendationsUpsell:()=>d(`${s}jetpack/v4/recommendations/upsell`,o).then(u).then(m),fetchRecommendationsConditional:()=>d(`${s}jetpack/v4/recommendations/conditional`,o).then(u).then(m),saveRecommendationsData:e=>h(`${s}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>d(`${s}jetpack/v4/products`,o).then(u).then(m),fetchRewindStatus:()=>d(`${s}jetpack/v4/rewind`,o).then(u).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${s}jetpack/v4/scan`,o).then(u).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${s}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(u).then(m),fetchPluginsData:()=>d(`${s}jetpack/v4/plugins`,o).then(u).then(m),fetchIntroOffers:()=>d(`${s}jetpack/v4/intro-offers`,o).then(u).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${s}jetpack/v4/verify-site/google/${e}`:`${s}jetpack/v4/verify-site/google`,o).then(u).then(m),verifySiteGoogle:e=>h(`${s}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(u).then(m),submitSurvey:e=>h(`${s}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(u).then(m),saveSetupQuestionnaire:e=>h(`${s}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(u).then(m),updateLicensingError:e=>h(`${s}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(u).then(m),updateLicenseKey:e=>h(`${s}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(u).then(m),getUserLicensesCounts:()=>d(`${s}jetpack/v4/licensing/user/counts`,o).then(u).then(m),getUserLicenses:()=>d(`${s}jetpack/v4/licensing/user/licenses`,o).then(u).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${s}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(u).then(m),updateRecommendationsStep:e=>h(`${s}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>h(`${s}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(u),startIDCFresh:e=>h(`${s}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(u).then(m),migrateIDC:()=>h(`${s}jetpack/v4/identity-crisis/migrate`,c).then(u),attachLicenses:e=>h(`${s}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(u).then(m),fetchSearchPlanInfo:()=>d(`${i}jetpack/v4/search/plan`,o).then(u).then(m),fetchSearchSettings:()=>d(`${i}jetpack/v4/search/settings`,o).then(u).then(m),updateSearchSettings:e=>h(`${i}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(u).then(m),fetchSearchStats:()=>d(`${i}jetpack/v4/search/stats`,o).then(u).then(m),fetchWafSettings:()=>d(`${s}jetpack/v4/waf`,o).then(u).then(m),updateWafSettings:e=>h(`${s}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(u).then(m),fetchWordAdsSettings:()=>d(`${s}jetpack/v4/wordads/settings`,o).then(u).then(m),updateWordAdsSettings:e=>h(`${s}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${i}jetpack/v4/search/pricing`,o).then(u).then(m),fetchMigrationStatus:()=>d(`${s}jetpack/v4/migration/status`,o).then(u).then(m),fetchBackupUndoEvent:()=>d(`${s}jetpack/v4/site/backup/undo-event`,o).then(u).then(m)};function d(e,t){return fetch(l(e),t)}function h(e,t,s){return fetch(e,Object.assign({},t,s)).catch(g)}function k(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 u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const s=new Error(`${t.message} (Status ${e.status})`);throw s.response=t,s.name="ApiError",s}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,s){throw t?new o(s):new r}function g(){throw new p}},62264:(e,t,s)=>{"use strict";s.d(t,{M:()=>r});var a=s(65736),n=s(65146),i=s(36873);const __=a.__;class r extends Error{constructor(e,t,s){super(),this.httpCode=e,this.body=t,this.parseError=s}get message(){switch(this.httpCode){case 403:return this.getRestApiErrorMessage();case 200:if(this.parseError)return(0,a.sprintf)(/* Translators: %s refers to a browser-supplied error message (hopefully already in the right language) */
__("Received invalid response while communicating with your WordPress site: %s","jetpack"),this.parseError.message)}return(0,a.sprintf)(/* Translators: %d refers to numeric HTTP error code */
__("HTTP %d error received while communicating with the server.","jetpack"),this.httpCode)}getDisplayBody(){return(0,i.b)(this.body)?JSON.stringify(this.body,null,"  "):(0,n.x)(this.body,"").substring(0,1e3)}getRestApiErrorMessage(){return __("Your site's REST API does not seem to be accessible. Jetpack Boost requires access to your REST API in order to receive site performance scores. Please make sure that your site's REST API is active and accessible, and try again.","jetpack")}}},38426:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(65736),n=s(62264),i=s(60259);const __=a.__;async function r(e,t,s,n=null,r){const o={method:e,mode:"cors",headers:{"X-WP-Nonce":r}};"post"!==e&&"delete"!==e||!n||(o.body=JSON.stringify(n),o.headers["Content-Type"]="application/json");const c=function(e,t){return t+i.N+i.L+e}(s,t);let l;try{l=await fetch(c,o)}catch(e){const t=o;delete t.body,delete t.headers["X-WP-Nonce"];const s={requestInitiator:window.location.href,requestUrl:c,requestArgs:t,originalErrorMessage:e.toString()};throw new Error((0,a.sprintf)(/* Translators: %s refers to a string representation of an error object containing useful debug information  */
__("An error occurred while trying to communicate with the site REST API. Extra debug info: %s","jetpack"),JSON.stringify(s)))}return l}async function o(e,t,s,a=null,i){const o=await r(e,t,s,a,i);let c,l;try{c=await o.text()}catch(e){throw new n.M(o.status,null,e)}try{l=JSON.parse(c)}catch(e){throw new n.M(o.status,c,e)}if(!o.ok)throw new n.M(o.status,l,null);return l}const c={get:function(e,t,s){return o("get",e,t,null,s)},post:function(e,t,s=null,a){return o("post",e,t,s,a)}}},60259:(e,t,s)=>{"use strict";s.d(t,{L:()=>n,N:()=>a});const a="jetpack-boost/v1",n=""},60128:(e,t,s)=>{"use strict";s.d(t,{tZ:()=>u,yn:()=>h});var a=s(65736),n=s(38426),i=s(41061),r=s(65146),o=s(36873),c=s(62653),l=s(32893);const __=a.__,p=12e4,d=5e3;async function u(e=!1,t,s,a){const i=m(await n.Z.post(t,e?"/speed-scores/refresh":"/speed-scores",{url:s},a));return i.scores?i.scores:await async function(e,t,s){return(0,c.Z)({timeout:p,interval:d,timeoutError:__("Timed out while waiting for speed-score.","jetpack"),callback:async a=>{const i=m(await n.Z.post(e,"/speed-scores",{url:t},s));i.scores&&a(i.scores)}})}(t,s,a)}function m(e){if(e.error){const t=__("An unknown error occurred while requesting metrics","jetpack");throw(0,l.V)(e.error,t)}if((0,o.b)(e.scores))return{status:"success",scores:{current:(0,o.b)(e.scores.current)?{mobile:(0,i.W)(e.scores.current.mobile,0),desktop:(0,i.W)(e.scores.current.desktop,0)}:{mobile:0,desktop:0},noBoost:(0,o.b)(e.scores.noBoost)?{mobile:(0,i.W)(e.scores.noBoost.mobile,0),desktop:(0,i.W)(e.scores.noBoost.desktop,0)}:null,isStale:!!e.scores.isStale}};const t=(0,r.x)(e.status);if(!t)throw new Error(__("Invalid response while requesting metrics","jetpack"));return{status:t}}function h(e,t){const s=(e+t)/2;return s>90?"A":s>75?"B":s>50?"C":s>35?"D":s>25?"E":"F"}},41061:(e,t,s)=>{"use strict";function a(e,t=void 0){if("number"==typeof e)return e;if("string"==typeof e){const t=parseFloat(e);if(!isNaN(t))return t}return t}s.d(t,{W:()=>a})},65146:(e,t,s)=>{"use strict";function a(e,t=void 0){return"string"==typeof e?e:e&&e.toString instanceof Function?e.toString():t}s.d(t,{x:()=>a})},36873:(e,t,s)=>{"use strict";function a(e){return!!e&&e instanceof Object&&!(e instanceof Array)}s.d(t,{b:()=>a})},62653:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(65736);const __=a.__;async function n({interval:e,callback:t,timeout:s,timeoutError:a}){let n,i;return new Promise(((r,o)=>{n=setTimeout((()=>{o(new Error(a||__("Timed out","jetpack")))}),s||12e4),i=setInterval((async()=>{try{await Promise.resolve(t(r))}catch(e){o(e)}}),e)})).finally((()=>{clearTimeout(n),clearInterval(i)}))}},32893:(e,t,s)=>{"use strict";function a(e,t){return e instanceof Error?e:"string"==typeof e||e instanceof String?new Error(e.toString()):e.message?new Error(e.message):t?new Error(t):new Error(JSON.stringify(e))}s.d(t,{V:()=>a})},67121:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(55609),n=s(65736),i=s(65235),r=s.n(i),o=s(15844),c=s.n(o),l=s(99196),p=s.n(l),d=s(90526),u=s(86508);const __=n.__,m=e=>{const{label:t,onClick:s,isLoading:n,isDisabled:i,displayError:o,errorMessage:c}=e;return p().createElement(p().Fragment,null,p().createElement(d.Z,{className:r()(u.Z.button,"jp-action-button--button"),label:t,onClick:s,variant:"primary",disabled:n||i},n?p().createElement(a.Spinner,null):t),o&&p().createElement("p",{className:r()(u.Z.error,"jp-action-button__error")},c))};m.propTypes={label:c().string.isRequired,onClick:c().func,isLoading:c().bool,isDisabled:c().bool,displayError:c().bool,errorMessage:c().oneOfType([c().string,c().element])},m.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack")};const h=m},37525:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(82674),n=s.n(a),i=s(65736),r=s(65235),o=s.n(r),c=s(99196),l=s.n(c);const __=i.__,p=({title:e=__("An Automattic Airline","jetpack"),height:t=7,className:s,...a})=>l().createElement("svg",n()({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:t,className:o()("jp-automattic-byline-logo",s)},a),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},e),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"}))},14186:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(65736),n=s(65235),i=s.n(n),r=s(67172);s(17472);const __=a.__,o=({score:e,isLoading:t,showPrevScores:s,active:a,prevScore:n=0,scoreBarType:o,noBoostScoreTooltip:c})=>{if(!a)return null;const l=n/e*100,p=__("Desktop score","jetpack"),d=__("Mobile score","jetpack");return React.createElement("div",{className:i()("jb-score-bar",`jb-score-bar--${o}`)},React.createElement("div",{className:"jb-score-bar__label"},"desktop"===o?React.createElement(r.Z,{icon:"computer",size:24}):React.createElement(r.Z,{icon:"phone",size:24}),React.createElement("div",null,"desktop"===o?p:d)),React.createElement("div",{className:"jb-score-bar__bounds"},React.createElement("div",{className:i()("jb-score-bar__filler",t&&!e?"fill-loading":e>70?"fill-good":e>50?"fill-mediocre":"fill-bad"),style:{width:`${e}%`}},t?React.createElement("div",{className:"jb-score-bar__loading"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 128 128"},React.createElement("g",null,React.createElement("path",{d:"M64 0a7 7 0 11-7 7 7 7 0 017-7zm29.86 12.2a2.8 2.8 0 11-3.83 1.02 2.8 2.8 0 013.83-1.02zm22.16 21.68a3.15 3.15 0 11-4.3-1.15 3.15 3.15 0 014.3 1.15zm.87 60.53a4.2 4.2 0 11-1.57-5.7 4.2 4.2 0 011.54 5.73zm7.8-30.5a3.85 3.85 0 11-3.85-3.85 3.85 3.85 0 013.85 3.84zm-30 53.2a4.55 4.55 0 111.66-6.23 4.55 4.55 0 01-1.67 6.22zM64 125.9a4.9 4.9 0 114.9-4.9 4.9 4.9 0 01-4.9 4.9zm-31.06-8.22a5.25 5.25 0 117.17-1.93 5.25 5.25 0 01-7.14 1.93zM9.9 95.1a5.6 5.6 0 117.65 2.06A5.6 5.6 0 019.9 95.1zM1.18 63.9a5.95 5.95 0 115.95 5.94 5.95 5.95 0 01-5.96-5.94zm8.1-31.6a6.3 6.3 0 112.32 8.6 6.3 6.3 0 01-2.3-8.6zM32.25 8.87a6.65 6.65 0 11-2.44 9.1 6.65 6.65 0 012.46-9.1z"}),React.createElement("animateTransform",{attributeName:"transform",type:"rotate",values:"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64",calcMode:"discrete",dur:"1080ms",repeatCount:"indefinite"})))):React.createElement("div",{className:"jb-score-bar__score"},e),s&&!!n&&n<e&&React.createElement("div",{className:"jb-score-bar__no_boost_score",style:{left:`min(${l}%, calc( 100% - var(--clearance-space))`}},n,c&&React.createElement("div",{role:"tooltip",className:"jb-score-bar__no_boost_score_tooltip"},c)))))}},90526:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(82674),n=s.n(a),i=s(55609),r=s(61074),o=s(15381),c=s(65235),l=s.n(c),p=s(99196),d=s.n(p),u=s(62103);const m=(0,p.forwardRef)(((e,t)=>{const{children:s,variant:a="primary",size:c="normal",weight:p="bold",icon:m,iconSize:h,disabled:g,isDestructive:k,isLoading:f,isExternalLink:v,className:E,text:w,fullWidth:_,...b}=e,y=l()(u.Z.button,E,{[u.Z.normal]:"normal"===c,[u.Z.small]:"small"===c,[u.Z.icon]:Boolean(m),[u.Z.loading]:f,[u.Z.regular]:"regular"===p,[u.Z["full-width"]]:_,[u.Z["is-icon-button"]]:Boolean(m)&&!s});b.ref=t;const C="normal"===c?20:16,j=v&&d().createElement(r.Z,{size:C,icon:o.Z,className:u.Z["external-icon"]}),S=v?"_blank":void 0,N=s?.[0]&&null!==s[0]&&"components-tooltip"!==s?.[0]?.props?.className;return d().createElement(i.Button,n()({target:S,variant:a,className:l()(y,{"has-text":!!m&&N}),icon:v?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:k,text:w},b),f&&d().createElement(i.Spinner,null),d().createElement("span",null,s),j)}));m.displayName="Button";const h=m},69026:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});s(46172);const a=({format:e="horizontal",icon:t,imageUrl:s})=>React.createElement("div",{className:"jp-components__decorative-card "+(e?"jp-components__decorative-card--"+e:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:s?`url( ${s} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),t?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+t})):null)},67172:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(65736),n=s(65235),i=s.n(n),r=s(99196);s(53351);const __=a.__;class o extends r.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("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"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("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"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,s=this.props.height||e,a=this.props.width||e,n=this.props.style||{height:s,width:a},r="gridicons-"+this.props.icon,o=i()("gridicon",r,t,{"needs-offset":this.needsOffset(r,e)}),c=this.getSVGDescription(r);return React.createElement("svg",{className:o,focusable:this.props.focusable,height:s,onClick:this.props.onClick,style:n,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},c?React.createElement("desc",null,c):null,this.renderIcon(r))}}const c=o},3396:(e,t,s)=>{"use strict";s.d(t,{VS:()=>u,av:()=>m});var a=s(82674),n=s.n(a),i=s(55609),r=s(65235),o=s.n(r),c=s(92659),l=s(45460);const p=({className:e,size:t=24,viewBox:s="0 0 24 24",opacity:a=1,color:r="#2C3338",children:c})=>{const p={className:o()(l.Z.iconWrapper,e),width:t,height:t,viewBox:s,opacity:a,fill:void 0};return r&&(p.fill=r),React.createElement(i.SVG,n()({},p,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(i.G,{opacity:a},c))},d={...{"anti-spam":({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(i.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(i.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(i.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"})),backup:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.Path,{d:"M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1 l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4 c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1 c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4 C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6 c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2 c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8 c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2 l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8 C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1 c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4 C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0 C6.6,8.5,6.3,7.6,5.9,6.7z"})),boost:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({opacity:e=1,size:t,className:s,color:a})=>React.createElement(p,{className:s,size:t,opacity:e,color:a},React.createElement(i.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(i.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:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.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:({size:e,className:t=l.Z["star-icon"],color:s})=>React.createElement(p,{className:t,size:e,color:s},React.createElement(i.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"})),videopress:({opacity:e=1,size:t,color:s})=>React.createElement(p,{size:t,opacity:e,color:s},React.createElement(i.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7 h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9 c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z"})),jetpack:({size:e,className:t=l.Z.jetpack,color:s})=>React.createElement(p,{className:t,size:e,color:s,viewBox:"0 0 32 32"},React.createElement(i.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(i.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),React.createElement(i.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"})),share:({size:e=16,className:t,color:s})=>React.createElement(p,{className:t,size:e,color:s,viewBox:"0 0 16 16"},React.createElement(i.Path,{fill:"#161722",fillRule:"evenodd",d:"M8.3 4.66C3.85 5.308.727 9.75.034 13.69l-.02.117c-.137.842.809 1.232 1.446.68 2.013-1.745 3.648-2.475 5.318-2.719a10.482 10.482 0 011.524-.103v2.792c0 .694.82 1.041 1.3.55l6.176-6.307a.79.79 0 00.012-1.088L9.614 1.004C9.14.496 8.301.84 8.301 1.542v3.117zm1.525-1.175v1.85a.773.773 0 01-.654.77l-.655.096c-2.133.311-3.987 1.732-5.295 3.672-.472.7-.854 1.44-1.143 2.18a12.32 12.32 0 011.675-.972c1.58-.75 3.048-.972 4.548-.972h.762a.77.77 0 01.762.779v1.69l4.347-4.44-4.347-4.653z",clipRule:"evenodd"}))}};function u(e){return d[e]?d[e]:null}const m=({serviceName:e,className:t})=>React.createElement(c.Z,{className:o()(l.Z.socialIcon,l.Z[e],t),icon:e})},38237:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(82674),n=s.n(a),i=s(9818),r=s(65736),o=s(61074),c=s(15381),l=s(65235),p=s.n(l),d=s(99196),u=s.n(d),m=s(6895),h=s(80428),g=s(92497),k=s(37525),f=(s(33527),s(78868)),v=s(32054);const __=r.__,_x=r._x,E=()=>u().createElement(f.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),w=({moduleName:e=__("Jetpack","jetpack"),className:t,moduleNameHref:s="https://jetpack.com",menu:a,onAboutClick:r,onPrivacyClick:l,onTermsClick:d,...f})=>{const[w]=(0,v.Z)("sm","<="),[_]=(0,v.Z)("md","<="),[b]=(0,v.Z)("lg",">"),{isActive:y,connectedPlugins:C}=(0,i.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),j=(0,g.Z)(),S=j&&y&&C?.some((({slug:e})=>"jetpack"===e));let N=[{label:_x("About","Link to learn more about Jetpack.","jetpack"),title:__("About Jetpack","jetpack"),href:S?new URL("admin.php?page=jetpack_about",j).href:(0,m.Z)("jetpack-about"),target:S?"_self":"_blank",onClick:r},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack"),title:__("Automattic's Privacy Policy","jetpack"),href:S?new URL("admin.php?page=jetpack#/privacy",j).href:(0,m.Z)("a8c-privacy"),target:S?"_self":"_blank",onClick:l},{label:_x("Terms","Shorthand for Terms of Service.","jetpack"),title:__("WordPress.com Terms of Service","jetpack"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:d}];a&&(N=[...N,...a]);const x=u().createElement(u().Fragment,null,u().createElement(E,null),e);return u().createElement("footer",n()({className:p()("jp-dashboard-footer",{"is-sm":w,"is-md":_,"is-lg":b},t),"aria-label":__("Jetpack","jetpack")},f),u().createElement("ul",null,u().createElement("li",{className:"jp-dashboard-footer__jp-item"},s?u().createElement("a",{href:s},x):x),N.map((e=>{const t="button"===e.role,s=!t&&"_blank"===e.target;return u().createElement("li",{key:e.label},u().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:p()("jp-dashboard-footer__menu-item",{"is-external":s}),role:e.role,rel:s?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,s&&u().createElement(o.Z,{icon:c.Z,size:16})))})),u().createElement("li",{className:"jp-dashboard-footer__a8c-item"},u().createElement("a",{href:S?new URL("admin.php?page=jetpack_about",j).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack")},u().createElement(k.Z,{"aria-hidden":"true"})))))}},78868:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(82674),n=s.n(a),i=s(65736),r=s(65235),o=s.n(r),c=s(99196),l=s.n(c);const __=i.__,p=({logoColor:e="#069e08",showText:t=!0,className:s,height:a=32,...i})=>{const r=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",n()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:r,className:o()("jetpack-logo",s),"aria-labelledby":"jetpack-logo-title",height:a},i),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),l().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&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"})))}},73846:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65235),n=s.n(a),i=s(99196),r=s(31418);const o=Number(r.Z.smCols),c=Number(r.Z.mdCols),l=Number(r.Z.lgCols),p=e=>{const{children:t,tagName:s="div",className:a}=e,p=Math.min(o,"number"==typeof e.sm?e.sm:o),d=Math.min(o,"object"==typeof e.sm?e.sm.start:0),u=Math.min(o,"object"==typeof e.sm?e.sm.end:0),m=Math.min(c,"number"==typeof e.md?e.md:c),h=Math.min(c,"object"==typeof e.md?e.md.start:0),g=Math.min(c,"object"==typeof e.md?e.md.end:0),k=Math.min(l,"number"==typeof e.lg?e.lg:l),f=Math.min(l,"object"==typeof e.lg?e.lg.start:0),v=Math.min(l,"object"==typeof e.lg?e.lg.end:0),E=n()(a,{[r.Z[`col-sm-${p}`]]:!(d&&u),[r.Z[`col-sm-${d}-start`]]:d>0,[r.Z[`col-sm-${u}-end`]]:u>0,[r.Z[`col-md-${m}`]]:!(h&&g),[r.Z[`col-md-${h}-start`]]:h>0,[r.Z[`col-md-${g}-end`]]:g>0,[r.Z[`col-lg-${k}`]]:!(f&&v),[r.Z[`col-lg-${f}-start`]]:f>0,[r.Z[`col-lg-${v}-end`]]:v>0});return(0,i.createElement)(s,{className:E},t)}},13363:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(65235),n=s.n(a),i=s(99196),r=s(87054);const o=({children:e,fluid:t=!1,tagName:s="div",className:a,horizontalGap:o=1,horizontalSpacing:c=1})=>{const l=(0,i.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${c} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${o} )`}}),[o,c]),p=n()(a,r.Z.container,{[r.Z.fluid]:t});return(0,i.createElement)(s,{className:p,style:l},e)}},32054:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(94333),n=s(49710);const i=["sm","md","lg"],r=(e,t)=>{const s=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t],[o,c,l]=i,p={sm:(0,a.useMediaQuery)(n.Z[o]),md:(0,a.useMediaQuery)(n.Z[c]),lg:(0,a.useMediaQuery)(n.Z[l])};return s.map(((e,t)=>{const s=r[t];return s?((e,t,s)=>{const a=i.indexOf(e),n=a+1,r=t.includes("=");let o=[];return t.startsWith("<")&&(o=i.slice(0,r?n:a)),t.startsWith(">")&&(o=i.slice(r?a:n)),o?.length?o.some((e=>s[e])):s[e]})(e,s,p):p[e]}))}},41342:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(30797),n=s(90496),i=s(79201),r=s(61074),o=s(39517),c=s(65235),l=s.n(c),p=s(99196),d=s.n(p),u=s(12077);const m=e=>{switch(e){case"error":case"warning":default:return a.Z;case"info":return n.Z;case"success":return i.Z}},h=({level:e,title:t,children:s,actions:a,hideCloseButton:n,onClose:i})=>{const c=l()(u.Z.container,u.Z[`is-${e}`]);return d().createElement("div",{className:c},d().createElement("div",{className:u.Z["icon-wrapper"]},d().createElement(r.Z,{icon:m(e),className:u.Z.icon})),d().createElement("div",{className:u.Z["main-content"]},d().createElement("div",{className:u.Z.title},t),s,a&&a.length>0&&d().createElement("div",{className:u.Z["action-bar"]},a.map(((e,t)=>d().createElement("div",{key:t,className:u.Z.action},e))))),!n&&d().createElement("button",{"aria-label":"close",className:u.Z["close-button"],onClick:i},d().createElement(r.Z,{icon:o.Z})))};h.defaultProps={level:"info",hideCloseButton:!1};const g=h},52947:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(98709);const n=(e,t={})=>{const s=(0,a.X)();return new Intl.NumberFormat(s,t).format(e)}},25347:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(65736),n=s(65235),i=s.n(n),r=s(45106),o=s(33789),c=s(37387);const __=a.__,l=({price:e,offPrice:t,currency:s="",showNotOffPrice:a=!0,hideDiscountLabel:n=!0,promoLabel:l="",legend:p=__("/month, paid yearly","jetpack"),isNotConvenientPrice:d=!1,hidePriceFraction:u=!1,children:m})=>{if(null==e&&null==t||!s)return null;a=a&&null!=t;const h="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,g=!n&&h&&h>0?h+__("% off","jetpack"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:c.Z.container},React.createElement("div",{className:i()(c.Z["price-container"],"product-price_container")},React.createElement(o.t,{value:t??e,currency:s,isOff:!d,hidePriceFraction:u}),a&&React.createElement(o.t,{value:e,currency:s,isOff:!1,hidePriceFraction:u}),g&&React.createElement(r.ZP,{className:i()(c.Z["promo-label"],"product-price_promo_label")},g))),React.createElement("div",{className:c.Z.footer},m||React.createElement(r.ZP,{className:i()(c.Z.legend,"product-price_legend")},p),l&&React.createElement(r.ZP,{className:i()(c.Z["promo-label"],"product-price_promo_label")},l)))}},33789:(e,t,s)=>{"use strict";s.d(t,{t:()=>c});var a=s(25607),n=s(65235),i=s.n(n),r=s(45106),o=s(37387);const c=({value:e,currency:t,isOff:s,hidePriceFraction:n})=>{const c=i()(o.Z.price,"product-price_price",{[o.Z["is-not-off-price"]]:!s}),{symbol:l,integer:p,fraction:d}=(0,a.LR)(e,t),u=!n||!d.endsWith("00");return React.createElement(r.ZP,{className:c,variant:"headline-medium",component:"p"},React.createElement(r.ZP,{className:o.Z.symbol,component:"sup",variant:"title-medium"},l),p,u&&React.createElement(r.ZP,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,d)))}},94343:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(65235),n=s.n(a),i=s(11334);const r=({className:e,progressClassName:t,progress:s,size:a="normal"})=>{if(null==s)return null;const r={width:100*Math.max(Math.min(s,1),0)+"%"};return React.createElement("div",{className:n()(e,i.Z.wrapper,{[i.Z.small]:"small"===a})},React.createElement("div",{className:n()(t,i.Z.progress),style:r}))}},43521:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(65736),n=s(65235),i=s.n(n),r=s(99196),o=s.n(r),c=s(52947);s(34086);const __=a.__,l=({totalCount:e,items:t=[],showLegendLabelBeforeCount:s=!1,sortByCount:a,className:n,tableCaption:l,legendTitle:p,recordTypeLabel:d,recordCountLabel:u})=>{const m=(0,r.useMemo)((()=>e||t.reduce(((e,{count:t})=>e+t),0)),[t,e]),h=(0,r.useMemo)((()=>a?[...t].sort(((e,t)=>"ascending"===a?e.count-t.count:t.count-e.count)):t),[t,a]);return o().createElement("div",{className:i()("record-meter-bar",n)},o().createElement("div",{className:"record-meter-bar__items","aria-hidden":"true"},h.map((({count:e,label:t,backgroundColor:s})=>{const a=(e/m*100).toPrecision(2);return o().createElement("div",{key:t,style:{backgroundColor:s,flexBasis:`${a}%`}})}))),o().createElement("div",{className:"record-meter-bar__legend","aria-hidden":"true"},p&&o().createElement("div",{className:"record-meter-bar__legend--title"},p),o().createElement("ul",{className:"record-meter-bar__legend--items"},h.map((({count:e,label:t,backgroundColor:a})=>{const n=(0,c.Z)(e);return o().createElement("li",{key:t,className:"record-meter-bar__legend--item"},o().createElement("div",{className:"record-meter-bar__legend--item-circle",style:{backgroundColor:a}}),!s&&o().createElement("span",null,o().createElement("span",{className:"record-meter-bar__legend--item-count"},n),o().createElement("span",{className:"record-meter-bar__legend--item-label"},t)),s&&o().createElement("span",null,o().createElement("span",{className:"record-meter-bar__legend--item-label record-meter-bar__legend--item-label-first"},t),o().createElement("span",{className:"record-meter-bar__legend--item-count"},"(",n,")")))})))),o().createElement("table",{className:"screen-reader-text"},o().createElement("caption",null,l||__("Summary of the records","jetpack")),o().createElement("tbody",null,o().createElement("tr",null,o().createElement("th",{scope:"col"},d||__("Record type","jetpack")),o().createElement("th",{scope:"col"},u||__("Record count","jetpack"))),h.map((({label:e,count:t})=>o().createElement("tr",{key:e},o().createElement("td",null,e),o().createElement("td",null,t)))))))}},45033:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(15844),n=s.n(a),i=s(99196),r=s.n(i);s(48026);const o=e=>{const t=e.className+" jp-components-spinner",s={width:e.size,height:e.size,fontSize:e.size,borderTopColor:e.color},a={borderTopColor:e.color,borderRightColor:e.color};return r().createElement("div",{className:t},r().createElement("div",{className:"jp-components-spinner__outer",style:s},r().createElement("div",{className:"jp-components-spinner__inner",style:a})))};o.propTypes={color:n().string,className:n().string,size:n().number},o.defaultProps={color:"#FFFFFF",className:"",size:20};const c=o},73474:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(65736),n=s(65235),i=s.n(n),r=s(45106),o=s(49807);const __=a.__,c=({className:e,label:t,status:s="inactive"})=>{const a={active:__("Active","jetpack"),error:__("Error","jetpack"),action:__("Action needed","jetpack"),inactive:__("Inactive","jetpack"),initializing:__("Setting up","jetpack")};return React.createElement(r.ZP,{variant:"body-extra-small",className:i()(o.Z.status,{[o.Z[`is-${s}`]]:s},e)},React.createElement("span",{className:o.Z.status__indicator}),React.createElement("span",{className:o.Z.status__label},t||""===t?t:a[s]))}},37325:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(69307),n=s(65736),i=s(65235),r=s.n(i),o=s(6895),c=s(45106);s(67660);const __=n.__,l=()=>(0,a.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=({agreeButtonLabel:e})=>(0,a.createInterpolateElement)((0,n.sprintf)(/* translators: %s is a button label */
__("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,o.Z)(e),rel:"noopener noreferrer",target:"_blank"},t),u=({className:e,multipleButtons:t,agreeButtonLabel:s})=>React.createElement(c.ZP,{className:r()(e,"terms-of-service")},t?React.createElement(l,null):React.createElement(p,{agreeButtonLabel:s}))},66017:(e,t,s)=>{"use strict";s.d(t,{h:()=>a,s:()=>n});const a={"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"},n=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},45106:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>u});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(99196),c=s.n(o),l=s(66017),p=s(85837);const d=(0,o.forwardRef)((({variant:e="body",children:t,component:s,className:a,...i},d)=>{const u=s||l.h[e]||"span",m=(0,o.useMemo)((()=>l.s.reduce(((e,t)=>(void 0!==i[t]&&(e+=p.Z[`${t}-${i[t]}`]+" ",delete i[t]),e)),"")),[i]);return i.ref=d,c().createElement(u,n()({className:r()(p.Z.reset,p.Z[e],a,m)},i),t)}));d.displayName="Text";const u=d},88275:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>u});var a=s(99196),n=s.n(a),i=s(93468);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)"},o={"--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 )"},c={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},p={},d=(e,t,s)=>{const a={...r,...o,...c,...l};for(const t in a)e.style.setProperty(t,a[t]);s&&e.classList.add(i.Z.global),t&&(p[t]={provided:!0,root:e})},u=({children:e=null,targetDom:t,id:s,withGlobalStyles:i=!0})=>{const r=(0,a.useRef)(),o=p?.[s]?.provided;return(0,a.useLayoutEffect)((()=>{if(!o)return t?d(t,s,i):void(r?.current&&d(r.current,s,i))}),[t,r,o,s,i]),t?n().createElement(n().Fragment,null,e):n().createElement("div",{ref:r},e)}},48229:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(55609),n=s(65235),i=s.n(n),r=s(99196),o=s(87999);const c=({checked:e,className:t,disabled:s,help:n,toggling:c,label:l,size:p="normal",onChange:d})=>{const u=void 0!==c?e&&!c||!e&&c:e,m=(0,r.useCallback)((e=>{c||d(e)}),[c,d]);return React.createElement(a.ToggleControl,{checked:u,className:i()(o.Z.toggle,t,{[o.Z["is-toggling"]]:c,[o.Z["is-small"]]:"small"===p,[o.Z["no-label"]]:!l}),disabled:s,help:n,label:l,onChange:m})}},94706:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(90526),n=s(55609),i=s(69307),r=s(99196),o=s.n(r);s(81737);const c=e=>{const{icon:t,title:s,description:r,primaryCtaLabel:c,primaryCtaURL:l,primaryCtaIsExternalLink:p,primaryCtaOnClick:d,secondaryCtaLabel:u,secondaryCtaURL:m,secondaryCtaIsExternalLink:h,secondaryCtaOnClick:g}=e;return o().createElement(n.Card,{isRounded:!0,size:"large"},o().createElement(n.CardBody,{className:"upsell-banner",size:"large"},t&&o().createElement("div",{className:"upsell-banner--icon"},o().createElement("img",{src:t,alt:""})),o().createElement("div",{className:"upsell-banner--content"},o().createElement("div",{className:"upsell-banner--content-info"},o().createElement("h3",null,s),o().createElement("p",null,(0,i.createInterpolateElement)(r,{br:o().createElement("br",null)}))),o().createElement("div",{className:"upsell-banner--content-cta"},u&&m&&o().createElement(a.Z,{className:"upsell-banner--content-cta-button secondary",href:m,onClick:g??void 0,isExternalLink:h},u),c&&l&&o().createElement(a.Z,{className:"upsell-banner--content-cta-button primary",href:l,onClick:d??void 0,isExternalLink:p},c)))))}},98709:(e,t,s)=>{"use strict";s.d(t,{X:()=>n});var a=s(69771);const n=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},92497:(e,t,s)=>{"use strict";function a(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}s.d(t,{Z:()=>a})},6895:(e,t,s)=>{"use strict";function a(e,t={}){const s={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,s.url=encodeURIComponent(e)}else s.source=encodeURIComponent(e);for(const e in t)s[e]=encodeURIComponent(t[e]);!Object.keys(s).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(s.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),a&&(s.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(s).map((e=>e+"="+s[e])).join("&")}s.d(t,{Z:()=>a})},16554:(e,t,s)=>{"use strict";function a(e){return 1===e?.interval_count&&"month"===e?.interval_unit}s.d(t,{Z:()=>a})},61132:(e,t,s)=>{let a={};try{a=s(92787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const n=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:n,jetpackConfigGet:e=>{if(!n(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 a[e]}}},14792:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(67121),n=s(65736),i=s(15844),r=s.n(i),o=s(99196),c=s.n(o),l=s(31294);const __=n.__,p=e=>{const{apiRoot:t,apiNonce:s,connectLabel:n,registrationNonce:i,redirectUri:r,from:o,autoTrigger:p}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:h,userIsConnecting:g,registrationError:k}=(0,l.Z)({registrationNonce:i,redirectUri:r,apiRoot:t,apiNonce:s,autoTrigger:p,from:o});return c().createElement(c().Fragment,null,(!u||!m)&&c().createElement(a.Z,{label:n,onClick:d,displayError:!!k,isLoading:h||g}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool},p.defaultProps={connectLabel:__("Connect","jetpack"),redirectUri:null,autoTrigger:!1};const d=p},9312:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65736),n=s(15844),i=s.n(n),r=s(99196),o=s.n(r),c=s(31294),l=s(71624);const __=a.__,p=({title:e,buttonLabel:t,apiRoot:s,apiNonce:a,registrationNonce:n,from:i,redirectUri:r,images:p,children:d,assetBaseUrl:u,autoTrigger:m,footer:h,skipUserConnection:g,logo:k})=>{const{handleRegisterSite:f,siteIsRegistering:v,userIsConnecting:E,registrationError:w,isOfflineMode:_}=(0,c.Z)({registrationNonce:n,redirectUri:r,apiRoot:s,apiNonce:a,autoTrigger:m,from:i,skipUserConnection:g}),b=Boolean(w),y=v||E,C=w?.response?.code;return o().createElement(l.Z,{title:e,images:p,assetBaseUrl:u,buttonLabel:t,handleButtonClick:f,displayButtonError:b,errorCode:C,buttonIsLoading:y,footer:h,isOfflineMode:_,logo:k},d)};p.propTypes={title:i().string,buttonLabel:i().string,apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,registrationNonce:i().string.isRequired,from:i().string,redirectUri:i().string.isRequired,autoTrigger:i().bool,images:i().arrayOf(i().string),assetBaseUrl:i().string,skipUserConnection:i().bool,logo:i().element},p.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1};const d=p},71624:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(6895),n=s(37325),i=s(67121),r=s(69307),o=s(65736),c=s(15844),l=s.n(c),p=s(99196),d=s.n(p),u=s(18524);s(54590);const __=o.__,m=e=>{const{title:t,images:s,children:o,assetBaseUrl:c,isLoading:l,buttonLabel:p,handleButtonClick:m,displayButtonError:h,errorCode:g,buttonIsLoading:k,footer:f,isOfflineMode:v,logo:E}=e,w=(()=>{switch(g){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack")}if(v)return(0,r.createInterpolateElement)(__("Unavailable in <a>Offline Mode</a>","jetpack"),{a:d().createElement("a",{href:(0,a.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})})();return d().createElement(u.Z,{title:t,assetBaseUrl:c,images:s,className:"jp-connection__connect-screen"+(l?" jp-connection__connect-screen__loading":""),logo:E},d().createElement("div",{className:"jp-connection__connect-screen__content"},o,d().createElement("div",{className:"jp-connection__connect-screen__tos"},d().createElement(n.Z,{agreeButtonLabel:p})),d().createElement(i.Z,{label:p,onClick:m,displayError:h||v,errorMessage:w,isLoading:k,isDisabled:v}),f&&d().createElement("div",{className:"jp-connection__connect-screen__footer"},f)))};m.propTypes={title:l().string,images:l().arrayOf(l().string),assetBaseUrl:l().string,isLoading:l().bool,buttonLabel:l().string.isRequired,handleButtonClick:l().func,displayButtonError:l().bool,errorCode:l().string,buttonIsLoading:l().bool,footer:l().node,isOfflineMode:l().bool,logo:l().element},m.defaultProps={isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,errorCode:null,handleButtonClick:()=>{},footer:null,isOfflineMode:!1};const h=m},62458:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(15844),n=s.n(a),i=s(99196),r=s.n(i);const o=e=>{const{images:t,assetBaseUrl:s}=e;if(!t.length)return null;const a=t.map(((e,t)=>r().createElement(r().Fragment,{key:t},r().createElement("img",{src:s+e,alt:""}))));return r().createElement("div",{className:"jp-connection__connect-screen__image-slider"},a)};o.propTypes={images:n().arrayOf(n().string).isRequired,assetBaseUrl:n().string},o.defaultProps={assetBaseUrl:""};const c=o},18524:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(78868),n=s(65235),i=s.n(n),r=s(15844),o=s.n(r),c=s(99196),l=s.n(c),p=s(62458);s(15035);const d=e=>{const{title:t,children:s,className:n,assetBaseUrl:r,images:o,logo:c,rna:d=!1}=e,u=o?.length;return l().createElement("div",{className:i()("jp-connection__connect-screen-layout",u?"jp-connection__connect-screen-layout__two-columns":"",n?" "+n:"")},d&&l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),l().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),l().createElement("div",{className:"jp-connection__connect-screen-layout__left"},c||l().createElement(a.Z,null),l().createElement("h2",null,t),s),u?l().createElement("div",{className:"jp-connection__connect-screen-layout__right"},l().createElement(p.Z,{images:o,assetBaseUrl:r})):null)};d.propTypes={title:o().string,className:o().string,images:o().arrayOf(o().string),assetBaseUrl:o().string,logo:o().element};const u=d},57879:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65736),n=s(15844),i=s.n(n),r=s(99196),o=s.n(r),c=s(14322);const __=a.__,l=e=>{const{connectedPlugins:t,disconnectingPlugin:s}=e,a=(0,r.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>s!==e.slug))}return[]}),[t,s]);return t&&a.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"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},a.map((e=>o().createElement(c.Z,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:i().array,disconnectingPlugin:i().string};const p=l},14322:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(15844),n=s.n(a),i=s(99196),r=s.n(i);s(22202);const o=e=>{const{title:t,value:s,description:a}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(s||a)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},s),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},a))))};o.propTypes={title:n().string,value:n().oneOfType([n().string,n().number]),description:n().string};const c=o},16168:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(6975),n=s(64743),i=s(61132),r=s(55609),o=s(65736),c=s(15844),l=s.n(c),p=s(99196),d=s.n(p),u=(s(52741),s(9015)),m=s(45995),h=s(31702),g=s(61166);const __=o.__,k=e=>{const[t,s]=(0,p.useState)(!1),[o,c]=(0,p.useState)(!1),[l,k]=(0,p.useState)(!1),[f,v]=(0,p.useState)(!1),[E,w]=(0,p.useState)(!1),[_,b]=(0,p.useState)(!1),{apiRoot:y,apiNonce:C,connectedPlugins:j,title:S,pluginScreenDisconnectCallback:N,onDisconnected:x,onError:T,disconnectStepComponent:A,context:M,connectedUser:P,connectedSiteId:Z,isOpen:O,onClose:R}=e;let L="";(0,i.jetpackConfigHas)("consumer_slug")&&(L=(0,i.jetpackConfigGet)("consumer_slug"));const z=(0,p.useMemo)((()=>({context:M,plugin:L})),[M,L]);(0,p.useEffect)((()=>{n.ZP.setApiRoot(y),n.ZP.setApiNonce(C)}),[y,C]),(0,p.useEffect)((()=>{P&&P.ID&&P.login&&a.Z.initialize(P.ID,P.login)}),[P,P.ID,P.login]),(0,p.useEffect)((()=>{O&&a.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",z)}),[O,z]),(0,p.useEffect)((()=>{O&&(o?!o||f||E?f&&!E?a.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},z)):E&&a.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},z)):a.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},z)):a.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},z)))}),[O,o,f,E,z]);const I=(0,p.useCallback)((()=>{n.ZP.disconnectSite().then((()=>{s(!1),c(!0)})).catch((e=>{s(!1),k(e),T&&T(e)}))}),[s,c,k,T]),U=(0,p.useCallback)(((e,t)=>{b(!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);a.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),w(!0),b(!1)})).catch((e=>{a.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),w(!0),b(!1)}))}),[b,w]),D=(0,p.useCallback)((e=>{e&&e.preventDefault(),k(!1),s(!0),"plugins"!==M?I():N&&N(e)}),[k,s,N,M,I]),V=(0,p.useCallback)((e=>a.Z.tracks.recordEvent(e,z)),[z]),B=(0,p.useCallback)((()=>!(!P.ID||!Z)),[P,Z]),F=(0,p.useCallback)(((e,t,s)=>{if(s&&s.preventDefault(),!B())return void w(!0);const a={site_id:Z,user_id:P.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},n=Object.assign({},z,{disconnect_reason:e});U(a,n)}),[U,w,B,Z,P,z]),H=(0,p.useCallback)((e=>{e&&e.preventDefault(),x&&x(),R()}),[x,R]),J=(0,p.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return d().createElement(d().Fragment,null,O&&d().createElement(r.Modal,{title:"",contentLabel:S,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:R,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(o?" jp-connection__disconnect-dialog__success":"")},o?!o||f||E?f&&!E?d().createElement(h.Z,{isSubmittingFeedback:_,onFeedBackProvided:F,onExit:H}):E?d().createElement(g.Z,{onExit:H}):void 0:d().createElement(m.Z,{canProvideFeedback:B(),onProvideFeedback:J,onExit:H}):d().createElement(u.Z,{title:S,connectedPlugins:j,disconnectStepComponent:A,isDisconnecting:t,closeModal:R,onDisconnect:D,disconnectError:l,context:M,disconnectingPlugin:L,trackModalClick:V})))};k.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},k.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}};const f=k},45995:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(69026),n=s(55609),i=s(69307),r=s(65736),o=s(15844),c=s.n(o),l=s(99196),p=s.n(l),d=s(62042);const __=r.__,u=e=>{const{onExit:t,canProvideFeedback:s,onProvideFeedback:r}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(a.Z,{icon:"unlink",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,i.createInterpolateElement)(__("Jetpack has been <br/>successfully disconnected.","jetpack"),{br:p().createElement("br",null)})),s&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),p().createElement("p",null,p().createElement(n.Button,{variant:"primary",onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!s&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(n.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};u.propTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool};const m=u},9015:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(6895),n=s(55609),i=s(69307),r=s(65736),o=s(15844),c=s.n(o),l=s(99196),p=s.n(l),d=s(57879);const __=r.__,u=e=>{const{title:t,isDisconnecting:s,onDisconnect:r,disconnectError:o,disconnectStepComponent:c,connectedPlugins:u,disconnectingPlugin:m,closeModal:h,context:g,trackModalClick:k}=e,f=(0,l.useCallback)((()=>k("jetpack_disconnect_dialog_click_learn_about")),[k]),v=(0,l.useCallback)((()=>k("jetpack_disconnect_dialog_click_support")),[k]),E=(0,l.useCallback)((()=>{k("jetpack_disconnect_dialog_click_stay_connected"),h()}),[k,h]),w=(0,l.useCallback)((e=>{k("jetpack_disconnect_dialog_click_disconnect"),r(e)}),[k,r]),_=(0,l.useCallback)((e=>{"Escape"!==e.key||s||E()}),[E,s]);(0,l.useEffect)((()=>(document.addEventListener("keydown",_,!1),()=>{document.removeEventListener("keydown",_,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),p().createElement(d.Z,{connectedPlugins:u,disconnectingPlugin:m}),c,(()=>{if(!(u&&Object.keys(u).filter((e=>e!==m)).length)&&!c)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"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,i.createInterpolateElement)(__("<strong>Need help?</strong> Learn more about the <jpConnectionInfoLink>Jetpack connection</jpConnectionInfoLink> or <jpSupportLink>contact Jetpack support</jpSupportLink>.","jetpack"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(n.ExternalLink,{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:f}),jpSupportLink:p().createElement(n.ExternalLink,{href:(0,a.Z)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:v})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(n.Button,{variant:"primary",disabled:s,onClick:E,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===g?__("Cancel","jetpack"):__("Stay connected","jetpack",0)),(()=>{let e=__("Disconnect","jetpack");return s?e=__("Disconnecting…","jetpack"):"plugins"===g&&(e=__("Deactivate","jetpack")),p().createElement(n.Button,{variant:"primary",disabled:s,onClick:w,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),o&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},o)))};u.propTypes={title:c().string,isDisconnecting:c().bool,onDisconnect:c().func,disconnectError:c().bool,disconnectStepComponent:c().element,connectedPlugins:c().array,disconnectingPlugin:c().string,closeModal:c().func,context:c().string,trackModalClick:c().func};const m=u},31702:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65736),n=s(15844),i=s.n(n),r=s(99196),o=s.n(r),c=(s(88043),s(36336));const __=a.__,l=e=>{const{onExit:t,onFeedBackProvided:s,isSubmittingFeedback:a}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),o().createElement(c.Z,{onSubmit:s,isSubmittingFeedback:a}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};l.PropTypes={onExit:i().func,onFeedBackProvided:i().func,isSubmittingFeedback:i().bool};const p=l},61166:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(69026),n=s(55609),i=s(69307),r=s(65736),o=s(15844),c=s.n(o),l=s(99196),p=s.n(l),d=s(90724);const __=r.__,u=e=>{const{onExit:t}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(a.Z,{format:"vertical",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,i.createInterpolateElement)(__("Your answer has been submitted. <br/>Thanks for your input on how we can improve Jetpack.","jetpack"),{br:p().createElement("br",null)})),p().createElement(n.Button,{variant:"primary",onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};u.PropTypes={onExit:c().func,assetBaseUrl:c().string};const m=u},36336:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(55609),n=s(65736),i=s(15844),r=s.n(i),o=s(99196),c=s.n(o),l=s(54372);const __=n.__,p=e=>{const{onSubmit:t,isSubmittingFeedback:s}=e,[n,i]=(0,o.useState)(),[r,p]=(0,o.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],u="another-reason",m=(0,o.useCallback)((()=>{t(n,n===u?r:"")}),[t,u,r,n]),h=(0,o.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),p(t)}),[p]),g=e=>e===n?"jp-connect__disconnect-survey-card--selected":"",k=(0,o.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":i(e)}}),[i]);return c().createElement(c().Fragment,null,c().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>c().createElement(l.Z,{id:e.id,onClick:i,onKeyDown:k,className:"card jp-connect__disconnect-survey-card "+g(e.id)},c().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),c().createElement(l.Z,{id:u,key:u,onClick:i,onKeyDown:k,className:"card jp-connect__disconnect-survey-card "+g(u)},c().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",c().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:r,onChange:h,maxLength:1e3})))),c().createElement("p",null,c().createElement(a.Button,{disabled:!n||s,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},s?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};p.PropTypes={onSubmit:r().func,isSubmittingFeedback:r().bool};const d=p},54372:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(99196),n=s.n(a);s(88043);const i=e=>{const{id:t,onClick:s,onKeyDown:i,children:r,className:o}=e,c=(0,a.useCallback)((()=>{s(t)}),[t,s]),l=(0,a.useCallback)((e=>{i(t,e)}),[t,i]);return n().createElement("div",{tabIndex:"0",role:"button",onClick:c,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+o},r)}},31294:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(64743),n=s(9818),i=s(99196),r=s(80428);const o=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},c=({registrationNonce:e=o.registrationNonce,apiRoot:t=o.apiRoot,apiNonce:s=o.apiNonce,redirectUri:c,autoTrigger:l,from:p,skipUserConnection:d}={})=>{const{registerSite:u,connectUser:m,refreshConnectedPlugins:h}=(0,n.useDispatch)(r.t),g=(0,n.useSelect)((e=>e(r.t).getRegistrationError())),{siteIsRegistering:k,userIsConnecting:f,userConnectionData:v,connectedPlugins:E,connectionErrors:w,isRegistered:_,isUserConnected:b,hasConnectedOwner:y,isOfflineMode:C}=(0,n.useSelect)((e=>({siteIsRegistering:e(r.t).getSiteIsRegistering(),userIsConnecting:e(r.t).getUserIsConnecting(),userConnectionData:e(r.t).getUserConnectionData(),connectedPlugins:e(r.t).getConnectedPlugins(),connectionErrors:e(r.t).getConnectionErrors(),isOfflineMode:e(r.t).getIsOfflineMode(),...e(r.t).getConnectionStatus()}))),j=()=>d?c?(window.location=c,Promise.resolve(c)):Promise.resolve():m({from:p,redirectUri:c}),S=t=>(t&&t.preventDefault(),_?j():u({registrationNonce:e,redirectUri:c}).then((()=>j())));return(0,i.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(s)}),[t,s]),(0,i.useEffect)((()=>{!l||k||f||S()}),[]),{handleRegisterSite:S,handleConnectUser:j,refreshConnectedPlugins:h,isRegistered:_,isUserConnected:b,siteIsRegistering:k,userIsConnecting:f,registrationError:g,userConnectionData:v,hasConnectedOwner:y,connectedPlugins:E,connectionErrors:w,isOfflineMode:C}}},51045:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(64743),n=s(9818),i=s(99196),r=s(80428);const{apiRoot:o,apiNonce:c}=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};function l(){const[e,t]=(0,i.useState)(!1),[s,l]=(0,i.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:d}=(0,n.useDispatch)(r.t);return(0,i.useEffect)((()=>{a.ZP.setApiRoot(o),a.ZP.setApiNonce(c)}),[]),{restoreConnection:(e=!0)=>(t(!0),l(null),a.ZP.reconnect().then((t=>("in_progress"===t.status?(p(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),t))).catch((e=>{throw l(e),t(!1),e}))),isRestoringConnection:e,restoreConnectionError:s}}},27523:(e,t,s)=>{"use strict";s.d(t,{LI:()=>i,N4:()=>o,Qo:()=>d,T1:()=>l,TS:()=>p,ZP:()=>b,b5:()=>m,i6:()=>n,qJ:()=>h,qV:()=>c,r7:()=>r,wQ:()=>u});var a=s(64743);const n="SET_CONNECTION_STATUS",i="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:n,connectionStatus:e}),k=e=>({type:r,isRegistering:e}),f=e=>({type:o,isConnecting:e}),v=e=>({type:c,registrationError:e}),E=()=>({type:l}),w=e=>({type:p,authorizationUrl:e}),_=e=>({type:u,connectedPlugins:e});const b={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:i,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:k,setUserIsConnecting:f,setRegistrationError:v,clearRegistrationError:E,setAuthorizationUrl:w,registerSite:function*({registrationNonce:e,redirectUri:t}){yield E(),yield k(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t};return yield g({isRegistered:!0}),yield w(s.authorizeUrl),yield k(!1),Promise.resolve(s)}catch(e){return yield v(e),yield k(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:s}={}){yield f(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:s}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:_,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>a.ZP.fetchConnectedPlugins().then((s=>{e(_(s)),t(s)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},31432:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(64743),n=s(9818),i=s(27057);const r={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>a.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t})=>a.ZP.registerSite(e,t),CONNECT_USER:(0,n.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:s,redirectUri:a}={})=>new Promise(((n,r)=>{e(i.Z).getAuthorizationUrl(a).then((e=>{const a=s||(e=>window.location.assign(e)),i=new URL(e);t&&i.searchParams.set("from",encodeURIComponent(t));const r=i.toString();a(r),n(r)})).catch((e=>{r(e)}))}))))}},41479:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(9818),n=s(27523);const i=(0,a.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case n.i6:return{...e,...t.connectionStatus};case n.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===n.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===n.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===n.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case n.T1:return!1;case n.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===n.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===n.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===n.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===n.qJ?t.isConnecting:e})},77728:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(9818),n=s(27523),i=s(27057);const r={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const s=Boolean(e.authorizationUrl),n=(0,a.select)(i.Z).hasFinishedResolution("getAuthorizationUrl",t);return s&&!n&&(0,a.dispatch)(i.Z).finishResolution("getAuthorizationUrl",t),s},*fulfill(e){const t=yield n.ZP.fetchAuthorizationUrl(e);yield n.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},82725:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},13535:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(9818);class n{static store=null;static mayBeInit(e,t){null===n.store&&(n.store=(0,a.createReduxStore)(e,t),(0,a.register)(n.store))}}const i=n},27057:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a="jetpack-connection"},80428:(e,t,s)=>{"use strict";s.d(t,{t:()=>l.Z});var a=s(27523),n=s(31432),i=s(41479),r=s(77728),o=s(82725),c=s(13535),l=s(27057);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."),c.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:i.Z,actions:a.ZP,selectors:o.Z,resolvers:r.Z,controls:n.Z,initialState:p||{}})},18728:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(6975),n=s(78868),i=s(45033),r=s(55609),o=s(69307),c=s(65736),l=s(61074),p=s(30797),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m);const __=c.__,g=e=>{const{className:t,disabled:s,onChange:a,value:n}=e;return h().createElement(r.TextControl,{className:t,label:__("License key","jetpack"),value:n,onChange:a,disabled:s})},k=e=>{const{className:t,availableLicenses:s,disabled:a,onChange:n,value:i}=e,[o,l]=(0,m.useState)(""),p=null===s,d=(0,m.useMemo)((()=>p?[{label:__("Fetching available licenses…","jetpack"),value:""}]:[...s.map((({product:e,license_key:t})=>({label:(0,c.sprintf)(/* translators: placeholder is the product name and license key */
__("%1$s - %2$s","jetpack"),e,t),value:t}))),{label:__("I want to add a license key manually","jetpack"),value:""}]),[s,p]);(0,m.useEffect)((()=>{l(d?.length?d[0].value:"")}),[d]);const u=(0,m.useCallback)((e=>{l(e),n(e)}),[n]);return h().createElement(h().Fragment,null,h().createElement(r.SelectControl,{className:t,disabled:a,label:__("Select a license key","jetpack"),value:o,options:d,onChange:u}),!p&&!o&&h().createElement(r.TextControl,{className:t,label:__("Input a license key","jetpack"),value:i,onChange:n,disabled:a}))},f=e=>{const{activateLicense:t,availableLicenses:s,fetchingAvailableLicenses:c,isActivating:d,license:u,licenseError:f,onLicenseChange:v}=e,E=null!=f;(0,m.useEffect)((()=>{a.Z.tracks.recordEvent("jetpack_wpa_license_key_activation_view")}),[]);const w=E?"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",_=s&&s.length;return h().createElement("div",{className:"jp-license-activation-screen-controls"},h().createElement("div",{className:"jp-license-activation-screen-controls--content"},h().createElement(n.Z,{showText:!1,height:48}),h().createElement("h1",null,__("Add a license key","jetpack")),h().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"),{strong:h().createElement("strong",null)})),c||_?h().createElement(k,{className:w,disabled:c||d,onChange:v,availableLicenses:c?null:s,value:u}):h().createElement(g,{className:w,disabled:d,onChange:v,value:u}),E&&h().createElement("div",{className:"jp-license-activation-screen-controls--license-field-error"},h().createElement(l.Z,{icon:p.Z}),h().createElement("span",null,f))),h().createElement("div",null,h().createElement(r.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!u},d?h().createElement(i.Z,null):__("Activate","jetpack"))))};f.propTypes={activateLicense:u().func.isRequired,availableLicenses:u().array,fetchingAvailableLicenses:u().bool,isActivating:u().bool.isRequired,license:u().string.isRequired,licenseError:u().string,onLicenseChange:u().func.isRequired,siteUrl:u().string.isRequired};const v=f},58781:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(6895),n=s(69307),i=s(65736),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);const __=i.__,p=e=>{const{imageUrl:t,showSupportLink:s=!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:""})),s&&l().createElement("p",{className:"jp-license-activation-screen-illustration--support-link"},(0,n.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack"),{a:l().createElement("a",{href:(0,a.Z)("jetpack-support-license-activation")})})))};p.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const d=p},37554:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(78868),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r),c=s(83157),l=s(48288),p=s(14172);const d=e=>{const{productId:t,siteRawUrl:s,siteAdminUrl:n,currentRecommendationsStep:i}=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(a.Z,{showText:!1,height:48})),o().createElement(l.Z,{siteRawUrl:s,productId:t}),o().createElement("div",{className:"jp-license-activation-screen-success-info--buttons"},o().createElement(c.c,{currentRecommendationsStep:i,siteAdminUrl:n,siteRawUrl:s,productId:t}),o().createElement(p.o,{siteRawUrl:s,productId:t})))};d.propTypes={siteRawUrl:i().string,productId:i().number,siteAdminUrl:i().string,currentRecommendationsStep:i().string};const u=d},83157:(e,t,s)=>{"use strict";s.d(t,{c:()=>d});var a=s(6895),n=s(55609),i=s(65736),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(69430);const __=i.__,d=e=>{const{currentRecommendationsStep:t,siteAdminUrl:s,siteRawUrl:i,productId:r}=e,o=(0,p.F)(r);return"jetpack_social_advanced"===o&&((0,p.T)("jetpack/jetpack.php")||(0,p.T)("jetpack/jetpack-social.php"))?l().createElement(n.Button,{className:"jp-license-activation-screen-success-info--button",href:s+((0,p.T)("jetpack/jetpack.php")?"admin.php?page=jetpack#/recommendations/welcome-social-advanced":"admin.php?page=jetpack-social")},__("Configure my site","jetpack")):"jetpack_social_basic"===o&&((0,p.T)("jetpack/jetpack.php")||(0,p.T)("jetpack/jetpack-social.php"))?l().createElement(n.Button,{className:"jp-license-activation-screen-success-info--button",href:s+((0,p.T)("jetpack/jetpack.php")?"admin.php?page=jetpack#/recommendations/welcome-social-basic":"admin.php?page=jetpack-social")},__("Configure my site","jetpack")):"not-started"===t?l().createElement(n.Button,{className:"jp-license-activation-screen-success-info--button",href:s+"admin.php?page=jetpack#/recommendations"},__("Configure my site","jetpack")):l().createElement(n.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,a.Z)("license-activation-view-my-plans",{site:i})},__("View my plans","jetpack"))};d.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},14172:(e,t,s)=>{"use strict";s.d(t,{o:()=>d});var a=s(6895),n=s(55609),i=s(65736),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(69430);const __=i.__,d=e=>{const{productId:t,siteRawUrl:s}=e,i={jetpack_backup:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_complete:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},jetpack_scan:{text:__("View scan results","jetpack"),redirectSource:"jetpack-license-activation-success-scan"},jetpack_search:{text:__("Configure search","jetpack"),redirectSource:"jetpack-license-activation-success-search"},jetpack_security:{text:__("View latest backup","jetpack"),redirectSource:"jetpack-license-activation-success-backup"},default:null}[(0,p.F)(t)];return l().createElement(l().Fragment,null,i&&l().createElement(n.ExternalLink,{className:"jp-license-activation-screen-success-info--external-link",href:(0,a.Z)(i.redirectSource,{site:s})},i.text))};d.propTypes={siteRawUrl:o().string,productId:o().number}},20468:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(6975),n=s(64743),i=s(69307),r=s(65736),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(18728),u=s(58781),m=s(37554),h=s(89644),g=s(88702),k=s(21160);const __=r.__,f=e=>{const{availableLicenses:t=[],currentRecommendationsStep:s,fetchingAvailableLicenses:r=!1,onActivationSuccess:o=(()=>null),siteAdminUrl:c,siteRawUrl:f,startingLicense:v,displayName:E=""}=e,[w,_]=(0,l.useState)(v??""),[b,y]=(0,l.useState)(null),[C,j]=(0,l.useState)(!1),[S,N]=(0,l.useState)(null);(0,l.useEffect)((()=>{t&&t[0]&&_(t[0].license_key)}),[t]);const x=(0,l.useCallback)((()=>C?Promise.resolve():w.length<1?(y(__("This is not a valid license key. Please try again.","jetpack")),Promise.resolve()):(y(null),j(!0),a.Z.tracks.recordJetpackClick({target:"license_activation_button"}),n.ZP.attachLicenses([w]).then((e=>{const t=(e=>{let t=e;for(;Array.isArray(t)&&t.length>0;)t=t[0];if(t?.activatedProductId)return t.activatedProductId;if(t?.errors)for(const e in t.errors)if(t.errors[e].length>0)throw new Error(t.errors[e][0]);throw new Error(__("An unknown error occurred during license activation. Please try again.","jetpack"))})(e);N(t),o(t),a.Z.tracks.recordEvent("jetpack_wpa_license_activation_success")})).catch((e=>{a.Z.tracks.recordEvent("jetpack_wpa_license_activation_error");"invalid_permission_manage_user_licenses"===e.response?.code?y((0,i.createInterpolateElement)(__("You either do not have permissions to perform this action or a user account needs to be connected. <connectLink>Click here to connect your user account</connectLink> or contact your administrator.","jetpack"),{connectLink:p().createElement("a",{href:"admin.php?page=my-jetpack#/connection?returnTo=add-license"})})):y(e.message)})).finally((()=>{j(!1)})))),[C,w,o]);return null!==S&&w.startsWith("jetpack-golden-token")?p().createElement(h.Z,{tokenRedeemed:!0,displayName:E}):null!==S?p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(m.Z,{siteRawUrl:f,productId:S,siteAdminUrl:c,currentRecommendationsStep:s}),p().createElement(u.Z,{imageUrl:k,showSupportLink:!1})):p().createElement("div",{className:"jp-license-activation-screen"},p().createElement(d.Z,{availableLicenses:t,activateLicense:x,fetchingAvailableLicenses:r,isActivating:C,license:w,licenseError:b,onLicenseChange:_,siteUrl:f}),p().createElement(u.Z,{imageUrl:g,showSupportLink:!0}))};f.propTypes={availableLicenses:c().array,currentRecommendationsStep:c().string,fetchingAvailableLicenses:c().bool,onActivationSuccess:c().func,siteAdminUrl:c().string.isRequired,siteRawUrl:c().string.isRequired,startingLicense:c().string,displayName:c().string};const v=f},89644:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(3396),n=s(13363),i=s(73846),r=s(78868),o=s(90526),c=s(55609),l=s(65736),p=s(65235),d=s.n(p),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h),k=s(9459);const __=l.__,_x=l._x;function f({redeemClick:e,displayName:t,onModalClose:s,tokenRedeemed:p}){const[u,m]=(0,h.useState)(!1),f=(0,h.useRef)(null);(0,h.useEffect)((()=>{setTimeout((()=>{f?.current?.play()}),500)}),[f]);const v=(0,a.VS)("scan"),E=(0,a.VS)("backup"),w=(0,h.useCallback)((t=>{e?.(t),m(!0),f.current.play()}),[f,e]),_=(0,h.useCallback)((()=>{u&&f.current.play()}),[u]),b=d()(k.Z.modal,{[k.Z.animating]:u});return g().createElement("div",null,g().createElement(c.Modal,{className:b,onRequestClose:s,isDismissible:!1,__experimentalHideHeader:!0},g().createElement(n.Z,{horizontalSpacing:3,horizontalGap:3},g().createElement(i.Z,null,g().createElement(r.Z,{className:k.Z["jetpack-logo"]}),g().createElement("div",{className:k.Z["video-wrap"],onClick:_,role:"presentation"},g().createElement("video",{ref:f,src:"https://videos.files.wordpress.com/oSlNIBQO/jetpack-golden-token.mp4",muted:"muted"})),g().createElement("div",{className:k.Z["content-wrap"]},g().createElement("div",{className:k.Z["content-wrap-text"]},t.length>0&&g().createElement("p",{className:k.Z["hi-user"]},(0,l.sprintf)(/* Translators: %s is the user's display name. */
__("Hey, %s","jetpack"),t)),g().createElement("h2",{className:k.Z.headline},__("You have been gifted a Jetpack Golden Token.","jetpack")),g().createElement("p",null,p&&__("This unlocked a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience is already active.","jetpack"),!p&&__("This unlocks a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience awaits.","jetpack"))),g().createElement(o.Z,{variant:"primary",weight:"regular",onClick:w,className:k.Z.button},p&&__("Awesome!","jetpack"),!p&&__("Redeem your token","jetpack"))),g().createElement("div",{className:`${k.Z["powers-wrap"]} ${k.Z["content-wrap"]}`},g().createElement("div",{className:k.Z["content-wrap-text"]},g().createElement("h2",{className:k.Z.headline},__("Super powers are ready!","jetpack")),g().createElement("p",{className:k.Z.paragraph},__("Your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack"))),g().createElement("div",{className:k.Z["jetpack-products"]},g().createElement("div",null,g().createElement(E,null),g().createElement("h3",null,__("VaultPress Backup","jetpack")),g().createElement("p",null,__("Save every change and get back online quickly with one‑click restores.","jetpack"))),g().createElement("div",null,g().createElement(v,null),g().createElement("h3",null,_x("Scan","Plugin name (noun).","jetpack")),g().createElement("p",null,__("Automated scanning and one‑click fixes to keep your site ahead of security threats.","jetpack")))),g().createElement(o.Z,{variant:"primary",weight:"regular",onClick:w,href:window?.myJetpackInitialState?.myJetpackUrl,className:k.Z.button},__("Explore your new powers","jetpack")))))))}f.defaultProps={tokenRedeemed:!1,onModalClose:e=>{document.referrer.includes(window.location.host)?(e.preventDefault(),history.back()):(e.preventDefault(),window.location.href=window?.myJetpackInitialState?.myJetpackUrl)}},f.propTypes={redeemClick:m().func,tokenRedeemed:m().bool,displayName:m().string,onModalClose:m().func};const v=f},53281:(e,t,s)=>{"use strict";s.d(t,{I:()=>a.Z});var a=s(20468);s(89644)},10221:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s.n(i),o=s(881),c=s(84859);const l=e=>{const{apiNonce:t,apiRoot:s,connectionStatus:a,partnerCoupon:n,assetBaseUrl:i,registrationNonce:l,siteRawUrl:p,tracksUserData:d,analytics:u}=e;return a.hasConnectedOwner?r().createElement(o.ZP,{assetBaseUrl:i,connectionStatus:a,partnerCoupon:n,siteRawUrl:p,tracksUserData:!!d,analytics:u}):r().createElement(c.Z,{apiNonce:t,registrationNonce:l,apiRoot:s,assetBaseUrl:i,connectionStatus:a,partnerCoupon:n,siteRawUrl:p,tracksUserData:!!d,analytics:u})};l.propTypes={apiRoot:n().string.isRequired,apiNonce:n().string.isRequired,assetBaseUrl:n().string.isRequired,connectionStatus:n().object.isRequired,partnerCoupon:n().object.isRequired,registrationNonce:n().string.isRequired,siteRawUrl:n().string.isRequired,tracksUserData:n().bool.isRequired,analytics:n().object};const p=l},881:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>h});var a=s(78868),n=s(67121),i=s(65736),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(9864);const __=i.__,d="jetpackRedeemPartnerCouponDismissedAt";function u(){const e=localStorage.getItem(d);return!(!e||(new Date).getTime()>parseInt(e)+2592e5)}const m=e=>{const{connectionStatus:t,partnerCoupon:s,assetBaseUrl:r,siteRawUrl:o,tracksUserData:m,analytics:h}=e,[g,k]=(0,c.useState)(u()),f=(0,p.i)(s,o,t,m,h),v=(0,c.useCallback)((()=>{localStorage.setItem(d,(new Date).getTime()),k(u())}),[k]);if(g)return null;let E=null;return E=s.partner.logo?l().createElement(l().Fragment,null,l().createElement(a.Z,null),l().createElement("span",null,"+"),l().createElement("img",{src:`${r}${s.partner.logo.src}`,alt:(0,i.sprintf)(/* translators: %s: Name of Jetpack partner. */
__("Logo of %s who are offering a coupon in partnership with Jetpack","jetpack"),s.partner.name),width:s.partner.logo.width,height:s.partner.logo.height})):l().createElement(a.Z,null),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__layout"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__content"},l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__logo"},E),l().createElement("h2",{className:"jetpack-redeem-partner-coupon-post-connection__heading"},__("One free year of Jetpack Backup","jetpack"))),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__aside",style:{backgroundImage:`url(${r}/images/jetpack-aside-background.jpg)`}},l().createElement("img",{src:r+"/images/cloud-checkmark.svg",alt:""})),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__subcontent"},l().createElement("p",null,(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year! Never worry about losing your data, ever.","jetpack"),s.product.title)),l().createElement("ul",null,s.product.features.map(((e,t)=>l().createElement("li",{key:t},e)))),l().createElement("div",{className:"jetpack-redeem-partner-coupon-post-connection__actions"},l().createElement("div",null,l().createElement(n.Z,{label:(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),s.product.title),onClick:f})),l().createElement("div",null,l().createElement("button",{className:"jetpack-redeem-partner-coupon-post-connection__remind-me-later",onClick:v},__("Remind me later","jetpack")))))))};m.propTypes={assetBaseUrl:o().string.isRequired,connectionStatus:o().object.isRequired,partnerCoupon:o().object.isRequired,siteRawUrl:o().string.isRequired,tracksUserData:o().bool.isRequired,analytics:o().object};const h=m},84859:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(67121),n=s(9312),i=s(65736),r=s(65235),o=s.n(r),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(9864);const __=i.__,m=e=>{const{apiNonce:t,apiRoot:s,connectionStatus:r,partnerCoupon:c,assetBaseUrl:l,registrationNonce:p,siteRawUrl:m,tracksUserData:h,analytics:g}=e,k=(0,u.i)(c,m,r,h,g),f=o()("jetpack-redeem-partner-coupon-pre-connection",{"jetpack-redeem-partner-coupon-pre-connection--connected":!!r.hasConnectedOwner});return d().createElement("div",{className:f},d().createElement(n.Z,{apiNonce:t,registrationNonce:p,apiRoot:s,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:l,from:"jetpack-partner-coupon",title:(0,i.sprintf)(/* translators: %s: Jetpack partner name. */
__("Welcome to Jetpack %s traveler!","jetpack"),c.partner.name),buttonLabel:(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Set up & redeem %s","jetpack"),c.product.title),redirectUri:`admin.php?page=jetpack&partnerCoupon=${c.coupon_code}`,connectionStatus:r},d().createElement("p",null,(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year!","jetpack"),c.product.title)),d().createElement("ul",null,c.product.features.map(((e,t)=>d().createElement("li",{key:t},e)))),r.hasConnectedOwner&&d().createElement(a.Z,{label:(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),c.product.title),onClick:k})))};m.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,assetBaseUrl:l().string.isRequired,connectionStatus:l().object.isRequired,partnerCoupon:l().object.isRequired,registrationNonce:l().string.isRequired,siteRawUrl:l().string.isRequired,tracksUserData:l().bool.isRequired,analytics:l().object};const h=m},1862:(e,t,s)=>{"use strict";s.d(t,{es:()=>a.Z});var a=s(10221);s(84859),s(881)},81050:(e,t,s)=>{"use strict";s.d(t,{AutoConversionToggle:()=>n.Z,RefreshJetpackSocialSettingsWrapper:()=>r.Z,SocialImageGeneratorToggle:()=>a.Z,TemplatePickerButton:()=>i.Z});s(23177),s(4277),s(49021),s(95788),s(8454),s(74140),s(54005),s(8350);var a=s(76848),n=s(92116),i=s(79631),r=(s(8714),s(19649),s(52403),s(91750),s(77106));s(37568),s(48751),s(14085),s(45579),s(75323),s(42032),s(91474),s(19890),s(32637),s(86419),s(34431),s(71806),s(22917)},92116:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(48229),n=s(9818),i=s(69307),r=s(99196),o=s.n(r),c=s(23177);const l=({toggleClass:e,children:t})=>{const{isEnabled:s,isUpdating:r}=(0,n.useSelect)((e=>{const t=e(c.Eg);return{isEnabled:t.isAutoConversionEnabled(),isUpdating:t.isAutoConversionSettingsUpdating()}}),[]),l=(0,n.useDispatch)(c.Eg).updateAutoConversionSettings,p=(0,i.useCallback)((()=>{l({enabled:!s})}),[s,l]);return o().createElement(a.Z,{className:e,disabled:r,checked:s,onChange:p,label:t})}},85761:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(3396),n=s(69307),i=s(65235),r=s.n(i),o=s(15844),c=s.n(o);const l=e=>{const{checked:t,serviceName:s,label:i,onClick:o,profilePicture:c}=e,[l,p]=(0,n.useState)(!!c),d=(0,n.useCallback)((()=>p(!1)),[]),u=(0,n.useCallback)((e=>{13===e.keyCode&&o()}),[o]);return React.createElement("div",{onClick:o,onKeyDown:u,role:"switch","aria-checked":t,tabIndex:"0",className:r()("components-connection-icon",{"components-connection-icon__picture":l})},l&&React.createElement("img",{src:c,alt:i,onError:d}),React.createElement(a.av,{alt:i,serviceName:"instagram-business"===s?"instagram":"twitter"===s?"x":s,className:"jetpack-publicize-gutenberg-social-icon"}))};l.propTypes={serviceName:c().string,label:c().string,profilePicture:c().string};const p=l},24479:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(65235),n=s.n(a),i=s(15844),r=s.n(i),o=s(85761);const c=e=>{const{checked:t,disabled:s,onChange:a,serviceName:i,label:r,profilePicture:c}=e,l=n()("components-connection-toggle",{"is-not-checked":!t,"is-disabled":s});return React.createElement("div",{className:l,title:r},React.createElement(o.Z,{checked:t,label:r,onClick:a,serviceName:i,profilePicture:c}))};c.propTypes={className:r().string,checked:r().bool,id:r().string.isRequired,disabled:r().bool,onChange:r().func,serviceName:r().string,label:r().string,profilePicture:r().string};const l=c},49021:(e,t,s)=>{"use strict";var a=s(55609),n=s(94333),i=s(9818),r=s(69307),o=s(65736),c=s(23177);const __=o.__;class l extends r.Component{componentDidMount(){this.props.refreshConnections()}refreshConnectionClick=e=>{const{href:t,title:s}=e.target;e.preventDefault();const a=window.open(t,s,""),n=window.setInterval((()=>{!1!==a.closed&&(window.clearInterval(n),this.props.refreshConnections())}),500)};renderRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>e.can_refresh));return t.length?React.createElement(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,__("Before you hit Publish, please refresh the following connection(s) to make sure we can share your post:","jetpack")),t.map((e=>React.createElement(a.Button,{href:e.refresh_url,isSmall:!0,key:e.id,onClick:this.refreshConnectionClick,title:e.refresh_text},e.refresh_text)))):null}renderNonRefreshableConnections(){const{failedConnections:e}=this.props,t=e.filter((e=>!e.can_refresh));return t.length?t.map((e=>React.createElement(a.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},React.createElement("p",null,e.test_message)))):null}render(){return React.createElement(r.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}(0,n.compose)([(0,i.withSelect)((e=>({failedConnections:e(c.Eg).getFailedConnections()}))),(0,i.withDispatch)((e=>({refreshConnections:e(c.Eg).refreshConnectionTestResults})))])(l)},4277:(e,t,s)=>{"use strict";var a=s(13419),n=s(55609),i=s(9818),r=s(69307),o=s(65736),c=s(23177),l=s(24479),p=s(28161),d=s(91853);const __=o.__;class u extends r.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(n.Notice,{className:p.Z["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(n.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,a.lQ)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:s,name:a,profilePicture:n}=this.props,i="connection-"+a+"-"+t,r=a.replace("_","-"),o=React.createElement(l.Z,{id:i,className:d.Z["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:r,label:s,profilePicture:n});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.Z["connection-container"]},o))}}(0,i.withSelect)((e=>({failedConnections:e(c.Eg).getFailedConnections(),mustReauthConnections:e(c.Eg).getMustReauthConnections()})))(u)},1922:(e,t,s)=>{"use strict";s(13419),s(55609),s(69307),s(65736),s(81050),s(75323),s(62578)},87029:(e,t,s)=>{"use strict";s(13419),s(55609),s(69307),s(65736),s(81050),s(75323),s(62578),s(75631)},63503:(e,t,s)=>{"use strict";s(55609),s(69307),s(65736),s(81050),s(37568),s(62578)},75457:(e,t,s)=>{"use strict";s(9818),s(69307),s(81050),s(88219),s(39118),s(75263),s(98811),s(46791),s(37568),s(23177),s(4277),s(69709),s(75631)},82356:(e,t,s)=>{"use strict";s(55609),s(65736),s(14085),s(37568),s(75631)},95788:(e,t,s)=>{"use strict";s(55609),s(9818),s(69307),s(65736),s(81050),s(88219),s(75323),s(39118),s(75263),s(98811),s(46791),s(6230),s(96672),s(37568),s(23177),s(42032),s(1922),s(87029),s(63503),s(75457),s(82356),s(50523),s(89698),s(27730),s(63411),s(22124),s(45334)},50523:(e,t,s)=>{"use strict";s(55609),s(65736),s(81050),s(62578)},89698:(e,t,s)=>{"use strict";s(55609),s(69307),s(65736),s(81050),s(75323),s(62578)},27730:(e,t,s)=>{"use strict";s(13419),s(55609),s(9818),s(65736),s(34431),s(23177),s(32637),s(27941),s(75631),s(6785)},27941:(e,t,s)=>{"use strict";s(13419),s(55609),s(9818),s(65736),s(34431),s(23177),s(62578),s(6785)},63411:(e,t,s)=>{"use strict";s(65736),s(81050),s(88219),s(39118),s(75263),s(48751),s(29753),s(71961)},22124:(e,t,s)=>{"use strict";s(55609),s(69307),s(65736),s(81050),s(37568),s(62578)},6785:(e,t,s)=>{"use strict";s(9818),s(12238),s(69307)},45334:(e,t,s)=>{"use strict";s(55609),s(65736),s(62578)},9888:(e,t,s)=>{"use strict";s(86989),s(55609),s(9818),s(12238),s(65736),s(65235),s(99196),s(75263),s(58487)},3176:(e,t,s)=>{"use strict";s(55609),s(65736),s(34607),s(37548),s(42911)},37548:(e,t,s)=>{"use strict";s(55609),s(65736)},88649:(e,t,s)=>{"use strict";s(52175),s(55609),s(69307),s(65736),s(65235),s(46791),s(1795),s(13858),s(69339)},29753:(e,t,s)=>{"use strict";s(55609),s(69307);var a=s(65736);s(99196),s(88219),s(98811),s(88649),s(53513),s(45811);const __=a.__;__("Choose Media","jetpack")},71961:(e,t,s)=>{"use strict";s(55609),s(65736)},62578:(e,t,s)=>{"use strict";var a=s(55609),n=s(65736),i=s(61074),r=s(6163),o=s(65235),c=s.n(o),l=s(15844),p=s.n(l),d=s(82283);const __=n.__,u=({children:e,type:t="default",actions:s=[],onDismiss:n})=>{const o=c()(d.Z.notice,d.Z[`notice--${t}`]);return React.createElement("div",{className:o},React.createElement("div",{className:d.Z.content}," ",e," "),n&&React.createElement("button",{className:d.Z.dismiss,onClick:n},React.createElement(a.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(i.Z,{icon:r.Z})),s&&s.length>0&&React.createElement("div",{className:d.Z.actions},s.map((e=>e))))};u.propTypes={children:p().node.isRequired,type:p().oneOf(["default","highlight","warning","error"]),actions:p().arrayOf(p().element),onDismiss:p().func}},8714:(e,t,s)=>{"use strict";s(55609),s(9818),s(12238),s(69307),s(65736),s(14085),s(86419),s(37568),s(49021),s(95788),s(3176),s(91474),s(23761)},91750:(e,t,s)=>{"use strict";s(13419),s(9818),s(72067),s(12238),s(65736),s(37548),s(34607),s(45078)},52403:(e,t,s)=>{"use strict";s(13419),s(86989),s(72067),s(69307),s(14085),s(86419),s(37568),s(19649)},77106:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(9818),n=s(23177);function i({shouldRefresh:e,children:t}){const s=(0,a.useDispatch)(n.Eg).refreshJetpackSocialSettings;return e&&s(),t}},19649:(e,t,s)=>{"use strict";s(13419),s(65736),s(99196),s(2097)},69709:(e,t,s)=>{"use strict";s(65736),s(14085),s(78619)},2817:(e,t,s)=>{"use strict";var a=s(65736);const __=a.__;__("X","jetpack"),__("WhatsApp","jetpack"),__("Facebook","jetpack")},22917:(e,t,s)=>{"use strict";s(34607)},34607:(e,t,s)=>{"use strict";s(13419),s(69307),s(65736),s(65235),s(2817),s(30664),s(38730)},38730:(e,t,s)=>{"use strict";s(9818),s(69307),s(71806)},32637:(e,t,s)=>{"use strict";s(69307),s(65736),s(65235),s(73640)},91474:(e,t,s)=>{"use strict";s(55609),s(9818),s(12238),s(69307),s(65736),s(53961),s(14085),s(45579),s(37568)},54005:(e,t,s)=>{"use strict";s(55609),s(69307),s(65736),s(75263),s(9888),s(81469)},81469:(e,t,s)=>{"use strict";s(55609),s(69307);var a=s(65736);s(75263),s(98811),s(9888),s(88649),s(39356),s(40088);const __=a.__;__("Choose Image","jetpack")},79631:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(32054),n=s(90526),i=s(9818),r=s(69307),o=s(65736),c=s(99196),l=s.n(c),p=s(23177),d=s(8350);const __=o.__,u=()=>{const[e,t]=(0,r.useState)(null),{isEnabled:s,isUpdating:o,defaultTemplate:c}=(0,i.useSelect)((e=>{const t=e(p.Eg);return{isEnabled:t.isSocialImageGeneratorEnabled(),isUpdating:t.isUpdatingSocialImageGeneratorSettings(),defaultTemplate:t.getSocialImageGeneratorDefaultTemplate()}}),[]),u=(0,i.useDispatch)(p.Eg).updateSocialImageGeneratorSettings;(0,r.useEffect)((()=>{if(e){u({template:e})}}),[e,u]);const[m]=(0,a.Z)("sm"),h=(0,r.useCallback)((({open:e})=>l().createElement(n.Z,{fullWidth:m,variant:"secondary",size:"small",disabled:o||!s,onClick:e},__("Change default template","jetpack"))),[s,m,o]);return l().createElement(d.Z,{value:e||c,onSelect:t,render:h})}},8350:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(88275),n=s(55609),i=s(69307),r=s(65736),o=s(39356),c=s(15214);const __=r.__,l=({onSelect:e,render:t,value:s=null})=>{const[r,l]=(0,i.useState)(!1),[p,d]=(0,i.useState)(s),u=(0,i.useCallback)((()=>l(!0)),[l]),m=(0,i.useCallback)((()=>{l(!1)}),[l]),h=(0,i.useCallback)((()=>{e(p),l(!1)}),[e,l,p]);return React.createElement(a.ZP,{targetDom:document.body},t({open:u}),r&&React.createElement(n.Modal,{onRequestClose:m,title:__("Pick a Template","jetpack")},React.createElement(o.Z,{value:p,onTemplateSelected:d}),React.createElement("div",{className:c.Z.footer},React.createElement(n.Button,{variant:"tertiary",onClick:m},__("Cancel","jetpack")),React.createElement(n.Button,{variant:"primary",onClick:h},__("Save","jetpack")))))}},39356:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(69307),n=s(65736),i=s(65235),r=s.n(i),o=s(47320),c=s(57227);const __=n.__,l=({value:e=null,onTemplateSelected:t=null})=>{const s=(0,a.useCallback)((e=>{const s=e.target.id;t?.(s)}),[t]);return React.createElement("div",{className:o.Z.templates},c.Z.map((t=>React.createElement("button",{onClick:s,id:t.name,key:t.name,className:r()(o.Z.template,{[o.Z["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},/* translators: %s is the name of the template */ /* translators: %s is the name of the template */
(0,n.sprintf)(__("Pick the %s template","jetpack"),t.label))))))}},57227:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(30253),n=s(91948),i=s(5353);const r=[{name:"highway",label:"Highway",image:s(27956)},{name:"dois",label:"Dois",image:a},{name:"edge",label:"Edge",image:n},{name:"fullscreen",label:"Fullscreen",image:i}]},76848:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(48229),n=s(9818),i=s(69307),r=s(99196),o=s.n(r),c=s(23177);const l=({toggleClass:e,children:t})=>{const{isEnabled:s,isUpdating:r}=(0,n.useSelect)((e=>{const t=e(c.Eg);return{isEnabled:t.isSocialImageGeneratorEnabled(),isUpdating:t.isUpdatingSocialImageGeneratorSettings()}}),[]),l=(0,n.useDispatch)(c.Eg).updateSocialImageGeneratorSettings,p=(0,i.useCallback)((()=>{l({enabled:!s})}),[s,l]);return o().createElement(a.Z,{className:e,disabled:r,checked:s,onChange:p,label:t})}},53513:(e,t,s)=>{"use strict";s(55609),s(69307);var a=s(65736);s(88219),s(89696);const __=a.__;__("You need a featured image or media attached to your post to be able to share as a social post.","jetpack"),__("By default, the image and text appear on social media as a link preview. To optimize engagement, share as a social post.","jetpack")},63855:(e,t,s)=>{"use strict";var a=s(82674),n=s.n(a),i=s(13477),r=s(9818),o=s(48751),c=s(23177);(0,r.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,o.Z)(),{title:s,excerpt:a,content:l}=e,p=(0,r.useSelect)((e=>{const{displayName:t,profileImage:s}=e(c.Eg).getConnectionProfileDetails(c.uJ);return{displayName:t,avatarUrl:s}}));return React.createElement(i.S,n()({},e,{type:"article",user:p,customText:t||a||l||s}))}))},83704:(e,t,s)=>{"use strict";s(82674),s(9818),s(22629),s(99196)},4124:(e,t,s)=>{"use strict";s(9818),s(99196),s(48751),s(23177)},27725:(e,t,s)=>{"use strict";s(9818),s(65736),s(99196),s(48751),s(23177)},28586:(e,t,s)=>{"use strict";s(82674),s(9818),s(22629),s(71806),s(48751),s(23177)},8454:(e,t,s)=>{"use strict";s(55609),s(65736),s(41809),s(9279)},18553:(e,t,s)=>{"use strict";s(9818),s(99196),s(48751),s(23177)},74140:(e,t,s)=>{"use strict";s(55609),s(65736),s(41809)},94714:(e,t,s)=>{"use strict";s(82674),s(9818),s(48751),s(23177)},24766:(e,t,s)=>{"use strict";s(9818),s(99196),s(71806),s(23177)},41809:(e,t,s)=>{"use strict";s(82674),s(65736),s(99196),s(23177),s(42032),s(63855),s(83704),s(4124),s(27725),s(28586),s(18553),s(94714),s(24766)},9279:(e,t,s)=>{"use strict";s(9818),s(65736),s(71806)},13858:(e,t,s)=>{"use strict";s(69307),s(87728)},88219:(e,t,s)=>{"use strict";s(71806)},75323:(e,t,s)=>{"use strict";s(13419),s(86989),s(69307)},39118:(e,t,s)=>{"use strict";s(9818),s(12238)},75263:(e,t,s)=>{"use strict";s(9818),s(12238),s(69307),s(71806)},98811:(e,t,s)=>{"use strict";s(9818),s(69307)},46791:(e,t,s)=>{"use strict";s(69307),s(1795)},1795:(e,t,s)=>{"use strict";const a="video/mp4",n="video/mov",i="video/videopress",r=["image/jpeg","image/jpg","image/png"],o=r.concat(["image/gif","image/bmp"]),c=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],l=r.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),p=["video/webm","video/quicktime","video/ogg"],d=r.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),u=[n,"video/avi","video/mpg","video/mpeg","video/m4v"];r.concat([a,i,n]),r.concat([a,i]),o.concat([i,...c]),r.concat([a,n,i]),r.concat([a,i]),l.concat([...p,a,i]),d.concat([...u,a,i]),new Set([...r,...o,...l,...c,...p,"image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"])},71806:(e,t,s)=>{"use strict";s.d(t,{R:()=>o});var a=s(9818),n=s(12238),i=s(69307),r=s(42032);function o(){const{editPost:e}=(0,a.useDispatch)(n.store),t=(0,a.useSelect)((e=>{const t=e(n.store).getEditedPostAttribute("meta")||{},s=t.jetpack_publicize_feature_enabled??!0,a=t.jetpack_social_options||{};return{isPublicizeEnabled:s,jetpackSocialOptions:a,attachedMedia:a.attached_media||[],imageGeneratorSettings:a.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,r.getShareMessageMaxLength)()),shouldUploadAttachedMedia:a.should_upload_attached_media??!1}}),[]),s=(0,i.useCallback)(((t,s)=>{e({meta:{[t]:s}})}),[e]),o=(0,i.useCallback)((()=>{s("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,s]),c=(0,i.useCallback)(((e,a)=>{s("jetpack_social_options",{...t.jetpackSocialOptions,[e]:a})}),[t.jetpackSocialOptions,s]);return(0,i.useMemo)((()=>({...t,togglePublicizeFeature:o,updateJetpackSocialOptions:c,updateMeta:s})),[t,o,c,s])}},14085:(e,t,s)=>{"use strict";s(13419),s(9818),s(12238),s(71806)},6230:(e,t,s)=>{"use strict";s(9818),s(69307),s(23177)},96672:(e,t,s)=>{"use strict";s(94333),s(69307),s(37568)},86419:(e,t,s)=>{"use strict";s(94333),s(9818),s(12238),s(69307)},34431:(e,t,s)=>{"use strict";s(9818),s(65736),s(23177)},45579:(e,t,s)=>{"use strict";s(13419),s(86989),s(9818),s(12238),s(69307),s(65736),s(37568),s(48751)},37568:(e,t,s)=>{"use strict";s(9818),s(23177)},48751:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(42032),n=s(71806);function i(){const{updateMeta:e,shareMessage:t}=(0,n.R)();return{message:t,maxLength:(0,a.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},19890:(e,t,s)=>{"use strict";s(9818),s(12238),s(23177),s(86419)},21052:(e,t,s)=>{"use strict";s.d(t,{Au:()=>c,Wh:()=>l,ZP:()=>p,hi:()=>o,wO:()=>r});var a=s(9818),n=s(23177),i=s(4957);const r="SET_AUTO_CONVERSION_SETTINGS";function o(){return l({isUpdating:!0})}function c(){return l({isUpdating:!1})}function l(e){return{type:r,options:e}}const p={updateAutoConversionSettings:function*(e){try{yield o(),yield l(e),yield(0,i.Fl)(e);const t=yield(0,i.wi)();return yield l(t.jetpack_social_autoconvert_images),!0}catch(e){const t=(0,a.select)(n.Eg).getAutoConversionSettings();return yield l(t),!1}finally{yield c()}},setAutoConversionSettings:l,refreshAutoConversionSettings:function*(){try{yield o();const e=yield(0,i.wi)();return yield l(e.jetpack_social_autoconvert_images),!0}catch(e){return!1}finally{yield c()}}}},23013:(e,t,s)=>{"use strict";s.r(t),s.d(t,{mergeConnections:()=>p,refreshConnectionTestResults:()=>d,setConnections:()=>c,syncConnectionsToPostMeta:()=>u,toggleConnection:()=>l,toggleConnectionById:()=>m});var a=s(13419),n=s(86989),i=s.n(n),r=s(12238),o=s(74442);function c(e){return{type:o.b,connections:e}}function l(e){return{type:o.L,connectionId:e}}function p(e){return function({dispatch:t,select:s}){const a=s.getConnections(),n=[],i={done:!1,enabled:Boolean(s.numberOfSharesRemaining()),toggleable:!0};for(const t of e){const e={...i,...a.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),...t,is_healthy:t.test_success};n.push(e)}t(c(n))}}function d(e=!1){return async function({dispatch:t}){try{const s=(0,a.Pb)()?.social?.connectionRefreshPath||"/wpcom/v2/publicize/connection-test-results";t(p(await i()({path:s}))),e&&t(u())}catch(e){}}}function u(){return function({registry:e,select:t}){const s=t.getConnections();return e.dispatch(r.store).editPost({jetpack_publicize_connections:s})}}function m(e,t=!0){return function({dispatch:s}){s(l(e)),t&&s(u())}}},74442:(e,t,s)=>{"use strict";s.d(t,{L:()=>n,b:()=>a});const a="SET_CONNECTIONS",n="TOGGLE_CONNECTION"},54725:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(21052),n=s(23013),i=s(371),r=s(72438),o=s(4462);const c={...i.ZP,...o.ZP,...a.ZP,...r.Z,...n}},371:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>c,dz:()=>r,ff:()=>o});var a=s(9818),n=s(23177),i=s(4957);const r="SET_JETPACK_SETTINGS";function o(e){return{type:r,options:e}}const c={updateJetpackSettings:function*(e){try{yield o({is_updating:!0}),yield o(e),yield(0,i.RF)(e);const t=yield(0,i.es)();return yield o(t),!0}catch(e){const t=(0,a.select)(n.Eg).getJetpackSettings();return yield o(t),!1}finally{yield o({is_updating:!1})}},setJetpackSettings:o}},72438:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(4957),n=s(21052),i=s(4462);const r={refreshJetpackSocialSettings:function*(){try{yield(0,n.hi)(),yield(0,i.ds)();const e=yield(0,a.mu)();return yield(0,n.Wh)(e.jetpack_social_autoconvert_images),yield(0,i.ch)(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield(0,n.Au)(),yield(0,i.Gr)()}}}},4462:(e,t,s)=>{"use strict";s.d(t,{Gr:()=>c,ZP:()=>p,ch:()=>l,ds:()=>o,kg:()=>r});var a=s(9818),n=s(23177),i=s(4957);const r="SET_SOCIAL_IMAGE_GENERATOR_SETTINGS";function o(){return l({isUpdating:!0})}function c(){return l({isUpdating:!1})}function l(e){return{type:r,options:e}}const p={updateSocialImageGeneratorSettings:function*(e){try{yield o(),yield l(e),yield(0,i.Ux)(e);const t=yield(0,i.oB)();return yield l(t.jetpack_social_image_generator_settings),!0}catch(e){const t=(0,a.select)(n.Eg).getSocialImageGeneratorSettings();return yield l(t),!1}finally{yield c()}},setSocialImageGeneratorSettings:l,refreshSocialImageGeneratorSettings:function*(){try{yield o();const e=yield(0,i.oB)();return yield l(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield c()}}}},4957:(e,t,s)=>{"use strict";s.d(t,{Fl:()=>v,RF:()=>m,Ux:()=>g,ZP:()=>E,es:()=>u,mu:()=>f,oB:()=>h,wi:()=>k});var a=s(86989),n=s.n(a);const i="FETCH_JETPACK_SETTINGS",r="UPDATE_JETPACK_SETTINGS",o="FETCH_SOCIAL_IMAGE_GENERATOR_SETTINGS",c="UPDATE_SOCIAL_IMAGE_GENERATOR_SETTINGS",l="FETCH_AUTO_CONVERSION_SETTINGS",p="UPDATE_AUTO_CONVERSION_SETTINGS",d="FETCH_JETPACK_SOCIAL_SETTINGS",u=()=>({type:i}),m=e=>({type:r,settings:e}),h=()=>({type:o}),g=e=>({type:c,settings:e}),k=()=>({type:l}),f=()=>({type:d}),v=e=>({type:p,settings:e}),E={[i]:function(){return n()({path:"/jetpack/v4/social/settings"})},[r]:function(e){return n()({path:"/jetpack/v4/social/settings",method:"POST",data:e.settings})},[o]:function(){return n()({path:"/wp/v2/settings?_fields=jetpack_social_image_generator_settings"})},[c]:function(e){return n()({path:"/wp/v2/settings",method:"POST",data:{jetpack_social_image_generator_settings:e.settings}})},[l]:function(){return n()({path:"/wp/v2/settings?_fields=jetpack_social_autoconvert_images"})},[p]:function(e){return n()({path:"/wp/v2/settings",method:"POST",data:{jetpack_social_autoconvert_images:e.settings}})},[d]:function(){return n()({path:"/wp/v2/settings?_fields=jetpack_social_autoconvert_images,jetpack_social_image_generator_settings"})}}},23177:(e,t,s)=>{"use strict";s.d(t,{Eg:()=>l,uJ:()=>d});var a=s(9818),n=s(54725),i=s(4957),r=s(45272),o=s(15781),c=s(22987);const l="jetpack-social-plugin",p={reducer:r.Z,actions:n.Z,selectors:c.Z,resolvers:o.ZP,controls:i.ZP,initialState:window?.jetpackSocialInitialState||window?.Initial_State?.socialInitialState||window?.Jetpack_Editor_Initial_State?.social||{}},d="facebook",u=(0,a.createReduxStore)(l,p);(0,a.register)(u)},20750:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(21052);const n=(e={},t)=>t.type===a.wO?{...e,...t.options}:e},71837:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(74442);const n=(e={},t)=>{switch(t.type){case a.b:return{...e,connections:t.connections};case a.L:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},45272:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(9818),n=s(20750),i=s(71837),r=s(80697),o=s(35652),c=s(28696),l=s(54489);const p=(0,a.combineReducers)({sharesData:o.Z,siteData:c.Z,connectionData:i.Z,jetpackSettings:r.Z,socialImageGeneratorSettings:l.Z,autoConversionSettings:n.Z,hasPaidPlan:(e=!1)=>e})},80697:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(371);const n=(e={},t)=>t.type===a.dz?{...e,...t.options}:e},35652:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a=(e={})=>e},28696:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a=(e={})=>e},54489:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(4462);const n=(e={},t)=>t.type===a.kg?{...e,...t.options}:e},15781:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>l});var a=s(12238),n=s(21052),i=s(23013),r=s(371),o=s(4462),c=s(4957);const l={getJetpackSettings:function*(){try{const e=yield(0,c.es)();if(e)return(0,r.ff)(e)}catch(e){console.log(e)}},getSocialImageGeneratorSettings:function*(){try{const e=yield(0,c.oB)();if(e)return(0,o.ch)(e.jetpack_social_image_generator_settings)}catch(e){console.log(e)}},getAutoConversionSettings:function*(){try{const e=yield(0,c.wi)();if(e)return(0,n.Wh)(e.jetpack_social_autoconvert_images)}catch(e){console.log(e)}},getConnections:function(){return function({dispatch:e,registry:t}){const s=t.select(a.store).getEditedPostAttribute("jetpack_publicize_connections");e((0,i.setConnections)(s||[]))}}}},68113:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={getAutoConversionSettings:e=>e.autoConversionSettings,isAutoConversionAvailable:e=>e.autoConversionSettings.available,isAutoConversionEnabled:e=>e.autoConversionSettings.available&&e.autoConversionSettings.enabled,isAutoConversionSettingsUpdating:e=>e.autoConversionSettings.isUpdating}},43354:(e,t,s)=>{"use strict";function a(e){return e.connectionData?.connections??[]}function n(e){return e.connectionData?.adminUrl??null}function i(e){return a(e).length>0}function r(e){return a(e).filter((e=>!1===e.test_success))}function o(e){return a(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function c(e){return a(e).filter((e=>e.enabled))}function l(e){return a(e).filter((e=>!e.enabled))}function p(e,t,{forceDefaults:s=!1}={}){let n="",i="",r="";if(!s){const s=a(e).find((({service_name:e})=>t===e));if(s){const{display_name:e,profile_display_name:a,profile_picture:o}=s;n="twitter"===t?a:e,r="twitter"===t?e:s.username,i=o}}return{displayName:n,profileImage:i,username:r}}s.r(t),s.d(t,{getConnectionProfileDetails:()=>p,getConnections:()=>a,getConnectionsAdminUrl:()=>n,getDisabledConnections:()=>l,getEnabledConnections:()=>c,getFailedConnections:()=>r,getMustReauthConnections:()=>o,hasConnections:()=>i})},22987:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(68113),n=s(43354),i=s(82836),r=s(31473),o=s(85675),c=s(45073);const l={...o.Z,...n,...i.Z,...r,...c.Z,...a.Z}},82836:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={getJetpackSettings:e=>e.jetpackSettings,isModuleEnabled:e=>e.jetpackSettings.publicize_active,showPricingPage:e=>e.jetpackSettings.show_pricing_page,isUpdatingJetpackSettings:e=>e.jetpackSettings.is_updating,hasPaidPlan:e=>!(e.jetpackSettings?.showNudge??1),isEnhancedPublishingEnabled:e=>e.jetpackSettings?.isEnhancedPublishingEnabled??!1,getDismissedNotices:e=>e.jetpackSettings?.dismissedNotices}},31473:(e,t,s)=>{"use strict";s.r(t),s.d(t,{getScheduledSharesCount:()=>c,getShareLimit:()=>r,getSharedPostsCount:()=>p,getSharesUsedCount:()=>o,getTotalSharesCount:()=>l,isShareLimitEnabled:()=>n,numberOfSharesRemaining:()=>u,shouldShowAdvancedPlanNudge:()=>d,showShareLimits:()=>i});var a=s(82836);function n(e){return e.sharesData?.is_share_limit_enabled??!1}function i(e){return!a.Z.hasPaidPlan(e)&&!e.hasPaidPlan&&n(e)}function r(e){return e.sharesData?.share_limit??30}function o(e){return e.sharesData?.publicized_count??0}function c(e){return e.sharesData?.to_be_publicized_count??0}function l(e){const t=o(e)+c(e);return Math.max(t,0)}function p(e){return e.sharesData?.shared_posts_count??0}function d(e){return e.sharesData?.show_advanced_plan_upgrade_nudge??!1}function u(e,t={}){if(!i(e))return 1/0;const{includeScheduled:s}={includeScheduled:!0,...t},a=o(e),n=r(e),l=s?c(e):0;return Math.max(n-a-l,0)}},85675:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={getAdminUrl:e=>e.siteData?.adminUrl??null,getAPIRootUrl:e=>e.siteData?.apiRoot??null,getAPINonce:e=>e.siteData?.apiNonce??null,getRegistrationNonce:e=>e.siteData?.registrationNonce??null,getSiteSuffix:e=>e.siteData?.siteSuffix??null,getBlogID:e=>e.siteData?.blogID??null,getPluginVersion:e=>e.siteData?.pluginVersion??null}},45073:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a={getSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings,isSocialImageGeneratorAvailable:e=>e.socialImageGeneratorSettings.available,isSocialImageGeneratorEnabled:e=>e.socialImageGeneratorSettings.enabled,isUpdatingSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings.isUpdating,getSocialImageGeneratorDefaultTemplate:e=>e.socialImageGeneratorSettings.template}},5463:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});const a=255;function n(){return a}},12677:(e,t,s)=>{"use strict";s(13419)},42032:(e,t,s)=>{"use strict";s.d(t,{getShareMessageMaxLength:()=>a.A});var a=s(5463);s(12677)},13419:(e,t,s)=>{"use strict";s.d(t,{Pb:()=>a.Z,lQ:()=>n.Z});var a=s(50148),n=s(35004);s(76714),s(80354),s(75404),s(61053),s(11380),s(6342),s(96959),s(39058)},6342:(e,t,s)=>{"use strict";s(99196)},96959:(e,t,s)=>{"use strict";s(69307)},50148:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});const a="Jetpack_Editor_Initial_State";function n(){return"object"==typeof window?window?.[a]??null:null}},35004:(e,t,s)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}s.d(t,{Z:()=>a})},61053:(e,t,s)=>{"use strict";var a=s(6975);s(69307);const{tracks:n}=a.Z,{recordEvent:i}=n},11380:(e,t,s)=>{"use strict";s(9818),s(69307),s(39058)},44166:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>u,rW:()=>d});var a=s(9818),n=s(99505),i=s(82162),r=s(39058);const o="SET_JETPACK_MODULES",c="SET_MODULE_UPDATING";function l(e){return d({isLoading:e})}function p(e,t){return{type:c,name:e,isUpdating:t}}function d(e){return{type:o,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield p(e.name,!0),yield(0,i.zL)(e);const t=yield(0,i.Bs)();return yield d({data:t}),!0}catch(e){const t=(0,a.select)(r.p).getJetpackModules();return yield d(t),!1}finally{yield p(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,n.Wp)())return!0;try{yield l(!0);const e=yield(0,i.Bs)();return yield d({data:e}),!0}catch(e){const t=(0,a.select)(r.p).getJetpackModules();return yield d(t),!1}finally{yield l(!1)}}}},82162:(e,t,s)=>{"use strict";s.d(t,{Bs:()=>o,ZP:()=>l,zL:()=>c});var a=s(86989),n=s.n(a);const i="FETCH_JETPACK_MODULES",r="UPDATE_JETPACK_MODULE_STATUS",o=()=>({type:i}),c=e=>({type:r,settings:e}),l={[i]:function(){return n()({path:"/jetpack/v4/module/all",method:"GET"})},[r]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},39058:(e,t,s)=>{"use strict";s.d(t,{p:()=>l});var a=s(9818),n=s(44166),i=s(82162),r=s(42469),o=s(55133),c=s(43524);const l="jetpack-modules",p=(0,a.createReduxStore)(l,{reducer:r.Z,actions:n.ZP,controls:i.ZP,resolvers:o.Z,selectors:c.Z});(0,a.register)(p);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(l).setJetpackModules({data:{...d}})},42469:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});const a={isLoading:!1,isUpdating:{},data:{}},n=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},55133:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(44166),n=s(82162);const i={getJetpackModules:function*(){try{const e=yield(0,n.Bs)();if(e)return(0,a.rW)({data:e})}catch(e){console.error(e)}}}},43524:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(99505);const n={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},75404:(e,t,s)=>{"use strict";var a=s(65736);s(96483),s(92819);const __=a.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},76714:(e,t,s)=>{"use strict";s(98817)},99505:(e,t,s)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function n(){return"simple"===a()}s.d(t,{Wp:()=>n})},80354:(e,t,s)=>{"use strict";s(82674),s(94333)},4341:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(6895),n=s(65736),i=s(65235),r=s.n(i),o=s(85799),c=s(43255),l=s(84069),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(59309),g=s(96300);const __=n.__;class k extends u.Component{static propTypes={inOfflineMode:d().bool.isRequired,siteRawUrl:d().string.isRequired};static defaultProps={inOfflineMode:!1,siteRawUrl:""};trackActivityClick=()=>{l.Z.tracks.recordJetpackClick({type:"activity-link",target:"at-a-glance",feature:"activity-log"})};render(){const{inOfflineMode:e}=this.props,t=__("Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.","jetpack");return m().createElement("div",{className:"jp-dash-item__interior"},m().createElement(c.Z,{label:__("Activity","jetpack"),isModule:!1,className:r()({"jp-dash-item__is-inactive":e}),pro:!1},m().createElement("p",{className:"jp-dash-item__description"},e?__("Unavailable in Offline Mode.","jetpack"):t)),m().createElement(o.Z,{key:"view-activity",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,a.Z)("calypso-activity-log",{site:this.props.siteRawUrl}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackActivityClick},__("View site activity","jetpack")))}}const f=(0,h.$j)((e=>({inOfflineMode:(0,g.Ex)(e)})))(k)},91248:(e,t,s)=>{"use strict";s.d(t,{Z:()=>T});var a=s(82674),n=s.n(a),i=s(64743),r=s(52947),o=s(69307),c=s(65736),l=s(97506),p=s(85799),d=s(43255),u=s(11020),m=s(41549),h=s(85733),g=s(84069),k=s(59584),f=s(92819),v=s(1137),E=s(25162),w=s.n(E),_=s(99196),b=s.n(_),y=s(59309),C=s(17296),j=s(96300),S=s(69508),N=s(33002);const __=c.__,_x=c._x;class x extends _.Component{static propTypes={siteRawUrl:w().string.isRequired,siteAdminUrl:w().string.isRequired,trackUpgradeButtonView:w().func,akismetData:w().oneOfType([w().string,w().object,w().number]).isRequired,isOfflineMode:w().bool.isRequired,upgradeUrl:w().string.isRequired,hasConnectedOwner:w().bool.isRequired};static defaultProps={siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:f.noop};trackActivateClick(){g.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"anti-spam"})}onActivateClick=()=>(this.trackActivateClick(),this.props.createNotice("is-info",__("Activating Akismet…","jetpack"),{id:"activating-akismet"}),i.ZP.activateAkismet().then((()=>{this.props.removeNotice("activating-akismet"),window.location.href=this.props.siteAdminUrl+"admin.php?page=akismet-key-config"})).catch((()=>{this.props.removeNotice("activating-akismet"),this.props.createNotice("is-error",__("Could not activate Akismet.","jetpack"),{id:"activate-akismet-failure"})})),!1);trackModerateClick(){g.Z.tracks.recordJetpackClick({type:"moderate-link",target:"at-a-glance",feature:"anti-spam"})}onModerateClick=()=>{this.trackModerateClick()};getContent(){const{akismetData:e,siteAdminUrl:t}=this.props,s=__("Akismet Anti-spam","jetpack"),a={text:__("Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:this.props.isAtomicSite?null:"https://akismet.com/features",privacyLink:"https://automattic.com/privacy/"},i=()=>{let s;return"not_active"===e?s=(0,o.createInterpolateElement)(__("Already have an API key? <Button>Activate Akismet Anti-spam</Button>.","jetpack"),{Button:b().createElement(l.Z,{className:"jp-link-button",onClick:this.onActivateClick})}):"invalid_key"===e&&(s=(0,o.createInterpolateElement)(__("Already have an API key? <a>Get started</a>.","jetpack"),{a:b().createElement("a",{href:t+"admin.php?page=akismet-key-config"})})),b().createElement(h.ZP,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Automatically clear spam from comments and forms.","jetpack"),description:s,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"akismet",path:"dashboard",plan:(0,k.o2o)(k.V37),trackBannerDisplay:this.props.trackUpgradeButtonView,noIcon:!0})},c=()=>b().createElement(h.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"akismet",path:"dashboard",plan:(0,k.o2o)(k.V37)}),u=()=>this.props.hasConnectedOwner?i():c();if("N/A"===e)return b().createElement(d.Z,{label:s,module:"akismet",support:a,pro:!0},b().createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack")));if(["not_installed","not_active","invalid_key"].includes(e)){const e={label:s,module:"akismet",support:a,className:"jp-dash-item__is-inactive",pro:!0};return this.props.hasAntiSpam||this.props.hasAkismet?b().createElement(d.Z,e,__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")):this.props.isOfflineMode?b().createElement(d.Z,e,b().createElement("p",{className:"jp-dash-item__description"},__("Unavailable in Offline Mode.","jetpack"))):b().createElement(d.Z,n()({},e,{overrideContent:u()}))}return[b().createElement(d.Z,{key:"comment-moderation",label:s,module:"akismet",support:a,status:"is-working",pro:!0},(()=>0!==this.props.akismetData?b().createElement(b().Fragment,null,b().createElement("h2",{className:"jp-dash-item__count"},(0,r.Z)(this.props.akismetData)),b().createElement("p",{className:"jp-dash-item__description"},_x("Spam comments blocked.",'Example: "412 Spam comments blocked"',"jetpack"))):b().createElement("div",{className:"jp-dash-item__recently-activated"},b().createElement("p",{className:"jp-dash-item__description"},__("Akismet is now monitoring all comments on your site. Data will display here soon!","jetpack"))))()),!this.props.isOfflineMode&&b().createElement(p.Z,{key:"moderate-comments",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:`${this.props.siteAdminUrl}edit-comments.php`,onClick:this.onModerateClick},__("Moderate comments","jetpack"))]}render(){return b().createElement("div",{className:"jp-dash-item__interior"},b().createElement(u.Z,null),this.getContent())}}const T=(0,y.$j)((e=>({akismetData:(0,C.fU)(e),isAtomicSite:(0,S.Ug)(e),isOfflineMode:(0,j.Ex)(e),upgradeUrl:(0,v.z)(e,"akismet"),nonce:(0,S.VY)(e),hasConnectedOwner:(0,j.it)(e),hasAntiSpam:(0,N.CV)(e,"antispam"),hasAkismet:(0,N.CV)(e,"akismet")})),(e=>({createNotice:m.iI,removeNotice:m.qq,connectUser:()=>e((0,j.bL)())})))(x)},83326:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(80800),n=s(65736),i=s(97506),r=s(85799),o=s(84069),c=s(99196),l=s.n(c),p=s(59309),d=s(3230);const __=n.__,u=(0,p.$j)((e=>({isDismissed:(0,d.wS)(e)})),(e=>({dismiss:()=>e((0,d.VP)({dismiss_dash_backup_getting_started:!0}))})))((({isDismissed:e,dismiss:t})=>{const s=(0,c.useCallback)((()=>{t(),o.Z.tracks.recordEvent("jetpack_backup_getting_started_video_dismiss",{position:"at_a_glance"})}),[t]),n=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_backup_getting_started_video_click",{position:"at_a_glance"})}),[]);return e?null:l().createElement(r.Z,{className:"dash-backup-getting-started"},l().createElement(i.Z,{borderless:!0,compact:!0,className:"dash-backup-getting-started__dismiss",onClick:s},l().createElement("span",{className:"dashicons dashicons-no"})),l().createElement("a",{href:a.zh,target:"_blank",rel:"noreferrer"},l().createElement("img",{className:"dash-backup-getting-started__thumbnail",src:a.hp+"backup-getting-started-thumbnail.png",srcSet:`${a.hp+"backup-getting-started-thumbnail.png"} 1x, ${a.hp+"backup-getting-started-thumbnail-2x.png"} 2x`,alt:""})),l().createElement("div",{className:"dash-backup-getting-started__content"},l().createElement("h3",{className:"dash-backup-getting-started__header"},__("Getting started with Jetpack Backup","jetpack")),l().createElement("p",{className:"dash-backup-getting-started__text"},__("A short video guide on how to back up your website","jetpack"))),l().createElement(i.Z,{className:"dash-backup-getting-started__cta",href:a.zh,onClick:n,target:"_blank",rel:"noreferrer",compact:!0,primary:!0},__("Watch the video","jetpack")))}))},30647:(e,t,s)=>{"use strict";s.d(t,{v:()=>p});var a=s(43521),n=s(65736),i=s(85799),r=s(84069),o=s(99196),c=s.n(o),l=s(49890);const __=n.__,p=({comments:e,plugins:t,posts:s,onClosePopup:n})=>{const p=(0,o.useRef)(!1);(0,o.useEffect)((()=>{p.current||(r.Z.tracks.recordEvent("jetpack_wpa_aag_backup_bar_chart_view",{comments:e,plugins:t,posts:s}),p.current=!0)}),[]);const d=(0,o.useMemo)((()=>[{count:s,label:__("Posts","jetpack"),backgroundColor:"#00BA37"},{count:t,label:__("Plugins","jetpack"),backgroundColor:"#3895BA"},{count:e,label:__("Comments","jetpack"),backgroundColor:"#E68B28"}]),[e,t,s]);return c().createElement(i.Z,{className:"jp-dash-upgrade-backup"},c().createElement(l.G,{posts:s,comments:e,onClosePopup:n}),c().createElement(a.Z,{items:d}))}},91498:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(84069),n=s(99196),i=s.n(n),r=s(59309),o=s(17296),c=s(30647);const l=(0,r.$j)((e=>{const t=(0,o.yZ)(e)?.general?.stats;return{comments:t?.comments,plugins:Object.keys((0,o.Fb)(e)).length,posts:t?.posts,isFetchingData:(0,o.vz)(e)||(0,o.F2)(e)}}))((({comments:e,isFetchingData:t,plugins:s,posts:r})=>{const[o,l]=(0,n.useState)(!0),p=(0,n.useCallback)((()=>{const t={comments:e,plugins:s,posts:r,target:"backup_bar_chart_close",type:"dismiss"};a.Z.tracks.recordJetpackClick(t),l(!1)}),[e,s,r]);return!t&&o&&r>20?i().createElement(c.v,{posts:r,comments:e,plugins:s,onClosePopup:p}):null}))},49890:(e,t,s)=>{"use strict";s.d(t,{G:()=>c});var a=s(80800),n=s(65736),i=s(97506),r=s(99196),o=s.n(r);const __=n.__,c=({posts:e,comments:t,onClosePopup:s})=>o().createElement("div",{className:"jp-dash-upgrade-backup__popup"},o().createElement(i.Z,{onClick:s,className:"jp-dash-upgrade-backup__popup-close-icon",compact:!0,borderless:!0},o().createElement("img",{src:a.hp+"/close.svg",alt:__("Close","jetpack")})),o().createElement("img",{className:"jp-dash-upgrade-backup__popup-lock-icon",src:a.hp+"/lock.svg",alt:__("Locked","jetpack")}),o().createElement("p",{className:"jp-dash-upgrade-backup__popup-title"},__("Upgrade to backup","jetpack")),o().createElement("p",null,(0,n.sprintf)(/* translators: 1 number of posts, 2 number of comments */
__("Be sure your %1$d posts, %2$d comments, and more information are safely backed up with Jetpack","jetpack"),e,t)))},92792:(e,t,s)=>{"use strict";s.d(t,{Z:()=>O});var a=s(6895),n=s(55609),i=s(69771),r=s(69307),o=s(65736),c=s(61074),l=s(70157),p=s(97506),d=s(85799),u=s(43255),m=s(75402),h=s(83526),g=s(85733),k=s(84069),f=s(59584),v=s(92819),E=s(1137),w=s(25162),_=s.n(w),b=s(99196),y=s.n(b),C=s(59309),j=s(17296),S=s(96300),N=s(69508),x=s(33002),T=s(61372),A=s(83326),M=s(91498);const __=o.__,_x=o._x,P=e=>y().createElement(u.Z,{label:__("VaultPress Backup","jetpack"),module:e.feature||"backups",support:{text:__("VaultPress Backup allows you to easily restore or download a backup from a specific moment.","jetpack"),link:(0,a.Z)("jetpack-support-backup")},className:e.className+" dash-backups",status:e.status,pro:!0,overrideContent:e.overrideContent},y().createElement("p",{className:"jp-dash-item__description"},e.content));class Z extends b.Component{static propTypes={siteRawUrl:_().string.isRequired,getOptionValue:_().func.isRequired,rewindStatus:_().string.isRequired,rewindStatusReason:_().string.isRequired,trackUpgradeButtonView:_().func,vaultPressData:_().any.isRequired,hasBackups:_().bool.isRequired,hasRealTimeBackups:_().bool.isRequired,isOfflineMode:_().bool.isRequired,isVaultPressInstalled:_().bool.isRequired,isWoA:_().bool.isRequired,upgradeUrl:_().string.isRequired,hasConnectedOwner:_().bool.isRequired,backupUndoEvent:_().any.isRequired};static defaultProps={siteRawUrl:"",getOptionValue:v.noop,vaultPressData:"",isOfflineMode:!1,isVaultPressInstalled:!1,isWoA:!1,rewindStatus:"",trackUpgradeButtonView:v.noop,backupUndoEvent:{}};trackBackupsClick=(e="backups-link")=>function(){k.Z.tracks.recordJetpackClick({type:e,target:"at-a-glance",feature:"backups"})};trackRedeemCouponButtonView=()=>{const{partnerCoupon:e}=this.props;k.Z.tracks.recordEvent("jetpack_wpa_aag_redeem_partner_coupon_button_view",{feature:"backups",coupon_preset:e.preset})};getJetpackBackupBanner(){const{partnerCoupon:e,upgradeUrl:t,siteRawUrl:s,trackUpgradeButtonView:n}=this.props;if(this.props.hasConnectedOwner){if(e&&"jetpack_backup_daily"===e.product.slug){const t=(0,a.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:s,query:`coupon=${e.coupon_code}`});return y().createElement(g.ZP,{callToAction:__("Redeem","jetpack"),title:(0,o.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem your coupon and get started with %s for free the first year!","jetpack"),e.product.title),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",eventProps:{type:"redeem_partner_coupon",coupon_preset:e.preset},plan:(0,f.o2o)(f.N_2),trackBannerDisplay:this.trackRedeemCouponButtonView})}return y().createElement(y().Fragment,null,y().createElement(M.Z,null),y().createElement(g.ZP,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Never worry about losing your site – automatic backups keep your content safe.","jetpack"),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",plan:(0,f.o2o)(f.N_2),trackBannerDisplay:n}))}return y().createElement(g.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"backups",path:"dashboard",plan:(0,f.o2o)(f.N_2)})}getVPContent(){const{hasBackups:e,isFetchingSite:t,isVaultPressInstalled:s,getOptionValue:n,siteRawUrl:i,vaultPressData:o}=this.props;return n("vaultpress")&&"success"===(0,v.get)(o,"code","")?P({className:"jp-dash-item__is-active",status:"is-working",content:y().createElement("span",null,(0,v.get)(o,"message","")," ",(0,r.createInterpolateElement)(__("<a>View backup details</a>.","jetpack"),{a:y().createElement("a",{href:(0,a.Z)("vaultpress-dashboard"),target:"_blank",rel:"noopener noreferrer"})}))}):t?this.renderLoading():P(e?{className:"jp-dash-item__is-inactive",status:s?"pro-inactive":"pro-uninstalled",content:(0,r.createInterpolateElement)(__("To automatically back up your entire site, please <a>install and activate</a> VaultPress.","jetpack"),{a:y().createElement("a",{href:(0,a.Z)("calypso-plugins-setup",{site:i,query:"only=backups"}),target:"_blank",rel:"noopener noreferrer"})})}:{className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:this.getJetpackBackupBanner()})}renderManageBackupsLinks(){const{isWoA:e,siteRawUrl:t}=this.props;return y().createElement(d.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom"},y().createElement("div",{className:"jp-dash-item__action-links"},y().createElement(n.ExternalLink,{href:e?(0,a.Z)("calypso-backups",{site:t}):(0,a.Z)("my-jetpack-manage-backup",{site:t}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("backups-link")},__("View your site's backups","jetpack")),y().createElement(n.ExternalLink,{href:(0,a.Z)("calypso-activity-log",{site:t,query:"group=rewind"}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("restore-points-link")},__("View your most recent restore points","jetpack"))))}getRewindContent(){const{hasRealTimeBackups:e,rewindStatus:t,siteRawUrl:s,backupUndoEventLoaded:i}=this.props,o=(e,t,s)=>y().createElement(d.Z,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick(s)},t),c=e=>P({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(t){case"provisioning":return y().createElement(y().Fragment,null,c(__("We are configuring your site's backups.","jetpack")));case"awaiting_credentials":return y().createElement(y().Fragment,null,c(__("Enter your SSH, SFTP or FTP credentials to enable one-click site restores and faster backups","jetpack")),o((0,a.Z)("jetpack-backup-dash-credentials",{site:s}),__("Enter credentials","jetpack"),"enter-credentials-link"));case"active":{if(i)return this.renderUndo();let t=__("We are backing up your site daily.","jetpack");return e&&(t=(0,r.createInterpolateElement)(__("Every change you make will be backed up, in real-time, as you edit your site. <ExternalLink>Learn More</ExternalLink>","jetpack"),{ExternalLink:y().createElement(n.ExternalLink,{href:(0,a.Z)("jetpack-blog-realtime-mechanics"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("realtime-learn-more-link")})})),y().createElement(y().Fragment,null,c(t),this.renderManageBackupsLinks())}}return!1}renderLoading(){return P({className:"",status:"",content:__("Loading…","jetpack")})}renderFromRewindStatus(){return this.props.hasBackups&&"unavailable"===this.props.rewindStatus&&"site_new"===this.props.rewindStatusReason?P({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:__("Your site is new and may still be preparing backup configuration.","jetpack")}):"unavailable"===this.props.rewindStatus||""===this.props.rewindStatus?this.getVPContent():y().createElement("div",{className:"jp-dash-item"},this.getRewindContent())}trackUndoFeatureView(){k.Z.tracks.recordEvent("jetpack_wpa_aag_backup_undo_view")}trackUndoButtonClick(){k.Z.tracks.recordEvent("jetpack_wpa_aag_backup_undo_button_click")}renderUndo(){const{backupUndoEvent:e}=this.props,{activityDate:t,activityTitle:s,activityDescription:n,actorName:o,actorRole:d,actorAvatarUrl:u,undoBackupId:m}=e,h=(0,i.dateI18n)("M jS, g:i a",t),g=y().createElement("div",{className:"dops-card jp-dash-item__card dash-backup-undo"},y().createElement("div",{className:"jp-dash-item__description dash-backup-undo__activity-log"},y().createElement("div",{className:"dash-backup-undo__activity-log-date"},h),y().createElement("div",{className:"dash-backup-undo__activity-log-action"},s),y().createElement("div",{className:"dash-backup-undo__activity-log-description"},n),y().createElement("div",{className:"dash-backup-undo__activity-log-user-meta"},y().createElement("div",{className:"dash-backup-undo__activity-log-user-meta-avatar"},y().createElement("img",{alt:o,src:u??"https://www.gravatar.com/avatar/0?s=96&d=mm",width:"30",height:"30"})),y().createElement("div",{className:"dash-backup-undo__activity-log-user-meta-name"},o,d&&" - "+d))),y().createElement("div",{className:"dash-backup-undo__cta"},(0,r.createInterpolateElement)(__("<button><icon /> Undo</button>","jetpack"),{button:y().createElement(p.Z,{href:(0,a.Z)("jetpack-backup-undo-cta",{path:m}),primary:!0,target:"_blank",onClick:this.trackUndoButtonClick}),icon:y().createElement(c.Z,{icon:l.Z})})));return this.trackUndoFeatureView(),y().createElement(y().Fragment,null,P({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",overrideContent:g}),this.renderManageBackupsLinks())}renderGettingStartedVideo(){return"awaiting_credentials"!==this.props.rewindStatus?null:y().createElement(A.Z,null)}render(){return this.props.showBackups?this.props.isOfflineMode?y().createElement("div",{className:"jp-dash-item__interior"},P({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})):(this.props.isFetchingSite&&this.renderLoading(),y().createElement("div",null,y().createElement(h.Z,null),"active"===this.props.rewindStatus&&y().createElement(m.Z,null),this.renderFromRewindStatus(),this.renderGettingStartedVideo())):null}}const O=(0,C.$j)((e=>({vaultPressData:(0,j.XK)(e),isOfflineMode:(0,S.Ex)(e),isVaultPressInstalled:(0,T.P8)(e,"vaultpress/vaultpress.php"),showBackups:(0,N.xR)(e),upgradeUrl:(0,E.z)(e,"backup"),hasConnectedOwner:(0,S.it)(e),isFetchingSite:(0,x._5)(e),hasBackups:(0,x.CV)(e,"backups"),hasRealTimeBackups:(0,x.CV)(e,"real-time-backups"),partnerCoupon:(0,N.DV)(e),isWoA:(0,N.Pw)(e),backupUndoEvent:(0,j.b9)(e),backupUndoEventLoaded:(0,j.O1)(e),backupUndoEventIsFetching:(0,j.Ve)(e)})),(e=>({connectUser:()=>e((0,S.bL)())})))(Z)},96438:(e,t,s)=>{"use strict";s.d(t,{Z:()=>x});var a=s(64743),n=s(60128),i=s(14186),r=s(6895),o=s(55609),c=s(69307),l=s(65736),p=s(65235),d=s.n(p),u=s(42698),m=s(87553),h=s(81114),g=s(84069),k=s(25162),f=s.n(k),v=s(99196),E=s(59309),w=s(96300),_=s(69508),b=s(33002),y=s(61372);const __=l.__,_x=l._x,C="admin.php?page=jetpack-boost",j=["jetpack-boost/jetpack-boost.php","jetpack-boost-dev/jetpack-boost.php"],S="jetpack-boost",N=({siteAdminUrl:e,siteConnectionStatus:t,siteUrl:s,apiRoot:r,apiNonce:o,fetchPluginsData:p,fetchingPluginsData:u,isBoostInstalled:k,isBoostActive:f,hasActiveBoostPurchase:E,latestSpeedScores:w={}})=>{const _="offline"===t,[b,y]=(0,v.useState)(!1),[N,x]=(0,v.useState)(!1),[P,Z]=(0,v.useState)(!1),[O,R]=(0,v.useState)("C"),[L,z]=(0,v.useState)(1),[I,U]=(0,v.useState)(0),[D,V]=(0,v.useState)(0),[B,F]=(0,v.useState)(!1),H=k&&f,J=!(H||_||u||B),q=_x("Boost","The Jetpack Boost product name, without the Jetpack prefix","jetpack"),W=()=>{U(w.scores.mobile),V(w.scores.desktop),R((0,n.yn)(w.scores.mobile,w.scores.desktop)),z(G(1e3*w.timestamp))},G=e=>{const t=new Date(e),s=new Date-t;return Math.floor(s/864e5)};(0,v.useEffect)((()=>{w&&G(1e3*w.timestamp)<21?W():(async()=>{if(!_&&!H){y(!0);try{const e=await(0,n.tZ)(!0,r,s,o),t=(0,n.yn)(e.current.mobile,e.current.desktop);R(t),U(e.current.mobile),V(e.current.desktop),z(0),y(!1)}catch(e){g.Z.tracks.recordEvent("jetpack_boost_speed_score_error",{feature:S,position:"at-a-glance",error:e}),w&&w.scores?W():F(!0),y(!1)}}})()}),[]);const $=()=>{switch(O){case"A":return{top:__("A one-second delay in loading times can reduce your site traffic by 10%.","jetpack"),bottom:__("Use Boost’s automated acceleration tools to optimize your performance on the go.","jetpack")};case"B":return{top:__("A one-second improvement in loading times can increase your site traffic by 10%.","jetpack"),bottom:__("Jetpack Boost enhance your site’s performance like top websites, no developer needed.","jetpack")};default:return{top:__("You can lose 10% of your visitors for every additional second your site takes to load.","jetpack"),bottom:__("Make your site blazing fast for free with Boost’s simple dashboard and acceleration tools.","jetpack")}}},K=(0,v.useCallback)((()=>{if(!H)return k?Z(!0):x(!0),g.Z.tracks.recordJetpackClick({target:"boost_instant_tests_install",type:k?"activate":"install",feature:S}),a.ZP.installPlugin(S,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>p())).finally((()=>{x(!1),Z(!1)}))}),[p,k,H]);return React.createElement("div",{className:"dash-boost-speed-score"},J?React.createElement(React.Fragment,null,b?React.createElement(h.Z,{className:"dash-boost-speed-score__section-header",label:q}):React.createElement("div",{className:"dash-boost-speed-score__summary"},React.createElement("div",null,React.createElement("span",{className:"dash-boost-speed-score__summary-grade"},(0,l.sprintf)(
// translators: %s is the letter grade of the site's speed performance.
__("Your site’s speed performance score: %s","jetpack"),O),React.createElement(T,null)),React.createElement("p",{className:d()("dash-boost-speed-score__score-text",["C","D","E","F"].includes(O)?"warning":"")},(()=>{switch(O){case"A":return __("Your site is fast! But maintaining a high speed isn’t easy.","jetpack");case"B":return __("You are one step away from making your site blazing fast.","jetpack");default:return __("Your site needs performance improvements!","jetpack")}})())),React.createElement("div",null,React.createElement("p",{className:"dash-boost-speed-score__last-tested"},(()=>{switch(L){case 0:return __("Your site was tested in the last 24 hours","jetpack");case 1:return __("Your site was tested yesterday","jetpack");default:return(0,l.sprintf)(
// translators: %s is the number of days since the site was last tested.
__("Your site was tested %s days ago","jetpack"),L)}})()),React.createElement("button",{className:"dash-boost-speed-score__install-button-link",onClick:K,disabled:N||P},(()=>{let e;if(!H)return N?e=__("Installing…","jetpack"):P?e=__("Activating…","jetpack"):k&&(e=__("Activate Boost to run instant tests","jetpack")),e??__("Install Boost to run instant tests","jetpack")})()))),React.createElement("div",{className:"dash-boost-speed-score__score-bars"},React.createElement(i.Z,{score:I,active:!0,isLoading:b,showPrevScores:!1,scoreBarType:"mobile"}),React.createElement(i.Z,{score:D,active:!0,isLoading:b,showPrevScores:!1,scoreBarType:"desktop"}))):React.createElement(h.Z,{className:"dash-boost-speed-score__section-header",label:q}),React.createElement("div",null,React.createElement(m.Z,{pluginName:q,pluginSlug:S,pluginFiles:j,pluginLink:e+C,installOrActivatePrompt:(0,c.createInterpolateElement)((0,l.sprintf)("<b>%1$s<Info/><br/></b>%2$s",$().top,$().bottom),{br:React.createElement("br",null),b:React.createElement("b",null),Info:React.createElement(A,null)}),installedPrompt:E?__("We’re automatically re-generating your site’s Critical CSS.","jetpack"):(0,c.createInterpolateElement)(__("<a>Re-generate your Critical CSS after you make changes on your site</a><Info/>","jetpack"),{a:React.createElement("a",{href:e+C}),Info:React.createElement(M,null)})})))};N.propTypes={siteAdminUrl:f().string.isRequired,siteConnectionStatus:f().oneOfType([f().bool,f().string]).isRequired,siteUrl:f().string.isRequired,apiRoot:f().string.isRequired,apiNonce:f().string.isRequired,fetchingPluginsData:f().bool.isRequired,isBoostInstalled:f().bool.isRequired,isBoostActive:f().bool.isRequired,hasActiveBoostPurchase:f().bool.isRequired,latestSpeedScores:f().shape({timestamp:f().number,scores:f().shape({mobile:f().number,desktop:f().number}),theme:f().string})};const x=(0,E.$j)((e=>({siteConnectionStatus:(0,w.Gz)(e),siteUrl:(0,_.JR)(e),apiRoot:(0,_.yB)(e),apiNonce:(0,_.VY)(e),fetchingPluginsData:(0,y.vz)(e),isBoostInstalled:j.some((t=>(0,y.P8)(e,t))),isBoostActive:j.some((t=>(0,y.TB)(e,t))),hasActiveBoostPurchase:(0,b.az)(e),latestSpeedScores:(0,_.aZ)(e)})),(e=>({fetchPluginsData:()=>e((0,y.s4)())})))(N),T=()=>{const e=(0,v.useCallback)((()=>{g.Z.tracks.recordJetpackClick({target:"boost-grade-info-button",feature:S})}),[]);return React.createElement("div",{className:"boost-grade-info"},React.createElement(u.Z,{onClick:e,screenReaderText:__("Learn more about how this grade is calculated","jetpack")},React.createElement("p",{className:"boost-grade-info__grades-description"},__("Your Overall Score is a summary of your website performance across both mobile and desktop devices. It gives a general idea of your sites’ overall performance.","jetpack")),React.createElement("div",{className:"boost-grade-info__grades-table"},React.createElement("table",null,React.createElement("tbody",null,React.createElement("tr",null,React.createElement("th",null,"A"),React.createElement("td",null,"90+")),React.createElement("tr",null,React.createElement("th",null,"B"),React.createElement("td",null,"75-90")),React.createElement("tr",null,React.createElement("th",null,"C"),React.createElement("td",null,"50-75")))),React.createElement("table",null,React.createElement("tbody",null,React.createElement("tr",null,React.createElement("th",null,"D"),React.createElement("td",null,"35-50")),React.createElement("tr",null,React.createElement("th",null,"E"),React.createElement("td",null,"25-35")),React.createElement("tr",null,React.createElement("th",null,"F"),React.createElement("td",null,"0-25")))))))},A=()=>{const e=(0,v.useCallback)((()=>{g.Z.tracks.recordJetpackClick({target:"boost-conversion-loss-info-button",feature:S})}),[]),t=(0,v.useCallback)((()=>{g.Z.tracks.recordJetpackClick({target:"boost-conversion-loss-info-source",feature:S})}),[]);return React.createElement("div",{className:"boost-conversion-loss-info"},React.createElement(u.Z,{onClick:e,screenReaderText:__("Learn more about how slow sites lose visitors","jetpack")},React.createElement("p",{className:"boost-conversion-loss-info__source"},__("Source: ","jetpack"),React.createElement(o.ExternalLink,{href:"https://web.dev/why-speed-matters/",target:"_blank",rel:"noopener noreferrer",onClick:t},"web.dev"))))},M=()=>{const e=(0,r.Z)("jetpack-boost-critical-css"),t=(0,v.useCallback)((()=>{g.Z.tracks.recordJetpackClick({target:"boost-critical-css-info-button",feature:S})}),[]),s=(0,v.useCallback)((()=>{g.Z.tracks.recordJetpackClick({target:"boost-critical-css-info-link",feature:S})}),[]);return React.createElement("div",{className:"boost-critical-css-info"},React.createElement(u.Z,{onClick:t,screenReaderText:__("Learn more about how critical CSS works","jetpack")},React.createElement("h3",{className:"boost-critical-css-info__title"},__("Regenerate Critical CSS","jetpack")),React.createElement("p",null,(0,c.createInterpolateElement)(__("You should regenerate <ExternalLink>Critical CSS</ExternalLink> to optimize speed whenever your site’s HTML or CSS structure changes after:","jetpack"),{ExternalLink:React.createElement(o.ExternalLink,{onClick:s,href:e,target:"_blank",rel:"noopener noreferrer"})})),React.createElement("ul",{className:"boost-critical-css-info__list"},React.createElement("li",null,__("Making theme changes","jetpack")),React.createElement("li",null,__("Writing a new post/page","jetpack")),React.createElement("li",null,__("Editing a post/page","jetpack")),React.createElement("li",null,__("Activating, deactivating, or updating plugins that impact your site layout","jetpack")),React.createElement("li",null,__("Upgrading your WordPress version if the new release includes core CSS changes","jetpack"))),React.createElement("p",{className:"boost-critical-css-info__bottom-text"},__("Being on top of this can be tedious and time-consuming. Boost’s cloud service can automatically detect when your site needs a new Critical CSS and generate it, improving site performance and SEO without requiring manual monitoring.","jetpack"))))}},21475:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(69307),n=s(65736),i=s(57633),r=s(43255),o=s(27583),c=s(5060),l=s(25162),p=s.n(l),d=s(99196),u=s.n(d),m=s(59309),h=s(96300),g=s(69508);const __=n.__,_x=n._x;class k extends d.Component{siteConnection(){let e="";return this.props.isOfflineMode?e=u().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?u().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):u().createElement(c.Z,{icon:"globe",size:64}),u().createElement("div",{className:"jp-connection-settings__text"},__("Your site is in Offline Mode, so it can not be connected to WordPress.com.","jetpack"))):!0===this.props.siteConnectionStatus&&(e=u().createElement("div",null,u().createElement("div",{className:"jp-connection-settings__info"},this.props.siteIcon?u().createElement("img",{width:"64",height:"64",className:"jp-connection-settings__site-icon",src:this.props.siteIcon,alt:""}):u().createElement(c.Z,{icon:"globe",size:64}),u().createElement("div",{className:"jp-connection-settings__text"},__("Your site is connected to WordPress.com.","jetpack"),this.props.isConnectionOwner&&u().createElement("span",{className:"jp-connection-settings__is-owner"},__("You are the Jetpack owner.","jetpack")),this.props.userCanDisconnectSite&&u().createElement("div",{className:"jp-connection-settings__actions"},u().createElement(i.Z,{asLink:!0,autoOpenInDisconnectRoute:!0})))))),e}userConnection(){const e=this.props.isConnectionOwner?null:u().createElement(i.Z,{asLink:!0,connectUser:!0,from:"connection-settings"});let t="";return this.props.isOfflineMode?u().createElement("div",{className:"jp-connection-settings__info"},this.props.userGravatar?u().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.userGravatar}):u().createElement(c.Z,{icon:"user",size:64}),u().createElement("div",{className:"jp-connection-settings__text"},__("The site is in Offline Mode, so you can not connect to WordPress.com.","jetpack"))):(t=this.props.isLinked?this.props.isFetchingUserData?__("Loading…","jetpack"):u().createElement("div",null,u().createElement("div",{className:"jp-connection-settings__info"},u().createElement("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.wpComConnectedUser.avatar}),u().createElement("div",{className:"jp-connection-settings__text"},(0,a.createInterpolateElement)((0,n.sprintf)(/* translators: Placeholder is the WordPress user login name. */
__("Connected as <span>%s</span>","jetpack"),this.props.wpComConnectedUser.login),{span:u().createElement("span",{className:"jp-connection-settings__username"})}),u().createElement("div",{className:"jp-connection-settings__email"},this.props.wpComConnectedUser.email))),u().createElement("div",{className:"jp-connection-settings__actions"},e)):u().createElement("div",null,u().createElement("div",{className:"jp-connection-settings__info"},__("Get the most out of Jetpack.","jetpack")),u().createElement("div",{className:"jp-connection-settings__actions"},e)),t)}render(){return u().createElement("div",null,u().createElement(o.Z,null),u().createElement("div",{className:"jp-at-a-glance__item-grid"},u().createElement("div",{className:"jp-at-a-glance__left"},u().createElement("div",{className:"jp-dash-item__interior"},u().createElement(r.Z,{className:"jp-connection-type",label:_x("Site connection","Dashboard widget header","jetpack")},this.siteConnection()))),this.props.userCanConnectAccount&&u().createElement("div",{className:"jp-at-a-glance__right"},u().createElement("div",{className:"jp-dash-item__interior"},u().createElement(r.Z,{className:"jp-connection-type",label:_x("Account connection","Dashboard widget header","jetpack")},this.userConnection())))))}}k.propTypes={siteConnectionStatus:p().any.isRequired,isOfflineMode:p().bool.isRequired,userCanDisconnectSite:p().bool.isRequired,isConnectionOwner:p().bool.isRequired,isLinked:p().bool.isRequired,userGravatar:p().any.isRequired,username:p().any.isRequired};const f=(0,m.$j)((e=>({siteConnectionStatus:(0,h.Gz)(e),isOfflineMode:(0,h.Ex)(e),userCanDisconnectSite:(0,g.WB)(e),userCanConnectAccount:(0,g.n0)(e),userGravatar:(0,g.KF)(e),username:(0,g.Ms)(e),isConnectionOwner:(0,h.QM)(e),isLinked:(0,h.BU)(e),siteIcon:(0,g.ze)(e),isFetchingUserData:(0,h.Dd)(e),wpComConnectedUser:(0,h.tN)(e)})))(k)},6408:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(6895),n=s(55609),i=s(69307),r=s(65736),o=s(88154),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(97436);const __=r.__,_x=r._x,m=["zero-bs-crm/ZeroBSCRM.php"];class h extends p.Component{static propTypes={siteAdminUrl:l().string.isRequired};render(){return d().createElement(o.Z,{iconAlt:__("Plugin icon","jetpack"),iconSrc:u,pluginName:_x("CRM","The Jetpack CRM product name, without the Jetpack prefix","jetpack"),pluginFiles:m,pluginSlug:"zero-bs-crm",pluginLink:this.props.siteAdminUrl+"admin.php?page=zerobscrm-dash",installOrActivatePrompt:(0,i.createInterpolateElement)(__("Sell more and get more leads with the free Jetpack CRM plugin built specifically for WordPress.<br /><ExternalLink>Learn more</ExternalLink>","jetpack"),{ExternalLink:d().createElement(n.ExternalLink,{href:(0,a.Z)("stats-nudges-crm-learn")}),br:d().createElement("br",null)})})}}const g=h},36288:(e,t,s)=>{"use strict";s.d(t,{Z:()=>I});var a=s(82674),n=s.n(a),i=s(88275),r=s(1862),o=s(65736),c=s(69552),l=s(70298),p=s(26551),d=s(69270),u=s(7679),m=s(2353),h=s(84069),g=s(92819),k=s(99196),f=s.n(k),v=s(59309),E=s(96300),w=s(69508),_=s(50416),b=s(15080),y=s(4341),C=s(91248),j=s(92792),S=s(96438),N=s(21475),x=s(6408),T=s(51806),A=s(73823),M=s(50786),P=s(49260),Z=s(39441),O=s(46158),R=s(10242),L=s(86354);const __=o.__;class z extends k.Component{trackSecurityClick=()=>h.Z.tracks.recordJetpackClick("aag_manage_security_wpcom");trackUpgradeButtonView=(e="")=>()=>h.Z.tracks.recordEvent("jetpack_wpa_aag_upgrade_button_view",{feature:e});render(){const e={updateOptions:this.props.updateOptions,getOptionValue:this.props.getOptionValue,isUpdating:this.props.isUpdating,multisite:this.props.multisite},t={siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl},s=f().createElement(c.Z,{label:__("Security","jetpack"),settingsPath:this.props.userCanManageModules?"#security":void 0,externalLink:this.props.isOfflineMode||!this.props.userCanManageModules?"":__("Manage security settings","jetpack"),externalLinkPath:this.props.isOfflineMode?"":"#/security",externalLinkClick:this.trackSecurityClick}),a=f().createElement("div",null,f().createElement(c.Z,{label:__("Connections","jetpack"),className:"jp-dash-section-header__connections"}),f().createElement(N.Z,null)),o=(0,g.get)(this.props.rewindStatus,["state"],""),m=(0,g.get)(this.props.rewindStatus,["reason"],""),k=[],v=!this.props.fetchingScanStatus&&"vp_active_on_site"===this.props.scanStatus?.reason;if(this.props.isAtomicSite||this.props.multisite&&!v||k.push(f().createElement(P.Z,n()({},e,t,{trackUpgradeButtonView:this.trackUpgradeButtonView("scan")}))),k.push(f().createElement(C.Z,n()({},t,{trackUpgradeButtonView:this.trackUpgradeButtonView("akismet")}))),"inactive"!==this.props.getModuleOverride("protect")&&k.push(f().createElement(M.Z,e)),"inactive"!==this.props.getModuleOverride("monitor")&&k.push(f().createElement(T.Z,e)),"active"===o&&k.unshift(f().createElement(y.Z,n()({},e,{siteRawUrl:this.props.siteRawUrl}))),this.props.userCanManageModules){const g=!this.props.multisite&&!this.props.isOfflineMode&&this.props.hasConnectedOwner,v=[];"inactive"!==this.props.getModuleOverride("photon")&&v.push(f().createElement(A.Z,e)),"inactive"!==this.props.getModuleOverride("search")&&v.push(f().createElement(Z.Z,n()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("search")}))),"inactive"!==this.props.getModuleOverride("videopress")&&v.push(f().createElement(L.Z,n()({},e,{trackUpgradeButtonView:this.trackUpgradeButtonView("videopress")}))),this.props.userCanManagePlugins&&v.push(f().createElement(x.Z,{siteAdminUrl:this.props.siteAdminUrl}));const E=!this.props.isOfflineMode&&this.props.partnerCoupon&&f().createElement(r.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:h.Z}),w=g?f().createElement("div",{className:"jp-at-a-glance__pinned-bundle"},f().createElement(O.Z,null),f().createElement(j.Z,n()({},e,{siteRawUrl:this.props.siteRawUrl,rewindStatus:o,rewindStatusReason:m,trackUpgradeButtonView:this.trackUpgradeButtonView("backups")}))):null,_=this.props.userCanManagePlugins?f().createElement("div",{className:"jp-at-a-glance__pinned-bundle"},f().createElement(S.Z,{siteAdminUrl:this.props.siteAdminUrl})):void 0;return f().createElement(i.ZP,null,f().createElement("div",{className:"jp-at-a-glance"},f().createElement("h1",{className:"screen-reader-text"},__("Jetpack At A Glance Dashboard","jetpack")),f().createElement(u.Z,null),f().createElement(d.Z,null),f().createElement(l.Z,null),f().createElement(p.Z,null),E,f().createElement(R.Z,n()({},e,t)),f().createElement(U,{header:s,cards:k,pinnedBundle:w}),f().createElement(U,{header:f().createElement(c.Z,{label:__("Performance and Growth","jetpack")}),cards:v,pinnedBundle:_}),a))}let E="";this.props.userCanViewStats&&(E=f().createElement(R.Z,n()({},e,t)));const w=f().createElement(M.Z,e),_=this.props.getOptionValue("protect")&&this.props.hasConnectedOwner;return this.props.userIsSubscriber?f().createElement("div",null,E,a):f().createElement("div",null,E,_&&s,_&&w,a)}}const I=(0,v.$j)((e=>({userCanManageModules:(0,w.pK)(e),userCanViewStats:(0,w.px)(e),userCanManagePlugins:(0,w.ic)(e),userIsSubscriber:(0,w.dc)(e),isAtomicSite:(0,w.Ug)(e),isOfflineMode:(0,E.Ex)(e),getModuleOverride:t=>(0,_.Qy)(e,t),multisite:(0,w.TA)(e),scanStatus:(0,b.C8)(e),fetchingScanStatus:(0,b.gE)(e),hasConnectedOwner:(0,E.it)(e),connectionStatus:(0,E.Zp)(e),partnerCoupon:(0,w.DV)(e),pluginBaseUrl:(0,w.wB)(e),tracksUserData:(0,w.hv)(e),apiRoot:(0,w.yB)(e),apiNonce:(0,w.VY)(e),registrationNonce:(0,w.H$)(e)})))((0,m.u)(z)),U=({cards:e=[],header:t,pinnedBundle:s})=>e.length?f().createElement(f().Fragment,null,t,s,(0,g.chunk)(e,2).map((([e,t],s)=>f().createElement("div",{className:"jp-at-a-glance__item-grid",key:`card-${s}`},f().createElement("div",{className:"jp-at-a-glance__left"},e),f().createElement("div",{className:"jp-at-a-glance__right"},t))))):null},51806:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(6895),n=s(69307),i=s(65736),r=s(97506),o=s(43255),c=s(84069),l=s(25162),p=s.n(l),d=s(99196),u=s.n(d),m=s(59309),h=s(96300),g=s(50416);const __=i.__;class k extends d.Component{static propTypes={isOfflineMode:p().bool.isRequired,isModuleAvailable:p().bool.isRequired,hasConnectedOwner:p().bool.isRequired};activateAndTrack=()=>{c.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"monitor",toggled:"on"}),this.props.updateOptions({monitor:!0})};connect=()=>this.props.connectUser();getContent(){const e=__("Downtime monitoring","jetpack"),t={text:__("Jetpack’s downtime monitor will continuously monitor your site and alert you the moment that downtime is detected.","jetpack"),link:(0,a.Z)("jetpack-support-monitor")};if(this.props.getOptionValue("monitor")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner)return u().createElement(o.Z,{label:e,module:"monitor",support:t,status:"is-working"},u().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is monitoring your site. If we think your site is down, you will receive an email.","jetpack")));const s=this.props.hasConnectedOwner?(0,n.createInterpolateElement)(__("<Button>Activate Monitor</Button> to receive email notifications if your site goes down.","jetpack"),{Button:u().createElement(r.Z,{className:"jp-link-button",onClick:this.activateAndTrack})}):__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack");return u().createElement(o.Z,{label:e,module:"monitor",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},u().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode.","jetpack"):s),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&u().createElement("p",{className:"jp-dash-item__description jp-dash-item__connect"},(0,n.createInterpolateElement)(__("<Button>Connect your WordPress.com</Button> account to use this feature.","jetpack"),{Button:u().createElement(r.Z,{className:"jp-link-button",onClick:this.connect})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}const f=(0,m.$j)((e=>({isOfflineMode:(0,h.Ex)(e),isModuleAvailable:(0,g.v1)(e,"monitor"),hasConnectedOwner:(0,h.it)(e)})),(e=>({connectUser:()=>e((0,h.bL)())})))(k)},73823:(e,t,s)=>{"use strict";s.d(t,{Z:()=>k});var a=s(6895),n=s(69307),i=s(65736),r=s(97506),o=s(43255),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(59309),m=s(96300),h=s(50416);const __=i.__;class g extends p.Component{static propTypes={isOfflineMode:l().bool.isRequired,isModuleAvailable:l().bool.isRequired};activatePhoton=()=>this.props.updateOptions({photon:!0});getContent(){const e=__("Image Accelerator","jetpack"),t={text:__("Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.","jetpack"),link:(0,a.Z)("jetpack-support-photon")};return this.props.getOptionValue("photon")?d().createElement(o.Z,{label:e,module:"photon",support:t,status:"is-working"},d().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"))):d().createElement(o.Z,{label:e,module:"photon",support:t,className:"jp-dash-item__is-inactive"},d().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,n.createInterpolateElement)(__("<Button>Activate</Button> to optimize image sizes and load images from Jetpack's fast global network of servers. This improves your site's performance on desktop and mobile devices.","jetpack"),{Button:d().createElement(r.Z,{className:"jp-link-button",onClick:this.activatePhoton})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}const k=(0,u.$j)((e=>({isOfflineMode:(0,m.Ex)(e),isModuleAvailable:(0,h.v1)(e,"photon")})))(g)},50786:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(6895),n=s(52947),i=s(69307),r=s(65736),o=s(97506),c=s(43255),l=s(4681),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(59309),g=s(17296),k=s(96300),f=s(50416);const __=r.__;class v extends u.Component{static propTypes={isOfflineMode:d().bool.isRequired,protectCount:d().any.isRequired,isModuleAvailable:d().bool.isRequired,hasConnectedOwner:d().bool.isRequired,connectUser:d().func.isRequired};activateProtect=()=>this.props.updateOptions({protect:!0});connect=()=>this.props.connectUser();getContent(){const e=__("Brute force protection","jetpack"),t={text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,a.Z)("jetpack-support-protect")};if(this.props.getOptionValue("protect")&&!this.props.isOfflineMode&&this.props.hasConnectedOwner){const s=this.props.protectCount;return"N/A"===s?m().createElement(c.Z,{label:e,module:"protect",support:t},m().createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack"))):0===s?m().createElement(c.Z,{label:e,module:"protect",support:t,status:"is-working",className:"jp-dash-item__recently-activated"},m().createElement("div",{className:"jp-dash-item__recently-activated-lower"},m().createElement(l.Z,null),m().createElement("p",{className:"jp-dash-item__description"},__("Jetpack is actively blocking malicious login attempts. Data will display here soon!","jetpack")))):m().createElement(c.Z,{label:e,module:"protect",support:t,status:"is-working"},m().createElement("h2",{className:"jp-dash-item__count"},(0,n.Z)(s)),m().createElement("p",{className:"jp-dash-item__description"},__("Total malicious attacks blocked on your site.","jetpack")))}return m().createElement(c.Z,{label:e,module:"protect",support:t,className:"jp-dash-item__is-inactive",noToggle:!this.props.hasConnectedOwner},m().createElement("p",{className:"jp-dash-item__description"},this.props.isOfflineMode&&__("Unavailable in Offline Mode","jetpack"),!this.props.isOfflineMode&&!this.props.hasConnectedOwner&&(0,i.createInterpolateElement)(__("<Button>Connect your WordPress.com</Button> account to keep your site protected from malicious sign in attempts.","jetpack"),{Button:m().createElement(o.Z,{className:"jp-link-button",onClick:this.connect})}),!this.props.isOfflineMode&&this.props.hasConnectedOwner&&(0,i.createInterpolateElement)(__("<Button>Activate Protect</Button> to keep your site protected from malicious sign in attempts.","jetpack"),{Button:m().createElement(o.Z,{className:"jp-link-button",onClick:this.activateProtect})})))}render(){return this.props.isModuleAvailable&&m().createElement("div",{className:"jp-dash-item__interior"},m().createElement(l.Z,{isActive:this.props.getOptionValue("protect")}),this.getContent())}}const E=(0,h.$j)((e=>({protectCount:(0,g.xz)(e),isOfflineMode:(0,k.Ex)(e),isModuleAvailable:(0,f.v1)(e,"protect"),hasConnectedOwner:(0,k.it)(e)})),(e=>({connectUser:()=>e((0,k.bL)())})))(v)},49260:(e,t,s)=>{"use strict";s.d(t,{Z:()=>M});var a=s(64743),n=s(6895),i=s(52947),r=s(69307),o=s(65736),c=s(97506),l=s(85799),p=s(43255),d=s(41549),u=s(85733),m=s(84069),h=s(59584),g=s(92819),k=s(1137),f=s(25162),v=s.n(f),E=s(99196),w=s.n(E),_=s(59309),b=s(17296),y=s(96300),C=s(69508),j=s(15080),S=s(33002),N=s(61372);const __=o.__,_n=o._n,_x=o._x,x=e=>w().createElement(p.Z,{label:__("Scan","jetpack"),module:e.feature||"scan",support:{text:__("Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.","jetpack"),link:(0,n.Z)("jetpack-support-security")},className:e.className||"",status:e.status||"",pro:!0,overrideContent:e.overrideContent},(0,g.isArray)(e.content)?e.content.map(((e,t)=>w().createElement(w().Fragment,{key:t},e))):w().createElement("p",{className:"jp-dash-item__description"},e.content)),T=e=>x({className:"jp-dash-item__is-active",status:"is-working",content:e});class A extends E.Component{static propTypes={siteRawUrl:v().string.isRequired,siteAdminUrl:v().string.isRequired,trackUpgradeButtonView:v().func,vaultPressData:v().any.isRequired,scanThreats:v().any.isRequired,sitePlan:v().object.isRequired,isOfflineMode:v().bool.isRequired,isVaultPressInstalled:v().bool.isRequired,fetchingSiteData:v().bool.isRequired,upgradeUrl:v().string.isRequired,hasConnectedOwner:v().bool.isRequired};static defaultProps={siteRawUrl:"",siteAdminUrl:"",vaultPressData:"",scanThreats:0,sitePlan:"",isOfflineMode:!1,isVaultPressInstalled:!1,fetchingSiteData:!1,trackUpgradeButtonView:g.noop};trackScansClick=()=>{m.Z.tracks.recordJetpackClick({type:"scans-link",target:"at-a-glance",feature:"scans"})};onActivateVaultPressClick=()=>(m.Z.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"vaultpress"}),this.props.createNotice("is-info",__("Activating VaultPress…","jetpack"),{id:"activating-vaultpress"}),a.ZP.activateVaultPress().then((()=>{this.props.removeNotice("activating-vaultpress"),window.location.href=this.props.siteAdminUrl+"admin.php?page=vaultpress"})).catch((()=>{this.props.removeNotice("activating-vaultpress"),this.props.createNotice("is-error",__("Could not activate VaultPress.","jetpack"),{id:"activate-vaultpress-failure"})})),!1);getVPContent(){const{vaultPressData:e,hasConnectedOwner:t}=this.props;if("not_registered"===e?.code)return x({className:"jp-dash-item__is-inactive",status:"not-registered",content:(0,r.createInterpolateElement)(__("VaultPress is having difficulties scanning. Please make sure your <keyLink>registration key is entered</keyLink>. If you require further assistance please <supportLink>contact support</supportLink>.","jetpack"),{keyLink:w().createElement("a",{href:this.props.siteAdminUrl+"admin.php?page=vaultpress"}),supportLink:w().createElement("a",{href:(0,n.Z)("vaultpress-help")})})});if((0,g.get)(e,["data","features","security"],!1)){const t=this.props.scanThreats;if(0!==t)return this.renderThreatsFound(t,(0,n.Z)("vaultpress-dashboard"));if("success"===e.code)return x({status:"is-working",content:__("No threats found, you're good to go!","jetpack")})}if(this.props.fetchingSiteData)return x({content:__("Loading…","jetpack")});const s=!1!==this.props.sitePlan,a=["is-premium-plan","is-business-plan"].includes(this.props.planClass);return s&&a?this.props.isVaultPressInstalled?x({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:[w().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,r.createInterpolateElement)(__("VaultPress is not active, <Button>please activate</Button> to enable automatic scanning for security for threats.","jetpack"),{Button:w().createElement(c.Z,{className:"jp-link-button",onClick:this.onActivateVaultPressClick})}))]}):x({className:"jp-dash-item__is-inactive",status:"pro-uninstalled",content:[w().createElement("p",{className:"jp-dash-item__description",key:"inactive-scanning"},(0,r.createInterpolateElement)(__("VaultPress is not installed, <a>please install</a> to enable automatic scanning for security for threats.","jetpack"),{a:w().createElement("a",{href:(0,n.Z)("calypso-plugins-vaultpress"),target:"_blank",rel:"noopener noreferrer"})}))]}):x({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:t?this.getUpgradeBanner():this.getConnectBanner()})}getUpgradeBanner(){return w().createElement(u.ZP,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Purchase Jetpack Scan to protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",href:this.props.upgradeUrl,eventFeature:"scan",path:"dashboard",plan:(0,h.o2o)(h.eMt),trackBannerDisplay:this.props.trackUpgradeButtonView,noIcon:!0})}getConnectBanner(){return w().createElement(u.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade to Jetpack Scan and protect your site from security threats with automated scanning.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"scan",path:"dashboard",plan:(0,h.o2o)(h.eMt)})}renderAction(e,t){return this.props.isAtomicSite?null:w().createElement(l.Z,{compact:!0,key:"manage-scan",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackScansClick},t)}renderThreatsFound(e,t){return w().createElement(w().Fragment,null,T([w().createElement("h2",{className:"jp-dash-item__count is-alert"},(0,i.Z)(e)),w().createElement("p",{className:"jp-dash-item__description"},(0,r.createInterpolateElement)(_n("Security threat found. <a>Click here</a> to fix them immediately.","Security threats found. <a>Click here</a> to fix them immediately.",e,"jetpack"),{a:w().createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"})}))]),this.renderAction(t,__("View security scan details","jetpack")))}getRewindContent(){const{scanStatus:e,siteRawUrl:t}=this.props,s=(0,n.Z)("calypso-scanner",{site:t});if(Array.isArray(e.threats)&&e.threats.length>0)return this.renderThreatsFound(e.threats.length,s);if(e.credentials&&0===e.credentials.length)return w().createElement(w().Fragment,null,T(__("Enter your SSH, SFTP, or FTP credentials to enable one-click fixes","jetpack")),this.renderAction((0,n.Z)("jetpack-scan-dash-credentials",{site:t}),__("Enter credentials","jetpack")));switch(e.state){case"provisioning":return w().createElement(w().Fragment,null,T(__("We are configuring your site protection.","jetpack")));case"idle":case"scanning":return w().createElement(w().Fragment,null,T(__("No security threats found. Your site will continue to be monitored for future threats.","jetpack")),this.renderAction((0,n.Z)("calypso-scanner",{site:t}),__("View security scan details","jetpack")))}return!1}getUpgradeContent(){const{hasConnectedOwner:e}=this.props;return x({className:"jp-dash-item__is-inactive",overrideContent:e?this.getUpgradeBanner():this.getConnectBanner()})}getContent(){const{scanStatus:e}=this.props;return e.state&&"unavailable"!==e.state?w().createElement("div",{className:"jp-dash-item"},this.getRewindContent()):"vp_active_on_site"===e.reason?this.getVPContent():this.getUpgradeContent()}render(){if(!this.props.showBackups)return null;if(this.props.isOfflineMode)return x({className:"jp-dash-item__is-inactive",content:__("Unavailable in Offline Mode.","jetpack")});const e=this.props.fetchingScanStatus||this.props.fetchingVaultPressData;return w().createElement("div",null,e?x({content:__("Loading…","jetpack")}):this.getContent())}}const M=(0,_.$j)((e=>{const t=(0,S.UL)(e);return{isAtomicSite:(0,C.Ug)(e),isOfflineMode:(0,y.Ex)(e),scanStatus:(0,j.C8)(e),fetchingScanStatus:(0,j.gE)(e),isVaultPressInstalled:(0,N.P8)(e,"vaultpress/vaultpress.php"),fetchingVaultPressData:(0,b.P_)(e),vaultPressData:(0,b.XK)(e),scanThreats:(0,b._R)(e),fetchingSiteData:(0,S._5)(e),sitePlan:t,planClass:(0,h.scx)((0,g.get)(t,"product_slug","")),showBackups:(0,C.xR)(e),upgradeUrl:(0,k.z)(e,"scan"),hasConnectedOwner:(0,y.it)(e)}}),(e=>({createNotice:d.iI,removeNotice:d.qq,connectUser:()=>e((0,y.bL)())})))(A)},39441:(e,t,s)=>{"use strict";s.d(t,{Z:()=>N});var a=s(6895),n=s(69307),i=s(65736),r=s(97506),o=s(85799),c=s(43255),l=s(85733),p=s(84069),d=s(59584),u=s(92819),m=s(1137),h=s(25162),g=s.n(h),k=s(99196),f=s.n(k),v=s(59309),E=s(96300),w=s(69508),_=s(33002);const __=i.__,_x=i._x,b=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),y=__("Customize your Search experience.","jetpack"),C=__("Search supports many customizations. ","jetpack"),j=e=>f().createElement(c.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,a.Z)("jetpack-support-search")},className:e.className,status:e.status,isModule:e.pro_inactive,pro:!0,overrideContent:e.overrideContent},f().createElement("p",{className:"jp-dash-item__description"},e.content));class S extends k.Component{static propTypes={getOptionValue:g().func.isRequired,trackUpgradeBanner:g().func,isOfflineMode:g().bool.isRequired,hasConnectedOwner:g().bool.isRequired};static defaultProps={getOptionValue:u.noop,isOfflineMode:!1,trackUpgradeBanner:u.noop};trackConfigureSearchLink=()=>{p.Z.tracks.recordJetpackClick({type:"configure-search-link",target:"at-a-glance",feature:"search"})};trackAddSearchWidgetLink=()=>{p.Z.tracks.recordJetpackClick({type:"search-widget-link",target:"at-a-glance",feature:"search"})};trackAddSearchBlockLink=()=>{p.Z.tracks.recordJetpackClick({type:"search-block-link",target:"at-a-glance",feature:"search"})};activateSearch=()=>{this.props.updateOptions({search:!0,...this.props.hasInstantSearch?{instant_search_enabled:!0}:{}})};render(){return this.props.isFetching?j({status:"",content:__("Loading…","jetpack")}):this.props.isOfflineMode?j({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,content:__("Unavailable in Offline Mode","jetpack")}):this.props.hasClassicSearch||this.props.hasInstantSearch?this.props.getOptionValue("search")?f().createElement("div",{className:"jp-dash-item"},f().createElement(c.Z,{label:__("Search","jetpack"),module:"search",support:{text:C,link:(0,a.Z)("jetpack-support-search")},className:"jp-dash-item__is-active",isModule:!1,pro:!0},f().createElement("p",{className:"jp-dash-item__description"},__("Jetpack Search is powering search on your site.","jetpack"))),this.props.hasInstantSearch&&f().createElement(o.Z,{compact:!0,className:"jp-search-config-aag",href:"admin.php?page=jetpack-search-configure",onClick:this.trackConfigureSearchLink},y),!this.props.hasInstantSearch&&!this.props.isBlockThemeActive&&f().createElement(o.Z,{compact:!0,className:"jp-search-config-aag",href:"customize.php?autofocus[panel]=widgets",onClick:this.trackAddSearchWidgetLink},__("Add Search (Jetpack) Widget","jetpack")),!this.props.hasInstantSearch&&this.props.isBlockThemeActive&&f().createElement(o.Z,{compact:!0,className:"jp-search-config-aag",href:"site-editor.php",onClick:this.trackAddSearchBlockLink},__("Add a Search Block","jetpack"))):j({className:"jp-dash-item__is-inactive",pro_inactive:!1,content:(0,n.createInterpolateElement)(__("<Button>Activate</Button> to help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),{Button:f().createElement(r.Z,{className:"jp-link-button",onClick:this.activateSearch})})}):j({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",pro_inactive:!0,overrideContent:this.props.hasConnectedOwner?f().createElement(l.ZP,{callToAction:(0,m.I)()?__("Start for free","jetpack"):_x("Upgrade","Call to action to buy a new plan","jetpack"),title:b,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"search",path:"dashboard",plan:(0,d.o2o)(d.T54),icon:"search",trackBannerDisplay:this.props.trackUpgradeButtonView,noIcon:!0}):f().createElement(l.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get Jetpack Search, which helps your visitors instantly find the right content – right when they need it.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"search",path:"dashboard",plan:(0,d.o2o)(d.T54),noIcon:!0})})}}const N=(0,v.$j)((e=>({isBlockThemeActive:(0,w.$2)(e),isOfflineMode:(0,E.Ex)(e),isFetching:(0,_.GR)(e),hasClassicSearch:(0,_.CV)(e,"search"),hasInstantSearch:(0,_.CV)(e,"instant-search"),upgradeUrl:(0,m.z)(e,"search"),hasConnectedOwner:(0,E.it)(e)})),(e=>({connectUser:()=>e((0,E.bL)())})))(S)},46158:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(6895),n=s(69307),i=s(65736),r=s(97506),o=s(85799),c=s(84069),l=s(1137),p=s(99196),d=s.n(p),u=s(59309),m=s(33002),h=s(5060),g=s(80118);const __=i.__,_x=i._x;class k extends p.Component{trackUpgradeClick=()=>{c.Z.tracks.recordJetpackClick({page:"aag",target:"upgrade-button",feature:"security"})};render(){const{hasActiveSecurityPurchase:e,isFetchingSitePurchases:t}=this.props;return e||t?null:d().createElement(o.Z,{className:"dash-security-bundle"},d().createElement("div",{className:"dash-security-bundle--icon"},d().createElement("img",{src:g,alt:__("A shield and check mark representing the Jetpack Security Bundle","jetpack")})),d().createElement("div",{className:"dash-security-bundle--content"},d().createElement("div",{className:"dash-security-bundle--content-info"},d().createElement("h3",null,__("Comprehensive Site Security","jetpack")),d().createElement("p",null,(0,n.createInterpolateElement)(__("Total protection for your site, including<br /> VaultPress Backup, Scan, and Akismet Anti-spam.","jetpack"),{br:d().createElement("br",null)}))),d().createElement("div",{className:"dash-security-bundle--content-cta"},d().createElement(r.Z,{className:"dash-security-bundle--content-cta-button",href:this.props.productDescriptionUrl,onClick:this.trackUpgradeClick,primary:!0},_x("Upgrade","Call to action to buy a new plan","jetpack")),d().createElement(r.Z,{className:"dash-security-bundle--content-cta-button",href:(0,a.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"},_x("Learn more","Learn more about the new plan","jetpack"),d().createElement(h.Z,{className:"dops-card__link-indicator",icon:"external"})))))}}const f=(0,u.$j)((e=>({hasActiveSecurityPurchase:(0,m.VL)(e),isFetchingSitePurchases:(0,m.GR)(e),productDescriptionUrl:(0,l.z)(e,"security")})))(k)},33361:(e,t,s)=>{"use strict";s.d(t,{Z:()=>_});var a=s(52947),n=s(6895),i=s(55609),r=s(69771),o=s(69307),c=s(65736),l=s(65235),p=s.n(l),d=s(97506),u=s(57633),m=s(84069),h=s(25162),g=s.n(h),k=s(99196),f=s.n(k),v=s(59309),E=s(69508);const __=c.__,_x=c._x,_n=c._n;class w extends k.Component{statsBottom(){let e;return e="object"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}trackViewDetailedStats=()=>m.Z.tracks.recordJetpackClick("view_detailed_stats");trackViewWpcomStats=()=>m.Z.tracks.recordJetpackClick("view_wpcom_stats");render(){const e=this.statsBottom()[0];return f().createElement("div",null,f().createElement("div",{className:"jp-at-a-glance__stats-summary"},f().createElement("div",{className:"jp-at-a-glance__stats-summary-today"},f().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Views today","Referring to a number of page views","jetpack")),f().createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),f().createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},f().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("Best overall day","Referring to a number of page views","jetpack")),f().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,c.sprintf)(/* Translators: placeholder is a number of views. */
_n("%s View","%s Views",e.bestDay.count,"jetpack"),(0,a.Z)(e.bestDay.count))),f().createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,r.dateI18n)(this.props.dateFormat,e.bestDay.day))),f().createElement("div",{className:"jp-at-a-glance__stats-summary-alltime-views"},f().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time views","Referring to a number of page views","jetpack")),f().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,a.Z)(e.allTime.views))),f().createElement("div",{className:"jp-at-a-glance__stats-summary-alltime-comments"},f().createElement("p",{className:"jp-at-a-glance__stat-details"},_x("All-time comments","Referring to a number of comments","jetpack")),f().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,a.Z)(e.allTime.comments)))),f().createElement("div",{className:"jp-at-a-glance__stats-cta"},f().createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),f().createElement("div",{className:"jp-at-a-glance__stats-ctas"},!this.props.isWoASite&&(0,o.createInterpolateElement)(__("<button>View detailed stats</button>","jetpack"),{button:f().createElement(d.Z,{href:this.props.siteAdminUrl+"admin.php?page=stats",onClick:this.trackViewDetailedStats,primary:!0})}),!this.props.isLinked&&this.props.userCanConnectAccount&&f().createElement(u.Z,{connectUser:!0,from:"unlinked-user-connect",connectLegend:__("Connect your WordPress.com account for more metrics","jetpack")}),this.props.isLinked&&!this.props.isOdysseyStatsEnabled&&(0,o.createInterpolateElement)(__("<ExternalLink>View on WordPress.com</ExternalLink>","jetpack"),{ExternalLink:f().createElement(i.ExternalLink,{onClick:this.trackViewWpcomStats,href:(0,n.Z)("calypso-stats-insights",{site:this.props.siteRawUrl}),rel:"noopener noreferrer",target:"_blank",className:p()("jp-at-a-glance__stats-ctas-wpcom-stats",this.props.className)})}))))}}w.propTypes={siteRawUrl:g().string.isRequired,siteAdminUrl:g().string.isRequired,statsData:g().object.isRequired,isLinked:g().bool.isRequired,dateFormat:g().string.isRequired},w.defaultProps={siteRawUrl:"",siteAdminUrl:"",statsData:{},isLinked:!1,dateFormat:"F j, Y"};const _=(0,v.$j)((e=>({isOdysseyStatsEnabled:(0,E.ij)(e),isWoASite:(0,E.Pw)(e),userCanConnectAccount:(0,E.n0)(e)})))(w)},10242:(e,t,s)=>{"use strict";s.d(t,{Z:()=>A});var a=s(6895),n=s(52947),i=s(78868),r=s(55609),o=s(69771),c=s(69307),l=s(65736),p=s(97506),d=s(85799),u=s(53068),m=s(69552),h=s(67619),g=s(39224),k=s(84069),f=s(92819),v=s(25162),E=s.n(v),w=s(99196),_=s.n(w),b=s(59309),y=s(17296),C=s(96300),j=s(69508),S=s(50416),N=s(3230),x=s(33361);const __=l.__;class T extends w.Component{static propTypes={isOfflineMode:E().bool.isRequired,siteRawUrl:E().string.isRequired,siteAdminUrl:E().string.isRequired,statsData:E().any.isRequired,isModuleAvailable:E().bool.isRequired};constructor(e){super(e),this.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed}}shouldLinkToWpcomStats(){return!this.props.isOdysseyStatsEnabled||this.props.isAtomicSite}barClick=e=>{e.data.link&&(k.Z.tracks.recordJetpackClick("stats_bar"),window.open(e.data.link,this.props.isOdysseyStatsEnabled||this.props.isAtomicSite?"_self":"_blank"))};statsChart(e){const{siteAdminUrl:t,siteRawUrl:s,statsData:i}=this.props,r=[];let c=0;const/* translators: short date format, such as: Jan 12. */
p=__("M j","jetpack"),
/* translators: long date format, such as: January 12th. */
d=__("F jS","jetpack"),
/* translators: long month/year format, such as: January, 2021. */
u=__("F Y","jetpack");return"object"!=typeof i[e]?{chartData:r,totalViews:!1}:((0,f.forEach)(i[e].data,(i=>{const m=i[1];let h=i[0],g="",k="";c+=m,"day"===e?(g=(0,o.dateI18n)(p,h),k=(0,o.dateI18n)(d,h)):"week"===e?(h=h.replace(/W/g,"-"),g=(0,o.dateI18n)(p,h),k=(0,l.sprintf)(/* translators: placeholder is a date. */
__("Week of %s","jetpack"),(0,o.dateI18n)(d,h))):"month"===e&&(g=(0,o.dateI18n)("M",h),k=(0,o.dateI18n)(u,h)),r.push({label:g,value:m,nestedValue:null,className:"statsChartbar",data:{link:this.shouldLinkToWpcomStats()?(0,a.Z)(`calypso-stats-${e}`,{site:s,query:`startDate=${h}`}):`${t}admin.php?page=stats#!/stats/day/${s}?startDate=${h}`},tooltipData:[{label:k,value:(0,l.sprintf)(/* translators: placeholder is a number */
__("Views: %s","jetpack"),(0,n.Z)(m)),className:"tooltip class"}]})})),{chartData:r,totalViews:c})}statsErrors(){return(0,f.get)(this.props.statsData,["general","errors"],!1)}renderStatsChart(e){return _().createElement("div",{className:"jp-at-a-glance__stats-chart-container"},_().createElement("div",{className:"jp-at-a-glance__stats-chart"},_().createElement(u.Z,{data:e,barClick:this.barClick}),0===e.length&&_().createElement(r.Spinner,null)),_().createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},_().createElement(x.Z,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,dateFormat:this.props.dateFormat})))}dismissCard=()=>{this.setState({emptyStatsDismissed:!0}),this.props.updateOptions({dismiss_empty_stats_card:!0})};renderEmptyStatsCard(){return _().createElement(d.Z,{className:"jp-at-a-glance__stats-empty-container"},_().createElement("div",{className:"jp-at-a-glance__stats-empty"},_().createElement(i.Z,{height:64,showText:!1}),_().createElement("p",null,__("Hello there! Jetpack Stats has been activated.","jetpack"),_().createElement("br",null),__("Just give us a little time to collect data so we can display it for you here.","jetpack")),_().createElement(p.Z,{onClick:this.dismissCard,primary:!0},__("Okay, got it!","jetpack"))))}activateStats=e=>{this.props.updateOptions({stats:!0}),e.preventDefault()};renderStatsArea(){if(this.props.getOptionValue("stats")){if(this.statsErrors())return _().createElement("div",{className:"jp-at-a-glance__stats-inactive"},_().createElement("span",null,(0,c.createInterpolateElement)(__("Something happened while loading Jetpack Stats. Please try again later or <a>view your stats now on WordPress.com</a>","jetpack"),{a:_().createElement("a",{href:(0,a.Z)("calypso-stats-insights",{site:this.props.siteRawUrl})})})));const e=this.statsChart(this.props.activeTab),t=e.chartData,s=e.totalViews,n=t.length&&s<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return _().createElement("div",{className:"jp-at-a-glance__stats-container"+(n&&" jp-at-a-glance__stats-container-empty")},n?this.renderEmptyStatsCard():"",this.renderStatsChart(t))}return _().createElement("div",{className:"jp-at-a-glance__stats-inactive"},_().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},_().createElement(i.Z,{height:40,showText:!1})),_().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):_().createElement(_().Fragment,null,_().createElement("h3",null," ",__("Activate Jetpack Stats","jetpack")),(0,c.createInterpolateElement)(__("Get insights on page views, likes, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a1:_().createElement(r.ExternalLink,{href:(0,a.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})}))),!this.props.isOfflineMode&&_().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},_().createElement(p.Z,{onClick:this.activateStats,primary:!0},__("Activate Stats","jetpack"))))}switchTo(e){k.Z.tracks.recordJetpackClick({target:"stats_switch_view",view:e}),this.props.switchView(e),this.props.fetchStatsData(e)}switchToDay=e=>{this.switchTo("day"),e.preventDefault()};switchToWeek=e=>{this.switchTo("week"),e.preventDefault()};switchToMonth=e=>{this.switchTo("month"),e.preventDefault()};maybeShowStatsTabs(){return!(!1===this.statsChart(this.props.activeTab).totalViews&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed)&&(this.props.getOptionValue("stats")&&!this.statsErrors()?_().createElement("ul",{className:"jp-at-a-glance__stats-views"},_().createElement("li",{className:"jp-at-a-glance__stats-view"},_().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToDay,className:this.getClass("day")},__("Days","jetpack"))),_().createElement("li",{className:"jp-at-a-glance__stats-view"},_().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToWeek,className:this.getClass("week")},__("Weeks","jetpack"))),_().createElement("li",{className:"jp-at-a-glance__stats-view"},_().createElement("a",{tabIndex:"0",href:"#",onClick:this.switchToMonth,className:this.getClass("month")},__("Months","jetpack")))):void 0)}getClass(e){return this.props.activeTab===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"}render(){return"inactive"===this.props.getModuleOverride("stats")?_().createElement("div",null,_().createElement(g.Z,{moduleName:__("Jetpack Stats","jetpack")})):this.props.isModuleAvailable&&_().createElement("div",null,_().createElement(h.Z,{range:this.props.activeTab}),_().createElement(m.Z,{label:__("Jetpack Stats","jetpack"),className:"jp-dash-section-header-stats"},this.maybeShowStatsTabs()),_().createElement(d.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},this.renderStatsArea()))}}const A=(0,b.$j)((e=>({isModuleAvailable:(0,S.v1)(e,"stats"),activeTab:(0,y.l5)(e),dateFormat:(0,j.mh)(e),isOfflineMode:(0,C.Ex)(e),isLinked:(0,C.BU)(e),connectUrl:(0,C.AM)(e),statsData:(0,f.isEmpty)((0,y.yZ)(e))?(0,j.Uu)(e):(0,y.yZ)(e),isEmptyStatsCardDismissed:(0,N.g0)(e),getModuleOverride:t=>(0,S.Qy)(e,t),isOdysseyStatsEnabled:(0,j.ij)(e),isAtomicSite:(0,j.Ug)(e)})),(e=>({switchView:t=>e((0,y.D3)(t)),fetchStatsData:t=>e((0,y.g4)(t))})))(T)},86354:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(6895),n=s(94343),i=s(69307),r=s(65736),o=s(97506),c=s(43255),l=s(85733),p=s(59584),d=s(92819),u=s(1137),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(59309),v=s(96300),E=s(50416),w=s(33002);const __=r.__,_x=r._x;class _ extends g.Component{static propTypes={hasConnectedOwner:h().bool.isRequired,isOffline:h().bool.isRequired,isModuleAvailable:h().bool.isRequired,trackUpgradeButtonView:h().func};static defaultProps={trackUpgradeButtonView:d.noop};activateVideoPress=()=>this.props.updateOptions({videopress:!0});getContent(){const e=__("VideoPress","jetpack"),t={text:__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack"),link:(0,a.Z)("jetpack-support-videopress")},{hasConnectedOwner:s,hasVideoPressFeature:r,hasVideoPressUnlimitedStorage:d,isFetching:u,isOffline:m,upgradeUrl:h,videoPressStorageUsed:g}=this.props,f=r&&!d&&null!==g,v=s&&!r&&!m&&!u,E=r||null===g||0!==g?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack");return this.props.getOptionValue("videopress")&&s&&!m?k().createElement(c.Z,{className:"jp-dash-item__videopress",label:e,module:"videopress",support:t,status:"is-working",overrideContent:k().createElement(k().Fragment,null,k().createElement("div",{className:"dops-card jp-dash-item__card"},k().createElement("p",{className:"jp-dash-item__description"},__("VideoPress is enabled and will optimize your videos for smooth playback on any device. To add a new video, upload it to the Media Library or Post Editor.","jetpack")),f&&k().createElement("div",{className:"jp-dash-item__videopress-storage"},k().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),k().createElement(n.Z,{progress:g/1e6}))),v&&k().createElement(l.ZP,{className:"media__videopress-upgrade",callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:E,disableHref:"false",eventFeature:"videopress",noIcon:!0,path:"dashboard",plan:(0,p.o2o)(p.qbT),feature:"jetpack_videopress",href:h,trackBannerDisplay:this.props.trackUpgradeButtonView}))}):k().createElement(c.Z,{label:e,module:"videopress",support:t,className:"jp-dash-item__is-inactive",noToggle:!s,overrideContent:s||m?null:k().createElement(l.ZP,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"videopress",path:"dashboard",plan:(0,p.o2o)(p.qbT),icon:"video"})},k().createElement("p",{className:"jp-dash-item__description"},m?__("Unavailable in Offline Mode","jetpack"):(0,i.createInterpolateElement)(__("<Button>Activate</Button> to engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. Try it for free.","jetpack"),{Button:k().createElement(o.Z,{className:"jp-link-button",onClick:this.activateVideoPress})})))}render(){return this.props.isModuleAvailable&&this.getContent()}}const b=(0,f.$j)((e=>({hasConnectedOwner:(0,v.it)(e),hasVideoPressFeature:(0,w.CV)(e,"videopress-1tb-storage")||(0,w.CV)(e,"videopress-unlimited-storage")||(0,w.CV)(e,"videopress"),hasVideoPressUnlimitedStorage:(0,w.CV)(e,"videopress-unlimited-storage"),isModuleAvailable:(0,E.v1)(e,"videopress"),isOffline:(0,v.Ex)(e),isFetching:(0,w.GR)(e),sitePlan:(0,w.UL)(e),upgradeUrl:(0,u.z)(e,"videopress"),videoPressStorageUsed:(0,w.VH)(e)})),(e=>({connectUser:()=>e((0,v.bL)())})))(_)},57301:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(19567),n=s.n(a),i=s(99196),r=s.n(i);class o extends r().Component{componentDidMount(){const e=n()(this.refs.adminNotices),t=n()(".vp-deactivated");t.length>0&&t.each((function(){const t=n()(this).addClass("dops-notice is-success is-dismissable").removeClass("wrap vp-notice notice notice-success");t.wrapInner('<span class="dops-notice__content">'),t.find(".dops-notice__content").before('<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>').css("display","block"),t.find(".dops-notice__content").after('<span role="button" tabindex="0" class="dops-notice__dismiss"><svg class="gridicon gridicons-cross" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg><span class="screen-reader-text"/></span>'),t.find("h2").replaceWith((function(){return n()("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return n()("<div/>",{html:this.innerHTML})})),t.prependTo(e).css("display","flex")}));const s=n()(".vp-notice");s.length>0&&s.each((function(){const t=n()(this);if(0===t.find(".dops-notice__icon").length){const e=t.hasClass("vp-registered"),s=e?"is-success":"is-error";t.addClass("dops-notice vp-notice-jp "+s),t.wrapInner('<span class="dops-notice__content">');const a=e?'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"/></svg></span>':'<span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"/></svg></span>';t.find(".dops-notice__content").before(a),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith((function(){return n()("<strong />",{html:this.innerHTML})})),t.find("p").replaceWith((function(){return n()("<div/>",{html:this.innerHTML})})),t.css("display","flex")}t.find('a[href*="admin.php?page=vaultpress"]').remove(),t.prependTo(e).removeClass("wrap vp-notice")}));const a=n()(".woocommerce-message");a.length>0&&a.each((function(){const t=n()(this).addClass("dops-notice").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<span class="dops-notice__text"/>');const s=t.find(".dops-notice__text");s.find("p").replaceWith((function(){return n()("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})})),s.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(s),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close notice-dismiss").addClass("dops-notice__action"),t.wrapInner('<span class="dops-notice__content">').prependTo(e).css("display","flex"),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text")),t.find(".dops-notice__action:first").detach().appendTo(t)}));const i=n()(".notice");i.length>0&&i.each((function(){n()(this).hide()})),e.length>0&&n()(".dops-notice__dismiss").on("click",(function(){n()(this).parent().closest("div").hide()}))}render(){return r().createElement("div",{id:"jp-admin-notices",ref:"adminNotices","aria-live":"polite"})}}const c=o},20408:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(80800),n=s(98709),i=s(65736),r=s(65235),o=s.n(r),c=s(92819),l=s(25162),p=s.n(l),d=s(99196),u=s.n(d);const __=i.__,m={ios:{defaultSrc:a.hp+"/get-apps-ios-store.svg",src:"https://linkmaker.itunes.apple.com/assets/shared/badges/{localeSlug}/appstore-lrg.svg",tracksEvent:"calypso_app_download_ios_click",getStoreLink:e=>`https://apps.apple.com/app/apple-store/id1565481562?pt=299112&ct=${e}&mt=8`,getTitleText:()=>__("Download the Jetpack iOS mobile app.","jetpack"),getAltText:()=>__("Apple App Store download badge","jetpack"),getLocaleSlug:function(){const e=(0,n.X)().split("-")[0];return"en"===e?"en-us":`${e}-${e}`}},android:{defaultSrc:a.hp+"/get-apps-google-play.png",src:"https://play.google.com/intl/en_us/badges/images/generic/{localeSlug}_badge_web_generic.png",tracksEvent:"calypso_app_download_android_click",getStoreLink:(e,t="web",s="mobile-download-promo-pages")=>`https://play.google.com/store/apps/details?id=com.jetpack.android&referrer=utm_source%3D%${e}%26utm_medium%3D${t}%26utm_campaign%3D${s}`,getTitleText:()=>__("Download the Jetpack Android mobile app.","jetpack"),getAltText:()=>__("Google Play Store download badge","jetpack"),getLocaleSlug:function(){return(0,n.X)().split("-")[0]}}};class h extends d.PureComponent{static propTypes={altText:p().string,storeLink:p().string,storeName:p().oneOf(["ios","android"]).isRequired,titleText:p().string,onBadgeClick:p().func,utm_source:p().string,utm_campaign:p().string,utm_medium:p().string};static defaultProps={altText:"",storeLink:null,titleText:""};constructor(e){super(e);const t=m[e.storeName].getLocaleSlug().toLowerCase(),s=!(0,c.startsWith)(t,"en");this.state={shouldLoadExternalImage:s,imageSrc:s?m[e.storeName].src.replace("{localeSlug}",t):m[e.storeName].defaultSrc},s&&(this.image=null,this.loadImage())}loadImage(){this.image=new window.Image,this.image.src=this.state.imageSrc,this.image.onload=this.onLoadImageComplete,this.image.onerror=this.onLoadImageError}onLoadImageComplete=()=>{this.setState({hasExternalImageLoaded:!0})};onLoadImageError=()=>{this.setState({hasExternalImageLoaded:!1,imageSrc:m[this.props.storeName].defaultSrc})};onLinkClick=()=>{this.props.onBadgeClick(this.props.storeName)};render(){const{altText:e,titleText:t,storeLink:s,storeName:a,utm_source:n,utm_medium:i,utm_campaign:r}=this.props,{imageSrc:c,hasExternalImageLoaded:l}=this.state,p=o()("apps-badge",{[`${a}-app-badge`]:!0,"is-external-image":l}),d=m[a];return u().createElement("figure",{className:p},u().createElement("a",{href:s||d.getStoreLink(n,i,r),onClick:this.onLinkClick,target:"_blank",rel:"noopener noreferrer"},u().createElement("img",{src:c,title:t||d.getTitleText(),alt:e||d.getAltText()})))}}const g=h},17363:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(80800),n=s(6895),i=s(69307),r=s(65736),o=s(65235),c=s.n(o),l=s(20408),p=s(85799),d=s(84069),u=s(34443),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(44498);const __=r.__;class v extends k().Component{static displayName="AppsCard";trackDownloadClick=e=>{d.Z.tracks.recordJetpackClick({target:"apps-card",button:"apps-download",page:this.props.location.pathname,store:e})};trackAppLinkClick=()=>{d.Z.tracks.recordJetpackClick({target:"jetpack-apps-link",page:this.props.location.pathname})};getAppLinkSection=()=>{const e=(0,u.Z)();switch(e){case"ios":case"android":return this.getAppCards(e);default:return this.getQrCode()}};getAppCards=e=>k().createElement("div",{className:"jp-apps-card__apps-badges"},"android"===e?k().createElement(l.Z,{altText:__("Google Play Store download badge.","jetpack"),titleText:__("Download the Jetpack Android mobile app.","jetpack"),storeName:"android",storeLink:"https://play.google.com/store/apps/details?id=com.jetpack.android&utm_source=jpdash&utm_medium=cta&utm_campaign=getappscard",onBadgeClick:this.trackDownloadClick}):k().createElement(l.Z,{altText:__("Apple App Store download badge.","jetpack"),titleText:__("Download the Jetpack iOS mobile app.","jetpack"),storeName:"ios",storeLink:"https://apps.apple.com/us/app/jetpack-website-builder/id1565481562?pt=299112ct=jpdash&mt=8",onBadgeClick:this.trackDownloadClick}));getQrCode=()=>k().createElement("div",{className:"jp-apps-card__apps-qr-code"},k().createElement("img",{src:a.hp+"get-apps-qr-code.svg",alt:"",width:114}));render(){const e=c()(this.props.className,"jp-apps-card");return k().createElement("div",{className:e},k().createElement(p.Z,{className:"jp-apps-card__content"},k().createElement("div",{className:"jp-apps-card__description"},k().createElement("img",{className:"jp-apps-card__top_img",src:a.hp+"get-apps-icon.svg",alt:""}),k().createElement("h3",{className:"jp-apps-card__header"},__("Bring your stats with you using the Jetpack mobile app","jetpack")),k().createElement("p",{className:"jp-apps-card__paragraph"},(0,i.createInterpolateElement)(__("Visit <a>jetpack.com/app</a> or scan this code to download the Jetpack mobile app.","jetpack"),{a:k().createElement("a",{className:"jp-apps-card__link",href:(0,n.Z)("jetpack-plugin-dashboard-apps-card"),onClick:this.trackAppLinkClick})}))),this.getAppLinkSection()))}}v.propTypes={className:h().string};const E=(0,f.EN)(v)},47407:(e,t,s)=>{"use strict";s.d(t,{$j:()=>_,ZP:()=>b,jL:()=>w});var a=s(61074),n=s(65235),i=s.n(n),r=s(97506),o=s(85799),c=s(5060),l=s(53234),p=s(84069),d=s(59584),u=s(92819),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(59309),v=s(96300),E=s(69508);class w extends g.Component{static propTypes={callToAction:h().string,className:h().string,currentVersion:h().string.isRequired,description:h().node,eventFeature:h().string,eventProps:h().object,feature:h().string,href:h().string,icon:h().string,iconAlt:h().string,iconSrc:h().string,iconRaw:h().string,iconWp:h().any,list:h().arrayOf(h().string),onClick:h().func,path:h().string,plan:h().string,siteSlug:h().string,title:h().node.isRequired,isCurrentUserLinked:h().bool,isConnectionOwner:h().bool,noIcon:h().bool,rna:h().bool};static defaultProps={onClick:u.noop,eventProps:{},rna:!1,noIcon:!1};getHref(){const{href:e,feature:t,siteSlug:s}=this.props;return!e&&s?t?`/plans/${s}?feature=${t}`:`/plans/${s}`:e}handleClick=()=>{this.props.onClick();const{eventFeature:e,path:t,currentVersion:s,eventProps:a}=this.props;if(e||t){const n=e?{feature:e}:{},i=t?{path:t}:{},r={target:"banner",type:"upgrade",current_version:s,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no",...n,...i,...a};p.Z.tracks.recordJetpackClick(r)}};getIcon(){const{icon:e,iconAlt:t,iconSrc:s,iconRaw:n,iconWp:i,plan:r}=this.props;return n?k().createElement("div",{className:"dops-banner__icon-plan"},k().createElement("img",{src:n,alt:t})):!r||e&&s?i?k().createElement("div",{className:"dops-banner__icon-wp"},k().createElement(a.Z,{icon:i})):k().createElement("div",{className:"dops-banner__icons"},k().createElement("div",{className:"dops-banner__icon"},e&&k().createElement(c.Z,{icon:e||"info-outline",size:18}),s&&k().createElement("img",{className:"dops-banner__icon-circle-svg",src:s,alt:t})),k().createElement("div",{className:"dops-banner__icon-circle"},e&&k().createElement(c.Z,{icon:e||"info-outline",size:18}),s&&k().createElement("img",{className:"dops-banner__icon-circle-svg",src:s,alt:t}))):k().createElement("div",{className:"dops-banner__icon-plan"},k().createElement(l.Z,{plan:r}))}getContent(){const{callToAction:e,description:t,list:s,title:a,rna:n}=this.props;return k().createElement("div",{className:"dops-banner__content"},k().createElement("div",{className:"dops-banner__info"},k().createElement("div",{className:"dops-banner__title"},a),t&&k().createElement("div",{className:"dops-banner__description"},t),(0,u.size)(s)>0&&k().createElement("ul",{className:"dops-banner__list"},s.map(((e,t)=>k().createElement("li",{key:t},k().createElement(c.Z,{icon:"checkmark",size:18}),e))))),e&&k().createElement("div",{className:"dops-banner__action"},e&&k().createElement(r.Z,{rna:n,compact:!0,href:this.getHref(),onClick:this.handleClick,primary:!0},e)))}render(){const{callToAction:e,className:t,plan:s,noIcon:a}=this.props,n=(0,d.scx)(s),r=(0,d.G1J)(s),c=(0,d.yy5)(s),l=i()("dops-banner",t,{"has-call-to-action":e},{"is-upgrade-personal":r&&"is-personal-plan"===n},{"is-upgrade-premium":r&&"is-premium-plan"===n},{"is-upgrade-business":r&&"is-business-plan"===n},{"is-product":c},{"is-plan":!c},{"is-bundle":!c&&(0,d.Pu7)(s)});return k().createElement(o.Z,{className:l,href:e?null:this.getHref(),target:e||!this.getHref()?null:"_blank",onClick:e?u.noop:this.handleClick},!a&&this.getIcon(),this.getContent())}}function _(e){return(0,f.$j)((e=>({currentVersion:(0,E.w1)(e),isCurrentUserLinked:(0,v.BU)(e),isConnectionOwner:(0,v.QM)(e)})))(e)}const b=_(w)},98492:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(65235),n=s.n(a),i=s(99196),r=s.n(i);class o extends r().Component{static displayName="ButtonGroup";static propTypes={children(e){let t=null;return r().Children.forEach(e.children,(e=>{e.props&&"button"===e.props.type||(t=new Error("All children elements should be a Button."))})),t}};render(){const e=n()("dops-button-group",this.props.className);return r().createElement("span",{className:e},this.props.children)}}},97506:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65235),n=s.n(a),i=s(92819),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);class p extends l().Component{static displayName="Button";static propTypes={disabled:o().bool,compact:o().bool,primary:o().bool,scary:o().bool,type:o().string,href:o().string,onClick:o().func,borderless:o().bool,rna:o().bool,className:o().string};static defaultProps={disabled:!1,type:"button",onClick:i.noop,borderless:!1};render(){const e=this.props.href?"a":"button",{primary:t,compact:s,scary:a,borderless:i,rna:r,className:o,...c}=this.props,p=n()({"dops-button":!0,"is-compact":s,"is-primary":t,"is-scary":a,"is-borderless":i,"is-rna":r});return c.className=n()(o,p),l().createElement(e,c,this.props.children)}}},15773:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(65235),n=s.n(a),i=s(85799),r=s(92819),o=s(99196),c=s.n(o);class l extends c().Component{static displayName="CompactCard";render(){const e=(0,r.assign)({},this.props,{className:n()(this.props.className,"is-compact")});return c().createElement(i.Z,e,this.props.children)}}},85799:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(65235),n=s.n(a),i=s(92819),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(5060);class d extends l().Component{static propTypes={title:o().any,vertical:o().any,style:o().object,className:o().string,device:o().oneOf(["desktop","tablet","phone"])};static defaultProps={vertical:null};render(){return l().createElement("div",{className:n()("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}_renderWithTitle=()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return l().createElement("div",{className:e},l().createElement("h4",{ref:"label",className:"dops-card-section-label"},this.props.title),l().createElement("div",{ref:"content",className:"dops-card-section-content"},this.props.children))}}class u extends l().Component{render(){return l().createElement("div",{className:"dops-card-footer"},this.props.children)}}class m extends l().Component{static propTypes={meta:o().any,icon:o().string,iconLabel:o().any,iconColor:o().string,style:o().object,className:o().string,href:o().string,onClick:o().func,title:o().string,tagName:o().string,target:o().string,compact:o().bool,children:o().node};static defaultProps={iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}};render(){const e=n()("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let s,a;return this.props.href?s=this.props.target&&l().createElement(p.Z,{className:"dops-card__link-indicator",icon:"external"}):t.push("href","target"),this.props.title&&(a=l().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&l().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),l().createElement(this.props.href?"a":this.props.tagName,(0,i.assign)((0,i.omit)(this.props,t),{className:e}),a,this.props.children,s)}_renderIcon=()=>l().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&l().createElement(p.Z,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)}m.Section=d,m.Footer=u;const h=m},17855:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(25162),n=s.n(a),i=s(99196),r=s.n(i),o=s(48918),c=s(42224);class l extends r().Component{static displayName="ModuleChartBarContainer";static propTypes={isTouch:n().bool,data:n().array,yAxisMax:n().number,width:n().number,barClick:n().func};buildBars=e=>{const t=this.props.data.length,s=this.props.chartWidth,a=s/t;let n="bottom right";return this.props.data.map((function(i,c){const l=a*(c+1);return l+230>s&&l+a-230>0&&(n="bottom left"),r().createElement(o.Z,{index:c,key:c,isTouch:this.props.isTouch,tooltipPosition:n,className:i.className,clickHandler:this.props.barClick,data:i,max:e,count:t})}),this)};render(){return r().createElement("div",null,r().createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),r().createElement(c.Z,{data:this.props.data,labelWidth:42}))}}},48918:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65235),n=s.n(a),i=s(5060),r=s(54088),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l);class d extends p().Component{static displayName="ModuleChartBar";static propTypes={isTouch:c().bool,tooltipPosition:c().string,className:c().string,clickHandler:c().func,data:c().object.isRequired,max:c().number,count:c().number};state={showPopover:!1};buildSections=()=>{const e=this.props.data.value,t=this.props.max,s=100-(t?Math.ceil(e/t*1e4)/100:0),a=Math.max(1,Math.floor(s)),i=[],r=this.props.data.nestedValue,o={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===s&&!this.props.active};let c,l,d;const u={height:a+"%"};i.push(p().createElement("div",{key:"spacer",className:n()(o),style:u}));const m={top:a+"%"};return r&&(l=e?Math.ceil(r/e*1e4)/100:0,d={height:l+"%"},c=p().createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:d})),i.push(p().createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:m},c)),i.push(p().createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),i};keyHandler=e=>{"function"==typeof this.props.clickHandler&&13===e.keyCode&&this.props.clickHandler(this.props.data)};clickHandler=()=>{"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)};mouseEnter=()=>{this.setState({showPopover:!0})};mouseLeave=()=>{this.setState({showPopover:!1})};renderTooltip=()=>{if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;const{tooltipData:e}=this.props.data,t=e.map((function(e,t){const s=["module-content-list-item"];let a;return e.icon&&(a=p().createElement(i.Z,{icon:e.icon,size:18})),s.push(e.className),p().createElement("li",{key:t,className:s.join(" ")},p().createElement("span",{className:"dops-wrapper"},p().createElement("span",{className:"value"},e.value),p().createElement("span",{className:"label"},a,e.label)))}));return p().createElement(r.Z,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},p().createElement("ul",null,t))};render(){const e=this.props.count||1,t={"dops-chart__bar":!0};this.props.className&&(t[this.props.className]=!0);const s={width:1/e*100+"%"};return p().createElement("div",{role:"button",tabIndex:0,onKeyUp:this.keyHandler,onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"aria-label":this.props.data.tooltipData[0].label+" — "+this.props.data.value+".",className:n()(t),style:s},this.buildSections(),p().createElement("div",{className:"dops-chart__bar-marker is-hundred"}),p().createElement("div",{className:"dops-chart__bar-marker is-fifty"}),p().createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}}},53068:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65736),n=s(77733),i=s(92819),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(17855);const _x=a._x;class d extends l().Component{static displayName="ModuleChart";static propTypes={loading:o().bool,data:o().array,minTouchBarWidth:o().number,minBarWidth:o().number,barClick:o().func};static defaultProps={minTouchBarWidth:42,minBarWidth:15,barClick:i.noop};state={maxBars:100,width:650};componentDidMount(){this.resize=(0,i.throttle)(this.resize,400),window.addEventListener("resize",this.resize),this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.resize)}UNSAFE_componentWillReceiveProps(e){this.props.loading&&!e.loading&&this.resize()}resize=()=>{let e,t=this.refs.chart.clientWidth-82;(0,n._)()?(t=t<=0?350:t,e=Math.floor(t/this.props.minTouchBarWidth)):e=Math.floor(t/this.props.minBarWidth),this.setState({maxBars:e,width:t})};getYAxisMax=e=>{const t=Math.max.apply(null,e),s=Math.pow(10,t.toString().length-1);let a=Math.ceil((t+1)/s)*s;return a<10&&(a=10),a};getData=()=>{let e=this.props.data;return e=e.slice(0-this.state.maxBars),e};getValues=()=>{let e=this.getData();return e=e.map((function(e){return e.value}),this),e};isEmptyChart=e=>0===(e=e.filter((function(e){return e>0}),this)).length;render(){const e=this.getValues(),t=this.getYAxisMax(e),s=this.getData();let a;return e.length&&this.isEmptyChart(e)&&(a=l().createElement("div",{className:"dops-chart__empty"},l().createElement("span",{className:"dops-chart__empty_notice"},_x("No activity this period","Notice in the empty statistics chart","jetpack")))),l().createElement("div",{ref:"chart",className:"dops-chart"},l().createElement("div",{className:"dops-chart__y-axis-markers"},l().createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),l().createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),l().createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),l().createElement("div",{className:"dops-chart__y-axis"},l().createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),l().createElement("div",{className:"dops-chart__y-axis-label is-hundred"},t.toLocaleString()),l().createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(t/2).toLocaleString()),l().createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),l().createElement(p.Z,{barClick:this.props.barClick,data:s,yAxisMax:t,chartWidth:this.state.width,isTouch:(0,n._)()}),a)}}},28914:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(25162),n=s.n(a),i=s(99196),r=s.n(i);class o extends r().Component{static displayName="ModuleChartLabel";static propTypes={width:n().number.isRequired,x:n().number.isRequired,label:n().string.isRequired};render(){const e={width:this.props.width+"px"};return e.left=this.props.x+"px",r().createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}}},42224:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(92819),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r),c=s(28914);class l extends o().Component{static displayName="ModuleChartXAxis";static propTypes={labelWidth:i().number.isRequired,data:i().array.isRequired};state={divisor:1,spacing:this.props.labelWidth};componentDidMount(){this.resizeThrottled=(0,a.throttle)(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()}componentWillUnmount(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)}UNSAFE_componentWillReceiveProps(e){this.resize(e)}resize=e=>{let t=this.props;const s=this.refs.axis;!e||e instanceof Event||(t=e),s.style.overflow="hidden";const a=s.clientWidth;s.style.overflow="visible";const n=a/(t.data.length||1),i=t.labelWidth,r=Math.ceil(i/n);this.setState({divisor:r,spacing:n})};render(){const e=this.props.data,t=e.map((function(t,s){const a=s*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2;let n;return(e.length-s-1)%this.state.divisor==0&&(n=o().createElement(c.Z,{key:s,label:t.label,width:this.props.labelWidth,x:a})),n}),this);return o().createElement("div",{ref:"axis",className:"dops-chart__x-axis"},t)}}},64104:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(99026),c=s(9494),l=s(92819),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u);class h extends m().Component{static displayName="ClipboardButtonInput";static propTypes={value:d().string,disabled:d().bool,className:d().string,copied:d().string,copy:d().string,prompt:d().string,rna:d().bool};static defaultProps={value:"",rna:!1};state={isCopied:!1,disabled:!1};componentWillUnmount(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout}showConfirmation=()=>{this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout((()=>{this.setState({isCopied:!1})}),4e3)};render(){const e=(0,l.omit)(this.props,"className","copied","copy","isError","isValid","prompt","selectOnFocus","rna");return m().createElement("span",{className:r()("dops-clipboard-button-input",this.props.className)},m().createElement(c.Z,n()({},e,{type:"text",selectOnFocus:!0,readOnly:!0})),m().createElement(o.Z,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0,rna:this.props.rna},this.state.isCopied?this.props.copied:this.props.copy))}}},57633:(e,t,s)=>{"use strict";s.d(t,{Z:()=>j});var a=s(82674),n=s.n(a),i=s(6895),r=s(16168),o=s(55609),c=s(69307),l=s(65736),p=s(96483),d=s(97506),u=s(71865),m=s(84069),h=s(25162),g=s.n(h),k=s(99196),f=s.n(k),v=s(59309),E=s(96300),w=s(69508),_=s(33002),b=s(3915),y=s(6165);const __=l.__;class C extends f().Component{static displayName="ConnectButton";static propTypes={connectUser:g().bool,from:g().string,asLink:g().bool,connectLegend:g().string,connectInPlace:g().bool,customConnect:g().func,autoOpenInDisconnectRoute:g().bool,rna:g().bool,compact:g().bool};static defaultProps={connectUser:!1,from:"",asLink:!1,connectInPlace:!0,autoOpenInDisconnectRoute:!1,rna:!1,compact:!1};constructor(e){super(e),this.state={showModal:e.autoOpenInDisconnectRoute&&"#/disconnect"===(0,p.getFragment)(window.location.href)}}handleOpenModal=e=>{m.Z.tracks.recordJetpackClick("manage_site_connection"),e.preventDefault(),this.toggleVisibility()};handleDisconnected=()=>{this.props.fetchConnectUrl(),this.props.fetchSiteConnectionStatus()};toggleVisibility=()=>{this.setState({showModal:!this.state.showModal})};loadConnectionScreen=e=>{e.preventDefault(),this.props.isAuthorizing||this.props.fetchingConnectUrl||(m.Z.tracks.recordJetpackClick("link_account_in_place"),this.props.customConnect?this.props.customConnect():this.props.doConnectUser(null,this.props.from))};renderDisconnectStepComponent=()=>this.props.siteBenefits?f().createElement(y.Z,{siteBenefits:this.props.siteBenefits}):null;renderUserButton=()=>{if(this.props.isLinked)return f().createElement("div",null,f().createElement("a",{role:"button",tabIndex:"0",className:"jp-jetpack-unlink__button",onKeyDown:(0,b.Z)(this.props.unlinkUser),onClick:this.props.unlinkUser,disabled:this.props.isUnlinking},this.props.connectLegend||__("Disconnect your WordPress.com account","jetpack")));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`,e+="&additional-user");const t={className:"is-primary jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl||this.props.isAuthorizing,onClick:this.loadConnectionScreen},s=this.props.connectLegend||__("Connect your WordPress.com account","jetpack");return this.props.asLink?f().createElement("a",t,s):f().createElement(d.Z,n()({rna:this.props.rna,compact:this.props.compact},t),s)};renderContent=()=>{if(this.props.connectUser)return this.renderUserButton();if(this.props.isSiteConnected)return f().createElement("a",{role:"button",tabIndex:"0",onKeyDown:(0,b.Z)(this.handleOpenModal),onClick:this.handleOpenModal,disabled:this.props.isDisconnecting},this.props.connectLegend||__("Manage site connection","jetpack"));let e=this.props.connectUrl;this.props.from&&(e+=`&from=${this.props.from}`);const t={className:"jp-jetpack-connect__button",href:e,disabled:this.props.fetchingConnectUrl},s=this.props.connectLegend||__("Set up Jetpack","jetpack");return this.props.asLink?f().createElement("a",t,s):f().createElement(d.Z,t,s)};render(){return f().createElement("div",null,f().createElement(u.Z,null),!this.props.isSiteConnected&&f().createElement("p",{className:"jp-banner__tos-blurb"},(0,c.createInterpolateElement)(__("By clicking the button below, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:f().createElement(o.ExternalLink,{href:(0,i.Z)("wpcom-tos")}),shareDetailsLink:f().createElement(o.ExternalLink,{href:(0,i.Z)("jetpack-support-what-data-does-jetpack-sync")})})),this.renderContent(),f().createElement(r.Z,{apiNonce:this.props.apiNonce,apiRoot:this.props.apiRoot,connectedPlugins:this.props.connectedPlugins,connectedUser:{ID:this.props.userWpComId,login:this.props.userWpComLogin},connectedSiteId:this.props.connectedSiteId,disconnectStepComponent:this.renderDisconnectStepComponent(),onDisconnected:this.handleDisconnected,isOpen:this.state.showModal,onClose:this.toggleVisibility,context:"jetpack"}))}}const j=(0,v.$j)((e=>({siteRawUrl:(0,w.JR)(e),isSiteConnected:(0,E.Gz)(e),isDisconnecting:(0,E.e_)(e),fetchingConnectUrl:(0,E.Mq)(e),connectUrl:(0,E.AM)(e),isLinked:(0,E.BU)(e),isUnlinking:(0,E.jZ)(e),isAuthorizing:(0,E.zq)(e),isSafari:(0,w.G6)(e),doNotUseConnectionIframe:(0,w.jq)(e),apiNonce:(0,w.VY)(e),apiRoot:(0,w.yB)(e),connectedPlugins:(0,w.xz)(e),siteBenefits:(0,_.nq)(e),pluginUrl:(0,w.wB)(e),userWpComLogin:(0,w.IU)(e),userWpComId:(0,w._G)(e),connectedSiteId:(0,w.EZ)(e)})),(e=>({fetchConnectUrl:()=>e((0,E.eW)()),fetchSiteConnectionStatus:()=>e((0,E.I7)()),unlinkUser:()=>e((0,E.EP)()),doConnectUser:(t,s)=>e((0,E.bL)(t,s))})))(C)},66164:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(65736),n=s(85799),i=s(57633),r=s(84069),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(59309),u=s(96300);const __=a.__,m=e=>{const{feature:t,featureLabel:s,text:o,doConnectUser:c}=e,d="unlinked-user-connect",u=(0,l.useCallback)((()=>{r.Z.tracks.recordJetpackClick({target:"connection-bar-click",feature:t,is_user_wpcom_connected:"no",is_connection_owner:"no"}),c(s,d)}),[c,t,s,d]);return p().createElement(n.Z,{compact:!0,className:"jp-connect-user-bar__card"},p().createElement("span",null,(0,a.sprintf)(/* translators: placeholder is text adding extra instructions on what to do next. */
__("This feature is provided by the WordPress.com cloud. %s","jetpack"),o)),p().createElement(i.Z,{connectUser:!0,from:d,connectLegend:__("Connect your WordPress.com account","jetpack"),customConnect:u,rna:!0,compact:!0}))};m.propTypes={text:c().string.isRequired,feature:c().string,featureLabel:c().string};const h=(0,d.$j)(null,(e=>({doConnectUser:(t,s)=>e((0,u.bL)(t,s))})))(m)},79099:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(41342),n=s(67121),i=s(65736),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(59309),d=s(96300);const __=i.__;class u extends l().Component{static propTypes={title:o().string.isRequired,description:o().node,from:o().string};handleClick(){this.props.doConnectUser(null,this.props.from)}render(){const{description:e,title:t}=this.props,s={label:__("Connect your WordPress.com account","jetpack"),onClick:()=>this.handleClick()};return l().createElement(a.Z,{title:t,hideCloseButton:!0,actions:[l().createElement(n.Z,s)]},e)}}const m=(0,p.$j)((e=>e),(e=>({doConnectUser:(t,s)=>e((0,d.bL)(t,s))})))(u)},16102:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(78868),n=s(37325),i=s(14792),r=s(55609),o=s(69307),c=s(65736),l=s(84069),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u);const __=c.__,h=e=>{const{title:t,logo:s,children:c,className:p,buttonLabel:d,apiRoot:h,apiNonce:g,registrationNonce:k,redirectUri:f,redirectTo:v,autoTrigger:E,isSiteConnected:w,setHasSeenWCConnectionModal:_}=e;(0,u.useEffect)((()=>{_()}),[_]);const b=(0,u.useCallback)((()=>{l.Z.tracks.recordJetpackClick("contextualized_connection_continue_button")}),[]);return m().createElement("div",{className:"jp-contextualized-connection"+(p?" "+p:"")},m().createElement("div",{className:"jp-contextualized-connection__content"},m().createElement("div",{className:"jp-contextualized-connection__logo"},s||m().createElement(a.Z,null)),m().createElement("h2",null,t),c,w&&m().createElement(r.Button,{variant:"primary",className:"jp-contextualized-connection__button",label:__("Continue to Jetpack","jetpack"),href:v,onClick:b},__("Continue to Jetpack","jetpack")),!w&&m().createElement(m().Fragment,null,m().createElement(i.Z,{autoTrigger:E,apiRoot:h,apiNonce:g,registrationNonce:k,redirectUri:f,connectLabel:d}),m().createElement("div",{className:"jp-contextualized-connection__tos"},m().createElement(n.Z,{agreeButtonLabel:d})))),m().createElement("footer",{className:"jp-contextualized-connection__footer"},m().createElement("div",{className:"jp-contextualized-connection__footer-row"},m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Security tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> downtime monitoring","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> brute force attack prevention","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Full store & order backups","jetpack")),m().createElement("li",null,__("Automated malware scanning","jetpack")),m().createElement("li",null,__("Comment and form spam protection","jetpack")))),m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Performance tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> Content Delivery Network (CDN)","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> SEO tools","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Instant site search","jetpack")),m().createElement("li",null,__("Ad-free WordPress video hosting","jetpack")))),m().createElement("div",{className:"jp-contextualized-connection__footer-column"},m().createElement("h3",null,__("Growth tools","jetpack")),m().createElement("ul",{className:"jp-contextualized-connection__feature-list"},m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> site stats","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> social media tools","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,(0,o.createInterpolateElement)(__("<strong>Free</strong> related posts","jetpack"),{strong:m().createElement("strong",null)})),m().createElement("li",null,__("Accept payments","jetpack")),m().createElement("li",null,__("Ad network access","jetpack"))))),m().createElement("div",{className:"jp-contextualized-connection__footer-bottom-title"},__("More than 5 million WordPress sites trust Jetpack for their website security and performance.","jetpack"))))};h.propTypes={title:d().string,className:d().string,buttonLabel:d().string,apiRoot:d().string.isRequired,apiNonce:d().string.isRequired,registrationNonce:d().string.isRequired,redirectUri:d().string.isRequired,redirectTo:d().string.isRequired,autoTrigger:d().bool,isSiteConnected:d().bool.isRequired,logo:d().shape({type:d().oneOf(["img","svg"])})};const g=h},85582:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(25162),n=s.n(a),i=s(99196),r=s.n(i);const o=class extends r().PureComponent{static displayName="Count";static propTypes={count:n().number.isRequired};render(){return r().createElement("span",{className:"dops-count"},this.numberFormat(this.props.count))}}},43255:(e,t,s)=>{"use strict";s.d(t,{Z:()=>x});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(65235),c=s.n(o),l=s(97506),p=s(85799),d=s(2353),u=s(5004),m=s(71668),h=s(81114),g=s(79032),k=s(84069),f=s(92819),v=s(86450),E=s(25162),w=s.n(E),_=s(99196),b=s.n(_),y=s(59309),C=s(96300),j=s(69508),S=s(50416);const __=r.__,_x=r._x;class N extends _.Component{static propTypes={label:w().string,status:w().string,statusText:w().string,disabled:w().bool,module:w().string,pro:w().bool,isModule:w().bool,support:w().object,overrideContent:w().element,noToggle:w().bool};static defaultProps={label:"",module:"",pro:!1,isModule:!0,support:{text:"",link:""},noToggle:!1};toggleModule=()=>{const{updateOptions:e,module:t,getOptionValue:s}=this.props;e({[t]:!s(t)})};trackPaidBtnClick=()=>{k.Z.tracks.recordJetpackClick({target:"paid-button",feature:this.props.module,page:"aag"})};render(){let e,t,s="";const a=c()(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(t=(0,f.includes)(["monitor","protect","photon","vaultpress","scan","backups","akismet","search","videopress"],this.props.module)&&this.props.isOfflineMode||this.props.noToggle||"manage"===this.props.module?"":b().createElement(u.T,{slug:this.props.module,activated:this.props.getOptionValue(this.props.module),toggling:this.props.isUpdating(this.props.module),toggleModule:this.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(t=b().createElement("a",{href:this.props.isOfflineMode?this.props.siteAdminUrl+"update-core.php":(0,i.Z)("calypso-plugins-manage",{site:this.props.siteRawUrl})},b().createElement(m.Z,{showDismiss:!1,status:this.props.status,isCompact:!0},_x("Updates needed","Short warning message","jetpack")))),"is-working"===this.props.status&&(t=b().createElement("span",{className:"jp-dash-item__active-label"},__("Active","jetpack")))),"rewind"===this.props.module&&(t=null)),this.props.pro&&!this.props.isOfflineMode&&(s=b().createElement(l.Z,{onClick:this.trackPaidBtnClick,compact:!0,href:"#/plans"},_x("Paid","Short label appearing near a paid feature configuration block.","jetpack")),this.props.isModule&&(t=b().createElement(v.Z,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl}))),this.props.module&&this.props.getModule&&(e=this.props.getModule(this.props.module)),b().createElement("div",{className:a},b().createElement(h.Z,{label:this.props.label,cardBadge:s},this.props.userCanToggle?t:""),this.props.overrideContent?this.props.overrideContent:b().createElement(p.Z,{className:"jp-dash-item__card",href:this.props.href},b().createElement("div",{className:"jp-dash-item__content"},this.props.support.text&&b().createElement(g.Z,n()({module:e},this.props.support)),this.props.children)))}}const x=(0,y.$j)((e=>({getModule:t=>(0,S.rT)(e,t),isOfflineMode:(0,C.Ex)(e),userCanToggle:(0,j.pK)(e),siteRawUrl:(0,j.JR)(e),siteAdminUrl:(0,j.wW)(e)})))((0,d.u)(N))},69552:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65235),n=s.n(a),i=s(84069),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);class p extends l().Component{static displayName="DashSectionHeader";static propTypes={label:o().string.isRequired,settingsPath:o().string,externalLinkPath:o().string,externalLink:o().string,externalLinkClick:o().func};static defaultProps={label:"",settingsPath:"",externalLinkPath:"",externalLink:""};trackCogClick=()=>{i.Z.tracks.recordJetpackClick({target:"settings-cog",group:"security",page:"aag"})};render(){let e,t;const s=n()(this.props.className,"jp-dash-section-header");return this.props.externalLink&&(e=l().createElement("a",{className:"jp-dash-section-header__external-link",href:this.props.externalLinkPath,onClick:this.props.externalLinkClick},this.props.externalLink)),this.props.children&&(t=l().createElement("div",{className:"jp-dash-section-header__children"},this.props.children)),l().createElement("div",{className:s},l().createElement("div",{className:"jp-dash-section-header__label"},l().createElement("h2",{className:"jp-dash-section-header__name"},this.props.label)),e,t)}}const d=p},11020:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(99196),n=s(59309),i=s(835),r=s(17296);class o extends a.Component{UNSAFE_componentWillMount(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}render(){return null}}o.defaultProps={fetchAkismetData:()=>{}};const c=(0,n.$j)((e=>({fetchAkismetData:(0,r.bB)(),fetchingAkismetData:(0,r.bV)(e)})),(e=>(0,i.DE)({fetchAkismetData:r.bB},e)))(o)},3544:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(99196),n=s(59309),i=s(835),r=s(17296);class o extends a.Component{UNSAFE_componentWillMount(){this.props.isCheckingAkismetKey||this.props.checkAkismetKey()}render(){return null}}o.defaultProps={checkAkismetKey:()=>{}};const c=(0,n.$j)((e=>({checkAkismetKey:(0,r.Bt)(),isCheckingAkismetKey:(0,r.gw)(e)})),(e=>(0,i.DE)({checkAkismetKey:r.Bt},e)))(o)},75402:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(99196),n=s(59309),i=s(835),r=s(17296);class o extends a.Component{componentDidMount(){this.props.fetchingBackupUndoEvent||this.props.hasLoadedBackupUndoEvent||this.props.fetchBackupUndoEvent()}render(){return null}}o.defaultProps={fetchBackupUndoEvent:()=>{}};const c=(0,n.$j)((e=>({fetchBackupUndoEvent:r.zx,fetchingBackupUndoEvent:(0,r.Ve)(e),hasLoadedBackupUndoEvent:(0,r.O1)(e)})),(e=>(0,i.DE)({fetchBackupUndoEvent:r.zx},e)))(o)},4681:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(835),c=s(17296),l=s(50416);class p extends i.Component{static propTypes={isActive:n().bool};UNSAFE_componentWillMount(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}componentDidUpdate(e){this.props.fetchingProtectData||!0!==this.props.isActive||!1!==e.isActive||this.props.fetchProtectCount()}render(){return null}}p.defaultProps={fetchProtectCount:()=>{}};const d=(0,r.$j)((e=>({fetchProtectCount:(0,c.eR)(),fetchingProtectData:(0,c.Xu)(e),isModuleActivated:t=>(0,l.mp)(e,t)})),(e=>(0,o.DE)({fetchProtectCount:c.eR},e)))(p)},53190:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(99196),n=s(59309),i=s(36920);class r extends a.Component{static defaultProps={isFetchingIntroOffers:!1};componentDidMount(){this.props.isFetchingIntroOffers||this.props.fetchIntroOffers()}render(){return null}}const o=(0,n.$j)((e=>({isFetchingIntroOffers:(0,i.HW)(e)})),(e=>({fetchIntroOffers:()=>e((0,i.lR)())})))(r)},85182:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(8722);class l extends i.Component{static propTypes={isFetchingRecommendationsConditional:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingRecommendationsConditional:!1,isOfflineMode:!1};componentDidMount(){this.props.isFetchingRecommendationsConditional||this.props.isOfflineMode||this.props.fetchRecommendationsConditional()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingRecommendationsConditional:(0,c.E4)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchRecommendationsConditional:()=>e((0,c.AP)())})))(l)},70298:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(8722);class l extends i.Component{static propTypes={isFetchingRecommendationsData:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingRecommendationsData:!1,isOfflineMode:!1};componentDidMount(){this.props.isFetchingRecommendationsData||this.props.isOfflineMode||this.props.fetchRecommendationsData()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingRecommendationsData:(0,c.WS)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchRecommendationsData:()=>e((0,c.V2)())})))(l)},18882:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(8722);class l extends i.Component{static propTypes={isFetchingRecommendationsProductSuggestions:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingRecommendationsProductSuggestions:!1,isOfflineMode:!1};componentDidMount(){this.props.isFetchingRecommendationsProductSuggestions||this.props.isOfflineMode||this.props.fetchRecommendationsProductSuggestions()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingRecommendationsProductSuggestions:(0,c.at)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchRecommendationsProductSuggestions:()=>e((0,c.km)())})))(l)},90023:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(8722);class l extends i.Component{static propTypes={isFetchingRecommendationsUpsell:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingRecommendationsUpsell:!1,isOfflineMode:!1};componentDidMount(){this.props.isFetchingRecommendationsUpsell||this.props.isOfflineMode||this.props.fetchRecommendationsUpsell()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingRecommendationsUpsell:(0,c.b5)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchRecommendationsUpsell:()=>e((0,c.tR)())})))(l)},88546:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(69377);class l extends i.Component{static propTypes={isFetchingRewindStatus:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingRewindStatus:!1,isOfflineMode:!1};UNSAFE_componentWillMount(){this.props.isFetchingRewindStatus||this.props.isOfflineMode||this.props.fetchRewind()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingRewindStatus:(0,c.Li)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchRewind:()=>e((0,c.Au)())})))(l)},26551:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(15080);class l extends i.Component{static propTypes={isFetchingScanStatus:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingScanStatus:!1,isOfflineMode:!1};UNSAFE_componentWillMount(){this.props.isFetchingScanStatus||this.props.isOfflineMode||this.props.fetchScan()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingScanStatus:(0,c.gE)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchScan:()=>e((0,c.eR)())})))(l)},71865:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(99196),n=s(59309),i=s(33002);class r extends a.Component{static defaultProps={isFetchingSiteBenefitsData:!1};componentDidMount(){this.props.isFetchingSiteBenefits||this.props.fetchSiteBenefits()}render(){return null}}const o=(0,n.$j)((e=>({isFetchingSiteBenefits:(0,i.bl)(e)})),(e=>({fetchSiteBenefits:()=>e((0,i.IO)())})))(r)},92658:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(99196),n=s(59309),i=s(33002);class r extends a.Component{static defaultProps={isFetchingSiteDiscount:!1};componentDidMount(){this.props.isFetchingSiteDiscount||this.props.fetchSiteDiscount()}render(){return null}}const o=(0,n.$j)((e=>({isFetchingSiteDiscount:(0,i.Zd)(e)})),(e=>({fetchSiteDiscount:()=>e((0,i.N$)())})))(r)},7679:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(99196),n=s.n(a),i=s(59309),r=s(61372);class o extends n().Component{UNSAFE_componentWillMount(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()}render(){return null}}const c=(0,i.$j)((e=>({isFetchingPluginsData:(0,r.vz)(e)})),(e=>({fetchPluginsData:()=>e((0,r.s4)())})))(o)},24289:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(92819),n=s(25162),i=s.n(n),r=s(99196),o=s(59309),c=s(77805);class l extends r.Component{static propTypes={isFetchingSiteProducts:i().bool};static defaultProps={isFetchingSiteProducts:!1};componentDidMount(){!this.props.isFetchingSiteProducts&&(0,a.isEmpty)(this.props.siteProducts)&&this.props.fetchSiteProducts()}render(){return null}}const p=(0,o.$j)((e=>({isFetchingSiteProducts:(0,c.aX)(e),products:(0,c.dt)(e)})),(e=>({fetchSiteProducts:()=>e((0,c.pW)())})))(l)},69270:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(92819),n=s(25162),i=s.n(n),r=s(99196),o=s(59309),c=s(96300),l=s(33002);class p extends r.Component{static propTypes={isFetchingSiteData:i().bool,isOfflineMode:i().bool,sitePlan:i().object};static defaultProps={isFetchingSiteData:!1,isOfflineMode:!1,sitePlan:{}};UNSAFE_componentWillMount(){this.props.isFetchingSiteData||this.props.isOfflineMode||!(0,a.isEmpty)(this.props.sitePlan)||(this.props.fetchSiteData(),this.props.fetchSiteFeatures(),this.props.fetchAvailablePlans(),this.props.fetchSitePurchases())}render(){return null}}const d=(0,o.$j)((e=>({isFetchingSiteData:(0,l._5)(e),isOfflineMode:(0,c.Ex)(e),sitePlan:(0,l.UL)(e)})),(e=>({fetchSiteData:()=>e((0,l.tO)()),fetchSiteFeatures:()=>e((0,l.ij)()),fetchAvailablePlans:()=>e((0,l.lA)()),fetchSitePurchases:()=>e((0,l.Z_)())})))(p)},67619:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(99196),n=s(59309),i=s(17296);class r extends a.Component{UNSAFE_componentWillMount(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}render(){return null}}r.defaultProps={fetchStatsData:()=>{}};const o=(0,n.$j)((e=>({fetchStatsData:t=>(0,i.g4)(e,t),fetchingStatsData:(0,i.F2)(e)})),(e=>({fetchStatsData:t=>e((0,i.g4)(t))})))(r)},27583:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(99196),n=s.n(a),i=s(59309),r=s(96300),o=s(69508);class c extends n().Component{UNSAFE_componentWillMount(){!this.props.isFetchingUserData&&this.props.userCanConnectAccount&&this.props.fetchUserConnectionData()}render(){return null}}const l=(0,i.$j)((e=>({isFetchingUserData:(0,r.Dd)(e),userCanConnectAccount:(0,o.n0)(e)})),(e=>({fetchUserConnectionData:()=>e((0,r.jb)())})))(c)},83526:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(99196),n=s(59309),i=s(835),r=s(17296),o=s(50416);class c extends a.Component{componentDidMount(){this.props.fetchingVaultPressData||this.props.hasLoadedVaultPressData||!this.props.isModuleActivated("vaultpress")||this.props.fetchVaultPressData()}render(){return null}}c.defaultProps={fetchVaultPressData:()=>{}};const l=(0,n.$j)((e=>({fetchVaultPressData:(0,r.l7)(),fetchingVaultPressData:(0,r.P_)(e),isModuleActivated:t=>(0,o.mp)(e,t),hasLoadedVaultPressData:(0,r.V_)(e)})),(e=>(0,i.DE)({fetchVaultPressData:r.l7},e)))(c)},5074:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(96300),c=s(22948);class l extends i.Component{static propTypes={isFetchingWafSettings:n().bool,isOfflineMode:n().bool};static defaultProps={isFetchingWafSettings:!1,isOfflineMode:!1};componentDidMount(){this.props.isFetchingWafSettings||this.props.isOfflineMode||this.props.fetchWafSettings()}render(){return null}}const p=(0,r.$j)((e=>({isFetchingWafSettings:(0,c.vd)(e),isOfflineMode:(0,o.Ex)(e)})),(e=>({fetchWafSettings:()=>e((0,c.Iv)())})))(l)},78088:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(65235),n=s.n(a),i=s(85799),r=s(59584),o=s(92819),c=s(99196),l=s.n(c),p=s(59309),d=s(17296),u=s(96300),m=s(80625),h=s(69508),g=s(69377),k=s(15080),f=s(33002),v=s(3915);class E extends l().Component{static displayName="DevCard";onPlanChange=e=>{this.props.switchPlanPreview(e.target.value)};onPermissionsChange=e=>{this.props.switchUserPermissions(e.target.value)};onThreatsChange=e=>{this.props.switchThreats(e.target.value)};onRewindStatusChange=e=>{this.props.switchRewindState(e.target.value)};onScanStatusChange=e=>{this.props.switchScanState(e.target.value)};maybeShowStatsToggle=()=>{if(!this.props.isAdmin)return l().createElement("div",null,l().createElement("hr",null),l().createElement("ul",null,l().createElement("li",null,l().createElement("label",{htmlFor:"view_stats"},l().createElement("input",{type:"radio",id:"view_stats",value:"view_stats",name:"view_stats",checked:this.props.canViewStats,onChange:this.onPermissionsChange}),"Can view stats")),l().createElement("li",null,l().createElement("label",{htmlFor:"hide_stats"},l().createElement("input",{type:"radio",id:"hide_stats",value:"hide_stats",name:"hide_stats",checked:!this.props.canViewStats,onChange:this.onPermissionsChange}),"Can not view stats"))))};showIsLinkedToggle=()=>l().createElement("div",null,l().createElement("hr",null),l().createElement("ul",null,l().createElement("li",null,l().createElement("label",{htmlFor:"is_linked"},l().createElement("input",{type:"radio",id:"is_linked",value:"is_linked",name:"is_linked",checked:this.props.isUserLinked,onChange:this.onPermissionsChange}),"Linked")),l().createElement("li",null,l().createElement("label",{htmlFor:"is_unlinked"},l().createElement("input",{type:"radio",id:"is_unlinked",value:"is_unlinked",name:"is_unlinked",checked:!this.props.isUserLinked,onChange:this.onPermissionsChange}),"Unlinked"))));render(){if(!this.props.canDisplayDevCard)return null;const e=n()(this.props.className,"jp-dev-card"),t=(0,r.scx)(this.props.sitePlan.product_slug),s=(0,o.get)(this.props.rewindStatus,["state"],!1),a=(0,o.get)(this.props.scanStatus,["state"],!1);return l().createElement(i.Z,{compact:!0,className:e},l().createElement("a",{className:"jp-dev-card__close",role:"button",tabIndex:"0",onKeyDown:(0,v.Z)(this.props.disableDevCard),onClick:this.props.disableDevCard},"x"),l().createElement("div",{className:"jp-dev-card__heading"},"Dev Tools"),l().createElement("ul",null,l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_free"},l().createElement("input",{type:"radio",id:"jetpack_free",value:"jetpack_free",name:"jetpack_free",checked:"is-free-plan"===t,onChange:this.onPlanChange}),"Free")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_personal"},l().createElement("input",{type:"radio",id:"jetpack_personal",value:"jetpack_personal",name:"jetpack_personal",checked:"is-personal-plan"===t,onChange:this.onPlanChange}),"Personal")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_premium"},l().createElement("input",{type:"radio",id:"jetpack_premium",value:"jetpack_premium",name:"jetpack_premium",checked:"is-premium-plan"===t,onChange:this.onPlanChange}),"Premium")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_business"},l().createElement("input",{type:"radio",id:"jetpack_business",value:"jetpack_business",name:"jetpack_business",checked:"is-business-plan"===t,onChange:this.onPlanChange}),"Pro")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_starter"},l().createElement("input",{type:"radio",id:"jetpack_starter",value:"jetpack_starter_yearly",name:"jetpack_starter_yearly",checked:"is-jetpack-starter-plan"===t,onChange:this.onPlanChange}),"Security (10 GB)")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_security_t1"},l().createElement("input",{type:"radio",id:"jetpack_security_t1",value:"jetpack_security_t1_yearly",name:"jetpack_security_t1_yearly",checked:"is-security-t1-plan"===t,onChange:this.onPlanChange}),"Security (10 GB)")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_security_t2"},l().createElement("input",{type:"radio",id:"jetpack_security_t2",value:"jetpack_security_t2_yearly",name:"jetpack_security_t2_yearly",checked:"is-security-t2-plan"===t,onChange:this.onPlanChange}),"Security (1 TB)")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_complete"},l().createElement("input",{type:"radio",id:"jetpack_complete",value:"jetpack_complete",name:"jetpack_complete",checked:"is-complete-plan"===t,onChange:this.onPlanChange}),"Complete")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_backup_t0"},l().createElement("input",{type:"radio",id:"jetpack_backup_t0",value:"jetpack_backup_t0_yearly",name:"jetpack_backup_t0_yearly",checked:"is-backup-t0-plan"===t,onChange:this.onPlanChange}),"Backup (1 GB)")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_backup_t1"},l().createElement("input",{type:"radio",id:"jetpack_backup_t1",value:"jetpack_backup_t1_yearly",name:"jetpack_backup_t1_yearly",checked:"is-backup-t1-plan"===t,onChange:this.onPlanChange}),"Backup (10 GB)")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_backup_t2"},l().createElement("input",{type:"radio",id:"jetpack_backup_t2",value:"jetpack_backup_t2_yearly",name:"jetpack_backup_t2_yearly",checked:"is-backup-t2-plan"===t,onChange:this.onPlanChange}),"Backup (1 TB)")),l().createElement("li",{className:"jp-dev-card__deprecated-plans-list-header"},"— DEPRECATED —"),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_security_daily"},l().createElement("input",{type:"radio",id:"jetpack_security_daily",value:"jetpack_security_daily",name:"jetpack_security_daily",checked:"is-daily-security-plan"===t,onChange:this.onPlanChange}),"Security Daily")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_security_realtime"},l().createElement("input",{type:"radio",id:"jetpack_security_realtime",value:"jetpack_security_realtime",name:"jetpack_security_realtime",checked:"is-realtime-security-plan"===t,onChange:this.onPlanChange}),"Security Real-Time")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_backup_daily"},l().createElement("input",{type:"radio",id:"jetpack_backup_daily",value:"jetpack_backup_daily",name:"jetpack_backup_daily",checked:"is-daily-backup-plan"===t,onChange:this.onPlanChange}),"Backup Daily")),l().createElement("li",null,l().createElement("label",{htmlFor:"jetpack_backup_realtime"},l().createElement("input",{type:"radio",id:"jetpack_backup_realtime",value:"jetpack_backup_realtime",name:"jetpack_backup_realtime",checked:"is-realtime-backup-plan"===t,onChange:this.onPlanChange}),"Backup Real-time"))),l().createElement("hr",null),l().createElement("ul",null,l().createElement("li",null,l().createElement("label",{htmlFor:"admin_master"},l().createElement("input",{type:"radio",id:"admin_master",value:"admin_master",name:"admin_master",checked:this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (master)")),l().createElement("li",null,l().createElement("label",{htmlFor:"admin_secondary"},l().createElement("input",{type:"radio",id:"admin_secondary",value:"admin_secondary",name:"admin_secondary",checked:this.props.isAdmin&&!this.props.isConnectionOwner,onChange:this.onPermissionsChange}),"Admin (secondary)")),l().createElement("li",null,l().createElement("label",{htmlFor:"editor"},l().createElement("input",{type:"radio",id:"editor",value:"editor",name:"editor",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Editor")),l().createElement("li",null,l().createElement("label",{htmlFor:"subscriber"},l().createElement("input",{type:"radio",id:"subscriber",value:"subscriber",name:"subscriber",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),"Subscriber"))),l().createElement("hr",null),l().createElement("ul",null,l().createElement("li",null,l().createElement("label",{htmlFor:"nothreats"},l().createElement("input",{type:"radio",id:"nothreats",value:0,name:"nothreats",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"No threats")),l().createElement("li",null,l().createElement("label",{htmlFor:"threats"},l().createElement("input",{type:"radio",id:"threats",value:17,name:"threats",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),"Threats"))),l().createElement("hr",null),l().createElement("ul",null,l().createElement("strong",null,"Backup"),l().createElement("li",null,l().createElement("label",{htmlFor:"rewindUnavailable"},l().createElement("input",{type:"radio",id:"rewindUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===s,onChange:this.onRewindStatusChange}),"Unavailable")),l().createElement("li",null,l().createElement("label",{htmlFor:"rewindProvisioning"},l().createElement("input",{type:"radio",id:"rewindProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===s,onChange:this.onRewindStatusChange}),"Provisioning")),l().createElement("li",null,l().createElement("label",{htmlFor:"rewindAwatingCreds"},l().createElement("input",{type:"radio",id:"rewindAwatingCreds",value:"awaiting_credentials",name:"awaiting_credentials",checked:"awaiting_credentials"===s,onChange:this.onRewindStatusChange}),"Awaiting credentials")),l().createElement("li",null,l().createElement("label",{htmlFor:"rewindActive"},l().createElement("input",{type:"radio",id:"rewindActive",value:"active",name:"active",checked:"active"===s,onChange:this.onRewindStatusChange}),"Active"))),l().createElement("ul",null,l().createElement("strong",null,"Scan"),l().createElement("li",null,l().createElement("label",{htmlFor:"scanUnavailable"},l().createElement("input",{type:"radio",id:"scanUnavailable",value:"unavailable",name:"unavailable",checked:"unavailable"===a,onChange:this.onScanStatusChange}),"Unavailable")),l().createElement("li",null,l().createElement("label",{htmlFor:"scanProvisioning"},l().createElement("input",{type:"radio",id:"scanProvisioning",value:"provisioning",name:"provisioning",checked:"provisioning"===a,onChange:this.onScanStatusChange}),"Provisioning")),l().createElement("li",null,l().createElement("label",{htmlFor:"scanIdle"},l().createElement("input",{type:"radio",id:"scanIdle",value:"idle",name:"idle",checked:"idle"===a,onChange:this.onScanStatusChange}),"Idle")),l().createElement("li",null,l().createElement("label",{htmlFor:"scanScanning"},l().createElement("input",{type:"radio",id:"scanScanning",value:"scanning",name:"scanning",checked:"scanning"===a,onChange:this.onScanStatusChange}),"Scanning"))),this.maybeShowStatsToggle(),this.showIsLinkedToggle())}}const w=(0,p.$j)((e=>({isDevVersion:(0,h._W)(e),sitePlan:(0,f.UL)(e),canDisplayDevCard:(0,m.Ry)(e),isUserLinked:(0,u.BU)(e),canViewStats:(0,h.px)(e),isConnectionOwner:(0,u.QM)(e),isAdmin:(0,h.WB)(e),canEditPosts:(0,h.rp)(e),getVaultPressScanThreatCount:()=>(0,d._R)(e),rewindStatus:(0,g.of)(e),scanStatus:(0,k.C8)(e)})),(e=>({switchPlanPreview:t=>e((0,m.fb)(t)),switchUserPermissions:t=>e((0,m.Yw)(t)),switchThreats:t=>e((0,m.aX)(parseInt(t))),disableDevCard:()=>e((0,m.Wh)()),switchRewindState:t=>e((0,m._s)(t)),switchScanState:t=>e((0,m.pH)(t))})))(E)},30860:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(85799),c=s(15773),l=s(5060),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(3915);class k extends h().Component{static propTypes={actionButton:u().element,actionButtonExpanded:u().element,cardKey:u().string,compact:u().bool,disabled:u().bool,expandedSummary:u().oneOfType([u().string,u().element]),expanded:u().bool,icon:u().string,onClick:u().func,onClose:u().func,onOpen:u().func,summary:u().oneOfType([u().string,u().element]),clickableHeader:u().bool,clickableHeaderText:u().bool};static defaultProps={onOpen:p.noop,onClose:p.noop,cardKey:"",icon:"chevron-down",isExpanded:!1,clickableHeader:!1,clickableHeaderText:!1};state={expanded:this.props.expanded};onClick=()=>{this.props.children&&this.setState({expanded:!this.state.expanded}),this.props.onClick&&this.props.onClick(),this.state.expanded?this.props.onClose(this.props.cardKey):this.props.onOpen(this.props.cardKey)};getClickAction=()=>{if(!this.props.disabled)return this.onClick};getActionButton=()=>this.state.expanded&&this.props.actionButtonExpanded||this.props.actionButton;renderActionButton=()=>{const e=this.props.clickableHeader?null:this.getClickAction();if(this.props.actionButton)return h().createElement("button",{className:"dops-foldable-card__action",onClick:e},this.getActionButton());if(this.props.children){const t=24;return h().createElement("button",{type:"button",disabled:this.props.disabled,className:"dops-foldable-card__action dops-foldable-card__expand",onClick:e},h().createElement("span",{className:"screen-reader-text"},"More"),h().createElement(l.Z,{icon:this.props.icon,size:t}))}};renderContent=()=>h().createElement("div",{className:"dops-foldable-card__content"},this.props.children);renderHeader=()=>{const e=this.props.summary?h().createElement("span",{className:"dops-foldable-card__summary"},this.props.summary," "):null,t=this.props.expandedSummary?h().createElement("span",{className:"dops-foldable-card__summary_expanded"},this.props.expandedSummary," "):null,s=this.props.header?h().createElement("div",{className:"dops-foldable-card__header-text"},this.props.header):null,a=this.props.subheader?h().createElement("div",{className:"dops-foldable-card__subheader"},this.props.subheader):null,i={role:"button",tabIndex:0,onClick:this.getClickAction(),onKeyDown:(0,g.Z)(this.getClickAction())},o=r()("dops-foldable-card__header",{"is-clickable":!!this.props.clickableHeader,"has-border":!!this.props.summary}),c=r()("dops-foldable-card__header-text",{"is-clickable":!!this.props.clickableHeaderText});return h().createElement("div",n()({className:o},this.props.clickableHeader?i:{}),h().createElement("span",{className:"dops-foldable-card__main"},h().createElement("div",n()({className:c},this.props.clickableHeaderText?i:{}),s,a)),h().createElement("span",{className:"dops-foldable-card__secondary"},e,t,this.renderActionButton()))};render(){const e=this.props.compact?c.Z:o.Z,t=r()("dops-foldable-card",this.props.className,{"is-disabled":!!this.props.disabled,"is-expanded":!!this.state.expanded,"has-expanded-summary":!!this.props.expandedSummary});return h().createElement(e,{className:t},this.renderHeader(),this.state.expanded&&this.renderContent())}}const f=k},7516:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(6895),n=s(88275),i=s(38237),r=s(65736),o=s(65235),c=s.n(o),l=s(78088),p=s(84069),d=s(99196),u=s.n(d),m=s(59309),h=s(96300),g=s(80625),k=s(69508),f=s(3915);const __=r.__,_x=r._x,v=()=>{const e=document.getElementById("jp-navigation").offsetTop;window.scrollTo(0,window.scrollY-e/1.5),window.scrollY>e&&window.requestAnimationFrame(v)};class E extends u().Component{static displayName="Footer";resetOnClick=()=>{window.confirm(__("This will reset all Jetpack options, are you sure?","jetpack"))&&this.props.resetOptions()};trackVersionClick=()=>{p.Z.tracks.recordJetpackClick({target:"footer_link",link:"version"})};trackTermsClick=()=>{p.Z.tracks.recordJetpackClick({target:"footer_link",link:"terms"})};trackAboutClick=()=>{p.Z.tracks.recordJetpackClick({target:"footer_link",link:"about"})};trackPrivacyClick=()=>{window.requestAnimationFrame(v),p.Z.tracks.recordJetpackClick({target:"footer_link",link:"privacy"})};trackModulesClick=()=>{p.Z.tracks.recordJetpackClick({target:"footer_link",link:"modules"})};trackDebugClick=()=>{p.Z.tracks.recordJetpackClick({target:"footer_link",link:"debug"})};render(){const e=c()(this.props.className,"jp-footer"),t=this.props.currentVersion,s=[];return this.props.isAtomicPlatform||s.push({label:(0,r.sprintf)(/* Translators: placeholder is a version number. */
__("Version %s","jetpack"),t),href:(0,a.Z)("jetpack"),target:"_blank",onClick:this.trackVersionClick}),this.props.siteConnectionStatus&&this.props.userCanManageOptions&&s.push({label:_x("Modules","Navigation item. Noun. Links to a list of modules for Jetpack.","jetpack"),title:__("Access the full list of Jetpack modules available on your site.","jetpack"),href:this.props.siteAdminUrl+"admin.php?page=jetpack_modules",onClick:this.trackModulesClick}),this.props.userCanManageOptions&&s.push({label:_x("Debug","Navigation item. Noun. Links to a debugger tool for Jetpack.","jetpack"),title:__("Test your site’s compatibility with Jetpack.","jetpack"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-debugger",onClick:this.trackDebugClick}),this.props.isDevVersion&&this.props.userCanManageOptions&&s.push({label:_x("Reset Options (dev only)","Navigation item.","jetpack"),role:"button",onKeyDown:(0,f.Z)(this.resetOnClick),onClick:this.resetOnClick}),this.props.isDevVersion&&s.push({label:_x("Dev Tools","Navigation item.","jetpack"),role:"button",onKeyDown:(0,f.Z)(this.props.enableDevCard),onClick:this.props.enableDevCard}),u().createElement(n.ZP,null,u().createElement("div",{className:c()("jp-footer",e)},u().createElement("div",{className:"jp-footer__container"},u().createElement(i.Z,{menu:s,moduleNameHref:(0,a.Z)("jetpack"),onAboutClick:this.trackAboutClick,onPrivacyClick:this.trackPrivacyClick,onTermsClick:this.trackTermsClick})),this.props.isDevVersion&&this.props.displayDevCard&&u().createElement(l.Z,null)))}}const w=(0,m.$j)((e=>({currentVersion:(0,k.w1)(e),displayDevCard:(0,g.Ry)(e),isAtomicPlatform:(0,k.vL)(e),isDevVersion:(0,k._W)(e),isInIdentityCrisis:(0,h.l9)(e),siteConnectionStatus:(0,h.Gz)(e),userCanManageOptions:(0,k.UF)(e)})),(e=>({resetOptions:()=>e((0,g._G)("options")),enableDevCard:()=>e((0,g.vN)())})))(E)},45452:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65235),n=s.n(a),i=s(5060),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);class p extends l().Component{static displayName="FormInputValidation";static propTypes={isError:o().bool,isWarning:o().bool,text:o().node,icon:o().string};static defaultProps={isError:!1};render(){const e=n()({"form-input-validation":!0,"is-warning":this.props.isWarning,"is-error":this.props.isError}),t=this.props.isError||this.props.isWarning?"notice-outline":"checkmark";return l().createElement("div",{className:e},l().createElement("span",null,l().createElement(i.Z,{size:24,icon:this.props.icon?this.props.icon:t})," ",this.props.text))}}},99026:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(52491),c=s.n(o),l=s(97506),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(91850),k=s.n(g);class f extends h().Component{static displayName="ClipboardButton";static propTypes={className:u().string,text:u().string,prompt:u().string,onCopy:u().func,rna:u().bool};static defaultProps={onCopy:p.noop,rna:!1};componentDidMount(){const e=k().findDOMNode(this.refs.button);this.clipboard=new(c())(e,{text:()=>this.props.text}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)}componentWillUnmount(){this.clipboard.destroy(),delete this.clipboard}displayPrompt=()=>{window.prompt(this.props.prompt,this.props.text)};render(){const e=r()("dops-clipboard-button",this.props.className);return h().createElement(l.Z,n()({rna:this.props.rna,ref:"button"},(0,p.omit)(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}}},81674:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(44517),c=s(92819),l=s(99196),p=s.n(l);class d extends p().Component{static displayName="CompactFormToggle";render(){return p().createElement(o.Z,n()({},(0,c.omit)(this.props,"className"),{className:r()(this.props.className,"is-compact")}),this.props.children)}}},44517:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65235),n=s.n(a),i=s(28402),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);class p extends c.Component{static propTypes={onChange:o().func,onKeyDown:o().func,checked:o().bool,disabled:o().bool,id:o().string,className:o().string,toggling:o().bool,"aria-label":o().string,children:o().node,disabledReason:o().node};static defaultProps={checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""};state={showPopover:!1};static idNum=0;constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}togglePopover=()=>{this.setState({showPopover:!this.state.showPopover})};_onPopoverClose=()=>{this.setState({showPopover:!1})};UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled?this.props.disabledReason&&this.togglePopover():this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}renderPopover=()=>l().createElement(i.Z,{isVisible:this.state.showPopover,context:this.refs&&this.refs.toggleSwitch,position:this.props.disabledPopoverPosition,onClose:this._onPopoverClose,className:"dops-info-popover__tooltip"},this.props.disabledReason);render(){const e=this.props.id||"toggle-"+this.id,t=n()("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return l().createElement("span",null,l().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),l().createElement("label",{className:"form-toggle__label",htmlFor:e},l().createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0,ref:"toggleSwitch"}),l().createElement("span",{className:"form-toggle__label-content",onClick:this.onLabelClick},this.props.children)),this.renderPopover())}}},61775:(e,t,s)=>{"use strict";s.d(t,{B1:()=>h,C_:()=>d,Gj:()=>m,ih:()=>g,lX:()=>u});var a=s(82674),n=s.n(a),i=(s(65736),s(65235)),r=s.n(i),o=(s(97506),s(96200)),c=s(92819),l=s(99196),p=s.n(l);const d=e=>p().createElement("fieldset",n()({},(0,c.omit)(e,"className"),{className:r()(e.className,"jp-form-fieldset")}),e.children);class u extends p().Component{static displayName="FormLabel";render(){const{className:e,htmlFor:t,...s}=this.props;return p().createElement("label",n()({},s,{htmlFor:t,className:r()(e,"jp-form-label")}),this.props.children)}}class m extends p().Component{static displayName="FormLegend";render(){return p().createElement("legend",n()({},(0,c.omit)(this.props,"className"),{className:r()(this.props.className,"jp-form-legend")}),this.props.children)}}p().Component;p().Component;class h extends p().Component{static displayName="FormTextarea";render(){return p().createElement("textarea",n()({},(0,c.omit)(this.props,"className"),{className:r()(this.props.className,"jp-form-textarea")}),this.props.children)}}p().Component;p().Component;class g extends p().Component{handleOnSelect=e=>{this.props.onOptionChange({target:{type:"select",name:this.props.name,value:e.value}})};render(){const e=[];return(0,c.forOwn)(this.props.validValues,((t,s)=>{e.push({label:t,value:s})})),p().createElement(o.Z,{options:e,onSelect:this.handleOnSelect,disabled:this.props.disabled,initialSelected:this.props.value,rna:this.props.rna})}}},37851:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(71668),n=s(52099),i=s(51128),r=s.n(i),o=s(91088),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(59309),m=s(835),h=s(41549);const g=r()("calypso:notices");class k extends d().Component{static displayName="NoticesList";static propTypes={id:l().string,notices:l().oneOfType([l().object,l().array])};static defaultProps={id:"overlay-notices",notices:Object.freeze([])};UNSAFE_componentWillMount(){g("Mounting Global Notices React component.")}removeNotice=e=>{e&&o.Z.removeNotice(e)};handleLocalNoticeDismissClick=e=>()=>this.removeNotice(e);handleReduxNoticeDismissClick=e=>()=>this.props.removeNotice(e);render(){let e=(this.props.notices[this.props.id]||[]).map((function(e,t){return d().createElement(a.Z,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.handleLocalNoticeDismissClick(e),showDismiss:e.showDismiss},e.button&&d().createElement(n.Z,{href:e.href,onClick:e.onClick},e.button))}),this);return e=e.concat(this.props.storeNotices.map((function(e,t){return d().createElement(a.Z,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.handleReduxNoticeDismissClick(e.noticeId),text:e.text})}),this)),e.length?d().createElement("div",{id:this.props.id,className:"global-notices"},e):null}}const f=(0,u.$j)((e=>({storeNotices:e.globalNotices})),(e=>(0,m.DE)({removeNotice:h.qq},e)))(k)},65901:(e,t,s)=>{"use strict";s.d(t,{m:()=>n,o:()=>a});const a="NEW_NOTICE",n="REMOVE_NOTICE"},41549:(e,t,s)=>{"use strict";s.d(t,{RT:()=>o,iI:()=>r,qq:()=>i,tF:()=>c});var a=s(92819),n=s(65901);function i(e){return{noticeId:e,type:n.m}}function r(e,t,s={}){const i={noticeId:s.id||(0,a.uniqueId)(),duration:s.duration,showDismiss:"boolean"!=typeof s.showDismiss||s.showDismiss,isPersistent:s.isPersistent||!1,displayOnNextPage:s.displayOnNextPage||!1,status:e,text:t};return{type:n.o,notice:i}}const o=r.bind(null,"is-success"),c=r.bind(null,"is-error");r.bind(null,"is-info"),r.bind(null,"is-warning")},33929:(e,t,s)=>{"use strict";s.d(t,{x:()=>i});var a=s(835),n=s(65901);function i(e=[],t){switch(t.type){case n.o:return[t.notice,...e];case n.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,a.UY)({globalNotices:i})},5060:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65235),n=s.n(a),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o);class l extends c().PureComponent{static displayName="Gridicon";static defaultProps={className:"",size:24};static propTypes={icon:r().string.isRequired,size:r().number,onClick:r().func,className:r().string};needsOffset(e,t){return["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-backspace","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plans","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle"].indexOf(e)>=0&&t%18==0}needsOffsetX(e,t){return["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"].indexOf(e)>=0&&t%18==0}needsOffsetY(e,t){return["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"].indexOf(e)>=0&&t%18==0}render(){const e="gridicons-"+this.props.icon,t=this.needsOffset(e,this.props.size),s=this.needsOffsetX(e,this.props.size),a=this.needsOffsetY(e,this.props.size),i=n()("gridicon",e,this.props.className,{"needs-offset":t,"needs-offset-x":s,"needs-offset-y":a});let r;switch(e){default:r=c().createElement("svg",{height:this.props.size,width:this.props.size});break;case"gridicons-add-image":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z"})));break;case"gridicons-add-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z"})));break;case"gridicons-add":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"})));break;case"gridicons-align-center":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z"})));break;case"gridicons-align-image-center":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z"})));break;case"gridicons-align-image-left":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z"})));break;case"gridicons-align-image-none":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z"})));break;case"gridicons-align-image-right":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z"})));break;case"gridicons-align-justify":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z"})));break;case"gridicons-align-left":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z"})));break;case"gridicons-align-right":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z"})));break;case"gridicons-arrow-down":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z"})));break;case"gridicons-arrow-left":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})));break;case"gridicons-arrow-right":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})));break;case"gridicons-arrow-up":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z"})));break;case"gridicons-aside":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z"})));break;case"gridicons-attachment":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z"})));break;case"gridicons-audio":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"})));break;case"gridicons-backspace":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 7H8l-5 5 5 5h11c1.104 0 2-.896 2-2V9c0-1.104-.896-2-2-2zm-.647 6.646l-.707.707L16 12.707l-1.647 1.647-.707-.707L15.293 12l-1.647-1.646.707-.707L16 11.293l1.646-1.647.707.707L16.707 12l1.646 1.646z"})));break;case"gridicons-bell":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z"})));break;case"gridicons-block":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"})));break;case"gridicons-bold":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z"})));break;case"gridicons-book":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z"})));break;case"gridicons-bookmark-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-bookmark":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z"})));break;case"gridicons-briefcase":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 6h-4V3c0-.5-.5-1-1-1H8c-.5 0-1 .5-1 1v3H3c-.6 0-1 .4-1 1v5h20V7c0-.6-.4-1-1-1zm-6 0H9V4h6v2zM14 15h-4v-2H2v8c0 .6.4 1 1 1h18c.6 0 1-.4 1-1v-8h-8v2z"})));break;case"gridicons-calendar":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"})));break;case"gridicons-camera":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z"})));break;case"gridicons-cart":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"})));break;case"gridicons-checkmark-circle":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("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"})));break;case"gridicons-checkmark":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414"})));break;case"gridicons-chevron-down":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})));break;case"gridicons-chevron-left":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"})));break;case"gridicons-chevron-right":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"})));break;case"gridicons-chevron-up":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586"})));break;case"gridicons-clear-formatting":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z"})));break;case"gridicons-clipboard":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z"})));break;case"gridicons-cloud-download":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z"})));break;case"gridicons-cloud-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5l-.025.002C17.72 5.646 14.922 3 11.5 3z"})));break;case"gridicons-cloud-upload":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-5 4v3h-2v-3H8l4-5 4 5h-3z"})));break;case"gridicons-cloud":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5z"})));break;case"gridicons-code":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4.83 12l4.58 4.59L8 18l-6-6 6-6 1.41 1.41L4.83 12zm9.76 4.59L16 18l6-6-6-6-1.41 1.41L19.17 12l-4.58 4.59z"})));break;case"gridicons-cog":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 12c0-.568-.06-1.122-.174-1.656l1.834-1.612-2-3.464-2.322.786c-.82-.736-1.787-1.308-2.86-1.657L14 2h-4l-.48 2.396c-1.07.35-2.04.92-2.858 1.657L4.34 5.268l-2 3.464 1.834 1.612C4.06 10.878 4 11.432 4 12s.06 1.122.174 1.656L2.34 15.268l2 3.464 2.322-.786c.82.736 1.787 1.308 2.86 1.657L10 22h4l.48-2.396c1.07-.35 2.038-.92 2.858-1.657l2.322.786 2-3.464-1.834-1.613c.113-.535.174-1.09.174-1.657zm-8 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"})));break;case"gridicons-comment":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"})));break;case"gridicons-computer":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"})));break;case"gridicons-create":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 11v8c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h8l-2 2H5v14h14v-6l2-2zM7 17h3l7.5-7.5-3-3L7 14v3zm9.94-12.94L15.5 5.5l3 3 1.44-1.44c.585-.585.585-1.535 0-2.12l-.88-.88c-.585-.585-1.535-.585-2.12 0z"})));break;case"gridicons-credit-card":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})));break;case"gridicons-crop":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 16h-4V8c0-1.105-.895-2-2-2H8V2H6v4H2v2h4v8c0 1.105.895 2 2 2h8v4h2v-4h4v-2zM8 16V8h8v8H8z"})));break;case"gridicons-cross-small":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})));break;case"gridicons-cross":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})));break;case"gridicons-custom-post-type":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("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-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"})));break;case"gridicons-customize":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"})));break;case"gridicons-dropdown":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 10l5 5 5-5"})));break;case"gridicons-ellipsis":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M7 12c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2zm12-2c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2zm-7 0c-1.104 0-2 .896-2 2s.896 2 2 2 2-.896 2-2-.896-2-2-2z"})));break;case"gridicons-external":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})));break;case"gridicons-flag":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M15 6c0-1.105-.895-2-2-2H5v17h2v-7h5c0 1.105.895 2 2 2h6V6h-5z"})));break;case"gridicons-flip-horizontal":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 18v-5h3v-2h-3V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v5H1v2h3v5c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2zM6 6h12v5H6V6z"})));break;case"gridicons-flip-vertical":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 4h-5V1h-2v3H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h5v3h2v-3h5c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 18V6h5v12H6z"})));break;case"gridicons-folder-multiple":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 8c-1.105 0-2 .895-2 2v10c0 1.1.9 2 2 2h14c1.105 0 2-.895 2-2H4V8zm16 10H8c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2h7c1.105 0 2 .895 2 2v8c0 1.105-.895 2-2 2z"})));break;case"gridicons-folder":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"})));break;case"gridicons-globe":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18l2-2 1-1v-2h-2v-1l-1-1H9v3l2 2v1.93c-3.94-.494-7-3.858-7-7.93l1 1h2v-2h2l3-3V6h-2L9 5v-.41C9.927 4.21 10.94 4 12 4s2.073.212 3 .59V6l-1 1v2l1 1 3.13-3.13c.752.897 1.304 1.964 1.606 3.13H18l-2 2v2l1 1h2l.286.286C18.03 18.06 15.24 20 12 20z"})));break;case"gridicons-grid":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 8H4V4h4v4zm6-4h-4v4h4V4zm6 0h-4v4h4V4zM8 10H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4zM8 16H4v4h4v-4zm6 0h-4v4h4v-4zm6 0h-4v4h4v-4z"})));break;case"gridicons-heading":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 20h-3v-6H9v6H6V5.01h3V11h6V5.01h3V20z"})));break;case"gridicons-heart-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-heart":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16.5 3c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z"})));break;case"gridicons-help-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})));break;case"gridicons-help":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z"})));break;case"gridicons-history":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2.12 13.526c.742 4.78 4.902 8.47 9.88 8.47 5.5 0 10-4.5 10-9.998S17.5 2 12 2C8.704 2 5.802 3.6 4 6V2H2.003L2 9h7V7H5.8c1.4-1.8 3.702-3 6.202-3C16.4 4 20 7.6 20 11.998s-3.6 8-8 8c-3.877 0-7.13-2.795-7.848-6.472H2.12z"}),c().createElement("path",{d:"M11.002 7v5.3l3.2 4.298 1.6-1.197-2.8-3.7V7"})));break;case"gridicons-house":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 9L12 1 2 9v2h2v10h5v-4c0-1.657 1.343-3 3-3s3 1.343 3 3v4h5V11h2V9z"})));break;case"gridicons-image-multiple":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"})));break;case"gridicons-image":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"})));break;case"gridicons-indent-left":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 20h2V4h-2v16zM2 11h10.172l-2.086-2.086L11.5 7.5 16 12l-4.5 4.5-1.414-1.414L12.172 13H2v-2z"})));break;case"gridicons-indent-right":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 4H4v16h2V4zm16 9H11.828l2.086 2.086L12.5 16.5 8 12l4.5-4.5 1.414 1.414L11.828 11H22v2z"})));break;case"gridicons-info-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})));break;case"gridicons-info":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})));break;case"gridicons-ink":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M5 15c0 3.866 3.134 7 7 7s7-3.134 7-7c0-1.387-.41-2.677-1.105-3.765h.007L12 2l-5.903 9.235h.007C5.41 12.323 5 13.613 5 15z"})));break;case"gridicons-institution":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M2 19h20v3H2zM12 2L2 6v2h20V6M17 10h3v7h-3zM10.5 10h3v7h-3zM4 10h3v7H4z"})));break;case"gridicons-italic":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.536 5l-.427 2h1.5L9.262 18h-1.5l-.427 2h6.128l.426-2h-1.5l2.347-11h1.5l.427-2"})));break;case"gridicons-layout-blocks":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 7h-2V3c0-1.105-.895-2-2-2H7c-1.105 0-2 .895-2 2v2H3c-1.105 0-2 .895-2 2v4c0 1.105.895 2 2 2h2v8c0 1.105.895 2 2 2h10c1.105 0 2-.895 2-2v-2h2c1.105 0 2-.895 2-2V9c0-1.105-.895-2-2-2zm-4 14H7v-8h2c1.105 0 2-.895 2-2V7c0-1.105-.895-2-2-2H7V3h10v4h-2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h2v2zm4-4h-6V9h6v8z"})));break;case"gridicons-layout":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 20H5c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h3c1.105 0 2 .895 2 2v12c0 1.105-.895 2-2 2zm8-10h4c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2h-4c-1.105 0-2 .895-2 2v3c0 1.105.895 2 2 2zm5 10v-6c0-1.105-.895-2-2-2h-5c-1.105 0-2 .895-2 2v6c0 1.105.895 2 2 2h5c1.105 0 2-.895 2-2z"})));break;case"gridicons-link-break":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10 11l-2 2H7v-2h3zm9.64-3.64L22 5l-1.5-1.5-17 17L5 22l9-9h3v-2h-1l2-2c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-1.623-.97-3.013-2.36-3.64zM4.36 16.64L6 15c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4v2c0 1.623.97 3.013 2.36 3.64z"})));break;case"gridicons-link":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.63 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1c2.21 0 4-1.79 4-4v-2c0-2.21-1.79-4-4-4zM2 11v2c0 2.21 1.79 4 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.63 7 7 7H6c-2.21 0-4 1.79-4 4z"})));break;case"gridicons-list-checkmark":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9.5 15.5L5 20l-2.5-2.5 1.06-1.06L5 17.88l3.44-3.44L9.5 15.5zM10 5v2h11V5H10zm0 14h11v-2H10v2zm0-6h11v-2H10v2zM8.44 8.44L5 11.88l-1.44-1.44L2.5 11.5 5 14l4.5-4.5-1.06-1.06zm0-6L5 5.88 3.56 4.44 2.5 5.5 5 8l4.5-4.5-1.06-1.06z"})));break;case"gridicons-list-ordered":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M8 19h13v-2H8v2zm0-6h13v-2H8v2zm0-8v2h13V5H8zm-4.425.252c.107-.096.197-.188.27-.275-.013.228-.02.48-.02.756V8h1.176V3.717H3.96L2.487 4.915l.6.738.487-.4zm.334 7.764c.474-.426.784-.715.93-.867.145-.153.26-.298.35-.436.087-.138.152-.278.194-.42.042-.143.063-.298.063-.466 0-.225-.06-.427-.18-.608s-.29-.32-.507-.417c-.218-.1-.465-.148-.742-.148-.22 0-.42.022-.596.067s-.34.11-.49.195c-.15.085-.337.226-.558.423l.636.744c.174-.15.33-.264.467-.34.138-.078.274-.117.41-.117.13 0 .232.032.304.097.073.064.11.152.11.264 0 .09-.02.176-.055.258-.036.082-.1.18-.192.294-.092.114-.287.328-.586.64L2.42 13.238V14h3.11v-.955H3.91v-.03zm.53 4.746v-.018c.306-.086.54-.225.702-.414.162-.19.243-.42.243-.685 0-.31-.126-.55-.378-.727-.252-.176-.6-.264-1.043-.264-.307 0-.58.033-.816.1s-.47.178-.696.334l.48.773c.293-.183.576-.274.85-.274.147 0 .263.027.35.082s.13.14.13.252c0 .3-.294.45-.882.45h-.27v.87h.264c.217 0 .393.017.527.05.136.03.233.08.294.143.06.064.09.154.09.27 0 .153-.057.265-.173.337-.115.07-.3.106-.554.106-.164 0-.343-.022-.538-.07-.194-.044-.385-.115-.573-.21v.96c.228.088.44.148.637.182.196.033.41.05.64.05.56 0 .998-.114 1.314-.343.315-.228.473-.542.473-.94.002-.585-.356-.923-1.07-1.013z"})));break;case"gridicons-list-unordered":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-location":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 9c0-3.866-3.134-7-7-7S5 5.134 5 9c0 1.387.41 2.677 1.105 3.765h-.008C8.457 16.46 12 22 12 22l5.903-9.235h-.007C18.59 11.677 19 10.387 19 9zm-7 3c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"})));break;case"gridicons-lock":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 8h-1V7c0-2.757-2.243-5-5-5S7 4.243 7 7v1H6c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V10c0-1.105-.895-2-2-2zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v1H9V7zm4 8.723V18h-2v-2.277c-.595-.346-1-.984-1-1.723 0-1.105.895-2 2-2s2 .895 2 2c0 .738-.405 1.376-1 1.723z"})));break;case"gridicons-mail":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"})));break;case"gridicons-mention":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10v-2c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v.5c0 .827-.673 1.5-1.5 1.5s-1.5-.673-1.5-1.5V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.65 0 3.102-.81 4.013-2.043C16.648 15.6 17.527 16 18.5 16c1.93 0 3.5-1.57 3.5-3.5V12c0-5.523-4.477-10-10-10zm0 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z"})));break;case"gridicons-menu":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 6v2H3V6h18zM3 18h18v-2H3v2zm0-5h18v-2H3v2z"})));break;case"gridicons-menus":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 19h10v-2H9v2zm0-6h6v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));break;case"gridicons-microphone":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 13c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2-1.105 0-2 .896-2 2v5c0 1.104.895 2 2 2zm4-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6c0 2.972 2.164 5.433 5 5.91V20h2v-3.09c2.836-.478 5-2.94 5-5.91h-2z"})));break;case"gridicons-minus-small":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 11h12v2H6z"})));break;case"gridicons-minus":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 11h18v2H3z"})));break;case"gridicons-my-sites-horizon":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.986 13.928l.762-2.284-1.324-3.63c-.458-.026-.892-.08-.892-.08-.458-.027-.405-.727.054-.7 0 0 1.403.107 2.24.107.888 0 2.265-.107 2.265-.107.46-.027.513.646.055.7 0 0-.46.055-.973.082l2.006 5.966c-.875-.034-1.74-.053-2.6-.06l-.428-1.177-.403 1.17c-.252.002-.508.01-.76.015zm-7.156.393c-.21-.737-.33-1.514-.33-2.32 0-1.232.264-2.402.736-3.46l2.036 5.58c.85-.06 1.69-.104 2.526-.138L6.792 8.015c.512-.027.973-.08.973-.08.458-.055.404-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.036-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .674-.244 1.463-.572 2.51.3.02.604.043.907.066l.798-2.307c.486-1.212.647-2.18.647-3.043 0-.313-.02-.603-.057-.874.662 1.21 1.04 2.6 1.04 4.077 0 .807-.128 1.58-.34 2.32.5.05 1.006.112 1.51.17.205-.798.33-1.628.33-2.49 0-5.523-4.477-10-10-10S2 6.477 2 12c0 .862.125 1.692.33 2.49.5-.057 1.003-.12 1.5-.17zm14.638 3.168C16.676 19.672 14.118 20.5 12 20.5c-1.876 0-4.55-.697-6.463-3.012-.585.048-1.174.1-1.77.16C5.572 20.272 8.578 22 12 22c3.422 0 6.43-1.73 8.232-4.35-.593-.063-1.18-.114-1.764-.162zM12 15.01c-3.715 0-7.368.266-10.958.733.18.41.35.825.506 1.247 3.427-.43 6.91-.68 10.452-.68s7.025.25 10.452.68c.156-.422.327-.836.506-1.246-3.59-.467-7.243-.734-10.958-.734z"})));break;case"gridicons-my-sites":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM3.5 12c0-1.232.264-2.402.736-3.46L8.29 19.65C5.456 18.272 3.5 15.365 3.5 12zm8.5 8.5c-.834 0-1.64-.12-2.4-.345l2.55-7.41 2.613 7.157c.017.042.038.08.06.117-.884.31-1.833.48-2.823.48zm1.172-12.485c.512-.027.973-.08.973-.08.458-.055.404-.728-.054-.702 0 0-1.376.108-2.265.108-.835 0-2.24-.107-2.24-.107-.458-.026-.51.674-.053.7 0 0 .434.055.892.082l1.324 3.63-1.86 5.578-3.096-9.208c.512-.027.973-.08.973-.08.458-.055.403-.728-.055-.702 0 0-1.376.108-2.265.108-.16 0-.347-.003-.547-.01C6.418 5.025 9.03 3.5 12 3.5c2.213 0 4.228.846 5.74 2.232-.037-.002-.072-.007-.11-.007-.835 0-1.427.727-1.427 1.51 0 .7.404 1.292.835 1.993.323.566.7 1.293.7 2.344 0 .727-.28 1.572-.646 2.748l-.848 2.833-3.072-9.138zm3.1 11.332l2.597-7.506c.484-1.212.645-2.18.645-3.044 0-.313-.02-.603-.057-.874.664 1.21 1.042 2.6 1.042 4.078 0 3.136-1.7 5.874-4.227 7.347z"})));break;case"gridicons-not-visible":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M1 12s4.188-6 11-6c.947 0 1.84.12 2.678.322L8.36 12.64C8.133 12.14 8 11.586 8 11c0-.937.335-1.787.875-2.47C6.483 9.344 4.66 10.917 3.62 12c.68.707 1.696 1.62 2.98 2.398L5.15 15.85C2.498 14.13 1 12 1 12zm22 0s-4.188 6-11 6c-.946 0-1.836-.124-2.676-.323L5 22l-1.5-1.5 17-17L22 5l-3.147 3.147C21.5 9.87 23 12 23 12zm-2.615.006c-.678-.708-1.697-1.624-2.987-2.403L16 11c0 2.21-1.79 4-4 4l-.947.947c.31.03.624.053.947.053 3.978 0 6.943-2.478 8.385-3.994z"})));break;case"gridicons-notice-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})));break;case"gridicons-notice":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-pages":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})));break;case"gridicons-pencil":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M13 6l5 5-9.507 9.507c-.686-.686-.69-1.794-.012-2.485l-.002-.003c-.69.676-1.8.673-2.485-.013-.677-.677-.686-1.762-.036-2.455l-.008-.008c-.694.65-1.78.64-2.456-.036L13 6zm7.586-.414l-2.172-2.172c-.78-.78-2.047-.78-2.828 0L14 5l5 5 1.586-1.586c.78-.78.78-2.047 0-2.828zM3 18v3h3c0-1.657-1.343-3-3-3z"})));break;case"gridicons-phone":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})));break;case"gridicons-plans":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-1 12H6l5-10v10zm2 6V10h5l-5 10z"})));break;case"gridicons-plugins":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 8V3c0-.552-.448-1-1-1s-1 .448-1 1v5h-4V3c0-.552-.448-1-1-1s-1 .448-1 1v5H5v4c0 2.79 1.637 5.193 4 6.317V22h6v-3.683c2.363-1.124 4-3.527 4-6.317V8h-3z"})));break;case"gridicons-plus-small":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5"})));break;case"gridicons-plus":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 13h-7v7h-2v-7H4v-2h7V4h2v7h7v2z"})));break;case"gridicons-popout":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6 7V5c0-1.105.895-2 2-2h11c1.105 0 2 .895 2 2v14c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2v-2h2v2h11V5H8v2H6zm5.5-.5l-1.414 1.414L13.172 11H3v2h10.172l-3.086 3.086L11.5 17.5 17 12l-5.5-5.5z"})));break;case"gridicons-posts":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})));break;case"gridicons-print":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3c0 1.105-.895 2-2 2H7c-1.105 0-2-.895-2-2v-3H2V9c0-1.105.895-2 2-2h1V5c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2v2h1c1.105 0 2 .895 2 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5.672 1.5 1.5 1.5 1.5-.672 1.5-1.5z"})));break;case"gridicons-quote":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M11.192 15.757c0-.88-.23-1.618-.69-2.217-.326-.412-.768-.683-1.327-.812-.55-.128-1.07-.137-1.54-.028-.16-.95.1-1.956.76-3.022.66-1.065 1.515-1.867 2.558-2.403L9.373 5c-.8.396-1.56.898-2.26 1.505-.71.607-1.34 1.305-1.9 2.094s-.98 1.68-1.25 2.69-.346 2.04-.217 3.1c.168 1.4.62 2.52 1.356 3.35.735.84 1.652 1.26 2.748 1.26.965 0 1.766-.29 2.4-.878.628-.576.94-1.365.94-2.368l.002.003zm9.124 0c0-.88-.23-1.618-.69-2.217-.326-.42-.77-.692-1.327-.817-.56-.124-1.074-.13-1.54-.022-.16-.94.09-1.95.75-3.02.66-1.06 1.514-1.86 2.557-2.4L18.49 5c-.8.396-1.555.898-2.26 1.505-.708.607-1.34 1.305-1.894 2.094-.556.79-.97 1.68-1.24 2.69-.273 1-.345 2.04-.217 3.1.165 1.4.615 2.52 1.35 3.35.732.833 1.646 1.25 2.742 1.25.967 0 1.768-.29 2.402-.876.627-.576.942-1.365.942-2.368v.01z"})));break;case"gridicons-reader":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 4v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4H3zm7 11H5v-1h5v1zm2-2H5v-1h7v1zm0-2H5v-1h7v1zm7 4h-5v-5h5v5zm0-7H5V6h14v2z"})));break;case"gridicons-reader-following":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23,13.482L15.508,21L12,17.4l1.412-1.388l2.106,2.188l6.094-6.094L23,13.482z M15.545,15.344L20,10.889V2H2v14c0,1.1,0.9,2,2,2h4.538l4.913-4.832L15.545,15.344z M8,13H4v-1h4V13z M11,11H4v-1h7V11z M11,9H4V8h7V9z M18,6H4V4h14V6z"})));break;case"gridicons-reblog":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22.086 9.914L20 7.828V18c0 1.105-.895 2-2 2h-7v-2h7V7.828l-2.086 2.086L14.5 8.5 19 4l4.5 4.5-1.414 1.414zM6 16.172V6h7V4H6c-1.105 0-2 .895-2 2v10.172l-2.086-2.086L.5 15.5 5 20l4.5-4.5-1.414-1.414L6 16.172z"})));break;case"gridicons-redo":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 6v3.586L14.343 5.93C13.17 4.756 11.636 4.17 10.1 4.17s-3.07.585-4.242 1.757c-2.343 2.342-2.343 6.14 0 8.484l5.364 5.364 1.414-1.414L7.272 13c-1.56-1.56-1.56-4.097 0-5.657.755-.755 1.76-1.172 2.828-1.172 1.068 0 2.073.417 2.828 1.173L16.586 11H13v2h7V6h-2z"})));break;case"gridicons-refresh":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"})));break;case"gridicons-reply":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14 8H6.828l2.586-2.586L8 4 3 9l5 5 1.414-1.414L6.828 10H14c2.206 0 4 1.794 4 4s-1.794 4-4 4h-2v2h2c3.314 0 6-2.686 6-6s-2.686-6-6-6z"})));break;case"gridicons-rotate":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 14v6c0 1.105-.895 2-2 2H6c-1.105 0-2-.895-2-2v-6c0-1.105.895-2 2-2h10c1.105 0 2 .895 2 2zM13.914 2.914L11.828 5H14c4.418 0 8 3.582 8 8h-2c0-3.308-2.692-6-6-6h-2.172l2.086 2.086L12.5 10.5 8 6l1.414-1.414L12.5 1.5l1.414 1.414z"})));break;case"gridicons-scheduled":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M10.498 18l-3.705-3.704 1.415-1.415 2.294 2.295 5.293-5.293 1.415 1.415L10.498 18zM21 6v13c0 1.104-.896 2-2 2H5c-1.104 0-2-.896-2-2V6c0-1.104.896-2 2-2h1V2h2v2h8V2h2v2h1c1.104 0 2 .896 2 2zm-2 2H5v11h14V8z"})));break;case"gridicons-search":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})));break;case"gridicons-share-ios":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 8h2c1.105 0 2 .895 2 2v9c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2v-9c0-1.105.895-2 2-2h2v2H5v9h14v-9h-2V8zM6.5 5.5l1.414 1.414L11 3.828V14h2V3.828l3.086 3.086L17.5 5.5 12 0 6.5 5.5z"})));break;case"gridicons-share":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 16c-.788 0-1.5.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118c-.053.223-.088.453-.088.692 0 1.657 1.343 3 3 3s3-1.343 3-3-1.343-3-3-3z"})));break;case"gridicons-sign-out":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M16 17v2c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V5c0-1.105.895-2 2-2h9c1.105 0 2 .895 2 2v2h-2V5H5v14h9v-2h2zm2.5-10.5l-1.414 1.414L20.172 11H10v2h10.172l-3.086 3.086L18.5 17.5 24 12l-5.5-5.5z"})));break;case"gridicons-spam":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 2H7L2 7v10l5 5h10l5-5V7l-5-5zm-4 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})));break;case"gridicons-speaker":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M19 8v6c1.7 0 3-1.3 3-3s-1.3-3-3-3zM11 7H4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v3c0 1.1.9 2 2 2h2v-5h2l4 4h2V3h-2l-4 4z"})));break;case"gridicons-special-character":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12.005 7.418c-1.237 0-2.19.376-2.86 1.128s-1.005 1.812-1.005 3.18c0 1.387.226 2.513.677 3.377.45.865 1.135 1.543 2.05 2.036V20H5v-2.666h3.12c-1.04-.636-1.842-1.502-2.405-2.6-.564-1.097-.846-2.322-.846-3.676 0-1.258.29-2.363.875-3.317.585-.952 1.417-1.685 2.497-2.198s2.334-.77 3.763-.77c2.18 0 3.915.572 5.204 1.713s1.932 2.673 1.932 4.594c0 1.353-.283 2.57-.852 3.65-.567 1.08-1.38 1.947-2.44 2.603H19V20h-5.908v-2.86c.95-.493 1.65-1.18 2.102-2.062s.677-2.006.677-3.374c0-1.36-.336-2.415-1.01-3.164-.672-.747-1.624-1.122-2.855-1.122z"})));break;case"gridicons-star-outline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})));break;case"gridicons-star":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("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"})));break;case"gridicons-stats-alt":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M21 21H3v-2h18v2zM8 10H4v7h4v-7zm6-7h-4v14h4V3zm6 3h-4v11h4V6z"})));break;case"gridicons-stats":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("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-2zm0 16H5V5h14v14zM9 17H7v-5h2v5zm4 0h-2V7h2v10zm4 0h-2v-7h2v7z"})));break;case"gridicons-status":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM7.55 13c-.02.166-.05.33-.05.5 0 2.485 2.015 4.5 4.5 4.5s4.5-2.015 4.5-4.5c0-.17-.032-.334-.05-.5h-8.9zM10 10V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1zm6 0V8c0-.552-.448-1-1-1s-1 .448-1 1v2c0 .552.448 1 1 1s1-.448 1-1z"})));break;case"gridicons-strikethrough":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M14.348 12H21v2h-4.613c.24.515.368 1.094.368 1.748 0 1.317-.474 2.355-1.423 3.114-.947.76-2.266 1.138-3.956 1.138-1.557 0-2.934-.293-4.132-.878v-2.874c.985.44 1.818.75 2.5.928.682.18 1.306.27 1.872.27.68 0 1.2-.13 1.562-.39.363-.26.545-.644.545-1.158 0-.285-.08-.54-.24-.763-.16-.222-.394-.437-.704-.643-.18-.12-.483-.287-.88-.49H3v-2H14.347zm-3.528-2c-.073-.077-.143-.155-.193-.235-.126-.202-.19-.44-.19-.713 0-.44.157-.795.47-1.068.313-.273.762-.41 1.348-.41.492 0 .993.064 1.502.19.51.127 1.153.35 1.93.67l1-2.405c-.753-.327-1.473-.58-2.16-.76-.69-.18-1.414-.27-2.173-.27-1.544 0-2.753.37-3.628 1.108-.874.738-1.312 1.753-1.312 3.044 0 .302.036.58.088.848h3.318z"})));break;case"gridicons-sync":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4c4.418 0 8 3.582 8 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12c0 4.418 3.582 8 8 8v-2c-3.308 0-6-2.692-6-6z"})));break;case"gridicons-tablet":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 2H6c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h12c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-5 19h-2v-1h2v1zm5-2H6V5h12v14z"})));break;case"gridicons-tag":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"})));break;case"gridicons-text-color":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M3 19h18v3H3v-3zM15.82 17h3.424L14 3h-4L4.756 17H8.18l1.067-3.5h5.506L15.82 17zm-1.952-6h-3.73l1.868-5.725L13.868 11z"})));break;case"gridicons-themes":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"})));break;case"gridicons-thumbs-up":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.7 22H2v-9h2l2.7 9zM20 9h-6V5c0-1.657-1.343-3-3-3h-1v4L7.1 9.625c-.712.89-1.1 1.996-1.1 3.135V14l2.1 7h8.337c1.836 0 3.435-1.25 3.88-3.03l1.622-6.485C22.254 10.223 21.3 9 20 9z"})));break;case"gridicons-time":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.8 13.4L13 11.667V7h-2v5.333l3.2 4.266 1.6-1.2z"})));break;case"gridicons-trash":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M6.187 8h11.625l-.695 11.125C17.05 20.18 16.177 21 15.12 21H8.88c-1.057 0-1.93-.82-1.997-1.875L6.187 8zM19 5v2H5V5h3V4c0-1.105.895-2 2-2h4c1.105 0 2 .895 2 2v1h3zm-9 0h4V4h-4v1z"})));break;case"gridicons-trophy":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18 5.062V3H6v2.062H2V8c0 2.525 1.89 4.598 4.324 4.932.7 2.058 2.485 3.61 4.676 3.978V18c0 1.105-.895 2-2 2H8v2h8v-2h-1c-1.105 0-2-.895-2-2v-1.09c2.19-.368 3.976-1.92 4.676-3.978C20.11 12.598 22 10.525 22 8V5.062h-4zM4 8v-.938h2v3.766C4.836 10.416 4 9.304 4 8zm16 0c0 1.304-.836 2.416-2 2.83V7.06h2V8z"})));break;case"gridicons-types":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M22 17c0 2.76-2.24 5-5 5s-5-2.24-5-5 2.24-5 5-5 5 2.24 5 5zM6.5 6.5h3.8L7 1 1 11h5.5V6.5zm9.5 4.085V8H8v8h2.585c.433-2.783 2.632-4.982 5.415-5.415z"})));break;case"gridicons-underline":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M4 19v2h16v-2H4zM18 3v8c0 3.314-2.686 6-6 6s-6-2.686-6-6V3h3v8c0 1.654 1.346 3 3 3s3-1.346 3-3V3h3z"})));break;case"gridicons-undo":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M18.142 5.93C16.97 4.756 15.435 4.17 13.9 4.17s-3.072.586-4.244 1.757L6 9.585V6H4v7h7v-2H7.414l3.657-3.657c.756-.755 1.76-1.172 2.83-1.172 1.067 0 2.072.417 2.827 1.173 1.56 1.56 1.56 4.097 0 5.657l-5.364 5.364 1.414 1.414 5.364-5.364c2.345-2.343 2.345-6.142.002-8.485z"})));break;case"gridicons-user-circle":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18.5c-4.694 0-8.5-3.806-8.5-8.5S7.306 3.5 12 3.5s8.5 3.806 8.5 8.5-3.806 8.5-8.5 8.5zm0-8c-3.038 0-5.5 1.728-5.5 3.5s2.462 3.5 5.5 3.5 5.5-1.728 5.5-3.5-2.462-3.5-5.5-3.5zm0-.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"})));break;case"gridicons-user":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 16s8 0 8-2c0-2.4-3.9-5-8-5s-8 2.6-8 5c0 2 8 2 8 2z"})));break;case"gridicons-video-camera":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M17 9V7c0-1.105-.895-2-2-2H4c-1.105 0-2 .895-2 2v10c0 1.105.895 2 2 2h11c1.105 0 2-.895 2-2v-2l5 4V5l-5 4z"})));break;case"gridicons-video":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"})));break;case"gridicons-visible":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M12 6C5.188 6 1 12 1 12s4.188 6 11 6 11-6 11-6-4.188-6-11-6zm0 10c-3.943 0-6.926-2.484-8.38-4 1.04-1.085 2.863-2.657 5.255-3.47C8.335 9.214 8 10.064 8 11c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.937-.335-1.787-.875-2.47 2.393.813 4.216 2.386 5.254 3.47-1.456 1.518-4.438 4-8.38 4z"})));break;case"gridicons-chat":r=c().createElement("svg",{className:i,height:this.props.size,width:this.props.size,onClick:this.props.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c().createElement("g",null,c().createElement("path",{d:"M20,4h-8c-1.1,0-2,0.9-2,2v2h2c1.7,0,3,1.3,3,3v2h2v3.5l3.3-2.3c1.1-0.8,1.7-2,1.7-3.3V6C22,4.9,21.1,4,20,4z"}),c().createElement("g",null,c().createElement("path",{d:"M14,11v5c0,1.1-0.9,2-2,2H7v3.5l-3.3-2.3c-1.1-0.8-1.7-2-1.7-3.3V11c0-1.1,0.9-2,2-2h8C13.1,9,14,9.9,14,11z"}))))}return r}}const p=l},42698:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(65235),n=s.n(a),i=s(5060),r=s(28402),o=s(84069),c=s(92819),l=s(25162),p=s.n(l),d=s(99196),u=s.n(d);const m=class extends u().Component{static displayName="InfoPopover";static propTypes={id:p().string,position:p().string,className:p().string,rootClassName:p().string,gaEventCategory:p().string,popoverName:p().string,onClick:p().func,ignoreContext:p().shape({getDOMNode:p().function})};static defaultProps={position:"bottom",onClick:c.noop};state={showPopover:!1};render(){const e=n()("dops-info-popover","dops-info-popover-button",{is_active:this.state.showPopover},this.props.className);return u().createElement("button",{ref:"infoPopover",className:e,onClick:this._onClick},u().createElement(i.Z,{icon:"info-outline",size:18}),this.props.screenReaderText?u().createElement("span",{className:"screen-reader-text"},this.props.screenReaderText):"",u().createElement(r.Z,{id:this.props.id,isVisible:this.state.showPopover,context:this.refs&&this.refs.infoPopover,ignoreContext:this.props.ignoreContext,position:this.props.position,onClose:this._onClose,className:n()("dops-info-popover__tooltip",this.props.className),rootClassName:this.props.rootClassName},this.props.children))}_onClick=e=>{this.props.onClick(),e.preventDefault(),this.setState({showPopover:!this.state.showPopover},this._recordStats)};_onClose=()=>{this.setState({showPopover:!1},this._recordStats)};_recordStats(){const{gaEventCategory:e,popoverName:t}=this.props;if(e&&t){const s=this.state.showPopover?" Opened":" Closed";o.Z.ga.recordEvent(e,"InfoPopover: "+t+s)}}}},16626:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(55609),n=s(97506),i=s(99196),r=s.n(i);const o=e=>{const{isInstalling:t=!1,children:s=null,...i}=e,o=t?r().createElement("div",{className:"jp-install-button__spinner-container"},r().createElement(a.Spinner,null)):s;return r().createElement(n.Z,i,o)}},85733:(e,t,s)=>{"use strict";s.d(t,{$j:()=>u,ZP:()=>m,zv:()=>d});var a=s(47407),n=s(92819),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o),l=s(59309),p=s(69508);class d extends a.jL{static propTypes={callToAction:r().string,className:r().string,description:r().node,eventFeature:r().string,feature:r().string,href:r().string,icon:r().string,iconAlt:r().string,iconSrc:r().string,list:r().arrayOf(r().string),onClick:r().func,trackBannerDisplay:r().func,path:r().string,plan:r().string,siteSlug:r().string,title:r().node.isRequired,noIcon:r().bool,rna:r().bool};static defaultProps={onClick:n.noop,trackBannerDisplay:n.noop,plan:"",rna:!1,noIcon:!1};componentDidMount(){!this.props.hidePromotionBanner&&this.props.arePromotionsActive&&this.props.trackBannerDisplay()}render(){return this.props.hidePromotionBanner?null:this.props.arePromotionsActive?c().createElement(a.jL,this.props):null}}function u(e){return(0,l.$j)(((e,t)=>{const s=(0,p.pK)(e);return{arePromotionsActive:(0,p.Hy)(e),userCanPurchasePlan:s,hidePromotionBanner:!!t.plan&&!s}}))((0,a.$j)(e))}const m=u(d)},6165:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(6895),n=s(14322),i=s(55609),r=s(69307),o=s(65736),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p);const __=o.__,u=e=>{const{siteBenefits:t,context:s}=e;return d().createElement(d().Fragment,null,t.length>0&&d().createElement(d().Fragment,null,d().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},d().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},"disconnect"===s?__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"):__("Jetpack is currently powering features on your site. Once you deactivate Jetpack, these features will no longer be available.","jetpack",0))),d().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((({value:e,description:t,title:s},a)=>d().createElement(n.Z,{title:s,value:e,description:t,key:a}))))),t.length<=2&&d().createElement("div",{className:"jetpack-benefits__general-benefits-section"},d().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),d().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},d().createElement("li",{key:"reason-cdn"},(0,r.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:d().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),d().createElement("li",{key:"reason-brute-force"},(0,r.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:d().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-features-brute-force"),rel:"noopener noreferrer",target:"_blank"})})),d().createElement("li",{key:"reason-social"},(0,r.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:d().createElement(i.ExternalLink,{href:(0,a.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))};u.propTypes={siteBenefits:l().array,context:l().oneOf(["disconnect","deactivate"])},u.defaultProps={context:"disconnect"};const m=u},88120:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(65235),n=s.n(a),i=s(5060),r=s(92819),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(3915);class u extends l.Component{maybeDismiss=e=>{!this.props.showDismiss||e.code&&"Escape"!==e.code||this.props.dismiss(e)};componentDidMount(){document.addEventListener("keydown",this.maybeDismiss.bind(this),!1)}componentWillUnmount(){document.removeEventListener("keydown",this.maybeDismiss.bind(this),!1)}clickForeground(e){e.stopPropagation()}render(){const e=n()(this.props.className,"jp-dialogue-modern",{"has-featured-image":!!this.props.svg});return p().createElement("div",{className:"jp-dialogue-modern-full__container",role:"presentation",onClick:this.maybeDismiss,onKeyDown:(0,d.Z)(this.maybeDismiss)},p().createElement("div",{className:e,role:"presentation",onClick:this.clickForeground,onKeyDown:(0,d.Z)(this.clickForeground)},this.props.showDismiss&&p().createElement(i.Z,{icon:"cross-small",className:"jp-dialogue-modern-full__dismiss",tabIndex:"0",onKeyDown:(0,d.Z)(this.props.dismiss),onClick:this.props.dismiss}),this.props.svg,p().createElement("div",{className:"jp-dialogue-modern__content"},p().createElement("h1",{className:"jp-dialogue-modern__title"},this.props.title),this.props.content),p().createElement("div",null,this.props.belowContent)))}}u.propTypes={content:c().oneOfType([c().string,c().object]).isRequired,belowContent:c().oneOfType([c().string,c().object]).isRequired,svg:c().oneOfType([c().bool,c().object]),dismissOnClick:c().func,showDismiss:c().bool,title:c().string,adminUrl:c().string,dismiss:c().func},u.defaultProps={svg:!1,showDismiss:!0,dismiss:r.noop,content:"",belowContent:"",title:""};const m=u},72129:(e,t,s)=>{"use strict";s.d(t,{D:()=>l});var a=s(80800),n=s(65736),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o);const __=n.__,l=({altText:e})=>c().createElement("div",{className:"jp-loading-icon"},c().createElement("img",{src:a.hp+"/jetpack-logomark-blue.svg",alt:e}));l.propTypes={altText:r().string},l.defaultProps={altText:__("Loading…","jetpack")}},12832:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(6895),n=s(94706),i=s(65736),r=s(84069),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(33951);const __=i.__,u=e=>{(0,l.useEffect)((()=>{r.Z.tracks.recordEvent("jetpack_manage_banner_view",{feature:"manage",page:e.path})}),[e.path]);const t=(0,l.useCallback)((t=>{r.Z.tracks.recordJetpackClick({target:t,feature:"manage",page:e.path})}),[e.path]),s=(0,l.useCallback)((()=>{t("jp-manage-learn-more")}),[t]),i=(0,l.useCallback)((()=>{t("jp-manage-dashboard-sites")}),[t]),o=(0,l.useCallback)((()=>{t("jp-manage-sign-up")}),[t]);let c,u,m;return e.isAgencyAccount?(c=__("Manage sites","jetpack"),u=(0,a.Z)("jetpack-at-a-glance-to-jetpack-manage-dashboard"),m=i):(c=__("Sign up for free","jetpack"),u=(0,a.Z)("jetpack-at-a-glance-to-jetpack-manage-sign-up"),m=o),p().createElement(n.Z,{icon:d,title:__("Manage your clients' sites with ease","jetpack"),description:__("Jetpack Manage has the tools you need to manage multiple WordPress sites. Monitor site security, performance, and traffic, and get alerted if a site needs attention. Plus, get bulk discounts.","jetpack"),secondaryCtaLabel:__("Learn more","jetpack"),secondaryCtaURL:(0,a.Z)("jetpack-at-a-glance-to-jetpack-manage-learn-more"),secondaryCtaIsExternalLink:!0,secondaryCtaOnClick:s,primaryCtaLabel:c,primaryCtaURL:u,primaryCtaIsExternalLink:!0,primaryCtaOnClick:m})};u.propTypes={path:c().string,isUserLinked:c().bool,isOwner:c().bool,isFetchingData:c().bool,isAgencyAccount:c().bool},u.defaultProps={path:"",isUserLinked:!1,isOwner:!1,isFetchingData:!1,isAgencyAccount:!1};const m=u},90381:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(99196),n=s.n(a),i=s(59309),r=s(835),o=s(35613);class c extends n().Component{static displayName="DismissableNotices";dismissJetpackActionNotice=()=>{this.props.dismissJetpackActionNotice(this.props.jetpackNotices)};renderNotices=()=>{this.props.jetpackNotices;return!1};render(){return n().createElement("div",null,this.renderNotices())}}const l=(0,i.$j)((e=>({jetpackNotices:(0,o.gq)(e),isDismissed:t=>(0,o.jE)(e,t)})),(e=>(0,r.DE)({dismissJetpackActionNotice:o.Sn},e)))(c)},77332:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(65736),n=s(71668),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o),l=s(4721);const __=a.__;class p extends c().Component{static defaultProps={text:__("Connection Error, please reconnect.","jetpack"),display:!0};static propTypes={text:r().string.isRequired,errorCode:r().string,errorData:r().object,action:r().string,display:r().bool};render(){return c().createElement(n.Z,{showDismiss:!1,text:this.props.text,status:"is-error",icon:"link-break",display:this.props.display},c().createElement(l.Z,{errorCode:this.props.errorCode,errorData:this.props.errorData,action:this.props.action},__("Restore Connection","jetpack")))}}},75060:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>M});var a=s(80800),n=s(6895),i=s(69307),r=s(65736),o=s(79099),c=s(37851),l=s(71668),p=s(52099),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(59309),k=s(44498),f=s(39897),v=s(96300),E=s(69508),w=s(59963),_=s(33002),b=s(90381),y=s(69635),C=s(41225),j=s(81375);const __=r.__;class S extends h().Component{static displayName="DevVersionNotice";render(){return!(!this.props.isDevVersion||this.props.userIsSubscriber)&&h().createElement(l.Z,{showDismiss:!1,text:__("You are currently running a development version of Jetpack.","jetpack")},h().createElement(p.Z,{href:a.Ez,external:!0},__("Submit Beta feedback","jetpack")))}}S.propTypes={isDevVersion:u().bool.isRequired,userIsSubscriber:u().bool.isRequired};class N extends h().Component{static displayName="StagingSiteNotice";render(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){const e=(0,n.Z)("jetpack-support-staging-sites"),t={text:__("You are running Jetpack on a staging server.","jetpack"),status:"is-basic",showDismiss:!1};return h().createElement(l.Z,t,h().createElement(p.Z,{href:e},__("More Info","jetpack")))}return!1}}N.propTypes={isStaging:u().bool.isRequired,isInIdentityCrisis:u().bool.isRequired};class x extends h().Component{static displayName="OfflineModeNotice";render(){if("offline"===this.props.siteConnectionStatus){const e=this.props.siteOfflineMode,t=[];e.filter&&t.push(__("The jetpack_development_mode filter is active","jetpack")),e.constant&&t.push((0,r.sprintf)(/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
__("The %s constant is defined","jetpack"),"JETPACK_DEV_DEBUG")),e.wpLocalConstant&&t.push((0,r.sprintf)(/* translators: placeholder is a constant, such as WP_LOCAL_DEV. */
__("The %s constant is defined","jetpack"),"WP_LOCAL_DEV")),e.url&&t.push(__("Your site URL is a known local development environment URL","jetpack"));const s=(0,i.createInterpolateElement)(/* translators: reasons is an unordered list of reasons why a site may be in Offline mode. */
__("Currently in <a>Offline Mode</a> (some features are disabled) because: <reasons/>","jetpack"),{a:h().createElement("a",{href:(0,n.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"}),reasons:h().createElement("ul",null,t.map(((e,t)=>h().createElement("li",{key:t},e))))});return h().createElement(l.Z,{showDismiss:!1,status:"is-info",text:s},h().createElement(p.Z,{href:(0,n.Z)("jetpack-support-development-mode")},__("Learn More","jetpack")))}return!1}}x.propTypes={siteConnectionStatus:u().oneOfType([u().string,u().bool]).isRequired,siteOfflineMode:u().oneOfType([u().bool,u().object]).isRequired};class T extends h().Component{static displayName="UserUnlinked";render(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&h().createElement("div",{className:"jp-unlinked-notice"},h().createElement(o.Z,{title:__("Connect your WordPress.com account","jetpack"),description:__("Jetpack is powering your site, but to access all of its features you’ll need to connect your account to WordPress.com.","jetpack"),callToAction:__("Create account","jetpack"),href:`${this.props.connectUrl}&from=unlinked-user-connect`,icon:h().createElement(f.Z,{icon:"wordpress",size:24}),className:"is-jetpack-info",from:"unlinked-user-connect",connectUser:!0}))}}T.propTypes={connectUrl:u().string.isRequired,siteConnected:u().bool.isRequired};class A extends h().Component{static displayName="JetpackNotices";render(){const e=this.props.siteDataErrors.filter((e=>e.hasOwnProperty("action"))),t=this.props.location.pathname.startsWith("/connect-user");return h().createElement("div",{"aria-live":"polite"},h().createElement(c.Z,null),this.props.siteConnectionStatus&&this.props.userCanConnectSite&&(this.props.connectionErrors.length>0||e.length>0)&&h().createElement(y.Z,{errors:this.props.connectionErrors.concat(e),display:!this.props.isReconnectingSite}),h().createElement(j.Z,null),h().createElement(S,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),h().createElement(x,{siteConnectionStatus:this.props.siteConnectionStatus,siteOfflineMode:this.props.siteOfflineMode}),h().createElement(N,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),h().createElement(C.Z,null),h().createElement(b.Z,null),!this.props.isReconnectingSite&&this.props.userCanConnectAccount&&this.props.hasConnectedOwner&&!e.length&&!this.props.connectionErrors.length&&!t&&h().createElement(T,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&h().createElement(l.Z,{showDismiss:!1,status:"is-warning",text:__("This site is not connected to WordPress.com. Please ask the site administrator to connect.","jetpack")}),this.props.licensingError&&h().createElement(l.Z,{showDismiss:!0,status:"is-error",text:this.props.licensingError,onDismissClick:this.props.clearLicensingError}))}}const M=(0,g.$j)((e=>({connectUrl:(0,v.AM)(e),siteConnectionStatus:(0,v.Gz)(e),userCanConnectSite:(0,E.Mc)(e),userCanConnectAccount:(0,E.n0)(e),userIsSubscriber:(0,E.dc)(e),isConnectionOwner:(0,v.QM)(e),isLinked:(0,v.BU)(e),isDevVersion:(0,E._W)(e),isAtomicSite:(0,E.Ug)(e),siteOfflineMode:(0,v.Hu)(e),isStaging:(0,v.cm)(e),isInIdentityCrisis:(0,v.l9)(e),connectionErrors:(0,E.PK)(e),siteDataErrors:(0,_.Vc)(e),isReconnectingSite:(0,v.O_)(e),licensingError:(0,w.Tk)(e),hasConnectedOwner:(0,v.it)(e)})),(e=>({clearLicensingError:()=>e((0,w.xw)())})))((0,k.EN)(A))},69635:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(80800),n=s(65736),i=s(71668),r=s(52099),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(77332);const __=n.__;class u extends p().Component{static propTypes={errors:c().array.isRequired,display:c().bool};static defaultProps={display:!0};getAction(e,t,s,a,n){switch(e){case"reconnect":return p().createElement(d.Z,{text:t,errorCode:s,errorData:a,action:e,display:this.props.display});case"support":return p().createElement(i.Z,{text:t,status:"is-error",icon:"link-break",showDismiss:!1,display:this.props.display},p().createElement(r.Z,{href:n,external:!0},__("Contact support","jetpack")))}return null}renderOne(e){const t=this.props.isDevVersion?a.Ez:a.Fr,s=this.getAction(e.action,e.message,e.code,e.hasOwnProperty("data")?e.data:{},t);return null===s?null:p().createElement(p().Fragment,{key:e.action},s)}render(){const e={},t=this.props.errors.filter((e=>e.hasOwnProperty("action")));for(const s of t)e.hasOwnProperty(s.action)||(e[s.action]=s);return Object.values(e).map((e=>this.renderOne(e)))}}},4721:(e,t,s)=>{"use strict";s.d(t,{Z:()=>k});var a=s(51045),n=s(65736),i=s(41549),r=s(52099),o=s(84069),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(59309),m=s(51975),h=s(96300);const __=n.__,g=e=>{const{restoreConnection:t}=(0,a.Z)(),s=(0,p.useCallback)((()=>{const t={location:"dashboard",purpose:"reconnect"};return e.errorCode&&(t.error_code=e.errorCode),e.errorData&&(e.errorData.api_error_code&&(t.api_error_code=e.errorData.api_error_code),e.errorData.api_http_code&&(t.api_http_code=e.errorData.api_http_code)),t}),[e.errorCode,e.errorData]),n=(0,p.useCallback)((()=>(e.beforeReconnectSite(),t(!1).then((t=>{"in_progress"===t.status&&e.initiateUserConnection(t.authorizeUrl)})).catch((t=>e.reconnectFailed(t))))),[e,t]),i=(0,p.useCallback)((()=>{e.isReconnectingSite||(o.Z.tracks.recordEvent("jetpack_termination_error_notice_click",s()),n())}),[e.isReconnectingSite,s,n]);return(0,p.useEffect)((()=>{o.Z.tracks.recordEvent("jetpack_termination_error_notice_view",s())}),[s]),d().createElement(r.Z,{icon:e.icon,onClick:i},e.children)};g.propTypes={icon:l().string,errorCode:l().string,errorData:l().object,action:l().string};const k=(0,u.$j)((e=>({isReconnectingSite:(0,h.O_)(e)})),(e=>({beforeReconnectSite:()=>{e({type:m.bGw}),e((0,i.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"}))},initiateUserConnection:t=>{e({type:m.dDV}),e({type:m.hmP,connectUrl:t}),e((0,h.bL)())},reconnectFailed:t=>{e({type:m.B9W,error:t}),e((0,i.qq)("reconnect-jetpack")),e((0,i.iI)("is-error",(0,n.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}})))(g)},41225:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65736),n=s(71668),i=s(99196),r=s.n(i),o=s(59309),c=s(44498),l=s(33002);const __=a.__;const p=(0,c.EN)((function({activeSitePurchases:e,location:{pathname:t}}){if("/plans"!==t)return null;if(e.length<=1)return null;const s=e.map((({product_slug:e,...t})=>({...t,product_slug:e.replace("_monthly","")}))),i=s.find((({product_slug:e})=>e.includes("backup")));if(!i)return null;const o=s.find((({product_slug:e})=>"jetpack_personal"===e||"jetpack_premium"===e||"jetpack_business"===e));if(!o)return null;if("jetpack_backup_realtime"===i.product_slug&&"jetpack_business"!==o.product_slug)return null;let c=__("daily backups","jetpack");return"jetpack_business"===o.product_slug&&(c=__("real-time backups","jetpack")),r().createElement(n.Z,{status:"is-warning",showDismiss:!1,text:(0,a.sprintf)(/* translators: %1$s: feature, such as "daily backups". %2$s: Plan name, such as "Jetpack Premium". %3$s: Product name, such as "Jetpack Backups". */
__("Your %2$s Plan includes %1$s. Looks like you also purchased the %3$s product. Consider removing %3$s.","jetpack"),c,o.product_name,i.product_name)})})),d=(0,o.$j)((e=>({activeSitePurchases:(0,l.nl)(e)})))(p)},81375:(e,t,s)=>{"use strict";s.d(t,{Z:()=>k});var a=s(6895),n=s(55609),i=s(69307),r=s(65736),o=s(71668),c=s(52099),l=s(39327),p=s(99196),d=s.n(p),u=s(59309),m=s(69508),h=s(35613);const __=r.__;class g extends d().Component{static displayName="JetpackStateNotices";state={showNotice:!0};dismissJetpackStateNotice=()=>{this.setState({showNotice:!1})};getErrorFromKey=e=>{const t=this.props.jetpackStateNoticesErrorDescription||!1;let s="";switch(e){case"cheatin":s=__("Cheatin' uh?","jetpack");break;case"access_denied":s=(0,i.createInterpolateElement)(__("<p>Would you mind telling us why you did not complete the Jetpack connection in this <a>2 question survey</a>?</p><p>A Jetpack connection is required for our free security and traffic features to work.</p>","jetpack"),{a:d().createElement("a",{href:(0,a.Z)("jetpack-cancelled-connection"),target:"_blank",rel:"noopener noreferrer"}),p:d().createElement("p",null)});break;case"wrong_state":s=__("You need to stay logged in to your WordPress blog while you authorize Jetpack.","jetpack");break;case"invalid_client":s=__("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.","jetpack");break;case"invalid_grant":s=__('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.',"jetpack");break;case"site_inaccessible":case"site_requires_authorization":s=(0,r.sprintf)(/* translators: placeholder is an error code and message. */
__("Your website needs to be publicly accessible to use Jetpack: %s","jetpack"),e);break;case"connection_disabled":s=(0,i.createInterpolateElement)(__("This site can't be connected to WordPress.com because it violates our <a>Terms of Service</a>.","jetpack"),{a:d().createElement(n.ExternalLink,{href:(0,a.Z)("wpcom-tos")})});break;case"not_public":s=(0,i.createInterpolateElement)(__("<s>Your Jetpack has a glitch.</s> Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).","jetpack"),{s:d().createElement("strong",null)});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":s=__("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.","jetpack");break;case"register_http_request_failed":case"token_http_request_failed":s=(0,r.sprintf)(/* translators: placeholder is an error code and message. */
__("Jetpack could not contact WordPress.com: %s. This usually means something is incorrectly configured on your web host.","jetpack"),e);break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":s=(0,i.createInterpolateElement)((0,r.sprintf)(/* translators: placeholder is an error code and message. */
__("<s>Your Jetpack has a glitch.</s> We’re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %s","jetpack"),e),{s:d().createElement("strong",null)});break;default:s=e}return t?d().createElement("div",null,s,d().createElement("br",null),t):d().createElement("div",null,s)};getMessageFromKey=e=>{let t,s="",n="is-info";switch(e){case"modules_activated":this.props.isAtomicPlatform||(s=(0,i.createInterpolateElement)((0,r.sprintf)(/* translators: placeholder is a version number, like 8.8. */
__("Welcome to <s>Jetpack %s</s>!","jetpack"),this.props.currentVersion),{s:d().createElement("strong",null)}));break;case"already_authorized":s=__("Your Jetpack is already connected.","jetpack"),n="is-success";break;case"authorized":s=__("You're fueled up and ready to go, Jetpack is now active.","jetpack"),n="is-success";break;case"linked":s=__("You're fueled up and ready to go.","jetpack"),n="is-success";break;case"protect_misconfigured_ip":s=__("Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.","jetpack"),n="is-info",t=d().createElement(c.Z,{href:(0,a.Z)("jetpack-support-security-troubleshooting-protect")},__("Learn More","jetpack"));break;case"reconnection_completed":s=(0,i.createInterpolateElement)(__("Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the <a>Site Health tool</a>.","jetpack"),{a:d().createElement("a",{href:this.props.siteAdminUrl+"site-health.php"})}),n="is-success";break;default:s=e}return[s,n,t]};renderContent=()=>{let e,t="is-info",s="";const a=this.props.jetpackStateNoticesErrorCode,n=this.props.jetpackStateNoticesMessageCode,i=this.props.jetpackStateNoticesMessageContent;if(a||n||i){if(a&&(s=this.getErrorFromKey(a),"access_denied"!==a&&(t="is-error")),i&&i.release_post_content&&!this.props.isAtomicPlatform)return d().createElement(l.Z,{dismiss:this.dismissJetpackStateNotice,version:this.props.currentVersion,releasePostContent:i.release_post_content,featuredImage:i.release_post_featured_image,title:i.release_post_title});if(n){const a=this.getMessageFromKey(n);s=a[0],t=a[1],e=a[2]}if(""!==s)return d().createElement(o.Z,{status:t,onDismissClick:this.dismissJetpackStateNotice,text:s},e)}};render(){return d().createElement("div",null,this.state.showNotice?this.renderContent():null)}}const k=(0,u.$j)((e=>({currentVersion:(0,m.w1)(e),isAtomicPlatform:(0,m.vL)(e),jetpackStateNoticesErrorCode:(0,h.gB)(e),jetpackStateNoticesMessageCode:(0,h.pt)(e),jetpackStateNoticesErrorDescription:(0,h.XF)(e),jetpackStateNoticesMessageContent:(0,h.Rv)(e),siteAdminUrl:(0,m.wW)(e)})))(g)},22177:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(25347),n=s(37325),i=s(55609),r=s(65736),o=s(65235),c=s.n(o),l=s(97506),p=s(5060),d=s(84069),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h);const __=r.__,k=e=>{const{icon:t,title:s,productSlug:o,description:u,features:m,disclaimer:k,currencyCode:f,price:v,discountedPrice:E,billingDescription:w,callToAction:_,checkoutText:b,checkoutUrl:y,priority:C,illustrationPath:j}=e,S=!!j,N=!!_;(0,h.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_product_card_view",{type:o})}),[o]);const x=(0,h.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_product_card_checkout_click",{type:o})}),[o]),T=(0,h.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_product_card_disclaimer_click",{type:o})}),[o]),A=c()({"jp-product-card":!0,"jp-product-card--has-media":S,"jp-product-card--has-cta":N}),M=c()(["jp-product-card__checkout",`jp-product-card__checkout--${C}`]);return g().createElement("div",{className:A},N&&g().createElement("div",{className:"jp-product-card__cta"},g().createElement(p.Z,{icon:"star"})," ",_),g().createElement("div",{className:"jp-product-card__inner"},!!t&&g().createElement("div",{className:"jp-product-card__icon"},t),g().createElement("h3",{className:"jp-product-card__title"},s),g().createElement("p",{className:"jp-product-card__description"},u),m.length&&g().createElement("ul",{className:"jp-product-card__features"},m.map(((e,t)=>g().createElement("li",{className:"jp-product-card__feature",key:t},g().createElement(p.Z,{icon:"checkmark"}),e)))),g().createElement("div",{className:"jp-product-card__price"},g().createElement(a.Z,{currency:f,price:v,offPrice:E,showNotOffPrice:!!E,legend:w})),g().createElement(n.Z,{agreeButtonLabel:b}),g().createElement(l.Z,{className:M,href:y,onClick:x},b),k&&g().createElement("p",{className:"jp-product-card__disclaimer"},`${k.text} `,g().createElement(i.ExternalLink,{onClick:T,href:k.url,target:"_blank",rel:"noopener noreferrer"},k.link_text))),S&&g().createElement("img",{className:"jp-product-card__media",src:j,alt:(0,r.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Graphical illustration of product: %s","jetpack"),s)}))};k.propTypes={checkoutText:m().string.isRequired,checkoutUrl:m().string.isRequired,title:m().string.isRequired,price:m().number.isRequired,discountedPrice:m().number,currencyCode:m().string.isRequired,billingDescription:m().string.isRequired,productSlug:m().string.isRequired,description:m().string,features:m().array,disclaimer:m().object,icon:m().element,callToAction:m().string,priority:m().string,illustrationPath:m().string},k.defaultProps={description:"",features:[],priority:"primary",showIllustration:""};const f=k},56484:(e,t,s)=>{"use strict";s.d(t,{e:()=>m});var a=s(65736),n=s(97506),i=s(98492),r=s(84069),o=s(99196),c=s.n(o),l=s(59309),p=s(96300),d=s(69508),u=s(50416);const __=a.__,m=(0,l.$j)((e=>({canEditPosts:(0,d.rp)(e),canManageOptions:(0,d.UF)(e),hasConnectedOwner:(0,p.it)(e),isCurrentUserLinked:(0,p.BU)(e),isSiteConnected:(0,p.j8)(e),activeModules:(0,u.Xx)(e),siteConnectionStatus:(0,p.Gz)(e)})))((e=>{const{activeModules:t,canEditPosts:s,canManageOptions:a,hasConnectedOwner:l,isCurrentUserLinked:p,isSiteConnected:d,location:u={pathname:""},siteConnectionStatus:m}=e,{pathname:h}=u,g=["/","/dashboard","/my-plan","/plans"].includes(h)||h.includes("/recommendations"),k=""===h,f=(0,o.useCallback)((()=>{r.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})}),[]),v=(0,o.useCallback)((()=>{r.Z.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})}),[]);if(k)return null;if(!m)return null;if(h.startsWith("/setup"))return null;if(!s)return null;if("offline"!==m&&!d)return null;if("offline"!==m&&!a){if(!l)return null;if(!p)return null;if(!t.some((e=>["post-by-email","publicize"].includes(e))))return null}return c().createElement("div",{className:"jp-masthead__nav"},c().createElement(i.Z,null,c().createElement(n.Z,{compact:!0,href:"#/dashboard",primary:g&&!k,onClick:f},__("Dashboard","jetpack")),c().createElement(n.Z,{compact:!0,href:"#/settings",primary:!g&&!k,onClick:v},__("Settings","jetpack"))))}))},36795:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(78868),n=s(84069),i=s(99196),r=s.n(i),o=s(59309),c=s(96300),l=s(69508),p=s(56484);class d extends r().Component{trackLogoClick=()=>{n.Z.tracks.recordJetpackClick({target:"masthead",path:"logo"})};testConnection=()=>this.props.testConnection();render(){const{isWoASite:e,sandboxDomain:t,siteConnectionStatus:s}=this.props,n="offline"===s?r().createElement("code",null,"Offline Mode"):"",i=t?r().createElement("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:`Sandboxing via ${t}. Click to test connection.`},"API Sandboxed"):"";return r().createElement("div",{className:"jp-masthead"},r().createElement("div",{className:"jp-masthead__inside-container"},r().createElement("div",{className:"jp-masthead__logo-container"},r().createElement("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard"},r().createElement(a.Z,{className:"jetpack-logo__masthead",height:40})),n,i),e&&r().createElement(p.e,{location:this.props.location})))}}const u=(0,o.$j)((e=>({isWoASite:(0,l.Pw)(e),sandboxDomain:(0,c.LN)(e),siteConnectionStatus:(0,c.Gz)(e)})),(e=>({testConnection:()=>e((0,c.SG)())})))(d)},42676:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(2056),c=s(19567),l=s.n(c),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(91850),k=s.n(g);let f=!1;class v extends h().Component{static propTypes={style:u().object,width:u().oneOf(["wide","medium","narrow"]),className:u().string,title:u().string,initialFocus:u().string,onRequestClose:u().func};static defaultProps={style:{}};state={overlayMouseDown:!1};componentDidMount(){l()("body").addClass("dops-modal-showing").on("touchmove.dopsmodal",!1),l()(document).keyup(this.handleEscapeKey);try{this.focusTrap=(0,o.v)(k().findDOMNode(this)),this.focusTrap.activate({initialFocus:this.props.initialFocus})}catch(e){}}componentWillUnmount(){l()("body").removeClass("dops-modal-showing").off("touchmove.dopsmodal",!1),l()(document).unbind("keyup",this.handleEscapeKey);try{this.focusTrap.deactivate()}catch(e){}}handleEscapeKey=e=>{"Escape"===e.code&&this.maybeClose()};maybeClose=()=>{this.props.onRequestClose&&!f&&this.props.onRequestClose()};handleMouseDownOverlay=e=>{e.preventDefault(),e.stopPropagation(),this.setState({overlayMouseDown:!0})};handleClickOverlay=e=>{e.preventDefault(),e.stopPropagation(),this.state.overlayMouseDown&&this.props.onRequestClose&&!f&&(this.setState({overlayMouseDown:!1}),this.props.onRequestClose())};handleMouseEventModal=e=>{e.stopPropagation()};render(){let e;const{style:t,className:s,width:a,title:i,...o}=this.props,{forwardedProps:c}=(0,p.omit)(o,"onRequestClose");switch(a){case"wide":e={maxWidth:"inherit",width:"inherit"};break;case"medium":e={maxWidth:1050,width:"inherit"};break;default:e={}}const l=(0,p.assign)({},t,e);return h().createElement("div",{className:"dops-modal-wrapper",onClick:this.handleClickOverlay,onMouseDown:this.handleMouseDownOverlay},h().createElement("div",n()({className:r()("dops-modal",s),style:l,onClick:this.handleMouseEventModal,onMouseDown:this.handleMouseEventModal,onMouseUp:this.handleMouseEventModal,role:"dialog","aria-label":i},c),this.props.children))}}v.preventClose=function(){f=!0},v.allowClose=function(){f=!1};const E=v},39224:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(6895),n=s(69307),i=s(65736),r=s(65235),o=s.n(r),c=s(85733),l=s(25162),p=s.n(l),d=s(99196),u=s.n(d);const __=i.__;class m extends c.zv{static propTypes={moduleName:p().string.isRequired};render(){if(!this.props.moduleName)return null;const e=o()("module-overridden-banner",{"is-compact":this.props.compact});return u().createElement(c.zv,{className:e,title:this.props.moduleName,icon:"cog",description:(0,n.createInterpolateElement)((0,i.sprintf)(/* translators: placeholder is a feature name. */
__("%s has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),this.props.moduleName),{link:u().createElement("a",{href:(0,a.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer"})})})}}const h=(0,c.$j)(m)},39031:(e,t,s)=>{"use strict";s.d(t,{l:()=>p});var a=s(65736),n=s(92819),i=s(59309),r=s(96300),o=s(69508),c=s(50416),l=s(3230);const __=a.__;function p(e){return(0,i.$j)(((e,t)=>({validValues:(s,a="")=>("string"==typeof(0,n.get)(t,["module","module"])&&(a=t.module.module),(0,c.R9)(e,a,s)),getOptionCurrentValue:(t,s)=>(0,c.C5)(e,t,s),getSettingCurrentValue:(t,s="",a=!0)=>(0,l.$8)(e,t,s,a),getSiteRoles:()=>(0,o.Td)(e),isUpdating:t=>(0,l.Cu)(e,t),adminEmailAddress:(0,o.je)(e),currentIp:(0,o.de)(e),siteAdminUrl:(0,o.wW)(e),isCurrentUserLinked:(0,r.BU)(e)})),(e=>({updateOptions:(t,s={})=>e((0,l.VP)(t,s)),regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,a.sprintf)(/* translators: placeholder is an error message. */
__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,l.VP)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,l.a6)()),clearUnsavedSettingsFlag:()=>e((0,l._1)()),refreshSettings:()=>e((0,l.wv)())})))(e)}},2353:(e,t,s)=>{"use strict";s.d(t,{u:()=>p});var a=s(82674),n=s.n(a),i=s(39031),r=s(84069),o=s(92819),c=s(99196),l=s.n(c);function p(e){class t extends l().Component{state={options:{}};onOptionChange=e=>{const t=e.target.name;let s;s="checkbox"===e.target.type&&void 0!==e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,s)};updateFormStateOptionValue=(e,t=void 0)=>{"string"==typeof e&&(e={[e]:t});const s={...this.state.options,...e};return this.setState({options:s}),!0};resetFormStateOption=e=>(this.setState({options:(0,o.omit)(this.state.options,[e])}),!0);updateFormStateModuleOption=(e,t,s=!1)=>{this.trackSettingsToggle(e,t,!this.getOptionValue(t)),this.getOptionValue(e)?s?this.props.updateOptions({[e]:!1,[t]:!this.getOptionValue(t)}):this.props.updateOptions({[t]:!this.getOptionValue(t)}):this.props.updateOptions({[e]:!0,[t]:!0})};toggleModuleNow=e=>{this.props.updateOptions({[e]:!this.getOptionValue(e)})};componentDidUpdate(){this.isDirty()&&this.props.setUnsavedSettingsFlag()}onSubmit=e=>{e.preventDefault(),this.props.updateOptions(this.state.options).then((()=>{const e={};(0,o.each)(this.state.options,((t,s)=>{s=s.replace(/\-/,"_"),e[s]=t})),this.trackFormSubmission(e),this.setState({options:{}})})).then((()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()}))};getOptionValue=(e,t="",s=!0)=>(0,o.get)(this.state.options,e,this.props.getSettingCurrentValue(e,t,s));shouldSaveButtonBeDisabled=()=>this.isSavingAnyOption()||!this.isDirty();isDirty=()=>!!Object.keys(this.state.options).length;isSavingAnyOption=(e="")=>this.props.isUpdating(e);trackFormSubmission=e=>{r.Z.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)};trackSettingsToggle=(e,t,s)=>{r.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:s?"on":"off"})};render(){return l().createElement(e,n()({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption},this.props))}}return(0,i.l)(t)}},5004:(e,t,s)=>{"use strict";s.d(t,{T:()=>g});var a=s(6895),n=s(48229),i=s(69307),r=s(65736),o=s(84069),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(59309),m=s(50416);const __=r.__;class h extends p.Component{static displayName="ModuleToggle";static propTypes={toggleModule:l().func,activated:l().bool,disabled:l().bool,className:l().string,compact:l().bool,id:l().string,overrideCondition:l().string};static defaultProps={activated:!1,disabled:!1,overrideCondition:""};toggleModule=()=>(this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated));trackModuleToggle=(e,t)=>{"stats"!==e&&o.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:e,toggled:t?"off":"on"})};isDisabledByOverride=()=>{const e=this.props.getModuleOverride(this.props.slug);return this.props.overrideCondition?this.props.overrideCondition===e:!!e};getDisabledReason=()=>{if(!this.isDisabledByOverride())return null;const e=this.props.getModuleOverride(this.props.slug),t={link:d().createElement("a",{href:(0,a.Z)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,i.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,i.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,i.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}};render(){return d().createElement(n.Z,{checked:this.props.activated||this.props.isModuleActivated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),onChange:this.toggleModule,help:this.getDisabledReason(),label:this.props.children})}}const g=(0,u.$j)((e=>({getModuleOverride:t=>(0,m.Qy)(e,t)})))(h)},86138:(e,t,s)=>{"use strict";s.d(t,{B:()=>i});var a=s(99196),n=s.n(a);const i=n().createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0862 0.22949C10.7536 -0.0764963 10.2464 -0.0764967 9.9138 0.229489L7.7667 2.20503C7.59755 2.36066 7.37497 2.44281 7.14676 2.43386L4.24981 2.32013C3.80111 2.30252 3.41252 2.63319 3.35171 3.08438L2.95909 5.99736C2.92816 6.22684 2.80973 6.43486 2.62923 6.57677L0.337958 8.37807C-0.0169309 8.65707 -0.105018 9.1637 0.134374 9.54896L1.67996 12.0364C1.80172 12.2323 1.84285 12.4689 1.79452 12.6952L1.18104 15.5687C1.08602 16.0138 1.33965 16.4593 1.76723 16.5984L4.52782 17.4963C4.7453 17.5671 4.92675 17.7215 5.03321 17.9264L6.38456 20.5275C6.59387 20.9304 7.07055 21.1064 7.48625 20.9342L10.1701 19.8225C10.3816 19.7349 10.6184 19.7349 10.8299 19.8225L13.5137 20.9342C13.9294 21.1064 14.4061 20.9304 14.6154 20.5275L15.9668 17.9264C16.0733 17.7215 16.2547 17.5671 16.4722 17.4963L19.2328 16.5984C19.6603 16.4593 19.914 16.0138 19.819 15.5687L19.2055 12.6953C19.1572 12.4689 19.1983 12.2323 19.32 12.0364L20.8656 9.54896C21.105 9.1637 21.0169 8.65707 20.662 8.37807L18.3708 6.57677C18.1903 6.43486 18.0718 6.22684 18.0409 5.99736L17.6483 3.08438C17.5875 2.63319 17.1989 2.30252 16.7502 2.32013L13.8532 2.43386C13.625 2.44281 13.4024 2.36066 13.2333 2.20503L11.0862 0.22949ZM8.76611 14H7.15771V9.11328H7.07422L5.54492 10.146V8.75732L7.15771 7.65869H8.76611V14ZM14.2072 14H12.6823V12.9189H9.56662V11.7017C10.3401 10.2822 11.1443 8.95068 11.966 7.65869H14.2072V11.6621H14.9983V12.9189H14.2072V14ZM10.9641 11.6401V11.7192H12.7219V8.81006H12.6428C12.0759 9.69336 11.4738 10.6865 10.9641 11.6401Z",fill:"black"}))},23609:(e,t,s)=>{"use strict";s.d(t,{N:()=>c});var a=s(25162),n=s.n(a),i=s(99196),r=s.n(i),o=s(86138);const c=({text:e})=>r().createElement("div",{className:"jetpack-money-back-guarantee"},r().createElement("div",{className:"jetpack-money-back-guarantee__icon"},o.B),r().createElement("div",{className:"jetpack-money-back-guarantee__text"},e));c.propTypes={text:n().string.isRequired}},54265:(e,t,s)=>{"use strict";s.d(t,{Z:()=>S});var a=s(65736),n=s(7679),i=s(11677),r=s(24399),o=s(21675),c=s(56923),l=s(51128),p=s.n(l),d=s(84069),u=s(92819),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(59309),v=s(44498),E=s(96300),w=s(69508),_=s(50416),b=s(89292),y=s(61372);const __=a.__,_x=a._x,C=p()("calypso:url-search");class j extends k().Component{static displayName="NavigationSettings";state={searchOpen:!1};UNSAFE_componentWillMount(){this.onRouteChange(this.props.location),this.props.history.listen(this.onRouteChange)}UNSAFE_componentWillReceiveProps(e){e.search||this.setState({searchOpen:!1})}doSearch=e=>{if(this.setState({searchOpen:!1!==e}),this.onSearch)return void this.onSearch(e);const t=window.location.href.split("#")[1].split("?");this.props.searchForTerm(e);const s="#"+t[0]+(e?"?term="+e:"");C("search posts for:",e),C("setting URL: "+s),window.location.href=s};onRouteChange=e=>{const t=(e.search||"").substr(1).split("&").filter((e=>0===e.indexOf("term=")));let s="";t.length>0&&(s=t[0].split("=")[1]),this.props.searchForTerm(decodeURIComponent(s))};maybeShowSearch(){if(this.props.userCanManageModules)return k().createElement(i.Z,{onClick:this.handleClickForTracking("search"),pinned:!0,fitsContainer:!0,placeholder:__("Search for a Jetpack feature.","jetpack"),delaySearch:!0,delayTimeout:500,onSearch:this.doSearch,isOpen:!!this.props.searchTerm,initialValue:this.props.searchTerm})}trackNavClick(e){d.Z.tracks.recordJetpackClick({target:"nav_item",path:e})}handleClickForTracking(e){return()=>this.trackNavClick(e)}render(){let e,t,s;return this.props.userCanManageModules?e=k().createElement(c.Z,{selectedText:this.props.routeName},this.props.hasAnySecurityFeature&&k().createElement(o.Z,{path:"#security",onClick:this.handleClickForTracking("security"),selected:"/security"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Security","Navigation item.","jetpack")),this.props.hasAnyPerformanceFeature&&k().createElement(o.Z,{path:"#performance",onClick:this.handleClickForTracking("performance"),selected:"/performance"===this.props.location.pathname},_x("Performance","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["masterbar","markdown","custom-content-types","post-by-email","infinite-scroll","copy-post"])&&k().createElement(o.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["publicize","sharedaddy","likes"])&&k().createElement(o.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["comments","gravatar-hovercards","markdown"])&&k().createElement(o.Z,{path:"#discussion",onClick:this.handleClickForTracking("discussion"),selected:"/discussion"===this.props.location.pathname},_x("Discussion","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["seo-tools","stats","related-posts","verification-tools","sitemaps","google-analytics"])&&k().createElement(o.Z,{path:"#traffic",onClick:this.handleClickForTracking("traffic"),selected:"/traffic"===this.props.location.pathname},_x("Traffic","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["subscriptions"])&&k().createElement(o.Z,{path:"#newsletter",onClick:this.handleClickForTracking("newsletter"),selected:"/newsletter"===this.props.location.pathname},_x("Newsletter","Navigation item.","jetpack")),this.props.hasAnyOfTheseModules(["wordads"])&&k().createElement(o.Z,{path:"#earn",onClick:this.handleClickForTracking("earn"),selected:"/earn"===this.props.location.pathname},_x("Monetize","Navigation item.","jetpack"))):this.props.isSubscriber?e=!1:(t=this.props.isModuleActivated("publicize")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["publicize"])&&k().createElement(o.Z,{path:"#sharing",onClick:this.handleClickForTracking("sharing"),selected:"/sharing"===this.props.location.pathname||"/settings"===this.props.location.pathname},_x("Sharing","Navigation item.","jetpack")):"",s=this.props.isModuleActivated("post-by-email")&&this.props.userCanPublish?this.props.hasAnyOfTheseModules(["post-by-email"])&&k().createElement(o.Z,{path:"#writing",onClick:this.handleClickForTracking("writing"),selected:"/writing"===this.props.location.pathname},_x("Writing","Navigation item.","jetpack")):"",e=k().createElement(c.Z,{selectedText:this.props.routeName},s,t)),k().createElement("div",{id:"jp-navigation",className:"dops-navigation"},k().createElement(n.Z,null),k().createElement(r.Z,{selectedText:this.props.routeName},e,this.maybeShowSearch()))}}j.propTypes={userCanManageModules:h().bool.isRequired,isSubscriber:h().bool.isRequired,userCanPublish:h().bool.isRequired,isLinked:h().bool.isRequired,isSiteConnected:h().bool.isRequired,isModuleActivated:h().func.isRequired,searchHasFocus:h().bool.isRequired,location:h().object.isRequired},j.defaultProps={userCanManageModules:!1,isSubscriber:!1,userCanPublish:!1,isLinked:!1,isSiteConnected:!1,isModuleActivated:u.noop,searchHasFocus:!1};const S=(0,f.$j)((e=>({hasAnyOfTheseModules:t=>(0,_.og)(e,t),hasAnyPerformanceFeature:(0,_.zc)(e),hasAnySecurityFeature:(0,_.Su)(e),userCanManageModules:(0,w.pK)(e),isSubscriber:(0,w.dc)(e),userCanPublish:(0,w.D6)(e),isLinked:(0,E.BU)(e),isSiteConnected:(0,E.q7)(e),isModuleActivated:t=>(0,_.mp)(e,t),moduleList:(0,_.hU)(e),isPluginActive:t=>(0,y.TB)(e,t),searchTerm:(0,b.He)(e)})),(e=>({searchForTerm:t=>e((0,b.eb)(t))})))((0,v.EN)(j))},32977:(e,t,s)=>{"use strict";s.d(t,{Z:()=>y});var a=s(6895),n=s(69307),i=s(65736),r=s(65235),o=s.n(r),c=s(24399),l=s(21675),p=s(56923),d=s(84069),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h),k=s(59309),f=s(44498),v=s(96300),E=s(69508),w=s(50416),_=s(8722);const _x=i._x;class b extends g().Component{trackNavClick=e=>{d.Z.tracks.recordJetpackClick({target:"nav_item",path:e})};trackNewRecommendations=()=>{this.props.newRecommendationsCount>0&&!this.props.location.pathname.startsWith("/recommendations")&&d.Z.tracks.recordEvent("jetpack_recommendations_new_recommendation_bubble_visible",{path:this.props.location.pathname})};trackDashboardClick=()=>{this.trackNavClick("dashboard")};trackMyPlanClick=()=>{this.trackNavClick("my-plan")};trackPlansClick=()=>{this.trackNavClick("plans")};trackRecommendationsClick=()=>{const e=this.props.newRecommendationsCount>0;d.Z.tracks.recordJetpackClick({target:"nav_item",path:"recommendations",is_new_recommendations_bubble_visible:e})};componentDidMount(){this.trackNewRecommendations()}render(){let e;const t=(0,a.Z)(this.props.hasConnectedOwner?"jetpack-plans":"jetpack-nav-site-only-plans",{site:this.props.blogID??this.props.siteUrl,...this.props.purchaseToken?{query:`purchasetoken=${this.props.purchaseToken}`}:{}});return e=this.props.userCanManageModules?g().createElement(p.Z,{selectedText:this.props.routeName},g().createElement(l.Z,{path:"#/dashboard",onClick:this.trackDashboardClick,selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack")),!this.props.isOfflineMode&&this.props.isLinked&&g().createElement(l.Z,{path:"#/my-plan",onClick:this.trackMyPlanClick,selected:"/my-plan"===this.props.location.pathname},_x("My Plan","Navigation item.","jetpack")),!this.props.isOfflineMode&&g().createElement(l.Z,{isExternalLink:!0,path:t,onClick:this.trackPlansClick,selected:"/plans"===this.props.location.pathname},_x("Plans","Navigation item.","jetpack")),this.props.showRecommendations&&g().createElement(l.Z,{path:"#/recommendations",onClick:this.trackRecommendationsClick,selected:this.props.location.pathname.startsWith("/recommendations")},(0,n.createInterpolateElement)((0,i.sprintf)(/* translators: %d is a count of how many new (unread) recommendations are available. */
_x("Recommendations <count>%d</count>","Navigation item.","jetpack"),this.props.newRecommendationsCount),{count:g().createElement("span",{className:o()("dops-section-nav-tab__update-badge",{"is-hidden":this.props.location.pathname.startsWith("/recommendations")||!this.props.newRecommendationsCount})})}))):g().createElement(p.Z,{selectedText:this.props.routeName},g().createElement(l.Z,{path:"#/dashboard",selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname},_x("At a Glance","Navigation item.","jetpack"))),g().createElement("div",{id:"jp-navigation",className:"dops-navigation"},g().createElement(c.Z,{selectedText:this.props.routeName},e))}}b.propTypes={routeName:m().string.isRequired,isOfflineMode:m().bool};const y=(0,k.$j)((e=>({userCanManageModules:(0,E.pK)(e),userCanViewStats:(0,E.px)(e),isModuleActivated:t=>(0,w.mp)(e,t),isOfflineMode:(0,v.Ex)(e),isLinked:(0,v.BU)(e),hasConnectedOwner:(0,v.it)(e),showRecommendations:(0,E.mb)(e),newRecommendationsCount:(0,_.dU)(e),siteUrl:(0,E.JR)(e),purchaseToken:(0,E.as)(e)})))((0,f.EN)(b))},14241:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(36288),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r),c=s(59309),l=s(49517),p=s(96300),d=s(69508),u=s(50416);class m extends o().Component{shouldComponentUpdate(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.location.pathname!==this.props.location.pathname}renderMainContent=e=>{let t;switch(e){case"/dashboard":default:this.props.history.replace("/dashboard"),t=o().createElement(a.Z,this.props);break;case"/settings":case"/writing":case"/sharing":case"/performance":this.props.isSubscriber||(t=o().createElement(l.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,userCanManageModules:this.props.userCanManageModules}))}return window.wpNavMenuClassChange(),o().createElement("div",null,t)};render(){return this.renderMainContent(this.props.location.pathname)}}m.propTypes={userCanViewStats:i().bool.isRequired,isSubscriber:i().bool.isRequired,siteConnectionStatus:i().any.isRequired};const h=(0,c.$j)((e=>({userCanViewStats:(0,d.px)(e),siteConnectionStatus:(0,p.Gz)(e),isSubscriber:(0,d.dc)(e),isModuleActivated:t=>(0,u.mp)(e,t),userCanManageModules:(0,d.pK)(e)})))(m)},71668:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(65235),n=s.n(a),i=s(5060),r=s(92819),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(3915);class u extends p().Component{static displayName="SimpleNotice";static defaultProps={duration:0,status:null,showDismiss:!0,className:"",onDismissClick:r.noop,display:!0};static propTypes={status:c().string,showDismiss:c().bool,isCompact:c().bool,duration:c().number,text:c().oneOfType([c().oneOfType([c().string,c().node]),c().arrayOf(c().oneOfType([c().string,c().node]))]),icon:c().string,onDismissClick:c().func,className:c().string,display:c().bool};dismissTimeout=null;componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}getIcon=()=>{let e;switch(this.props.status){case"is-info":default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e};clearText=e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e;render(){const{children:e,className:t,icon:s,isCompact:a,onDismissClick:r,showDismiss:o=!a,status:c,text:l,dismissText:u,display:m}=this.props,h=n()("dops-notice",c,t,{"is-compact":a,"is-dismissable":o,"is-hidden":!m});return p().createElement("div",{className:h},p().createElement("span",{className:"dops-notice__icon-wrapper"},p().createElement(i.Z,{className:"dops-notice__icon",icon:s||this.getIcon(),size:24})),p().createElement("span",{className:"dops-notice__content"},p().createElement("span",{className:"dops-notice__text"},l?this.clearText(l):e)),l?e:null,o&&p().createElement("span",{role:"button",onKeyDown:(0,d.Z)(r),tabIndex:"0",className:"dops-notice__dismiss",onClick:r},p().createElement(i.Z,{icon:"cross",size:24}),p().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},u)))}}},52099:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(5060),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r);class c extends o().Component{static displayName="NoticeAction";static propTypes={href:i().string,onClick:i().func,external:i().bool,icon:i().string};static defaultProps={external:!1};render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o().createElement("a",e,o().createElement("span",null,this.props.children),this.props.icon&&o().createElement(a.Z,{icon:this.props.icon,size:24}),this.props.external&&o().createElement(a.Z,{icon:"external",size:24}))}}},53234:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(80800),n=s(59584),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o);const l={[n._dN]:"plans/wpcom-free.svg",[n.syR]:"plans/wpcom-personal.svg",[n.Qm2]:"plans/wpcom-personal.svg",[n.TID]:"plans/wpcom-personal.svg",[n.wmd]:"plans/wpcom-personal.svg",[n.pd0]:"plans/wpcom-personal.svg",[n.xfZ]:"plans/wpcom-premium.svg",[n.G6C]:"plans/wpcom-premium.svg",[n._BF]:"plans/wpcom-premium.svg",[n.OEg]:"plans/wpcom-premium.svg",[n.p7x]:"plans/wpcom-business.svg",[n.j2d]:"plans/wpcom-business.svg",[n.hhG]:"plans/wpcom-business.svg",[n.Wgk]:"plans/wpcom-business.svg",[n.sqC]:"plans/wpcom-business.svg",[n.f$H]:"plans/wpcom-business.svg",[n.$Kn]:"plans/wpcom-business.svg",[n.fDC]:"plans/wpcom-business.svg",[n.JA7]:"plans/wpcom-ecommerce.svg",[n.f3A]:"plans/wpcom-ecommerce.svg",[n.A3l]:"plans/wpcom-ecommerce.svg",[n.lv]:"plans/wpcom-ecommerce.svg",[n.EcK]:"plans/wpcom-ecommerce.svg",[n.TBc]:"plans/wpcom-ecommerce.svg",[n.e9K]:"plans/wpcom-ecommerce.svg",[n.Pte]:"plans/wpcom-ecommerce.svg",[n.vQF]:"plans/wpcom-ecommerce.svg",[n.uzL]:"plans/wpcom-ecommerce.svg",[n.Ijo]:"products/product-jetpack-search.svg",[n.unl]:"products/product-jetpack-search.svg",[n.ZRv]:"products/product-jetpack-backup.svg",[n.hI$]:"products/product-jetpack-backup.svg",[n.Ba4]:"products/product-jetpack-backup.svg",[n.tVY]:"products/product-jetpack-backup.svg",[n.XLA]:"products/product-jetpack-backup.svg",[n.LAg]:"products/product-jetpack-backup.svg",[n.UsJ]:"products/product-jetpack-backup.svg",[n.Yq$]:"products/product-jetpack-scan.svg",[n.WSn]:"products/product-jetpack-scan.svg",[n.tlC]:"products/product-jetpack-scan.svg",[n.INL]:"products/product-jetpack-anti-spam.svg",[n.shc]:"products/product-jetpack-anti-spam.svg",[n.vSC]:"products/product-jetpack-anti-spam.svg",[n.Q1Y]:"products/product-jetpack-search.svg",[n.dWz]:"products/product-jetpack-search.svg",[n.YN_]:"products/product-jetpack-search.svg",[n.uxe]:"products/product-jetpack-search.svg",[n.ljz]:"plans/jetpack.svg",[n.apc]:"plans/jetpack.svg",[n.nsL]:"plans/jetpack.svg",[n.Xzm]:"plans/jetpack.svg",[n.p2b]:"plans/jetpack.svg",[n.NJq]:"plans/jetpack.svg",[n.yYZ]:"plans/jetpack.svg",[n.WjF]:"plans/jetpack.svg",[n.Rw2]:"plans/jetpack.svg",[n.ns9]:"plans/jetpack.svg",[n.Etl]:"plans/jetpack.svg",[n.Cb]:"plans/jetpack.svg",[n.s1w]:"plans/jetpack.svg",[n.aSV]:"plans/jetpack.svg",[n.iPR]:"plans/jetpack.svg",[n.th6]:"plans/jetpack.svg",[n.JX4]:"plans/jetpack.svg",[n.FLw]:"products/product-jetpack-videopress.svg",[n.v_I]:"products/product-jetpack-videopress.svg",[n.Bi]:"products/product-jetpack-videopress.svg",[n.vKQ]:"products/product-jetpack-social.svg",[n.eld]:"products/product-jetpack-social.svg",[n.k31]:"products/product-jetpack-social.svg",[n.lF9]:"products/product-jetpack-social.svg",[n.vbP]:"products/product-jetpack-social.svg",[n.k2r]:"products/product-jetpack-social.svg",[n.ko$]:"plans/jetpack-golden-token.svg",[n.O3V]:"plans/jetpack.svg",[n.PuQ]:"plans/jetpack.svg",[n.FSp]:"plans/jetpack.svg",[n._dE]:"products/product-jetpack-backup.svg",[n.icM]:"products/product-jetpack-backup.svg",[n.sTY]:"products/product-jetpack-backup.svg",[n.$Po]:"products/product-jetpack-backup.svg",[n.VlB]:"plans/jetpack.svg",[n.DlI]:"plans/jetpack.svg",[n.jIY]:"plans/jetpack.svg",[n.G$d]:"plans/jetpack.svg",[n.Mzu]:"products/product-jetpack-boost.svg",[n.qnt]:"products/product-jetpack-boost.svg",[n.C7d]:"products/product-jetpack-boost.svg",[n.Dgm]:"products/product-jetpack-ai.svg",[n.yWn]:"products/product-jetpack-ai.svg",[n.our]:"products/product-jetpack-ai.svg",[n.nE6]:"products/product-jetpack-stats.svg",[n.JEv]:"products/product-jetpack-stats.svg",[n.JBA]:"products/product-jetpack-stats.svg",[n.Guz]:"products/product-jetpack-stats.svg",[n.j2v]:"products/product-jetpack-stats.svg"};class p extends o.Component{render(){const{className:e,alt:t,plan:s}=this.props;return c().createElement("img",{className:e,src:a.hp+l[s],width:32,height:32,alt:t||""})}}p.propTypes={classNames:r().string,alt:r().string,plan:r().oneOf([n._dN,n.syR,n.Qm2,n.TID,n.wmd,n.pd0,n.xfZ,n.G6C,n._BF,n.OEg,n.p7x,n.j2d,n.hhG,n.Wgk,n.JA7,n.f3A,n.A3l,n.lv,n.uzL,n.Ijo,n.unl,n.ZRv,n.hI$,n.tVY,n.Ba4,n.XLA,n.LAg,n.UsJ,n.Yq$,n.WSn,n.tlC,n.INL,n.shc,n.vSC,n.Q1Y,n.dWz,n.YN_,n.uxe,n.ljz,n.apc,n.nsL,n.Xzm,n.p2b,n.NJq,n.yYZ,n.WjF,n.Rw2,n.ns9,n.Etl,n.Cb,n.s1w,n.aSV,n.iPR,n.th6,n.JX4,n.FLw,n.v_I,n.Bi,n.vKQ,n.eld,n.k31,n.lF9,n.vbP,n.k2r,n.ko$,n.O3V,n.PuQ,n.FSp,n._dE,n.icM,n.sTY,n.$Po,n.VlB,n.DlI,n.jIY,n.G$d,n.FLw,n.v_I,n.Bi,n.nE6,n.JEv,n.JBA,n.Guz,n.j2v]).isRequired}},88154:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(87553),n=s(81114),i=s(25162),r=s.n(i);const o=({installOrActivatePrompt:e,pluginLink:t,pluginName:s,pluginSlug:i,pluginFiles:r})=>React.createElement("div",{className:"plugin-dash-item"},React.createElement(n.Z,{className:"plugin-dash-item__section-header",label:s}),React.createElement(a.Z,{pluginName:s,pluginSlug:i,pluginLink:t,pluginFiles:r,installOrActivatePrompt:e}));o.propTypes={pluginName:r().string.isRequired,pluginFiles:r().arrayOf(r().string).isRequired,pluginSlug:r().string.isRequired,pluginLink:r().string.isRequired,installOrActivatePrompt:r().element.isRequired};const c=o},87553:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(64743),n=s(55609),i=s(65736),r=s(85799),o=s(85733),c=s(84069),l=s(99196),p=s(59309),d=s(61372);const __=i.__,u=(0,p.$j)(((e,{pluginFiles:t})=>({isFetchingPluginsData:(0,d.vz)(e),aPluginIsInstalled:t.some((t=>(0,d.P8)(e,t))),aPluginIsActive:t.some((t=>(0,d.TB)(e,t)))})),(e=>({fetchPluginsData:()=>e((0,d.s4)())})))((({fetchPluginsData:e,isFetchingPluginsData:t,aPluginIsActive:s,aPluginIsInstalled:p,pluginName:d,pluginSlug:u,pluginLink:m,installOrActivatePrompt:h,installedPrompt:g})=>{const[k,f]=(0,l.useState)(!1),[v,E]=(0,l.useState)(!1),w=(0,l.useCallback)((()=>{if(p)if(s){if(p&&s)return Promise.resolve()}else f(!0);else E(!0);return c.Z.tracks.recordJetpackClick({target:"plugin_dash_item",type:p?"install":"activate",feature:u}),a.ZP.installPlugin(u,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>e())).finally((()=>{f(!1),E(!1)}))}),[e,s,p,u]);return t?React.createElement(r.Z,{className:"plugin-dash-item__content"},React.createElement("p",null,__("Loading…","jetpack"))):v?React.createElement(r.Z,{className:"plugin-dash-item__content"},React.createElement(n.Spinner,null),React.createElement("p",null,(0,i.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Installing %s","jetpack"),d))):k?React.createElement(r.Z,{className:"plugin-dash-item__content"},React.createElement(n.Spinner,null),React.createElement("p",null,(0,i.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Activating %s","jetpack"),d))):p?s?React.createElement(o.ZP,{callToAction:(0,i.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Manage %s","jetpack"),d),title:g??__("Plugin is installed & active.","jetpack"),href:m,noIcon:!0}):React.createElement(o.ZP,{callToAction:(0,i.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Activate %s","jetpack"),d),title:h,onClick:w,noIcon:!0}):React.createElement(o.ZP,{callToAction:(0,i.sprintf)(/* translators: "%s" is the name of the plugin. i.e. Boost, CRM, etc. */
__("Install %s","jetpack"),d),title:h,onClick:w,noIcon:!0})}))},28402:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(65235),n=s.n(a),i=s(29494),r=s.n(i),o=s(40616),c=s(51128),l=s.n(c),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(91850),k=s.n(g),f=s(98355);const v=()=>{},E=l()("calypso:popover"),w=new Set;class _ extends m.Component{static propTypes={autoPosition:u().bool,className:u().string,closeOnEsc:u().bool,id:u().string,ignoreContext:u().shape({getDOMNode:u().function}),position:u().string,rootClassName:u().string,showDelay:u().number,onClose:u().func.isRequired,onShow:u().func};static defaultProps={autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:v};constructor(e){super(e),this.setPopoverId(e.id),this.setDOMBehavior=this.setDOMBehavior.bind(this),this.setPosition=this.setPosition.bind(this),this.onClickout=this.onClickout.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onWindowChange=this.onWindowChange.bind(this),this.state={show:e.isVisible,left:-99999,top:-99999,positionClass:this.getPositionClass(e.position)}}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,f.fN)()}UNSAFE_componentWillReceiveProps(e){if((0,f.kK)(e.context)?this.domContext=e.context:this.domContext=k().findDOMNode(e.context),!e.isVisible)return null;this.setPosition()}componentDidUpdate(e){const{isVisible:t}=this.props;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after render completes"),void setTimeout((()=>this.setPosition()),0)):null}componentWillUnmount(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,f.zR)(),w.delete(this.id),E("current popover instances: ",w.size)}bindEscKeyListener(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}unbindEscKeyListener(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}onKeydown(e){if(27!==e.keyCode)return null;this.close(!0)}bindClickoutHandler(e=this.domContainer){return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),this._clickoutHandlerReference=t=>{e.contains(t.target)||this.onClickout(t)},void document.addEventListener("click",this._clickoutHandlerReference,!0)):(this.debug("no element to bind clickout side "),null)}unbindClickoutHandler(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),document.removeEventListener("click",this._clickoutHandlerReference,!0),this._clickoutHandlerReference=null)}onClickout(e){let t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){const s=k().findDOMNode(this.props.ignoreContext);t=t&&s&&s.contains&&!s.contains(e.target)}t&&this.close()}bindDebouncedReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindDebouncedReposition(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}onWindowChange(){this.willReposition=window.requestAnimationFrame(this.setPosition)}setDOMBehavior(e){if(!e)return this.unbindClickoutHandler(),null;this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,f.kK)(this.props.context)?this.domContext=this.props.context:this.domContext=k().findDOMNode(this.props.context),this.domContainer.focus(),this.setPosition()}getPositionClass(e=this.props.position){return`is-${e.replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainer:e,domContext:t}=this,{position:s}=this.props;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;let a=s;this.debug("position: %o",s),this.props.autoPosition&&(a=(0,f.X6)(s,e,t),this.debug("suggested position: %o",a));const n=(0,p.assign)({},(0,f.Ou)((0,f.cv)(a,e,t),e),{positionClass:this.getPositionClass(a)});return this.debug("updating reposition: ",n),n}debug(e,...t){E(`[%s] ${e}`,this.id,...t)}setPopoverId(e){this.id=e||`pop__${r()(16)}`,w.add(this.id),this.debug("creating ..."),E("current popover instances: ",w.size)}setPosition(){const e=this.computePosition();if(!e)return null;this.willReposition=null,this.setState(e)}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){if(!this.props.showDelay)return this.setState({show:!0}),null;this.debug("showing in %o",`${this.props.showDelay}ms`),this.clearShowTimer(),this._openDelayTimer=setTimeout((()=>{this.setState({show:!0})}),this.props.showDelay)}hide(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}clearShowTimer(){if(!this._openDelayTimer)return null;clearTimeout(this._openDelayTimer),this._openDelayTimer=null}close(e=!1){if(!this.props.isVisible)return this.debug("popover should be already closed"),null;this.domContext.focus(),this.props.onClose(e)}render(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;const e=n()("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),h().createElement(o.Z,{className:this.props.rootClassName},h().createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},h().createElement("div",{className:"dops-popover__arrow"}),h().createElement("div",{className:"dops-popover__inner"},this.props.children)))}}const b=_},98355:(e,t,s)=>{"use strict";s.d(t,{Ou:()=>f,X6:()=>g,cv:()=>k,fN:()=>m,kK:()=>v,zR:()=>h});var a=s(16163),n=s.n(a),i=s(51128);const r=s.n(i)()("calypso:popover:util");function o(){const e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,r("viewport: %o",e),e}const c={top:"bottom",bottom:"top",left:"right",right:"left"},l={top:"right",left:"top",bottom:"left",right:"bottom"};let p=o();function d(){p=o()}let u=!1;const m=()=>{if(u)return r("window events already bound");u=!0,r("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",d,!0),window.addEventListener("scroll",d,!0)},h=()=>{if(!u)return r("window events are not bound");u=!1,r("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",d,!0),window.removeEventListener("scroll",d,!0)},g=(e,t,s)=>{const a=n()(s),i=t.clientHeight,r=t.clientWidth,o={top:a.top-i,bottom:p.height-a.bottom-i,left:a.left-r,right:p.width-a.right-r},d=e.split(/\s+/),[u]=d;let[,m]=d;const h=function(e,t){const s=[e,c[e],l[e],c[l[e]]];let a,n=-1/0;for(let i=0,r=s.length;i<r;i++){const r=s[i],o=t[r];if(o>0)return r;o>n&&(n=o,a=e)}return a}(u,o);return m!==h&&m!==c[h]||(m=null),function(e,t,s,a,n,i){const r=t?[e+" "+t,e,e+" "+c[t]]:[e,e+" "+l[e],e+" "+c[l[e]]];let o,d=0;const u=n*i;for(let e=0,t=r.length;e<t;e++){const t=r[e],c=k(t,s,a),l=c.left+n,m=c.top+i,h=Math.min(c.top<p.top?m-p.top:p.bottom-c.top,i),g=Math.min(c.left<p.left?l-p.left:p.right-c.left,n)*h;if(g===u)return t;g>d&&(d=g,o=t)}return o}(h,m,t,s,r,i)||e};function k(e,t,s){const a=n()(t);if(!a)throw new Error("could not get bounding client rect of Tip element");const i=a.width,r=a.height,o=n()(s);if(!o)throw new Error("could not get bounding client rect of `target`");const c=o.width,l=o.height,p=function(e,t){const s=t.body||t.getElementsByTagName("body")[0],a=t.documentElement||s.parentNode,n=a.clientTop||s.clientTop||0,i=a.clientLeft||s.clientLeft||0,r=window.pageYOffset||a.scrollTop,o=window.pageXOffset||a.scrollLeft;return{top:e.top+r-n,left:e.left+o-i}}(o,document);if(!p)throw new Error("could not determine page offset of `target`");let d={};switch(e){case"top":d={top:p.top-r,left:p.left+c/2-i/2};break;case"bottom":d={top:p.top+l,left:p.left+c/2-i/2};break;case"right":d={top:p.top+l/2-r/2,left:p.left+c};break;case"left":d={top:p.top+l/2-r/2,left:p.left-i};break;case"top left":d={top:p.top-r,left:p.left+c/2-i+15};break;case"top right":d={top:p.top-r,left:p.left+c/2-15};break;case"bottom left":d={top:p.top+l,left:p.left+c/2-i+15};break;case"bottom right":d={top:p.top+l,left:p.left+c/2-15};break;case"left top":d={top:p.top+l/2-r,left:p.left-i};break;case"left bottom":d={top:p.top+l/2,left:p.left-i};break;case"right top":d={top:p.top+l/2-r,left:p.left+c};break;case"right bottom":d={top:p.top+l/2,left:p.left+c};break;default:throw new Error(`invalid position "${e}"`)}return d}const f=function(e,t){const s=n()(t).width;return e.left=Math.max(0,Math.min(e.left,p.width-s)),e},v=e=>{try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}},30420:(e,t,s)=>{"use strict";s.d(t,{w:()=>r});var a=s(65736),n=s(99196),i=s.n(n);const __=a.__,_x=a._x,r=({type:e})=>"product-expired"===e?i().createElement("div",{className:"jp-product-activated-label expired"},i().createElement("span",{className:"jp-product-expired-label__text"},__("Expired","jetpack"))):i().createElement("div",{className:"jp-product-activated-label"+("never-expires"===e?" never-expires":"")},i().createElement("span",{className:"jp-product-activated-label__text"},"never-expires"===e?_x("Never expires","Label for a subscription that never expires","jetpack"):_x("Subscription active","Label for an active subscription","jetpack")))},38833:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(6895),n=s(55609),i=s(69771),r=s(69307),o=s(65736),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p);const __=o.__;class u extends d().PureComponent{static propTypes={expiryDate:l().string,purchaseDate:l().string,isRefundable:l().bool,dateFormat:l().string};static defaultProps={expiryDate:"",purchaseDate:"",isRefundable:!1,dateFormat:"F j, Y"};render(){const{expiryDate:e,purchaseDate:t,isRefundable:s,dateFormat:c,isGift:l,purchaseID:p}=this.props;if(!e&&!t)return null;if(l){const e=new Date(t);return"Invalid Date"!==e.toString()?(0,o.sprintf)(/* translators: placeholder is a date. */
__("Gifted on %s.","jetpack"),(0,i.dateI18n)(c,e)):null}if(!e||s){const e=new Date(t);return"Invalid Date"!==e.toString()?(0,o.sprintf)(/* translators: placeholder is a date. */
__("Purchased on %s.","jetpack"),(0,i.dateI18n)(c,e)):null}const u=new Date(e),m=p;return"Invalid Date"===u.toString()?null:(0,i.isInTheFuture)(u)?(0,o.sprintf)(/* translators: placeholder is a date. */
__("Renews on %s.","jetpack"),(0,i.dateI18n)(c,u)):(0,r.createInterpolateElement)((0,o.sprintf)(/* translators: %d is a count of how many new (unread) recommendations are available. */
__("<span>Expired on %s.</span> <renewLink />","jetpack"),(0,i.dateI18n)(c,u)),{span:d().createElement("span",{className:"my-plan-card__expired"}),renewLink:d().createElement("span",{className:"my-plan-card__renew"},d().createElement(n.ExternalLink,{href:(0,a.Z)("jetpack-subscription-renew",{path:m}),className:"my-plan-card__renew"},__("Renew subscription","jetpack")))})}}const m=u},86799:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(51045),n=s(65736),i=s(97506),r=s(85799),o=s(41549),c=s(42676),l=s(84069),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(59309),g=s(51975),k=s(96300);const __=n.__,_x=n._x;function f(e){const{show:t,onHide:s,isSiteConnected:n,isReconnectingSite:o,beforeReconnectSite:p,initiateUserConnection:d,reconnectFailed:h,clickReconnectSite:g}=e,k=(0,u.useCallback)((()=>t&&n&&!o),[t,n,o]),f=(0,u.useCallback)((()=>{s&&s()}),[s]),{restoreConnection:v}=(0,a.Z)(),E=(0,u.useCallback)((e=>{e.preventDefault(),l.Z.tracks.recordJetpackClick("confirm_reconnect_modal"),p(),v(!1).then((e=>{"in_progress"===e.status&&d(e.authorizeUrl)})).catch((e=>h(e))),f()}),[p,d,h,v,f]);return k()&&m().createElement(c.Z,{className:"reconnect__modal",onRequestClose:f},m().createElement(r.Z,{className:"reconnect__modal__body"},m().createElement("h2",null,__("Reconnect Jetpack","jetpack")),m().createElement("h4",null,__("You’ve clicked a link to restore your Jetpack connection.","jetpack")),m().createElement("h4",null,m().createElement("strong",null,__("You should only do this if advised by Site Health tests or Jetpack Support.","jetpack"))),m().createElement("h4",null,__("Click below to reconnect Jetpack","jetpack")),m().createElement("div",{className:"reconnect__modal-actions"},m().createElement(i.Z,{className:"reconnect__modal-cancel",onClick:f},_x("Cancel","A caption for a button to cancel an action.","jetpack")),m().createElement(i.Z,{className:"reconnect__modal-reconnect",onClick:g||E,primary:!0},_x("Reconnect Jetpack","A caption for a button to reconnect Jetpack.","jetpack")))))}f.displayName="ReconnectModal",f.propTypes={show:d().bool,onHide:d().func,clickReconnectSite:d().func},f.defaultProps={show:!1};const v=(0,h.$j)((e=>({isSiteConnected:(0,k.q7)(e),isReconnectingSite:(0,k.O_)(e)})),(e=>({beforeReconnectSite:()=>{e({type:g.bGw}),e((0,o.iI)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"}))},initiateUserConnection:t=>{e({type:g.dDV}),e({type:g.hmP,connectUrl:t}),e((0,k.bL)())},reconnectFailed:t=>{e({type:g.B9W,error:t}),e((0,o.qq)("reconnect-jetpack")),e((0,o.iI)("is-error",(0,n.sprintf)(/* translators: placeholder is the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}})))(f)},40616:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(69307),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r),c=s(59309);class l extends o().Component{static displayName="RootChild";static propTypes={children:i().node};static contextTypes={store:i().object};componentDidMount(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.containerRoot=a.createRoot(this.container),this.renderChildren()}componentDidUpdate(){this.renderChildren()}componentWillUnmount(){if(!this.container)return;const e=this.containerRoot;setTimeout((()=>{e.unmount()})),document.body.removeChild(this.container),delete this.container,delete this.containerRoot}renderChildren=()=>{let e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?o().createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=o().createElement(c.zt,{store:this.context.store},e)),this.containerRoot.render(e)};render(){return null}}},11677:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(82674),n=s.n(a),i=s(2816),r=s(65235),o=s.n(r),c=s(5060),l=s(84069),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(91850),k=s.n(g);function f(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class v extends h().Component{static displayName="Search";static instances=0;static propTypes={additionalClasses:u().string,initialValue:u().string,placeholder:u().string,pinned:u().bool,delaySearch:u().bool,delayTimeout:u().number,onSearch:u().func.isRequired,onSearchChange:u().func,onSearchOpen:u().func,onSearchClose:u().func,analyticsGroup:u().string,overlayStyling:u().func,autoFocus:u().bool,disabled:u().bool,onKeyDown:u().func,onClick:u().func,disableAutocorrect:u().bool,onBlur:u().func,searching:u().bool,isOpen:u().bool,dir:u().oneOf(["ltr","rtl"]),fitsContainer:u().bool,maxLength:u().number,hideClose:u().bool};static defaultProps={pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,onSearchChange:p.noop,onSearchOpen:p.noop,onSearchClose:p.noop,onKeyDown:p.noop,onClick:p.noop,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1};state={keyword:this.props.initialValue||"",isOpen:!!this.props.isOpen,hasFocus:!1};UNSAFE_componentWillMount(){this.setState({instanceId:++v.instances}),this.closeListener=f.bind(this,"closeSearch"),this.openListener=f.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,p.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),e.isOpen&&this.setState({isOpen:e.isOpen}),e.initialValue===this.props.initialValue||this.state.keyword!==this.props.initialValue&&""!==this.state.keyword||this.setState({keyword:e.initialValue||""})}componentDidUpdate(e,t){this.scrollOverlay(),(this.state.isOpen&&!t.isOpen||this.props.autoFocus&&!e.autoFocus)&&this.focus(),this.state.keyword!==t.keyword&&(this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword)),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,p.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch,this.props.autoFocus&&setTimeout((()=>this.focus()),0)}scrollOverlay=()=>{this.refs.overlay&&window.requestAnimationFrame((()=>{this.refs.overlay&&this.refs.searchInput&&(this.refs.overlay.scrollLeft=this.getScrollLeft(this.refs.searchInput))}))};getScrollLeft=e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),s=window.getComputedStyle(e,void 0),a=parseFloat(s.paddingLeft),n=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+a-n.left};focus=()=>{setTimeout((()=>this.refs.searchInput&&k().findDOMNode(this.refs.searchInput).focus()),0)};blur=()=>{k().findDOMNode(this.refs.searchInput).blur()};getCurrentSearchValue=()=>k().findDOMNode(this.refs.searchInput).value;clear=()=>{this.setState({keyword:""})};onBlur=e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})};onChange=()=>{this.setState({keyword:this.getCurrentSearchValue()})};openSearch=e=>{this.props.onClick(),e.preventDefault(),this.setState({keyword:"",isOpen:!0}),l.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Open Search")};closeSearch=e=>{if(e.preventDefault(),this.props.disabled)return;const t=k().findDOMNode(this.refs.searchInput);this.setState({keyword:"",isOpen:this.props.isOpen||!1}),t.value="",t.blur(),this.props.pinned&&k().findDOMNode(this.refs.openIcon).focus(),this.props.onSearchClose(e),l.Z.ga.recordEvent(this.props.analyticsGroup,"Clicked Close Search")};keyUp=e=>{"Enter"===e.key&&(0,i.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())};keyDown=e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)};onFocus=()=>{const e=k().findDOMNode(this.refs.searchInput),t=e.value;t&&(e.value="",e.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()};render(){const e=this.state.keyword,t=this.props.placeholder||"Search…",s=this.props.pinned&&!this.state.isOpen,a=this.state.isOpen||!this.props.pinned||this.props.initialValue,i=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},r=o()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":a,"is-searching":this.props.searching,"has-focus":this.state.hasFocus,"dops-search":!0}),l=o()("dops-search__input-fade",this.props.dir),p=o()("dops-search__input",this.props.dir);return h().createElement("div",{dir:this.props.dir||null,className:r,role:"search"},h().createElement("div",{role:"button",className:"dops-search__icon-navigation",ref:"openIcon",onClick:s?this.openSearch:this.focus,tabIndex:s?"0":null,onKeyDown:s?this.openListener:null,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Open Search"},h().createElement(c.Z,{icon:"search",className:"dops-search__open-icon"})),h().createElement("div",{className:l},h().createElement("input",n()({type:"search",onChange:this.onChange,id:"dops-search-component-"+this.state.instanceId,className:p,placeholder:t,role:"searchbox",value:e,ref:"searchInput",onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,"aria-hidden":!a,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength},i)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton())}renderStylingDiv=()=>h().createElement("div",{className:"dops-search__text-overlay",ref:"overlay"},this.props.overlayStyling(this.state.keyword));closeButton=()=>this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:h().createElement("div",{role:"button",className:"dops-search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"dops-search-component-"+this.state.instanceId,"aria-label":"Close Search"},h().createElement(c.Z,{icon:"cross",className:"dops-search__close-icon"}))}const E=v},81114:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(65235),n=s.n(a),i=s(85799),r=s(99196),o=s.n(r);const c=({label:e,children:t,className:s})=>{const a=n()(s,"dops-section-header");return o().createElement(i.Z,{compact:!0,className:a},o().createElement("div",{className:"dops-section-header__label"},o().createElement("span",{className:"dops-section-header__label-text"},e)),o().createElement("div",{className:"dops-section-header__actions"},t))}},24399:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(65235),n=s.n(a),i=s(11677),r=s(92819),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(21675),u=s(56923);class m extends p().Component{static displayName="SectionNav";static propTypes={children:c().node,selectedText:c().node,selectedCount:c().number,hasPinnedItems:c().bool,onMobileNavPanelOpen:c().func};state={mobileOpen:!1};static defaultProps={onMobileNavPanelOpen:()=>{}};UNSAFE_componentWillMount(){this.checkForSiblingControls(this.props.children)}UNSAFE_componentWillReceiveProps(e){(0,r.isEqual)(this.props,e)||(this.checkForSiblingControls(e.children),this.hasSiblingControls||this.closeMobilePanel())}render(){const e=this.getChildren();let t;return e?(t=n()({"dops-section-nav":!0,"is-open":this.state.mobileOpen,"has-pinned-items":this.hasPinnedSearch||this.props.hasPinnedItems}),p().createElement("div",{className:t},p().createElement("div",{className:"dops-section-nav__mobile-header",role:"button",onClick:this.toggleMobileOpenState,tabIndex:0,onKeyUp:this.toggleMobileOpenState},p().createElement("span",{className:"dops-section-nav__mobile-header-text"},this.props.selectedText)),p().createElement("div",{className:"dops-section-nav__panel"},e))):(t=n()({"dops-section-nav":!0,"is-empty":!0}),p().createElement("div",{className:t},p().createElement("div",{className:"dops-section-nav__panel"},p().createElement(d.Z,null))))}getChildren(){return p().Children.map(this.props.children,function(e){const t={hasSiblingControls:this.hasSiblingControls,closeSectionNavMobilePanel:this.closeMobilePanel};return e?(e.type!==u.Z||e.props.selectedText||"string"!=typeof this.props.selectedText||(t.selectedText=this.props.selectedText),e.type===u.Z&&this.props.selectedCount&&(t.selectedCount=this.props.selectedCount),e.type===i.Z&&(e.props.pinned&&(this.hasPinnedSearch=!0),t.onSearch=this.generateOnSearch(e.props.onSearch)),p().cloneElement(e,t)):null}.bind(this))}closeMobilePanel(){window.innerWidth<480&&this.state.mobileOpen&&this.setState({mobileOpen:!1})}toggleMobileOpenState=()=>{const e=!this.state.mobileOpen;this.setState({mobileOpen:e}),e&&this.props.onMobileNavPanelOpen()};generateOnSearch(e){return function(){e.apply(this,arguments),this.closeMobilePanel()}.bind(this)}checkForSiblingControls(e){this.hasSiblingControls=!1,p().Children.forEach(e,function(e,t){t&&e&&e.type!==i.Z&&(this.hasSiblingControls=!0)}.bind(this))}}const h=m},21675:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(55609),n=s(65235),i=s.n(n),r=s(85582),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l);class d extends p().PureComponent{static displayName="NavItem";static propTypes={itemType:c().string,path:c().string,selected:c().bool,tabIndex:c().number,onClick:c().func,isExternalLink:c().bool,disabled:c().bool,count:c().number};render(){const e=this.props.itemType?this.props.itemType:"tab",t={"is-selected":this.props.selected,"is-external":this.props.isExternalLink};t["dops-section-nav-"+e]=!0;const s=i()(t);let n;return this.props.disabled||(n=this.props.onClick),p().createElement("li",{className:s},!this.props.isExternalLink&&p().createElement("a",{href:this.props.path,className:"dops-section-nav-"+e+"__link",onClick:n,tabIndex:this.props.tabIndex||0,disabled:this.props.disabled,role:"menuitem"},p().createElement("span",{className:"dops-section-nav-"+e+"__text"},this.props.children,"number"==typeof this.props.count&&p().createElement(r.Z,{count:this.props.count}))),this.props.isExternalLink&&p().createElement(a.ExternalLink,{href:this.props.path,target:"_blank",rel:"external",onClick:n,className:"dops-section-nav-"+e+"__link",disabled:this.props.disabled,role:"menuitem"},p().createElement("span",{className:"dops-section-nav-"+e+"__text"},this.props.children,"number"==typeof this.props.count&&p().createElement(r.Z,{count:this.props.count}))))}}const u=d},56923:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(82674),n=s.n(a),i=s(2816),r=s(65235),o=s.n(r),c=s(96200),l=s(51226),p=s(92819),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(91850),k=s.n(g);class f extends h().Component{static propTypes={selectedText:u().string,selectedCount:u().number,label:u().string,hasSiblingControls:u().bool};static defaultProps={hasSiblingControls:!1};state={isDropdown:!1};componentDidMount(){this.setDropdown(),this.debouncedAfterResize=(0,p.debounce)(this.setDropdown,300),window.addEventListener("resize",this.debouncedAfterResize)}UNSAFE_componentWillReceiveProps(){this.setDropdown()}componentWillUnmount(){window.removeEventListener("resize",this.debouncedAfterResize)}render(){const e=h().Children.map(this.props.children,(function(e,t){return e&&h().cloneElement(e,{ref:"tab-"+t})})),t=o()({"dops-section-nav-tabs":!0,"is-dropdown":this.state.isDropdown,"is-open":this.state.isDropdownOpen,"has-siblings":this.props.hasSiblingControls}),s=(0,i.bQ)();return h().createElement("div",{className:"dops-section-nav-group",ref:"navGroup"},h().createElement("div",{className:t},this.props.label&&h().createElement("h6",{className:"dops-section-nav-group__label"},this.props.label),h().createElement("ul",{className:"dops-section-nav-tabs__list",role:"menu",onKeyDown:this.keyHandler},e),this.state.isDropdown&&s>660&&this.getDropdown()))}getTabWidths=()=>{let e=0;h().Children.forEach(this.props.children,function(t,s){if(!t)return;const a=k().findDOMNode(this.refs["tab-"+s]).offsetWidth;e+=a}.bind(this)),this.tabsWidth=e};getDropdown=()=>{const e=h().Children.map(this.props.children,(function(e,t){return e?h().createElement(l.Z,n()({},e.props,{key:"navTabsDropdown-"+t}),e.props.children):null}));return h().createElement(c.Z,{className:"dops-section-nav-tabs__dropdown",selectedText:this.props.selectedText,selectedCount:this.props.selectedCount},e)};setDropdown=()=>{let e;if(window.innerWidth>660){if(!this.refs.navGroup)return;e=this.refs.navGroup.offsetWidth,this.tabsWidth||this.getTabWidths(),e<=this.tabsWidth&&!this.state.isDropdown?this.setState({isDropdown:!0}):e>this.tabsWidth&&this.state.isDropdown&&this.setState({isDropdown:!1})}else window.innerWidth<=660&&this.state.isDropdown&&this.setState({isDropdown:!1})};keyHandler=e=>{switch(e.keyCode){case 32:case 13:e.preventDefault(),document.activeElement.click()}}}const v=f},96200:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(65235),n=s.n(a),i=s(85582),r=s(51226),o=s(65668),c=s(6764),l=s(92819),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(91850),g=s.n(h);const{Component:k}=m(),f=()=>{};class v extends k{constructor(e){super(e),this.navigateItem=this.navigateItem.bind(this),this.toggleDropdown=this.toggleDropdown.bind(this),this.handleOutsideClick=this.handleOutsideClick.bind(this),this._onClick=this._onClick.bind(this);const t={isOpen:!1};e.options.length&&(t.selected=this.getInitialSelectedItem(e)),this.state=t}UNSAFE_componentWillMount(){this.setState({instanceId:++v.instances})}UNSAFE_componentWillReceiveProps(e){this.state.isOpen&&this.closeDropdown(),void 0!==this.state.selected&&this.props.initialSelected!==e.initialSelected&&this.setState({selected:e.initialSelected})}componentWillUnmount(){window.removeEventListener("click",this.handleOutsideClick)}componentDidUpdate(e,t){this.state.isOpen?window.addEventListener("click",this.handleOutsideClick):window.removeEventListener("click",this.handleOutsideClick),this.state.isOpen!==t.isOpen&&this.props.onToggle({target:this,open:this.state.isOpen})}getInitialSelectedItem(e){if((e=e||this.props).initialSelected)return e.initialSelected;if(!e.options.length)return;const t=(0,l.find)(e.options,(e=>!e.isLabel));return t&&t.value}dropdownOptions(){let e=0;const t=this;return this.props.children?m().Children.map(this.props.children,(function(s,a){if(!s)return null;const n=m().cloneElement(s,{ref:s.type===r.Z?"item-"+e:null,key:"item-"+a,onClick:function(e){t.refs.dropdownContainer.focus(),"function"==typeof s.props.onClick&&s.props.onClick(e)}});return s.type===r.Z&&e++,n}),this):this.props.options.map((function(t,s){if(!t)return m().createElement(c.Z,{key:"dropdown-separator-"+this.state.instanceId+"-"+s});if(t.isLabel)return m().createElement(o.Z,{key:"dropdown-label-"+this.state.instanceId+"-"+s},t.label);const a=m().createElement(r.Z,{key:"dropdown-item-"+this.state.instanceId+"-"+t.value,ref:"item-"+e,selected:this.state.selected===t.value,onClick:this.onSelectItem(t),path:t.path},t.label);return e++,a}),this)}render(){const e={"dops-select-dropdown":!0,"is-compact":this.props.compact,"is-open":this.state.isOpen,"is-disabled":this.props.disabled,"is-rna":this.props.rna};this.props.className&&this.props.className.split(" ").forEach((function(t){e[t]=!0}));const t=n()(e),s=this.props.selectedText?this.props.selectedText:(0,l.result)((0,l.find)(this.props.options,{value:this.state.selected}),"label");return m().createElement("div",{style:this.props.style,className:t},m().createElement("div",{ref:"dropdownContainer",className:"dops-select-dropdown__container",tabIndex:this.props.tabIndex||0,role:"listbox","aria-labelledby":"select-dropdown-"+this.state.instanceId,"aria-owns":"select-submenu-"+this.state.instanceId,"aria-controls":"select-submenu-"+this.state.instanceId,"aria-expanded":this.state.isOpen,onClick:this._onClick,onKeyDown:this.navigateItem},m().createElement("div",{id:"select-dropdown-"+this.state.instanceId,className:"dops-select-dropdown__header"},m().createElement("span",{className:"dops-select-dropdown__header-text"},s,"number"==typeof this.props.selectedCount&&m().createElement(i.Z,{count:this.props.selectedCount}))),m().createElement("ul",{id:"select-submenu-"+this.state.instanceId,className:"dops-select-dropdown__options"},this.dropdownOptions())))}_onClick(){this.props.disabled||this.toggleDropdown()}toggleDropdown(){this.setState({isOpen:!this.state.isOpen})}openDropdown(){this.setState({isOpen:!0})}closeDropdown(){this.state.isOpen&&(delete this.focused,this.setState({isOpen:!1}))}onSelectItem(e){return this.selectItem.bind(this,e)}selectItem(e){e&&(this.props.onSelect&&this.props.onSelect(e),this.setState({selected:e.value}),this.refs.dropdownContainer.focus())}navigateItem(e){switch(e.keyCode){case 9:this.navigateItemByTabKey(e);break;case 32:case 13:e.preventDefault(),this.activateItem();break;case 38:e.preventDefault(),this.focusSibling("previous"),this.openDropdown();break;case 40:e.preventDefault(),this.focusSibling("next"),this.openDropdown();break;case 27:e.preventDefault(),this.closeDropdown(),this.refs.dropdownContainer.focus()}}navigateItemByTabKey(e){if(!this.state.isOpen)return;e.preventDefault();const t=e.shiftKey?"previous":"next";this.focusSibling(t)}activateItem(){if(!this.state.isOpen)return this.openDropdown();document.activeElement.click()}focusSibling(e){let t,s;if(!this.state.isOpen)return;this.props.options.length?(t=(0,l.map)((0,l.filter)(this.props.options,(e=>e&&!e.isLabel)),"value"),s="number"==typeof this.focused?this.focused:t.indexOf(this.state.selected)):(t=(0,l.filter)(this.props.children,(function(e){return e.type===r.Z})),s="number"==typeof this.focused?this.focused:(0,l.findIndex)(t,(function(e){return e.props.selected})));const a=s+("previous"===e?-1:1);a>=t.length||a<0||(g().findDOMNode(this.refs["item-"+a].refs.itemLink).focus(),this.focused=a)}handleOutsideClick(e){g().findDOMNode(this.refs.dropdownContainer).contains(e.target)||this.closeDropdown()}}v.defaultProps={options:[],onSelect:f,onToggle:f,disabled:!1,style:{},rna:!1},v.propTypes={selectedText:d().string,selectedCount:d().number,initialSelected:d().string,className:d().string,style:d().object,onSelect:d().func,onToggle:d().func,focusSibling:d().func,tabIndex:d().number,disabled:d().bool,options:d().arrayOf(d().shape({value:d().string.isRequired,label:d().string.isRequired,path:d().string})),rna:d().bool},v.instances=0;const E=v},51226:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65235),n=s.n(a),i=s(85582),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);class p extends l().Component{static propTypes={children:o().node.isRequired,path:o().string,selected:o().bool,onClick:o().func,count:o().number};static defaultProps={selected:!1};render(){const e=n()(this.props.className,{"dops-select-dropdown__item":!0,"is-selected":this.props.selected,"is-disabled":this.props.disabled});return l().createElement("li",{className:"dops-select-dropdown__option"},l().createElement("a",{ref:"itemLink",href:this.props.path,className:e,onClick:this.props.disabled?null:this.props.onClick,"data-bold-text":this.props.value||this.props.children,role:"option",tabIndex:0,"aria-selected":this.props.selected},l().createElement("span",{className:"dops-select-dropdown__item-text"},this.props.children,"number"==typeof this.props.count&&l().createElement(i.Z,{count:this.props.count}))))}}const d=p},65668:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(99196),n=s.n(a);const{Component:i}=n(),r=e=>e.stopPropagation();const o=class extends i{render(){return n().createElement("li",{role:"menuitem",onClick:r,className:"dops-select-dropdown__label"},n().createElement("label",null,this.props.children))}}},6764:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(99196),n=s.n(a);class i extends n().Component{render(){return n().createElement("li",{className:"dops-select-dropdown__separator"})}}const r=i},93806:(e,t,s)=>{"use strict";s.d(t,{Z:()=>S});var a=s(82674),n=s.n(a),i=s(65736),r=s(97506),o=s(85733),c=s(39224),l=s(81114),p=s(84069),d=s(59584),u=s(92819),m=s(86450),h=s(1137),g=s(25162),k=s.n(g),f=s(99196),v=s.n(f),E=s(59309),w=s(17296),_=s(96300),b=s(69508),y=s(50416),C=s(33002);const __=i.__,_x=i._x,j=e=>{const t=e=>()=>(e=>{p.Z.tracks.recordJetpackClick({target:"upgrade-banner",feature:e,type:"upgrade"})})(e),s=(t,s)=>()=>{(e=>{p.Z.tracks.recordJetpackClick({target:"connect-banner",feature:e,type:"connect"})})(t),e.doConnectUser(s)},a=!!e.module&&e.getModule(e.module),i=e.vaultPressData,g=(0,u.get)(i,["data","features","backups"],!1),k=(0,u.get)(i,["data","features","security"],!1);if(!e.userCanManageModules&&!(0,u.includes)(["post-by-email","publicize"],e.module))return v().createElement("span",null);const f=e.saveDisabled,E=!!e.feature&&e.feature;let w=e.header?e.header:"";""===w&&a&&(w=a.name);const _=()=>{switch(E){case d.BD8:return"inactive"===e.getModuleOverride("videopress");case d.N8_:return"inactive"===e.getModuleOverride("wordads");case d.r2Z:return"inactive"===e.getModuleOverride("google-analytics");case d.T54:return"inactive"===e.getModuleOverride("search");default:return!1}},b=(()=>{if(e.fetchingSiteData)return!0;switch(E){case d.eMt:if(!e.hasScan&&!k)return!1;break;case d.N8_:if(!e.hasWordAds)return!1;break;case d.r2Z:if(!e.hasGoogleAnalytics)return!1;break;case d.V37:if(!e.hasAntispam&&!e.isAkismetKeyValid&&!e.isCheckingAkismetKey)return!1}return!0})()&&e.children,y=!e.fetchingSiteData&&!_()&&!e.inOfflineMode&&(()=>{const a=_x("Upgrade","A caption for a button to upgrade an existing paid feature to a higher tier.","jetpack"),n=_x("Connect","A caption for a button to connect a user account to access paid features.","jetpack");switch(E){case d.BD8:return e.hasConnectedOwner||e.hasVideoPress?"":v().createElement(o.ZP,{title:__("Connect your WordPress.com account to enable high-quality, ad-free video.","jetpack"),callToAction:n,plan:(0,d.o2o)(d.BD8),feature:E,onClick:s(E),rna:!0});case d.N8_:return e.hasWordAds?"":e.hasConnectedOwner?v().createElement(o.ZP,{title:__("Generate income with high-quality ads.","jetpack"),callToAction:a,plan:(0,d.o2o)(d.N8_),feature:E,onClick:t(E),href:e.adsUpgradeUrl,rna:!0}):v().createElement(o.ZP,{title:__("Connect your WordPress.com account to upgrade and generate income with high-quality ads.","jetpack"),callToAction:n,plan:(0,d.o2o)(d.N8_),feature:E,onClick:s(E),rna:!0});case d.eMt:return g||e.hasScan&&e.hasBackups||e.multisite?"":e.hasScan&&!e.hasBackups?e.hasConnectedOwner?v().createElement(o.ZP,{title:__("Save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,d.o2o)(d.N_2),callToAction:a,feature:E,onClick:t(E),href:e.securityUpgradeUrl,rna:!0}):v().createElement(o.ZP,{title:__("Connect your WordPress.com account to upgrade and save every change and get back online quickly with one-click restores.","jetpack"),plan:(0,d.o2o)(d.N_2),callToAction:n,feature:E,onClick:s(E),rna:!0}):e.hasConnectedOwner?v().createElement(o.ZP,{callToAction:a,title:__("Automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,d.o2o)(d.eMt),feature:E,onClick:t(E),href:e.scanUpgradeUrl,rna:!0}):v().createElement(o.ZP,{callToAction:n,title:__("Connect your WordPress.com account to upgrade for automated scanning and one-click fixes keep your site ahead of security threats.","jetpack"),plan:(0,d.o2o)(d.eMt),feature:E,onClick:s(E),rna:!0});case d.r2Z:return e.hasGoogleAnalytics?"":e.hasConnectedOwner?v().createElement(o.ZP,{callToAction:a,title:__("Connect your site to Google Analytics.","jetpack"),plan:(0,d.o2o)(d.r2Z),feature:E,onClick:t(E),href:e.gaUpgradeUrl,rna:!0}):v().createElement(o.ZP,{callToAction:n,title:__("Connect your WordPress.com account to upgrade and connect your site to Google Analytics.","jetpack"),plan:(0,d.o2o)(d.r2Z),feature:E,onClick:s(E),rna:!0});case d.T54:return e.hasInstantSearch?"":e.hasConnectedOwner?v().createElement(o.ZP,{callToAction:(0,h.I)()?__("Start for free","jetpack"):_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,d.o2o)(d.T54),feature:E,onClick:t(E),href:e.searchUpgradeUrl,rna:!0}):v().createElement(o.ZP,{callToAction:n,title:__("Connect your WordPress.com account to upgrade and help visitors quickly find answers with highly relevant instant search results and powerful filtering.","jetpack"),plan:(0,d.o2o)(d.T54),feature:E,onClick:s(E),rna:!0});case d.V37:return e.isCheckingAkismetKey||e.isAkismetKeyValid||e.hasAntispam?"":e.hasConnectedOwner?v().createElement(o.ZP,{callToAction:a,title:__("Automatically clear spam from comments and forms.","jetpack"),plan:(0,d.o2o)(d.V37),feature:E,href:e.spamUpgradeUrl,rna:!0}):v().createElement(o.ZP,{callToAction:n,title:__("Connect your WordPress.com account to upgrade and automatically clear spam from comments and forms.","jetpack"),plan:(0,d.o2o)(d.V37),feature:E,onclick:e.doConnectUser,rna:!0});case d.S5m:return e.hasSimplePayments?"":e.hasConnectedOwner?v().createElement(o.ZP,{callToAction:a,title:__("Start accepting PayPal payments for physical products, digital goods, or donations.","jetpack"),plan:(0,d.o2o)(d.S5m),feature:E,href:e.simplePaymentsUpgradeUrl,rna:!0}):v().createElement(o.ZP,{callToAction:n,title:__("Connect your WordPress.com account to upgrade and access PayPal features in your editor.","jetpack"),plan:(0,d.o2o)(d.S5m),feature:E,onclick:e.doConnectUser,rna:!0});default:return""}})();if(!b&&!y)return null;let C="";return e.feature?C=`jp-settings-${e.feature}`:e.module&&(C=`jp-settings-${e.module}`),(()=>{if(!_())return!1;if(E!==d.r2Z)return null;const t=e.getModule("google-analytics");return v().createElement(c.Z,{moduleName:t.name})})()||v().createElement("form",n()({},C?{id:C}:null,{className:"jp-form-settings-card",onSubmit:f?void 0:e.onSubmit}),v().createElement(l.Z,{label:w},!e.hideButton&&v().createElement(r.Z,{primary:!0,rna:!0,compact:!0,type:"submit",disabled:f||!e.isDirty()},f?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0)),e.action&&v().createElement(m.Z,{proFeature:e.action,siteAdminUrl:e.siteAdminUrl,isCompact:!1})),b,y)};j.propTypes={action:k().string,saveDisabled:k().bool},j.defaultProps={action:"",saveDisabled:!1};const S=(0,E.$j)((e=>({fetchingSiteData:(0,C._5)(e),siteAdminUrl:(0,b.wW)(e),userCanManageModules:(0,b.pK)(e),isAkismetKeyValid:(0,w._2)(e),isCheckingAkismetKey:(0,w.gw)(e),vaultPressData:(0,w.XK)(e),getModuleOverride:t=>(0,y.Qy)(e,t),getModule:t=>(0,y.rT)(e,t),adsUpgradeUrl:(0,b.Qq)(e,"jetpack-creator-cta"),securityUpgradeUrl:(0,h.z)(e,"security"),scanUpgradeUrl:(0,h.z)(e,"scan"),gaUpgradeUrl:(0,b.Qq)(e,"settings-ga"),searchUpgradeUrl:(0,h.z)(e,"search"),simplePaymentsUpgradeUrl:(0,b.Qq)(e,"jetpack-creator-cta"),spamUpgradeUrl:(0,h.z)(e,"akismet"),multisite:(0,b.TA)(e),inOfflineMode:(0,_.Ex)(e),hasConnectedOwner:(0,_.it)(e),hasAntispam:(0,C.CV)(e,"antispam"),hasBackups:(0,C.CV)(e,"backups"),hasGoogleAnalytics:(0,C.CV)(e,"google-analytics"),hasInstantSearch:(0,C.CV)(e,"instant-search"),hasScan:(0,C.CV)(e,"scan"),hasSimplePayments:(0,C.CV)(e,"simple-payments"),hasVideoPress:(0,C.CV)(e,"videopress"),hasWordAds:(0,C.CV)(e,"wordads")})),(e=>({doConnectUser:t=>e((0,_.bL)(t))})))(j)},28178:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(85799),c=s(79032),l=s(92819),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(59309),g=s(96300),k=s(69508),f=s(50416);const v=e=>{const t=e.module;if(t.module&&!e.userCanManageModules&&!(0,l.includes)(["post-by-email","publicize"],t.module))return m().createElement("span",null);const s=e.disableInOfflineMode&&e.isUnavailableInOfflineMode(t.module),a=e.disableInSiteConnectionMode&&e.isUnavailableInSiteConnectionMode(t.module);let i=s||a;return"post-by-email"!==t.module||e.isLinked||(i=!0),m().createElement("div",{className:r()("jp-form-settings-group",e.className)},m().createElement(o.Z,{className:r()({"jp-form-has-child":e.hasChild,"jp-form-settings-disable":s||a})},i&&m().createElement("div",{className:"jp-form-block-fade"}),e.support.link&&m().createElement(c.Z,n()({module:t},e.support)),e.children))};v.propTypes={support:d().object,module:d().object,disableInOfflineMode:d().bool.isRequired,disableInSiteConnectionMode:d().bool,isOfflineMode:d().bool.isRequired,isSitePublic:d().bool.isRequired,userCanManageModules:d().bool.isRequired,isLinked:d().bool.isRequired,isUnavailableInOfflineMode:d().func.isRequired,className:d().string},v.defaultProps={support:{text:"",link:""},module:{},disableInOfflineMode:!1,disableInSiteConnectionMode:!1,isOfflineMode:!1,isSitePublic:!0,userCanManageModules:!1,isLinked:!1,isUnavailableInOfflineMode:l.noop,className:""};const E=(0,h.$j)((e=>({isOfflineMode:(0,g.Ex)(e),isSitePublic:(0,k.$r)(e),userCanManageModules:(0,k.pK)(e),userCanEditPosts:(0,k.rp)(e),isLinked:(0,g.BU)(e),isModuleActivated:t=>(0,f.mp)(e,t),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isUnavailableInSiteConnectionMode:t=>(0,g.IK)(e,t)})))(v)},92685:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(6895),n=s(65736),i=s(65235),r=s.n(i),o=s(97506),c=s(85799),l=s(5060),p=s(85733),d=s(84069),u=s(59584),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(59309),v=s(96300),E=s(69508),w=s(33002);const __=n.__,_x=n._x;class _ extends k().Component{static displayName="SupportCard";static defaultProps={className:"",siteConnectionStatus:!1};trackBannerClick=()=>{d.Z.tracks.recordJetpackClick({target:"banner-click",feature:"support",page:this.props.path,is_user_wpcom_connected:this.props.isCurrentUserLinked?"yes":"no",is_connection_owner:this.props.isConnectionOwner?"yes":"no"})};handleConnectClick=()=>{this.trackBannerClick(),this.props.connectUser()};trackSearchClick=()=>{d.Z.tracks.recordJetpackClick({target:"support-card",button:"support-search",page:this.props.path})};trackGettingStartedClick=()=>{d.Z.tracks.recordJetpackClick({target:"support-card",button:"getting-started",page:this.props.path})};render(){const{hasSupport:e}=this.props;if(this.props.isFetchingSiteData)return k().createElement("div",null);const t=r()(this.props.className,"jp-support-card");return k().createElement("div",{className:t},k().createElement(c.Z,{className:"jp-support-card__happiness"},k().createElement("div",{className:"jp-support-card__happiness-contact"},k().createElement("h3",{className:"jp-support-card__header"},__("We’re here to help","jetpack")),k().createElement("p",{className:"jp-support-card__description"},e?(0,n.sprintf)(/* translators: placeholder is either Jetpack or WordPress.com */
__("Your paid plan gives you access to prioritized %s support.","jetpack"),this.props.isAtomicSite?"WordPress.com":"Jetpack"):__("Jetpack offers support via community forums for any site without a paid product.","jetpack")),k().createElement("p",{className:"jp-support-card__description"},this.props.isAtomicSite||k().createElement(o.Z,{onClick:this.trackGettingStartedClick,href:(0,a.Z)("jetpack-support-getting-started")},__("Getting started with Jetpack","jetpack"),k().createElement(l.Z,{className:"dops-card__link-indicator",icon:"external"})),k().createElement(o.Z,{onClick:this.trackSearchClick,href:this.props.isAtomicSite?(0,a.Z)("calypso-help"):(0,a.Z)("jetpack-support")},__("Search our support site","jetpack"),k().createElement(l.Z,{className:"dops-card__link-indicator",icon:"external"}))))),this.props.siteConnectionStatus&&!e&&this.props.hasConnectedOwner&&k().createElement(p.ZP,{title:__("Get a faster resolution to your support questions.","jetpack"),plan:(0,u.o2o)(u.psy),callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),onClick:this.trackBannerClick,href:this.props.supportUpgradeUrl}),this.props.siteConnectionStatus&&!e&&!this.props.hasConnectedOwner&&k().createElement(p.ZP,{title:__("Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.","jetpack"),plan:(0,u.o2o)(u.psy),callToAction:__("Connect","jetpack"),onClick:this.handleConnectClick}))}}_.propTypes={siteConnectionStatus:h().any.isRequired,className:h().string,isCurrentUserLinked:h().bool,isConnectionOwner:h().bool};const b=(0,f.$j)((e=>({siteConnectionStatus:(0,v.Gz)(e),isFetchingSiteData:(0,w._5)(e),isAtomicSite:(0,E.Ug)(e),isDevVersion:(0,E._W)(e),supportUpgradeUrl:(0,E.Qq)(e,"support"),isCurrentUserLinked:(0,v.BU)(e),isConnectionOwner:(0,v.QM)(e),hasConnectedOwner:(0,v.it)(e),hasSupport:(0,w.CV)(e,"support")||(0,w.b2)(e)})),(e=>({connectUser:()=>e((0,v.bL)())})))(_)},79032:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(55609),n=s(65736),i=s(42698),r=s(84069),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l);const __=n.__;class d extends l.Component{static propTypes={module:c().object,text:c().string,link:c().string,privacyLink:c().string};static defaultProps={module:void 0,text:"",link:"",privacyLink:""};constructor(){super(...arguments),this.getModule=this.getModule.bind(this),this.trackInfoClick=this.trackInfoClick.bind(this),this.trackLearnMoreClick=this.trackLearnMoreClick.bind(this),this.trackPrivacyInfoClick=this.trackPrivacyInfoClick.bind(this)}getModule(){return this.props.module||{}}trackInfoClick(){r.Z.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){r.Z.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){r.Z.tracks.recordJetpackClick({target:"privacy-info",feature:this.getModule().module})}render(){const{text:e,link:t}=this.props;let{privacyLink:s}=this.props;return!s&&t&&(s=t+"#privacy"),p().createElement("div",{className:"jp-support-info"},p().createElement(i.Z,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack")},e+" ",t&&p().createElement("div",{className:"jp-support-info__learn-more"},p().createElement(a.ExternalLink,{href:t,onClick:this.trackLearnMoreClick,rel:"noopener noreferrer"},__("Learn more","jetpack"))),p().createElement("span",{className:"jp-support-info__privacy"},p().createElement(a.ExternalLink,{href:s,onClick:this.trackPrivacyInfoClick,rel:"noopener noreferrer"},__("Privacy information","jetpack")))))}}},9494:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(92819),c=s(99196),l=s.n(c);class p extends l().Component{static displayName="TextInput";static defaultProps={isError:!1,isValid:!1,selectOnFocus:!1,type:"text"};focus=()=>{this.refs.textField.focus()};render(){const{className:e,selectOnFocus:t}=this.props,s=r()(e,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid}),a=(0,o.omit)(this.props,"selectOnFocus","isError","isValid");return l().createElement("input",n()({},a,{ref:"textField",className:s,onClick:t?this.selectOnFocus:null}))}selectOnFocus=e=>{e.target.select()}}},65936:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(82674),n=s.n(a),i=s(65235),r=s.n(i),o=s(92819),c=s(99196),l=s.n(c);class p extends l().Component{static displayName="Textarea";render(){return l().createElement("textarea",n()({},(0,o.omit)(this.props,"className"),{className:r()(this.props.className,"dops-textarea")}),this.props.children)}}},54088:(e,t,s)=>{"use strict";s.d(t,{Z:()=>m});var a=s(2816),n=s(65235),i=s.n(n),r=s(28402),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l);const d=()=>{};class u extends l.Component{static propTypes={autoPosition:c().bool,className:c().string,id:c().string,isVisible:c().bool,position:c().string,rootClassName:c().string,status:c().string,showDelay:c().number,showOnMobile:c().bool};static defaultProps={showDelay:100,position:"top",showOnMobile:!1};render(){if(!this.props.showOnMobile&&(0,a.tq)())return null;const e=i()("dops-popover","dops-tooltip",`is-${this.props.position}`,this.props.className);return p().createElement(r.Z,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:d,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}const m=u},63157:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(25162),n=s.n(a),i=s(99196),r=s(59309),o=s(89292);class c extends i.Component{UNSAFE_componentWillReceiveProps(e){const t=this.props.analytics.tracks.recordEvent;e.searchTerm!==this.props.searchTerm&&e.searchTerm.length>=3&&t("jetpack_wpa_search_term",{term:e.searchTerm})}render(){return null}}c.propTypes={analytics:n().object,searchTerm:n().string};const l=(0,r.$j)((e=>({searchTerm:(0,o.He)(e)})))(c)},37834:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(84069),n=s(25162),i=s.n(n),r=s(99196),o=s.n(r),c=s(59309),l=s(69508);class p extends r.PureComponent{static propTypes={source:i().string.isRequired,target:i().string.isRequired,feature:i().string,upgradeUrl:i().string.isRequired};trackClick=()=>{const{target:e,feature:t}=this.props;if(e){const s=t?{feature:t}:{};a.Z.tracks.recordJetpackClick({type:"upgrade-link",target:e,...s})}};render(){return o().createElement("a",{href:this.props.upgradeUrl,target:"_blank",rel:"noopener noreferrer",onClick:this.trackClick},this.props.children)}}const d=(0,c.$j)(((e,{source:t})=>({upgradeUrl:(0,l.Qq)(e,t)})))(p)},39327:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65736),n=s(88120),i=s(2353),r=s(19567),o=s.n(r),c=s(84069),l=s(99196),p=s.n(l);const __=a.__,d=(0,i.u)(class extends l.Component{componentDidMount(){o()("body").addClass("jp-dialogue-modern-showing"),c.Z.tracks.recordEvent("jetpack_warm_welcome_view",{version:this.props.version})}componentWillUnmount(){o()("body").removeClass("jp-dialogue-modern-showing")}trackLearnMoreClick=()=>{c.Z.tracks.recordJetpackClick({target:"warm_welcome_view_editor",version:this.props.version})};dismissNotice=()=>{c.Z.tracks.recordJetpackClick({target:"warm_welcome_dismiss",version:this.props.version}),this.props.dismiss()};renderInnerContent(){const e=(new DOMParser).parseFromString(this.props.releasePostContent,"text/html"),t=e.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].setAttribute("target","_blank"),t[e].setAttribute("rel","noopener noreferrer");const s=e.body.innerHTML;return p().createElement("div",{className:"jp-upgrade-notice__content"},p().createElement("div",{dangerouslySetInnerHTML:{__html:s}}))}render(){const{featuredImage:e}=this.props;let t=null,{title:s}=this.props;return e&&e.length>0&&(t=p().createElement("img",{src:e,alt:""})),s&&0!==s.length||(s=(0,a.sprintf)(/* translators: Placeholder is a version number. */
__("New in Jetpack %s","jetpack"),this.props.version)),p().createElement(n.Z,{svg:t,title:s,content:this.renderInnerContent(),dismiss:this.dismissNotice})}})},35182:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});const a={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};const n=function(e){if(e in a)return a[e];throw new Error("config key `"+e+"` does not exist")}},80800:(e,t,s)=>{"use strict";s.d(t,{Ez:()=>r,Fr:()=>i,hp:()=>n,x8:()=>o,zh:()=>c});var a=s(6895);const n=window.Initial_State.pluginBaseUrl+"/images/",i=(0,a.Z)("jetpack-contact-support"),r=(0,a.Z)("jetpack-contact-support-beta-group"),o=(0,a.Z)("jetpack-stats-2023-opt-out-survey"),c="https://jetpack.com/support/backup/the-jetpack-backup-plugin/getting-started-with-the-jetpack-backup-plugin/#starting-your-first-backup"},13067:(e,t,s)=>{"use strict";s.d(t,{H:()=>v});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(61775),l=s(2353),p=s(5004),d=s(93806),u=s(28178),m=s(79032),h=s(9494),g=s(99196),k=s.n(g);const __=o.__;class f extends k().Component{updateFormStateByMarkdown=e=>this.props.getSettingCurrentValue("wpcom_publish_posts_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_comments_with_markdown",!0);handleMarkdownCommentsToggle=()=>{this.props.updateFormStateModuleOption("markdown","wpcom_publish_comments_with_markdown")};render(){const e=this.props.isModuleFound("comments"),t=this.props.isModuleFound("gravatar-hovercards"),s=this.props.isModuleFound("markdown"),a=this.props.isModuleFound("comment-likes");if(!(e||t||s||a))return null;const{isUnavailableInOfflineMode:o,getOptionValue:l}=this.props,g=this.props.getModule("comments"),f=this.props.getOptionValue("comments"),v=this.props.isUnavailableInOfflineMode("comments"),E=this.props.getModule("gravatar-hovercards"),w=this.props.getModule("markdown"),_=o("comment-likes"),b=l("comment-likes");return k().createElement(d.Z,n()({},this.props,{header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"])}),e&&k().createElement(u.Z,{hasChild:!0,disableInOfflineMode:!0,module:g,support:{text:__("Replaces the standard WordPress comment form with a new comment system that includes social media login options.","jetpack"),link:(0,i.Z)("jetpack-support-comments")}},k().createElement(p.T,{slug:"comments",compact:!0,disabled:v,activated:this.props.getOptionValue("comments"),toggling:this.props.isSavingAnyOption("comments"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},g.description)),k().createElement(c.C_,null,k().createElement(c.lX,null,k().createElement("span",{className:"jp-form-label-wide"},__("Comment form introduction","jetpack")),k().createElement(h.Z,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:!f||v||this.props.isSavingAnyOption("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),k().createElement("span",{className:"jp-form-setting-explanation"},__("A few catchy words to motivate your visitors to comment.","jetpack")),k().createElement(c.lX,null,k().createElement("span",{className:"jp-form-label-wide"},__("Color scheme","jetpack")),k().createElement(c.ih,n()({name:"jetpack_comment_form_color_scheme",value:this.props.getOptionValue("jetpack_comment_form_color_scheme"),disabled:!f||v||this.props.isSavingAnyOption("jetpack_comment_form_color_scheme"),onChange:this.props.onOptionChange},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme","comments"),rna:!0}))))),(t||s||a)&&k().createElement(u.Z,null,t&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.C_,null,k().createElement(p.T,{slug:"gravatar-hovercards",compact:!0,activated:this.props.getOptionValue("gravatar-hovercards"),toggling:this.props.isSavingAnyOption("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},E.description))),k().createElement(m.Z,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:E.learn_more_button,privacyLink:E.learn_more_button+"#privacy"})),s&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.C_,null,k().createElement(r.Z,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown"])||"inactive"===this.props.getModuleOverride("markdown"),toggling:this.props.isSavingAnyOption(["wpcom_publish_comments_with_markdown"]),onChange:this.handleMarkdownCommentsToggle,label:k().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable Markdown use for comments.","jetpack"))})),k().createElement(m.Z,{text:__("Allow readers to use markdown in comments.","jetpack"),link:w.learn_more_button,privacyLink:w.learn_more_button+"#privacy"})),a&&k().createElement("div",{className:"jp-toggle-set"},k().createElement(c.C_,null,k().createElement(p.T,{slug:"comment-likes",compact:!0,disabled:_,activated:b,toggling:this.props.isSavingAnyOption("comment-likes"),toggleModule:this.props.toggleModuleNow},k().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable comment Likes.","jetpack")))),k().createElement(m.Z,{text:__("Allow readers to like individual comments.","jetpack"),link:(0,i.Z)("jetpack-support-comment-likes"),privacyLink:(0,i.Z)("jetpack-support-comment-likes",{anchor:"privacy"})}))))}}const v=(0,l.u)(f)},70399:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(82674),n=s.n(a),i=s(65736),r=s(69270),o=s(99196),c=s.n(o),l=s(59309),p=s(96300),d=s(69508),u=s(50416),m=s(89292),h=s(3230),g=s(13067);const __=i.__;class k extends c().Component{static displayName="DiscussionSettings";render(){const e={settings:this.props.settings,getModule:this.props.module,isOdysseyStatsEnabled:this.props.isOdysseyStatsEnabled,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isWoASite:this.props.isWoASite,siteAdminUrl:this.props.siteAdminUrl},t=this.props.isModuleFound("comments"),s=this.props.isModuleFound("markdown"),a=this.props.isModuleFound("gravatar-hovercards"),i=this.props.isModuleFound("comment-likes");return(this.props.searchTerm||this.props.active)&&(t||s||a||i)?c().createElement("div",null,c().createElement(r.Z,null),c().createElement("h1",{className:"screen-reader-text"},__("Jetpack Discussion Settings","jetpack")),c().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Discussion","jetpack"):__("Manage advanced comment settings.","jetpack")),c().createElement(g.H,n()({},e,{isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride}))):null}}const f=(0,l.$j)((e=>({module:t=>(0,u.rT)(e,t),settings:(0,h.Gw)(e),isOfflineMode:(0,p.Ex)(e),isUnavailableInOfflineMode:t=>(0,p.t_)(e,t),isModuleFound:t=>(0,m.CX)(e,t),connectUrl:(0,p.AM)(e),isLinked:(0,p.BU)(e),getModuleOverride:t=>(0,u.Qy)(e,t),isOdysseyStatsEnabled:(0,d.ij)(e),isWoASite:(0,d.Pw)(e),siteAdminUrl:(0,d.wW)(e)})))(k)},83693:(e,t,s)=>{"use strict";s.d(t,{f:()=>b});var a=s(82674),n=s.n(a),i=s(48229),r=s(6895),o=s(55609),c=s(69307),l=s(65736),p=s(85799),d=s(61775),u=s(2353),m=s(5004),h=s(93806),g=s(28178),k=s(9494),f=s(65936),v=s(84069),E=s(59584),w=s(99196),_=s.n(w);const __=l.__,_x=l._x,b=(0,u.u)(class extends _().Component{updateOptions=e=>{this.props.updateFormStateModuleOption("wordads",e)};trackConfigureClick=()=>{v.Z.tracks.recordJetpackClick("view-earnings")};trackConfigureWidgetClick=()=>{v.Z.tracks.recordJetpackClick("place_ad_widget")};handleChange=e=>()=>this.updateOptions(e);renderAdsTxtSection(){const{getOptionValue:e,isUnavailableInOfflineMode:t}=this.props,s=e("wordads_custom_adstxt_enabled","wordads"),a=e("wordads_custom_adstxt","wordads"),n=e("wordads"),o=t("wordads");return _().createElement(g.Z,{hasChild:!0,support:{text:__("Ads.txt (Authorized Digital Sellers) is a mechanism that enables content owners to declare who is authorized to sell their ad inventory. It’s the formal list of advertising partners you support as a publisher.","jetpack"),link:"https://jetpack.com/support/ads/"}},_().createElement(i.Z,{checked:s,disabled:!n||o||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_custom_adstxt_enabled"]),onChange:this.handleChange("wordads_custom_adstxt_enabled"),label:__("Customize your ads.txt file","jetpack")}),s&&_().createElement(d.C_,null,_().createElement("br",null),_().createElement("p",null,n&&(0,c.createInterpolateElement)(__("WordAds automatically generates a custom <link1>ads.txt</link1> tailored for your site. If you need to add additional entries for other networks please add them in the space below, one per line. <link2>Check here for more details</link2>.","jetpack"),{link1:_().createElement("a",{href:"/ads.txt",target:"_blank",rel:"noopener noreferrer"}),link2:_().createElement("a",{href:(0,r.Z)("jetpack-how-jetpack-ads-members-can-increase-their-earnings-with-ads-txt"),target:"_blank",rel:"noopener noreferrer"})}),!n&&__("When ads are enabled, Jetpack automatically generates a custom ads.txt tailored for your site.","jetpack")),_().createElement(f.Z,{name:"wordads_custom_adstxt",value:a,disabled:!n||o||this.props.isSavingAnyOption(["wordads","wordads_custom_adstxt"]),onChange:this.props.onOptionChange})))}render(){const e=this.props.getOptionValue("wordads"),t=this.props.isUnavailableInOfflineMode("wordads"),s=this.props.getOptionValue("enable_header_ad","wordads"),a=this.props.getOptionValue("wordads_second_belowpost","wordads"),l=this.props.getOptionValue("wordads_display_front_page","wordads"),u=this.props.getOptionValue("wordads_display_post","wordads"),f=this.props.getOptionValue("wordads_display_page","wordads"),v=this.props.getOptionValue("wordads_display_archive","wordads"),w=this.props.getOptionValue("wordads_ccpa_enabled","wordads"),b=this.props.getOptionValue("wordads_ccpa_privacy_policy_url","wordads"),y=-1!==this.props.siteRawUrl.indexOf("::");return _().createElement(h.Z,n()({},this.props,{header:_x("Ads","Ads header","jetpack"),feature:E.N8_,saveDisabled:this.props.isSavingAnyOption(["wordads_custom_adstxt"])}),_().createElement(g.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"wordads"},support:{text:__("Displays high-quality ads on your site that allow you to earn income.","jetpack"),link:(0,r.Z)("jetpack-support-ads")}},_().createElement("p",null,__("Show ads on the first article on your home page or at the end of every page and post. Place additional ads at the top of your site and to any widget area to increase your earnings.","jetpack"),_().createElement("br",null),_().createElement("small",{className:"jp-form-setting-explanation"},(0,c.createInterpolateElement)(__("By activating ads, you agree to the Automattic Ads <link>Terms of Service</link>.","jetpack"),{link:_().createElement(o.ExternalLink,{href:(0,r.Z)("wpcom-automattic-ads-tos"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackConfigureWidgetClick})}))),_().createElement(m.T,{slug:"wordads",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("wordads"),toggleModule:this.props.toggleModuleNow},_().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable ads and display an ad below each post","jetpack"))),_().createElement(d.C_,null,_().createElement(d.Gj,null,__("Display ads below posts on","jetpack")),_().createElement(i.Z,{checked:l,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_front_page"]),onChange:this.handleChange("wordads_display_front_page"),label:__("Front page","jetpack")}),_().createElement(i.Z,{checked:u,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_post"]),onChange:this.handleChange("wordads_display_post"),label:__("Posts","jetpack")}),_().createElement(i.Z,{checked:f,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_page"]),onChange:this.handleChange("wordads_display_page"),label:__("Pages","jetpack")}),_().createElement(i.Z,{checked:v,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_display_archive"]),onChange:this.handleChange("wordads_display_archive"),label:__("Archives","jetpack")})),_().createElement(d.C_,null,_().createElement(d.Gj,null,__("Additional ad placements","jetpack")),_().createElement(i.Z,{checked:s,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["enable_header_ad"]),onChange:this.handleChange("enable_header_ad"),label:__("Top of each page","jetpack")}),_().createElement(i.Z,{checked:a,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_second_belowpost"]),onChange:this.handleChange("wordads_second_belowpost"),label:__("Second ad below post","jetpack")}))),_().createElement(g.Z,{hasChild:!0,support:{text:__("Enables a targeted advertising opt-out link in US states where this is legally required.","jetpack"),link:this.props.isAtomicSite?(0,r.Z)("wpcom-support-us-privacy"):(0,r.Z)("jetpack-support-ads")}},_().createElement(i.Z,{checked:w,disabled:!e||t||this.props.isSavingAnyOption(["wordads"]),toggling:this.props.isSavingAnyOption(["wordads_ccpa_enabled"]),onChange:this.handleChange("wordads_ccpa_enabled"),label:__("Enable targeted advertising to site visitors in all US states.","jetpack")}),w&&_().createElement(d.C_,null,_().createElement("p",null,_().createElement("small",{className:"jp-form-setting-explanation"},__("Some US states have laws that require offering site visitors an opt-out from having their data used to personalize ads. Targeted advertising is off in certain states unless you enable it.","jetpack"))),_().createElement("p",null,_().createElement(d.Gj,null,__("Do Not Sell Link","jetpack")),(0,c.createInterpolateElement)(__('If you enable targeted advertising in all US states, you are required to place a "Do Not Sell or Share My Personal Information" link on every page of your site where targeted advertising will appear. You can use the <widgetLink>Do Not Sell Link Widget</widgetLink>, or the <code>[privacy-do-not-sell-link]</code> shortcode to automatically place this link on your site. Note: the link will always display to logged in administrators regardless of geolocation.',"jetpack"),{code:_().createElement("code",null),widgetLink:_().createElement("a",{className:"jp-module-settings__external-link",href:"customize.php?autofocus[panel]=widgets"})}),_().createElement("span",{className:"jp-form-setting-explanation"},__("Failure to add this link will result in non-compliance with privacy laws in some US states.","jetpack")))),w&&_().createElement(d.C_,null,_().createElement(d.Gj,null,__("Privacy Policy URL","jetpack")),_().createElement(k.Z,{name:"wordads_ccpa_privacy_policy_url",placeholder:"https://",value:b,disabled:!e||t||!w||this.props.isSavingAnyOption(["wordads","wordads_ccpa_privacy_policy_url"]),onChange:this.props.onOptionChange}),_().createElement("span",{className:"jp-form-setting-explanation"},__("Adds a link to your privacy policy to the notice popup triggered by the do not sell link (optional).","jetpack")))),!y&&this.renderAdsTxtSection(),!t&&e&&_().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl},__("View your earnings","jetpack")))}})},32223:(e,t,s)=>{"use strict";s.d(t,{Z:()=>C});var a=s(82674),n=s.n(a),i=s(6895),r=s(69307),o=s(65736),c=s(85799),l=s(66164),p=s(69270),d=s(93806),u=s(28178),m=s(84069),h=s(59584),g=s(99196),k=s.n(g),f=s(59309),v=s(96300),E=s(69508),w=s(50416),_=s(89292),b=s(83693);const __=o.__;function y(e){const{buttonText:t,featureConstant:s="",featureName:a,infoLink:i,infoDescription:o,supportLink:l,title:p}=e,h=(0,r.useCallback)((()=>{m.Z.tracks.recordJetpackClick({target:`visit-${a}`,feature:"earn"})}),[a]);return k().createElement(d.Z,n()({},e,{header:p,hideButton:!0,module:"earn",feature:s||void 0}),k().createElement(u.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,support:{link:l}},o),k().createElement(c.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:h,href:i,target:"_blank"},t))}const C=(0,f.$j)((e=>({hasConnectedOwner:(0,v.it)(e),module:t=>(0,w.rT)(e,t),isOffline:(0,v.Ex)(e),isModuleFound:t=>(0,_.CX)(e,t),isUnavailableInOfflineMode:t=>(0,v.t_)(e,t),isAtomicSite:(0,E.Ug)(e),blogID:(0,E.EZ)(e)})))((function(e){const{active:t,hasConnectedOwner:s,isModuleFound:a,isOffline:r,searchTerm:o,siteRawUrl:c,blogID:m}=e,g=a("wordads"),f=a("earn");return(o||t)&&(g||f)?k().createElement("div",null,k().createElement(p.Z,null),k().createElement("h1",{className:"screen-reader-text"},__("Jetpack Earn Settings","jetpack")),k().createElement("h2",{className:"jp-settings__section-title"},o?__("Earn","jetpack"):__("Explore tools to earn money with your site.","jetpack",0)),g&&k().createElement(b.f,n()({},e,{configureUrl:(0,i.Z)("calypso-stats-ads-day",{site:m??c})})),f&&(r?k().createElement(u.Z,null,k().createElement("div",{className:"jp-form-block-fade"}),__("Unavailable in Offline Mode.","jetpack")):s?k().createElement(k().Fragment,null,k().createElement(y,n()({},e,{featureName:"payments",title:__("Collect payments","jetpack"),supportLink:(0,i.Z)("jetpack-support-jetpack-blocks-payments-block"),infoLink:(0,i.Z)("wpcom-earn-payments",{site:m??c}),infoDescription:__("Let visitors pay for digital goods and services or make quick, pre-set donations by enabling the Payment Button block.","jetpack"),buttonText:__("Enable payment button","jetpack")})),k().createElement(y,n()({},e,{featureName:"donations",title:__("Accept donations and tips","jetpack"),supportLink:(0,i.Z)("jetpack-support-jetpack-blocks-donations-block"),infoLink:(0,i.Z)("wpcom-earn-payments",{site:m??c}),infoDescription:__("Accept one-time and recurring donations by enabling the Donations Form block.","jetpack"),buttonText:__("Enable donations form","jetpack")})),k().createElement(y,n()({},e,{featureName:"paypal",title:__("Collect PayPal payments","jetpack"),supportLink:(0,i.Z)("jetpack-support-pay-with-paypal"),infoLink:(0,i.Z)("jetpack-support-pay-with-paypal"),infoDescription:__("Accept credit card payments via PayPal for physical products, services, donations, or support of your creative work.","jetpack"),buttonText:__("Learn how to get started","jetpack"),featureConstant:h.S5m}))):k().createElement(d.Z,n()({},e,{hideButton:!0,module:"earn",header:__("Collect payments","jetpack")}),k().createElement(l.Z,{feature:"earn",featureLabel:__("Collect payments","jetpack"),text:__("Connect to discover tools to earn money with your site.","jetpack")})))):null}))},31493:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});const a=[9,32,37,38,39,40];let n=!1;const i=function(){document.addEventListener("keydown",(function(e){n||-1!==a.indexOf(e.keyCode)&&(n=!0,document.documentElement.classList.add("dops-accessible-focus"))})),document.addEventListener("mouseup",(function(){n&&(n=!1,document.documentElement.classList.remove("dops-accessible-focus"))}))}},84069:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(6975),n=s(35182);a.Z.setMcAnalyticsEnabled((0,n.Z)("mc_analytics_enabled")),a.Z.setGoogleAnalyticsEnabled((0,n.Z)("google_analytics_enabled"),(0,n.Z)("google_analytics_key"));const i=a.Z},34443:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});const a=function(){const e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"windows":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":"unknown"}},59584:(e,t,s)=>{"use strict";s.d(t,{$Kn:()=>T,$Po:()=>Le,A3l:()=>m,BD8:()=>kt,Ba4:()=>D,Bi:()=>_e,C7d:()=>oe,Cb:()=>Q,Cbu:()=>at,DMv:()=>Zt,Dgm:()=>ce,DlI:()=>Ie,ECB:()=>Nt,EcK:()=>g,Etl:()=>X,FLw:()=>Ee,FSp:()=>Ae,G$d:()=>De,G1J:()=>Ot,G6C:()=>_,Guz:()=>He,INL:()=>ke,Ijo:()=>de,JA7:()=>d,JBA:()=>Fe,JEv:()=>Be,JX4:()=>ne,LAg:()=>F,MC3:()=>St,Mvu:()=>Tt,Mzu:()=>ie,N8_:()=>vt,NJq:()=>Z,N_2:()=>ht,O$n:()=>Ct,O3V:()=>Pe,OEg:()=>y,OMh:()=>st,Pte:()=>v,Pu7:()=>Pt,PuQ:()=>Me,Q1Y:()=>J,Qm2:()=>j,Qox:()=>rt,Rw2:()=>K,S5m:()=>bt,SsR:()=>Rt,T54:()=>wt,TBc:()=>k,TID:()=>S,UsJ:()=>H,V37:()=>mt,VlB:()=>ze,WSn:()=>he,Wgk:()=>o,WjF:()=>$,XLA:()=>B,Xzm:()=>P,YN_:()=>W,Yq$:()=>me,ZRv:()=>I,Zyl:()=>ot,_BF:()=>b,_dE:()=>Ze,_dN:()=>A,aSV:()=>te,apc:()=>O,dWz:()=>q,e8w:()=>At,e9K:()=>f,eMt:()=>gt,eld:()=>Ce,f$H:()=>l,f3A:()=>u,fCb:()=>et,fDC:()=>p,fOq:()=>Qe,hI$:()=>U,hhG:()=>r,iPR:()=>se,icM:()=>Oe,j2d:()=>i,j2v:()=>Je,jIY:()=>Ue,jTC:()=>tt,k2r:()=>xe,k31:()=>je,kdX:()=>jt,ko$:()=>Te,lF9:()=>Se,ljz:()=>M,lv:()=>h,nAQ:()=>Xe,nE6:()=>Ve,ns9:()=>Y,nsL:()=>z,o2o:()=>Lt,oay:()=>It,our:()=>pe,p2b:()=>R,p7x:()=>n,pd0:()=>x,psy:()=>ft,qSP:()=>nt,qbT:()=>_t,qnt:()=>re,r2Z:()=>Et,rVK:()=>it,s1w:()=>ee,sTY:()=>Re,scx:()=>zt,shc:()=>fe,sqC:()=>c,syR:()=>C,tVY:()=>V,th6:()=>ae,tlC:()=>ge,unl:()=>ue,uxe:()=>G,uzL:()=>be,vKQ:()=>ye,vQF:()=>E,vSC:()=>ve,vZK:()=>xt,v_I:()=>we,vbP:()=>Ne,wmd:()=>N,xfZ:()=>w,yWn:()=>le,yYZ:()=>L,yy5:()=>Mt,z6U:()=>Ye});var a=s(92819);const n="business-bundle",i="business-bundle-2y",r="business-bundle-3y",o="business-bundle-monthly",c="wp_bundle_hosting_trial_monthly",l="wp_bundle_migration_trial_monthly",p="wp_com_hundred_year_bundle_centennially",d="ecommerce-bundle",u="ecommerce-bundle-2y",m="ecommerce-bundle-3y",h="ecommerce-bundle-monthly",g="wooexpress-small-bundle-yearly",k="wooexpress-small-bundle-monthly",f="wooexpress-medium-bundle-yearly",v="wooexpress-medium-bundle-monthly",E="ecommerce-trial-bundle-monthly",w="value_bundle",_="value_bundle-2y",b="value_bundle-3y",y="value_bundle-monthly",C="personal-bundle",j="personal-bundle-2y",S="personal-bundle-3y",N="personal-bundle-monthly",x="starter-plan",T="pro-plan",A="free_plan",M="jetpack_free",P="jetpack_premium",Z="jetpack_business",O="jetpack_personal",R="jetpack_premium_monthly",L="jetpack_business_monthly",z="jetpack_personal_monthly",I="jetpack_backup_t0_yearly",U="jetpack_backup_t0_monthly",D="jetpack_backup_t1_bi_yearly",V="jetpack_backup_t1_yearly",B="jetpack_backup_t1_monthly",F="jetpack_backup_t2_yearly",H="jetpack_backup_t2_monthly",J="jetpack_search_bi_yearly",q="jetpack_search",W="jetpack_search_free",G="jetpack_search_monthly",$="jetpack_starter_yearly",K="jetpack_starter_monthly",Y="jetpack_security_t1_bi_yearly",X="jetpack_security_t1_yearly",Q="jetpack_security_t1_monthly",ee="jetpack_security_t2_yearly",te="jetpack_security_t2_monthly",se="jetpack_complete_bi_yearly",ae="jetpack_complete",ne="jetpack_complete_monthly",ie="jetpack_boost_bi_yearly",re="jetpack_boost_yearly",oe="jetpack_boost_monthly",ce="jetpack_ai_monthly",le="jetpack_ai_yearly",pe="jetpack_ai_bi_yearly",de="wpcom_search",ue="wpcom_search_monthly",me="jetpack_scan_bi_yearly",he="jetpack_scan",ge="jetpack_scan_monthly",ke="jetpack_anti_spam_bi_yearly",fe="jetpack_anti_spam",ve="jetpack_anti_spam_monthly",Ee="jetpack_videopress_bi_yearly",we="jetpack_videopress",_e="jetpack_videopress_monthly",be="vip",ye="jetpack_social_basic_bi_yearly",Ce="jetpack_social_basic_yearly",je="jetpack_social_basic_monthly",Se="jetpack_social_advanced_bi_yearly",Ne="jetpack_social_advanced_yearly",xe="jetpack_social_advanced_monthly",Te="jetpack_golden_token_lifetime",Ae="jetpack_creator_monthly",Me="jetpack_creator_yearly",Pe="jetpack_creator_bi_yearly",Ze="jetpack_backup_daily",Oe="jetpack_backup_daily_monthly",Re="jetpack_backup_realtime",Le="jetpack_backup_realtime_monthly",ze="jetpack_security_daily",Ie="jetpack_security_daily_monthly",Ue="jetpack_security_realtime",De="jetpack_security_realtime_monthly",Ve="jetpack_stats_bi_yearly",Be="jetpack_stats",Fe="jetpack_stats_monthly",He="jetpack_stats_pwyw_yearly",Je="jetpack_stats_free_yearly",qe=[P,Z,O,R,L,z],We=[P,Z,R,L],Ge=[$,K,Y,X,Q,ee,te,Te,ze,Ie,Ue,De],$e=[P,Z,O,R,L,z,$,K,Y,X,Q,ee,te,se,ae,ne,Te],Ke=[P,Z,O,R,L,z,$,K,Y,X,Q,ee,te,se,ae,ne,ze,Ie,Ue,De],Ye=[se,ae,ne],Xe=[Te],Qe=[Y,X,Q,ee,te,n,i,r,o,d,u,m,h,T,be,"wpcom-enterprise",ze,Ie,Ue,De],et=[$,K],tt=[I,U,D,V,B,F,H,Ze,Oe,Re,Le],st=[J,q,G,W,de,ue],at=[me,he,ge],nt=[ke,fe,ve],it=[Ee,we,_e],rt=[ye,Ce,je],ot=[Se,Ne,xe],ct=[...rt,...ot],lt=[ie,re,oe],pt=[pe,le,ce],dt=[Ve,Be,Fe,He,Je],ut=[Ae,Me,Pe],mt="spam-akismet-plus",ht="site-backups-jetpack",gt="security-scanning-jetpack",kt="video-hosting-jetpack",ft="priority-support-jetpack",vt="wordads-jetpack",Et="google-analytics-jetpack",wt="search-jetpack",_t="videopress-jetpack",bt="simple-payments-jetpack",yt={[ft]:X,[wt]:q,[gt]:he,[ht]:V,[mt]:fe,[kt]:X,[vt]:X,[Et]:X,[mt]:fe,[_t]:we,[bt]:X};function Ct(e){return(0,a.includes)(Ke,e)}function jt(e){return(0,a.includes)($e,e)}function St(e){return(0,a.includes)(tt,e)}function Nt(e){return nt.includes(e)}function xt(e){return ct.includes(e)}function Tt(e){return lt.includes(e)}function At(e){return ut.includes(e)}function Mt(e){return St(e)||function(e){return(0,a.includes)(st,e)}(e)||function(e){return at.includes(e)}(e)||Nt(e)||function(e){return it.includes(e)}(e)||xt(e)||Tt(e)||function(e){return pt.includes(e)}(e)||function(e){return dt.includes(e)}(e)||At(e)}function Pt(e){return Ge.includes(e)}function Zt(e){return Qe.includes(e)}function Ot(e){return qe.includes(e)}function Rt(e){return We.includes(e)}function Lt(e){return yt[e]}function zt(e){switch(e){case M:case A:return"is-free-plan";case C:case j:case S:case N:case x:case O:case z:return"is-personal-plan";case w:case _:case b:case y:case P:case R:return"is-premium-plan";case n:case i:case r:case o:case Z:case L:case d:case u:case m:case h:case T:case c:case l:case p:case g:case k:case f:case v:case E:return"is-business-plan";case $:case K:return"is-jetpack-starter-plan";case Y:case X:case Q:return"is-security-t1-plan";case ee:case te:return"is-security-t2-plan";case se:case ae:case ne:case be:return"is-complete-plan";case I:case U:return"is-backup-t0-plan";case D:case V:case B:return"is-backup-t1-plan";case F:case H:return"is-backup-t2-plan";case J:case q:case G:case de:case ue:return"is-search-plan";case W:return"is-free-search-plan";case me:case he:case ge:return"is-scan-plan";case ke:case fe:case ve:return"is-anti-spam-plan";case Ee:case we:case _e:return"is-videopress-plan";case Te:return"is-jetpack-golden-token-plan";case Pe:case Me:case Ae:return"is-jetpack-creator-plan";case ze:case Ie:return"is-daily-security-plan";case Ue:case De:return"is-realtime-security-plan";case Ze:case Oe:return"is-daily-backup-plan";case Re:case Le:return"is-realtime-backup-plan";case ye:case Ce:case je:return"is-jetpack-social-basic-plan";case Se:case Ne:case xe:return"is-jetpack-social-advanced-plan";case ie:case re:case oe:return"is-jetpack-boost-plan";case pe:case ce:case le:return"is-jetpack-ai-plan";case Ve:case Be:case Fe:case He:return"is-jetpack-stats-plan";case Je:return"is-free-jetpack-stats-plan";default:return""}}function It(e){return[Te].includes(e)}},23962:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(7211);const n=(e,t)=>{const s=new a.Z;let n;s.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+s.getScreenCenterSpecs(780,700)),s.once("close",(()=>{let e=null;n&&n.keyring_id&&(e=Number(n.keyring_id)),t(e)})),s.on("message",(e=>n=e))}},77733:(e,t,s)=>{"use strict";function a(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}s.d(t,{_:()=>a})},31215:(e,t,s)=>{"use strict";s.d(t,{Z:()=>ee});var a=s(80800),n=s(64743),i=s(6895),r=s(9312),o=s(80428),c=s(53281),l=s(1862),p=s(55609),d=s(9818),u=s(69307),m=s(65736),h=s(36288),g=s(57301),k=s(17363),f=s(16102),v=s(88546),E=s(7516),w=s(75060),_=s(36795),b=s(32977),y=s(54265),C=s(14241),j=s(86799),S=s(92685),N=s(63157),x=s(19567),T=s.n(x),A=s(84069),M=s(38106),P=s(35150),Z=s(94648),O=s(99196),R=s.n(O),L=s(59309),z=s(44498),I=s(22267),U=s(49517),D=s(96300),V=s(69508),B=s(59963),F=s(50416),H=s(69377),J=s(89292),q=s(3230),W=s(33002),G=s(12832);const __=m.__,$=["/recommendations","/recommendations/site-type","/recommendations/product-suggestions","/recommendations/product-purchased","/recommendations/agency","/recommendations/woocommerce","/recommendations/monitor","/recommendations/newsletter","/recommendations/related-posts","/recommendations/creative-mail","/recommendations/site-accelerator","/recommendations/publicize","/recommendations/protect","/recommendations/anti-spam","/recommendations/videopress","/recommendations/backup-plan","/recommendations/boost","/recommendations/summary","/recommendations/vaultpress-backup","/recommendations/vaultpress-for-woocommerce","/recommendations/welcome-backup","/recommendations/welcome-complete","/recommendations/welcome-security","/recommendations/welcome-starter","/recommendations/welcome-antispam","/recommendations/welcome-videopress","/recommendations/welcome-search","/recommendations/welcome-scan","/recommendations/welcome-social-basic","/recommendations/welcome-social-advanced","/recommendations/welcome-social-image-generator","/recommendations/welcome-golden-token","/recommendations/backup-activated","/recommendations/scan-activated","/recommendations/unlimited-sharing-activated","/recommendations/social-advanced-activated","/recommendations/antispam-activated","/recommendations/videopress-activated","/recommendations/search-activated","/recommendations/server-credentials"],K=["my-jetpack "],Y=["/","/dashboard","/reconnect","/my-plan","/plans"],X=["/settings","/security","/performance","/writing","/sharing","/discussion","/earn","/newsletter","/traffic","/privacy"];class Q extends R().Component{constructor(e){super(e),this.closeReconnectModal=this.closeReconnectModal.bind(this),this.onLicenseActivationSuccess=this.onLicenseActivationSuccess.bind(this)}UNSAFE_componentWillMount(){this.props.setInitialState(),n.ZP.setApiRoot(this.props.apiRoot),n.ZP.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener("beforeunload",this.props.clearUnsavedSettingsFlag),this.props.isSiteConnected&&A.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion})}componentDidMount(){const e=T()(".jp-jetpack-connect__container"),t=T()(".jp-connect-full__container");e&&t.length>0&&t.prependTo(e),this.props.isWooCommerceActive&&!this.props.hasSeenWCConnectionModal&&this.props.userCanManageModules&&this.props.history.replace({pathname:"/woo-setup",state:{previousPath:this.props.location.pathname}})}handleRouterWillLeave=()=>{const e=__("There are unsaved settings in this tab that will be lost if you leave it. Proceed?","jetpack");return!!confirm(e)&&(window.setTimeout(this.props.clearUnsavedSettingsFlag,10),!0)};initializeAnalytics=()=>{const e=this.props.tracksUserData;e&&A.Z.initialize(e.userid,e.username,{blog_id:e.blogid})};shouldComponentUpdate(e){return!["/wpbody-content","/wp-toolbar"].includes(e.location.pathname)&&(JSON.stringify(e.connectionStatus)!==JSON.stringify(this.props.connectionStatus)||e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.isConnectingUser!==this.props.isConnectingUser||e.location.pathname!==this.props.location.pathname||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus||e.areThereUnsavedSettings!==this.props.areThereUnsavedSettings||e.isReconnectingSite!==this.props.isReconnectingSite)}componentDidUpdate(e){if(e.location.pathname!==this.props.location.pathname&&this.props.isSiteConnected&&A.Z.tracks.recordEvent("jetpack_wpa_page_view",{path:this.props.location.pathname,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){const e=T()("#toplevel_page_jetpack").find("ul.wp-submenu li");e.find('a[href$="#/settings"]').hide(),e.find('a[href$="admin.php?page=stats"]').hide(),e.find('a[href$="admin.php?page=jetpack-search"]').hide()}this.props.setConnectionStatus(this.props.connectionStatus)}renderMainNav=e=>{if(this.shouldShowWooConnectionScreen())return null;if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return null}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner))return null;if(!this.props.userCanManageModules){if(!this.props.siteConnectionStatus)return null;switch(e){case"/settings":case"/writing":case"/sharing":case"/performance":if(!this.props.isSubscriber)return R().createElement(y.Z,this.props)}return R().createElement(b.Z,this.props)}if(this.isMainConnectScreen())return null;switch(e){case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/newsletter":case"/traffic":case"/privacy":return R().createElement(y.Z,{routeName:this.props.routeName,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl});case"/license/activation":if(this.props.isLinked&&this.props.isConnectionOwner)return null}return R().createElement(b.Z,{routeName:this.props.routeName,blogID:this.props.blogID})};renderMainContent=e=>{if(this.shouldShowWooConnectionScreen()){const e=this.props.location.state?.previousPath,t=e&&"/woo-setup"!==e?`#${e}`:"#/dashboard";return R().createElement(f.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,title:__("Welcome to Jetpack! Security, Growth, & Performance tools for WordPress businesses","jetpack"),logo:R().createElement("img",{src:a.hp+"/jetpack-woocommerce-logo.svg",alt:__("Jetpack and WooCommerce","jetpack")}),buttonLabel:__("Set up Jetpack","jetpack"),redirectUri:"admin.php?page=jetpack",redirectTo:t,from:this.props.location.pathname,isSiteConnected:this.props.isSiteConnected,setHasSeenWCConnectionModal:this.props.setHasSeenWCConnectionModal},R().createElement("p",null,__("Jetpack is the perfect companion plugin for WooCommerce - made by WordPress experts to make your store faster, safer, and to help grow your business.","jetpack")))}if(this.props.partnerCoupon){const e=new URLSearchParams(window.location.search).get("showCouponRedemption");if(!this.props.isOfflineMode&&(!this.props.isSiteConnected||e))return R().createElement(l.es,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,assetBaseUrl:this.props.pluginBaseUrl,connectionStatus:this.props.connectionStatus,partnerCoupon:this.props.partnerCoupon,siteRawUrl:this.props.siteRawUrl,tracksUserData:!!this.props.tracksUserData,analytics:A.Z})}if(this.isUserConnectScreen()&&(this.props.userCanManageModules||this.props.hasConnectedOwner)){const e=new URLSearchParams(location.search.split("?")[1]);return R().createElement(r.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right-secondary.png"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),title:this.props.connectingUserFeatureLabel?(0,m.sprintf)(/* translators: placeholder is a feature label (e.g. SEO, Notifications) */
__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel):__("Unlock all the amazing features of Jetpack by connecting now","jetpack"),buttonLabel:__("Connect your user account","jetpack"),redirectUri:"admin.php?page=jetpack",from:e&&e.get("from")||this.props.connectingUserFrom},R().createElement("ul",null,R().createElement("li",null,__("Receive instant downtime alerts","jetpack")),R().createElement("li",null,__("Automatically share your content on social media","jetpack")),R().createElement("li",null,__("Let your subscribers know when you post","jetpack")),R().createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),R().createElement("li",null,__("Let visitors share your content on social media","jetpack")),R().createElement("li",null,(0,u.createInterpolateElement)(__("And more! <a>See all Jetpack features</a>","jetpack"),{a:R().createElement("a",{href:(0,i.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"})}),R().createElement("a",{className:"jp-connection-screen-icon",href:(0,i.Z)("jetpack-features"),target:"_blank",rel:"noreferrer"},R().createElement(p.Dashicon,{icon:"external"})))))}if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&R().createElement("div",{"aria-live":"assertive"},R().createElement(C.Z,this.props));if(this.isMainConnectScreen()){const e=new URLSearchParams(location.search.split("?")[1]);return R().createElement(r.Z,{apiNonce:this.props.apiNonce,registrationNonce:this.props.registrationNonce,apiRoot:this.props.apiRoot,images:["/images/connect-right.jpg"],assetBaseUrl:this.props.pluginBaseUrl,autoTrigger:this.shouldAutoTriggerConnection(),redirectUri:"admin.php?page=jetpack",from:e&&e.get("from")},R().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),R().createElement("ul",null,R().createElement("li",null,__("Measure your impact with Jetpack Stats","jetpack")),R().createElement("li",null,__("Speed up your site with optimized images","jetpack")),R().createElement("li",null,__("Protect your site against bot attacks","jetpack")),R().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),R().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))))}let t;switch(e){case"/dashboard":case"/reconnect":case"/disconnect":case"/connect-user":case"/connect-user-setup":case"/woo-setup":t=R().createElement(h.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/setup":this.props.isSiteConnected&&(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/my-plan":t=R().createElement(M.Z,{siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/plans":case"/plans-prompt":window.location.href=(0,i.Z)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/newsletter":case"/traffic":case"/privacy":t=R().createElement(U.Z,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules});break;case"/license/activation":this.props.isLinked&&this.props.isConnectionOwner?t=R().createElement(c.I,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep}):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;case"/recommendations":case"/recommendations/site-type":case"/recommendations/product-suggestions":case"/recommendations/product-purchased":case"/recommendations/agency":case"/recommendations/woocommerce":case"/recommendations/monitor":case"/recommendations/newsletter":case"/recommendations/related-posts":case"/recommendations/creative-mail":case"/recommendations/site-accelerator":case"/recommendations/publicize":case"/recommendations/protect":case"/recommendations/anti-spam":case"/recommendations/videopress":case"/recommendations/backup-plan":case"/recommendations/boost":case"/recommendations/summary":case"/recommendations/vaultpress-backup":case"/recommendations/vaultpress-for-woocommerce":case"/recommendations/welcome-backup":case"/recommendations/welcome-complete":case"/recommendations/welcome-security":case"/recommendations/welcome-starter":case"/recommendations/welcome-antispam":case"/recommendations/welcome-videopress":case"/recommendations/welcome-search":case"/recommendations/welcome-scan":case"/recommendations/welcome-social-basic":case"/recommendations/welcome-social-advanced":case"/recommendations/welcome-golden-token":case"/recommendations/backup-activated":case"/recommendations/scan-activated":case"/recommendations/unlimited-sharing-activated":case"/recommendations/social-advanced-activated":case"/recommendations/welcome-social-image-generator":case"/recommendations/antispam-activated":case"/recommendations/videopress-activated":case"/recommendations/search-activated":case"/recommendations/server-credentials":this.props.showRecommendations?t=R().createElement(I.V,null):(this.props.history.replace("/dashboard"),t=this.getAtAGlance());break;default:if(Z.w7.includes(e)){t=R().createElement(P.Z,null);break}this.props.history.replace("/dashboard"),t=this.getAtAGlance()}return this.props.isWoaSite?window.wpNavMenuClassChange({dashboard:1,settings:1}):this.props.isLinked||this.props.showMyJetpack?!this.props.isLinked&&this.props.showMyJetpack?window.wpNavMenuClassChange({myJetpack:1,dashboard:2,settings:3}):this.props.isLinked&&!this.props.showMyJetpack?window.wpNavMenuClassChange({activityLog:1,dashboard:2,settings:3}):window.wpNavMenuClassChange():window.wpNavMenuClassChange({dashboard:1,settings:2}),R().createElement("div",{"aria-live":"assertive",className:""+(this.shouldBlurMainContent()?"blur":"")},t)};getAtAGlance(){return R().createElement(h.Z,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}shouldShowAppsCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanViewStats&&Y.includes(this.props.location.pathname)}shouldShowJetpackManageBanner(){const{site_count:e}=this.props.connectedWpComUser;return this.props.userCanConnectSite&&e>=2&&this.props.isSiteConnected&&!this.props.isAtomicSite&&!this.shouldShowWooConnectionScreen()&&Y.includes(this.props.location.pathname)}shouldShowSupportCard(){return this.props.isSiteConnected&&!this.shouldShowWooConnectionScreen()&&this.props.userCanManageModules&&Y.includes(this.props.location.pathname)}shouldShowRewindStatus(){return this.props.isSiteConnected&&Y.includes(this.props.location.pathname)}shouldShowMasthead(){return!this.isMainConnectScreen()&&[...Y,...$,...X].includes(this.props.location.pathname)}shouldShowFooter(){return[...Y,...X,...$,...Z.w7].includes(this.props.location.pathname)}shouldBlurMainContent(){return this.props.isReconnectingSite}shouldShowReconnectModal(){return"/reconnect"===this.props.location.pathname}closeReconnectModal(){this.props.history.replace("/dashboard")}isMainConnectScreen(){return!1===this.props.siteConnectionStatus&&this.props.userCanConnectSite}isUserConnectScreen(){return"/connect-user"===this.props.location.pathname||"/connect-user-setup"===this.props.location.pathname}shouldShowWooConnectionScreen(){return"/woo-setup"===this.props.location.pathname}shouldConnectUser(){return this.props.isConnectingUser}connectUser(){this.props.resetConnectUser(),this.props.history.replace("/connect-user")}isLicensingScreen(){return this.props.location.pathname.startsWith("/license")}shouldAutoTriggerConnection(){return this.props.location.pathname.startsWith("/setup")||this.props.location.pathname.startsWith("/connect-user-setup")}onLicenseActivationSuccess(){this.props.updateUserLicensesCounts().then((()=>{this.props.updateLicensingActivationNoticeDismiss()})),this.props.fetchSiteData(),this.props.fetchSitePurchases(),this.props.fetchModules(),this.props.fetchSettings()}render(){const e=["jp-lower"];this.isMainConnectScreen()&&e.push("jp-main-connect-screen"),this.isUserConnectScreen()&&e.push("jp-user-connect-screen"),this.isLicensingScreen()&&e.push("jp-licensing-screen");const t=this.renderMainNav(this.props.location.pathname),s=t||this.shouldShowMasthead()||this.shouldShowRewindStatus();return R().createElement("div",null,this.shouldShowReconnectModal()&&R().createElement(j.Z,{show:!0,onHide:this.closeReconnectModal}),s&&R().createElement("div",{className:"jp-top"},R().createElement("div",{className:"jp-top-inside"},this.shouldShowMasthead()&&R().createElement(_.Z,{location:this.props.location}),this.shouldShowRewindStatus()&&R().createElement(v.Z,null),t)),R().createElement("div",{className:e.join(" ")},R().createElement(g.Z,null),R().createElement(w.ZP,null),this.shouldConnectUser()&&this.connectUser(),R().createElement(z.NL,{when:this.props.areThereUnsavedSettings,message:this.handleRouterWillLeave}),this.renderMainContent(this.props.location.pathname),this.shouldShowJetpackManageBanner()&&R().createElement(G.Z,{path:this.props.location.pathname,isAgencyAccount:this.props.jetpackManage.isAgencyAccount}),this.shouldShowSupportCard()&&R().createElement(S.Z,{path:this.props.location.pathname}),this.shouldShowAppsCard()&&R().createElement(k.Z,null)),this.shouldShowFooter()&&R().createElement(E.Z,{siteAdminUrl:this.props.siteAdminUrl}),R().createElement(N.Z,{analytics:A.Z}))}}const ee=(0,L.$j)((e=>({isOfflineMode:(0,D.Ex)(e),connectionStatus:(0,D.Zp)(e),siteConnectionStatus:(0,D.Gz)(e),connectedWpComUser:(0,D.tN)(e),isLinked:(0,D.BU)(e),isConnectingUser:(0,D.zq)(e),hasConnectedOwner:(0,D.it)(e),isConnectionOwner:(0,D.QM)(e),siteRawUrl:(0,V.JR)(e),blogID:(0,V.EZ)(e),siteAdminUrl:(0,V.wW)(e),searchTerm:(0,J.He)(e),apiRoot:(0,V.yB)(e),apiNonce:(0,V.VY)(e),registrationNonce:(0,V.H$)(e),tracksUserData:(0,V.hv)(e),areThereUnsavedSettings:(0,q.GD)(e),userCanManageModules:(0,V.pK)(e),userCanConnectSite:(0,V.Mc)(e),userCanViewStats:(0,V.px)(e),isSiteConnected:(0,D.q7)(e),isReconnectingSite:(0,D.O_)(e),rewindStatus:(0,H.of)(e),currentVersion:(0,V.w1)(e),showRecommendations:(0,V.mb)(e),pluginBaseUrl:(0,V.wB)(e),connectUrl:(0,D.AM)(e),connectingUserFeatureLabel:(0,D.xP)(e),connectingUserFrom:(0,D._8)(e),isAtomicSite:(0,V.Ug)(e),isWoaSite:(0,V.Pw)(e),showMyJetpack:(0,V.GC)(e),isWooCommerceActive:(0,V.nP)(e),hasSeenWCConnectionModal:(0,D.rH)(e),partnerCoupon:(0,V.DV)(e),currentRecommendationsStep:(0,V.rd)(e),isSubscriber:(0,V.dc)(e),jetpackManage:(0,V.jT)(e)})),(e=>({setInitialState:()=>e((0,V.KY)()),clearUnsavedSettingsFlag:()=>e((0,q._1)()),setHasSeenWCConnectionModal:()=>e((0,D.qJ)()),resetConnectUser:()=>e((0,D.HD)()),updateLicensingActivationNoticeDismiss:()=>e((0,B.bT)()),updateUserLicensesCounts:()=>e((0,B.Ng)()),fetchSiteData:()=>e((0,W.tO)()),fetchSitePurchases:()=>e((0,W.Z_)()),fetchModules:()=>e((0,F.Z$)()),fetchSettings:()=>e((0,q.wv)())})))((0,d.withDispatch)((e=>({setConnectionStatus:t=>{e(o.t).setConnectionStatus(t)}})))((0,z.EN)(Q)));window.wpNavMenuClassChange=function(e={myJetpack:1,activityLog:2,dashboard:3,settings:4}){let t=window.location.hash,s=new URLSearchParams(window.location.search);T()(".current").each((function(e,t){T()(t).removeClass("current")}));const a=e=>T()("#toplevel_page_jetpack").find("li").filter((function(t){return t===e}))[0];t=t.split("?")[0].replace(/#/,""),s=s.get("page"),K.includes(s)?a(e.myJetpack)?.classList.add("current"):Y.includes(t)||$.includes(t)||Z.w7.includes(t)?a(e.dashboard)?.classList.add("current"):X.includes(t)&&a(e.settings)?.classList.add("current");const n=T()("body");n.on("click",'a[href$="#/dashboard"], a[href$="#/settings"], .jp-dash-section-header__settings[href="#/security"], .dops-button[href="#/my-plan"], .dops-button[href="#/plans"], .jp-dash-section-header__external-link[href="#/security"]',(function(){window.scrollTo(0,0)})),n.on("click",".jetpack-js-stop-propagation",(function(e){e.stopPropagation()}))}},6257:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(53184),n=s(92819);function i(e){(0,n.assign)(e,a.EventEmitter.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},38106:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(65736),n=s(70298),i=s(69270),r=s(99196),o=s.n(r),c=s(59309),l=s(96300),p=s(33002),d=s(49308),u=s(92709),m=s(41863);const __=a.__;const h=(0,c.$j)((e=>({activeFeatures:(0,p.$l)(e),activeProducts:(0,p.p)(e),availableFeatures:(0,p.ms)(e),getSiteConnectionStatus:()=>(0,l.Gz)(e),purchases:(0,p.qn)(e),sitePlan:(0,p.UL)(e)})))((function(e){let t=e.sitePlan.product_slug||"",s=e.availableFeatures,a=e.activeFeatures;return"offline"===e.getSiteConnectionStatus(e)&&(t="offline",s={},a={}),o().createElement(o().Fragment,null,o().createElement("h1",{className:"screen-reader-text"},__("Jetpack My Plan Details","jetpack")),o().createElement(i.Z,null),o().createElement(n.Z,null),o().createElement(m.Z,{siteRawUrl:e.siteRawUrl}),o().createElement(u.Z,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteAdminUrl:e.siteAdminUrl}),o().createElement(d.Z,{activeFeatures:a,availableFeatures:s,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl,blogID:e.blogID}))}))},18669:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(80800),n=s(84069),i=s(25162),r=s.n(i),o=s(99196),c=s.n(o),l=s(71459);const p=e=>{const{additionalEventProperties:t,productSlug:s,action:i,title:r,tagLine:p,trackingId:d}=e;(0,o.useEffect)((()=>{n.Z.tracks.recordEvent("jetpack_my_plan_banner_view",{type:d,...t})}),[t,d]);const u=(0,o.useCallback)((()=>{n.Z.tracks.recordJetpackClick({target:d,feature:"my-plan-banner",page:"my-plan",...t})}),[t,d]);return c().createElement("div",{className:"jp-my-plan-banner"},c().createElement("div",{className:"jp-my-plan-banner__card dops-card",style:{backgroundImage:`url(${a.hp}jetpack-banner-gradient.png)`}},c().createElement(l.Z,{productSlug:s,action:c().cloneElement(i,{onClick:u}),title:r,tagLine:p})))};p.propTypes={action:r().element.isRequired,productSlug:r().string.isRequired,trackingId:r().string.isRequired,additionalEventProperties:r().object,tagLine:r().oneOfType([r().string,r().node,r().element]),title:r().oneOfType([r().string,r().node,r().element])};const d=p},49308:(e,t,s)=>{"use strict";s.d(t,{Z:()=>C});var a=s(80800),n=s(6895),i=s(55609),r=s(65736),o=s(97506),c=s(7679),l=s(84069),p=s(59584),d=s(92819),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h),k=s(59309),f=s(69508),v=s(50416),E=s(91952),w=s(11834),_=s(33002),b=s(61372);const __=r.__;class y extends g().Component{static propTypes={plan:m().string};static defaultProps={plan:""};trackPlansClick=e=>{l.Z.tracks.recordJetpackClick({page:"my-plan",target:e,plan:this.props.plan})};handleButtonClickForTracking=e=>()=>this.trackPlansClick(e);activateAds=()=>{this.props.activateModule("wordads"),this.trackPlansClick("activate_wordads")};activatePublicize=()=>{this.props.activateModule("publicize"),this.trackPlansClick("activate_publicize")};activateVideoPress=()=>{this.props.activateFeature("videopress"),this.trackPlansClick("activate_videopress")};activateGoogleAnalytics=()=>{this.props.activateModule("google-analytics"),this.trackPlansClick("activate_ga")};render(){let e="";const t="offline"!==this.props.plan?(0,p.scx)(this.props.plan):"offline",s=(0,d.includes)(["is-premium-plan","is-business-plan","is-security-t1-plan","is-security-t2-plan","is-complete-plan","is-daily-security-plan","is-realtime-security-plan"],t),r="active"===(0,d.get)(this.props.rewindStatus,["state"],!1),l=!this.props.showBackups||!r&&"unavailable"!==(0,d.get)(this.props.rewindStatus,["state"],!1),u=e=>{const{title:t,description:s}=e;return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site securely backed up with Jetpack Backup","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},t),g().createElement("p",null,s),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_backup_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your backups","jetpack")))))},m=()=>{if(l)return;if(r)return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-backup.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site backups","jetpack")),g().createElement("p",null,__("Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_security_dash_rewind"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your security activity","jetpack")))));let e="";switch(t){case"is-personal-plan":e=__("Daily backup of all your site data with unlimited space and one-click restores","jetpack");break;case"is-premium-plan":e=__("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;case"is-business-plan":e=__("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support","jetpack");break;default:e=""}return g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site security","jetpack")),g().createElement("p",null,e+__(" (powered by VaultPress).","jetpack")),this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_security_dash"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("vaultpress-dashboard")},__("View your security dashboard","jetpack"))):g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("configure_vault"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=vaultpress"})},__("View settings","jetpack")))))};let h;"is-daily-backup-plan"===t&&(h=u({title:__("Automated Daily Backups","jetpack"),description:__("We back up your website every day, so you never have to worry about your data again.","jetpack")})),["is-backup-t1-plan","is-backup-t2-plan","is-jetpack-starter-plan","is-realtime-backup-plan"].includes(t)&&(h=u({title:__("Automated real-time backups","jetpack"),description:__("We back up your website with every change you make, making it easy to fix your mistakes.","jetpack")}));const k=()=>g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-search.svg",className:"jp-landing__plan-features-icon",alt:__("A Jetpack Site with the power of Jetpack Search","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Instant search and filtering","jetpack")),g().createElement("p",null,__("Relevant search results and filtering tightly integrated with your theme.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_search_customizer"),href:this.props.siteAdminUrl+"admin.php?page=jetpack-search-configure",compact:!0,rna:!0},__("Customize Search","jetpack"))));switch(t){case"is-personal-plan":case"is-premium-plan":case"is-jetpack-starter-plan":case"is-security-t1-plan":case"is-security-t2-plan":case"is-business-plan":case"is-complete-plan":case"is-daily-security-plan":case"is-realtime-security-plan":e=g().createElement("div",{className:"jp-landing__plan-features"},"is-personal-plan"===t&&m(),"is-premium-plan"===t&&m(),"is-business-plan"===t&&m(),this.props.hasInstantSearch&&k(),"is-jetpack-starter-plan"===t&&h,g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("paid_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-anti-spam.svg",className:"jp-landing__plan-features-icon",alt:__("A folder holding real comments","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Anti-spam","jetpack")),g().createElement("p",null,__("Spam is automatically blocked from your comments.","jetpack")),this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_spam_stats"),href:`${this.props.siteAdminUrl}admin.php?page=akismet-key-config&view=stats`,compact:!0,rna:!0},__("View your spam stats","jetpack")):g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("configure_akismet"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-plugins-setup",{site:this.props.blogID??this.props.siteRawUrl,query:"only=akismet"})},__("View settings","jetpack"))))),s&&"inactive"!==this.props.getModuleOverride("videopress")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-videopress.svg",className:"jp-landing__plan-features-icon",alt:__("A cloud with multiple types of content floating around it","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("VideoPress","jetpack")),g().createElement("p",null,__("High-speed, high-definition video hosting with no third-party ads.","jetpack")),this.props.getFeatureState("videopress")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("upload_videos"),href:this.props.siteAdminUrl+"upload.php",compact:!0,rna:!0},__("Upload videos","jetpack")):g().createElement(o.Z,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature("videopress"),compact:!0,rna:!0},__("Activate VideoPress","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),s&&"inactive"!==this.props.getModuleOverride("wordads")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A chart showing an healthy increase in earnings","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Monetize your site with ads","jetpack")),g().createElement("p",null,__("WordAds lets you earn money by displaying promotional content. Start earning today.","jetpack")),this.props.isModuleActivated("wordads")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_earnings"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("wpcom-ads-earnings",{site:this.props.blogID??this.props.siteRawUrl})},__("View your earnings","jetpack"))):g().createElement(o.Z,{onClick:this.activateAds,disabled:this.props.isActivatingModule("wordads"),compact:!0,rna:!0},__("Start earning","jetpack")))),s&&"inactive"!==this.props.getModuleOverride("google-analytics")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Charts depicting an evolution in traffic and engagement","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Google Analytics","jetpack")),g().createElement("p",null,__("Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.","jetpack")),this.props.isModuleActivated("google-analytics")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("configure_ga"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-marketing-traffic",{site:this.props.blogID??this.props.siteRawUrl})},__("Configure Google Analytics","jetpack"))):g().createElement(o.Z,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule("google-analytics"),compact:!0,rna:!0},__("Activate Google Analytics","jetpack")))),s&&"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Marketing automation","jetpack")),g().createElement("p",null,__("Schedule unlimited tweets, Facebook posts, and other social posts in advance.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("schedule_posts"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-edit-posts",{site:this.props.blogID??this.props.siteRawUrl})},__("Schedule posts","jetpack"))):g().createElement(o.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))));break;case"is-free-plan":case"is-backup-t0-plan":case"is-backup-t1-plan":case"is-backup-t2-plan":case"is-search-plan":case"is-jetpack-golden-token-plan":case"is-free-search-plan":case"is-jetpack-creator-plan":case"offline":case"is-daily-backup-plan":case"is-realtime-backup-plan":e=g().createElement("div",{className:"jp-landing__plan-features"},h,this.props.hasInstantSearch&&k(),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-protect.svg",className:"jp-landing__plan-features-icon",alt:__("A secure site, locked and protected by Jetpack","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Always-on security","jetpack")),g().createElement("p",null,__("Prevent login attacks, and get instant notifications when there’s an issue with your site.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("free_security"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-settings-security",{site:this.props.blogID??this.props.siteRawUrl})},__("Set up your site security","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-boost.svg",className:"jp-landing__plan-features-icon",alt:__("A fast and performant website","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Optimized performance","jetpack")),g().createElement("p",null,__("Load pages faster by serving your images from our global network of servers.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("free_performance"),href:this.props.siteAdminUrl+"admin.php?page=jetpack#/performance",compact:!0,rna:!0},__("Make your site faster","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("A wide variety of themes and tools to customize a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Design the perfect website","jetpack")),g().createElement("p",null,__("Get access to professionally crafted themes offered on WordPress.com, & customize your site exactly how you like it.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("free_themes"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-themes",{site:this.props.blogID??this.props.siteRawUrl})},__("Explore themes","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"products/product-jetpack-social.svg",className:"jp-landing__plan-features-icon",alt:__("Jetpack Stats showing an evolution in traffic and engagement","jetpack")})),"inactive"!==this.props.getModuleOverride("publicize")&&g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Increase traffic to your site","jetpack")),g().createElement("p",null,__("Reach a wider audience by automatically sharing your posts on social media.","jetpack")),this.props.isModuleActivated("publicize")?g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("free_sharing"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-marketing-connections",{site:this.props.blogID??this.props.siteRawUrl})},__("Start sharing","jetpack"))):g().createElement(o.Z,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule("publicize"),compact:!0,rna:!0},__("Activate Jetpack Social","jetpack")))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Interface showing a chronological list of changes and updates in a site","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Site activity","jetpack")),g().createElement("p",null,__("View a chronological list of all the changes and updates to your site in an organized, readable way.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("view_site_activity"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("calypso-activity-log",{site:this.props.blogID??this.props.siteRawUrl})},__("View your site activity","jetpack"))))),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("div",{className:"jp-landing__plan-features-img"},g().createElement("img",{src:a.hp+"plans/jetpack.svg",className:"jp-landing__plan-features-icon",alt:__("Chat bubbles representing getting in touch with support","jetpack")})),g().createElement("div",{className:"jp-landing__plan-features-text"},g().createElement("h3",{className:"jp-landing__plan-features-title"},__("Support documentation","jetpack")),g().createElement("p",null,__("Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.","jetpack")),g().createElement(o.Z,{onClick:this.handleButtonClickForTracking("free_support_documentation"),compact:!0,rna:!0},g().createElement(i.ExternalLink,{href:(0,n.Z)("jetpack-support")},__("Search support docs","jetpack"))))));break;default:e=g().createElement("div",{className:"jp-landing__plan-features is-loading"},g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),g().createElement("div",{className:"jp-landing__plan-features-card"},g().createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),g().createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return g().createElement("div",null,g().createElement(c.Z,null),e)}}const C=(0,k.$j)((e=>({hasInstantSearch:(0,_.CV)(e,"instant-search"),isFetchingPluginsData:(0,b.vz)(e),isPluginActive:t=>(0,b.TB)(e,t),isPluginInstalled:t=>(0,b.P8)(e,t),isModuleActivated:t=>(0,v.mp)(e,t),isActivatingModule:t=>(0,v.ZY)(e,t),getModuleOverride:t=>(0,v.Qy)(e,t),showBackups:(0,f.xR)(e),getFeatureState:t=>(0,w.$8)(e,t),isActivatingFeature:t=>(0,w.Cu)(e,t)})),(e=>({fetchPluginsData:()=>e((0,b.s4)()),activateModule:t=>e((0,v.d)(t)),activateFeature:t=>e((0,E.VP)({[t]:!0}))})))(y)},71459:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65235),n=s.n(a),i=s(53234),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c);const p=({productSlug:e,action:t,isError:s,isPlaceholder:a,details:r,tagLine:o,title:c,isPlan:p,cardClassNames:d=[]})=>{d=n()("my-plan-card",...d,{"is-placeholder":a,"is-plan":p,"has-action-only":t&&!r&&!a});const u=n()("my-plan-card__details",{"is-error":s});return l().createElement("div",{className:d},l().createElement("div",{className:"my-plan-card__primary"},l().createElement("div",{className:"my-plan-card__icon"},e&&l().createElement(i.Z,{plan:e,alt:""})),l().createElement("div",{className:"my-plan-card__header"},c&&l().createElement("h2",{className:"my-plan-card__title"},c),o&&l().createElement("p",{className:"my-plan-card__tag-line"},o))),(r||t||a)&&l().createElement("div",{className:"my-plan-card__secondary"},l().createElement("div",{className:u},a?null:r),l().createElement("div",{className:"my-plan-card__action"},a?null:t)))};p.propTypes={productSlug:o().string.isRequired,action:o().oneOfType([o().node,o().element]),isError:o().bool,isPlaceholder:o().bool,details:o().oneOfType([o().string,o().node,o().element]),tagLine:o().oneOfType([o().string,o().node,o().element]),title:o().oneOfType([o().string,o().node,o().element]),classNames:o().array};const d=p},92709:(e,t,s)=>{"use strict";s.d(t,{Z:()=>A});var a=s(82674),n=s.n(a),i=s(6895),r=s(55609),o=s(69771),c=s(69307),l=s(65736),p=s(65235),d=s.n(p),u=s(97506),m=s(85799),h=s(30420),g=s(38833),k=s(37834),f=s(84069),v=s(59584),E=s(92819),w=s(25162),_=s.n(w),b=s(99196),y=s.n(b),C=s(59309),j=s(69508),S=s(59963),N=s(71459),x=s(47487);const __=l.__,_n=l._n,_x=l._x;class T extends y().Component{getProductProps(e,t=[]){const{displayBackups:s,dateFormat:a,purchases:n}=this.props,i={productSlug:e};if(!e)return{...i,isPlaceholder:!0};const r=(0,E.find)(n,(t=>t.product_slug===e));let p,d;switch(r&&(p=y().createElement(g.Z,{key:"product-expiration",dateFormat:a,expiryDate:r.expiry_date,purchaseDate:r.subscribed_date,isRefundable:r.is_refundable,isGift:(0,v.oay)(r.product_slug),purchaseID:r.ID}),d="1"===r.active?(0,o.isInTheFuture)(r.expiry_date)||null===r.expiry_date?y().createElement(h.w,{key:"product-activated",type:null===r.expiry_date?"never-expires":""}):y().createElement(h.w,{key:"product-expired",type:"product-expired"}):null),(0,v.scx)(e)){case"is-free-plan":{let e=__("Worried about security? Get backups, automated security fixes and more: <a>Upgrade now</a>","jetpack");if(t.length){const s=t.some((({product_slug:e})=>v.jTC.includes(e))),a=t.some((({product_slug:e})=>v.Cbu.includes(e)));s&&a?e=__("Upgrade your site to access additional features, including spam protection and priority support: <a>Upgrade now</a>","jetpack"):s?e=__("Upgrade your site to access additional features, including spam protection, security scanning, and priority support: <a>Upgrade now</a>","jetpack"):a&&(e=__("Upgrade your site to access additional features, including spam protection, backups, and priority support: <a>Upgrade now</a>","jetpack"))}return{...i,tagLine:(0,c.createInterpolateElement)(e,{a:y().createElement(k.Z,{source:"my-plan-header-free-plan-text-link",target:"upgrade-now",feature:"my-plan-header-free-upgrade"})}),title:__("Jetpack Free","jetpack")}}case"is-personal-plan":return{...i,details:p,tagLine:s?__("Daily backups, spam filtering, and priority support.","jetpack"):__("Spam filtering and priority support.","jetpack",0),title:__("Jetpack Personal","jetpack")};case"is-premium-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Premium","jetpack")};case"is-business-plan":return{...i,details:[d,p],tagLine:__("Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.","jetpack"),title:__("Jetpack Professional","jetpack")};case"is-security-t1-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */
_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:y().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */
_n("Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.","Enjoy the peace of mind of complete site protection. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:y().createElement("strong",null)}),title:__("Jetpack Security","jetpack")};case"is-complete-plan":return{...i,details:[d,p],tagLine:__("The ultimate toolkit for best-in-class websites: complete security, performance, and growth.","jetpack"),title:__("Jetpack Complete","jetpack")};case"is-backup-t0-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */
_n("Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.",1,"jetpack"),1),{strong:y().createElement("strong",null)}),title:__("VaultPress Backup","jetpack")};case"is-backup-t1-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of gigabytes of storage space the site has. */
_n("Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dGB</strong> of storage space.",10,"jetpack"),10),{strong:y().createElement("strong",null)}),title:__("VaultPress Backup","jetpack")};case"is-backup-t2-plan":return{...i,details:[d,p],tagLine:(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: %1$d is the number of terabytes of storage space the site has. */
_n("Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.","Your data is being securely backed up as you edit. You have <strong>%1$dTB</strong> of storage space.",1,"jetpack"),1),{strong:y().createElement("strong",null)}),title:__("VaultPress Backup","jetpack")};case"is-search-plan":return{...i,details:[d,p],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search","jetpack")};case"is-free-search-plan":return{...i,details:[d,p],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search Free","jetpack")};case"is-scan-plan":return{...i,details:[d,p],tagLine:__("Automatic scanning and one-click fixes keep your site one step ahead of security threats.","jetpack"),title:(0,c.createInterpolateElement)(__("Jetpack Scan","jetpack"),{em:y().createElement("em",null)})};case"is-anti-spam-plan":return{...i,details:[d,p],tagLine:__("Automatically clear spam from comments and forms. Save time, get more responses, give your visitors a better experience – all without lifting a finger.","jetpack"),title:__("Akismet Anti-spam","jetpack")};case"is-daily-security-plan":return{...i,details:p,tagLine:__("Enjoy the peace of mind of complete site protection. Great for brochure sites, restaurants, blogs, and resume sites.","jetpack"),title:__("Jetpack Security Daily","jetpack")};case"is-realtime-security-plan":return{...i,details:p,tagLine:__("Additional security for sites with 24/7 activity. Recommended for eCommerce stores, news organizations, and online forums.","jetpack"),title:__("Jetpack Security Real-Time","jetpack")};case"is-daily-backup-plan":return{...i,details:p,tagLine:__("Your data is being securely backed up every day with a 30-day archive.","jetpack"),title:(0,c.createInterpolateElement)(__("Jetpack Backup <em>Daily</em>","jetpack"),{em:y().createElement("em",null)})};case"is-realtime-backup-plan":return{...i,details:p,tagLine:__("Your data is being securely backed up as you edit.","jetpack"),title:(0,c.createInterpolateElement)(__("Jetpack Backup <em>Real-Time</em>","jetpack"),{em:y().createElement("em",null)})};case"is-videopress-plan":return{...i,details:[d,p],tagLine:__("High-quality, ad-free video built specifically for WordPress.","jetpack"),title:__("Jetpack VideoPress","jetpack")};case"is-jetpack-social-basic-plan":return{...i,details:[d,p],tagLine:__("You can automatically share your content to social media sites.","jetpack"),title:(0,c.createInterpolateElement)(__("Jetpack Social Basic","jetpack"),{em:y().createElement("em",null)})};case"is-jetpack-social-advanced-plan":return{...i,details:[d,p],tagLine:__("You can automatically share your content to social media sites and get access to advanced posting options.","jetpack"),title:(0,c.createInterpolateElement)(__("Jetpack Social Advanced","jetpack"),{em:y().createElement("em",null)})};case"is-jetpack-boost-plan":return{...i,details:[d,p],tagLine:__("Jetpack Boost gives your site the same performance advantages as the world’s leading websites, no developer required.","jetpack"),title:__("Jetpack Boost","jetpack")};case"is-jetpack-ai-plan":return{...i,details:[d,p],tagLine:__("Experience the ease of crafting content with intuitive and powerful AI.","jetpack"),title:__("Jetpack AI","jetpack")};case"is-jetpack-golden-token-plan":return{...i,details:[d,p],tagLine:__("You have been gifted a Jetpack Golden Token. This unlocks a lifetime of Jetpack VaultPress Backup and Jetpack Scan for your website.","jetpack"),title:__("Jetpack Golden Token","jetpack"),cardClassNames:["plan-golden-token"]};case"is-jetpack-starter-plan":return{...i,details:[d,p],tagLine:__("Essential security tools: real-time backups and comment spam protection.","jetpack"),title:__("Jetpack Starter","jetpack")};case"is-jetpack-stats-plan":return{...i,details:[d,p],tagLine:__("Simple, yet powerful analytics with priority support.","jetpack"),title:__("Jetpack Stats","jetpack")};case"is-free-jetpack-stats-plan":return{...i,details:[d,p],tagLine:__("Simple, yet powerful analytics.","jetpack"),title:__("Jetpack Stats Free","jetpack")};case"is-jetpack-creator-plan":return{...i,details:[d,p],tagLine:__("Craft stunning content, boost your subscriber base, and monetize your online presence.","jetpack"),title:__("Jetpack Creator","jetpack")};default:return{...i,isPlaceholder:!0}}}renderPlan(){return(0,E.isEmpty)(this.props.activeProducts)||this.props.plan!==v.ljz?y().createElement(m.Z,{compact:!0},this.renderHeader(__("My Plan","jetpack")),y().createElement(N.Z,n()({},this.getProductProps(this.props.plan,this.props.activeProducts),{isPlan:!0}))):null}renderProducts(){return(0,E.isEmpty)(this.props.activeProducts)?null:y().createElement(m.Z,{compact:!0},this.renderHeader(__("My Products","jetpack")),this.props.activeProducts.map((({ID:e,product_slug:t})=>y().createElement(N.Z,n()({key:"product-card-"+e},this.getProductProps(t))))))}renderHeader(e){return y().createElement("h3",{className:"jp-landing__card-header"},e)}renderLicensingActions=(e="header")=>{const{hasDetachedUserLicenses:t,showRecommendations:s,siteAdminUrl:a,purchases:n}=this.props;if(!s)return null;const o=!!n?.length&&"header"===e;return y().createElement(m.Z,{compact:!0},y().createElement("div",{className:"jp-landing__licensing-actions"},"header"===e&&y().createElement("span",null,(0,c.createInterpolateElement)(/* translators: %s is the link to the License management page. */
__("Got a license key? <a>Activate it here.</a>","jetpack"),{a:y().createElement("a",{href:window.Initial_State?.useMyJetpackLicensingUI?a+"admin.php?page=my-jetpack#/add-license":a+"admin.php?page=jetpack#/license/activation",onClick:this.trackLicenseActivationClick,className:"jp-landing__licensing-actions-link"})})),y().createElement("div",{className:d()("jp-landing__licensing-actions-item",{"no-licenses":!t,"no-purchases":!o})},o&&y().createElement(u.Z,{onClick:this.trackAllPurchasesClick,compact:!0,rna:!0},y().createElement(r.ExternalLink,{href:(0,i.Z)("calypso-purchases")},__("View all purchases","jetpack"))),"footer"===e&&y().createElement(u.Z,{href:a+"admin.php?page=jetpack#/recommendations",onClick:this.trackRecommendationsClick,primary:!0,rna:!0},_x("Recommendations","Navigation item.","jetpack")))))};trackAllPurchasesClick=()=>{f.Z.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})};trackLicenseActivationClick=()=>{f.Z.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})};trackRecommendationsClick=()=>{f.Z.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})};renderFooter(){return!this.props.hasDetachedUserLicenses&&this.renderLicensingActions("footer")}render(){return y().createElement("div",{className:"jp-landing__plans"},this.renderLicensingActions(),this.renderPlan(),this.renderProducts(),this.renderFooter(),this.props.showLicensingUi&&y().createElement(m.Z,{compact:!0},y().createElement(x.Z,null)))}}T.propTypes={activeProducts:_().array,plan:_().string,purchases:_().array,siteAdminUrl:_().string,dateFormat:_().string,displayBackups:_().bool,plansMainTopUpgradeUrl:_().string,showRecommendations:_().bool};const A=(0,C.$j)((e=>({dateFormat:(0,j.mh)(e),displayBackups:(0,j.xR)(e),plansMainTopUpgradeUrl:(0,j.Qq)(e,"plans-main-top"),showRecommendations:(0,j.mb)(e),showLicensingUi:(0,j.Yg)(e),hasDetachedUserLicenses:!!(0,S.O4)(e)})))(T)},47487:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(64743),n=s(65736),i=s(97506),r=s(41549),o=s(9494),c=s(99196),l=s.n(c),p=s(59309),d=s(59963);const __=n.__,_x=n._x,u=(0,p.$j)(null,{errorNotice:r.tF,successNotice:r.RT,updateUserLicensesCounts:d.Ng})((({errorNotice:e,successNotice:t,updateUserLicensesCounts:s})=>{const[n,r]=(0,c.useState)(!1),[p,d]=(0,c.useState)(""),u=(0,c.useCallback)((e=>{d(e.target.value)}),[]),m=(0,c.useCallback)((()=>{p&&!n&&(r(!0),a.ZP.updateLicenseKey(p).then((()=>{s(),t(__("Jetpack license key added. It may take a minute for the license to be processed.","jetpack")),r(!1),d("")})).catch((()=>{e(__("Error adding Jetpack license key.","jetpack")),r(!1)})))}),[e,t,n,p,s]);return l().createElement("div",{className:"jp-landing__plan-features-header-jetpack-license"},l().createElement("h3",null,__("Jetpack License","jetpack")),l().createElement("p",null,__('If you have a Jetpack license key paste it here to queue it for activation. Once your license is processed your product will appear under "My Plan".',"jetpack")),l().createElement(o.Z,{name:"jetpack_license_key",className:"code",value:p,placeholder:__("Jetpack licence key","jetpack"),disabled:n,onChange:u}),l().createElement(i.Z,{primary:!0,compact:!0,onClick:m},n?_x("Applying…","Button caption","jetpack"):_x("Apply license","Button caption","jetpack",0)))}))},41863:(e,t,s)=>{"use strict";s.d(t,{Z:()=>h});var a=s(6895),n=s(65736),i=s(97506),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(59309),d=s(69508),u=s(18669);const __=n.__,m=({partnerCoupon:e,siteRawUrl:t})=>{if("object"!=typeof e)return null;const s=l().createElement(i.Z,{primary:!0,href:(0,a.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:t,query:`coupon=${e.coupon_code}`})},__("Redeem","jetpack"));return l().createElement(u.Z,{productSlug:e.product.slug,action:s,title:(0,n.sprintf)(/* translators: %s: Jetpack product or plan name. */
__("Get %s free for one year!","jetpack"),e.product.title),tagLine:(0,n.sprintf)(/* translators: %1$s: the name of a Jetpack partner, %2$s: the name of a Jetpack product or plan. */
__("Redeem your %1$s coupon to get started with %2$s for free the first year!","jetpack"),e.partner.name,e.product.title),trackingId:"jetpack-partner-coupon",additionalEventProperties:{coupon:e.coupon_code}})};m.propTypes={partnerCoupon:o().oneOfType([o().object,o().bool]).isRequired,siteRawUrl:o().string.isRequired};const h=(0,p.$j)((e=>({partnerCoupon:(0,d.DV)(e)})))(m)},32466:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(65736),n=s(69270),i=s(99196),r=s.n(i),o=s(59309),c=s(50416),l=s(89292),p=s(19366);const __=a.__;const d=(0,o.$j)((e=>({module:t=>(0,c.rT)(e,t),isModuleFound:t=>(0,l.CX)(e,t)})))((function(e){const{active:t,isModuleFound:s,searchTerm:a,siteRawUrl:i,blogID:o}=e,c=s("subscriptions");return(a||t)&&c?r().createElement("div",null,r().createElement(n.Z,null),r().createElement("h1",{className:"screen-reader-text"},__("Jetpack Newsletter Settings","jetpack")),r().createElement("h2",{className:"jp-settings__section-title"},a?__("Newsletter","jetpack"):__("Transform your blog posts into newsletters to easily reach your subscribers.","jetpack",0)),c&&r().createElement(p.Z,{siteRawUrl:i,blogID:o})):null}))},19366:(e,t,s)=>{"use strict";s.d(t,{Z:()=>j});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(55609),c=s(65736),l=s(96483),p=s(85799),d=s(66164),u=s(61775),m=s(2353),h=s(5004),g=s(93806),k=s(28178),f=s(84069),v=s(99196),E=s.n(v),w=s(59309),_=s(96300),b=s(69508),y=s(50416);const __=c.__,C=()=>{f.Z.tracks.recordJetpackClick("manage-subscribers")};const j=(0,m.u)((0,w.$j)(((e,t)=>({isLinked:(0,_.BU)(e),isOffline:(0,_.Ex)(e),isSubscriptionsActive:t.getOptionValue("subscriptions"),unavailableInOfflineMode:(0,_.t_)(e,"subscriptions"),subscriptions:(0,y.rT)(e,"subscriptions"),isStbEnabled:t.getOptionValue("stb_enabled"),isStcEnabled:t.getOptionValue("stc_enabled"),isSmEnabled:t.getOptionValue("sm_enabled"),isBlockTheme:(0,b.$2)(e),siteAdminUrl:(0,b.wW)(e),themeStylesheet:(0,b.rf)(e)})))((function(e){const{unavailableInOfflineMode:t,isLinked:s,isOffline:a,isSavingAnyOption:c,isStbEnabled:m,isStcEnabled:f,isSmEnabled:w,isSubscriptionsActive:_,siteRawUrl:b,subscriptions:y,toggleModuleNow:j,updateFormStateModuleOption:S,isBlockTheme:N,siteAdminUrl:x,themeStylesheet:T,blogID:A}=e,M=x&&T?(0,l.addQueryArgs)(`${x}site-editor.php`,{postType:"wp_template_part",postId:`${T}//jetpack-subscribe-modal`,canvas:"edit"}):null,P=(0,v.useCallback)((()=>{S("subscriptions","stb_enabled")}),[S]),Z=(0,v.useCallback)((()=>{S("subscriptions","stc_enabled")}),[S]),O=(0,v.useCallback)((()=>{S("subscriptions","sm_enabled")}),[S]),R=!_||t||c(["subscriptions"]);return E().createElement(g.Z,n()({},e,{hideButton:!0,module:"subscriptions"}),E().createElement(k.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:y,support:{text:__("Allows readers to subscribe to your posts or comments, and receive notifications of new content by email.","jetpack"),link:(0,i.Z)("jetpack-support-subscriptions")}},E().createElement(h.T,{slug:"subscriptions",disabled:t,activated:_,toggling:c("subscriptions"),toggleModule:j},E().createElement("span",{className:"jp-form-toggle-explanation"},y.description)),E().createElement(u.C_,null,E().createElement(r.Z,{checked:_&&m,disabled:R,toggling:c(["stb_enabled"]),onChange:P,label:__("Enable the “subscribe to site” option on your comment form","jetpack")}),E().createElement(r.Z,{checked:_&&f,disabled:R,toggling:c(["stc_enabled"]),onChange:Z,label:__("Enable the “subscribe to comments” option on your comment form","jetpack")}),E().createElement(r.Z,{checked:_&&w,disabled:R,toggling:c(["sm_enabled"]),onChange:O,label:__("Enable subscription pop-up","jetpack")}),E().createElement("p",{className:"jp-form-setting-explanation"},__("Automatically add a subscription form pop-up to every post and turn visitors into subscribers. It will appear as readers scroll through your posts.","jetpack"),N&&M&&E().createElement(E().Fragment,null," ",E().createElement(o.ExternalLink,{href:M},__("Preview and edit the pop-up","jetpack")))))),!t&&_&&s?E().createElement(p.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:C,href:(0,i.Z)("calypso-subscribers",{site:A??b}),target:"_blank",rel:"noopener noreferrer"},__("Manage all subscribers","jetpack")):"",!s&&!a&&E().createElement(d.Z,{feature:"subscriptions",featureLabel:__("Newsletter","jetpack"),text:__("Connect to manage your subscriptions settings.","jetpack")}))})))},91088:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(51128),n=s.n(a),i=s(6257);const r=n()("calypso:notices");r("initializing notices");const o={containerNames:{}};(0,i.Z)(o);let c=[];const l={new:function(e,t,s){const a=t.overlay?"overlay-notices":"notices";o.containerNames[a]=a,r("creating notice",e,t,s),o[a]=[];const n={type:t.type||"message",status:s,text:e,duration:t.duration,container:a,button:t.button,href:t.href,onClick:e=>{if("function"==typeof t.onClick){const s=l.removeNotice.bind(l,n);return t.onClick(e,s)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?c.push(n):o[a].push(n),o.emit("change"),n},success:function(e,t){return t=t||{},this.new(e,t,"is-success")},error:function(e,t){return t=t||{},this.new(e,t,"is-error")},info:function(e,t){return t=t||{},this.new(e,t,"is-info")},warning:function(e,t){return t=t||{},this.new(e,t,"is-warning")},list:o,removeNotice:function(e){if(!e.container)return;const t=o[e.container],s=t.indexOf(e);-1!==s&&(t.splice(s,1),o.emit("change"))},clearNoticesOnNavigation:function(e,t){r("clearNoticesOnNavigation");let s,a,n=!1;const i=function(e){return e.persistent};for(a in o.containerNames)s=o[a].length,o[a]=o[a].filter(i),s!==o[a].length&&(n=!0);c.length&&(c.forEach((function(e){o[e.container]=[],o[e.container].push(e)})),c=[]),n&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}},p=l},62160:(e,t,s)=>{"use strict";s.d(t,{Z:()=>g});var a=s(65736),n=s(69270),i=s(99196),r=s.n(i),o=s(59309),c=s(96300),l=s(50416),p=s(89292),d=s(719),u=s(29300),m=s(77122);const __=a.__;class h extends i.Component{render(){const e={getModule:this.props.module,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner},t=["photon","videopress","photon-cdn","search"].some(this.props.isModuleFound);return(this.props.searchTerm||this.props.active)&&t?r().createElement("div",null,r().createElement(n.Z,null),r().createElement("h1",{className:"screen-reader-text"},__("Jetpack Performance Settings","jetpack")),r().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Performance","jetpack"):__("Load pages faster, optimize images, and speed up your visitors’ experience.","jetpack")),r().createElement(u.Z,e),r().createElement(m.Z,e),r().createElement(d.Z,e)):null}}const g=(0,o.$j)((e=>({module:t=>(0,l.rT)(e,t),isUnavailableInOfflineMode:t=>(0,c.t_)(e,t),isModuleFound:t=>(0,p.CX)(e,t),getModuleOverride:t=>(0,l.Qy)(e,t),hasConnectedOwner:(0,c.it)(e)})))(h)},719:(e,t,s)=>{"use strict";s.d(t,{Z:()=>j});var a=s(82674),n=s.n(a),i=s(6895),r=s(94343),o=s(48229),c=s(65736),l=s(61775),p=s(85733),d=s(2353),u=s(5004),m=s(93806),h=s(28178),g=s(59584),k=s(1137),f=s(99196),v=s.n(f),E=s(59309),w=s(96300),_=s(50416),b=s(89292),y=s(33002);const __=c.__,_x=c._x;class C extends v().Component{togglePrivacySetting=()=>{this.props.updateOptions({videopress_private_enabled_for_site:!this.props.getOptionValue("videopress_private_enabled_for_site")})};render(){const e=this.props.isModuleFound("videopress");if(!e)return null;const t=this.props.module("videopress"),{hasConnectedOwner:s,hasVideoPressFeature:a,hasVideoPressUnlimitedStorage:c,isFetching:d,isOffline:k,upgradeUrl:f,videoPressStorageUsed:E}=this.props,w=a&&!c&&null!==E,_=a||null===E||0!==E?__("You have used your free video. Upgrade now to unlock more videos and 1TB of storage.","jetpack",0):__("1 free video available. Upgrade now to unlock more videos and 1TB of storage.","jetpack"),b=v().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,module:t,support:{link:(0,i.Z)("jetpack-support-videopress")}},v().createElement(l.Gj,{className:"jp-form-label-wide"},__("VideoPress","jetpack")),v().createElement("p",null," ",__("Engage your visitors with high-resolution, ad-free video. Save time by uploading videos directly through the WordPress editor. With Jetpack VideoPress, you can customize your video player to deliver your message without the distraction.","jetpack")," "),w&&v().createElement("div",{className:"media__videopress-storage"},v().createElement("span",null,__("Video storage used out of 1TB:","jetpack")),v().createElement(r.Z,{progress:E/1e6})),s&&v().createElement(v().Fragment,null,v().createElement(u.T,{slug:"videopress",disabled:this.props.isUnavailableInOfflineMode("videopress"),activated:this.props.getOptionValue("videopress"),toggling:this.props.isSavingAnyOption("videopress"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Enable VideoPress","jetpack"))),v().createElement(l.C_,null,v().createElement(o.Z,{id:"videopress-site-privacy",disabled:!this.props.getOptionValue("videopress"),toggling:this.props.isSavingAnyOption("videopress_private_enabled_for_site"),checked:this.props.getOptionValue("videopress_private_enabled_for_site"),onChange:this.togglePrivacySetting,label:__("Video Privacy: Restrict views to members of this site","jetpack")})))),y="inactive"===this.props.getModuleOverride("videopress"),C=e&&!a&&s&&!k&&!d;return v().createElement(m.Z,n()({},this.props,{header:__("Media","jetpack"),feature:!y&&g.BD8,hideButton:!0}),e&&b,C&&v().createElement(p.ZP,{className:"media__videopress-upgrade",callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:_,eventFeature:"videopress",icon:"video",plan:(0,g.o2o)(g.qbT),feature:"jetpack_videopress",href:f,rna:!0}))}}const j=(0,E.$j)((e=>({module:t=>(0,_.rT)(e,t),isModuleFound:t=>(0,b.CX)(e,t),sitePlan:(0,y.UL)(e),hasVideoPressFeature:(0,y.CV)(e,"videopress-1tb-storage")||(0,y.CV)(e,"videopress-unlimited-storage")||(0,y.CV)(e,"videopress"),hasVideoPressUnlimitedStorage:(0,y.CV)(e,"videopress-unlimited-storage"),hasConnectedOwner:(0,w.it)(e),isOffline:(0,w.Ex)(e),isFetching:(0,y.GR)(e),getModuleOverride:t=>(0,_.Qy)(e,t),upgradeUrl:(0,k.z)(e,"videopress"),videoPressStorageUsed:(0,y.VH)(e)})))((0,d.u)(C))},29300:(e,t,s)=>{"use strict";s.d(t,{Z:()=>j});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(85799),l=s(61775),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(59584),g=s(99196),k=s.n(g),f=s(59309),v=s(96300),E=s(69508),w=s(3230),_=s(33002);const __=o.__,b=__("Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),y=__("Customize your Search experience.","jetpack"),C=__("Search supports many customizations. ","jetpack");const j=(0,f.$j)((e=>({isLoading:(0,_.GR)(e),inOfflineMode:(0,v.Ex)(e),hasClassicSearch:(0,_.CV)(e,"search"),hasInstantSearch:(0,_.CV)(e,"instant-search"),failedToEnableSearch:!(0,w.qg)(e,"search")&&!(0,w.Cu)(e,"search")&&!1===(0,w.p0)(e,"search"),isWidgetsSupported:(0,E.Cv)(e,"widgets")})))((0,p.u)((function(e){const{failedToEnableSearch:t,hasInstantSearch:s,updateOptions:a}=e,o=e.getOptionValue("search"),p=e.getOptionValue("instant_search_enabled","search"),f=(0,g.useCallback)((()=>{const e={search:!o};p!==(s&&!o)&&(e.instant_search_enabled=s&&!o),a(e)}),[s,p,o,a]),v=(0,g.useCallback)((()=>{const e={instant_search_enabled:s&&!p};e.instant_search_enabled&&!o&&(e.search=!0),a(e)}),[s,p,o,a]);(0,g.useEffect)((()=>{t&&s&&(a({has_jetpack_search_product:!0}),f())}),[t,s,a,f]);const E=!!e.isSavingAnyOption("search"),w=!!e.isSavingAnyOption("instant_search_enabled");return k().createElement(u.Z,n()({},e,{module:"search",feature:h.T54,hideButton:!0}),k().createElement(m.Z,{disableInOfflineMode:!0,hasChild:!0,module:{module:"search"},support:{text:C,link:(0,i.Z)("jetpack-support-search")}},k().createElement("p",null,e.inOfflineMode?__("Unavailable in Offline Mode","jetpack"):b),e.isLoading&&__("Loading…","jetpack"),!e.isLoading&&(e.hasClassicSearch||e.hasInstantSearch)&&k().createElement(g.Fragment,null,k().createElement(d.T,{activated:o,compact:!0,toggling:E,slug:"search",toggleModule:f},__("Enable Search","jetpack")),k().createElement(l.C_,null,k().createElement(r.Z,{checked:o&&p,disabled:E||!e.hasInstantSearch,toggling:w,onChange:v,label:__("Enable instant search experience (recommended)","jetpack"),help:k().createElement("span",{className:"jp-form-setting-explanation jp-form-search-setting-explanation"},__("Instant search will allow your visitors to get search results as soon as they start typing. If deactivated, Jetpack Search will still optimize your search results but visitors will have to submit a search query before seeing any results.","jetpack"))})))),!e.isLoading&&e.isWidgetsSupported&&(e.hasClassicSearch||e.hasInstantSearch)&&o&&!p&&k().createElement(c.Z,{compact:!0,className:"jp-settings-card__configure-link",href:"customize.php?autofocus[panel]=widgets"},__("Add Jetpack Search Widget","jetpack")),e.hasInstantSearch&&o&&p&&k().createElement(c.Z,{className:"jp-settings-card__configure-link",compact:!0,href:"admin.php?page=jetpack-search-configure"},y))})))},77122:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(61775),l=s(2353),p=s(5004),d=s(93806),u=s(28178),m=s(84069),h=s(99196),g=s.n(h),k=s(59309),f=s(96300),v=s(50416),E=s(89292),w=s(69508);const __=o.__,_=(0,l.u)(class extends h.Component{toggleModule=(e,t)=>{"photon"===e?!1==!t?this.props.updateOptions({photon:!1,"tiled-gallery":!1,tiled_galleries:!1}):this.props.updateOptions({photon:!0,"tiled-gallery":!0,tiled_galleries:!0}):this.props.updateOptions({[e]:!t})};handleSiteAcceleratorChange=()=>{let e=this.props.getOptionValue("photon"),t=this.props.getOptionValue("photon-cdn");const s=e||t,a=this.props.getModuleOverride("photon-cdn");let n=this.props.getModuleOverride("photon");if(this.props.isOfflineMode&&(n="inactive"),!0===s){const s={progress:__("Disabling site accelerator…","jetpack"),success:__("Site accelerator is no longer speeding up your site!","jetpack"),error:e=>(0,o.sprintf)(/* translators: placeholder is an error code. */
__("Error disabling site accelerator. %s","jetpack"),e)};let i={};!1==!e&&"active"!==n&&(e=!1,i={photon:!1,"tiled-gallery":!1,tiled_galleries:!1}),!1==!t&&"active"!==a&&(t=!1,i={...i,"photon-cdn":!1}),this.props.updateOptions(i,s)}else{const s={progress:__("Enabling Site accelerator…","jetpack"),success:__("Site accelerator is now speeding up your site!","jetpack"),error:e=>(0,o.sprintf)(/* translators: placeholder is an error code. */
__("Error enabling Site accelerator. %s","jetpack"),e)};let i={};!1===e&&"inactive"!==n&&(e=!0,i={photon:!0,"tiled-gallery":!0,tiled_galleries:!0}),!1===t&&"inactive"!==a&&(t=!0,i={...i,"photon-cdn":!0}),this.props.updateOptions(i,s)}!0===e||!0===t?m.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"on"}):m.Z.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"off"}),this.props.getOptionValue("photon")!==e&&m.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon",toggled:!1===e?"off":"on"}),this.props.getOptionValue("photon-cdn")!==t&&m.Z.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon-cdn",toggled:!1===t?"off":"on"})};render(){const e=this.props.isModuleFound("photon"),t=this.props.isModuleFound("photon-cdn");if(!e&&!t)return null;const s=this.props.getOptionValue("photon")||this.props.getOptionValue("photon-cdn"),a=this.props.getModuleOverride("photon-cdn");let o=this.props.getModuleOverride("photon");this.props.isOfflineMode&&(o="inactive");const l=e&&t&&("inactive"!==o||"inactive"!==a),m=(e||t)&&("inactive"!==o||"inactive"!==a);let h;return!this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?h=!this.props.getOptionValue("photon-cdn"):!this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")?h=!this.props.getOptionValue("photon"):this.props.getOptionValue("photon")&&this.props.isSavingAnyOption("photon")?(h=!this.props.getOptionValue("photon-cdn"),this.props.getOptionValue("photon-cdn")&&this.props.isSavingAnyOption("photon-cdn")&&(h=!0)):h=!(!this.props.getOptionValue("photon-cdn")||!this.props.isSavingAnyOption("photon-cdn"))&&!this.props.getOptionValue("photon"),g().createElement(d.Z,n()({},this.props,{header:__("Performance & speed","jetpack"),hideButton:!0,module:"performance-speed"}),(e||t)&&g().createElement(u.Z,{hasChild:!0,support:{link:(0,i.Z)("jetpack-support-site-accelerator")}},g().createElement("p",null,__("Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.","jetpack")),m&&g().createElement(r.Z,{checked:s,toggling:h,onChange:this.handleSiteAcceleratorChange,disabled:!l,label:__("Enable site accelerator","jetpack")}),g().createElement(c.C_,null,e&&g().createElement(p.T,{slug:"photon",disabled:this.props.isUnavailableInOfflineMode("photon"),activated:this.props.getOptionValue("photon"),toggling:this.props.isSavingAnyOption("photon"),toggleModule:this.toggleModule},g().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up image load times","jetpack"))),t&&g().createElement(p.T,{slug:"photon-cdn",activated:this.props.getOptionValue("photon-cdn"),toggling:this.props.isSavingAnyOption("photon-cdn"),toggleModule:this.toggleModule},g().createElement("span",{className:"jp-form-toggle-explanation"},__("Speed up static file load times","jetpack"))))))}}),b=(0,k.$j)((e=>({module:t=>(0,v.rT)(e,t),isModuleFound:t=>(0,E.CX)(e,t),isOfflineMode:(0,f.Ex)(e),getModuleOverride:t=>(0,v.Qy)(e,t),gutenbergInfo:(0,w.Zb)(e)})))(_)},65043:(e,t,s)=>{"use strict";s.d(t,{Z:()=>S});var a=s(82674),n=s.n(a),i=s(6895),r=s(55609),o=s(69307),c=s(65736),l=s(81674),p=s(2353),d=s(93806),u=s(28178),m=s(84069),h=s(25162),g=s.n(h),k=s(99196),f=s.n(k),v=s(59309),E=s(3230),w=s(97639),_=s(30775);const __=c.__,_x=c._x,b=()=>m.Z.tracks.recordJetpackClick({target:"privacy-policy",feature:"privacy"}),y=()=>m.Z.tracks.recordJetpackClick({target:"cookie-policy",feature:"privacy"}),C=()=>m.Z.tracks.recordJetpackClick({target:"privacy-center",feature:"privacy"});class j extends f().Component{static displayName="PrivacySettings";static propTypes={searchTerm:g().string,active:g().bool,toggleTracking:g().func,getOptionValue:g().func,isSavingAnyOption:g().func};static defaultProps={searchTerm:"",active:!1};isPrivacyFound=()=>!this.props.searchTerm||[_x("privacy","Search term.","jetpack"),_x("tracks","Search term.","jetpack"),_x("data","Search term.","jetpack"),_x("gdpr","Search term.","jetpack"),_x("tos","Search term.","jetpack"),_x("terms of service","Search term.","jetpack")].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1;togglePrivacy=()=>{const e=this.props.trackingSettings.tracks_opt_out;this.props.setTrackingSettings(!e)};UNSAFE_componentWillMount(){this.props.fetchTrackingSettings()}render(){const{searchTerm:e,active:t}=this.props;return e||t?this.isPrivacyFound()&&f().createElement("div",null,f().createElement("h1",{className:"screen-reader-text"},__("Jetpack Privacy Settings","jetpack")),f().createElement(d.Z,n()({},this.props,{header:_x("Privacy Settings","Settings header","jetpack"),hideButton:!0}),f().createElement(u.Z,{hasChild:!0},f().createElement("p",null,__("We are committed to your privacy and security.","jetpack")),f().createElement("p",null,f().createElement(l.Z,{compact:!0,checked:!this.props.trackingSettings.tracks_opt_out,disabled:this.props.isFetchingTrackingSettings||this.props.isUpdatingTrackingSettings,onChange:this.togglePrivacy,id:"privacy-settings"},(0,o.createInterpolateElement)(__("Share information with our analytics tool about your use of services while logged in to your WordPress.com account. <cookiePolicyLink>Learn more</cookiePolicyLink>.","jetpack"),{cookiePolicyLink:f().createElement(r.ExternalLink,{href:(0,i.Z)("a8c-cookies"),onClick:y,rel:"noopener noreferrer"})}))),f().createElement("p",null,(0,o.createInterpolateElement)(__("This information helps us improve our products, make marketing to you more relevant, personalize your WordPress.com experience, and more as detailed in our <pp>privacy policy</pp>.","jetpack"),{pp:f().createElement(r.ExternalLink,{href:(0,i.Z)("a8c-privacy"),onClick:b,rel:"noopener noreferrer"})})),f().createElement("p",null,(0,o.createInterpolateElement)(__("We use other tracking tools, including some from third parties. <cookiePolicyLink>Read about these</cookiePolicyLink> and how to control them.","jetpack"),{cookiePolicyLink:f().createElement(r.ExternalLink,{href:(0,i.Z)("a8c-cookies"),onClick:y,rel:"noopener noreferrer"})})),f().createElement("p",null,(0,o.createInterpolateElement)(__("For more information on how specific Jetpack features use data and track activity, please refer to our <privacyCenterLink>Privacy Center</privacyCenterLink>.","jetpack"),{privacyCenterLink:f().createElement(r.ExternalLink,{href:(0,i.Z)("jetpack-support-privacy"),onClick:C,rel:"noopener noreferrer"})}))))):null}}const S=(0,v.$j)((e=>({settings:(0,E.Gw)(e),trackingSettings:(0,_.AO)(e),isUpdatingTrackingSettings:(0,_.Ak)(e),isFetchingTrackingSettings:(0,_.ab)(e)})),(e=>({setTrackingSettings:t=>{m.Z.tracks.setOptOut(t),e((0,w.X)({tracks_opt_out:t}))},fetchTrackingSettings:()=>e((0,w.$)())})))((0,p.u)(j))},86450:(e,t,s)=>{"use strict";s.d(t,{Z:()=>S});var a=s(6895),n=s(73474),i=s(65736),r=s(97506),o=s(3544),c=s(7679),l=s(83526),p=s(84069),d=s(92819),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h),k=s(59309),f=s(17296),v=s(96300),E=s(69508),w=s(69377),_=s(15080),b=s(33002),y=s(61372);const __=i.__,_n=i._n,_x=i._x,C=(e,t)=>()=>((e,t)=>p.Z.tracks.recordJetpackClick({target:"pro-status",type:e,feature:t}))(e,t);class j extends g().Component{static propTypes={isCompact:m().bool,proFeature:m().string,rewindStatus:m().object.isRequired};static defaultProps={isCompact:!0,proFeature:""};getRewindMessage(){switch(this.props.rewindStatus.state){case"provisioning":return{status:"initializing",text:__("Setting up","jetpack")};case"awaiting_credentials":return{status:"action",text:__("Action needed","jetpack")};case"active":return{status:"active",text:__("Connected","jetpack")};default:return{status:"",text:""}}}getProActions=(e,t)=>{let s="",i=!1,r=!1,o="";switch(e){case"threats":s="error",r=_x("Threats detected","A caption for a small button to fix security issues.","jetpack"),o=(0,a.Z)("vaultpress-dashboard");break;case"secure":s="active",i=_x("Secure","Short message informing user that the site is secure.","jetpack");break;case"invalid_key":return;case"rewind_connected":const e=this.getRewindMessage();return g().createElement(n.Z,{status:e.status,text:e.text});case"active":return g().createElement(n.Z,{status:"active"})}const c=g().createElement(g().Fragment,null,i,r&&g().createElement("a",{className:"dops-notice__text-no-underline",onClick:C(e,t),href:o},r));return g().createElement(n.Z,{status:s,label:c})};getSetUpButton=e=>g().createElement(r.Z,{onClick:C("set_up",e),compact:!0,primary:!0,href:(0,a.Z)("calypso-plugins-setup",{site:this.props.siteRawUrl,query:`only=${e}`})},_x("Set up","Caption for a button to set up a feature.","jetpack"));render(){const{purchasedVaultPressBackups:e,purchasedVaultPressScan:t,scanStatus:s}=this.props,a=this.props.sitePlan,i=this.props.getVaultPressData();let r="";"scan"!==this.props.proFeature&&"backups"!==this.props.proFeature&&"vaultpress"!==this.props.proFeature||(r="vaultpress/vaultpress.php"),"akismet"===this.props.proFeature&&(r="akismet/akismet.php");const p=/jetpack_free*/.test(a.product_slug),u=(0,d.get)(i,["data","features","backups"],!1),m=(0,d.get)(i,["data","features","security"],!1);return g().createElement("div",null,g().createElement(c.Z,null),g().createElement(o.Z,null),g().createElement(l.Z,null),!this.props.isOfflineMode&&((o,c,l)=>{switch(o){case"rewind":return this.getProActions("rewind_connected","rewind");case"backups":if(p&&!u&&this.props.isCompact)return"";break;case"scan":if(this.props.fetchingSiteData||this.props.isFetchingVaultPressData)return"";if("N/A"!==i)return t?m?this.getProActions(0===this.props.getScanThreats()?"secure":"threats","scan"):this.getSetUpButton("scan"):!e||u||this.props.isCompact?"":this.getSetUpButton("backups");if(s&&"unavailable"!==s.state)return Array.isArray(s.threats)&&s.threats.length>0?g().createElement(n.Z,{status:"error",label:_n("Threat","Threats",s.threats.length,"jetpack")}):s.credentials?0===s.credentials.length?g().createElement(n.Z,{status:"action"}):this.getProActions("secure","scan"):"";break;case"search":return"";case"akismet":if(p&&(!c||!l))return"";if(!this.props.isAkismetKeyValid&&!this.props.fetchingAkismetData&&c&&l&&!p)return this.getSetUpButton(o)}return a.product_slug&&r&&!p?c&&l?this.getProActions("active"):this.getSetUpButton(o):""})(this.props.proFeature,this.props.pluginActive(r),this.props.pluginInstalled(r)))}}const S=(0,k.$j)((e=>{const t=(0,b.UL)(e);return{siteRawUrl:(0,E.JR)(e),siteAdminUrl:(0,E.wW)(e),getScanThreats:()=>(0,f._R)(e),getVaultPressData:()=>(0,f.XK)(e),getAkismetData:()=>(0,f.fU)(e),isFetchingVaultPressData:(0,f.P_)(e),sitePlan:t,fetchingPluginsData:(0,y.vz)(e),pluginActive:t=>(0,y.TB)(e,t),pluginInstalled:t=>(0,y.P8)(e,t),isOfflineMode:(0,v.Ex)(e),fetchingSiteData:(0,b._5)(e),isAkismetKeyValid:(0,f._2)(e),fetchingAkismetData:(0,f.bV)(e),rewindStatus:(0,w.of)(e),scanStatus:(0,_.C8)(e),purchasedVaultPressBackups:(0,b.CV)(e,"vaultpress-backups"),purchasedVaultPressScan:(0,b.CV)(e,"vaultpress-security-scanning")}}))(j)},94648:(e,t,s)=>{"use strict";s.d(t,{ZS:()=>o,mH:()=>r,tE:()=>n,w7:()=>i});var a=s(80800);const n={JETPACK_ANTI_SPAM:"akismet",JETPACK_BACKUP:"backup",JETPACK_SCAN:"scan",JETPACK_SEARCH:"search",JETPACK_SECURITY:"security",JETPACK_SOCIAL:"social",JETPACK_VIDEOPRESS:"videopress"},i=[`/product/${n.JETPACK_ANTI_SPAM}`,`/product/${n.JETPACK_BACKUP}`,`/product/${n.JETPACK_SCAN}`,`/product/${n.JETPACK_SEARCH}`,`/product/${n.JETPACK_SECURITY}`,`/product/${n.JETPACK_VIDEOPRESS}`],r=[`/add-${n.JETPACK_ANTI_SPAM}`,`/add-${n.JETPACK_BACKUP}`,`/add-${n.JETPACK_SCAN}`,`/add-${n.JETPACK_SEARCH}`,`/add-${n.JETPACK_SOCIAL}`,`/add-${n.JETPACK_VIDEOPRESS}`],o={[n.JETPACK_ANTI_SPAM]:`${a.hp}products/illustration-anti-spam.png`,[n.JETPACK_BACKUP]:`${a.hp}products/illustration-backup.png`,[n.JETPACK_SCAN]:`${a.hp}products/illustration-scan.png`,[n.JETPACK_SEARCH]:`${a.hp}products/illustration-search.png`,[n.JETPACK_SECURITY]:`${a.hp}products/illustration-scan.png`,[n.JETPACK_VIDEOPRESS]:`${a.hp}products/illustration-videopress.png`}},35150:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(53190),n=s(24289),i=s(72129),r=s(92819),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(59309),u=s(44498),m=s(69508),h=s(36920),g=s(84884),k=s(94648),f=s(95229);const v=e=>{const{isFetchingProducts:t,isFetchingOffers:s,products:o}=e,c=t||s||(0,r.isEmpty)(o),l=[];return c||Object.values(k.tE).forEach((function(e){if(!o.hasOwnProperty(e))return;const t=o[e];t.available&&l.push(p().createElement(u.AW,{key:e,path:`/product/${e}`},p().createElement(f.Z,{product:t})))})),p().createElement(p().Fragment,null,p().createElement(n.Z,null),p().createElement(a.Z,null),c?p().createElement("div",{className:"jp-product-descriptions__loading"},p().createElement(i.D,null)):p().createElement(u.rs,null,l))};v.propTypes={products:c().object,isFetchingProducts:c().bool,isFetchingOffers:c().bool};const E=(0,d.$j)((e=>({isFetchingProducts:(0,g.T0)(e),isFetchingOffers:(0,h.HW)(e),products:(0,m.by)(e)})))(v)},55413:(e,t,s)=>{"use strict";s.d(t,{dn:()=>o,jZ:()=>c,pz:()=>i,yS:()=>r});var a=s(99196),n=s.n(a);const i=n().createElement("svg",{fill:"none",viewBox:"0 0 22 16",xmlns:"http://www.w3.org/2000/svg"},n().createElement("path",{d:"m16.092 8.1635 0.0188-1.7025 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.06466c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),r=n().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 18 23",xmlns:"http://www.w3.org/2000/svg"},n().createElement("path",{d:"m9 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.61868 0.2041-1.2872 0.2041-1.9059 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.21184 0.0698 0.44118 0.0698 0.65302 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),o=n().createElement("svg",{className:"vertical",fill:"none",viewBox:"0 0 20 25",xmlns:"http://www.w3.org/2000/svg"},n().createElement("path",{d:"m5.2729 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.8069 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8c0.3345 1.6479 1.2768 3.075 2.5827 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.96522-0.855-1.5737-2.1037-1.5737-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.80034 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.567-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6996v2h-2.6667v2h2.6667v2h-2.8c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.33229 0-0.65891-0.0244-0.97816-0.0713l0.88215-1.9297c0.03193 6e-4 0.06393 1e-3 0.09601 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fill:"#000",fillRule:"evenodd"})),c=n().createElement("svg",{className:"vertical",viewBox:"0 0 103 25",xmlns:"http://www.w3.org/2000/svg"},n().createElement("path",{d:"m52 0.23486 9 4.0909v6.0984c0 5.1987-3.3389 10.121-8.0471 11.674-0.6186 0.2041-1.2872 0.2041-1.9058 0-4.7082-1.5528-8.0471-6.4749-8.0471-11.674v-6.0984l9-4.0909zm-7 5.3787v4.8106c0 4.4173 2.8602 8.5166 6.6735 9.7743 0.2118 0.0698 0.4412 0.0698 0.653 0 3.8133-1.2577 6.6735-5.357 6.6735-9.7743v-4.8106l-7-3.1818-7 3.1818z",clipRule:"evenodd",fillRule:"evenodd"}),n().createElement("path",{d:"m31.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),n().createElement("path",{d:"m72.82 13.188h3.1406v-1.2656h-3.1406v-3.2969h-1.2656v3.2969h-3.1406v1.2656h3.1406v3.2969h1.2656v-3.2969z",fill:"#8C8F94"}),n().createElement("path",{d:"m88.273 24.276 10.667-23.333-1.2126-0.55434-1.6821 3.6796c-0.9128-0.46945-1.9479-0.73443-3.0449-0.73443-1.4153 0-2.7276 0.44103-3.807 1.1931l-2.6065-2.6065-1.4142 1.4142 2.5684 2.5684c-0.7535 0.96578-1.2468 2.1445-1.3745 3.4307h-2.6996v2h2.6667v2h-2.6667v2h2.8001c0.3344 1.6479 1.2767 3.075 2.5826 4.0372l-1.989 4.351 1.2126 0.5544zm1.634-6.7814c-0.9652-0.855-1.5736-2.1037-1.5736-3.4945v-4c0-2.5773 2.0893-4.6667 4.6667-4.6667 0.8003 0 1.5536 0.20149 2.2119 0.55651l-5.305 11.605zm7.5671-8.8258 1.0786-2.3595c0.5878 0.88256 0.9708 1.9132 1.0811 3.0241h2.6993v2h-2.6664v2h2.6664v2h-2.7997c-0.6177 3.043-3.3081 5.3334-6.5333 5.3334-0.3323 0-0.6589-0.0244-0.9782-0.0713l0.8822-1.9297c0.0319 6e-4 0.0639 1e-3 0.096 1e-3 2.5773 0 4.6666-2.0894 4.6666-4.6667v-4c0-0.46256-0.0673-0.9094-0.1926-1.3313z",clipRule:"evenodd",fillRule:"evenodd"}),n().createElement("path",{d:"m16.092 11.164 0.0188-1.7026 1e-4 -0.03867c0-1.9752-1.8025-3.8666-4.4-3.8666-2.1696 0-3.828 1.3518-4.2735 2.9432l-0.42657 1.5238-1.581-0.0647c-0.0393-0.0016-0.07893-0.0024-0.11886-0.0024-1.587 0-2.9778 1.3444-2.9778 3.1333 0 1.7871 1.3878 3.1305 2.9728 3.1334l0.02863-2e-4h12.052l0.0123 2e-4c1.1943 0 2.2667-1.0162 2.2667-2.4 0-1.2351-0.8646-2.1899-1.8964-2.3684l-1.6776-0.2904zm-10.581-3.2038c-0.06651-0.00271-0.13335-0.00408-0.2005-0.00408-2.7492 0-4.9778 2.2983-4.9778 5.1333 0 2.8351 2.2286 5.1334 4.9778 5.1334l0.02962-2e-4h12.035l0.0236 2e-4c2.3564 0 4.2667-1.97 4.2667-4.4 0-2.1802-1.5375-3.99-3.5554-4.3392l3e-4 -0.0608c0-3.24-2.8653-5.8666-6.4-5.8666-2.9837 0-5.4905 1.8716-6.1994 4.404z",clipRule:"evenodd",fillRule:"evenodd"}))},95229:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(65736),n=s(65235),i=s.n(n),r=s(22177),o=s(23609),c=s(84069),l=s(92819),p=s(25162),d=s.n(p),u=s(99196),m=s(59309),h=s(69508),g=s(36920),k=s(94648),f=s(55413);const __=a.__,v=(e,t,s,n)=>{const i=!n&&k.ZS.hasOwnProperty(e.key)?k.ZS[e.key]:void 0;let o,c;switch(e.slug){case"jetpack_backup_t0_yearly":case"jetpack_backup_t1_yearly":c=f.pz;break;case"jetpack_scan":c=f.yS;break;case"jetpack_anti_spam":c=f.dn;break;case"jetpack_security_t0_yearly":case"jetpack_security_t1_yearly":c=f.jZ,"secondary"===s&&(o=__("Popular upgrade","jetpack"))}const l=t?.find((({product_slug:t})=>t===e.slug)),p=l?.original_price||e.fullPrice,d=e?.saleCoupon?.discount?1-e.saleCoupon.discount/100:1,u=(l?.raw_price||p)*d;return React.createElement(r.Z,{icon:c,title:e.title,productSlug:e.slug,description:e.description,features:e.features,disclaimer:e.disclaimer,currencyCode:e.currencyCode,price:p/12,discountedPrice:u&&u!==p?u/12:null,billingDescription:__("per month, paid yearly","jetpack"),callToAction:o,priority:s,illustrationPath:i,checkoutUrl:e.upgradeUrl,checkoutText:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Add %s","jetpack"),e.title)})},E=e=>{const{availableProductsAndPlans:t,product:s,offers:a}=e,n=((e,t)=>{const s="security";return!((0,l.isEmpty)(e.includedInPlans)||!t.hasOwnProperty(s)||!e.includedInPlans.includes(s))&&t[s]})(s,t);(0,u.useEffect)((()=>{c.Z.tracks.recordEvent("jetpack_product_description_view",{type:s.slug})}),[s]);const r=i()({"jp-product-description":!0,"jp-product-description--split":!!n});return React.createElement(React.Fragment,null,React.createElement("div",{className:r},v(s,a,"primary",!!n),!!n&&v(n,a,"secondary",!!n)),React.createElement("div",{className:"jp-product-description__introductory-pricing"},__("Special introductory pricing, all renewals are at full price.","jetpack")),React.createElement("div",{className:"jp-product-description__money-back-guarantee"},React.createElement(o.N,{text:__("14-day money-back guarantee","jetpack")})))};E.propTypes={product:d().object.isRequired,availableProductsAndPlans:d().object.isRequired,offers:d().arrayOf(d().object).isRequired};const w=(0,m.$j)((e=>({availableProductsAndPlans:(0,h.by)(e),offers:(0,g.ni)(e)})))(E)},1137:(e,t,s)=>{"use strict";s.d(t,{I:()=>i,z:()=>r});var a=s(69508),n=s(94648);const i=()=>URLSearchParams&&!!new URLSearchParams(window.location?.search).get("new_pricing_202208"),r=(e,t)=>{const s=`${(0,a.wW)(e)}admin.php?page=jetpack#`,i=`${(0,a.wW)(e)}admin.php?page=my-jetpack#`;return"search"===t?`${(0,a.wW)(e)}admin.php?page=jetpack-search`:n.mH.includes(`/add-${t}`)?`${i}/add-${t}`:n.w7.includes(`/product/${t}`)?`${s}/product/${t}`:`${s}/dashboard`}},98014:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(65736),n=s(5060),i=s(99196),r=s.n(i);const __=a.__,o=()=>{const e=(0,i.useCallback)((()=>history.back()),[]);return r().createElement("button",{className:"jp-recommendations-back-btn",onClick:e},r().createElement(n.Z,{size:18,icon:"arrow-left"}),/* translators: As in go back to the previous page. */
__("Back","jetpack"))}},39398:(e,t,s)=>{"use strict";s.d(t,{DF:()=>d,GB:()=>k,JI:()=>f,Lw:()=>u,NN:()=>m,UP:()=>h,WU:()=>o,Wn:()=>c,XE:()=>_,dL:()=>l,f6:()=>v,fq:()=>w,lY:()=>r,rU:()=>E,sV:()=>p,uw:()=>i,xG:()=>g});var a=s(65736),n=s(59584);const __=a.__,i={NOT_STARTED:"not-started",SITE_TYPE:"site-type-question",PRODUCT_SUGGESTIONS:"product-suggestions",PRODUCT_PURCHASED:"product-purchased",AGENCY:"agency",WOOCOMMERCE:"woocommerce",MONITOR:"monitor",NEWSLETTER:"newsletter",RELATED_POSTS:"related-posts",CREATIVE_MAIL:"creative-mail",SITE_ACCELERATOR:"site-accelerator",VAULTPRESS_BACKUP:"vaultpress-backup",VAULTPRESS_FOR_WOOCOMMERCE:"vaultpress-for-woocommerce",PUBLICIZE:"publicize",PROTECT:"protect",ANTI_SPAM:"anti-spam",VIDEOPRESS:"videopress",BACKUP_PLAN:"backup-plan",WELCOME__BACKUP:"welcome__backup",WELCOME__COMPLETE:"welcome__complete",WELCOME__SECURITY:"welcome__security",WELCOME__STARTER:"welcome__starter",WELCOME__ANTISPAM:"welcome__antispam",WELCOME__VIDEOPRESS:"welcome__videopress",WELCOME__SEARCH:"welcome__search",WELCOME__SCAN:"welcome__scan",WELCOME__SOCIAL_BASIC:"welcome__social_basic",WELCOME__SOCIAL_ADVANCED:"welcome__social_advanced",WELCOME__SOCIAL_IMAGE_GENERATOR:"welcome__social_image_generator",WELCOME__GOLDEN_TOKEN:"welcome__golden_token",BACKUP_ACTIVATED:"backup-activated",SCAN_ACTIVATED:"scan-activated",SOCIAL_ADVANCED_ACTIVATED:"social-advanced-activated",UNLIMITED_SHARING_ACTIVATED:"unlimited-sharing-activated",ANTISPAM_ACTIVATED:"antispam-activated",VIDEOPRESS_ACTIVATED:"videopress-activated",SEARCH_ACTIVATED:"search-activated",SERVER_CREDENTIALS:"server-credentials",BOOST:"boost",SUMMARY:"summary"},r="assistant-site-type",o="JETPACK_COMPLETE",c="JETPACK_SECURITY",l="JETPACK_STARTER",p="JETPACK_BACKUP",d="JETPACK_ANTI_SPAM",u="JETPACK_VIDEOPRESS",m="JETPACK_SEARCH",h="JETPACK_SCAN",g="JETPACK_SOCIAL_BASIC",k="JETPACK_SOCIAL_ADVANCED",f="JETPACK_GOLDEN_TOKEN",v=16643232e5,E=[f,o,c,l,p,d,u,m,h,g,k],w={[f]:n.nAQ,[o]:n.z6U,[c]:n.fOq,[l]:n.fCb,[p]:n.jTC,[d]:n.qSP,[u]:n.rVK,[m]:n.OMh,[h]:n.Cbu,[g]:n.Qox,[k]:n.Zyl},_={[o]:{name:"Complete",slugs:["backup-activated","scan-activated","antispam-activated","videopress-activated","unlimited-sharing-activated","social-advanced-activated","search-activated"]},[c]:{name:"Security",slugs:["backup-activated","scan-activated","antispam-activated"]},[l]:{name:"Starter",slugs:["backup-activated","antispam-activated"]},[p]:{name:"VaultPress Backup",slugs:["backup-activated"]},[d]:{name:"Akismet Anti-Spam",slugs:["antispam-activated"]},[u]:{name:"VideoPress",slugs:["videopress-activated"]},[m]:{name:"Search",slugs:["search-activated"]},[h]:{name:"Scan",slugs:["scan-activated"]},[g]:{name:"Social Basic",slugs:[i.UNLIMITED_SHARING_ACTIVATED]},[k]:{name:"Social Advanced",slugs:[i.UNLIMITED_SHARING_ACTIVATED,i.SOCIAL_ADVANCED_ACTIVATED]},[f]:{name:__("Jetpack Golden Token","jetpack"),slugs:[i.BACKUP_ACTIVATED,i.SCAN_ACTIVATED]}}},23494:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(65736),n=s(65235),i=s.n(n),r=s(99196),o=s.n(r);const __=a.__,c=({className:e,discount:t,suffix:s})=>t?o().createElement("div",{className:i()("jp-recommendations-discount-badge",e)},(0,a.sprintf)(
// translators: %d is the percentage value, %% the percentage symbol
__("%d%% off","jetpack"),t),s):null},2025:(e,t,s)=>{"use strict";s.d(t,{H:()=>k});var a=s(55609),n=s(65736),i=s(65235),r=s.n(i),o=s(97506),c=s(5060),l=s(16626),p=s(84069),d=s(99196),u=s.n(d),m=s(59309),h=s(8722),g=s(97684);const __=n.__,k=(0,m.$j)(((e,t)=>({isInstalling:(0,h.c1)(e,t.featureSlug),isFeatureActive:(0,h.dz)(e,t.featureSlug),...(0,g.mp)(e,t.featureSlug),stepRoute:h.BR[t.featureSlug]})),((e,t)=>({...(0,g.ZS)(e,t.featureSlug),startFeatureInstall:t=>e((0,h.s2)(t)),endFeatureInstall:t=>e((0,h.Ti)(t))})))((e=>{const{activateFeature:t,configLink:s,configureButtonLabel:n,displayName:i,featureSlug:m,stepRoute:h,summaryActivateButtonLabel:g,isNew:k,isInstalling:f,startFeatureInstall:v,endFeatureInstall:E}=e,w=(0,d.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_configure_click",{feature:m})}),[m]),_=(0,d.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_enable_click",{feature:m}),v(m),t().finally((()=>{E(m)}))}),[t,m,v,E]),b=(0,d.useCallback)((()=>{p.Z.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:m})}),[m]),y=(0,d.useMemo)((()=>s.match(/^https:\/\/jetpack.com\/redirect/)),[s]),C=u().createElement("div",{className:"jp-recommendations-feature-summary__cta"},e.isFeatureActive?u().createElement(u().Fragment,null,y?u().createElement(a.ExternalLink,{type:"button",className:"dops-button is-rna",href:s,onClick:w},n):u().createElement(o.Z,{rna:!0,href:s,onClick:w},n)):u().createElement(l.Z,{primary:!0,rna:!0,isInstalling:f,onClick:_},g));return u().createElement("div",{className:r()("jp-recommendations-feature-summary",{"is-feature-enabled":e.isFeatureActive})},e.isFeatureActive&&u().createElement("div",{className:"jp-recommendations-feature-summary__checkmark"},u().createElement(c.Z,{icon:"checkmark-circle",size:24})),u().createElement(o.Z,{borderless:!0,href:h,onClick:b,className:"jp-recommendations-feature-summary__display-name"},u().createElement("span",{className:"jp-recommendations-feature-summary__display-name-text"},i),k&&
/* translators: 'New' is shown as a badge to indicate that this content has not been viewed before. */
u().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack"))),u().createElement("div",{className:"jp-recommendations-feature-summary__actions"},C))}))},21404:(e,t,s)=>{"use strict";s.d(t,{u:()=>u});var a=s(65235),n=s.n(a),i=s(97506),r=s(84069),o=s(99196),c=s(59309),l=s(8722),p=s(97684);const d=({href:e,label:t,isHidden:s,onClick:a})=>React.createElement("a",{rel:"noreferrer",target:"_blank",href:e,onClick:a,className:n()("jp-summary-text-link",{"is-hidden":s})},t,React.createElement("span",{className:"jp-summary-text-link__icon dashicons dashicons-arrow-right-alt2"})),u=(0,c.$j)(((e,t)=>({...(0,p.tX)(e,t.slug),stepRoute:l.BR[t.slug]})))((({slug:e,displayName:t,ctaLabel:s,ctaLink:a,stepRoute:n})=>{const c=!!a,l=(0,o.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:e})}),[e]),p=(0,o.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_summary_manage_click",{feature:e})}),[e]);return React.createElement("div",{className:"jp-recommendations-feature-summary is-primary"},c?React.createElement(i.Z,{href:n,onClick:l,className:"jp-recommendations-feature-summary__display-name",borderless:!0},React.createElement("span",{className:"jp-recommendations-feature-summary__display-name-text"},t)):React.createElement("span",{className:"jp-recommendations-feature-summary__display-name"},t),React.createElement("div",{className:"jp-recommendations-feature-summary__actions"},React.createElement("div",{className:"jp-recommendations-feature-summary__cta"},React.createElement(d,{href:a,label:s,onClick:p,isHidden:!c}))))}))},91508:(e,t,s)=>{"use strict";s.d(t,{_:()=>u});var a=s(55609),n=s(65736),i=s(97506),r=s(84069),o=s(99196),c=s.n(o),l=s(59309),p=s(8722),d=s(97684);const __=n.__,u=(0,l.$j)(((e,t)=>({...(0,d.tB)(e,t.resourceSlug),stepRoute:p.BR[t.resourceSlug]})))((e=>{const{displayName:t,ctaLabel:s,ctaLink:n,resourceSlug:l,isNew:p,stepRoute:d}=e,u=(0,o.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_summary_learn_more_click",{feature:l})}),[l]),m=(0,o.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:l})}),[l]);return c().createElement("div",{className:"jp-recommendations-feature-summary"},c().createElement(i.Z,{borderless:!0,href:d,onClick:m,className:"jp-recommendations-feature-summary__display-name"},c().createElement("span",{className:"jp-recommendations-feature-summary__display-name-text"},t),p&&
/* translators: 'New' is shown as a badge to indicate that this content has not been viewed before. */
c().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack"))),c().createElement("div",{className:"jp-recommendations-feature-summary__actions"},c().createElement("div",{className:"jp-recommendations-feature-summary__cta"},c().createElement(a.ExternalLink,{type:"button",className:"dops-button is-rna",href:n,onClick:u},s))))}))},97684:(e,t,s)=>{"use strict";s.d(t,{ZS:()=>k,gU:()=>f,mp:()=>m,qJ:()=>E,r3:()=>v,tB:()=>h,tX:()=>g});var a=s(25607),n=s(64743),i=s(6895),r=s(65736),o=s(59584),c=s(69508),l=s(3230),p=s(61372),d=s(8722),u=s(77805);const __=r.__,m=(e,t)=>{switch(t){case"boost":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Jetpack Boost","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,c.wW)(e)+"admin.php?page=jetpack-boost"};case"creative-mail":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Creative Mail","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,c.wW)(e)+"admin.php?page=creativemail"};case"monitor":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Downtime Monitoring","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=monitor"};case"newsletter":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Newsletter","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=subscriptions"};case"related-posts":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Related Posts","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=related%20posts"};case"protect":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Jetpack Protect","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,c.wW)(e)+"admin.php?page=jetpack-protect"};case"site-accelerator":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Site Accelerator","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:"#/settings?term=cdn"};case"publicize":return{configureButtonLabel:__("Manage connections","jetpack"),displayName:__("Social Media Sharing","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:(0,i.Z)("calypso-marketing-connections",{site:(0,c.JR)(e)})};case"videopress":return{configureButtonLabel:__("How To","jetpack"),displayName:__("VideoPress","jetpack"),summaryActivateButtonLabel:__("Enable","jetpack"),configLink:(0,i.Z)("jetpack-support-videopress-block-editor")};case"woocommerce":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("WooCommerce","jetpack"),summaryActivateButtonLabel:__("Install","jetpack"),configLink:(0,c.wW)(e)+"admin.php?page=wc-admin&path=%2Fsetup-wizard"};default:throw`Unknown feature slug in mapStateToSummaryFeatureProps() recommendations/feature-utils.js: ${t}`}},h=(e,t)=>{switch(t){case"agency":return{displayName:__("Jetpack for Agencies","jetpack"),ctaLabel:__("Sign Up","jetpack"),ctaLink:(0,i.Z)("jetpack-for-agencies-signup-assistant-recommendation")};case"backup-plan":return{displayName:__("Site Backups","jetpack"),ctaLabel:__("Read More","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-backups-101")};case"anti-spam":return{displayName:__("Spam Management","jetpack"),ctaLabel:__("Read More","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-spam-comments")};case"server-credentials":return{displayName:__("Server Credentials","jetpack"),ctaLabel:__("Add","jetpack"),ctaLink:(0,c.jU)(e,"settings")};case"vaultpress-backup":case"vaultpress-for-woocommerce":return{displayName:__("VaultPress Backup","jetpack")};default:throw`Unknown resource slug in getSummaryResourceProps() recommendations/feature-utils.js: ${t}`}},g=(e,t)=>{switch(t){case"backup-activated":return{displayName:__("Real-time Backups","jetpack"),ctaLabel:__("Manage","jetpack"),ctaLink:(0,c.jU)(e,"backup")};case"scan-activated":return{displayName:__("Real-time Malware Scanning","jetpack"),ctaLabel:__("Manage","jetpack"),ctaLink:(0,c.jU)(e,"scan")};case"unlimited-sharing-activated":return{displayName:__("Social Media Sharing","jetpack"),ctaLabel:__("Manage","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack#/sharing"};case"social-advanced-activated":return{displayName:__("Advanced Sharing Features","jetpack"),ctaLabel:__("Manage","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack#/sharing"};case"antispam-activated":return{displayName:__("Automated Spam Protection","jetpack"),ctaLabel:__("Manage","jetpack"),ctaLink:(0,d.dz)(e,t)?(0,c.wW)(e)+"admin.php?page=akismet-key-config":void 0};case"videopress-activated":return{displayName:__("Ad-free, Customizable Video","jetpack"),ctaLabel:__("Add a Video","jetpack"),ctaLink:(0,d.dz)(e,t)?(0,c.wW)(e)+"admin.php?page=jetpack-videopress":void 0};case"search-activated":return{displayName:__("Custom Site Search","jetpack"),ctaLabel:__("Customize","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack-search-configure"}}},k=(e,t)=>{switch(t){case"boost":return{activateFeature:()=>n.ZP.installPlugin("jetpack-boost","recommendations").then((()=>e((0,p.s4)())))};case"creative-mail":return{activateFeature:()=>n.ZP.installPlugin("creative-mail-by-constant-contact","recommendations").then((()=>e((0,p.s4)())))};case"monitor":return{activateFeature:()=>e((0,l.VP)({monitor:!0}))};case"newsletter":return{activateFeature:()=>e((0,l.VP)({subscriptions:!0}))};case"related-posts":return{activateFeature:()=>e((0,l.VP)({"related-posts":!0}))};case"protect":return{activateFeature:()=>n.ZP.installPlugin("jetpack-protect","recommendations").then((()=>e((0,p.s4)())))};case"site-accelerator":return{activateFeature:()=>e((0,l.VP)({photon:!0,"photon-cdn":!0,tiled_galleries:!0,"tiled-gallery":!0}))};case"publicize":return{activateFeature:()=>e((0,l.VP)({publicize:!0}))};case"videopress":return{activateFeature:()=>n.ZP.installPlugin("videopress","recommendations").then((()=>e((0,p.s4)())))};case"woocommerce":return{activateFeature:()=>n.ZP.installPlugin("woocommerce","recommendations").then((()=>e((0,p.s4)())))};default:throw`Unknown feature slug in mapDispatchToProps recommendations/feature-utils.js: ${t}`}},f=(e,t)=>{switch(t){case"agency":return{progressValue:"28",question:__("Manage your clients’ sites with ease","jetpack"),description:__("Jetpack’s world-class security features are now easier to manage for anyone with at least five WordPress websites.<br/><br/>Purchase and manage licenses, and get a 60% discount with our licensing platform.","jetpack"),ctaText:__("Get Jetpack for Agencies","jetpack"),ctaLink:(0,i.Z)("jetpack-for-agencies-signup-assistant-recommendation"),illustration:"assistant-agency"};case"backup-plan":return{question:__("Be prepared for auto-updates.","jetpack"),description:__("We noticed that you’ve recently enabled auto-updates for one of your plugins. Nice work, keeping plugins updated is vital for a healthy site!<br/><br/>Sometimes auto-updating plugins can cause unexpected changes on your site. Finding an older version of the plugin or learning how to install it to revert the changes can be challenging.<br/><br/>Here at Jetpack, we recommend regular backups of your site so you can go back in time with the click of a button.","jetpack"),ctaText:__("Learn More About Site Backups","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-backups-101")};case"boost":return{question:__("Get more views for your new page.","jetpack"),description:__("Fast websites mean more page visits and conversions. Even a one-second delay in loading times can reduce conversion rates by 20%.<br/><br/> Make your site blazing fast with <ExternalLink>Jetpack Boost’s</ExternalLink> simple dashboard and acceleration tool:","jetpack"),descriptionList:[__("Optimize CSS loading","jetpack"),__("Defer non-essential Javascript","jetpack"),__("Lazy image loading and site performance scores","jetpack")],descriptionLink:(0,i.Z)("jetpack-plugin-boost-recommendation"),ctaText:__("Install Jetpack Boost for free","jetpack")};case"creative-mail":return{progressValue:"76",question:__("Would you like to turn site visitors into subscribers?","jetpack"),description:__("The Jetpack Newsletter Form combined with Creative Mail by Constant Contact can help automatically gather subscribers and send them beautiful emails. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-support-jetpack-blocks-newsletter-sign-up"),ctaText:__("Install Creative Mail","jetpack"),illustration:"assistant-creative-mail"};case"newsletter":return{progressValue:"70",question:__("Send subscribers your latest blog posts via email?","jetpack"),description:__("With Jetpack Newsletter you can keep your audience engaged by automatically sending your content via email. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-newsletter-landing"),ctaText:__("Enable Newsletter","jetpack"),illustration:"assistant-newsletter"};case"monitor":return{progressValue:"52",question:__("Would you like Downtime Monitoring to notify you if your site goes offline?","jetpack"),description:__("If your site ever goes down, Downtime Monitoring will send you an email or push notitification to let you know. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-support-monitor"),ctaText:__("Enable Downtime Monitoring","jetpack"),illustration:"assistant-downtime-monitoring"};case"related-posts":return{progressValue:"64",question:__("Would you like Related Posts to display at the bottom of your content?","jetpack"),description:__("Displaying Related Posts at the end of your content keeps visitors engaged and on your site. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-support-related-posts"),ctaText:__("Enable Related Posts","jetpack"),illustration:"assistant-related-post"};case"site-accelerator":return{progressValue:"88",question:__("Would you like your site to load faster?","jetpack"),description:__("Faster sites get better ranking in search engines and help keep visitors on your site longer. Jetpack will automatically optimize and load your images and files from our global Content Delivery Network (CDN). <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-support-site-accelerator"),ctaText:__("Enable Site Accelerator","jetpack"),illustration:"assistant-site-accelerator"};case"publicize":return{question:__("Automatically share your posts to social media to grow your audience.","jetpack"),description:__("It’s easy to share your content to a wider audience by connecting your social media accounts to Jetpack. When you publish a post, it will automatically appear on all your favorite platforms. Best of all, it’s free. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-blog-social-sharing"),ctaText:__("Enable Social Media Sharing","jetpack")};case"protect":return{question:__("With more plugins comes more responsibility.","jetpack"),description:__("As you add plugins to your site, you have to start thinking about vulnerabilities.<br /><br /><strong>Jetpack Protect</strong> is a free security solution for WordPress that runs automated scans on your site and warns you about vulnerabilities.<br /><br />Focus on running your business while we protect your site with Jetpack Protect. <ExternalLink>Learn More</ExternalLink>.","jetpack"),descriptionLink:(0,i.Z)("jetpack-protect-assistant-recommendation"),ctaText:__("Install Protect for Free","jetpack")};case"anti-spam":return{question:__("It’s time to block spam comments.","jetpack"),description:__("Congratulations! Your content is getting traction and receiving comments. The more popular your content is, the more likely it is you will be a target for spam comments. To ensure a great experience for your readers, we recommend manually moderating spam or using an automated product like Jetpack Akismet Anti-spam.","jetpack"),ctaText:__("Learn how to block spam","jetpack"),ctaLink:(0,i.Z)("jetpack-blog-spam-comments"),illustration:"assistant-antispam"};case"videopress":return{question:__("Share videos on your site to increase engagement and purchases.","jetpack"),description:__("No matter your business, adding videos to your site is essential for success. Jetpack VideoPress offers HD, ad-free video hosting, so you can keep the focus on your content. Try it for free or upgrade for more space. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("jetpack-videopress"),ctaText:__("Try VideoPress for free","jetpack")};case"woocommerce":return{progressValue:"40",question:__("Would you like WooCommerce to power your store?","jetpack"),description:__("We’re partnered with <strong>WooCommerce</strong> — a customizable, open-source eCommerce platform built for WordPress. It’s everything you need to start selling products today. <ExternalLink>Learn more</ExternalLink>","jetpack"),descriptionLink:(0,i.Z)("woocommerce-features-landing"),ctaText:__("Install WooCommerce","jetpack"),illustration:"assistant-woo-commerce"};case"welcome__backup":return{
/* translators: <nbsp/> represents a non-breakable space */
question:__("Welcome to Jetpack VaultPress<nbsp/>Backup!","jetpack"),description:__("Real-time cloud-based backups are now active for your site. Save every change and get back online in one click from desktop and mobile.","jetpack"),ctaText:__("Manage Backups","jetpack"),ctaLink:(0,c.jU)(e,"backup"),illustration:"assistant-backup-welcome",skipText:__("Next","jetpack")};case"welcome__complete":return{question:__("Welcome to Jetpack Complete!","jetpack"),description:__("Congratulations, you’ve just unlocked the full power of the Jetpack suite; all of our Security, Performance, Growth, and Design tools.","jetpack"),ctaText:__("Set up your new tools","jetpack"),hasNoAction:!0,illustration:"assistant-complete-welcome"};case"welcome__security":return{question:__("Welcome to Jetpack Security!","jetpack"),description:__("Congratulations, you’ve just unlocked comprehensive WordPress site security, including backups, malware scanning, and spam protection.","jetpack"),ctaText:__("Set up your new tools","jetpack"),hasNoAction:!0};case"welcome__starter":return{question:__("Welcome to Jetpack Starter!","jetpack"),description:__("Congratulations! You’ve unlocked essential security tools for your site, including real-time backups and spam protection for comments and forms. Let’s get everything set up. It will only take a minute.","jetpack"),ctaText:__("Set up Jetpack Starter","jetpack"),hasNoAction:!0};case"welcome__antispam":return{
/* translators: <nbsp/> represents a non-breakable space */
question:__("Welcome to Jetpack Akismet<nbsp/>Anti-spam!","jetpack"),description:__("Automated spam protection is now active for comments and forms. We’ll flag anything that looks suspicious and comments will now be available to moderate.","jetpack"),ctaText:__("Configure Akismet Anti-spam","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=akismet-key-config",illustration:"assistant-antispam",skipText:__("Next","jetpack")};case"welcome__videopress":return{question:__("Welcome to Jetpack VideoPress!","jetpack"),description:__("Jetpack VideoPress is now active. Stunning-quality video with none of the hassle. Drag and drop videos through the WordPress editor and keep the focus on your content, not the ads.","jetpack"),ctaText:__("Learn how to add videos to your site","jetpack"),ctaLink:(0,i.Z)("jetpack-support-videopress-block-editor"),illustration:"assistant-videopress",skipText:__("Next","jetpack")};case"welcome__search":return{question:__("Welcome to Jetpack Search!","jetpack"),description:__("Jetpack Search is now active. Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),ctaText:__("Customize Search","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack-search-configure",illustration:"assistant-search",skipText:__("Next","jetpack")};case"welcome__scan":return{question:__("Welcome to Jetpack Scan!","jetpack"),description:__("Automated malware scanning is live and your site’s first scan is underway. We’ll notify you if we detect anything suspicious, with one-click fixes for most issues.","jetpack"),ctaText:__("View Security Dashboard","jetpack"),ctaLink:(0,c.jU)(e,"scan"),illustration:"assistant-backup-welcome",skipText:__("Next","jetpack")};case"welcome__social_basic":return{question:__("Welcome to Jetpack Social!","jetpack"),description:__("With your new basic plan you unlocked unlimited sharing, and access to our priority support. You can share your posts from the post editor to your connected social media accounts<br/><br/>Let's start with connecting your social media accounts, if you haven't already.","jetpack"),ctaText:__("Manage Social Media Connections","jetpack"),ctaLink:(0,i.Z)("calypso-marketing-connections",{site:(0,c.JR)(e)}),illustration:"assistant-jetpack-social",skipText:__("Next","jetpack")};case"welcome__social_advanced":return{question:__("Welcome to Jetpack Social!","jetpack"),description:__("With your new advanced plan you unlocked unlimited sharing, access to upload photos and videos with your posts, and usage of Social Image Generator.<br/><br/>Let's start with connecting your social media accounts, if you haven't already.","jetpack"),ctaText:__("Manage Social Media Connections","jetpack"),ctaLink:(0,i.Z)("calypso-marketing-connections",{site:(0,c.JR)(e)}),illustration:"assistant-jetpack-social",skipText:__("Next","jetpack")};case"welcome__social_image_generator":return{question:__("Social Image Generator","jetpack"),description:__("Create beautiful social media previews for your posts with Social Image Generator. You can customize the text, image, and template to match your brand.<br/><br/>You can turn on Social Image Generator for individual posts from the post editor, or turn it on by default for all future posts from the Jetpack Social Settings.","jetpack"),ctaText:__("View Jetpack Social settings","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack#/sharing",illustration:"assistant-social-image-post",skipText:__("Next","jetpack")};case"welcome__golden_token":return{question:__("Congratulations, you have been gifted a Jetpack Golden Token!","jetpack"),description:__("Congratulations, your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack"),descriptionList:[__("Jetpack VaultPress Backup","jetpack"),__("Jetpack Scan","jetpack")],ctaText:__("Set up your new powers","jetpack"),hasNoAction:!0,illustration:"assistant-golden-token-welcome"};case"backup-activated":return{question:__("Site backups are live","jetpack"),description:__("Real-time cloud-based backups are now active for your site. Save every change and get back online in one click from desktop and mobile.","jetpack"),ctaText:__("Manage Backups","jetpack"),ctaLink:(0,c.jU)(e,"backup"),illustration:"assistant-backup-welcome",skipText:__("Next","jetpack")};case"scan-activated":return{question:__("Real-time Malware Scanning","jetpack"),description:__("Automated malware scanning is live and your site’s first scan is underway. We’ll notify you if we detect anything suspicious, with one-click fixes for most issues.","jetpack"),ctaText:__("View Security Dashboard","jetpack"),ctaLink:(0,c.jU)(e,"scan"),illustration:"assistant-malware-scanning",skipText:__("Next","jetpack")};case"unlimited-sharing-activated":return{question:__("Jetpack Social","jetpack"),description:__("You have access to unlimited social sharing with your Jetpack Social plan. You can share your posts from the post editor to your connected social media accounts.<br/><br/>You can toggle the social sharing feature, manage your connections, and tweak the options from the Jetpack Social Settings.","jetpack"),ctaText:__("View Jetpack Social settings","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack#/sharing",illustration:"assistant-jetpack-social",skipText:__("Next","jetpack")};case"social-advanced-activated":return{question:__("Advanced Sharing features","jetpack"),description:__("Use your unlocked unlimited sharing, upload photos and videos with your posts, and create previews with Social Image Generator. To use these features, just head to the post editor and start creating your post!<br/><br/>You can manage your connections, and tweak features like Social Image Generator from the Jetpack Social Settings.","jetpack"),ctaText:__("View Jetpack Social settings","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack#/sharing",illustration:"assistant-social-image-post",skipText:__("Next","jetpack")};case"antispam-activated":return{question:__("Live Spam Protection","jetpack"),description:__("Automated spam protection is now active for comments and forms. We’ll flag anything that looks suspicious and comments will now be available to moderate.","jetpack"),ctaText:__("Configure Akismet Anti-spam","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=akismet-key-config",illustration:"assistant-antispam",skipText:__("Next","jetpack")};case"videopress-activated":return{question:__("Ad-free, Customizable Video","jetpack"),description:__("Jetpack VideoPress is now active. Stunning-quality video with none of the hassle. Drag and drop videos through the WordPress editor and keep the focus on your content, not the ads.","jetpack"),ctaText:__("Learn how to add videos to your site","jetpack"),ctaLink:(0,i.Z)("jetpack-support-videopress-block-editor"),illustration:"assistant-videopress",skipText:__("Next","jetpack")};case"search-activated":return{question:__("Custom Site Search","jetpack"),description:__("Jetpack Search is now active. Incredibly powerful and customizable, Jetpack Search helps your visitors instantly find the right content – right when they need it.","jetpack"),ctaText:__("Customize Search","jetpack"),ctaLink:(0,c.wW)(e)+"admin.php?page=jetpack-search-configure",illustration:"assistant-search",skipText:__("Next","jetpack")};case"server-credentials":return{question:__("Setup one-click restores","jetpack"),description:__("To restore your site to a previous version, you need to add your server credentials. We recommend doing this now so you can restore your site in one click if you encounter issues in the future.","jetpack"),ctaText:__("Add server credentials","jetpack"),ctaLink:(0,c.jU)(e,"settings"),illustration:"assistant-server-credentials"};case"vaultpress-backup":{const t=(0,c.JR)(e),s=(0,u.cR)(e,o.tVY),a=()=>(0,u.aX)(e)?__("Get a discount for your first year","jetpack"):s>0?(0,r.sprintf)(/* translators: %(discount)s: is a discount percentage. e.g. 50 */
__("Get %(discount)s%% off your first year","jetpack"),{discount:s}):__("Get VaultPress Backup","jetpack");return{progressValue:100,question:__("Never lose your site, even if your host goes down (along with your backups)","jetpack"),description:"",descriptionList:[__("VaultPress Backup is built specifically for WordPress and has done over 270 million backups to date.","jetpack"),__("We store copies of your backups in our secure cloud, so your content will never be lost.","jetpack"),__("If your site goes down, you can restore it with one click from desktop or the Jetpack mobile app.","jetpack"),__("VaultPress Backup is so easy to use; no developer required.","jetpack")],ctaText:a(),ctaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:t,path:o.tVY}),illustration:"assistant-backup-welcome"}}case"vaultpress-for-woocommerce":{const t=(0,c.JR)(e),s=(0,u.Ki)(e,o.tVY),n=(0,u.gp)(e,o.tVY),l=(0,a.ZP)(s,n?.currency_code),p=(0,u.aX)(e)?__("Try for 30 days","jetpack"):(0,r.sprintf)(/* translators: %s: is a formatted currency. e.g. $1 */
__("Try for %s for 30 days","jetpack"),l);return{progressValue:100,question:__("Store downtime means lost sales. Do you have a cloud-based store backup solution?","jetpack"),description:__("VaultPress Backup saves your store in the cloud, so even if your host goes down, you’ll never lose a thing.","jetpack"),descriptionList:[__("Restore your site to any past state in one click while keeping all orders and products current.","jetpack"),__("Backups are encrypted, keeping your store data secure.","jetpack"),__("Protect your customer data and stay GDPR compliant.","jetpack"),__("Custom WooCommerce table backups.","jetpack"),__("Easy to use; no developer required.","jetpack")],ctaText:p,ctaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:t,path:o.tVY}),illustration:"assistant-backup-welcome"}}default:throw`Unknown step slug in recommendations/question: ${t}`}},v=(e,t)=>{const s=(0,c.JR)(e),a=(0,c.Q6)(e);switch(t){case o.Etl:return{productCardTitle:__("Increase your site security!","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack Security","jetpack"),productCardList:a.security?a.security.features:[],productCardIcon:"/recommendations/cloud-icon.svg"};case o.PuQ:return{productCardTitle:__("Grow and monetize your audience","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack Creator","jetpack"),productCardList:a.creator?a.creator.features:[],productCardIcon:"/recommendations/creator-icon.svg"};case o.shc:return{productCardTitle:__("Block spam automatically with Jetpack Akismet Anti-spam","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Akismet Anti-spam","jetpack"),productCardList:a.akismet?a.akismet.features:[],productCardIcon:"/recommendations/bug-icon.svg"};case o.v_I:return{productCardTitle:__("Upgrade for more videos and storage","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get VideoPress","jetpack"),productCardList:a.videopress?a.videopress.features:[],productCardIcon:"/recommendations/video-icon.svg"};case o.tVY:return{productCardTitle:__("Go back in time with one click","jetpack"),productCardCtaLink:(0,i.Z)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack VaultPress Backup","jetpack"),productCardList:a.backup?a.backup.features:[],productCardIcon:"/recommendations/cloud-icon.svg",productCardDisclaimer:a.backup?a.backup.disclaimer:""};default:throw`Unknown product slug for getProductCardData: ${t}`}},E=(e,t,s)=>{if(t===o.Etl){if("publicize"===s)return{productCardTitle:__("Your site is growing. It’s time for a security plan.","jetpack")};if("protect"===s)return{productCardTitle:__("Jetpack Security gives you complete site protection and backups.","jetpack")}}return{}}},71912:(e,t,s)=>{"use strict";s.d(t,{Z:()=>d});var a=s(82674),n=s.n(a),i=s(99196),r=s.n(i),o=s(59309),c=s(69508),l=s(16876),p=s(38356);const d=e=>(0,o.$j)((e=>({discountData:(0,l.u)(e),siteAdminUrl:(0,c.wW)(e),siteRawUrl:(0,c.JR)(e),blogID:(0,c.EZ)(e)})))((t=>{const{slug:s,discountData:a,siteAdminUrl:o,siteRawUrl:c,blogID:l}=t,{code:d}=a,u=(0,i.useMemo)((()=>(0,p.N)(s,o,c,d,l)),[s,o,c,d,l]);return r().createElement(e,n()({upgradeUrl:u},t))}))},22267:(e,t,s)=>{"use strict";s.d(t,{V:()=>A});var a=s(6895),n=s(65736),i=s(53190),r=s(85182),o=s(70298),c=s(18882),l=s(90023),p=s(88546),d=s(69270),u=s(92658),m=s(7679),h=s(72129),g=s(99196),k=s.n(g),f=s(59309),v=s(44498),E=s(69508),w=s(8722),_=s(33002),b=s(24289),y=s(39398),C=s(14404),j=s(69720),S=s(15376),N=s(96816),x=s(97392),T=s(43026);const __=n.__,A=(0,f.$j)((e=>({isLoading:!(0,w.WA)(e)||!(0,w.i8)(e)||(0,_._5)(e),step:(0,w.TO)(e),onboardingData:(0,w.YU)(e),newRecommendations:(0,E.YJ)(e)})),(e=>({updateOnboardingData:t=>e((0,w.y5)(t)),updateStep:t=>e((0,w.OC)(t))})))((e=>{const{isLoading:t,step:s,newRecommendations:n}=e;let f;switch(s){case y.uw.NOT_STARTED:case y.uw.SITE_TYPE:f="/site-type";break;case y.uw.PRODUCT_SUGGESTIONS:f="/product-suggestions";break;case y.uw.PRODUCT_PURCHASED:f="/product-purchased";break;case y.uw.AGENCY:f="/agency";break;case y.uw.WOOCOMMERCE:f="/woocommerce";break;case y.uw.MONITOR:f="/monitor";break;case y.uw.NEWSLETTER:f="/newsletter";break;case y.uw.RELATED_POSTS:f="/related-posts";break;case y.uw.CREATIVE_MAIL:f="/creative-mail";break;case y.uw.SITE_ACCELERATOR:f="/site-accelerator";break;case y.uw.VAULTPRESS_BACKUP:f="/vaultpress-backup";break;case y.uw.VAULTPRESS_FOR_WOOCOMMERCE:f="/vaultpress-for-woocommerce";break;case y.uw.PUBLICIZE:f="/publicize";break;case y.uw.PROTECT:f="/protect";break;case y.uw.ANTI_SPAM:f="/anti-spam";break;case y.uw.VIDEOPRESS:f="/videopress";break;case y.uw.BACKUP_PLAN:f="/backup-plan";break;case y.uw.BOOST:f="/boost";break;case y.uw.SUMMARY:f="/summary";break;case y.uw.WELCOME__BACKUP:f="/welcome-backup";break;case y.uw.WELCOME__COMPLETE:f="/welcome-complete";break;case y.uw.WELCOME__SECURITY:f="/welcome-security";break;case y.uw.WELCOME__STARTER:f="/welcome-starter";break;case y.uw.WELCOME__ANTISPAM:f="/welcome-antispam";break;case y.uw.WELCOME__VIDEOPRESS:f="/welcome-videopress";break;case y.uw.WELCOME__SEARCH:f="/welcome-search";break;case y.uw.WELCOME__SCAN:f="/welcome-scan";break;case y.uw.WELCOME__SOCIAL_BASIC:f="/welcome-social-basic";break;case y.uw.WELCOME__SOCIAL_ADVANCED:f="/welcome-social-advanced";break;case y.uw.WELCOME__SOCIAL_IMAGE_GENERATOR:f="welcome-social-image-generator";break;case y.uw.WELCOME__GOLDEN_TOKEN:f="/welcome-golden-token";break;case y.uw.SERVER_CREDENTIALS:f="/server-credentials";break;case y.uw.BACKUP_ACTIVATED:f="/backup-activated";break;case y.uw.SCAN_ACTIVATED:f="/scan-activated";break;case y.uw.UNLIMITED_SHARING_ACTIVATED:f="/unlimited-sharing-activated";break;case y.uw.SOCIAL_ADVANCED_ACTIVATED:f="/social-advanced-activated";break;case y.uw.ANTISPAM_ACTIVATED:f="/antispam-activated";break;case y.uw.VIDEOPRESS_ACTIVATED:f="/videopress-activated";break;case y.uw.SEARCH_ACTIVATED:f="/search-activated";break;default:f="/summary"}const E=e=>n&&n.includes(e);return(({step:e,isLoading:t,onboardingData:s,updateOnboardingData:a,updateStep:n})=>{const[i,r]=(0,g.useState)(!1);(0,g.useEffect)((()=>{if(!i&&s&&!t){const{active:t,hasStarted:i,viewed:o}=s;r(!0),t&&!i?(n(e),a({...s,hasStarted:!0})):a({viewed:o})}}),[t,s,a,e,n,i])})(e),k().createElement(k().Fragment,null,k().createElement("h1",{className:"screen-reader-text"},__("Jetpack Recommendations","jetpack")),k().createElement(o.Z,null),k().createElement(c.Z,null),k().createElement(l.Z,null),k().createElement(r.Z,null),k().createElement(p.Z,null),k().createElement(d.Z,null),k().createElement(m.Z,null),k().createElement(u.Z,null),k().createElement(b.Z,null),k().createElement(i.Z,null),t?k().createElement("div",{className:"jp-recommendations__loading"},k().createElement(h.D,{altText:__("Loading recommendations","jetpack")})):k().createElement(v.rs,null,k().createElement(v.l_,{exact:!0,from:"/recommendations",to:"/recommendations"+f}),k().createElement(v.AW,{path:"/recommendations/site-type"},k().createElement(x.g,null)),k().createElement(v.AW,{path:"/recommendations/product-suggestions"},k().createElement(S.V,null)),k().createElement(v.AW,{path:"/recommendations/product-purchased"},k().createElement(C.Y,null)),k().createElement(v.AW,{path:"/recommendations/agency"},k().createElement(N.t,{stepSlug:"agency"})),k().createElement(v.AW,{path:"/recommendations/woocommerce"},k().createElement(j.Q,{stepSlug:"woocommerce"})),k().createElement(v.AW,{path:"/recommendations/monitor"},k().createElement(j.Q,{stepSlug:"monitor"})),k().createElement(v.AW,{path:"/recommendations/newsletter"},k().createElement(j.Q,{stepSlug:"newsletter"})),k().createElement(v.AW,{path:"/recommendations/related-posts"},k().createElement(j.Q,{stepSlug:"related-posts"})),k().createElement(v.AW,{path:"/recommendations/creative-mail"},k().createElement(j.Q,{stepSlug:"creative-mail"})),k().createElement(v.AW,{path:"/recommendations/site-accelerator"},k().createElement(j.Q,{stepSlug:"site-accelerator"})),k().createElement(v.AW,{path:"/recommendations/vaultpress-backup"},k().createElement(N.t,{stepSlug:"vaultpress-backup"})),k().createElement(v.AW,{path:"/recommendations/vaultpress-for-woocommerce"},k().createElement(N.t,{stepSlug:"vaultpress-for-woocommerce"})),k().createElement(v.AW,{path:"/recommendations/publicize"},k().createElement(j.Q,{stepSlug:"publicize",isNew:E("publicize")})),k().createElement(v.AW,{path:"/recommendations/protect"},k().createElement(j.Q,{stepSlug:"protect",isNew:E("protect")})),k().createElement(v.AW,{path:"/recommendations/anti-spam"},k().createElement(N.t,{stepSlug:"anti-spam",isNew:E("anti-spam")})),k().createElement(v.AW,{path:"/recommendations/videopress"},k().createElement(j.Q,{stepSlug:"videopress",isNew:E("videopress")})),k().createElement(v.AW,{path:"/recommendations/backup-plan"},k().createElement(N.t,{stepSlug:"backup-plan",isNew:E("backup-plan")})),k().createElement(v.AW,{path:"/recommendations/boost"},k().createElement(j.Q,{stepSlug:"boost",isNew:E("boost")})),k().createElement(v.AW,{path:"/recommendations/welcome-backup"},k().createElement(N.t,{stepSlug:"welcome__backup"})),k().createElement(v.AW,{path:"/recommendations/welcome-complete"},k().createElement(N.t,{stepSlug:"welcome__complete"})),k().createElement(v.AW,{path:"/recommendations/welcome-starter"},k().createElement(N.t,{stepSlug:"welcome__starter"})),k().createElement(v.AW,{path:"/recommendations/welcome-security"},k().createElement(N.t,{stepSlug:"welcome__security"})),k().createElement(v.AW,{path:"/recommendations/welcome-antispam"},k().createElement(N.t,{stepSlug:"welcome__antispam"})),k().createElement(v.AW,{path:"/recommendations/welcome-videopress"},k().createElement(N.t,{stepSlug:"welcome__videopress"})),k().createElement(v.AW,{path:"/recommendations/welcome-search"},k().createElement(N.t,{stepSlug:"welcome__search"})),k().createElement(v.AW,{path:"/recommendations/welcome-scan"},k().createElement(N.t,{stepSlug:"welcome__scan"})),k().createElement(v.AW,{path:"/recommendations/welcome-social-basic"},k().createElement(N.t,{stepSlug:"welcome__social_basic"})),k().createElement(v.AW,{path:"/recommendations/welcome-social-advanced"},k().createElement(N.t,{stepSlug:"welcome__social_advanced"})),k().createElement(v.AW,{path:"/recommendations/welcome-social-image-generator"},k().createElement(N.t,{stepSlug:"welcome__social_image_generator"})),k().createElement(v.AW,{path:"/recommendations/welcome-golden-token"},k().createElement(N.t,{stepSlug:"welcome__golden_token"})),k().createElement(v.AW,{path:"/recommendations/backup-activated"},k().createElement(N.t,{stepSlug:"backup-activated"})),k().createElement(v.AW,{path:"/recommendations/scan-activated"},k().createElement(N.t,{stepSlug:"scan-activated"})),k().createElement(v.AW,{path:"/recommendations/unlimited-sharing-activated"},k().createElement(N.t,{stepSlug:"unlimited-sharing-activated"})),k().createElement(v.AW,{path:"/recommendations/social-advanced-activated"},k().createElement(N.t,{stepSlug:"social-advanced-activated"})),k().createElement(v.AW,{path:"/recommendations/antispam-activated"},k().createElement(N.t,{stepSlug:"antispam-activated"})),k().createElement(v.AW,{path:"/recommendations/videopress-activated"},k().createElement(N.t,{stepSlug:"videopress-activated"})),k().createElement(v.AW,{path:"/recommendations/search-activated"},k().createElement(N.t,{stepSlug:"search-activated"})),k().createElement(v.AW,{path:"/recommendations/server-credentials"},k().createElement(N.t,{stepSlug:"server-credentials"})),k().createElement(v.AW,{path:"/recommendations/summary"},k().createElement(T.E,{newRecommendations:n}))),k().createElement("div",{className:"jp-recommendations__links"},k().createElement("a",{role:"button",tabIndex:"0",href:(0,a.Z)("jetpack-support-getting-started")},__("Learn how to get started with Jetpack","jetpack")),k().createElement("a",{role:"button",tabIndex:"0",href:(0,a.Z)("jetpack-support")},__("Search our support site","jetpack"))))}))},18821:(e,t,s)=>{"use strict";s.d(t,{u:()=>C});var a=s(82674),n=s.n(a),i=s(25607),r=s(16554),o=s(65736),c=s(65235),l=s.n(c),p=s(97506),d=s(25162),u=s.n(d),m=s(99196),h=s.n(m),g=s(59309),k=s(36920),f=s(16876),v=s(23494),E=s(71912),w=s(36622),_=s(17279);const __=o.__,b=({className:e,integer:t,fraction:s,symbol:a})=>h().createElement("div",{className:e},h().createElement("sup",{className:"jp-recommendations-product-card-upsell__currency-symbol"},a),h().createElement("span",{className:"jp-recommendations-product-card-upsell__price-integer"},t),h().createElement("sup",{className:"jp-recommendations-product-card-upsell__price-fraction"},s)),y=({slug:e,cost:t,title:s,description:a,billing_timeframe:c,cost_timeframe:d,currency_code:u,isRecommended:g,features:k,onClick:f,onMount:E,isFetchingDiscount:y,isFetchingOffers:C,discountData:j,introOffers:S,upgradeUrl:N})=>{const{discount:x}=j,T=(0,m.useMemo)((()=>(0,_.h)(j)),[j]),A=(0,m.useMemo)((()=>S.find((({product_slug:t})=>t===e))||{}),[e,S]),{original_price:M,raw_price:P}=A,Z=M||12*t,O=P||Z,R=(0,r.Z)(A),L=!R&&T&&x?O*(1-x/100):O,z=Z?Math.round((Z-L)/Z*100):null,I=(0,m.useMemo)((()=>(0,i.LR)(Z/12,u)),[Z,u]),U=(0,m.useMemo)((()=>(0,i.LR)(L/12,u)),[L,u]),D=new URL(N);R&&D.searchParams.delete("coupon");const V=g&&h().createElement(w.Z,{className:"jp-recommendations-product-card-upsell__header"});return(0,m.useEffect)((()=>{E&&E()}),[E]),h().createElement("div",{className:l()("jp-recommendations-product-card-upsell",{"with-header":!!V})},V,h().createElement("h1",{className:"jp-recommendations-product-card-upsell__heading"},s),h().createElement("p",{className:"jp-recommendations-product-card-upsell__description"},a),h().createElement("ul",{className:"jp-recommendations-product-card-upsell__features jp-recommendations-sidebar-card__features"},k.map((e=>h().createElement("li",{key:e},e)))),!(y||C)&&h().createElement(h().Fragment,null,h().createElement("div",{className:"jp-recommendations-product-card-upsell__price-container"},h().createElement("div",{className:"jp-recommendations-product-card-upsell__price"},T&&h().createElement(b,n()({className:"jp-recommendations-product-card-upsell__raw-price"},I)),h().createElement(b,n()({className:"jp-recommendations-product-card-upsell__final-price"},U)),T&&h().createElement(v.Z,{className:"jp-recommendations-product-card-upsell__discount",discount:z,suffix:"*"})),h().createElement("div",{className:"jp-recommendations-product-card-upsell__billing-time-frame"},`${d}, ${c}`))),h().createElement(p.Z,{className:"jp-recommendations-product-card-upsell__cta-button",primary:!g,rna:!0,href:D.toString(),onClick:f,target:"_blank",rel:"noopener noreferrer"},/* translators: %s: Jetpack product name. */ /* translators: %s: Jetpack product name. */
(0,o.sprintf)(__("Get %s","jetpack"),s)))};y.propTypes={slug:u().string.isRequired,cost:u().number,title:u().string.isRequired,description:u().string.isRequired,billing_timeframe:u().string.isRequired,cost_timeframe:u().string.isRequired,currency_code:u().string.isRequired,features:u().arrayOf(u().string).isRequired,isRecommended:u().bool,onClick:u().func,onMount:u().func};const C=(0,g.$j)((e=>({isFetchingDiscount:(0,f.Zd)(e),isFetchingOffers:(0,k.HW)(e),discountData:(0,f.u)(e),introOffers:(0,k.ni)(e)})))((0,E.Z)(y))},14404:(e,t,s)=>{"use strict";s.d(t,{Y:()=>k});var a=s(94343),n=s(65736),i=s(97506),r=s(5060),o=s(72129),c=s(84069),l=s(92819),p=s(99196),d=s.n(p),u=s(59309),m=s(8722),h=s(33002),g=s(19916);const __=n.__,_x=n._x,k=(0,u.$j)((e=>({activePurchases:(0,h.p)(e),isFetchingSiteData:(0,h._5)(e),isFetchingSuggestions:(0,m.at)(e),nextRoute:(0,m.mI)(e),sitePlan:(0,h.UL)(e),suggestions:(0,m.El)(e)})))((e=>{const{nextRoute:t}=e,s=(({activePurchases:e,isFetchingSiteData:t,isFetchingSuggestions:s,sitePlan:a,suggestions:n})=>{if(t||s)return!1;if(!n||!(0,l.isArray)(n))return!1;const i=n.find((e=>e.slug===a.product_slug));if(i)return i;if((0,l.isArray)(e)){const t=n.find((t=>{if(e.find((e=>t.slug===e.product_slug)))return t}));if(t)return t}return!1})(e);if((0,p.useEffect)((()=>{s&&c.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_purchased",{type:s.slug})}),[s]),!s)return d().createElement(o.D,{altText:__("Loading recommendations","jetpack")});const n=d().createElement("div",{className:"jp-recommendations-product-purchased"},d().createElement("ul",{className:"jp-recommendations-product-purchased__features"},s&&s.features.map(((e,t)=>d().createElement("li",{className:"jp-recommendations-product-purchased__feature",key:t},d().createElement(r.Z,{icon:"checkmark"}),e)))),d().createElement(i.Z,{primary:!0,rna:!0,className:"jp-recommendations-product-purchased__next",href:t},_x("Configure your site","Recommendations Product Purchased","jetpack")));return d().createElement(g.X,{progressBar:d().createElement(a.Z,{className:"progress-bar",progressClassName:"progress-bar__progress",progress:.33}),question:__("Your plan has been upgraded!","jetpack"),description:__("You now have access to these benefits:","jetpack"),answer:n,illustration:"assistant-product-purchased",illustrationClassName:"jp-recommendations-product-purchased__illustration"})}))},90068:(e,t,s)=>{"use strict";s.d(t,{C:()=>h});var a=s(65235),n=s.n(a),i=s(42698),r=s(84069),o=s(25162),c=s.n(o),l=s(99196),p=s.n(l),d=s(59309),u=s(8722);const m=({answerKey:e,checked:t,info:s,title:a,updateCheckboxAnswer:o})=>{const c=(0,l.useCallback)((()=>o({[e]:!t})),[e,t,o]),d=(0,l.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_site_type_popover_click",{type:e.replace("-","_")})}),[e]);return p().createElement("div",{className:"jp-checkbox-answer__container"},p().createElement("label",{htmlFor:e,className:n()("jp-checkbox-answer__title",{checked:t})},p().createElement("input",{id:e,className:"jp-checkbox-answer__checkbox-input",type:"checkbox",checked:t,onChange:c}),a),p().createElement("div",{className:"jp-checkbox-answer__info"},p().createElement(i.Z,{position:"top right",onClick:d},s)))};m.propTypes={answerKey:c().string.isRequired,info:c().string.isRequired,title:c().string.isRequired};const h=(0,d.$j)(((e,t)=>({checked:(0,u.$q)(e,t.answerKey)})),(e=>({updateCheckboxAnswer:t=>e((0,u.x5)(t))})))(m)},69720:(e,t,s)=>{"use strict";s.d(t,{Q:()=>w});var a=s(94343),n=s(55609),i=s(69307),r=s(65736),o=s(97506),c=s(5060),l=s(84069),p=s(99196),d=s.n(p),u=s(59309),m=s(8722),h=s(39398),g=s(97684),k=s(86095),f=s(28747),v=s(29162),E=s(19916);const __=r.__,w=(0,u.$j)(((e,t)=>({nextRoute:(0,m.mI)(e),...(0,g.gU)(e,t.stepSlug),...(0,g.mp)(e,t.stepSlug),stateStepSlug:(0,m.TO)(e),updatingStep:(0,m.ZL)(e),canShowProductSuggestions:(0,m.sB)(e),discountViewedStep:(0,m.VZ)(e),featureActive:(0,m.dz)(e,t.stepSlug),summaryViewed:(0,m.E3)(e,"summary"),spotlightProduct:(0,m.fo)(e,t.stepSlug),...(0,m.F_)(e)?{stepProgressValue:(0,m.HZ)(e),summaryViewed:!1}:{}})),((e,t)=>({addSelectedRecommendation:t=>e((0,m.Pq)(t)),addSkippedRecommendation:t=>e((0,m.J_)(t)),addViewedRecommendation:t=>e((0,m.Hm)(t)),updateRecommendationsStep:t=>e((0,m.OC)(t)),startFeatureInstall:t=>e((0,m.s2)(t)),endFeatureInstall:t=>e((0,m.Ti)(t)),...(0,g.ZS)(e,t.stepSlug)})))((e=>{const{activateFeature:t,addSelectedRecommendation:s,addSkippedRecommendation:r,addViewedRecommendation:u,startFeatureInstall:m,endFeatureInstall:g,ctaText:w,description:_,descriptionLink:b,descriptionList:y,descriptionSecondary:C,illustration:j,nextRoute:S,progressValue:N,stepProgressValue:x,question:T,stepSlug:A,stateStepSlug:M,updatingStep:P,updateRecommendationsStep:Z,spotlightProduct:O,isNew:R,canShowProductSuggestions:L,discountViewedStep:z,featureActive:I,configureButtonLabel:U,configLink:D,summaryViewed:V}=e;(0,p.useEffect)((()=>{A!==M?Z(A):A!==M||P||(u(A),l.Z.tracks.recordEvent("jetpack_recommendations_recommendation_viewed",{feature:A}))}),[A,M,P,Z,u]);const B=!z||z===A,F=(0,p.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommended_feature_learn_more_click",{feature:A})}),[A]),H=(0,p.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommended_feature_enable_click",{feature:A}),s(A),m(A),t().finally((()=>{g(A)}))}),[t,s,A,m,g]),J=(0,p.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommended_feature_configure_click",{feature:A})}),[A]),q=(0,p.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommended_feature_decide_later_click",{feature:A}),r(A)}),[r,A]),W=(0,p.useCallback)((()=>{l.Z.tracks.recordEvent("jetpack_recommended_feature_back_to_summary_click",{feature:A})}),[A]),G=(0,p.useMemo)((()=>D.match(/^https:\/\/jetpack.com\/redirect/)),[D]);let $=null;O?$=d().createElement(f.N,{productSlug:O,stepSlug:A}):B&&L&&($=d().createElement(k.Z,null));const K=(0,p.useMemo)((()=>x?d().createElement(v.R,x):N?d().createElement(a.Z,{className:"progress-bar",progressClassName:"progress-bar__progress",progress:N/100}):null),[x,N]);return d().createElement(E.X,{progressBar:K,isNew:R,question:T,description:(0,i.createInterpolateElement)(_,{br:d().createElement("br",null),strong:d().createElement("strong",null),ExternalLink:d().createElement(n.ExternalLink,{href:b,onClick:F})}),content:y||C?d().createElement(d().Fragment,null,y&&d().createElement("ul",{className:"jp-recommendations-question__description-list"},y.map(((e,t)=>d().createElement("li",{key:t},e)))),C&&d().createElement("p",{className:"jp-recommendations-question__description"},C)):null,answer:d().createElement("div",{className:"jp-recommendations-question__install-section"},I?d().createElement(d().Fragment,null,d().createElement("div",{className:"jp-recommendations-question__feature-enabled"},d().createElement("div",{className:"jp-recommendations-question__checkmark"},d().createElement(c.Z,{icon:"checkmark-circle",size:24})),d().createElement("span",null,__("Feature Enabled","jetpack"))),d().createElement("div",{className:"jp-recommendations-question__settings-button"},G?d().createElement(n.ExternalLink,{type:"button",className:"dops-button is-rna",href:D,onClick:J},U):d().createElement(o.Z,{rna:!0,href:D,onClick:J},U))):d().createElement(o.Z,{primary:!0,rna:!0,href:S,onClick:H},w),d().createElement("div",{className:"jp-recommendations-question__jump-nav"},d().createElement("a",{href:S,onClick:q},I&&__("Next","jetpack"),!I&&__("Not now","jetpack")),V&&d().createElement(d().Fragment,null,d().createElement("span",{className:"jp-recommendations-question__jump-nav-separator"},"|"),d().createElement("a",{onClick:W,href:"#/recommendations/summary"},__("View Recommendations","jetpack")," ")))),sidebarCard:$,illustration:j||h.lY})}))},59908:(e,t,s)=>{"use strict";s.d(t,{A:()=>k});var a=s(82674),n=s.n(a),i=s(84069),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(59309),d=s(8722),u=s(33002),m=s(18821),h=s(17279);const g=({product:e,addSelectedRecommendation:t,upsell:s,discountData:a})=>{const r=(0,c.useMemo)((()=>(0,h.h)(a)),[a]),o=(0,c.useCallback)((()=>{i.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_click",{product_slug:e.slug,discount:r}),t("product-suggestions")}),[e,t,r]),p=(0,c.useCallback)((()=>{i.Z.tracks.recordEvent("jetpack_recommendations_product_suggestion_display",{product_slug:e.slug,discount:r})}),[e,r]);return l().createElement(m.u,n()({},e,{isRecommended:e.slug===s?.product_slug,onClick:o,onMount:p}))};g.propTypes={product:o().object.isRequired};const k=(0,p.$j)((e=>({upsell:(0,d.jn)(e),discountData:(0,u.u)(e)})),(e=>({addSelectedRecommendation:t=>e((0,d.Pq)(t))})))(g)},15376:(e,t,s)=>{"use strict";s.d(t,{V:()=>k});var a=s(65736),n=s(72129),i=s(23609),r=s(99196),o=s.n(r),c=s(59309),l=s(44498),p=s(8722),d=s(16876),u=s(98014),m=s(88842),h=s(17279),g=s(59908);const __=a.__,k=(0,c.$j)((e=>({nextRoute:(0,p.mI)(e),isProductSuggestionsAvailable:(0,p.sB)(e),isFetchingSuggestions:(0,p.at)(e),isFetchingDiscount:(0,d.Zd)(e),isFetchingUpsell:(0,p.b5)(e),suggestions:(0,p.El)(e),discountData:(0,d.u)(e)})))((({nextRoute:e,isProductSuggestionsAvailable:t,isFetchingSuggestions:s,isFetchingDiscount:a,isFetchingUpsell:c,suggestions:p,discountData:d})=>{const{expiry_date:k}=d,f=(0,r.useMemo)((()=>(0,h.h)(d)),[d]);return s||c?o().createElement(n.D,{altText:__("Loading recommendations","jetpack")}):t?o().createElement("section",{className:"jp-recommendations-question__main"},o().createElement("header",{className:"jp-recommendations-product-suggestion__header"},o().createElement(u.Z,null)),o().createElement("div",{className:"jp-recommendations-product-suggestion__container"},o().createElement("div",{className:"jp-recommendations-product-suggestion__items"},p.map(((e,t)=>o().createElement("div",{className:"jp-recommendations-product-suggestion__item",key:t},o().createElement(g.A,{product:e}))))),o().createElement("div",{className:"jp-recommendations-product-suggestion__money-back-guarantee"},o().createElement(i.N,{text:__("14-day money-back guarantee","jetpack")}))),!a&&o().createElement("footer",{className:"jp-recommendations-product-suggestion__footer"},o().createElement("span",null,f&&__("* Discount is for first term only, all renewals are at full price.","jetpack"),!f&&__("Special introductory pricing, all renewals are at full price.","jetpack")),f&&k&&o().createElement("div",{className:"jp-recommendations-product-suggestion__timer"},o().createElement(m.Z,{timeClassName:"jp-recommendations-product-suggestion__time",label:__("Discount ends in:","jetpack"),expiryDate:k})))):o().createElement(l.l_,{to:e.substring(1)})}))},19916:(e,t,s)=>{"use strict";s.d(t,{X:()=>v});var a=s(80800),n=s(69307),i=s(65736),r=s(65235),o=s.n(r),c=s(25162),l=s.n(c),p=s(99196),d=s.n(p),u=s(59309),m=s(36920),h=s(8722),g=s(16876);const __=i.__,k=({isLoading:e,illustration:t,illustrationClassName:s,sidebarCard:n})=>{const i=`${a.hp}recommendations/${t}`;return e?null:n?d().createElement("div",{className:"jp-recommendations-question__sidebar-card"},n):t?d().createElement("div",{className:"jp-recommendations-question__illustration-container"},d().createElement("picture",{className:"jp-recommendations-question__illustration-picture"},d().createElement("source",{type:"image/webp",srcSet:`${i}.webp 1x, ${i}-2x.webp 2x`}),d().createElement("img",{className:o()("jp-recommendations-question__illustration",s),srcSet:`${i}-2x.png 2x`,src:`${i}.png`,alt:""}))):null},f=e=>{const{answer:t,description:s,illustration:a,progressBar:i,question:r,content:c,isNew:l,sidebarCard:p}=e;return d().createElement("div",{className:o()("jp-recommendations-question__main",{"jp-recommendations-question__main--with-sidebar":!!a||!!p})},d().createElement("div",{className:"jp-recommendations-question__content"},(l||i)&&d().createElement("div",{className:"jp-recommendations-question__progress-bar-wrap"},l&&d().createElement("span",{className:"jp-recommendations__new-badge"},__("New","jetpack")),d().createElement("div",{className:"jp-recommendations-question__progress-bar"},i)),d().createElement("h1",{className:"jp-recommendations-question__question"},(0,n.createInterpolateElement)(r,{nbsp:d().createElement("span",null," ")})),s&&d().createElement("p",{className:"jp-recommendations-question__description"},s),c,d().createElement("div",{className:"jp-recommendations-question__answer"},t)),d().createElement("div",{className:"jp-recommendations-question__sidebar"},d().createElement(k,e)))};f.propTypes={answer:l().element.isRequired,description:l().oneOfType([l().string,l().element]).isRequired,illustration:l().string,illustrationClassName:l().string,progressBar:l().element,question:l().oneOfType([l().string,l().element]).isRequired,content:l().element,sidebarCard:l().element,isNew:l().bool,isLoading:l().bool};const v=(0,u.$j)((e=>({isLoading:(0,g.Zd)(e)||(0,h.at)(e)||(0,m.HW)(e)})))(f)},96816:(e,t,s)=>{"use strict";s.d(t,{t:()=>v});var a=s(94343),n=s(55609),i=s(69307),r=s(65736),o=s(97506),c=s(84069),l=s(99196),p=s.n(l),d=s(59309),u=s(28747),m=s(8722),h=s(39398),g=s(97684),k=s(29162),f=s(19916);const __=r.__,v=(0,d.$j)(((e,t)=>({nextRoute:(0,m.mI)(e),...(0,g.gU)(e,t.stepSlug),stateStepSlug:(0,m.TO)(e),updatingStep:(0,m.ZL)(e),summaryViewed:(0,m.E3)(e,"summary"),spotlightProduct:(0,m.fo)(e,t.stepSlug),...(0,m.F_)(e)?{stepProgressValue:(0,m.HZ)(e),progressValue:null,summaryViewed:!1}:{}})),(e=>({addViewedRecommendation:t=>e((0,m.Hm)(t)),updateRecommendationsStep:t=>e((0,m.OC)(t))})))((e=>{const{isNew:t,progressValue:s,stepProgressValue:r,question:d,description:m,descriptionList:g,descriptionSecondary:v,descriptionLink:E,nextRoute:w,illustration:_,ctaText:b,ctaLink:y,hasNoAction:C,skipText:j,stepSlug:S,stateStepSlug:N,updatingStep:x,spotlightProduct:T,updateRecommendationsStep:A,addViewedRecommendation:M,summaryViewed:P}=e;(0,l.useEffect)((()=>{S!==N?A(S):S!==N||x||(M(S),c.Z.tracks.recordEvent("jetpack_recommendations_recommendation_viewed",{feature:S}))}),[S,N,x,A,M]);const Z=(0,l.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommended_resource_learn_more_click",{feature:S})}),[S]),O=(0,l.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommended_resource_read_click",{feature:S}),window.location.href=w}),[S,w]),R=(0,l.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommended_resource_skip_click",{feature:S})}),[S]),L=(0,l.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommended_resource_back_to_summary_click",{feature:S})}),[S]),z=(0,l.useMemo)((()=>r?p().createElement(k.R,r):s?p().createElement(a.Z,{className:"progress-bar",progressClassName:"progress-bar__progress",progress:s/100}):null),[r,s]);return p().createElement(f.X,{progressBar:z,isNew:t,question:d,description:m?(0,i.createInterpolateElement)(m,{br:p().createElement("br",null),strong:p().createElement("strong",null),ExternalLink:p().createElement(n.ExternalLink,{href:E,onClick:Z})}):null,content:g||v?p().createElement(p().Fragment,null,g&&p().createElement("ul",{className:"jp-recommendations-question__description-list"},g.map(((e,t)=>p().createElement("li",{key:t},e)))),v&&p().createElement("p",{className:"jp-recommendations-question__description"},v)):null,answer:p().createElement("div",{className:"jp-recommendations-question__install-section"},C?p().createElement(o.Z,{primary:!0,rna:!0,href:w},b):p().createElement(p().Fragment,null,p().createElement(n.ExternalLink,{type:"button",className:"dops-button is-rna is-primary",href:y,onClick:O},b),p().createElement("div",{className:"jp-recommendations-question__jump-nav"},p().createElement("a",{href:w,onClick:R},j||__("Not now","jetpack")),P&&p().createElement(p().Fragment,null,p().createElement("span",{className:"jp-recommendations-question__jump-nav-separator"},"|"),p().createElement("a",{onClick:L,href:"#/recommendations/summary"},__("View Recommendations","jetpack")," "))))),sidebarCard:T?p().createElement(u.N,{productSlug:T,stepSlug:S}):null,illustration:_||h.lY})}))},97392:(e,t,s)=>{"use strict";s.d(t,{g:()=>g});var a=s(94343),n=s(65736),i=s(97506),r=s(84069),o=s(99196),c=s(59309),l=s(69508),p=s(8722),d=s(39398),u=s(86095),m=s(90068),h=s(19916);const __=n.__,g=(0,c.$j)((e=>({nextRoute:(0,p.mI)(e),siteTitle:(0,l.aW)(e),answers:{personal:(0,p.$q)(e,"site-type-personal"),builder:(0,p.$q)(e,"site-type-agency"),store:(0,p.$q)(e,"site-type-store")},stateStepSlug:(0,p.TO)(e),updatingStep:(0,p.ZL)(e),canShowProductSuggestions:(0,p.sB)(e)})),(e=>({updateRecommendationsStep:t=>e((0,p.OC)(t)),addViewedRecommendation:t=>e((0,p.Hm)(t)),saveRecommendationsData:()=>e((0,p.u8)())})))((e=>{const{answers:t,nextRoute:s,saveRecommendationsData:c,siteTitle:l,stateStepSlug:p,updatingStep:g,addViewedRecommendation:k,updateRecommendationsStep:f,canShowProductSuggestions:v}=e;(0,o.useEffect)((()=>{"site-type-question"!==p?f("site-type-question"):"site-type-question"!==p||g||k("site-type-question")}),[p,g,f,k]);const E=(0,o.useCallback)((()=>{c(),r.Z.tracks.recordEvent("jetpack_recommendations_site_type_answered",t)}),[t,c]),w=React.createElement("div",{className:"jp-recommendations-question__site-type-answer-container"},React.createElement("div",{className:"jp-recommendations-question__site-type-checkboxes"},React.createElement(m.C,{answerKey:"site-type-agency",title:__("I build or manage this site for a client","jetpack"),info:__("Are you an agency or developer that builds or manages sites for clients?","jetpack")}),React.createElement(m.C,{answerKey:"site-type-store",title:__("This is an e-commerce site","jetpack"),info:__("E-commerce sites include stores selling goods, services, or digital downloads.","jetpack")}),React.createElement(m.C,{answerKey:"site-type-personal",title:__("This is a personal site","jetpack"),info:__("You built this site yourself, nice work! Personal sites include things like blogs, resume sites, wedding sites, and hobby sites.","jetpack")})),React.createElement(i.Z,{primary:!0,rna:!0,href:s,onClick:E},__("Continue","jetpack")),React.createElement("div",{className:"jp-recommendations-site-type-question__continue-description"},__("All of Jetpack’s great features await you and we’ll recommend some of our favorites.","jetpack")));return React.createElement(h.X,{progressBar:React.createElement(a.Z,{className:"progress-bar",progressClassName:"progress-bar__progress",progress:.14}),question:/* translators: placeholder is the title of the site */ /* translators: placeholder is the title of the site */
(0,n.sprintf)(__("Tell us more about %s?","jetpack"),l),description:__("To help you get the most from Jetpack, tell us about your site. Check all that apply:","jetpack"),answer:w,sidebarCard:v?React.createElement(u.Z,null):null,illustration:d.lY,illustrationClassName:"jp-recommendations-site-type__illustration"})}))},86095:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(80800),n=s(65736),i=s(97506),r=s(84069),o=s(99196),c=s.n(o),l=s(59309),p=s(36920),d=s(8722),u=s(16876),m=s(23494),h=s(88842),g=s(90351),k=s(17279);const __=n.__,f=(0,l.$j)((e=>({isLoading:(0,u.Zd)(e)||(0,d.at)(e)||(0,p.HW)(e),discountData:(0,u.u)(e),introOffers:(0,p.ni)(e),suggestions:(0,d.El)(e),step:(0,d.TO)(e)})),(e=>({markAsViewed:t=>e((0,d.fy)(t))})))((({isLoading:e,discountData:t,introOffers:s,suggestions:n,markAsViewed:l,step:p})=>{const{expiry_date:d}=t,u=(0,o.useMemo)((()=>(0,g.q)(t,s,n)),[t,s,n]),f=(0,o.useMemo)((()=>(0,k.h)(t)),[t]),v=(0,o.useCallback)((()=>{r.Z.tracks.recordEvent("jetpack_recommendations_upsell_card_cta_click",{discount:f})}),[f]);return(0,o.useEffect)((()=>{l(p)}),[l,p]),(0,o.useEffect)((()=>{e||r.Z.tracks.recordEvent("jetpack_recommendations_upsell_card_display",{discount:f})}),[e,f]),e?null:c().createElement("div",{className:"jp-recommendations-discount-card"},c().createElement("div",{className:"jp-recommendations-discount-card__container"},c().createElement("div",{className:"jp-recommendations-discount-card__card"},c().createElement("div",{className:"jp-recommendations-discount-card__card-header"},c().createElement("img",{className:"jp-recommendations-discount-card__header-icon",src:a.hp+"recommendations/cloud-icon.svg",alt:""}),f&&c().createElement(m.Z,{discount:u})),c().createElement("div",{className:"jp-recommendations-discount-card__card-body"},c().createElement("h3",{className:"jp-recommendations-discount-card__heading"},__("Increase your site security!","jetpack")),c().createElement("ul",{className:"jp-recommendations-discount-card__feature-list"},c().createElement("li",null,__("Real-time cloud backups","jetpack")),c().createElement("li",null,__("One-click restores","jetpack")),c().createElement("li",null,__("Real-time malware scanning","jetpack")),c().createElement("li",null,__("Comments and form spam protection","jetpack"))),!e&&c().createElement(i.Z,{className:"jp-recommendations-discount-card__button",rna:!0,href:"#/recommendations/product-suggestions",onClick:v},f&&__("View discounted products","jetpack"),!f&&__("View products","jetpack")))),f&&c().createElement("div",{className:"jp-recommendations-discount-card__timer"},c().createElement(h.Z,{timeClassName:"jp-recommendations-discount-card__time",label:__("Discount ends in:","jetpack"),expiryDate:d}))))}))},15356:(e,t,s)=>{"use strict";s.d(t,{K:()=>g});var a=s(80800),n=s(6895),i=s(55609),r=s(69307),o=s(65736),c=s(65235),l=s.n(c),p=s(20408),d=s(84069),u=s(34443),m=s(99196),h=s(95629);const __=o.__,g=({slug:e,underside:t=!1})=>{(0,m.useEffect)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"mobile_app",slug:e})}),[e]);const s=(0,m.useCallback)((()=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_jpcom",slug:e})}),[e]),o=(0,m.useCallback)((t=>{d.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_badge",store:t,slug:e})}),[e]),c=()=>React.createElement("div",{className:"jp-recommendations-sidebar-mobile__apps-badge"},React.createElement(p.Z,{onBadgeClick:o,storeName:"ios",utm_source:"jetpack-plugin-recommendations"})),g=()=>React.createElement("div",{className:"jp-recommendations-sidebar-mobile__apps-badge"},React.createElement(p.Z,{onBadgeClick:o,storeName:"android",utm_source:"jetpack-plugin-recommendations"})),k=()=>React.createElement("div",{className:"jp-recommendations-sidebar-mobile__qr-code-section"},React.createElement("img",{className:"jp-recommendations-sidebar-mobile__qr-code-image",src:a.hp+`/recommendations/mobile-app-qr-code-${e}.png`,width:80,height:80,alt:"qr code to jetpack.com/app/ web page"}),React.createElement("p",{className:"jp-recommendations-sidebar-mobile__qr-code-body"},(0,r.createInterpolateElement)(__("Visit <ExternalLink>jetpack.com/app</ExternalLink> or scan this code to download the Jetpack mobile app.","jetpack"),{ExternalLink:React.createElement(i.ExternalLink,{href:(0,n.Z)("jetpack-plugin-recommendations-mobile-app-component"),rel:"noopener noreferrer",target:"_blank",onClick:s})}))),f=t?35:25,v=React.createElement("div",{className:"jp-recommendations-sidebar-mobile__header-container"},React.createElement("img",{src:a.hp+"/recommendations/wordpress-icon.svg",width:f,height:f,alt:""}),React.createElement("img",{className:l()("jp-recommendation-sidebar-mobile__jetpack-icon",{underside:t}),src:a.hp+"/recommendations/jetpack-icon.svg",width:f,height:f,alt:""}));return React.createElement(h.y,{className:t?"underside":"",header:v},React.createElement("h2",{className:"jp-recommendation-sidebar-mobile__heading"},(()=>{switch(e){case"download-app":return __("Check your site activity anywhere, any time.","jetpack");case"one-click-restores":return __("Restore a backup anytime with the Jetpack mobile app.","jetpack");case"manage-security":return __("Realtime security notifications anywhere, any time.","jetpack");default:return __("Jetpack puts WordPress in your pocket.","jetpack")}})()),React.createElement("p",null,(()=>{switch(e){case"download-app":return __("Never miss an important event with realtime notifications and your activity log just a tap away.","jetpack");case"one-click-restores":return __("Keep track of your site’s activity and restore your site anywhere, any time.","jetpack");case"manage-security":return __("Get instant alerts for serious issues and fix them with a simple tap.","jetpack");default:return __("The Jetpack mobile app gives you everything you need to grow and manage your WordPress site anywhere, anytime.","jetpack")}})()),(()=>{switch((0,u.Z)()){case"ios":return React.createElement(c,null);case"android":return React.createElement(g,null);default:return React.createElement(k,null)}})())}},78787:(e,t,s)=>{"use strict";s.d(t,{c:()=>h});var a=s(80800),n=s(6895),i=s(65736),r=s(97506),o=s(84069),c=s(99196),l=s.n(c),p=s(59309),d=s(69508),u=s(33002),m=s(95629);const __=i.__,h=(0,p.$j)((e=>({hasRealTimeBackups:(0,u.CV)(e,"real-time-backups"),siteRawUrl:(0,d.JR)(e)})))((e=>{const{hasRealTimeBackups:t,siteRawUrl:s}=e;(0,c.useEffect)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"one-click-restores"})}),[]);const p=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"one_click_restores"})}),[]),d=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_backup_getting_started_video_click",{position:"recommendations/one_click_restores"})}),[]);let u=__("Daily Backups","jetpack");return t&&(u=__("Real-time Backups","jetpack")),l().createElement(l().Fragment,null,l().createElement(m.y,{illustrationPath:a.hp+"/recommendations/one-click-restores.svg"},l().createElement("div",{className:"jp-recommendations-one-click-restores"},l().createElement("h2",null,__("Enable one-click restores","jetpack")),l().createElement("p",null,(0,i.sprintf)(/* translators: placeholder is the name of a backups plan: Daily Backups or Real-time Backups */
__("Get the most out of your %s. One-click restores ensure you’ll be able to easily restore your site, if anything goes wrong.","jetpack"),u)),l().createElement("p",null,__("Enter your server credentials to enable one-click restores included in your plan.","jetpack")),l().createElement("div",{className:"jp-recommendations-one-click-restores__cta"},l().createElement(r.Z,{rna:!0,href:(0,n.Z)("jetpack-backup-dash-credentials",{site:s}),onClick:p},__("Enable one-click restores","jetpack"))))),l().createElement(m.y,{compact:!0},l().createElement("div",{className:"jp-recommendations-getting-started-compact"},l().createElement("a",{href:a.zh,onClick:d,target:"_blank",rel:"noreferrer"},l().createElement("img",{className:"jp-recommendations-getting-started-compact__thumbnail",src:a.hp+"backup-getting-started-thumbnail.png",srcSet:`${a.hp+"backup-getting-started-thumbnail.png"} 1x, ${a.hp+"backup-getting-started-thumbnail-2x.png"} 2x`,alt:""})),l().createElement("div",null,l().createElement("h2",null,__("Getting started with Jetpack VaultPress Backup","jetpack")),l().createElement("p",null,__("A short video guide on how to back up your website","jetpack"))))))}))},73986:(e,t,s)=>{"use strict";s.d(t,{q:()=>d});var a=s(6895),n=s(65736),i=s(97506),r=s(5060),o=s(84069),c=s(99196),l=s(36622),p=s(95629);const __=n.__,d=()=>{(0,c.useEffect)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"upsell_no_price"})}),[]);const e=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"upsell_no_price"})}),[]),t=[__("Robust security to keep your site safe","jetpack"),__("Speed-enhancing performance tools","jetpack"),__("Increase site growth with marketing","jetpack")];return React.createElement(p.y,{header:React.createElement(l.Z,null)},React.createElement("div",null,React.createElement("h2",null,__("Powerful security, performance, and marketing","jetpack")),React.createElement("ul",{className:"jp-recommendations-sidebar-card__features"},t.map((e=>React.createElement("li",{key:e},e)))),React.createElement("p",null,__("Explore premium Jetpack product bundles or pick and choose exactly what you need.","jetpack")),React.createElement(i.Z,{rna:!0,href:(0,a.Z)("jetpack-plans"),onClick:e,target:"blank",rel:"noopener noreferrer"},__("Learn more","jetpack"),React.createElement(r.Z,{icon:"external"}))))}},28747:(e,t,s)=>{"use strict";s.d(t,{N:()=>m});var a=s(80800),n=s(55609),i=s(84069),r=s(25162),o=s.n(r),c=s(99196),l=s.n(c),p=s(59309),d=s(97684);const u=e=>{const{productCardTitle:t,productCardCtaLink:s,productCardCtaText:r,productCardList:o,productCardIcon:p,productCardDisclaimer:d,stepSlug:u}=e,m=(0,c.useCallback)((()=>{i.Z.tracks.recordEvent("jetpack_recommendations_step_product_card_button_click",{feature:u})}),[u]);return l().createElement("div",{className:"jp-recommendations-discount-card"},l().createElement("div",{className:"jp-recommendations-discount-card__container"},l().createElement("div",{className:"jp-recommendations-discount-card__card"},l().createElement("div",{className:"jp-recommendations-discount-card__card-header"},l().createElement("img",{className:"jp-recommendations-discount-card__header-icon",src:a.hp+p,alt:""})),l().createElement("div",{className:"jp-recommendations-discount-card__card-body"},l().createElement("h3",{className:"jp-recommendations-discount-card__heading"},t),o&&l().createElement("ul",{className:"jp-recommendations-discount-card__feature-list"},o.map(((e,t)=>l().createElement("li",{key:`feature-${t}`},e)))),d&&l().createElement("p",{className:"jp-recommendations-discount-card__disclaimer"},d.text," ",l().createElement(n.ExternalLink,{href:d.url},d.link_text)),l().createElement(n.ExternalLink,{type:"button",className:"dops-button is-rna jp-recommendations-discount-card__button",href:s,onClick:m},r)))))};u.propTypes={productSlug:o().string.isRequired};const m=(0,p.$j)(((e,t)=>({...(0,d.r3)(e,t.productSlug),...(0,d.qJ)(e,t.productSlug,t.stepSlug)})))(u)},36622:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var a=s(65736),n=s(65235),i=s.n(n),r=s(5060),o=s(99196),c=s.n(o);const __=a.__,l=({className:e})=>c().createElement("div",{className:i()("jp-recommendations-recommended-header",e)},c().createElement(r.Z,{size:18,icon:"star"}),__("Recommended premium product","jetpack"))},24855:(e,t,s)=>{"use strict";s.d(t,{c:()=>h});var a=s(80800),n=s(6895),i=s(65736),r=s(97506),o=s(5060),c=s(84069),l=s(99196),p=s.n(l),d=s(59309),u=s(69508),m=s(95629);const __=i.__,h=(0,d.$j)((e=>({siteRawUrl:(0,u.JR)(e)})))((e=>{const{siteRawUrl:t}=e;(0,l.useEffect)((()=>{c.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"security"})}),[]);const s=(0,l.useCallback)((()=>{c.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"security"})}),[]);return p().createElement(m.y,{illustrationPath:a.hp+"/recommendations/manage-security.svg"},p().createElement("div",null,p().createElement("h2",null,__("Manage your security on Jetpack.com","jetpack")),p().createElement("p",null,__("Did you know you can manage all your backups right from Jetpack.com?","jetpack")),p().createElement("p",null,__("You can also use your included Activity feature to monitor every change that occurs on your site!","jetpack")),p().createElement(r.Z,{rna:!0,href:(0,n.Z)("jetpack-backup",{site:t}),target:"_blank",rel:"noopener noreferrer",onClick:s},__("Manage security on Jetpack.com","jetpack"),p().createElement(o.Z,{icon:"external"}))))}))},95629:(e,t,s)=>{"use strict";s.d(t,{y:()=>o});var a=s(65235),n=s.n(a),i=s(99196),r=s.n(i);const o=e=>{const{header:t,children:s,illustrationPath:a,compact:i,className:o}=e;return r().createElement("div",{className:n()("jp-recommendations-sidebar-card",o,{"with-illustration":!!a})},a?r().createElement("div",{className:"jp-recommendations-sidebar-card__illustration-container"},r().createElement("div",{className:"jp-recommendations-sidebar-card__illustration"},r().createElement("img",{src:a,alt:""}))):t,r().createElement("div",{className:n()("jp-recommendations-sidebar-card__content",{"is-compact":i})},s))}},29162:(e,t,s)=>{"use strict";s.d(t,{R:()=>i});var a=s(94343),n=s(65736);const __=n.__,i=({currentStepIndex:e,totalSteps:t})=>{if(-1===e)return null;const s=e/(t-1)*100;return React.createElement("div",{className:"step-progress-bar"},React.createElement(a.Z,{className:"progress-bar",progressClassName:"progress-bar__progress",progress:s/100}),React.createElement("span",{className:"step-progress-bar__label"},(0,n.sprintf)(/* Translators: %1$s is the current step number, %2$s are total steps */
__("Step %1$s of %2$s","jetpack"),e+1,t)))}},43026:(e,t,s)=>{"use strict";s.d(t,{E:()=>C});var a=s(65736),n=s(65235),i=s.n(n),r=s(72129),o=s(92819),c=s(99196),l=s.n(c),p=s(59309),d=s(69508),u=s(8722),m=s(3230),h=s(61372),g=s(2025),k=s(21404),f=s(91508),v=s(15356),E=s(78787),w=s(73986),_=s(24855),b=s(95766);const __=a.__,y=e=>{const{isFetchingMainData:t,isFetchingSidebarData:s,isFetchingBottomSectionData:n,sidebarCardsSlug:o,siteTitle:p,summaryFeatureSlugs:d,summaryResourceSlugs:u,summaryPrimarySections:m,updateRecommendationsStep:h,addViewedRecommendation:y,upsell:C,isOnboardingActive:j,newRecommendations:S,stateStepSlug:N,updatingStep:x,updateOnboardingData:T}=e;(0,c.useEffect)((()=>{"summary"!==N?h("summary"):"summary"!==N||x||y("summary")}),[N,x,h,y]),(0,c.useEffect)((()=>{j&&T({active:null})}),[T,j]);const A=e=>S.includes(e),M=t?l().createElement(r.D,{altText:__("Loading recommendations","jetpack")}):l().createElement(l().Fragment,null,l().createElement("div",{className:"jp-recommendations-summary__configuration"},l().createElement("h1",null,(0,a.sprintf)(/* translators: %s is the site name */
__("Nice work! Let’s recap what we enabled for %s.","jetpack"),p)),m.map((({name:e,slugs:t})=>{const s=`primary-onboarding-${e.toLowerCase().replace(/[\s_-]+/g,"-")}`;return l().createElement("section",{key:e,"aria-labelledby":s},l().createElement("h2",{id:s},(0,a.sprintf)(/* translators: %s is the jetpack plan name */
__("Part of your %s plan","jetpack"),e)),t.map((e=>l().createElement(k.u,{key:e,slug:e}))))})),(d.selected.length>0||d.skipped.length>0)&&l().createElement("section",{"aria-labelledby":"enabled-recommendations"},l().createElement("h2",{id:"enabled-recommendations"},__("Recommendations enabled","jetpack")),l().createElement("div",null,d.selected.length>0?d.selected.map((e=>l().createElement(g.H,{key:e,featureSlug:e,isNew:A(e)}))):l().createElement("p",{className:"jp-recommendations-summary__recommendation-notice"},l().createElement("em",null,__("You didn’t enable any recommended features. To get the most out of Jetpack, enable some recommendations or explore all Jetpack features.","jetpack"))))),d.skipped.length>0&&l().createElement("section",{"aria-labelledby":"skipped-recommendations"},l().createElement("h2",{id:"skipped-recommendations"},__("Recommendations skipped","jetpack")),l().createElement("div",null,d.skipped.map((e=>l().createElement(g.H,{key:e,featureSlug:e,isNew:A(e)}))))),u.length>0&&l().createElement("section",{"aria-labelledby":"resources-summary-title"},l().createElement("h2",{id:"resources-summary-title"},__("Resources","jetpack")),l().createElement("div",null,u.map((e=>l().createElement(f._,{key:e,resourceSlug:e,isNew:A(e)})))))));let P,Z;if(s)P=l().createElement(r.D,{altText:__("Loading recommendations","jetpack")});else switch(o){case"loading":P=l().createElement(r.D,{altText:__("Loading recommendations","jetpack")});break;case"upsell":P=C.hide_upsell?l().createElement(w.q,null):l().createElement(b.Z,null),Z=l().createElement(v.K,{slug:o,underside:!0});break;case"one-click-restores":P=l().createElement(l().Fragment,null,l().createElement(E.c,null),l().createElement(v.K,{slug:o}));break;case"manage-security":P=l().createElement(l().Fragment,null,l().createElement(_.c,null),l().createElement(v.K,{slug:o}));break;case"download-app":P=l().createElement(v.K,{slug:o});break;default:P=l().createElement(v.K,{slug:"unknown"})}return l().createElement("div",{className:"jp-recommendations-summary"},l().createElement("div",{className:"jp-recommendations-summary__main"},l().createElement("div",{className:i()("jp-recommendations-summary__content",{isLoading:t})},M),l().createElement("div",{className:i()("jp-recommendations-summary__sidebar",{isLoading:s})},P)),Z&&l().createElement("div",{className:i()("jp-recommendations-summary__underside",{isLoading:n})},Z))};y.defaultProps={newRecommendations:[]};const C=(0,p.$j)((e=>{const t=(0,h.bK)(e),s=(0,m.Gw)(e),a=(0,u.jn)(e);return{isFetchingMainData:(0,o.isEmpty)(s)||(0,o.isEmpty)(t),isFetchingSidebarData:(0,o.isEmpty)(a),isFetchingBottomSectionData:(0,o.isEmpty)(a),sidebarCardsSlug:(0,u.Xi)(e),siteTitle:(0,d.aW)(e),summaryFeatureSlugs:(0,u.CI)(e),summaryResourceSlugs:(0,u.jp)(e),summaryPrimarySections:(0,u.TK)(e),stateStepSlug:(0,u.TO)(e),updatingStep:(0,u.ZL)(e),isOnboardingActive:(0,u.F_)(e),upsell:a}}),(e=>({updateRecommendationsStep:t=>e((0,u.OC)(t)),updateOnboardingData:t=>e((0,u.y5)(t)),addViewedRecommendation:t=>e((0,u.Hm)(t))})))(y)},95766:(e,t,s)=>{"use strict";s.d(t,{Z:()=>k});var a=s(82674),n=s.n(a),i=s(65736),r=s(23609),o=s(84069),c=s(99196),l=s.n(c),p=s(59309),d=s(8722),u=s(16876),m=s(18821),h=s(88842),g=s(17279);const __=i.__,k=(0,p.$j)((e=>({upsell:(0,d.jn)(e),discountData:(0,u.u)(e)})))((({upsell:e,discountData:t})=>{const{product_slug:s}=e||{},{expiry_date:a}=t,i=(0,c.useMemo)((()=>(0,g.h)(t)),[t]),p=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{product_slug:s,discount:i})}),[s,i]),d=(0,c.useCallback)((()=>{o.Z.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{product_slug:s,discount:i})}),[s,i]);return l().createElement(l().Fragment,null,l().createElement(m.u,n()({},e,{slug:s,isRecommended:!0,onClick:p,onMount:d})),i&&l().createElement("div",{className:"jp-recommendations-summary__discount"},l().createElement("div",{className:"jp-recommendations-summary__timer"},l().createElement(h.Z,{timeClassName:"jp-recommendations-summary__time",label:__("Discount ends in:","jetpack"),expiryDate:a})),l().createElement("a",{className:"jp-recommendations-summary__reco-link",href:"#/recommendations/product-suggestions"},__("See all discounted products","jetpack"))),l().createElement("div",{className:"jp-recommendations-summary__footer"},l().createElement(r.N,{text:__("14-day money-back guarantee","jetpack")}),l().createElement("div",{className:"jp-recommendations-summary__footnote"},i&&__("* Discount is for first term only, all renewals are at full price.","jetpack"),!i&&__("Special introductory pricing, all renewals are at full price.","jetpack"))))}))},88842:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(65736),n=s(99196),i=s.n(n);const __=a.__,r=({label:e,timeClassName:t,expiryDate:s})=>{const r=(0,n.useMemo)((()=>new Date(s)),[s]),[o,c]=(0,n.useState)(r-Date.now()),l=(0,n.useRef)(),p=(0,n.useCallback)((()=>{c(r-Date.now())}),[r,c]),d=(0,n.useCallback)((e=>{const t=e/1e3,s=Math.floor(t/86400),n=Math.floor((t-3600*s*24)/3600),i=Math.floor((t-3600*s*24-3600*n)/60),r=Math.floor(t-3600*s*24-3600*n-60*i),o=[];return s>0&&
// translators: %d is the number of days, d an abbreviation for days (e.g. 7d). Only translate the latter.
o.push((0,a.sprintf)(__("%dd","jetpack"),s)),(s>0||n>0)&&
// translators: %d is the number of hours, h an abbreviation for hours (e.g. 23h). Only translate the latter.
o.push((0,a.sprintf)(__("%dh","jetpack"),n)),(s>0||n>0||i>0)&&
// translators: %d is the number of minutes, m an abbreviation for minutes (e.g. 59m). Only translate the latter.
o.push((0,a.sprintf)(__("%dm","jetpack"),i)),
// translators: %d is the number of seconds, s an abbreviation for seconds (e.g. 59s). Only translate the latter.
o.push((0,a.sprintf)(__("%ds","jetpack"),r)),o.join(" ")}),[]);return(0,n.useEffect)((()=>{const e=setInterval(p,500);return l.current=e,()=>{clearInterval(l.current)}}),[]),o>0?i().createElement(i().Fragment,null,e,i().createElement("span",{className:t},d(o))):__("Discount offer has ended","jetpack")}},90351:(e,t,s)=>{"use strict";s.d(t,{q:()=>a});const a=(e,t,s)=>{if(!e||!t||!s)return;const a=parseInt(e?.discount,10);if(Number.isNaN(a))return;const n=s.map((({slug:e})=>e)),i=t.filter((({product_slug:e})=>n.includes(e))).map((({original_price:e,raw_price:t})=>{if(!e)return;const s=(e-t*(1-a/100))/e;return Math.round(100*s)})).filter(Boolean);return i.length?Math.max(...i):void 0}},38356:(e,t,s)=>{"use strict";s.d(t,{N:()=>n});var a=s(6895);const n=(e,t,s,n,i)=>(0,a.Z)("jetpack-recommendations-product-checkout",{site:i??s,path:e,query:`coupon=${n||""}&redirect_to=${t}admin.php?jp-react-redirect=product-purchased`})},17279:(e,t,s)=>{"use strict";s.d(t,{h:()=>a});const a=e=>{if("object"!=typeof e)return!1;const{discount:t,is_used:s,expiry_date:a}=e;return!!t&&!s&&new Date(a).valueOf()-Date.now()>0}},91256:(e,t,s)=>{"use strict";s.d(t,{Z:()=>_});var a=s(65736),n=s(47407),i=s(66164),r=s(2353),o=s(93806),c=s(28178),l=s(92819),p=s(25162),d=s.n(p),u=s(99196),m=s.n(u),h=s(59309),g=s(96300),k=s(69508),f=s(50416),v=s(89292);const __=a.__,E=(0,r.u)(class extends u.Component{handleBannerClick=e=>()=>this.props.updateOptions({[e]:!0});render(){if(!this.props.canManageModules)return null;if(this.props.searchTerm.length<3)return null;const e=["contact-form","enhanced-distribution","json-api","notes"],t=this.props.modules,s=[];return(0,l.forEach)(t,((t,a)=>{if(this.props.isModuleFound(a)&&(0,l.includes)(e,a)){const e=this.props.isOfflineMode&&this.props.isUnavailableInOfflineMode(t.module),i=!this.props.hasConnectedOwner&&this.props.isUnavailableInSiteConnectionMode(t.module);if(e||i)return s.push(m().createElement(w,{key:a,moduleData:t,offlineMode:e,siteConnectionMode:i}));this.props.getOptionValue(t.module)?s.push(m().createElement(w,{key:a,moduleData:t})):s.push(m().createElement(n.ZP,{className:"jp-searchable-banner",key:a,callToAction:__("Activate","jetpack"),description:t.description,href:"javascript:void( 0 )",icon:"cog",onClick:this.handleBannerClick(t.module),title:t.name}))}})),m().createElement("div",null,s)}});E.propTypes={searchTerm:d().string},E.defaultProps={searchTerm:""};class w extends u.Component{render(){const e=this.props.moduleData,t=this.props.offlineMode,s=this.props.siteConnectionMode;return m().createElement(o.Z,{module:e.module,header:e.name,action:e.module,hideButton:!0},m().createElement(c.Z,{disableInOfflineMode:t,disableInSiteConnectionMode:s,module:{module:e.module},support:{link:e.learn_more_button}},e.description),s&&m().createElement(i.Z,{feature:e.module,featureLabel:e.name,text:__("Connect to configure.","jetpack")}))}}const _=(0,h.$j)((e=>({modules:(0,f.hU)(e),isModuleFound:t=>(0,v.CX)(e,t),canManageModules:(0,k.pK)(e),isUnavailableInOfflineMode:t=>(0,g.t_)(e,t),isOfflineMode:(0,g.Ex)(e),isUnavailableInSiteConnectionMode:t=>(0,g.IK)(e,t)})))(E)},37753:(e,t,s)=>{"use strict";s.d(t,{Z:()=>y});var a=s(82674),n=s.n(a),i=s(69307),r=s(65736),o=s(30860),c=s(45452),l=s(61775),p=s(5060),d=s(2353),u=s(93806),m=s(28178),h=s(9494),g=s(84069),k=s(59584),f=s(92819),v=s(99196),E=s.n(v),w=s(59309),_=s(17296);const __=r.__,_x=r._x,b=(0,d.u)(class extends v.Component{state={apiKey:this.props.getOptionValue("wordpress_api_key"),delayKeyCheck:!1,currentEvent:{}};keyChanged=!1;UNSAFE_componentWillMount(){this.debouncedCheckApiKeyTyped=(0,f.debounce)(this.checkApiKeyTyped,500)}checkApiKeyTyped=e=>{this.props.checkAkismetKey(e.currentTarget.value),this.keyChanged=!0,this.setState({delayKeyCheck:!1})};updateText=e=>{const t=(0,f.assign)({},e);t.currentTarget.value=(0,f.trim)(t.currentTarget.value),this.setState({apiKey:t.currentTarget.value,delayKeyCheck:!0,currentEvent:t},this.debouncedCheckApiKeyTyped(t))};componentDidUpdate(){!this.props.isCheckingAkismetKey&&this.props.isAkismetKeyValid&&this.keyChanged&&!(0,f.isEmpty)(this.state.currentEvent)&&(this.keyChanged=!1,this.props.onOptionChange(this.state.currentEvent))}trackOpenCard=()=>{g.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"anti-spam"})};render(){const e={name:"wordpress_api_key",value:this.state.apiKey,disabled:this.props.isSavingAnyOption("wordpress_api_key"),onChange:this.updateText};let t="",s=__("Checking your spam protection…","jetpack"),a=(0,i.createInterpolateElement)(__("If you don't already have an API key, then <a>get your API key here</a>, and you'll be guided through the process of getting one.","jetpack"),{a:E().createElement("a",{href:"https://akismet.com/wordpress/"})});return null===this.props.isAkismetKeyValid?(e.value=__("Fetching key…","jetpack"),e.disabled=!0,a=!1):!this.props.isDirty()&&""===this.props.getSettingCurrentValue("wordpress_api_key")&&this.props.isAkismetKeyValid?(e.value=__("A valid key has been set in your site's configuration.","jetpack"),e.isValid=!0,e.disabled=!0,s=__("Your site is protected from spam.","jetpack"),a=__("It looks like your API key has been set globally.","jetpack"),t=E().createElement(c.Z,{text:__("Your Anti-spam key is valid.","jetpack")})):""===this.state.apiKey?(e.value="",s=__("Your site needs an Anti-spam key.","jetpack")):this.state.delayKeyCheck||this.props.isCheckingAkismetKey?this.props.isCheckingAkismetKey&&(t=E().createElement("div",{className:"form-input-validation is-warning"},E().createElement("span",null,E().createElement(p.Z,{size:24,icon:"sync"}),__("Checking key…","jetpack"))),a=!1):!1===this.props.isAkismetKeyValid?(t=E().createElement(c.Z,{isError:!0,text:(0,i.createInterpolateElement)(__("There's a problem with your Anti-spam API key. <a>Learn more</a>.","jetpack"),{a:E().createElement("a",{href:"https://docs.akismet.com/getting-started/api-key/"})})}),e.isError=!0,s=__("Your site is not protected from spam.","jetpack")):(t=E().createElement(c.Z,{text:__("Your Anti-spam key is valid.","jetpack")}),e.isValid=!0,s=__("Your site is protected from spam.","jetpack"),a=!1),E().createElement(u.Z,n()({},this.props,{header:_x("Anti-spam","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("wordpress_api_key"),feature:k.V37}),E().createElement(o.Z,{onOpen:this.trackOpenCard,header:s},E().createElement(m.Z,{support:{text:__("Removes spam from comments and contact forms.","jetpack"),link:"https://akismet.com/jetpack/"}},E().createElement(l.C_,null,E().createElement(l.lX,null,E().createElement("span",{className:"jp-form-label-wide"},__("Your API key","jetpack")),E().createElement(h.Z,e),t),a&&E().createElement("p",{className:"jp-form-setting-explanation"},a)))))}}),y=(0,w.$j)((e=>({isAkismetKeyValid:(0,_._2)(e),isCheckingAkismetKey:(0,_.gw)(e)})),(e=>({checkAkismetKey:(t="")=>e((0,_.Bt)(t))})))(b)},49529:(e,t,s)=>{"use strict";s.d(t,{Z:()=>P});var a=s(82674),n=s.n(a),i=s(6895),r=s(52947),o=s(69307),c=s(65736),l=s(90496),p=s(47407),d=s(85799),u=s(88546),m=s(2353),h=s(93806),g=s(28178),k=s(84069),f=s(59584),v=s(92819),E=s(25162),w=s.n(E),_=s(99196),b=s.n(_),y=s(59309),C=s(17296),j=s(69508),S=s(50416),N=s(69377),x=s(33002);const __=c.__,_x=c._x,_n=c._n;class T extends _.Component{render(){return b().createElement(h.Z,{header:_x("Backups and security scanning","Settings header","jetpack"),hideButton:!0,action:"scan"},b().createElement(g.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,i.Z)("vaultpress-help-get-to-know")}},__("Checking site status…","jetpack")))}}class A extends _.Component{static propTypes={isOfflineMode:w().bool,siteRawUrl:w().string,rewindState:w().string};static defaultProps={isOfflineMode:!1,siteRawUrl:"",rewindState:""};getRewindMessage(){const{siteRawUrl:e,rewindState:t}=this.props;switch(t){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Backups and Scan are being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Awaiting credentials","jetpack"),iconWp:l.Z,type:"warning",description:__("Enter your SSH, SFTP, or FTP credentials to enable one-click site restores and fixes","jetpack"),url:(0,i.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup and Scan.","jetpack"),url:(0,i.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup and Scan status could not be retrieved at this time.","jetpack"),url:""}}}getCardText=()=>{if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");const{title:e,icon:t,iconWp:s,description:a,type:n,url:i}=this.getRewindMessage();return b().createElement(p.ZP,{title:e,icon:t,iconWp:s,feature:"rewind",description:a,className:`jp-banner__no-border is-jetpack-${n||"info"}`,href:i})};render(){return b().createElement(h.Z,n()({feature:"rewind"},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"rewind",hideButton:!0}),this.getCardText())}}const M=(0,m.u)(class extends _.Component{toggleModule=(e,t)=>{this.props.updateFormStateOptionValue(e,!t)};trackConfigureClick=()=>{k.Z.tracks.recordJetpackClick("configure-scan")};getCardText(){const e=(0,v.get)(this.props.vaultPressData,["data","features","backups"],!1),t=(0,v.get)(this.props.vaultPressData,["data","features","security"],!1);if(this.props.isOfflineMode)return __("Unavailable in Offline Mode.","jetpack");if(e&&t){const e=this.props.hasThreats;return e?b().createElement("div",null,b().createElement("strong",null,(0,c.sprintf)(/* Translators: placeholder is a number (of threats). */
_n("Uh oh, %s threat found.","Uh oh, %s threats found.",e,"jetpack"),(0,r.Z)(e))),b().createElement("br",null),b().createElement("br",null),(0,o.createInterpolateElement)(__("<a>View details</a>","jetpack"),{a:b().createElement("a",{href:(0,i.Z)("vaultpress-dashboard")})}),b().createElement("br",null),(0,o.createInterpolateElement)(__("<a>Contact Support</a>","jetpack"),{a:b().createElement("a",{href:(0,i.Z)("jetpack-support")})})):__("Your site is connected to VaultPress for backups and security scanning.","jetpack")}return e&&!this.props.hasScan?__("Your site is connected to VaultPress for backups.","jetpack"):this.props.isFetchingRewindStatus?__("Checking site status…","jetpack"):__("The Jetpack Backup and Scan status could not be retrieved at this time.","jetpack")}render(){if(!this.props.showBackups)return null;const e=(0,v.get)(this.props.vaultPressData,["data","features","security"],!1),t=(0,v.get)(this.props.rewindStatus,["state"],!1),s=!1!==t,a="N/A"!==this.props.vaultPressData&&!1!==(0,v.get)(this.props.vaultPressData,["data"],!1);return s||!this.props.vaultPressActive||a?(0,v.includes)(["provisioning","awaiting_credentials","active"],t)?b().createElement(A,n()({},this.props,{rewindState:t})):b().createElement(h.Z,n()({feature:f.eMt},this.props,{header:_x("Backups and security scanning","Settings header","jetpack"),action:"scan",hideButton:!0}),b().createElement(u.Z,null),b().createElement(g.Z,{disableInOfflineMode:!0,module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,i.Z)("vaultpress-help-get-to-know")}},this.getCardText()),!this.props.isUnavailableInOfflineMode("backups")&&e&&b().createElement(d.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,target:"_blank",href:(0,i.Z)("vaultpress-dashboard")},__("Configure your Security Scans","jetpack"))):b().createElement(T,null)}}),P=(0,y.$j)((e=>({vaultPressData:(0,C.XK)(e),hasScan:(0,x.CV)(e,"scan"),hasThreats:(0,C._R)(e),vaultPressActive:(0,S.mp)(e,"vaultpress"),showBackups:(0,j.xR)(e),isFetchingRewindStatus:(0,N.Li)(e)})))(M)},37914:(e,t,s)=>{"use strict";s.d(t,{Z:()=>x});var a=s(82674),n=s.n(a),i=s(65736),r=s(3544),o=s(69270),c=s(92819),l=s(99196),p=s.n(l),d=s(59309),u=s(17296),m=s(96300),h=s(69508),g=s(50416),k=s(89292),f=s(3230),v=s(33002),E=s(61372),w=s(37753),_=s(49529),b=s(50385),y=s(9e3),C=s(87006),j=s(26237),S=s(86478);const __=i.__;class N extends l.Component{static displayName="SecuritySettings";isAkismetFound=()=>{if(!this.props.isPluginActive("akismet/akismet.php"))return!1;if(this.props.searchTerm){const e=this.props.isPluginInstalled("akismet/akismet.php");return["akismet","antispam","spam","comments",e.Description,e.PluginURI].join(" ").toLowerCase().indexOf(this.props.searchTerm.toLowerCase())>-1}return!0};render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,rewindStatus:this.props.rewindStatus,siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,hasConnectedOwner:this.props.hasConnectedOwner},t=this.props.isModuleFound("waf"),s=this.props.isModuleFound("protect"),a=this.props.isModuleFound("sso"),i=this.isAkismetFound(),l="active"===(0,c.get)(this.props.rewindStatus,["state"],!1),d=this.props.isModuleFound("vaultpress")||l,u=this.props.isModuleFound("monitor"),m=this.props.searchTerm;if(!m&&!this.props.active)return null;if(!(a||s||i||d||u))return null;const h=this.props.backupsOnly?p().createElement(b.N,n()({},e,{vaultPressData:this.props.vaultPressData})):p().createElement(_.Z,e);return p().createElement("div",null,p().createElement(o.Z,null),p().createElement("h1",{className:"screen-reader-text"},__("Jetpack Security Settings","jetpack")),p().createElement("h2",{className:"jp-settings__section-title"},m?__("Security","jetpack"):__("Your site is protected by Jetpack. You’ll be notified if anything needs attention.","jetpack",0)),d&&h,u&&p().createElement(y.u,e),i&&p().createElement(p().Fragment,null,p().createElement(w.Z,e),p().createElement(r.Z,null)),t&&p().createElement(S.Z,e),s&&p().createElement(C.C,e),a&&p().createElement(j.y,e))}}const x=(0,d.$j)((e=>({backupsOnly:(0,v.CV)(e,"backups")&&!(0,v.CV)(e,"scan"),module:t=>(0,g.rT)(e,t),settings:(0,f.Gw)(e),isOfflineMode:(0,m.Ex)(e),isUnavailableInOfflineMode:t=>(0,m.t_)(e,t),isModuleFound:t=>(0,k.CX)(e,t),isPluginActive:t=>(0,E.TB)(e,t),isPluginInstalled:t=>(0,E.P8)(e,t),vaultPressData:(0,u.XK)(e),hasConnectedOwner:(0,m.it)(e),blogID:(0,h.EZ)(e)})))(N)},50385:(e,t,s)=>{"use strict";s.d(t,{N:()=>k});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(47407),c=s(93806),l=s(28178),p=s(59584),d=s(92819),u=s(25162),m=s.n(u),h=s(99196),g=s.n(h);const __=r.__,_x=r._x;class k extends h.Component{static propTypes={siteRawUrl:m().string,rewindState:m().string};static defaultProps={siteRawUrl:"",rewindState:""};getVaultPressContent=()=>g().createElement(l.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,i.Z)("jetpack-support-backup")}},__("Your site is connected to VaultPress for backups.","jetpack"));getRewindMessage(){const{siteRawUrl:e,rewindStatus:t}=this.props;switch((0,d.get)(t,"state",!1)){case"provisioning":return{title:__("Provisioning","jetpack"),icon:"info",description:__("Jetpack Backup is being configured for your site.","jetpack"),url:""};case"awaiting_credentials":return{title:__("Add your server credentials","jetpack"),icon:"notice",description:__("Enter your SSH, SFTP or FTP credentials to enable one-click site restores and faster backups","jetpack"),url:(0,i.Z)("jetpack-settings-security-credentials",{site:e})};case"active":return{title:__("Active","jetpack"),icon:"checkmark-circle",description:__("Your site is connected to Jetpack Backup.","jetpack"),url:(0,i.Z)("calypso-activity-log",{site:e})};default:return{title:__("Oops!","jetpack"),icon:"info",description:__("The Jetpack Backup status could not be retrieved at this time.","jetpack"),url:""}}}getRewindBanner=()=>{const{title:e,icon:t,description:s,url:a}=this.getRewindMessage();return g().createElement(o.ZP,{title:e,icon:t,feature:"rewind",description:s,className:"is-upgrade-premium jp-banner__no-border",href:a})};render(){const{rewindStatus:e,vaultPressData:t}=this.props,s=(0,d.get)(e,"state",!1),a=(0,d.get)(t,["data","features","backups"],!1);return!1!==s||a?g().createElement(c.Z,n()({feature:p.N_2},this.props,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0}),"unavailable"===s?this.getVaultPressContent():this.getRewindBanner()):g().createElement(c.Z,{header:_x("Jetpack Backup","Settings header","jetpack"),hideButton:!0,action:p.N_2},g().createElement(l.Z,{module:{module:"backups"},support:{text:__("Backs up your site to the global WordPress.com servers, allowing you to restore your content in the event of an emergency or error.","jetpack"),link:(0,i.Z)("jetpack-support-backup")}},__("Checking site status…","jetpack")))}}},9e3:(e,t,s)=>{"use strict";s.d(t,{u:()=>k});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(85799),c=s(66164),l=s(2353),p=s(5004),d=s(93806),u=s(28178),m=s(84069),h=s(99196),g=s.n(h);const __=r.__,_x=r._x,k=(0,l.u)(class extends h.Component{trackConfigureClick=()=>{m.Z.tracks.recordJetpackClick("configure-monitor")};render(){const e=this.props.hasConnectedOwner,t=this.props.isOfflineMode,s=this.props.getOptionValue("monitor"),a=this.props.isUnavailableInOfflineMode("monitor");return g().createElement(d.Z,n()({},this.props,{hideButton:!0,module:"monitor",header:_x("Downtime monitoring","Settings header","jetpack")}),g().createElement(u.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("monitor"),support:{text:__("Jetpack will continuously monitor your site and alert you the moment downtime is detected.","jetpack"),link:(0,i.Z)("jetpack-support-monitor")}},g().createElement(p.T,{slug:"monitor",disabled:a||!e,activated:s,toggling:this.props.isSavingAnyOption("monitor"),toggleModule:this.props.toggleModuleNow},g().createElement("span",{className:"jp-form-toggle-explanation"},__("Get alerts if your site goes offline. We’ll let you know when it’s back up, too.","jetpack")))),e&&g().createElement(o.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,i.Z)("calypso-settings-security",{site:this.props.blogID??this.props.siteRawUrl}),target:"_blank"},__("Configure your notification settings","jetpack")),!e&&!t&&g().createElement(c.Z,{feature:"monitor",featureLabel:__("Downtime Monitoring","jetpack"),text:__("Connect to set up your status alerts.","jetpack")}))}})},87006:(e,t,s)=>{"use strict";s.d(t,{C:()=>C});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(97506),c=s(30860),l=s(61775),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(65936),g=s(84069),k=s(92819),f=s(99196),v=s.n(f),E=s(59309),w=s(5074),_=s(3230),b=s(22948);const __=r.__,_x=r._x,y=class extends f.Component{componentDidUpdate(e){e.allowListInputState!==this.props.allowListInputState&&this.props.updateFormStateOptionValue("jetpack_waf_ip_allow_list",this.props.allowListInputState)}currentIpIsSafelisted=()=>!!(0,k.includes)(this.props.allowListInputState,this.props.currentIp);updateIPAllowList=e=>{this.currentIpIsSafelisted(),this.props.updateWafIpAllowList(e.target.value)};addToSafelist=()=>{const e=this.props.allowListInputState+(0>=this.props.allowListInputState.length?"":"\n")+this.props.currentIp;this.props.updateWafIpAllowList(e),g.Z.tracks.recordJetpackClick({target:"add-to-whitelist",feature:"protect"})};trackOpenCard=()=>{g.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"protect"})};render(){const e=this.props.getOptionValue("protect"),t=this.props.isUnavailableInOfflineMode("protect"),s=v().createElement(d.T,{slug:"protect",compact:!0,disabled:t,activated:e,toggling:this.props.isSavingAnyOption("protect"),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("protect").description));return v().createElement(u.Z,n()({},this.props,{module:"protect",header:_x("Brute force protection","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("jetpack_waf_ip_allow_list")}),e&&v().createElement(w.Z,null),v().createElement(m.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("protect"),className:"foldable-wrapper"},v().createElement(c.Z,{onOpen:this.trackOpenCard,header:s},v().createElement(m.Z,{hasChild:!0,module:this.props.getModule("protect"),support:{text:__("Protects your site from traditional and distributed brute force login attacks.","jetpack"),link:(0,i.Z)("jetpack-support-protect")}},this.props.currentIp&&v().createElement("div",{className:"brute-force__current-ip"},v().createElement("div",{className:"jp-form-label-wide"},(0,r.sprintf)(/* translators: placeholder is an IP address. */
__("Your current IP: %s","jetpack"),this.props.currentIp)),v().createElement(o.Z,{rna:!0,compact:!0,disabled:!e||t||this.currentIpIsSafelisted()||this.props.isSavingAnyOption(["protect","jetpack_waf_ip_allow_list"]),onClick:this.addToSafelist},__("Add to Always Allowed list","jetpack"))),v().createElement(l.lX,null,v().createElement(l.Gj,null,__("Always allowed IP addresses","jetpack")),v().createElement(h.Z,{disabled:!e||t||this.props.isSavingAnyOption(["protect","jetpack_protect_global_whitelist"]),name:"jetpack_waf_ip_allow_list",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.updateIPAllowList,value:this.props.allowListInputState})),v().createElement("span",{className:"jp-form-setting-explanation"},__('You may mark an IP address (or series of addresses) as "Always allowed", preventing them from ever being blocked by Jetpack. IPv4 and IPv6 are acceptable. To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100',"jetpack"))))))}},C=(0,E.$j)((e=>{const t=(0,b.EN)(e);return{allowListInputState:null!==t?t:(0,_.$8)(e,"jetpack_waf_ip_allow_list")}}),(e=>({updateWafIpAllowList:t=>e((0,b.uy)(t))})))((0,p.u)(y))},26237:(e,t,s)=>{"use strict";s.d(t,{y:()=>k});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(66164),l=s(61775),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(99196),g=s.n(h);const __=o.__,_x=o._x,k=(0,p.u)(class extends h.Component{state={jetpack_sso_match_by_email:this.props.getOptionValue("jetpack_sso_match_by_email","sso",!1),jetpack_sso_require_two_step:this.props.getOptionValue("jetpack_sso_require_two_step","sso",!1)};handleTwoStepToggleChange=()=>{this.updateOptions("jetpack_sso_require_two_step")};handleMatchByEmailToggleChange=()=>{this.updateOptions("jetpack_sso_match_by_email")};updateOptions=e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("sso",e))};render(){const e=this.props.getOptionValue("sso"),t=this.props.isUnavailableInOfflineMode("sso");return g().createElement(u.Z,n()({},this.props,{hideButton:!0,module:"sso",header:_x("WordPress.com login","Settings header, noun.","jetpack")}),g().createElement(m.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:this.props.getModule("sso"),support:{text:__("Allows registered users to log in to your site with their WordPress.com accounts.","jetpack"),link:(0,i.Z)("jetpack-support-sso")}},g().createElement("p",null,__("Add an extra layer of security to your website by enabling WordPress.com login and secure authentication. If you have multiple sites with this option enabled, you will be able to log in to every one of them with the same credentials.","jetpack")),g().createElement(d.T,{slug:"sso",disabled:t||!this.props.hasConnectedOwner,activated:e,toggling:this.props.isSavingAnyOption("sso"),toggleModule:this.props.toggleModuleNow},g().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("sso").description)),g().createElement(l.C_,null,g().createElement(r.Z,{checked:e&&this.props.getOptionValue("jetpack_sso_match_by_email","sso",!1),disabled:!e||t||this.props.isSavingAnyOption(["sso"]),toggling:this.props.isSavingAnyOption(["jetpack_sso_match_by_email"]),onChange:this.handleMatchByEmailToggleChange,label:__("Match accounts using email addresses","jetpack")}),g().createElement(r.Z,{checked:e&&this.props.getOptionValue("jetpack_sso_require_two_step","sso",!1),disabled:!e||t||this.props.isSavingAnyOption(["sso"]),toggling:this.props.isSavingAnyOption(["jetpack_sso_require_two_step"]),onChange:this.handleTwoStepToggleChange,label:__("Require accounts to use WordPress.com Two-Step Authentication","jetpack")}))),!this.props.hasConnectedOwner&&!this.props.isOfflineMode&&g().createElement(c.Z,{feature:"sso",featureLabel:__("Secure Sign-On","jetpack"),text:__("Connect to enable WordPress.com Secure Sign-On.","jetpack")}))}})},86478:(e,t,s)=>{"use strict";s.d(t,{Z:()=>P});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(55609),c=s(69307),l=s(65736),p=s(97506),d=s(30860),u=s(61775),m=s(41549),h=s(85733),g=s(2353),k=s(93806),f=s(28178),v=s(59584),E=s(1137),w=s(99196),_=s.n(w),b=s(59309),y=s(33002),C=s(5074),j=s(42698),S=s(5004),N=s(65936),x=s(11834),T=s(98159),A=s(86725);const __=l.__,_x=l._x,M=class extends w.Component{state={automaticRulesEnabled:this.props.settings?.automaticRulesEnabled,manualRulesEnabled:this.props.settings?.manualRulesEnabled,ipBlockList:this.props.settings?.ipBlockList,ipAllowList:this.props.settings?.ipAllowList,shareData:this.props.settings?.shareData};componentDidUpdate=e=>{this.props.settings!==e.settings&&this.setState({...this.state,automaticRulesEnabled:this.props.settings?.automaticRulesEnabled,manualRulesEnabled:this.props.settings?.manualRulesEnabled,ipBlockList:this.props.settings?.ipBlockList,ipAllowList:this.props.settings?.ipAllowList,shareData:this.props.settings?.shareData}),e.allowListInputState!==this.props.allowListInputState&&this.setState({...this.state,ipAllowList:this.props.allowListInputState})};getCustomErrorMessage=e=>{switch(e.code){case"file_system_error":return __("A filesystem error occurred.","jetpack");case"rules_api_error":return __("An error occurred retrieving the latest automatic firewall rules.","jetpack");default:return!1}};onSubmit=()=>{this.props.removeNotice("module-setting-update"),this.props.removeNotice("module-setting-update-success"),this.props.createNotice("is-info",__("Updating settings…","jetpack"),{id:"module-setting-update"}),this.props.updateWafSettings(this.state).then((()=>{this.props.removeNotice("module-setting-update"),this.props.createNotice("is-success",__("Updated Settings.","jetpack"),{id:"module-setting-update-success"})})).catch((e=>{this.props.removeNotice("module-setting-update"),this.props.createNotice("is-error",(0,l.sprintf)(/* translators: placeholder is an error code or an error message. */
__("Error updating settings. %s","jetpack"),this.getCustomErrorMessage(e.response)||e.message||e.code),{id:"module-setting-update"})}))};toggleAutomaticRules=()=>{this.setState({...this.state,automaticRulesEnabled:!this.state.automaticRulesEnabled},this.onSubmit)};toggleManualRules=()=>{this.setState({...this.state,manualRulesEnabled:!this.state.manualRulesEnabled},this.onSubmit)};handleIpBlockListChange=e=>{this.setState({...this.state,ipBlockList:e?.target?.value})};handleIpAllowListChange=e=>{this.props.updateWafIpAllowList(e.target.value)};toggleShareData=()=>{this.setState({...this.state,shareData:!this.state.shareData},this.onSubmit)};render(){const e=this.props.getOptionValue("waf"),t=this.props.isUnavailableInOfflineMode("waf"),s=!e||t||this.props.isFetchingWafSettings||this.props.isSavingAnyOption(["waf"]),a=_().createElement("div",{className:"waf__header"},_().createElement("span",null,_x("Firewall","Settings header","jetpack")),_().createElement("a",{href:(0,i.Z)("jetpack-support-waf"),target:"_blank",rel:"noopener noreferrer",className:"waf__header__badge"},_x("NEW","Settings header badge","jetpack"))),m=_().createElement("div",{className:"waf__settings__toggle-setting"},_().createElement(r.Z,{checked:!(!this.props.hasScan&&!this.props.settings?.automaticRulesAvailable)&&this.props.settings?.automaticRulesEnabled,toggling:this.props.isUpdatingWafSettings&&this.state.automaticRulesEnabled!==this.props.settings?.automaticRulesEnabled,disabled:s||!this.props.hasScan&&!this.props.settings?.automaticRulesAvailable,onChange:this.toggleAutomaticRules,label:__("Automatic rules - Protect your site against untrusted traffic sources with automatic security rules","jetpack")})),g=_().createElement("div",{className:"waf__settings__toggle-setting"},_().createElement(r.Z,{checked:this.props.settings?.manualRulesEnabled,toggling:this.props.isUpdatingWafSettings&&this.state.manualRulesEnabled!==this.props.settings?.manualRulesEnabled,disabled:s,onChange:this.toggleManualRules,label:__("Allow / Block list - Block or allow a specific request IP","jetpack")}),this.state.manualRulesEnabled&&_().createElement(_().Fragment,null,_().createElement("div",{className:"waf__settings__ips"},_().createElement(u.lX,null,__("Blocked IP addresses","jetpack")),_().createElement(N.Z,{disabled:s||this.props.isUpdatingWafSettings&&this.state.ipBlockList!==this.props.settings?.ipBlockList,name:"ipBlockList",placeholder:(0,l.sprintf)(/* translators: Placeholder is a list of example IP addresses. */
__("Example: %s","jetpack"),"\n12.12.12.1\n12.12.12.2"),value:this.state.ipBlockList,onChange:this.handleIpBlockListChange}),_().createElement(p.Z,{primary:!0,rna:!0,compact:!0,type:"button",className:"waf__settings__ips__save-button",disabled:s||this.state.ipBlockList===this.props.settings?.ipBlockList||this.props.isUpdatingWafSettings&&this.state.ipBlockList!==this.props.settings?.ipBlockList,onClick:this.onSubmit},__("Save block list","jetpack"))),_().createElement("div",{className:"waf__settings__ips"},_().createElement(u.lX,null,__("Always allowed IP addresses","jetpack")),_().createElement(N.Z,{disabled:s||this.props.isUpdatingWafSettings&&this.state.ipAllowList!==this.props.settings?.ipAllowList,name:"ipAllowList",placeholder:__("Example:","jetpack")+"\n12.12.12.1\n12.12.12.2",value:this.props.allowListInputState,onChange:this.handleIpAllowListChange}),_().createElement(p.Z,{primary:!0,rna:!0,compact:!0,type:"button",className:"waf__settings__ips__save-button",disabled:s||this.state.ipAllowList===this.props.settings?.ipAllowList||this.props.isUpdatingWafSettings&&this.state.ipAllowList!==this.props.settings?.ipAllowList,onClick:this.onSubmit},__("Save allow list","jetpack"))))),E=_().createElement("div",{className:"waf__settings__toggle-setting"},_().createElement(r.Z,{checked:this.props.settings?.shareData,disabled:s,toggling:this.props.isUpdatingWafSettings&&this.state.shareData!==this.props.settings?.shareData,onChange:this.toggleShareData,label:_().createElement("div",{className:"waf__settings__toggle-setting__label"},_().createElement("span",null,__("Share data with Jetpack","jetpack")),_().createElement(j.Z,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__share-data-popover"},(0,c.createInterpolateElement)(__("Allow Jetpack to collect data to improve Firewall protection and rules. <ExternalLink>Learn more</ExternalLink> <hr /> <ExternalLink>Privacy Information</ExternalLink>","jetpack"),{ExternalLink:_().createElement(o.ExternalLink,{href:(0,i.Z)("jetpack-waf-settings-privacy-info")}),hr:_().createElement("hr",null)})))})),w=(0,c.createInterpolateElement)(__("<b>Enhance protection</b> - Learn how to configure the firewall to inspect all requests and run before WordPress initializes","jetpack"),{b:_().createElement("strong",null)}),b=_().createElement(d.Z,{header:w,className:"waf__enhanced-protection"},_().createElement(f.Z,{hasChild:!0},_().createElement("ul",null,_().createElement("li",null,(0,c.createInterpolateElement)((0,l.sprintf)(/* translators: Placeholder is the file path to the Firewall's bootstrap file. */
__("To ensure the firewall can best protect your site, please update: <code>auto_prepend_file</code> PHP directive to point to <code>%s</code> Typically this is set either in an .htaccess file or in the global PHP configuration; contact your host for further assistance.","jetpack"),this.props.settings?.bootstrapPath),{code:_().createElement("code",null)})),_().createElement("li",null,__("Don't forget to undo this action when Firewall is turned off, or when you uninstall Jetpack.","jetpack"))))),y=_().createElement(h.ZP,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:_().createElement(_().Fragment,null,this.props.settings?.automaticRulesAvailable?__("Upgrade to keep your site secure with up-to-date firewall rules","jetpack",0):__("Upgrade to enable automatic rules","jetpack"),_().createElement(j.Z,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__upgrade-popover"},this.props.settings?.automaticRulesAvailable?__("The free version of the firewall does not receive updates to automatic firewall rules.","jetpack",0):__("The free version of the firewall only allows for use of manual rules.","jetpack"))),eventFeature:"scan",plan:(0,v.o2o)(v.eMt),feature:"jetpack_scan",href:this.props.scanUpgradeUrl,rna:!0});return _().createElement(k.Z,n()({},this.props,{header:a,module:"waf",onSubmit:this.onSubmit,hideButton:!0}),e&&_().createElement(C.Z,null),_().createElement(f.Z,{disableInOfflineMode:!0,module:this.props.getModule("waf"),support:{text:this.props.getModule("waf").long_description,link:this.props.getModule("waf").learn_more_button}},_().createElement(S.T,{slug:"waf",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("waf"),toggleModule:this.props.toggleModuleNow},_().createElement("span",{className:"jp-form-toggle-explanation"},this.props.getModule("waf").description)),e&&!this.props.isFetchingWafSettings&&_().createElement(u.C_,{className:"waf__settings"},m,g,E)),e&&this.props.bootstrapPath&&b,!this.props.hasScan&&!this.props.isFetchingSettings&&y)}},P=(0,b.$j)((e=>{const t=(0,y.UL)(e),s=(0,A.EN)(e);return{automaticRulesAvailable:(0,A._0)(e),allowListInputState:null!==s?s:(0,x.$8)(e,"jetpack_waf_ip_allow_list"),hasScan:(0,y.CV)(e,"scan"),isFetchingSettings:(0,A.vd)(e),isUpdatingWafSettings:(0,A.Xn)(e),settings:(0,A.T2)(e),scanUpgradeUrl:(0,E.z)(e,"scan"),sitePlan:t}}),(e=>({updateWafIpAllowList:t=>e((0,T.uy)(t)),updateWafSettings:t=>e((0,T.NY)(t)),createNotice:(t,s,a)=>e((0,m.iI)(t,s,a)),removeNotice:t=>e((0,m.qq)(t))})))((0,g.u)(M))},49517:(e,t,s)=>{"use strict";s.d(t,{Z:()=>y});var a=s(82674),n=s.n(a),i=s(88275),r=s(65736),o=s(70399),c=s(32223),l=s(32466),p=s(62160),d=s(65043),u=s(99196),m=s.n(u),h=s(59309),g=s(44498),k=s(91256),f=s(37914),v=s(78845),E=s(50416),w=s(67889),_=s(51421);const __=r.__;class b extends m().Component{static displayName="SearchableSettings";render(){const{location:e={pathname:""},rewindStatus:t,searchTerm:s,siteAdminUrl:a,siteRawUrl:u,blogID:h,userCanManageModules:g}=this.props,{pathname:E}=e,b={searchTerm:s,rewindStatus:t,userCanManageModules:g};return m().createElement(i.ZP,null,m().createElement("div",{className:"jp-settings-container"},m().createElement("div",{className:"jp-no-results"},s?(0,r.sprintf)(/* translators: placeholder is a searchterm entered in searchform. */
__("No search results found for %s","jetpack"),s):__("Enter a search term to find settings or close search.","jetpack")),m().createElement(f.Z,n()({siteAdminUrl:a,siteRawUrl:u,active:"/security"===E||"/settings"===E&&g},b)),m().createElement(o.Z,n()({siteRawUrl:u,active:"/discussion"===E},b)),m().createElement(l.Z,n()({siteRawUrl:u,blogID:h,active:"/newsletter"===E},b)),m().createElement(c.Z,n()({siteRawUrl:u,active:"/earn"===E},b)),m().createElement(p.Z,n()({active:"/performance"===E},b)),m().createElement(w.Z,n()({siteRawUrl:u,siteAdminUrl:a,active:"/traffic"===E},b)),m().createElement(_.Z,n()({siteAdminUrl:a,active:"/writing"===E||!g&&this.props.isModuleActivated("post-by-email")&&!this.props.isModuleActivated("publicize")},b)),m().createElement(v.Z,n()({siteAdminUrl:a,active:"/sharing"===E||"/settings"===E&&!g&&this.props.isModuleActivated("publicize")},b)),m().createElement(d.Z,n()({active:"/privacy"===E},b)),m().createElement(k.Z,{searchTerm:s})))}}const y=(0,h.$j)((e=>({isModuleActivated:t=>(0,E.mp)(e,t)})))((0,g.EN)(b))},13612:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(45106),n=s(6895),i=s(81050),r=s(55609),o=s(69307),c=s(65736),l=s(61775);const __=c.__,p=()=>React.createElement(l.C_,null,React.createElement(i.AutoConversionToggle,{toggleClass:"jp-settings-sharing__sig-toggle"},React.createElement("div",null,React.createElement("div",null,React.createElement(a.ZP,null,React.createElement("strong",null,__("Automatically convert images for compatibility","jetpack")))),(0,o.createInterpolateElement)(__("Social media platforms require different image file types and sizes. Upload one image and it will be automatically converted to ensure maximum compatibility & quality across all your connected platforms. <link>Learn more about media requirements.</link>","jetpack"),{link:React.createElement(r.ExternalLink,{href:(0,n.Z)("jetpack-social-media-support-information")})}))))},139:(e,t,s)=>{"use strict";s.d(t,{Z:()=>o});var a=s(45106),n=s(81050),i=s(65736),r=s(61775);const __=i.__,o=()=>React.createElement(r.C_,null,React.createElement(n.SocialImageGeneratorToggle,{toggleClass:"jp-settings-sharing__sig-toggle"},React.createElement("div",null,React.createElement(a.ZP,null,React.createElement("strong",null,__("Enable Social Image Generator","jetpack"))),__("With Social Image Generator enabled you can automatically generate social images for your posts. You can use the button below to choose a default template for new posts.","jetpack")),React.createElement("div",{className:"jp-settings-sharing__template-picker"},React.createElement(n.TemplatePickerButton,null))))},78845:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(65736),n=s(69270),i=s(99196),r=s.n(i),o=s(59309),c=s(96300),l=s(69508),p=s(50416),d=s(89292),u=s(3230),m=s(33002),h=s(68994),g=s(2950),k=s(52234);const __=a.__;class f extends i.Component{render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl,siteRawUrl:this.props.siteRawUrl,blogID:this.props.blogID,siteAdminUrl:this.props.siteAdminUrl,userCanManageModules:this.props.userCanManageModules,activeFeatures:this.props.activeFeatures,hasSocialBasicFeatures:this.props.hasSocialBasicFeatures,hasSocialAdvancedFeatures:this.props.hasSocialAdvancedFeatures,hasSocialImageGenerator:this.props.hasSocialImageGenerator,hasAutoConversion:this.props.hasAutoConversion,isAtomicSite:this.props.isAtomicSite,hasSharingBlock:this.props.hasSharingBlock,isBlockTheme:this.props.isBlockTheme},t=this.props.isModuleFound("publicize"),s=this.props.isModuleFound("sharedaddy"),a=this.props.isModuleFound("likes");return(this.props.searchTerm||this.props.active)&&(t||s||a)?r().createElement("div",null,r().createElement(n.Z,null),r().createElement("h1",{className:"screen-reader-text"},__("Jetpack Sharing Settings","jetpack")),r().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Sharing","jetpack"):__("Share your content to social media, reaching new audiences and increasing engagement.","jetpack")),t&&r().createElement(g.u,e),s&&r().createElement(k.n,e),a&&r().createElement(h.d,e)):null}}const v=(0,o.$j)((e=>({module:t=>(0,p.rT)(e,t),settings:(0,u.Gw)(e),isOfflineMode:(0,c.Ex)(e),isUnavailableInOfflineMode:t=>(0,c.t_)(e,t),isModuleFound:t=>(0,d.CX)(e,t),isLinked:(0,c.BU)(e),connectUrl:(0,c.AM)(e),siteRawUrl:(0,l.JR)(e),blogID:(0,l.EZ)(e),siteAdminUrl:(0,l.wW)(e),hasSocialBasicFeatures:(0,m.CV)(e,"social-shares-1000"),activeFeatures:(0,m.$l)(e),hasSocialAdvancedFeatures:(0,m.CV)(e,"social-enhanced-publishing"),hasSocialImageGenerator:(0,m.CV)(e,"social-image-generator"),hasAutoConversion:(0,m.CV)(e,"social-image-auto-convert"),userCanManageModules:(0,l.pK)(e),isAtomicSite:(0,l.Ug)(e),hasSharingBlock:(0,l.$4)(e),isBlockTheme:(0,l.$2)(e)})))(f)},68994:(e,t,s)=>{"use strict";s.d(t,{d:()=>m});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(2353),c=s(5004),l=s(93806),p=s(28178),d=s(99196),u=s.n(d);const __=r.__,_x=r._x,m=(0,o.u)(class extends d.Component{render(){const e=this.props.isUnavailableInOfflineMode("likes"),t=this.props.getOptionValue("likes");return u().createElement(l.Z,n()({},this.props,{header:_x("Like buttons","Settings header","jetpack"),module:"likes",hideButton:!0}),u().createElement(p.Z,{disableInOfflineMode:!0,module:{module:"likes"},support:{text:__("Adds like buttons to your content so that visitors can show their appreciation or enjoyment.","jetpack"),link:(0,i.Z)("jetpack-support-likes")}},u().createElement("p",null,__("The Like button is a way for people on WordPress.com to show their appreciation for your content.","jetpack")),u().createElement(c.T,{slug:"likes",disabled:e,activated:t,toggling:this.props.isSavingAnyOption("likes"),toggleModule:this.props.toggleModuleNow},__("Add Like buttons to your posts and pages","jetpack"))))}})},2950:(e,t,s)=>{"use strict";s.d(t,{u:()=>w});var a=s(82674),n=s.n(a),i=s(6895),r=s(81050),o=s(69307),c=s(65736),l=s(85799),p=s(66164),d=s(2353),u=s(5004),m=s(93806),h=s(28178),g=s(84069),k=s(99196),f=s.n(k),v=s(13612),E=s(139);const __=c.__,_x=c._x,w=(0,d.u)(class extends k.Component{trackClickConfigure(){g.Z.tracks.recordJetpackClick({target:"configure-publicize",page:"sharing"})}render(){const e=this.props.isUnavailableInOfflineMode("publicize"),t=this.props.isLinked,s=this.props.isOfflineMode,a=this.props.siteRawUrl,c=this.props.blogID,d=this.props.siteAdminUrl,g=this.props.getOptionValue("publicize"),k=this.props.hasSocialBasicFeatures,w=this.props.hasSocialAdvancedFeatures,_=this.props.hasSocialImageGenerator,b=this.props.hasAutoConversion,y=this.props.isAtomicSite,C=this.props.activeFeatures,j=this.props.userCanManageModules,S=!y&&C&&C.length>0&&g&&!w&&t,N=g&&!this.props.isSavingAnyOption("publicize"),x=encodeURIComponent(d.replace(/\/$/,""));return j||g?f().createElement(m.Z,n()({},this.props,{header:_x("Jetpack Social connections","Settings header","jetpack"),module:"publicize",hideButton:!0}),j&&f().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"publicize"},support:{text:__("Allows you to automatically share your newest content on social media sites, including Facebook and LinkedIn.","jetpack"),link:(0,i.Z)("jetpack-support-publicize")}},f().createElement("p",null,__("Connect your website to the social media networks you use and share your content across all your social accounts with a single click. When you publish a post, it will appear on all connected accounts.","jetpack")),S&&f().createElement(f().Fragment,null,f().createElement("p",null,k?(0,o.createInterpolateElement)(__("<moreInfo>Upgrade to the Jetpack Social Advanced plan</moreInfo> to get advanced media sharing options.","jetpack"),{moreInfo:f().createElement("a",{href:(0,i.Z)("jetpack-plugin-admin-page-sharings-screen",{site:a,query:"redirect_to="+x})})}):(0,o.createInterpolateElement)(__("<moreInfo>Upgrade to a Jetpack Social plan</moreInfo> to get unlimited shares and advanced media sharing options.","jetpack"),{moreInfo:f().createElement("a",{href:(0,i.Z)("jetpack-plugin-admin-page-sharings-screen",{site:a,query:"redirect_to="+x})})}))),f().createElement(u.T,{slug:"publicize",disabled:e,activated:g,toggling:this.props.isSavingAnyOption("publicize"),toggleModule:this.props.toggleModuleNow},__("Automatically share your posts to social networks","jetpack")),f().createElement(r.RefreshJetpackSocialSettingsWrapper,{shouldRefresh:!g&&this.props.isSavingAnyOption("publicize")},N&&b&&f().createElement(v.Z,null),N&&_&&f().createElement(E.Z,null))),!t&&!s&&f().createElement(p.Z,{feature:"publicize",featureLabel:__("Jetpack Social","jetpack"),text:__("Connect to add your social media accounts.","jetpack")}),g&&(()=>{if(!e)return t&&f().createElement(l.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackClickConfigure,target:"_blank",rel:"noopener noreferrer",href:(0,i.Z)("calypso-marketing-connections",{site:c??a})},__("Connect your social media accounts","jetpack"))})()):null}})},52234:(e,t,s)=>{"use strict";s.d(t,{n:()=>f});var a=s(82674),n=s.n(a),i=s(6895),r=s(55609),o=s(69307),c=s(65736),l=s(85799),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(84069),g=s(99196),k=s.n(g);const __=c.__,_x=c._x,f=(0,p.u)(class extends g.Component{trackClickConfigure(){h.Z.tracks.recordJetpackClick({target:"configure-sharing",page:"sharing"})}render(){const e=this.props.isLinked,t=this.props.siteRawUrl,s=this.props.blogID,a=this.props.siteAdminUrl,c=this.props.isOfflineMode,p=this.props.hasSharingBlock,h=this.props.isBlockTheme,g=this.props.getOptionValue("sharedaddy"),f=h&&p,v=(0,i.Z)("jetpack-support-sharing-block"),E=(0,i.Z)("jetpack-support-sharing");return k().createElement(u.Z,n()({},this.props,{header:_x("Sharing buttons","Settings header","jetpack"),module:"sharing",hideButton:!0}),k().createElement(m.Z,{disableInOfflineMode:!0,module:{module:"sharedaddy"},support:{text:__("You can customize the sharing buttons and choose which services to display.","jetpack"),link:f?v:E}},k().createElement("p",null,__("Add sharing buttons so visitors can share your posts and pages on social media with a couple of quick clicks.","jetpack")),(()=>{const e=k().createElement(d.T,{slug:"sharedaddy",activated:g,toggling:this.props.isSavingAnyOption("sharedaddy"),toggleModule:this.props.toggleModuleNow},__("Add sharing buttons to your posts and pages","jetpack"));if(!f)return e;const t=g?(0,o.createInterpolateElement)(__("You are using a block-based theme. You can continue using Jetpack’s legacy sharing buttons and configure them below. As an alternative, you could disable the legacy sharing feature above and add a sharing button block to your themes’s template instead. <a>Discover how</a>.","jetpack"),{a:k().createElement(r.ExternalLink,{href:v})}):(0,o.createInterpolateElement)(__("You are using a block-based theme. You can enable Jetpack’s legacy sharing buttons above, but you could also add a sharing button block to your themes’s template instead. <a>Discover how</a>.","jetpack"),{a:k().createElement(r.ExternalLink,{href:v})});return k().createElement(k().Fragment,null,e,k().createElement("p",{className:"jp-settings-sharing__block-theme-description"},t))})()),(g||f)&&(()=>{const n={compact:!0,className:"jp-settings-card__configure-link",href:`${a}options-general.php?page=sharing`};return f?n.href=`${a}site-editor.php?path=%2Fwp_template`:e&&!c&&(n.href=(0,i.Z)("calypso-marketing-sharing-buttons",{site:s??t}),n.onClick=this.trackClickConfigure,n.target="_blank",n.rel="noopener noreferrer"),k().createElement(l.Z,n,__("Configure your sharing buttons","jetpack"))})())}})},51975:(e,t,s)=>{"use strict";s.d(t,{$0n:()=>pe,$F1:()=>Ft,$ID:()=>Q,$d8:()=>qt,AAZ:()=>d,Abu:()=>He,B9W:()=>w,BB$:()=>ie,BC7:()=>Rt,BG7:()=>ne,BVO:()=>l,BX3:()=>Ce,CD3:()=>R,CMU:()=>Mt,CaH:()=>ft,CfX:()=>K,DgS:()=>Zt,Dze:()=>Fe,EpE:()=>Je,Ez9:()=>Et,EzW:()=>ds,FLi:()=>Se,FcF:()=>yt,Few:()=>Ve,Fmj:()=>se,G_D:()=>ht,Gu5:()=>Z,H5i:()=>H,HEN:()=>st,HOX:()=>ce,Hyl:()=>I,I3o:()=>T,IWc:()=>u,IZk:()=>lt,J1y:()=>o,JAC:()=>ve,JE6:()=>kt,Jyr:()=>P,K0Z:()=>bt,KDO:()=>ae,Kth:()=>G,Lao:()=>L,Lon:()=>z,LxH:()=>ls,M0I:()=>Bt,Mg3:()=>Pe,MiX:()=>X,MoW:()=>m,N9n:()=>Dt,NG6:()=>os,Nkq:()=>rt,NsN:()=>Ne,Oth:()=>as,Piu:()=>re,Ppo:()=>ge,QD8:()=>fe,QFx:()=>ye,QGN:()=>q,QmL:()=>wt,R5k:()=>Kt,R99:()=>a,RRK:()=>te,TBz:()=>S,TIZ:()=>xe,TRY:()=>F,Tad:()=>_,Tip:()=>Re,U$1:()=>$t,U7H:()=>c,UyH:()=>i,VB$:()=>rs,VN$:()=>Ue,VdL:()=>St,VlO:()=>Ie,WV5:()=>us,X0m:()=>y,XPw:()=>_t,XUm:()=>We,Y5l:()=>ss,YCI:()=>le,YDM:()=>b,YVt:()=>zt,Yk$:()=>It,YoP:()=>xt,_MD:()=>D,a8A:()=>V,aNt:()=>Lt,arb:()=>Ct,arr:()=>B,asZ:()=>ee,b6A:()=>Ht,bGw:()=>v,c0d:()=>$,clc:()=>Xt,czi:()=>Jt,dDV:()=>h,dSY:()=>Ee,fHq:()=>Ae,fXf:()=>dt,feA:()=>Ut,g9Z:()=>De,gGy:()=>ps,gYU:()=>je,g_q:()=>es,gat:()=>ue,hF6:()=>At,hmP:()=>r,hzW:()=>ke,i3n:()=>it,i7L:()=>me,ien:()=>p,ikp:()=>he,itb:()=>Pt,jEk:()=>N,jHC:()=>be,jbS:()=>Qe,jtr:()=>ts,kFt:()=>x,kK9:()=>C,kO5:()=>nt,kms:()=>Gt,krc:()=>ns,l94:()=>Me,lLu:()=>Le,lOd:()=>Yt,lhN:()=>pt,lje:()=>g,ltp:()=>Be,mLi:()=>Tt,maF:()=>U,meS:()=>jt,mlz:()=>Ot,n2G:()=>M,nDB:()=>Ze,nnP:()=>$e,o2S:()=>k,ogt:()=>tt,pmE:()=>ze,q4m:()=>_e,q7G:()=>n,qUO:()=>Ke,qYt:()=>ot,qdt:()=>mt,rAK:()=>j,rQ4:()=>Te,rYo:()=>we,rwn:()=>Oe,s6x:()=>Ye,s9K:()=>Wt,sG3:()=>A,sO1:()=>E,sQG:()=>W,t6Q:()=>is,tUc:()=>vt,tlb:()=>Nt,uGk:()=>et,vrP:()=>Vt,vyx:()=>gt,wXx:()=>ut,w_8:()=>de,wvW:()=>cs,x16:()=>at,x3k:()=>Y,xkZ:()=>O,y$G:()=>Ge,yEZ:()=>oe,yV3:()=>J,ybW:()=>f,ycn:()=>Qt,z1n:()=>Xe,zDe:()=>ct,zOX:()=>qe});const a="JETPACK_SET_INITIAL_STATE",n="CONNECT_URL_FETCH",i="CONNECT_URL_FETCH_FAIL",r="CONNECT_URL_FETCH_SUCCESS",o="DISCONNECT_SITE",c="DISCONNECT_SITE_FAIL",l="DISCONNECT_SITE_SUCCESS",p="CONNECT_USER",d="RESET_CONNECT_USER",u="UNLINK_USER",m="UNLINK_USER_FAIL",h="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",k="USER_CONNECTION_DATA_FETCH_FAIL",f="USER_CONNECTION_DATA_FETCH_SUCCESS",v="SITE_RECONNECT",E="SITE_RECONNECT_SUCCESS",w="SITE_RECONNECT_FAIL",_="USER_TRACKING_SETTINGS_FETCH",b="USER_TRACKING_SETTINGS_FETCH_FAIL",y="USER_TRACKING_SETTINGS_FETCH_SUCCESS",C="USER_TRACKING_SETTINGS_UPDATE",j="USER_TRACKING_SETTINGS_UPDATE_FAIL",S="USER_TRACKING_SETTINGS_UPDATE_SUCCESS",N="JETPACK_MODULES_LIST_FETCH",x="JETPACK_MODULES_LIST_FETCH_FAIL",T="JETPACK_MODULES_LIST_RECEIVE",A="JETPACK_MODULE_ACTIVATE",M="JETPACK_MODULE_ACTIVATE_SUCCESS",P="JETPACK_MODULE_ACTIVATE_FAIL",Z="JETPACK_MODULE_DEACTIVATE",O="JETPACK_MODULE_DEACTIVATE_FAIL",R="JETPACK_MODULE_DEACTIVATE_SUCCESS",L="JETPACK_MODULE_UPDATE_OPTIONS",z="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",I="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",U="JETPACK_CONNECTION_STATUS_FETCH",D="JETPACK_CONNECTION_TEST_FETCH",V="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",B="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",F="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",H="DASHBOARD_PROTECT_COUNT_FETCH",J="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",q="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",W="RESET_OPTIONS",G="RESET_OPTIONS_FAIL",$="RESET_OPTIONS_SUCCESS",K="VAULTPRESS_SITE_DATA_FETCH",Y="VAULTPRESS_SITE_DATA_FETCH_FAIL",X="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",Q="AKISMET_DATA_FETCH",ee="AKISMET_DATA_FETCH_FAIL",te="AKISMET_DATA_FETCH_SUCCESS",se="AKISMET_KEY_CHECK_FETCH",ae="AKISMET_KEY_CHECK_FETCH_FAIL",ne="AKISMET_KEY_CHECK_FETCH_SUCCESS",ie="PLUGIN_UPDATES_FETCH",re="PLUGIN_UPDATES_FETCH_FAIL",oe="PLUGIN_UPDATES_FETCH_SUCCESS",ce="STATS_SWITCH_TAB",le="STATS_DATA_FETCH",pe="STATS_DATA_FETCH_FAIL",de="STATS_DATA_FETCH_SUCCESS",ue="JETPACK_PRODUCTS_FETCH",me="JETPACK_PRODUCTS_FETCH_RECEIVE",he="JETPACK_PRODUCTS_FETCH_FAIL",ge="JETPACK_SITE_PRODUCTS_FETCH",ke="JETPACK_SITE_PRODUCTS_FETCH_FAIL",fe="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",ve="JETPACK_SETTINGS_FETCH",Ee="JETPACK_SETTINGS_FETCH_RECEIVE",we="JETPACK_SETTINGS_FETCH_FAIL",_e="JETPACK_SETTING_UPDATE",be="JETPACK_SETTING_UPDATE_SUCCESS",ye="JETPACK_SETTING_UPDATE_FAIL",Ce="JETPACK_SETTINGS_UPDATE",je="JETPACK_SETTINGS_UPDATE_FAIL",Se="JETPACK_SETTINGS_UPDATE_SUCCESS",Ne="JETPACK_SETTINGS_SET_UNSAVED_FLAG",xe="JETPACK_SETTINGS_CLEAR_UNSAVED_FLAG",Te="JETPACK_SITE_DATA_FETCH",Ae="JETPACK_SITE_DATA_FETCH_RECEIVE",Me="JETPACK_SITE_DATA_FETCH_FAIL",Pe="JETPACK_SITE_BENEFITS_FETCH",Ze="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",Oe="JETPACK_SITE_BENEFITS_FETCH_FAIL",Re="JETPACK_SITE_DISCOUNT_FETCH",Le="JETPACK_SITE_DISCOUNT_FETCH_RECEIVE",ze="JETPACK_SITE_DISCOUNT_FETCH_FAIL",Ie="JETPACK_SITE_FEATURES_FETCH",Ue="JETPACK_SITE_FEATURES_FETCH_RECEIVE",De="JETPACK_SITE_FEATURES_FETCH_FAIL",Ve="JETPACK_SITE_PLANS_FETCH",Be="JETPACK_SITE_PLANS_FETCH_RECEIVE",Fe="JETPACK_SITE_PLANS_FETCH_FAIL",He="JETPACK_SITE_PURCHASES_FETCH",Je="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",qe="JETPACK_SITE_PURCHASES_FETCH_FAIL",We="JETPACK_RECOMMENDATIONS_DATA_ADD_SELECTED_RECOMMENDATION",Ge="JETPACK_RECOMMENDATIONS_DATA_ADD_SKIPPED_RECOMMENDATION",$e="JETPACK_RECOMMENDATIONS_DATA_ADD_VIEWED_RECOMMENDATION",Ke="JETPACK_RECOMMENDATIONS_DATA_FETCH",Ye="JETPACK_RECOMMENDATIONS_DATA_FETCH_RECEIVE",Xe="JETPACK_RECOMMENDATIONS_DATA_FETCH_FAIL",Qe="JETPACK_RECOMMENDATIONS_DATA_UPDATE",et="JETPACK_RECOMMENDATIONS_DATA_SAVE",tt="JETPACK_RECOMMENDATIONS_DATA_SAVE_SUCCESS",st="JETPACK_RECOMMENDATIONS_DATA_SAVE_FAIL",at="JETPACK_RECOMMENDATIONS_STEP_UPDATE",nt="JETPACK_RECOMMENDATIONS_STEP_UPDATE_SUCCESS",it="JETPACK_RECOMMENDATIONS_STEP_UPDATE_FAIL",rt="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH",ot="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_RECEIVE",ct="JETPACK_RECOMMENDATIONS_PRODUCT_SUGGESTIONS_FETCH_FAIL",lt="JETPACK_RECOMMENDATIONS_UPSELL_FETCH",pt="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_RECEIVE",dt="JETPACK_RECOMMENDATIONS_UPSELL_FETCH_FAIL",ut="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH",mt="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH_RECEIVE",ht="JETPACK_RECOMMENDATIONS_CONDITIONAL_FETCH_FAIL",gt="JETPACK_RECOMMENDATIONS_FEATURE_INSTALL_START",kt="JETPACK_RECOMMENDATIONS_FEATURE_INSTALL_END",ft="JETPACK_RECOMMENDATIONS_DATA_ONBOARDING_DATA_UPDATE",vt="JETPACK_ACTION_NOTICES_DISMISS",Et="JETPACK_NOTICES_DISMISS_SUCCESS",wt="JETPACK_PLUGINS_DATA_FETCH",_t="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",bt="JETPACK_PLUGINS_DATA_FETCH_FAIL",yt="JETPACK_SEARCH_TERM",Ct="SET_PLAN_DURATION",jt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY",St="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_SUCCESS",Nt="JETPACK_MARKETING_SUBMIT_DISCONNECT_SURVEY_FAIL",xt="DEV_CARD_DISPLAY",Tt="DEV_CARD_HIDE",At="MOCK_SWITCH_USER_PERMISSIONS",Mt="MOCK_SWITCH_THREATS",Pt="REWIND_STATUS_FETCH",Zt="REWIND_STATUS_FETCH_RECEIVE",Ot="REWIND_STATUS_FETCH_FAIL",Rt="BACKUP_UNDO_EVENT_FETCH",Lt="BACKUP_UNDO_EVENT_FETCH_FAILURE",zt="BACKUP_UNDO_EVENT_FETCH_SUCCESS",It="MOCK_SWITCH_REWIND_STATE",Ut="SCAN_STATUS_FETCH",Dt="SCAN_STATUS_FETCH_RECEIVE",Vt="SCAN_STATUS_FETCH_FAIL",Bt="MOCK_SWITCH_SCAN_STATE",Ft="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH",Ht="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_FAIL",Jt="JETPACK_SITE_VERIFY_GOOGLE_STATUS_FETCH_SUCCESS",qt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST",Wt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_SUCCESS",Gt="JETPACK_SITE_VERIFY_GOOGLE_REQUEST_FAIL",$t="JETPACK_LICENSING_ERROR_UPDATE",Kt="JETPACK_LICENSING_USER_LICENSE_COUNTS_UPDATE",Yt="JETPACK_LICENSING_ACTIVATION_NOTICE_DISMISS_UPDATE",Xt="JETPACK_LICENSING_GET_USER_LICENSES_FETCH",Qt="JETPACK_LICENSING_GET_USER_LICENSES_SUCCESS",es="JETPACK_LICENSING_GET_USER_LICENSES_FAILURE",ts="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL",ss="WAF_SETTINGS_FETCH",as="WAF_SETTINGS_FETCH_RECEIVE",ns="WAF_SETTINGS_FETCH_FAIL",is="WAF_IP_ALLOW_LIST_UPDATED",rs="WAF_SETTINGS_UPDATE",os="WAF_SETTINGS_UPDATE_SUCCESS",cs="WAF_SETTINGS_UPDATE_FAIL",ls="JETPACK_INTRO_OFFERS_FETCH",ps="JETPACK_INTRO_OFFERS_FETCH_RECEIVE",ds="JETPACK_INTRO_OFFERS_FETCH_FAIL",us="JETPACK_RECOMMENDATIONS_SITE_DISCOUNT_VIEWED"},17865:(e,t,s)=>{"use strict";s.d(t,{Bt:()=>p,D3:()=>i,bB:()=>l,eR:()=>o,g4:()=>r,l7:()=>c,zx:()=>d});var a=s(64743),n=s(51975);const i=e=>t=>{t({type:n.HOX,activeStatsTab:e})},r=e=>t=>(t({type:n.YCI}),a.ZP.fetchStatsData(e).then((e=>{t({type:n.w_8,statsData:e})})).catch((e=>{t({type:n.$0n,error:e})}))),o=()=>e=>(e({type:n.H5i}),a.ZP.getProtectCount().then((t=>{e({type:n.QGN,protectCount:t})})).catch((t=>{e({type:n.yV3,error:t})}))),c=()=>e=>(e({type:n.CfX}),a.ZP.getVaultPressData().then((t=>{e({type:n.MiX,vaultPressData:t})})).catch((t=>{e({type:n.x3k,error:t})}))),l=()=>e=>(e({type:n.$ID}),a.ZP.getAkismetData().then((t=>{e({type:n.RRK,akismetData:t})})).catch((t=>{e({type:n.asZ,error:t})}))),p=(e="")=>t=>{t({type:n.Fmj});return(""===e?a.ZP.checkAkismetKey().then((e=>{t({type:n.BG7,akismet:e})})):a.ZP.checkAkismetKeyTyped(e).then((e=>{t({type:n.BG7,akismet:e})}))).catch((e=>{t({type:n.KDO,error:e})}))},d=()=>e=>(e({type:n.BC7}),a.ZP.fetchBackupUndoEvent().then((t=>{e({type:n.YVt,payload:t})})).catch((t=>{e({type:n.aNt,error:t})})))},17296:(e,t,s)=>{"use strict";s.d(t,{Bt:()=>n.Bt,D3:()=>n.D3,F2:()=>a.F2,Fb:()=>a.Fb,O1:()=>a.O1,P_:()=>a.P_,V_:()=>a.V_,Ve:()=>a.Ve,XK:()=>a.XK,Xu:()=>a.Xu,_2:()=>a._2,_R:()=>a._R,b9:()=>a.b9,bB:()=>n.bB,bV:()=>a.bV,eR:()=>n.eR,fU:()=>a.fU,g4:()=>n.g4,gw:()=>a.gw,l5:()=>a.l5,l7:()=>n.l7,vz:()=>a.vz,xz:()=>a.xz,yZ:()=>a.yZ,zx:()=>n.zx});var a=s(30569),n=s(17865)},30569:(e,t,s)=>{"use strict";s.d(t,{F2:()=>c,Fb:()=>_,O1:()=>C,P_:()=>f,V_:()=>k,Ve:()=>y,XK:()=>v,Xu:()=>h,_2:()=>m,_R:()=>E,b9:()=>b,bV:()=>p,fU:()=>d,gw:()=>u,l5:()=>o,sI:()=>r,vz:()=>w,xz:()=>g,yZ:()=>l});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({requests:(e={},t)=>{switch(t.type){case i.YCI:return(0,a.assign)({},e,{fetchingStatsData:!0});case i.$ID:return(0,a.assign)({},e,{fetchingAkismetData:!0});case i.Fmj:return(0,a.assign)({},e,{checkingAkismetKey:!0});case i.CfX:return(0,a.assign)({},e,{fetchingVaultPressData:!0});case i.H5i:return(0,a.assign)({},e,{fetchingProtectData:!0});case i.BB$:return(0,a.assign)({},e,{fetchingPluginUpdates:!0});case i.$0n:case i.w_8:return(0,a.assign)({},e,{fetchingStatsData:!1});case i.asZ:case i.RRK:return(0,a.assign)({},e,{fetchingAkismetData:!1});case i.KDO:case i.BG7:return(0,a.assign)({},e,{checkingAkismetKey:!1});case i.yV3:case i.QGN:return(0,a.assign)({},e,{fetchingProtectData:!1});case i.Piu:case i.yEZ:return(0,a.assign)({},e,{fetchingPluginUpdates:!1});case i.x3k:case i.MiX:return(0,a.assign)({},e,{fetchingVaultPressData:!1,hasLoadedVaultPressData:!0});default:return e}},activeStatsTab:(e="day",t)=>t.type===i.HOX?t.activeStatsTab:e,protectCount:(e="N/A",t)=>t.type===i.QGN?t.protectCount:e,vaultPressData:(e="N/A",t)=>{switch(t.type){case i.MiX:return t.vaultPressData;case i.CMU:return(0,a.assign)({},"N/A"===e?{}:e,{data:{active:!0,features:{security:!0},security:{notice_count:t.mockCount}}});default:return e}},statsData:(e={},t)=>t.type===i.w_8?(0,a.assign)({},e,t.statsData):e,akismetData:(e="N/A",t)=>t.type===i.RRK?t.akismetData:e,akismet:(e={validKey:null,invalidKeyCode:"",invalidKeyMessage:""},t)=>t.type===i.BG7?(0,a.assign)({},e,t.akismet):e,pluginUpdates:(e="N/A",t)=>t.type===i.yEZ?t.pluginUpdates:e,backupUndoEvent:(e={isFetching:!1,loaded:!1,event:{}},{type:t,payload:s})=>{switch(t){case i.BC7:return{...e,isFetching:!0,loaded:!1};case i.YVt:{const t=s.last_rewindable_event;return{...e,isFetching:!1,loaded:!0,actorAvatarUrl:t.actor?.icon?.url??"",actorName:t.actor?.name??"",actorRole:t.actor?.role??"",actorType:t.actor?.type??"",activityDate:t.published??"",activityId:t.activity_id,activityName:t.name,activityTitle:t.summary,activityDescription:t.content?.text??"",undoBackupId:s.undo_backup_id}}case i.aNt:return{...e,isFetching:!1};default:return e}}});function o(e){return e.jetpack.dashboard.activeStatsTab}function c(e){return!!e.jetpack.dashboard.requests.fetchingStatsData}function l(e){return e.jetpack.dashboard.statsData}function p(e){return!!e.jetpack.dashboard.requests.fetchingAkismetData}function d(e){return e.jetpack.dashboard.akismetData}function u(e){return!!e.jetpack.dashboard.requests.checkingAkismetKey}function m(e){return(0,a.get)(e.jetpack.dashboard,["akismet","validKey"],!1)}function h(e){return!!e.jetpack.dashboard.requests.fetchingProtectData}function g(e){return e.jetpack.dashboard.protectCount}function k(e){return!!e.jetpack.dashboard.requests.hasLoadedVaultPressData}function f(e){return!!e.jetpack.dashboard.requests.fetchingVaultPressData}function v(e){return e.jetpack.dashboard.vaultPressData}function E(e){return(0,a.get)(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}function w(e){return!!e.jetpack.pluginsData.requests.isFetchingPluginsData}function _(e){return e.jetpack.pluginsData.items||{}}function b(e){return e.jetpack.dashboard.backupUndoEvent}function y(e){return e.jetpack.dashboard.backupUndoEvent.isFetching}function C(e){return e.jetpack.dashboard.backupUndoEvent.loaded}},95274:(e,t,s)=>{"use strict";s.d(t,{EP:()=>d,HD:()=>m,I7:()=>o,SG:()=>c,bL:()=>u,eW:()=>l,jb:()=>p,qJ:()=>h});var a=s(64743),n=s(65736),i=s(41549),r=s(51975);const __=n.__,o=()=>e=>a.ZP.fetchSiteConnectionStatus().then((t=>{e({type:r.maF,siteConnected:t})})),c=()=>e=>(e((0,i.iI)("is-info",__("Testing Jetpack Connection","jetpack"),{id:"test-jetpack-connection"})),a.ZP.fetchSiteConnectionTest().then((t=>{e({type:r._MD,connectionTest:t}),e((0,i.qq)("test-jetpack-connection")),e((0,i.iI)("success"===t.code?"is-success":"is-error",t.message,{id:"test-jetpack-connection"}))})).catch((t=>{e((0,i.qq)("test-jetpack-connection")),e((0,i.iI)("is-error",(0,n.sprintf)(/* translators: placeholder is an error message. */
__("There was an error testing Jetpack. Error: %s","jetpack"),t.message),{id:"test-jetpack-connection"}))}))),l=()=>e=>(e({type:r.q7G}),a.ZP.fetchConnectUrl().then((t=>{e({type:r.hmP,connectUrl:t})})).catch((t=>{e({type:r.UyH,error:t})}))),p=()=>e=>(e({type:r.lje}),a.ZP.fetchUserConnectionData().then((t=>{e({type:r.ybW,userConnectionData:t})})).catch((t=>{e({type:r.o2S,error:t})}))),d=()=>e=>(e({type:r.IWc}),e((0,i.iI)("is-info",__("Unlinking from WordPress.com","jetpack"),{id:"unlink-user"})),a.ZP.unlinkUser().then((t=>{e({type:r.dDV,userUnlinked:t}),e(l()),e((0,i.qq)("unlink-user")),e((0,i.iI)("is-success",__("Unlinked from WordPress.com.","jetpack"),{id:"unlink-user",duration:2e3}))})).catch((t=>{e({type:r.MoW,error:t}),e((0,i.qq)("unlink-user")),e((0,i.iI)("is-error",(0,n.sprintf)(/* translators: placeholder is the error. */
__("Error unlinking from WordPress.com. Error: %s","jetpack"),t),{id:"unlink-user"}))}))),u=(e=null,t=null)=>s=>{s({type:r.ien,featureLabel:e,from:t})},m=()=>e=>{e({type:r.AAZ})},h=()=>e=>(e({type:r.jtr}),a.ZP.setHasSeenWCConnectionModal())},96300:(e,t,s)=>{"use strict";s.d(t,{AM:()=>a.AM,BU:()=>a.BU,Dd:()=>a.Dd,EP:()=>n.EP,Ex:()=>a.Ex,Gz:()=>a.Gz,HD:()=>n.HD,Hu:()=>a.Hu,I7:()=>n.I7,IK:()=>a.IK,LN:()=>a.LN,Mq:()=>a.Mq,O_:()=>a.O_,QM:()=>a.QM,SG:()=>n.SG,Zp:()=>a.Zp,_8:()=>a._8,bL:()=>n.bL,cm:()=>a.cm,eW:()=>n.eW,e_:()=>a.e_,it:()=>a.it,j8:()=>a.j8,jZ:()=>a.jZ,jb:()=>n.jb,l9:()=>a.l9,q7:()=>a.q7,qJ:()=>n.qJ,rH:()=>a.rH,tN:()=>a.tN,t_:()=>a.t_,xP:()=>a.xP,zq:()=>a.zq});var a=s(13480),n=s(95274)},13480:(e,t,s)=>{"use strict";s.d(t,{AM:()=>h,BU:()=>y,Dd:()=>b,Ex:()=>S,Gz:()=>p,Hu:()=>m,I6:()=>c,IK:()=>A,LN:()=>M,Mq:()=>f,O_:()=>P,QM:()=>C,Zp:()=>l,_8:()=>_,cm:()=>N,e_:()=>k,it:()=>j,j8:()=>u,jZ:()=>v,l9:()=>x,q7:()=>d,rH:()=>Z,tN:()=>g,t_:()=>T,xP:()=>w,zq:()=>E});var a=s(92819),n=s(835),i=s(51975),r=s(50416);const o={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,n.UY)({connectUrl:(e="",t)=>{switch(t.type){case i.R99:return(0,a.get)(t,"initialState.connectUrl",e);case i.hmP:return t.connectUrl;default:return e}},status:(e={siteConnected:window.Initial_State.connectionStatus},t)=>{switch(t.type){case i.maF:case i.BVO:return(0,a.assign)({},e,{siteConnected:t.siteConnected});case i.dDV:return(0,a.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case i.ybW:return!0===t.userConnectionData?.currentUser?.isConnected?(0,a.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:(e=window.Initial_State.userData||{},t)=>{switch(t.type){case i.ybW:return(0,a.assign)({},e,t.userConnectionData);case i.dDV:const s=(0,a.assign)({},e.currentUser,{isConnected:!1});return(0,a.assign)({},e,{currentUser:s});case i.hF6:return(0,a.merge)({},e,t.initialState);default:return e}},requests:(e=o,t)=>{switch(t.type){case i.J1y:return(0,a.assign)({},e,{disconnectingSite:!0});case i.IWc:return(0,a.assign)({},e,{unlinkingUser:!0});case i.ien:return(0,a.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel,connectingUserFrom:t.from});case i.AAZ:return(0,a.assign)({},e,{connectingUser:!1});case i.q7G:return(0,a.assign)({},e,{fetchingConnectUrl:!0});case i.lje:return(0,a.assign)({},e,{fetchingUserData:!0});case i.bGw:return(0,a.assign)({},e,{reconnectingSite:!0});case i.U7H:case i.BVO:return(0,a.assign)({},e,{disconnectingSite:!1});case i.MoW:case i.dDV:return(0,a.assign)({},e,{unlinkingUser:!1});case i.UyH:case i.hmP:return(0,a.assign)({},e,{fetchingConnectUrl:!1});case i.o2S:case i.ybW:return(0,a.assign)({},e,{fetchingUserData:!1});case i.B9W:case i.sO1:return(0,a.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:(e=window.Initial_State.hasSeenWCConnectionModal||!1,t)=>t.type===i.jtr||e});function l(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&e.jetpack.connection.status.siteConnected}function p(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&(e.jetpack.connection.status.siteConnected.offlineMode.isActive?"offline":e.jetpack.connection.status.siteConnected.isActive)}function d(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isActive}function u(e){return"object"==typeof e.jetpack.connection.status.siteConnected&&!0!==e.jetpack.connection.status.siteConnected.offlineMode.isActive&&e.jetpack.connection.status.siteConnected.isRegistered}function m(e){return!!(0,a.get)(e.jetpack.connection.status,["siteConnected","offlineMode","isActive"])&&(0,a.get)(e.jetpack.connection.status,["siteConnected","offlineMode"])}function h(e){return e.jetpack.connection.connectUrl}function g(e){return e.jetpack.connection.user.currentUser?.wpcomUser}function k(e){return!!e.jetpack.connection.requests.disconnectingSite}function f(e){return!!e.jetpack.connection.requests.fetchingConnectUrl}function v(e){return!!e.jetpack.connection.requests.unlinkingUser}function E(e){return!!e.jetpack.connection.requests.connectingUser}function w(e){return e.jetpack.connection.requests.hasOwnProperty("connectingUserFeatureLabel")?e.jetpack.connection.requests.connectingUserFeatureLabel:null}function _(e){return e.jetpack.connection.requests.hasOwnProperty("connectingUserFrom")?e.jetpack.connection.requests.connectingUserFrom:null}function b(e){return!!e.jetpack.connection.requests.fetchingUserData}function y(e){return!!e.jetpack.connection.user.currentUser.isConnected}function C(e){return!!e.jetpack.connection.user.currentUser.isMaster}function j(e){return(0,a.get)(e.jetpack.connection.status,["siteConnected","hasConnectedOwner"],!1)}function S(e){return"offline"===p(e)}function N(e){return(0,a.get)(e.jetpack.connection.status,["siteConnected","isStaging"],!1)}function x(e){return(0,a.get)(e.jetpack.connection.status,["siteConnected","isInIdentityCrisis"],!1)}function T(e,t){return S(e)&&function(e,t){return(0,a.includes)((0,r.HS)(e).concat(["backups","scan"]),t)}(e,t)}function A(e,t){return!j(e)&&function(e,t){return(0,a.includes)((0,r.he)(e),t)}(e,t)}function M(e){return(0,a.get)(e.jetpack.connection.status,["siteConnected","sandboxDomain"],"")}function P(e){return!!e.jetpack.connection.requests.reconnectingSite}function Z(e){return!!e.jetpack.connection.hasSeenWCConnectionModal}},75711:(e,t,s)=>{"use strict";s.d(t,{Wh:()=>l,Yw:()=>E,_G:()=>o,_s:()=>_,aX:()=>w,fb:()=>p,pH:()=>b,vN:()=>c});var a=s(64743),n=s(65736),i=s(41549),r=s(51975);const __=n.__,o=e=>t=>(t({type:r.sQG}),t((0,i.iI)("is-info",__("Resetting Jetpack options…","jetpack"),{id:"reset-options"})),a.ZP.resetOptions(e).then((()=>{t({type:r.c0d}),t((0,i.qq)("reset-options")),t((0,i.iI)("is-success",__("Options reset.","jetpack"),{id:"reset-options",duration:2e3}))})).catch((e=>{t({type:r.Kth,error:e}),t((0,i.qq)("reset-options")),t((0,i.iI)("is-error",__("Options failed to reset.","jetpack"),{id:"reset-options"}))}))),c=()=>e=>{e({type:r.YoP})},l=()=>e=>{e({type:r.mLi})},p=e=>t=>{t({type:r.fHq,siteData:{plan:{product_slug:e}}})},d={currentUser:{isMaster:!0,isConnected:!0,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},u={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},m={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!0,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},h={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!1,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},g={currentUser:{permissions:{view_stats:!0}}},k={currentUser:{permissions:{view_stats:!1}}},f={currentUser:{isConnected:!0}},v={currentUser:{isConnected:!1,isMaster:!1}},E=e=>{let t={};return s=>{switch(e){case"admin_master":t=d;break;case"admin_secondary":t=u;break;case"editor":case"contributor":case"author":t=m;break;case"subscriber":t=h;break;case"view_stats":t=g;break;case"hide_stats":t=k;break;case"is_linked":t=f;break;case"is_unlinked":t=v}s({type:r.hF6,initialState:t})}},w=e=>t=>{t({type:r.CMU,mockCount:e})},_=e=>t=>{t({type:r.Yk$,rewindState:{state:e}})},b=e=>t=>{t({type:r.M0I,scanState:{state:e}})}},80625:(e,t,s)=>{"use strict";s.d(t,{Ry:()=>a.Ry,Wh:()=>n.Wh,Yw:()=>n.Yw,_G:()=>n._G,_s:()=>n._s,aX:()=>n.aX,fb:()=>n.fb,pH:()=>n.pH,vN:()=>n.vN});var a=s(49112),n=s(75711)},49112:(e,t,s)=>{"use strict";s.d(t,{I6:()=>i,Ry:()=>r});var a=s(835),n=s(51975);const i=(0,a.UY)({display:(e=!1,t)=>{switch(t.type){case n.YoP:return!0;case n.mLi:return!1;default:return e}}});function r(e){return!!e.jetpack.devCard.display}},8183:(e,t,s)=>{"use strict";s.d(t,{I6:()=>r});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({disconnectSurvey:(e={submitting:!1,submitted:!1,error:null},t)=>{switch(t.type){case i.meS:return(0,a.assign)({},e,{submitting:!0});case i.VdL:return(0,a.assign)({},e,{submitting:!1,submitted:!0,error:null});case i.tlb:return(0,a.assign)({},e,{submitting:!1,submitted:!1,error:t.error});default:return e}}})},16419:(e,t,s)=>{"use strict";s.d(t,{K:()=>n});var a=s(51975);const n=()=>e=>{e({type:a.R99,initialState:window.Initial_State})}},69508:(e,t,s)=>{"use strict";s.d(t,{$2:()=>a.$2,$4:()=>a.$4,$r:()=>a.$r,Cq:()=>a.Cq,Cv:()=>a.Cv,D6:()=>a.D6,DV:()=>a.DV,EZ:()=>a.EZ,G6:()=>a.G6,GC:()=>a.GC,H$:()=>a.H$,Hy:()=>a.Hy,IU:()=>a.IU,JR:()=>a.JR,KF:()=>a.KF,KY:()=>n.K,Mc:()=>a.Mc,Ms:()=>a.Ms,PK:()=>a.PK,Pw:()=>a.Pw,Q6:()=>a.Q6,QP:()=>a.QP,Qq:()=>a.Qq,TA:()=>a.TA,Td:()=>a.Td,UF:()=>a.UF,Ug:()=>a.Ug,Uu:()=>a.Uu,VY:()=>a.VY,WB:()=>a.WB,WY:()=>a.WY,YJ:()=>a.YJ,Yg:()=>a.Yg,Z2:()=>a.Z2,Zb:()=>a.Zb,_G:()=>a._G,_W:()=>a._W,aW:()=>a.aW,aZ:()=>a.aZ,as:()=>a.as,by:()=>a.by,dc:()=>a.dc,de:()=>a.de,hv:()=>a.hv,ic:()=>a.ic,ij:()=>a.ij,jT:()=>a.jT,jU:()=>a.jU,je:()=>a.je,jq:()=>a.jq,mb:()=>a.mb,mh:()=>a.mh,n0:()=>a.n0,nP:()=>a.nP,pI:()=>a.pI,pK:()=>a.pK,px:()=>a.px,rd:()=>a.rd,rf:()=>a.rf,rp:()=>a.rp,vL:()=>a.vL,w1:()=>a.w1,wB:()=>a.wB,wW:()=>a.wW,xR:()=>a.xR,xz:()=>a.xz,yB:()=>a.yB,ze:()=>a.ze});var a=s(34761),n=s(16419)},34761:(e,t,s)=>{"use strict";s.d(t,{$2:()=>X,$4:()=>_e,$r:()=>E,Cq:()=>Ee,Cv:()=>Y,D6:()=>_,DV:()=>oe,E3:()=>l,EZ:()=>O,G6:()=>me,GC:()=>te,H$:()=>D,Hy:()=>q,IU:()=>T,JR:()=>k,KF:()=>M,Mc:()=>N,Ms:()=>P,PK:()=>ue,Pw:()=>G,Q6:()=>le,QP:()=>ae,Qq:()=>ce,TA:()=>ie,Td:()=>u,UF:()=>y,Ug:()=>W,Uu:()=>m,VY:()=>I,WB:()=>S,WY:()=>ve,YJ:()=>se,Yg:()=>ne,Z2:()=>J,Zb:()=>we,_G:()=>A,_W:()=>p,aW:()=>v,aZ:()=>z,as:()=>B,by:()=>pe,dc:()=>w,de:()=>H,hv:()=>F,ic:()=>j,ij:()=>fe,jT:()=>be,jU:()=>ke,je:()=>g,jq:()=>he,mb:()=>ee,mh:()=>re,n0:()=>x,nP:()=>ge,pI:()=>L,pK:()=>b,px:()=>Z,rd:()=>de,rf:()=>K,rp:()=>C,vL:()=>$,w1:()=>d,wB:()=>V,wW:()=>f,xR:()=>Q,xz:()=>h,yB:()=>U,ze:()=>R});var a=s(6895),n=s(92819),i=s(51975),r=s(96300),o=s(85207),c=s(77805);const l=(e=window.Initial_State,t)=>{switch(t.type){case i.R99:return(0,n.assign)({},e,t.initialState);case i.hF6:return(0,n.merge)({},e,{userData:t.initialState});default:return e}};function p(e){return!!e.jetpack.initialState.isDevVersion}function d(e){return(0,n.get)(e.jetpack.initialState,"currentVersion","")}function u(e){return(0,n.get)(e.jetpack.initialState.stats,"roles",{})}function m(e){return(0,n.get)(e.jetpack.initialState.stats,"data")}function h(e){return(0,n.get)(e.jetpack.initialState,"connectedPlugins",{})}function g(e){return(0,n.get)(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function k(e){return(0,n.get)(e.jetpack.initialState,"rawUrl",{})}function f(e){return(0,n.get)(e.jetpack.initialState,"adminUrl",{})}function v(e){return(0,n.get)(e.jetpack.initialState,"siteTitle","")}function E(e){return(0,n.get)(e.jetpack.initialState,["connectionStatus","isPublic"])}function w(e){return!(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function _(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"publish_posts",!1)}function b(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function y(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function C(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function j(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"manage_plugins",!1)}function S(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function N(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect",!1)}function x(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"connect_user",!1)}function T(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","login"],"")}function A(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser,["wpcomUser","ID"],"")}function M(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser,["gravatar"])}function P(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser,["username"])}function Z(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}function O(e){return(0,n.get)(e.jetpack.initialState.siteData,["blog_id"])}function R(e){return(0,n.get)(e.jetpack.initialState.siteData,["icon"])}function L(e){return(0,n.get)(e.jetpack.initialState.siteData,["siteVisibleToSearchEngines"],!0)}function z(e){return(0,n.get)(e.jetpack.initialState.siteData,["latestBoostSpeedScores"])}function I(e){return(0,n.get)(e.jetpack.initialState,"WP_API_nonce")}function U(e){return(0,n.get)(e.jetpack.initialState,"WP_API_root")}function D(e){return(0,n.get)(e.jetpack.initialState,"registrationNonce")}function V(e){return(0,n.get)(e.jetpack.initialState,"pluginBaseUrl")}function B(e){return(0,n.get)(e.jetpack.initialState,"purchaseToken")}function F(e){return(0,n.get)(e.jetpack.initialState,"tracksUserData")}function H(e){return(0,n.get)(e.jetpack.initialState,"currentIp")}function J(e){return(0,n.get)(e.jetpack.initialState,"lastPostUrl")}function q(e){return(0,n.get)(e.jetpack.initialState.siteData,"showPromotions",!0)}function W(e){return(0,n.get)(e.jetpack.initialState.siteData,"isAtomicSite",!1)}function G(e){return(0,n.get)(e.jetpack.initialState.siteData,"isWoASite",!1)}function $(e){return(0,n.get)(e.jetpack.initialState.siteData,"isAtomicPlatform",!1)}function K(e){return(0,n.get)(e.jetpack.initialState.themeData,"stylesheet")}function Y(e,t){return(0,n.get)(e.jetpack.initialState.themeData,["support",t],!1)}function X(e){return(0,n.get)(e.jetpack.initialState.themeData,["isBlockTheme"],!1)}function Q(e){return(0,n.get)(e.jetpack.initialState.siteData,"showBackups",!0)}function ee(e){return(0,n.get)(e.jetpack.initialState.siteData,"showRecommendations",!1)}function te(e){return(0,n.get)(e.jetpack.initialState.siteData,"showMyJetpack",!0)}function se(e){return(0,n.get)(e.jetpack.initialState,"newRecommendations",[])}function ae(e){return se(e).length}function ne(e){return(0,n.get)(e.jetpack.initialState.licensing,"showLicensingUi",!1)}function ie(e){return(0,n.get)(e.jetpack.initialState.siteData,"isMultisite",!1)}function re(e){return(0,n.get)(e.jetpack.initialState.siteData,"dateFormat",!1)}function oe(e){return(0,n.get)(e.jetpack.initialState,"partnerCoupon")}const ce=(e,t,s="",i=!1)=>{const c=function(e){return(0,n.get)(e.jetpack.initialState,"aff","")}(e),l=function(e){return(0,n.get)(e.jetpack.initialState,"partnerSubsidiaryId","")}(e),p=s||function(e){return(0,n.get)(e.jetpack.initialState.userData.currentUser,"id","")}(e),d=B(e),u=function(e){return(0,n.get)(e.jetpack.initialState,"calypsoEnv")}(e),m=O(e);i&&"monthly"===(0,o.b)(e)&&(t+="-monthly");const h={site:m??k(e)};return c&&(h.aff=c),p&&(h.u=p),l&&(h.subsidiaryId=l),h.query="",(0,r.BU)(e)||(h.query+="unlinked=1&"),d&&(h.query+=`purchasetoken=${d}`),u&&(h.calypso_env=u),(0,a.Z)(t,h)};function le(e){return(0,n.get)(e.jetpack.initialState,"products",{})}function pe(e){const t=(0,n.get)(e.jetpack.initialState,"products",{}),s=(0,c.dt)(e),i={};for(const[e,r]of Object.entries(t))i[e]={title:r.title,slug:r.slug,key:e,description:r.description,features:r.features,disclaimer:r.disclaimer,available:(0,n.get)(s,[r.slug,"available"],!1),currencyCode:(0,n.get)(s,[r.slug,"currency_code"],""),showPromotion:r.show_promotion,promotionPercentage:r.discount_percent,includedInPlans:r.included_in_plans,fullPrice:(0,n.get)(s,[r.slug,"cost"],""),saleCoupon:(0,n.get)(s,[r.slug,"sale_coupon"],void 0),upgradeUrl:(0,a.Z)("jetpack-product-description-checkout",{path:r.slug})};return i}function de(e){return(0,n.get)(e.jetpack.initialState,"recommendationsStep","")}function ue(e){return(0,n.get)(e.jetpack.initialState,["connectionStatus","errors"],[]).filter((e=>e.hasOwnProperty("action")))}function me(e){return!!e.jetpack.initialState.isSafari}function he(e){return!!e.jetpack.initialState.doNotUseConnectionIframe}function ge(e){return!!e.jetpack.initialState.isWooCommerceActive}function ke(e,t){return`https://cloud.jetpack.com/${t}/${k(e)}`}function fe(e){return!!e.jetpack.initialState.isOdysseyStatsEnabled}function ve(e){return!!e.jetpack.initialState.shouldInitializeBlaze}function Ee(e){return!!e.jetpack.initialState.isBlazeDashboardEnabled}function we(e){return e.jetpack.initialState.gutenbergInitialState}function _e(e){return!!e.jetpack.initialState.siteData.isSharingBlockAvailable}function be(e){return e.jetpack.initialState.jetpackManage}},88762:(e,t,s)=>{"use strict";s.d(t,{l:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.LxH}),a.ZP.fetchIntroOffers().then((({data:t})=>{e({type:n.gGy,data:t})})).catch((t=>{e({type:n.EzW,error:t})})))},36920:(e,t,s)=>{"use strict";s.d(t,{HW:()=>n.HW,I6:()=>n.I6,lR:()=>a.l,ni:()=>n.ni});var a=s(88762),n=s(47717)},47717:(e,t,s)=>{"use strict";s.d(t,{HW:()=>r,I6:()=>i,ni:()=>o});var a=s(835),n=s(51975);const i=(0,a.UY)({data:(e=[],t)=>t.type===n.gGy?t.data:e,requests:(e={},t)=>{switch(t.type){case n.LxH:return{...e,isFetching:!0};case n.gGy:case n.EzW:return{...e,isFetching:!1};default:return e}}});function r(e){return!!e.jetpack.introOffers.requests.isFetching}function o(e){return e.jetpack.introOffers.data}},13232:(e,t,s)=>{"use strict";s.d(t,{S:()=>n});s(64743);var a=s(51975);const n=e=>t=>{t({type:a.tUc,notice:e})}},35613:(e,t,s)=>{"use strict";s.d(t,{Rv:()=>a.Rv,Sn:()=>n.S,XF:()=>a.XF,gB:()=>a.gB,gq:()=>a.gq,jE:()=>a.jE,pt:()=>a.pt});var a=s(67953),n=s(13232)},67953:(e,t,s)=>{"use strict";s.d(t,{I6:()=>r,Rv:()=>p,XF:()=>d,gB:()=>c,gq:()=>o,jE:()=>u,pt:()=>l});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({notice:(e=!1,t)=>t.type===i.BVO?"disconnected":e,dismissed:(e=window.Initial_State.dismissedNotices,t)=>{switch(t.type){case i.tUc:return(0,a.assign)({},e,{[t.notice]:!0});case i.Ez9:return(0,a.assign)({},e,t.dismissedNotices);case i.c0d:return!1;default:return e}}});function o(e){return e.jetpack.jetpackNotices.notice}function c(e){return(0,a.get)(e.jetpack.initialState,["jetpackStateNotices","errorCode"])}function l(e){return(0,a.get)(e.jetpack.initialState,["jetpackStateNotices","messageCode"])}function p(e){return(0,a.get)(e.jetpack.initialState,["jetpackStateNotices","messageContent"])}function d(e){return(0,a.get)(e.jetpack.initialState,["jetpackStateNotices","errorDescription"])}function u(e,t){return(0,a.get)(e.jetpack.jetpackNotices.dismissed,[t],!1)}},6816:(e,t,s)=>{"use strict";s.d(t,{Ng:()=>r,bT:()=>o,xw:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.U$1,error:""}),a.ZP.updateLicensingError({error:""})),r=()=>e=>a.ZP.getUserLicensesCounts().then((t=>{e({type:n.R5k,counts:t})})).catch((t=>{e({type:n.U$1,error:t})})),o=()=>(e,t)=>{const s=t().jetpack.licensing.userCounts?.detached;return a.ZP.updateLicensingActivationNoticeDismiss(s).then((t=>{e({type:n.lOd,dismissData:t})})).catch((t=>{e({type:n.U$1,error:t})}))}},59963:(e,t,s)=>{"use strict";s.d(t,{Ng:()=>n.Ng,O4:()=>a.O4,Tk:()=>a.Tk,bT:()=>n.bT,xw:()=>n.xw});var a=s(32337),n=s(6816)},32337:(e,t,s)=>{"use strict";s.d(t,{I6:()=>r,O4:()=>c,Tk:()=>o});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({error:(e=window.Initial_State.licensing.error,t)=>t.type===i.U$1?t.error:e,userCounts:(e=window.Initial_State.licensing.userCounts??{},t)=>t.type===i.R5k?(0,a.assign)({},e,t.counts):e,activationNoticeDismiss:(e=window.Initial_State.licensing.activationNoticeDismiss??{last_detached_count:null,last_dismissed_time:null},t)=>t.type===i.lOd?(0,a.assign)({},e,t.dismissData):e,licenses:(e=window.Initial_State.licensing.licenses??{items:[],loading:!1},t)=>{switch(t.type){case i.clc:return{...e,loading:!0};case i.ycn:return{...e,...t.data,loading:!1};case i.g_q:return{...e,loading:!1};default:return e}}});function o(e){return(0,a.get)(e.jetpack.licensing,["error"],"")}function c(e){return(0,a.get)(e.jetpack.licensing.userCounts,["detached"],0)}},78654:(e,t,s)=>{"use strict";s.d(t,{DK:()=>m,Uq:()=>h,Z$:()=>d,d:()=>u});var a=s(64743),n=s(65736),i=s(41549),r=s(19567),o=s.n(r),c=s(92819),l=s(51975),p=s(62586);const __=n.__,d=()=>e=>(e({type:l.jEk}),a.ZP.fetchModules().then((t=>(e({type:l.I3o,modules:t}),t))).catch((t=>{e({type:l.kFt,error:t})}))),u=(e,t=!1)=>(s,r)=>(s({type:l.sG3,module:e}),s((0,i.qq)("module-toggle")),s((0,i.iI)("is-info",(0,n.sprintf)(/* translators: placeholder is a feature name, such as "Image CDN". */
__("Activating %s…","jetpack"),(0,p.rT)(r(),e).name),{id:"module-toggle"})),a.ZP.activateModule(e).then((()=>{s({type:l.n2G,module:e,success:!0}),s((0,i.qq)("module-toggle")),s((0,i.iI)("is-success",(0,n.sprintf)(/* translators: placeholder is a feature name, such as "Image CDN". */
__("%s has been activated.","jetpack"),(0,p.rT)(r(),e).name),{id:"module-toggle",duration:2e3})),t&&window.location.reload()})).catch((t=>{s({type:l.Jyr,module:e,success:!1,error:t}),s((0,i.qq)("module-toggle")),s((0,i.iI)("is-error",(0,n.sprintf)(/* translators: %1$s: feature name, such as "Image CDN". - %2$s: error message. */
__("%1$s failed to activate. %2$s","jetpack"),(0,p.rT)(r(),e).name,t),{id:"module-toggle"}))})));function m(e,t){if("custom-content-types"!==e)return!1;t||o()("#menu-posts-jetpack-portfolio, #menu-posts-jetpack-testimonial").toggle(),(0,c.forEach)(t,(function(e,t){"jetpack_portfolio"===t&&o()("#menu-posts-jetpack-portfolio, .jp-toggle-portfolio").toggle(),"jetpack_testimonial"===t&&o()("#menu-posts-jetpack-testimonial, .jp-toggle-testimonial").toggle()}))}function h(e){(0,c.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&window.location.reload()}},50416:(e,t,s)=>{"use strict";s.d(t,{C5:()=>a.C5,DK:()=>n.DK,HS:()=>a.HS,Qy:()=>a.Qy,R9:()=>a.R9,Su:()=>a.Su,Uq:()=>n.Uq,Xx:()=>a.Xx,Z$:()=>n.Z$,ZY:()=>a.ZY,d:()=>n.d,hU:()=>a.hU,he:()=>a.he,mp:()=>a.mp,og:()=>a.og,rT:()=>a.rT,v1:()=>a.v1,zc:()=>a.zc});var a=s(62586),n=s(78654)},62586:(e,t,s)=>{"use strict";s.d(t,{C5:()=>p,HS:()=>g,I6:()=>c,Qy:()=>b,R9:()=>d,Su:()=>E,Xx:()=>m,ZY:()=>l,hU:()=>u,he:()=>k,mp:()=>w,og:()=>f,rT:()=>h,v1:()=>_,zc:()=>v});var a=s(92819),n=s(835),i=s(51975),r=s(61372);const o={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},c=(0,n.UY)({items:(e={},t)=>{switch(t.type){case i.R99:return(0,a.assign)({},t.initialState.getModules);case i.I3o:return(0,a.assign)({},e,t.modules);case i.n2G:return(0,a.assign)({},e,{[t.module]:(0,a.assign)({},e[t.module],{activated:!0})});case i.CD3:return(0,a.assign)({},e,{[t.module]:(0,a.assign)({},e[t.module],{activated:!1})});case i.Hyl:const s=(0,a.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{s.options[e].current_value=t.newOptionValues[e]})),(0,a.assign)({},e,{[t.module]:s});default:return e}},requests:(e=o,t)=>{switch(t.type){case i.jEk:return(0,a.assign)({},e,{fetchingModulesList:!0});case i.kFt:case i.I3o:return(0,a.assign)({},e,{fetchingModulesList:!1});case i.sG3:return(0,a.assign)({},e,{activating:(0,a.assign)({},e.activating,{[t.module]:!0})});case i.Jyr:case i.n2G:return(0,a.assign)({},e,{activating:(0,a.assign)({},e.activating,{[t.module]:!1})});case i.Gu5:return(0,a.assign)({},e,{deactivating:(0,a.assign)({},e.deactivating,{[t.module]:!0})});case i.xkZ:case i.CD3:return(0,a.assign)({},e,{deactivating:(0,a.assign)({},e.deactivating,{[t.module]:!1})});case i.Lao:const s=(0,a.assign)({},e.updatingOption);return s[t.module]=(0,a.assign)({},s[t.module]),Object.keys(t.newOptionValues).forEach((e=>{s[t.module][e]=!0})),(0,a.assign)({},e,{updatingOption:(0,a.assign)({},e.updatingOption,s)});case i.Lon:case i.Hyl:const n=(0,a.assign)({},e.updatingOption);return n[t.module]=(0,a.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!1})),(0,a.assign)({},e,{updatingOption:(0,a.assign)({},e.updatingOption,n)});default:return e}}});function l(e,t){return!!e.jetpack.modules.requests.activating[t]}function p(e,t,s){return(0,a.get)(e.jetpack.modules.items,[t,"options",s,"current_value"])}function d(e,t,s){return(0,a.get)(e.jetpack.modules.items,[t,"options",s,"enum_labels"],!1)}function u(e){return e.jetpack.modules.items}function m(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].activated))}function h(e,t){return(0,a.get)(e.jetpack.modules.items,t,{})}function g(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_connection))}function k(e){return Object.keys(e.jetpack.modules.items).filter((t=>e.jetpack.modules.items[t].requires_user_connection))}function f(e,t=[]){const s=Object.keys(u(e));return 0<(0,a.intersection)(s,t).length}function v(e){return f(e,["carousel","photon","photon-cdn","search","videopress"])}function E(e){return f(e,["protect","sso","vaultpress"])||(0,r.TB)(e,"akismet/akismet.php")}function w(e,t){return!!(0,a.get)(e.jetpack.modules.items,[t,"activated"],!1)}function _(e,t){return(0,a.includes)(Object.keys(e.jetpack.modules.items),t)}function b(e,t){return(0,a.get)(e.jetpack.modules.items,[t,"override"],!1)}},85207:(e,t,s)=>{"use strict";s.d(t,{I:()=>i,b:()=>r});var a=s(835),n=s(51975);const i=(0,a.UY)({duration:(e="yearly",t)=>t.type===n.arb?t.duration:e});function r(e){return e.jetpack.plans.duration}},81886:(e,t,s)=>{"use strict";s(64743)},84884:(e,t,s)=>{"use strict";s.d(t,{T0:()=>a.T0});var a=s(61679);s(81886)},61679:(e,t,s)=>{"use strict";s.d(t,{I6:()=>r,T0:()=>o});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({items:(e={},t)=>t.type===i.i7L?t.products:e,requests:(e={},t)=>{switch(t.type){case i.gat:return(0,a.assign)({},e,{isFetchingProducts:!0});case i.i7L:case i.ikp:return(0,a.assign)({},e,{isFetchingProducts:!1});default:return e}}});function o(e){return!!e.jetpack.products.requests.isFetchingProducts}},34975:(e,t,s)=>{"use strict";s.d(t,{I6:()=>r,K0:()=>o});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({connectUrls:(e={},t)=>t.type===i.R99?(0,a.assign)({},t.initialState.externalServicesConnectUrls):e});function o(e,t){return(0,a.get)(e.jetpack.publicize.connectUrls,t,null)}},93180:(e,t,s)=>{"use strict";s.d(t,{AP:()=>f,Hm:()=>d,J_:()=>p,OC:()=>u,Pq:()=>l,Ti:()=>E,V2:()=>i,fy:()=>h,km:()=>g,s2:()=>v,tR:()=>k,u8:()=>c,x5:()=>r,y5:()=>m});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.qUO}),a.ZP.fetchRecommendationsData().then((t=>{e({type:n.s6x,data:t})})).catch((t=>{e({type:n.z1n,error:t})}))),r=e=>t=>{t({type:n.jbS,data:e})},o=(e,t)=>{const s=t().jetpack.recommendations;return e({type:n.uGk}),a.ZP.saveRecommendationsData(s.data).then((()=>{e({type:n.ogt})})).catch((t=>{e({type:n.HEN,error:t})}))},c=()=>(e,t)=>o(e,t),l=e=>(t,s)=>(t({type:n.XUm,slug:e}),o(t,s)),p=e=>(t,s)=>(t({type:n.y$G,slug:e}),o(t,s)),d=e=>(t,s)=>(t({type:n.nnP,slug:e}),o(t,s)),u=e=>(t,s)=>{t({type:n.x16,step:e});const i=s().jetpack.recommendations;return a.ZP.updateRecommendationsStep(i.step).then((()=>{t({type:n.kO5})})).catch((e=>{t({type:n.i3n,error:e})}))},m=e=>(t,s)=>(t({type:n.CaH,onboardingData:e}),o(t,s)),h=e=>({type:n.WV5,step:e}),g=()=>e=>(e({type:n.Nkq}),a.ZP.fetchRecommendationsProductSuggestions().then((t=>{e({type:n.qYt,productSuggestions:t})})).catch((t=>e({type:n.zDe,error:t})))),k=()=>e=>(e({type:n.IZk}),a.ZP.fetchRecommendationsUpsell().then((t=>{e({type:n.lhN,upsell:t})})).catch((t=>e({type:n.fXf,error:t,upsell:{hide_upsell:!0}})))),f=()=>e=>(e({type:n.wXx}),a.ZP.fetchRecommendationsConditional().then((t=>{e({type:n.qdt,data:t})})).catch((t=>e({type:n.G_D,error:t})))),v=e=>t=>{t({type:n.vyx,feature:e})},E=e=>t=>{t({type:n.JE6,feature:e})}},8722:(e,t,s)=>{"use strict";s.d(t,{$q:()=>n.$q,AP:()=>a.AP,BR:()=>n.BR,CI:()=>n.CI,E3:()=>n.E3,E4:()=>n.E4,El:()=>n.El,F_:()=>n.F_,HZ:()=>n.HZ,Hm:()=>a.Hm,I6:()=>n.I6,J_:()=>a.J_,OC:()=>a.OC,Pq:()=>a.Pq,TK:()=>n.TK,TO:()=>n.TO,Ti:()=>a.Ti,V2:()=>a.V2,VZ:()=>n.VZ,WA:()=>n.WA,WS:()=>n.WS,Xi:()=>n.Xi,YU:()=>n.YU,ZL:()=>n.ZL,at:()=>n.at,b5:()=>n.b5,c1:()=>n.c1,dU:()=>n.dU,dz:()=>n.dz,fo:()=>n.fo,fy:()=>a.fy,i8:()=>n.i8,jn:()=>n.jn,jp:()=>n.jp,km:()=>a.km,mI:()=>n.mI,s2:()=>a.s2,sB:()=>n.sB,tR:()=>a.tR,u8:()=>a.u8,x5:()=>a.x5,y5:()=>a.y5});var a=s(93180),n=s(5954)},76385:(e,t,s)=>{"use strict";s.d(t,{D:()=>r,I:()=>n});var a=s(39398);function n(e){const t=Object.values(a.fq).findIndex((t=>t.includes(e)));return-1===t?null:Object.keys(a.fq)[t]}function i(e){const t=a.rU.indexOf(e);if(-1===t)throw`The onboarding "${e}" is not included in the ONBOARDING_ORDER`;return t}function r(e,t){return i(e)-i(t)}},5954:(e,t,s)=>{"use strict";s.d(t,{$q:()=>S,BR:()=>x,CI:()=>X,E3:()=>A,E4:()=>b,El:()=>k,F_:()=>q,HZ:()=>G,I6:()=>f,TK:()=>ee,TO:()=>W,VZ:()=>j,WA:()=>E,WS:()=>v,Xi:()=>te,YU:()=>J,ZL:()=>C,at:()=>w,b5:()=>_,c1:()=>P,dU:()=>L,dz:()=>Z,fo:()=>z,i8:()=>y,jn:()=>K,jp:()=>Q,mI:()=>$,sB:()=>R});var a=s(59584),n=s(92819),i=s(39398),r=s(835),o=s(51975),c=s(96300),l=s(69508),p=s(69377),d=s(3230),u=s(33002),m=s(61372),h=s(76385);const g=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return(0,n.union)(e,t)},k=e=>(0,n.get)(e.jetpack,["recommendations","productSuggestions"],[]),f=(0,r.UY)({data:(e={},t)=>{switch(t.type){case o.s6x:case o.jbS:for(const[e,s]of Object.entries(t.data)){const a=t.data;if("site-type-business"===e){const e=a["site-type-agency"];a["site-type-agency"]=void 0!==e?e:s,delete a["site-type-business"]}if("site-type-other"===e){const e=a["site-type-personal"];a["site-type-personal"]=void 0!==e?e:s,delete a["site-type-other"]}}return(0,n.assign)({},e,t.data);case o.XUm:{const s=(0,n.mergeWith)({},e,{selectedRecommendations:[t.slug],skippedRecommendations:[],viewedRecommendations:[]},g);return s.skippedRecommendations=(0,n.difference)(e.skippedRecommendations,[t.slug]),s}case o.y$G:{const s=(0,n.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[t.slug],viewedRecommendations:[]},g);return s.selectedRecommendations=(0,n.difference)(e.selectedRecommendations,[t.slug]),s}case o.nnP:return(0,n.mergeWith)({},e,{selectedRecommendations:[],skippedRecommendations:[],viewedRecommendations:[t.slug]},g);case o.CaH:{const{active:s,viewed:a,hasStarted:n,totalSteps:i}=t.onboardingData;return Object.assign({},e,{...void 0!==s?{onboardingActive:s}:{},...void 0!==a?{onboardingViewed:a}:{},...void 0!==n?{onboardingHasStarted:n}:{},...void 0!==i?{onboardingTotalSteps:i}:{}})}default:return e}},requests:(e={},t)=>{switch(t.type){case o.qUO:return(0,n.assign)({},e,{isFetchingRecommendationsData:!0});case o.s6x:return(0,n.assign)({},e,{isRecommendationsDataLoaded:!0,isFetchingRecommendationsData:!1});case o.z1n:return(0,n.assign)({},e,{isFetchingRecommendationsData:!1});case o.Nkq:return(0,n.assign)({},e,{isFetchingRecommendationsProductSuggestions:!0});case o.qYt:case o.zDe:return(0,n.assign)({},e,{isFetchingRecommendationsProductSuggestions:!1});case o.IZk:return(0,n.assign)({},e,{isFetchingRecommendationsUpsell:!0});case o.lhN:case o.fXf:return(0,n.assign)({},e,{isFetchingRecommendationsUpsell:!1});case o.wXx:return(0,n.assign)({},e,{isFetchingRecommendationsConditional:!0});case o.qdt:return(0,n.assign)({},e,{isRecommendationsConditionalLoaded:!0,isFetchingRecommendationsConditional:!1});case o.G_D:return(0,n.assign)({},e,{isFetchingRecommendationsConditional:!1});case o.x16:return(0,n.assign)({},e,{isUpdatingRecommendationsStep:!0});case o.kO5:case o.i3n:return(0,n.assign)({},e,{isUpdatingRecommendationsStep:!1});default:return e}},step:(e="",t)=>t.type===o.x16?t.step:e,upsell:(e={},t)=>{switch(t.type){case o.lhN:case o.fXf:return t.upsell;default:return e}},productSuggestions:(e={},t)=>{switch(t.type){case o.qYt:case o.zDe:return t.productSuggestions;default:return e}},conditional:(e=[],t)=>{switch(t.type){case o.qdt:case o.G_D:return t.data;default:return e}},siteDiscount:(e={},t)=>t.type===o.WV5?{...e,viewed:t.step}:e,installing:(e={},t)=>{switch(t.type){case o.vyx:return Object.values(i.uw).includes(t.feature)?{...e,[t.feature]:!0}:e;case o.JE6:return Object.values(i.uw).includes(t.feature)?{...e,[t.feature]:!1}:e;default:return e}}}),v=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsData,E=e=>!!e.jetpack.recommendations.requests.isRecommendationsDataLoaded,w=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsProductSuggestions,_=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsUpsell,b=e=>!!e.jetpack.recommendations.requests.isFetchingRecommendationsConditional,y=e=>!!e.jetpack.recommendations.requests.isRecommendationsConditionalLoaded,C=e=>!!e.jetpack.recommendations.requests.isUpdatingRecommendationsStep,j=e=>e.jetpack.recommendations.siteDiscount.viewed||"",S=(e,t)=>(0,n.get)(e.jetpack,["recommendations","data",t],!1),N={default:{"setup-wizard-completed":"summary","banner-completed":"agency","not-started":"site-type-question","site-type-question":"agency",agency:"woocommerce","product-suggestions":"woocommerce",woocommerce:"monitor",monitor:"related-posts","related-posts":"newsletter",newsletter:"site-accelerator","site-accelerator":"publicize",publicize:"vaultpress-for-woocommerce","vaultpress-for-woocommerce":"vaultpress-backup","vaultpress-backup":"summary",protect:"summary","anti-spam":"summary",videopress:"summary","backup-plan":"summary",boost:"summary",summary:"summary"},onboarding:{[i.WU]:{welcome__complete:"backup-activated","backup-activated":"scan-activated","scan-activated":"antispam-activated","antispam-activated":"videopress-activated","videopress-activated":"social-advanced-activated","social-advanced-activated":"search-activated","search-activated":"server-credentials","server-credentials":"summary"},[i.Wn]:{welcome__security:"backup-activated","backup-activated":"scan-activated","scan-activated":"antispam-activated","antispam-activated":"monitor",monitor:"site-accelerator","site-accelerator":"server-credentials","server-credentials":"summary"},[i.dL]:{welcome__starter:"backup-activated","backup-activated":"monitor",monitor:"site-accelerator","site-accelerator":"server-credentials","server-credentials":"summary"},[i.sV]:{welcome__backup:"monitor",monitor:"site-accelerator","site-accelerator":"server-credentials","server-credentials":"summary"},[i.DF]:{welcome__antispam:"monitor",monitor:"site-accelerator","site-accelerator":"summary"},[i.Lw]:{welcome__videopress:"monitor",monitor:"site-accelerator","site-accelerator":"related-posts","related-posts":"summary"},[i.NN]:{welcome__search:"related-posts","related-posts":"monitor",monitor:"site-accelerator","site-accelerator":"summary"},[i.UP]:{welcome__scan:"monitor",monitor:"site-accelerator","site-accelerator":"summary"},[i.xG]:{welcome__social_basic:"monitor",monitor:"site-accelerator","site-accelerator":"summary"},[i.GB]:{welcome__social_advanced:"welcome__social_image_generator",welcome__social_image_generator:"monitor",monitor:"site-accelerator","site-accelerator":"summary"},[i.JI]:{welcome__golden_token:"backup-activated","backup-activated":"scan-activated","scan-activated":"server-credentials","server-credentials":"summary"}}},x={"not-started":"#/recommendations/site-type","site-type-question":"#/recommendations/site-type","product-suggestions":"#/recommendations/product-suggestions",agency:"#/recommendations/agency",woocommerce:"#/recommendations/woocommerce",monitor:"#/recommendations/monitor",newsletter:"#/recommendations/newsletter","related-posts":"#/recommendations/related-posts","creative-mail":"#/recommendations/creative-mail","site-accelerator":"#/recommendations/site-accelerator",publicize:"#/recommendations/publicize",protect:"#/recommendations/protect","anti-spam":"#/recommendations/anti-spam",videopress:"#/recommendations/videopress","backup-plan":"#/recommendations/backup-plan",boost:"#/recommendations/boost",summary:"#/recommendations/summary","vaultpress-backup":"#/recommendations/vaultpress-backup","vaultpress-for-woocommerce":"#/recommendations/vaultpress-for-woocommerce",welcome__backup:"#/recommendations/welcome-backup",welcome__complete:"#/recommendations/welcome-complete",welcome__security:"#/recommendations/welcome-security",welcome__starter:"#/recommendations/welcome-starter",welcome__antispam:"#/recommendations/welcome-antispam",welcome__videopress:"#/recommendations/welcome-videopress",welcome__search:"#/recommendations/welcome-search",welcome__scan:"#/recommendations/welcome-scan",welcome__social_basic:"#/recommendations/welcome-social-basic",welcome__social_advanced:"#/recommendations/welcome-social-advanced",welcome__social_image_generator:"#/recommendations/welcome-social-image-generator",welcome__golden_token:"#/recommendations/welcome-golden-token","backup-activated":"#/recommendations/backup-activated","scan-activated":"#/recommendations/scan-activated","unlimited-sharing-activated":"#/recommendations/unlimited-sharing-activated","social-advanced-activated":"#/recommendations/social-advanced-activated","antispam-activated":"#/recommendations/antispam-activated","videopress-activated":"#/recommendations/videopress-activated","search-activated":"#/recommendations/search-activated","server-credentials":"#/recommendations/server-credentials"},T=e=>(0,n.get)(e.jetpack,["recommendations","data"]),A=(e,t)=>{const s=T(e);return s.viewedRecommendations&&s.viewedRecommendations.includes(t)},M=(e,t)=>{const s=T(e);return s.skippedRecommendations&&s.skippedRecommendations.includes(t)},P=(e,t)=>(0,n.get)(e.jetpack,["recommendations","installing"])[t]??!1,Z=(e,t)=>{switch(t){case"boost":return!!(0,m.TB)(e,"jetpack-boost/jetpack-boost.php");case"creative-mail":return!!(0,m.TB)(e,"creative-mail-by-constant-contact/creative-mail-plugin.php");case"monitor":return!!(0,d.$8)(e,"monitor");case"newsletter":return!!(0,d.$8)(e,"subscriptions");case"related-posts":return!!(0,d.$8)(e,"related-posts");case"site-accelerator":return!!(0,d.$8)(e,"photon")&&(0,d.$8)(e,"photon-cdn");case"woocommerce":return!!(0,m.TB)(e,"woocommerce/woocommerce.php");case"protect":return!!(0,m.TB)(e,"jetpack-protect/jetpack-protect.php");case"publicize":return!!(0,d.$8)(e,"publicize");case"videopress-activated":case"videopress":return!!(0,m.TB)(e,"videopress/jetpack-videopress.php");case"antispam-activated":return!!(0,m.TB)(e,"akismet/akismet.php");default:throw`Unknown featureSlug in isFeatureActive() in recommendations/reducer.js: ${t}`}},O=e=>"jetpack_free"===(0,u.UL)(e).product_slug&&!(0,u.b2)(e),R=e=>{if(!O(e))return!1;const t=k(e);return(0,n.isArray)(t)&&!(0,n.isEmpty)(t)},L=e=>{const t=J(e);if(t&&t.active){const{totalSteps:s}=t,a=W(e);return s.length-(s.indexOf(a)+1)}return(0,l.QP)(e)},z=(e,t)=>{switch(t){case"publicize":case"protect":if(!(0,u.VL)(e)&&!(0,u.nE)(e))return a.Etl;break;case"backup-plan":if(!(0,u.b7)(e)&&!(0,a.kdX)((0,u.UL)(e)))return a.tVY;break;case"newsletter":if(!(0,u.pf)(e))return a.PuQ;break;case"anti-spam":if(!(0,m.TB)(e,"akismet/akismet.php")&&!(0,u.IL)(e)&&!(0,a.O$n)((0,u.UL)(e)))return a.shc;break;case"videopress":if(!(0,u.CV)(e,"videopress-1tb-storage")&&!(0,u.CV)(e,"videopress-unlimited-storage"))return a.v_I}return!1},I=(e,t=!1)=>{const s=(0,u.UL)(e).product_slug;return"is-free-plan"===(0,a.scx)(s)&&(0,l.nP)(e)===t},U=(e,t)=>{const s=(e=>(0,n.get)(e.jetpack,["recommendations","conditional"]))(e);return Array.isArray(s)&&s.indexOf(t)>-1},D=(e,t)=>{switch(t){case"setup-wizard-completed":case"banner-completed":case"not-started":return!1;case"site-type-question":case"summary":case"backup-activated":case"scan-activated":case"unlimited-sharing-activated":case"social-advanced-activated":case"search-activated":case"welcome__complete":case"welcome__security":case"welcome__starter":case"welcome__antispam":case"welcome__videopress":case"welcome__search":case"welcome__scan":case"welcome__social_basic":case"welcome__social_advanced":case"welcome__social_image_generator":case"welcome__backup":case"welcome__golden_token":return!0;case"product-suggestions":return R(e);case"vaultpress-backup":return I(e);case"vaultpress-for-woocommerce":return I(e,!0);case"agency":return!!S(e,"site-type-agency");case"woocommerce":return!!S(e,"site-type-store")&&!Z(e,t);case"monitor":return(0,c.it)(e)&&!Z(e,t);case"publicize":case"videopress":case"boost":return U(e,t)&&!Z(e,t);case"protect":return U(e,t)&&!(0,m.TB)(e,"jetpack-protect/jetpack-protect.php");case"anti-spam":case"backup-plan":return U(e,t);case"server-credentials":return"awaiting_credentials"===(0,p.of)(e).state;case"antispam-activated":case"videopress-activated":return Z(e,t);default:return!Z(e,t)}},V=(e,t)=>{const s=(0,n.get)(J(e),"active"),a=(0,n.get)(N,s?`onboarding.${s}`:"default");if(!a)return"summary";let i=a[t]||"summary";for(;!D(e,i);)i=a[i];return i},B=e=>Object.keys((0,n.get)(N,`onboarding.${e}`,{})),F=e=>{const t=(0,l.YJ)(e),s=(0,l.rd)(e),a=J(e);return a&&a.active?a.hasStarted?s:(n=a.active,B(n)[0]):"summary"!==s||A(e,"site-type-question")?t.length>0?t[0]:s:"site-type-question";var n},H=e=>(e=>(0,u.qn)(e).filter((({active:e,subscribed_date:t})=>"1"===e&&i.f6<Date.parse(t))))(e).map((({product_slug:e})=>(0,h.I)(e))).filter((e=>null!==e)),J=e=>{if((0,u._5)(e)||!E(e))return null;const t=H(e),s={active:S(e,"onboardingActive")||null,viewed:(S(e,"onboardingViewed")||[]).filter((e=>t.includes(e))),totalSteps:S(e,"onboardingTotalSteps")||[],hasStarted:S(e,"onboardingHasStarted")||!1},a=t.filter((e=>!s.viewed.includes(e)));if(a.length>0){const t=a.sort(h.D);return{active:t[0],totalSteps:B(t[0]).filter((t=>D(e,t))),viewed:(0,n.union)(s.viewed,t),hasStarted:!1}}return s},q=e=>{const t=J(e);return null!==t&&null!==t.active},W=e=>{const t=(0,n.get)(e.jetpack,["recommendations","step"],""),s=""!==t?t:F(e);return["setup-wizard-completed","banner-completed"].includes(s)?V(e,s):s},G=e=>{const t=J(e);if(!t||!t.active)return null;const{totalSteps:s}=t,a=W(e);return{currentStepIndex:s.indexOf(a),totalSteps:s.length}},$=e=>{const t=W(e),s=V(e,t);return x[s]},K=e=>(0,n.get)(e.jetpack,["recommendations","upsell"],{}),Y=(e,t)=>{switch(t){case"woocommerce":return!0===S(e,"site-type-store");case"agency":return!0===S(e,"site-type-agency");case"monitor":return(0,c.it)(e);case"boost":case"protect":case"videopress":return U(e,t)||Z(e,t);case"publicize":return!(0,u.U)(e)&&!(0,u._i)(e);case"anti-spam":case"backup-plan":return U(e,t);default:return!0}},X=e=>{const t=["woocommerce","monitor","related-posts","creative-mail","newsletter","site-accelerator","protect","publicize","videopress","boost"].filter((t=>Y(e,t))),s=[],a=[];for(const n of t)Z(e,n)||P(e,n)?s.push(n):M(e,n)&&a.push(n);return{selected:s,skipped:a}},Q=e=>["agency","anti-spam","backup-plan"].filter((t=>Y(e,t))),ee=e=>{const t=J(e);return t?t.viewed.filter((t=>((e,t)=>{const s=J(e),a=s?s.viewed:[];if(!a.includes(t))return!1;switch(t){case i.WU:return!0;case i.Lw:case i.NN:case i.Wn:case i.xG:case i.GB:return!a.includes(i.WU);case i.sV:case i.DF:case i.UP:return!a.includes(i.WU)&&!a.includes(i.Wn);default:return!0}})(e,t))).sort(h.D).map((e=>i.XE[e])):[]},te=e=>{const t=(0,u.UL)(e),s=(0,p.of)(e).state;return t.product_slug&&s?O(e)?"upsell":"awaiting_credentials"!==s||(0,u.CV)(e,"scan")?["active","provisioning"].includes(s)?"manage-security":"download-app":"one-click-restores":"loading"}},29171:(e,t,s)=>{"use strict";s.d(t,{Z:()=>T});var a=s(33929),n=s(835),i=s(30569),r=s(13480),o=s(49112),c=s(8183),l=s(34761),p=s(36920),d=s(67953),u=s(32337),m=s(62586),h=s(85207),g=s(61679),k=s(34975),f=s(8722),v=s(5220),E=s(75518),w=s(17647),_=s(11834),b=s(71),y=s(16876),C=s(7628),j=s(11410),S=s(30775),N=s(22948);const x=(0,n.UY)({connection:r.I6,dashboard:i.sI,devCard:o.I6,initialState:l.E3,jetpackNotices:d.I6,modules:m.I6,plans:h.I,pluginsData:b.I6,products:g.I6,publicize:k.I6,recommendations:f.I6,rewind:v.I6,scan:E.I6,search:w.I6,settings:_.I6,siteData:y.I6,siteProducts:C.I6,siteVerify:j.I6,disconnectSurvey:c.I6,trackingSettings:S.I6,licensing:u.I6,waf:N.I6,introOffers:p.I6}),T=(0,n.UY)({globalNotices:a.x,jetpack:x})},15641:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(835),n=s(75385),i=s(29171);const r=(0,a.qC)((0,a.md)(n.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(a.MT)(i.Z)},2653:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.itb}),a.ZP.fetchRewindStatus().then((t=>(e({type:n.DgS,status:t}),t))).catch((t=>{e({type:n.mlz,error:t})})))},69377:(e,t,s)=>{"use strict";s.d(t,{Au:()=>n.A,Li:()=>a.Li,of:()=>a.of});var a=s(5220),n=s(2653)},5220:(e,t,s)=>{"use strict";s.d(t,{I6:()=>o,Li:()=>c,of:()=>l});var a=s(92819),n=s(835),i=s(51975);const r={isFetchingRewindStatus:!1},o=(0,n.UY)({data:(e={},t)=>{switch(t.type){case i.DgS:return(0,a.assign)({},e,{status:t.status});case i.Yk$:return(0,a.assign)({},e,{status:t.rewindState});default:return e}},requests:(e=r,t)=>{switch(t.type){case i.itb:return(0,a.assign)({},e,{isFetchingRewindStatus:!0});case i.DgS:case i.mlz:return(0,a.assign)({},e,{isFetchingRewindStatus:!1});default:return e}}});function c(e){return!!e.jetpack.rewind.requests.isFetchingRewindStatus}function l(e){return(0,a.get)(e.jetpack.rewind,["data","status"],{})}},34758:(e,t,s)=>{"use strict";s.d(t,{e:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.feA}),a.ZP.fetchScanStatus().then((t=>(e({type:n.N9n,status:t}),t))).catch((t=>{e({type:n.vrP,error:t})})))},15080:(e,t,s)=>{"use strict";s.d(t,{C8:()=>a.C8,eR:()=>n.e,gE:()=>a.gE});var a=s(75518),n=s(34758)},75518:(e,t,s)=>{"use strict";s.d(t,{C8:()=>l,I6:()=>o,gE:()=>c});var a=s(92819),n=s(835),i=s(51975);const r={isFetchingScanStatus:!1},o=(0,n.UY)({data:(e={},t)=>{switch(t.type){case i.N9n:return(0,a.assign)({},e,{status:t.status});case i.M0I:return{status:{...e.status,...t.scanState}};default:return e}},requests:(e=r,t)=>{switch(t.type){case i.feA:return(0,a.assign)({},e,{isFetchingScanStatus:!0});case i.N9n:case i.vrP:return(0,a.assign)({},e,{isFetchingScanStatus:!1});default:return e}}});function c(e){return!!e.jetpack.scan.requests.isFetchingScanStatus}function l(e){return(0,a.get)(e.jetpack.scan,["data","status"],{})}},84570:(e,t,s)=>{"use strict";s.d(t,{e:()=>n});var a=s(51975);const n=e=>t=>{t({type:a.FcF,term:e})}},89292:(e,t,s)=>{"use strict";s.d(t,{CX:()=>a.CX,He:()=>a.He,eb:()=>n.e});var a=s(17647),n=s(84570)},17647:(e,t,s)=>{"use strict";s.d(t,{CX:()=>c,He:()=>o,I6:()=>r});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({searchTerm:(e="",t)=>t.type===i.FcF?t.term:e});function o(e){return e.jetpack.search.searchTerm}function c(e,t){const s=(0,a.find)((0,a.get)(e.jetpack,["modules","items"],{}),["module",t]);if(void 0===s)return!1;const n=(0,a.get)(e.jetpack,["search","searchTerm"],!1);return!n||[s.module,s.name,s.description,s.learn_more_button,s.long_description,s.search_terms,s.additional_search_queries,s.short_description,s.feature?s.feature.toString():""].join(" ").toLowerCase().indexOf(n.toLowerCase())>-1}},91952:(e,t,s)=>{"use strict";s.d(t,{VP:()=>u,_1:()=>p,a6:()=>l,wv:()=>d});var a=s(64743),n=s(65736),i=s(41549),r=s(92819),o=s(51975),c=s(50416);const __=n.__,l=()=>({type:o.NsN}),p=()=>({type:o.TIZ}),d=()=>e=>(e({type:o.JAC}),a.ZP.fetchSettings().then((t=>(e({type:o.dSY,settings:t}),t))).catch((t=>{e({type:o.rYo,error:t})}))),u=(e,t={})=>s=>{const l={progress:__("Updating settings…","jetpack"),success:__("Updated settings.","jetpack"),error:e=>(0,n.sprintf)(/* translators: placeholder is an error code or an error message. */
__("Error updating settings. %s","jetpack"),e.message||e.code||e.name||e),...t};"object"==typeof e&&(0,r.some)(["masterbar","jetpack_testimonial","jetpack_portfolio"],(t=>t in e))&&(l.success=__("Updated settings. Refreshing page…","jetpack")),s((0,i.qq)("module-setting-update")),s((0,i.qq)("module-setting-update-success"));const p=["dismiss_empty_stats_card","dismiss_dash_backup_getting_started","dismiss_dash_agencies_learn_more"];return"object"!=typeof e||(0,r.some)(p,(t=>t in e))||s((0,i.iI)("is-info",l.progress,{id:"module-setting-update"})),s({type:o.BX3,updatedOptions:e}),a.ZP.updateSettings(e).then((t=>{s({type:o.FLi,updatedOptions:m(t,e),success:t}),(0,c.DK)(e),(0,c.Uq)(e),s((0,i.qq)("module-setting-update")),s((0,i.qq)("module-setting-update-success")),"object"!=typeof e||(0,r.some)(p,(t=>t in e))||s((0,i.iI)("is-success",l.success,{id:"module-setting-update-success",duration:2e3}))})).catch((t=>{s({type:o.gYU,success:!1,error:t,updatedOptions:e}),s((0,i.qq)("module-setting-update")),s((0,i.iI)("is-error",l.error(t),{id:"module-setting-update"}))}))};function m(e,t){let s=t;return"regenerate"===(0,r.get)(t,"post_by_email_address")&&(s={post_by_email_address:e.post_by_email_address}),s}},3230:(e,t,s)=>{"use strict";s.d(t,{$8:()=>a.$8,Cu:()=>a.Cu,GD:()=>a.GD,Gw:()=>a.Gw,VP:()=>n.VP,_1:()=>n._1,a6:()=>n.a6,g0:()=>a.g0,p0:()=>a.p0,qg:()=>a.qg,wS:()=>a.wS,wv:()=>n.wv});var a=s(11834),n=s(91952)},11834:(e,t,s)=>{"use strict";s.d(t,{$8:()=>l,Cu:()=>p,GD:()=>m,Gw:()=>c,I6:()=>o,g0:()=>h,p0:()=>d,qg:()=>u,wS:()=>g});var a=s(92819),n=s(835),i=s(51975);const r={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},o=(0,n.UY)({items:(e={},t)=>{switch(t.type){case i.R99:return(0,a.assign)({},e,t.initialState.settings);case i.dSY:return(0,a.assign)({},t.settings);case i.jHC:const s=Object.keys(t.updatedOption)[0];return(0,a.assign)({},e,{[s]:t.updatedOption[s]});case i.FLi:return(0,a.assign)({},e,t.updatedOptions);default:return e}},requests:(e=r,t)=>{switch(t.type){case i.JAC:return(0,a.assign)({},e,{fetchingSettingsList:!0});case i.rYo:case i.dSY:return(0,a.assign)({},e,{fetchingSettingsList:!1});case i.q4m:case i.BX3:return(0,a.merge)({},e,{settingsSent:(0,a.mapValues)(t.updatedOptions,(()=>!0))});case i.QFx:case i.jHC:case i.gYU:case i.FLi:return(0,a.merge)({},e,{settingsSent:(0,a.mapValues)(t.updatedOptions,(()=>!1)),updatedSettings:(0,a.mapValues)(t.updatedOptions,(()=>Boolean(t.success)))});default:return e}},unsavedSettingsFlag:(e=!1,t)=>{switch(t.type){case i.NsN:return!0;case i.TIZ:return!1;default:return e}}});function c(e){return e.jetpack.settings.items}function l(e,t,s="",n=!0){if(!n||""===s||(0,a.get)(e.jetpack.settings.items,s,!1))return(0,a.get)(e.jetpack.settings.items,t,void 0)}function p(e,t=""){return"object"==typeof t?(0,a.some)((0,a.filter)(e.jetpack.settings.requests.settingsSent,((e,s)=>(0,a.includes)(t,s))),(e=>e)):e.jetpack.settings.requests.settingsSent[t]}function d(e,t=""){return e.jetpack.settings.requests.updatedSettings[t]}function u(e,t){return!!(0,a.get)(e.jetpack.settings.items,[t],!1)}function m(e){return(0,a.get)(e.jetpack.settings,"unsavedSettingsFlag",!1)}function h(e){return(0,a.get)(e.jetpack.settings.items,"dismiss_empty_stats_card",!1)}function g(e){return(0,a.get)(e.jetpack.settings.items,"dismiss_dash_backup_getting_started",!1)}},58324:(e,t,s)=>{"use strict";s.d(t,{p:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.Ppo}),a.ZP.fetchSiteProducts().then((t=>{e({type:n.QD8,siteProducts:t.data})})).catch((t=>{e({type:n.hzW,error:t})})))},77805:(e,t,s)=>{"use strict";s.d(t,{Ki:()=>a.Ki,aX:()=>a.aX,cR:()=>a.cR,dt:()=>a.dt,gp:()=>a.gp,pW:()=>n.p});var a=s(7628),n=s(58324)},7628:(e,t,s)=>{"use strict";s.d(t,{I6:()=>i,Ki:()=>l,aX:()=>r,cR:()=>p,dt:()=>o,gp:()=>c});var a=s(835),n=s(51975);const i=(0,a.UY)({items:(e={},t)=>t.type===n.QD8?t.siteProducts:e,requests:(e={},t)=>{switch(t.type){case n.Ppo:return{...e,isFetching:!0};case n.QD8:case n.hzW:return{...e,isFetching:!1};default:return e}}});function r(e){return!!e.jetpack.siteProducts.requests.isFetching}function o(e){return e.jetpack.siteProducts.items}function c(e,t){return e.jetpack.siteProducts.items?.[t]}function l(e,t){const s=c(e,t),a=s?.introductory_offer?.cost_per_interval||s?.cost;return Math.ceil(a/12*100)/100}function p(e,t){const s=c(e,t),a=s?.introductory_offer?.cost_per_interval;return"year"===s?.introductory_offer?.interval_unit&&1===s?.introductory_offer?.interval_count&&a?Math.ceil(a/s?.cost*100):0}},163:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c,n:()=>o});var a=s(64743),n=s(65736),i=s(41549),r=s(51975);const __=n.__,o=(e=null)=>t=>(t({type:r.$F1}),a.ZP.fetchVerifySiteGoogleStatus(e).then((e=>{if(e.errors&&e.errors.length>0){const s=Object.keys(e.errors)[0],a=e.errors[s];return t({type:r.b6A,error:{code:s,message:a}}),e}return t({type:r.czi,verified:e.verified,token:e.token,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url}),e})).catch((e=>{t({type:r.b6A,error:e.response})}))),c=e=>t=>(t({type:r.$d8}),a.ZP.verifySiteGoogle(e).then((e=>{if(e.errors&&e.errors.length>0){const s=Object.keys(e.errors)[0],a=e.errors[s];return t({type:r.kms,error:{code:s,message:a}}),e}return t({verified:e.verified,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url,type:r.s9K}),e.verified&&t((0,i.iI)("is-success",__("Site is verified","jetpack"),{id:"verify-site-google-verified",duration:2e3})),e})).catch((e=>{t({type:r.kms,error:e.response})})))},47923:(e,t,s)=>{"use strict";s.d(t,{BH:()=>a.BH,Zn:()=>n.Z,_g:()=>a._g,dO:()=>a.dO,hr:()=>a.hr,n:()=>n.n,nS:()=>a.nS,nZ:()=>a.nZ,ou:()=>a.ou});var a=s(11410),n=s(163)},11410:(e,t,s)=>{"use strict";s.d(t,{BH:()=>c,I6:()=>r,_g:()=>u,dO:()=>m,hr:()=>l,nS:()=>p,nZ:()=>o,ou:()=>d});var a=s(92819),n=s(835),i=s(51975);const r=(0,n.UY)({google:(e={fetching:!1,verifying:!1,verified:!1},t)=>{switch(t.type){case i.$F1:return(0,a.assign)({},e,{fetching:!0});case i.b6A:return(0,a.assign)({},e,{fetching:!1,error:t.error});case i.czi:return(0,a.assign)({},e,{fetching:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,token:t.token,error:null});case i.$d8:return(0,a.assign)({},e,{verifying:!0});case i.s9K:return(0,a.assign)({},e,{verifying:!1,verified:t.verified,isOwner:t.isOwner,searchConsoleUrl:t.searchConsoleUrl,verificationConsoleUrl:t.verificationConsoleUrl,error:null});case i.kms:return(0,a.assign)({},e,{verifying:!1,verified:!1,error:t.error});default:return e}}});function o(e){return(0,a.get)(e,"jetpack.siteVerify.google.fetching",!1)}function c(e){return(0,a.get)(e,"jetpack.siteVerify.google.verifying",!1)}function l(e){return!o(e)&&"no_token_for_user"!==(0,a.get)(e,"jetpack.siteVerify.google.error.code",null)}function p(e){return(0,a.get)(e,"jetpack.siteVerify.google.verified",!1)}function d(e){return(0,a.get)(e,"jetpack.siteVerify.google.error",null)}function u(e){return(0,a.get)(e,"jetpack.siteVerify.google.searchConsoleUrl",null)}function m(e){return(0,a.get)(e,"jetpack.siteVerify.google.isOwner",!1)}},87619:(e,t,s)=>{"use strict";s.d(t,{IO:()=>r,N$:()=>o,Z_:()=>p,ij:()=>c,lA:()=>l,tO:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.rQ4}),a.ZP.fetchSiteData().then((t=>(e({type:n.fHq,siteData:t}),t))).catch((t=>{e({type:n.l94,error:t})}))),r=()=>e=>(e({type:n.Mg3}),a.ZP.fetchSiteBenefits().then((t=>{e({type:n.nDB,siteBenefits:t})})).catch((t=>{e({type:n.rwn,error:t})}))),o=()=>e=>(e({type:n.Tip}),a.ZP.fetchSiteDiscount().then((t=>{e({type:n.lLu,siteDiscount:t})})).catch((t=>{e({type:n.pmE,error:t})}))),c=()=>e=>(e({type:n.VlO}),a.ZP.fetchSiteFeatures().then((t=>(e({type:n.VN$,siteFeatures:t}),t))).catch((t=>{e({type:n.g9Z,error:t})}))),l=()=>e=>(e({type:n.Few}),a.ZP.getPlans().then((t=>(e({type:n.ltp,plans:t}),t))).catch((t=>{e({type:n.Dze,error:t})}))),p=()=>e=>(e({type:n.Abu}),a.ZP.fetchSitePurchases().then((t=>(e({type:n.EpE,purchases:t}),t))).catch((t=>{e({type:n.zOX,error:t})})))},33002:(e,t,s)=>{"use strict";s.d(t,{$l:()=>a.$l,CV:()=>a.CV,GR:()=>a.GR,IL:()=>a.IL,IO:()=>n.IO,N$:()=>n.N$,U:()=>a.U,UL:()=>a.UL,VH:()=>a.VH,VL:()=>a.VL,Vc:()=>a.Vc,Z_:()=>n.Z_,Zd:()=>a.Zd,_5:()=>a._5,_i:()=>a._i,az:()=>a.az,b2:()=>a.b2,b7:()=>a.b7,bl:()=>a.bl,ij:()=>n.ij,lA:()=>n.lA,ms:()=>a.ms,nE:()=>a.nE,nl:()=>a.nl,nq:()=>a.nq,p:()=>a.p,pf:()=>a.pf,qn:()=>a.qn,tO:()=>n.tO,u:()=>a.u});var a=s(16876),n=s(87619)},20213:(e,t,s)=>{"use strict";s.d(t,{s:()=>i});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.QmL}),a.ZP.fetchPluginsData().then((t=>(e({type:n.XPw,pluginsData:t}),t))).catch((t=>{e({type:n.K0Z,error:t})})))},61372:(e,t,s)=>{"use strict";s.d(t,{P8:()=>a.P8,TB:()=>a.TB,bK:()=>a.bK,s4:()=>n.s,vz:()=>a.vz});var a=s(71),n=s(20213)},71:(e,t,s)=>{"use strict";s.d(t,{I6:()=>o,P8:()=>d,TB:()=>p,bK:()=>l,vz:()=>c});var a=s(92819),n=s(835),i=s(51975);const r={isFetchingPluginsData:!1},o=(0,n.UY)({items:(e={},t)=>t.type===i.XPw?(0,a.assign)({},t.pluginsData):e,requests:(e=r,t)=>{switch(t.type){case i.QmL:return(0,a.assign)({},e,{isFetchingPluginsData:!0});case i.K0Z:case i.XPw:return(0,a.assign)({},e,{isFetchingPluginsData:!1});default:return e}}});function c(e){return!!e.jetpack.pluginsData.requests.isFetchingPluginsData}function l(e){return e.jetpack.pluginsData.items}function p(e,t){return e.jetpack.pluginsData.items[t]&&e.jetpack.pluginsData.items[t].active}function d(e,t){return!!e.jetpack.pluginsData.items[t]}},16876:(e,t,s)=>{"use strict";s.d(t,{$l:()=>w,CV:()=>_,GR:()=>h,I6:()=>l,IL:()=>T,U:()=>P,UL:()=>g,VH:()=>k,VL:()=>S,Vc:()=>p,Zd:()=>m,_5:()=>d,_i:()=>N,az:()=>A,b2:()=>j,b7:()=>M,bl:()=>u,ms:()=>E,nE:()=>Z,nl:()=>y,nq:()=>f,p:()=>C,pf:()=>x,qn:()=>b,u:()=>v});var a=s(65736),n=s(59584),i=s(92819),r=s(835),o=s(51975);const __=a.__,c={isFetchingSiteData:!1},l=(0,r.UY)({data:(e={},t)=>{switch(t.type){case o.fHq:return(0,i.assign)({},e,t.siteData);case o.nDB:return(0,i.merge)({},e,{site:{benefits:t.siteBenefits}});case o.lLu:if(t.siteDiscount?.code)return(0,i.merge)({},e,{site:{discount:t.siteDiscount}});case o.arr:return(0,i.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case o.VN$:return(0,i.merge)({},e,{site:{features:t.siteFeatures}});case o.ltp:return(0,i.merge)({},e,{sitePlans:t.plans});case o.EpE:return(0,i.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:(e=c,t)=>{switch(t.type){case o.rQ4:return(0,i.assign)({},e,{isFetchingSiteData:!0});case o.Mg3:return(0,i.assign)({},e,{isFetchingSiteBenefits:!0});case o.Tip:return(0,i.assign)({},e,{isFetchingSiteDiscount:!0});case o.a8A:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!0});case o.VlO:return(0,i.assign)({},e,{isFetchingSiteFeatures:!0});case o.Few:return(0,i.assign)({},e,{isFetchingSitePlans:!0});case o.Abu:return(0,i.assign)({},e,{isFetchingSitePurchases:!0});case o.l94:case o.fHq:return(0,i.assign)({},e,{isFetchingSiteData:!1});case o.rwn:case o.nDB:return(0,i.assign)({},e,{isFetchingSiteBenefits:!1});case o.pmE:case o.lLu:return(0,i.assign)({},e,{isFetchingSiteDiscount:!1});case o.TRY:case o.arr:return(0,i.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case o.g9Z:case o.VN$:return(0,i.assign)({},e,{isFetchingSiteFeatures:!1});case o.Dze:case o.ltp:return(0,i.assign)({},e,{isFetchingSitePlans:!1});case o.zOX:case o.EpE:return(0,i.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:(e={},t)=>{let s,a;if(t.type===o.l94){switch(t.error.name){case"ApiError":s="reconnect",a=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":s="support",a=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:s=null,a=__("There seems to be a problem with your website.","jetpack")}return(0,i.assign)({},e,{message:t.error.hasOwnProperty("response")?t.error.response.message:a,action:s,code:t.error.hasOwnProperty("response")?t.error.response.code:"fetch_site_data_fail_other",data:t.error.hasOwnProperty("response")?t.error.response.data:{}})}return e}});function p(e){return[(0,i.get)(e.jetpack.siteData,["errors"],[])]}function d(e){return!!(e.jetpack.siteData.requests.isFetchingSiteData||e.jetpack.siteData.requests.isFetchingSiteFeatures||e.jetpack.siteData.requests.isFetchingSitePlans||e.jetpack.siteData.requests.isFetchingSitePurchases)}function u(e){return!!e.jetpack.siteData.requests.isFetchingSiteBenefits}function m(e){return!!e.jetpack.siteData.requests.isFetchingSiteDiscount}function h(e){return!!e.jetpack.siteData.requests.isFetchingSitePurchases}function g(e){return(0,i.get)(e.jetpack.siteData,["data","plan"],{})}function k(e){return(0,i.get)(e.jetpack.siteData,["data","options","videopress_storage_used"],null)}function f(e){return(0,i.get)(e.jetpack.siteData,["data","site","benefits"],null)}function v(e){return(0,i.get)(e.jetpack.siteData,["data","site","discount"],{})}function E(e){return(0,i.get)(e.jetpack.siteData,["data","site","features","available"],{})}function w(e){return(0,i.get)(e.jetpack.siteData,["data","site","features","active"],[])}function _(e,t){const s=w(e);return s&&s.indexOf(t)>=0}function b(e){return(0,i.get)(e.jetpack.siteData,["data","sitePurchases"],[])}function y(e){return b(e).filter((e=>"1"===e.active))}function C(e){return y(e).filter((e=>(0,n.yy5)(e.product_slug)))}function j(e){return C(e).length>0}function S(e){return!!function(e){return(0,i.find)(y(e),(e=>(0,n.DMv)(e.product_slug)))}(e)||"is-complete-plan"===(0,n.scx)(g(e).product_slug)}function N(e){return"is-complete-plan"===(0,n.scx)(g(e).product_slug)}function x(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.e8w)(e.product_slug)))}(e)||"is-complete-plan"===(0,n.scx)(g(e).product_slug)}function T(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.ECB)(e.product_slug)))}(e)}function A(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.Mvu)(e.product_slug)))}(e)}function M(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.MC3)(e.product_slug)))}(e)}function P(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.vZK)(e.product_slug)))}(e)}function Z(e){return!!function(e){return(0,i.find)(C(e),(e=>(0,n.SsR)(e.product_slug)))}(e)}},97639:(e,t,s)=>{"use strict";s.d(t,{$:()=>o,X:()=>c});var a=s(64743),n=s(65736),i=s(41549),r=s(51975);const __=n.__,o=()=>e=>(e({type:r.Tad}),a.ZP.fetchUserTrackingSettings().then((t=>(e({type:r.X0m,settings:t}),t))).catch((t=>{e({type:r.YDM,error:t})}))),c=e=>t=>{const s={progress:__("Updating privacy settings…","jetpack"),success:__("Updated privacy settings.","jetpack"),error:e=>(0,n.sprintf)(/* translators: placeholder is an error message. */
__("Error updating privacy settings. %s","jetpack"),e.message||e.code||e.name||e)};return t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-info",s.progress,{id:"tracking-settings-update"})),t({type:r.kK9,updatedSettings:e}),a.ZP.updateUserTrackingSettings(e).then((a=>{t({type:r.TBz,updatedSettings:e,success:a}),t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-success",s.success,{id:"tracking-settings-update-success",duration:2e3}))})).catch((a=>{t({type:r.rAK,updatedSettings:e,success:!1,error:a}),t((0,i.qq)("tracking-settings-update")),t((0,i.qq)("tracking-settings-update-success")),t((0,i.iI)("is-error",s.error(a),{id:"tracking-settings-update"}))}))}},30775:(e,t,s)=>{"use strict";s.d(t,{AO:()=>c,Ak:()=>p,I6:()=>o,ab:()=>l});var a=s(92819),n=s(835),i=s(51975);const r={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},o=(0,n.UY)({items:(e={},t)=>{switch(t.type){case i.X0m:return(0,a.assign)({},e,t.settings);case i.TBz:return(0,a.assign)({},e,t.updatedSettings);default:return e}},requests:(e=r,t)=>{switch(t.type){case i.Tad:return(0,a.assign)({},e,{fetchingTrackingSettings:!0});case i.YDM:case i.X0m:return(0,a.assign)({},e,{fetchingTrackingSettings:!1});case i.kK9:return(0,a.assign)({},e,{updatingTrackingSettings:!0});case i.rAK:case i.TBz:return(0,a.assign)({},e,{updatingTrackingSettings:!1});default:return e}}});function c(e){return e.jetpack.trackingSettings.items}function l(e){return e.jetpack.trackingSettings.requests.fetchingTrackingSettings}function p(e){return e.jetpack.trackingSettings.requests.updatingTrackingSettings}},98159:(e,t,s)=>{"use strict";s.d(t,{Iv:()=>i,NY:()=>o,uy:()=>r});var a=s(64743),n=s(51975);const i=()=>e=>(e({type:n.Y5l}),a.ZP.fetchWafSettings().then((t=>(e({type:n.Oth,settings:t}),t))).catch((t=>{e({type:n.krc,error:t})}))),r=e=>t=>{t({type:n.t6Q,allowList:e})},o=e=>t=>(t({type:n.VB$}),a.ZP.updateWafSettings({jetpack_waf_automatic_rules:e.automaticRulesEnabled,jetpack_waf_ip_list:e.manualRulesEnabled,jetpack_waf_ip_allow_list:e.ipAllowList,jetpack_waf_ip_block_list:e.ipBlockList,jetpack_waf_share_data:e.shareData}).then((e=>(t({type:n.NG6,settings:e}),e))).catch((e=>{throw t({type:n.wvW,error:e}),e})))},22948:(e,t,s)=>{"use strict";s.d(t,{EN:()=>a.EN,I6:()=>a.I6,Iv:()=>n.Iv,uy:()=>n.uy,vd:()=>a.vd});var a=s(86725),n=s(98159)},86725:(e,t,s)=>{"use strict";s.d(t,{EN:()=>u,I6:()=>o,T2:()=>p,Xn:()=>l,_0:()=>d,vd:()=>c});var a=s(92819),n=s(835),i=s(51975);const r={isFetchingWafSettings:!1,isUpdatingWafSettings:!1},o=(0,n.UY)({data:(e={},t)=>{switch(t.type){case i.Oth:case i.NG6:return(0,a.assign)({},e,{bootstrapPath:t.settings?.bootstrap_path,automaticRulesAvailable:Boolean(t.settings?.automatic_rules_available),automaticRulesEnabled:Boolean(t.settings?.jetpack_waf_automatic_rules),manualRulesEnabled:Boolean(t.settings?.jetpack_waf_ip_list),ipAllowList:t.settings?.jetpack_waf_ip_allow_list||"",allowListInputState:void 0===e.allowListInputState?t.settings?.jetpack_waf_ip_allow_list:e.allowListInputState,ipBlockList:t.settings?.jetpack_waf_ip_block_list||"",shareData:Boolean(t.settings?.jetpack_waf_share_data)});case i.t6Q:return(0,a.assign)({},e,{allowListInputState:t.allowList});default:return e}},requests:(e=r,t)=>{switch(t.type){case i.Y5l:return(0,a.assign)({},e,{isFetchingWafSettings:!0});case i.Oth:case i.krc:return(0,a.assign)({},e,{isFetchingWafSettings:!1});case i.VB$:return(0,a.assign)({},e,{isUpdatingWafSettings:!0});case i.NG6:case i.wvW:return(0,a.assign)({},e,{isUpdatingWafSettings:!1});default:return e}}});function c(e){return!!e.jetpack.waf.requests.isFetchingWafSettings}function l(e){return!!e.jetpack.waf.requests.isUpdatingWafSettings}function p(e){return(0,a.get)(e.jetpack.waf,["data"],{})}function d(e){return(0,a.get)(e.jetpack.waf,["data","automaticRulesAvailable"],!1)}function u(e){return(0,a.get)(e.jetpack.waf,["data","allowListInputState"],null)}},81253:(e,t,s)=>{"use strict";s.d(t,{Z:()=>_});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(85799),l=s(66164),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(84069),g=s(99196),k=s.n(g),f=s(59309),v=s(69508),E=s(50416);const __=o.__,w=()=>{h.Z.tracks.recordJetpackClick("blaze-dashboard")};const _=(0,p.u)((0,f.$j)(((e,t)=>({blazeActive:t.getOptionValue("blaze"),blazeDashboardEnabled:(0,v.Cq)(e),blazeModule:(0,E.rT)(e,"blaze"),blazeAvailable:(0,v.WY)(e),isWoASite:(0,v.Pw)(e)})))((function(e){const{blazeActive:t,blazeAvailable:s,blazeModule:{description:a},blazeDashboardEnabled:o,hasConnectedOwner:p,isOfflineMode:h,isSavingAnyOption:g,isUnavailableInOfflineMode:f,isWoASite:v,siteAdminUrl:E,toggleModuleNow:_}=e;if(v)return null;const b=f("blaze");return k().createElement(u.Z,n()({},e,{header:__("Blaze","jetpack"),module:"blaze",hideButton:!0}),k().createElement(m.Z,{module:{module:"blaze"},disableInOfflineMode:!0,disableInSiteConnectionMode:!0,support:{text:a,link:(0,i.Z)("jetpack-support-blaze")}},s?k().createElement(d.T,{slug:"blaze",activated:t,disabled:b||!p,toggling:g("blaze"),toggleModule:_},__("Attract high-quality traffic to your site using Blaze.","jetpack")):k().createElement(r.Z,{disabled:!0,label:__("Blaze is not available on your site.","jetpack")})),s&&t&&p&&!h&&k().createElement(c.Z,n()({compact:!0,className:"jp-settings-card__configure-link",href:o?E+"tools.php?page=advertising":(0,i.Z)("jetpack-blaze"),onClick:w},o?{}:{target:"_blank",rel:"noopener noreferrer"}),__("Manage your campaigns and view your earnings in the Blaze dashboard","jetpack")),s&&!p&&!h&&k().createElement(l.Z,{feature:"blaze",featureLabel:__("Blaze","jetpack"),text:__("Connect to set up campaigns and promote your content.","jetpack")}))})))},55248:(e,t,s)=>{"use strict";s.d(t,{W:()=>k});var a=s(82674),n=s.n(a),i=s(6895),r=s(69307),o=s(65736),c=s(85799),l=s(2353),p=s(93806),d=s(28178),u=s(84069),m=s(59584),h=s(99196),g=s.n(h);const __=o.__,_x=o._x,k=(0,l.u)(class extends h.Component{trackConfigureClick(){u.Z.tracks.recordJetpackClick("configure-ga")}render(){return g().createElement(p.Z,n()({},this.props,{header:_x("Google Analytics","Settings header","jetpack"),feature:m.r2Z,hideButton:!0}),g().createElement(d.Z,{disableInOfflineMode:!0,module:{module:"google-analytics"},support:{text:__("Integrates your WordPress site with Google Analytics, a platform that offers insights into your traffic, visitors, and conversions.","jetpack"),link:(0,i.Z)("jetpack-support-google-analytics")}},(0,r.createInterpolateElement)(__("Google Analytics is a free service that complements <a>Jetpack Stats</a> with different insights into your traffic. Jetpack Stats and Google Analytics use different methods to identify and track activity on your site, so they will normally show slightly different totals for your visits, views, etc.","jetpack"),{a:g().createElement("a",{href:(0,i.Z)("calypso-stats-day",{site:this.props.siteRawUrl})})})),!this.props.isUnavailableInOfflineMode("google-analytics")&&g().createElement(c.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:this.props.configureUrl,target:"_blank"},__("Configure your Google Analytics settings","jetpack")))}})},67889:(e,t,s)=>{"use strict";s.d(t,{Z:()=>j});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(69270),c=s(99196),l=s.n(c),p=s(59309),d=s(96300),u=s(69508),m=s(50416),h=s(89292),g=s(3230),k=s(81253),f=s(55248),v=s(42552),E=s(4531),w=s(71659),_=s(35847),b=s(46077),y=s(75262);const __=r.__;class C extends l().Component{static displayName="TrafficSettings";render(){const e={settings:this.props.settings,siteRawUrl:this.props.siteRawUrl,getModule:this.props.module,isBlockThemeActive:this.props.isBlockThemeActive,isSiteConnected:this.props.isSiteConnected,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner,lastPostUrl:this.props.lastPostUrl,siteAdminUrl:this.props.siteAdminUrl},t=this.props.isModuleFound("seo-tools"),s=this.props.isModuleFound("stats"),a=this.props.isModuleFound("shortlinks"),r=this.props.isModuleFound("related-posts"),c=this.props.isModuleFound("verification-tools"),p=this.props.isModuleFound("sitemaps"),d=this.props.isModuleFound("google-analytics"),u=this.props.isModuleFound("blaze");return(this.props.searchTerm||this.props.active)&&(t||s||a||r||c||p||d||u)?l().createElement("div",null,l().createElement(o.Z,null),l().createElement("h1",{className:"screen-reader-text"},__("Jetpack Traffic Settings","jetpack")),l().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Traffic","jetpack"):__("Maximize your site’s visibility in search engines and view traffic patterns in real time.","jetpack")),r&&l().createElement(v.Z,e),t&&l().createElement(E.ZP,n()({},e,{configureUrl:(0,i.Z)("calypso-marketing-traffic",{site:this.props.blogID??this.props.siteRawUrl,anchor:"seo"})})),s&&l().createElement(_.V,e),d&&l().createElement(f.W,n()({},e,{configureUrl:(0,i.Z)("calypso-marketing-traffic",{site:this.props.blogID??this.props.siteRawUrl,anchor:"analytics"})})),u&&l().createElement(k.Z,e),a&&l().createElement(w.Z,e),p&&l().createElement(b.Z,e),c&&l().createElement(y.W,e)):null}}const j=(0,p.$j)((e=>({module:t=>(0,m.rT)(e,t),settings:(0,g.Gw)(e),isBlockThemeActive:(0,u.$2)(e),isOfflineMode:(0,d.Ex)(e),isUnavailableInOfflineMode:t=>(0,d.t_)(e,t),isModuleFound:t=>(0,h.CX)(e,t),isSiteConnected:(0,d.q7)(e),lastPostUrl:(0,u.Z2)(e),getModuleOverride:t=>(0,m.Qy)(e,t),hasConnectedOwner:(0,d.it)(e),blogID:(0,u.EZ)(e)})))(C)},42552:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(69307),c=s(65736),l=s(85799),p=s(61775),d=s(2353),u=s(5004),m=s(93806),h=s(28178),g=s(84069),k=s(99196),f=s.n(k);const __=c.__,_x=c._x;class v extends f().Component{state={show_headline:this.props.getOptionValue("show_headline","related-posts"),show_thumbnails:this.props.getOptionValue("show_thumbnails","related-posts")};updateOptions=e=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption("related-posts",e))};handleShowHeadlineToggleChange=()=>{this.updateOptions("show_headline")};handleShowThumbnailsToggleChange=()=>{this.updateOptions("show_thumbnails")};trackConfigureClick=()=>{g.Z.tracks.recordJetpackClick("configure-related-posts")};renderConfigureLink(){const{isBlockThemeActive:e,lastPostUrl:t,siteAdminUrl:s}=this.props;return e?f().createElement(l.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:(0,i.Z)("jetpack-support-related-posts",{anchor:"adding-related-posts-block-theme"}),target:"_blank",rel:"noopener noreferrer"},__("Add a Related Posts Block to your site’s template in the site editor","jetpack")):f().createElement(l.Z,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,href:s+"customize.php?autofocus[section]=jetpack_relatedposts&return="+encodeURIComponent(s+"admin.php?page=jetpack#/traffic")+"&url="+encodeURIComponent(t)},__("Configure related posts in the Customizer","jetpack"))}render(){const e=this.props.getOptionValue("related-posts"),t=this.props.isUnavailableInOfflineMode("related-posts");return f().createElement(m.Z,n()({},this.props,{hideButton:!0,module:"related-posts"}),f().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,module:this.props.getModule("related-posts"),support:{text:__("The feature helps visitors find more of your content by displaying related posts at the bottom of each post.","jetpack"),link:(0,i.Z)("jetpack-support-related-posts")}},f().createElement("p",null,(0,o.createInterpolateElement)(__("Keep your visitors engaged with related content at the bottom of each post. These settings won’t apply to <a>related posts added using the block editor</a>.","jetpack"),{a:f().createElement("a",{href:(0,i.Z)("jetpack-support-related-posts"),target:"_blank",rel:"noopener noreferrer"})})),f().createElement(u.T,{slug:"related-posts",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("related-posts"),toggleModule:this.props.toggleModuleNow},f().createElement("span",{className:"jp-form-toggle-explanation"},__("Show related content after posts","jetpack"))),f().createElement(p.C_,null,f().createElement(r.Z,{checked:this.props.getOptionValue("show_headline","related-posts"),disabled:!e||t||this.props.isSavingAnyOption(["related-posts"]),toggling:this.props.isSavingAnyOption(["show_headline"]),onChange:this.handleShowHeadlineToggleChange,label:__("Highlight related content with a heading","jetpack")}),f().createElement(r.Z,{checked:this.props.getOptionValue("show_thumbnails","related-posts"),disabled:!e||t||this.props.isSavingAnyOption(["related-posts"]),toggling:this.props.isSavingAnyOption(["show_thumbnails"]),onChange:this.handleShowThumbnailsToggleChange,label:__("Show a thumbnail image where available","jetpack")}),e&&f().createElement("div",null,f().createElement(p.lX,{className:"jp-form-label-wide"},_x("Preview","A header for a preview area in the configuration screen.","jetpack")),f().createElement(l.Z,{className:"jp-related-posts-preview"},this.state.show_headline&&f().createElement("div",{className:"jp-related-posts-preview__title"},__("Related","jetpack")),[{url:"cat-blog.png",text:__("Big iPhone/iPad Update Now Available","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"devices.jpg",text:__("The WordPress for Android App Gets a Big Facelift","jetpack"),context:_x('In "Mobile"',"It refers to the category where a post was found. Used in an example preview.","jetpack")},{url:"mobile-wedding.jpg",text:__("Upgrade Focus: VideoPress For Weddings","jetpack"),context:_x('In "Upgrade"',"It refers to the category where a post was found. Used in an example preview.","jetpack")}].map(((e,t)=>f().createElement("div",{key:`preview_${t}`,className:"jp-related-posts-preview__item"},this.state.show_thumbnails&&f().createElement("img",{src:`https://jetpackme.files.wordpress.com/2019/03/${e.url}`,alt:e.text}),f().createElement("h4",{className:"jp-related-posts-preview__post-title"},f().createElement("a",{href:"#/traffic"},e.text)),f().createElement("p",{className:"jp-related-posts-preview__post-context"},e.context)))))))),!this.props.isUnavailableInOfflineMode("related-posts")&&e&&this.renderConfigureLink())}}const E=(0,d.u)(v)},4531:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>x});var a=s(82674),n=s.n(a),i=s(6895),r=s(17915),o=s(7558),c=s(43503),l=s(65736),p=s(65235),d=s.n(p),u=s(97506),m=s(30860),h=s(61775),g=s(2353),k=s(5004),f=s(71668),v=s(93806),E=s(28178),w=s(99196),_=s.n(w),b=s(59309),y=s(39897),C=s(61372),j=s(84427);const __=l.__,_x=l._x,_n=l._n,S=[{name:"Yoast SEO",slug:"wordpress-seo/wp-seo.php"},{name:"Yoast SEO Premium",slug:"wordpress-seo-premium/wp-seo-premium.php"},{name:"All In One SEO Pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php"},{name:"All in One SEO Pack Pro",slug:"all-in-one-seo-pack-pro/all_in_one_seo_pack.php"},{name:"SEOPress",slug:"wp-seopress/seopress.php"},{name:"SEOPress Pro",slug:"wp-seopress-pro/seopress-pro.php"},{name:"SEOKEY",slug:"seo-key/seo-key.php"},{name:"SEOKEY Pro",slug:"seo-key-pro/seo-key.php"},{name:"The SEO Framework",slug:"autodescription/autodescription.php"}],N=(0,g.u)(class extends w.Component{constants={frontPageMetaMaxLength:300,frontPageMetaSuggestedLength:159,moduleOptionsArray:["advanced_seo_front_page_description","advanced_seo_title_formats"],siteIconPreviewSize:512};SocialPreviewGoogle=e=>_().createElement(r.X,{siteTitle:e.title,title:e.title,url:e.url,description:e.frontPageMetaDescription});SocialPreviewFacebook=e=>_().createElement(o.g,{title:e.title,url:e.url,type:"website",imageMode:"landscape",description:e.frontPageMetaDescription,image:e.image});SocialPreviewTwitter=e=>_().createElement(c.m,{title:e.title,url:e.url,description:e.frontPageMetaDescription,image:e.image});updateCustomSeoTitleInputState=e=>{this.props.updateFormStateOptionValue("advanced_seo_title_formats",e)};saveButton=e=>{const t=this.props.isSavingAnyOption(this.constants.moduleOptionsArray);return _().createElement(u.Z,{primary:!0,rna:!0,compact:!0,type:"submit",disabled:t||!e.isDirty()},t?_x("Saving…","Button caption","jetpack"):_x("Save settings","Button caption","jetpack",0))};render(){const e=this.props.isOfflineMode,t=this.props.getModule("seo-tools"),s=this.props.getOptionValue(t.module),a=this.props.getOptionValue("advanced_seo_title_formats"),r=this.props.getOptionValue("advanced_seo_front_page_description"),o={title:this.props.siteData.name||"",tagline:this.props.siteData.description||"",url:this.props.siteData.URL||"",frontPageMetaDescription:r||(this.props.siteData.description||""),image:this.props.siteData.icon?.img?`${this.props.siteData.icon.img}?s=${this.constants.siteIconPreviewSize}`:""},c=S.reduce(((e,t)=>((0,C.TB)(this.props.state,t.slug)&&e.push(t),e)),[]),p=c.length>0,u=d()({"jp-seo-front-page-description-count":!0,"jp-seo-front-page-description-count-max":r.length>=this.constants.frontPageMetaMaxLength,"jp-seo-front-page-description-count-warn":r.length>this.constants.frontPageMetaSuggestedLength&&r.length<this.constants.frontPageMetaMaxLength});return _().createElement(v.Z,n()({},this.props,{header:_x("Search engine optimization","Settings header","jetpack"),feature:"seo-tools-jetpack",module:t.module,saveDisabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray),hideButton:p}),_().createElement(E.Z,{disableInOfflineMode:!0,module:{module:"seo-tools"},support:{text:__("Allows you to optimize your site and its content for better results in search engines.","jetpack"),link:(0,i.Z)("jetpack-support-seo-tools")}},p&&_().createElement(f.Z,{showDismiss:!1},(0,l.sprintf)(/* translators: %s is the name of conflicting SEO plugin */
__("Your SEO settings are managed by the following plugin: %s","jetpack"),c[0].name)),_().createElement("p",null,__("Take control of the way search engines represent your site. With Jetpack’s SEO tools you can preview how your content will look on popular search engines and change items like your site name and tagline in seconds.","jetpack")),_().createElement(k.T,{slug:"seo-tools",activated:s,toggling:this.props.isSavingAnyOption(t.module),disabled:this.props.isSavingAnyOption(this.constants.moduleOptionsArray)||p,toggleModule:this.props.toggleModuleNow},__("Customize your SEO settings","jetpack"))),s&&!e&&!(0,C.vz)(this.props.state)&&!p&&_().createElement(_().Fragment,null,_().createElement(m.Z,{header:__("Expand to customize the page title structures of your site.","jetpack"),clickableHeader:!0,className:"jp-seo-custom-titles-card"},_().createElement(E.Z,null,_().createElement("p",null,__("You can set the structure of page titles for different sections of your site. Doing this will change the way your site title is displayed in search engines, social media sites, and browser tabs.","jetpack")),_().createElement(j.ZP,{customSeoTitles:a,updateCustomSeoTitleInputState:this.updateCustomSeoTitleInputState,siteData:o}),_().createElement("div",{className:"jp-seo-custom-titles-save-button"},this.saveButton(this.props)))),_().createElement(m.Z,{header:__("Expand to edit your front page meta description.","jetpack"),clickableHeader:!0,className:"jp-seo-front-page-description-card"},_().createElement(E.Z,null,_().createElement("p",{style:{clear:"both"}},__("Craft a description of your Website: up to 160 characters that will be used in search engine results for your front page, and when your website is shared on social media sites.","jetpack")),_().createElement(h.lX,{htmlFor:"jp-seo-front-page-description"},_().createElement("span",{className:"jp-form-label-wide"},__("Front Page Meta Description","jetpack"))),_().createElement("div",{className:"jp-seo-front-page-description-container"},_().createElement(h.B1,{name:"advanced_seo_front_page_description",id:"jp-seo-front-page-description",className:"jp-form-textarea-wide",maxLength:this.constants.frontPageMetaMaxLength,value:r,onChange:this.props.onOptionChange}),_().createElement("div",{className:u},(0,l.sprintf)(/* translators: placeholder is number of characters */
_n("%d character","%d characters",r.length,"jetpack"),r.length),r.length>=this.constants.frontPageMetaMaxLength&&" - "+__("Maximum characters reached.","jetpack"))),_().createElement("div",{className:"jp-seo-front-page-description-save-button"},this.saveButton(this.props)))),_().createElement(m.Z,{header:__("Expand to preview how the SEO settings will look for your homepage on Google, Facebook, and Twitter.","jetpack"),clickableHeader:!0,className:"jp-seo-social-previews"},_().createElement("div",{className:"jp-seo-social-previews-container"},_().createElement(y.Z,{icon:"google",size:24}),_().createElement("span",{className:"jp-seo-social-previews-label"},__("Google search","jetpack"))),this.SocialPreviewGoogle(o),_().createElement("hr",null),_().createElement("div",{className:"jp-seo-social-previews-container"},_().createElement(y.Z,{icon:"facebook",size:24}),_().createElement("span",{className:"jp-seo-social-previews-label"},__("Facebook","jetpack"))),this.SocialPreviewFacebook(o),_().createElement("hr",null),_().createElement("div",{className:"jp-seo-social-previews-container"},_().createElement(y.Z,{icon:"x",size:24}),_().createElement("span",{className:"jp-seo-social-previews-label"},__("X","jetpack"))),this.SocialPreviewTwitter(o))))}}),x=(0,b.$j)((e=>({siteData:e.jetpack.siteData.data,state:e})))(N)},84427:(e,t,s)=>{"use strict";s.d(t,{ZP:()=>u});var a=s(65736),n=s(97506),i=s(61775),r=s(9494),o=s(99196),c=s.n(o);const __=a.__,l={pageTypes:[{name:"front_page",label:__("Front Page","jetpack")},{name:"posts",label:__("Posts","jetpack")},{name:"pages",label:__("Pages","jetpack")},{name:"groups",label:__("Tags","jetpack")},{name:"archives",label:__("Archives","jetpack")}],insertableTokens:{site_name:__("Site Title","jetpack"),tagline:__("Tagline","jetpack"),post_title:__("Post Title","jetpack"),page_title:__("Page Title","jetpack"),group_title:__("Tag or Category Name","jetpack"),date:__("Date","jetpack"),archive_title:__("Archive Title","jetpack")},tokensAvailablePerPageType:{front_page:["site_name","tagline"],posts:["site_name","tagline","post_title"],pages:["site_name","tagline","page_title"],groups:["site_name","tagline","group_title"],archives:["site_name","tagline","date","archive_title"]}},p=({pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,token:a})=>{const i=(0,o.useCallback)((()=>{const n=t.current;n.focus();const i=`[${a}]`,r=n.refs.textField.selectionStart,o=n.props.value.substring(0,r),c=n.props.value.substring(r,n.props.value.length);s(e,o+i+c)}),[e,t,s,a]);return c().createElement(n.Z,{rna:!0,className:"jp-seo-custom-titles-input-button",compact:!0,onClick:i},l.insertableTokens[a])},d=({pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,value:n,siteData:d})=>c().createElement("div",{className:`jp-seo-custom-titles-input-container-${e.name}`},c().createElement("div",{className:"jp-seo-custom-titles-input-controls"},c().createElement(i.lX,{className:"jp-seo-custom-titles-input-label",htmlFor:`jp-seo-custom-titles-input-${e.name}`},c().createElement("span",{className:"jp-form-label"},e.label)),c().createElement("div",null,((e,t,s)=>l.tokensAvailablePerPageType[e.name].map((a=>"archives"===e.name&&"date"===a?null:c().createElement(p,{pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,token:a,key:a}))))(e,t,s))),c().createElement(r.Z,{id:`jp-seo-custom-titles-input-${e.name}`,className:"jp-seo-custom-titles-input",value:n,onChange:(0,o.useCallback)((t=>s(e,t.target.value)),[s,e]),ref:t}),c().createElement("div",{className:"jp-seo-custom-titles-input-preview"},((e,t,s)=>(l.tokensAvailablePerPageType[e.name].forEach((e=>{switch(e){case"site_name":t=t.replace(/\[site_name\]/g,s.title);break;case"tagline":t=t.replace(/\[tagline\]/g,s.tagline);break;case"post_title":t=t.replace(/\[post_title\]/g,__("Example Title","jetpack"));break;case"page_title":t=t.replace(/\[page_title\]/g,__("Example Title","jetpack"));break;case"group_title":t=t.replace(/\[group_title\]/g,__("Tag","jetpack"));break;case"date":case"archive_title":t=t.replace(/\[archive_title\]|\[date\]/g,__("Example Archive Title/Date","jetpack"))}})),(0,a.sprintf)(/* translators: %s is the preview text for a custom SEO input */
__("Preview: %s","jetpack"),t)))(e,n,d))),u=e=>{const[t]=(0,o.useState)({front_page:c().createRef(),posts:c().createRef(),pages:c().createRef(),groups:c().createRef(),archives:c().createRef()}),s=l.pageTypes.reduce(((t,s)=>{var a;return t[s.name]=(a=e.customSeoTitles[s.name],Array.isArray(a)?a.reduce(((e,t)=>e+("token"===t.type?`[${t.value}]`:t.value)),""):""),t}),{}),a=e.updateCustomSeoTitleInputState,n=(0,o.useCallback)(((e,t)=>{s[e.name]=t;const n=Object.keys(s).reduce(((e,t)=>(e[t]=((e,t)=>e.split(/(\[(?:site_name|tagline|post_title|page_title|group_title|date|archive_title)\])/).filter((e=>{if(e)return e})).map((e=>{let s=null;return Object.keys(l.insertableTokens).map((t=>{e===`[${t}]`&&(s=t)})),s&&l.tokensAvailablePerPageType[t].includes(s)?{type:"token",value:s}:{type:"string",value:e}})))(s[t],t),e)),{});a(n)}),[s,a]);return c().createElement("div",{className:"jp-seo-custom-titles"},l.pageTypes.map((a=>c().createElement(d,{pageType:a,value:s[a.name],handleCustomSeoTitleInput:n,customSeoTitleInputRef:t[a.name],siteData:e.siteData,key:a.name}))))}},71659:(e,t,s)=>{"use strict";s.d(t,{Z:()=>k});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(2353),c=s(5004),l=s(93806),p=s(28178),d=s(99196),u=s.n(d),m=s(59309),h=s(50416);const __=r.__,_x=r._x;class g extends d.Component{render(){const{isSiteConnected:e}=this.props;return u().createElement(l.Z,n()({},this.props,{header:_x("WP.me Shortlinks","Settings header","jetpack"),module:"shortlinks",hideButton:!0}),u().createElement(p.Z,{module:{module:"shortlinks"},support:{text:this.props.shortlinksModule.description,link:(0,i.Z)("jetpack-support-shortlinks")},disableInOfflineMode:!0},u().createElement(c.T,{slug:"shortlinks",disabled:!e,activated:this.props.shortlinksActive,toggling:this.props.isSavingAnyOption("shortlinks"),toggleModule:this.props.toggleModuleNow},__("Generate shortened URLs for simpler sharing.","jetpack"))))}}const k=(0,o.u)((0,m.$j)(((e,t)=>({shortlinksActive:t.getOptionValue("shortlinks"),shortlinksModule:(0,h.rT)(e,"shortlinks")})))(g))},35847:(e,t,s)=>{"use strict";s.d(t,{V:()=>T});var a=s(82674),n=s.n(a),i=s(80800),r=s(6895),o=s(48229),c=s(69307),l=s(65736),p=s(65235),d=s.n(p),u=s(97506),m=s(85799),h=s(30860),g=s(61775),k=s(39224),f=s(2353),v=s(71668),E=s(52099),w=s(93806),_=s(28178),b=s(84069),y=s(92819),C=s(99196),j=s.n(C),S=s(59309),N=s(69508);const __=l.__,_x=l._x;class x extends j().Component{constructor(e){super(e);const t=e.getOptionValue("count_roles","stats"),s=e.getOptionValue("roles","stats");this.state={count_roles:t,roles:s,count_roles_administrator:(0,y.includes)(t,"administrator",!1),count_roles_editor:(0,y.includes)(t,"editor",!1),count_roles_author:(0,y.includes)(t,"author",!1),count_roles_contributor:(0,y.includes)(t,"contributor",!1),count_roles_subscriber:(0,y.includes)(t,"subscriber",!1),roles_administrator:!0,roles_editor:(0,y.includes)(s,"editor",!1),roles_author:(0,y.includes)(s,"author",!1),roles_contributor:(0,y.includes)(s,"contributor",!1),roles_subscriber:(0,y.includes)(s,"subscriber",!1),wpcom_reader_views_enabled:e.getOptionValue("wpcom_reader_views_enabled")},s&&(this.addCustomCountRolesState(t),this.addCustomRolesState(s))}updateOptions=(e,t)=>{let s=this.props.getOptionValue(t,"stats"),a=!1;this.state[`${t}_${e}`]?(0,y.includes)(s,e)&&(s=(0,y.filter)(s,(t=>t!==e))):(0,y.includes)(s,e)||(s.push(e),a=!0),this.setState({[`${t}_${e}`]:!this.state[`${t}_${e}`]},(()=>{this.props.updateOptions({[t]:s})})),b.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:"stats",setting:t,role:e,toggled:a?"on":"off"})};activateStats=()=>{this.props.updateOptions({stats:!0})};trackOpenCard=()=>{b.Z.tracks.recordJetpackClick({target:"foldable-settings-open",feature:"stats"})};handleRoleToggleChange=(e,t)=>()=>this.updateOptions(e,t);addCustomCountRolesState(e){e.forEach((t=>{["administrator","editor","author","subscriber","contributor"].includes(e)||(this.state[`count_roles_${t}`]=(0,y.includes)(e,t,!1))}))}addCustomRolesState(e){e.forEach((t=>{["administrator","editor","author","subscriber","contributor"].includes(t)||(this.state[`roles_${t}`]=(0,y.includes)(e,t,!1))}))}handleStatsOptionToggle(e){return()=>this.props.updateFormStateModuleOption("stats",e)}handleOptionToggle=e=>()=>{const t=!this.props.getOptionValue(e);this.setState({[e]:!this.state[e]},(()=>{this.props.updateOptions({[e]:t})})),b.Z.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:"stats",setting:e,toggled:t?"on":"off"})};render(){const e=this.props.getModule("stats"),t=this.props.getOptionValue("stats"),s=this.props.isUnavailableInOfflineMode("stats"),a=this.props.getSiteRoles(),l=t&&!s&&!this.props.getOptionValue("enable_odyssey_stats");return"inactive"===this.props.getModuleOverride("stats")?j().createElement(k.Z,{moduleName:e.name}):t?j().createElement(w.Z,n()({},this.props,{header:_x("Jetpack Stats","Settings header","jetpack"),hideButton:!0,module:"site-stats"}),j().createElement(h.Z,{onOpen:this.trackOpenCard,header:__("Expand to update settings for how visits are counted and manage who can view this information.","jetpack"),clickableHeader:!0,className:d()("jp-foldable-settings-standalone",{"jp-foldable-settings-disable":s})},j().createElement(_.Z,{disableInOfflineMode:!0,module:e,support:{text:__("Displays information on your site activity, including visitors and popular posts or pages.","jetpack"),link:(0,r.Z)("jetpack-support-wordpress-com-stats")}},!this.props.isWoASite&&j().createElement(j().Fragment,null,l&&j().createElement(v.Z,{className:"jp-stats-odyssey-disabled-notice",showDismiss:!1,status:"is-error",text:__("Not into the new stats? Tell us why so we can make stats better for you.","jetpack")},j().createElement(E.Z,{href:i.x8,external:!0},__("Take a Quick Survey","jetpack"))),j().createElement(g.C_,{className:"jp-stats-odyssey-toggle"},j().createElement(o.Z,{checked:!!this.props.getOptionValue("enable_odyssey_stats"),disabled:!t||s||this.props.isSavingAnyOption(["stats"]),toggling:this.props.isSavingAnyOption(["enable_odyssey_stats"]),onChange:this.handleStatsOptionToggle("enable_odyssey_stats"),label:j().createElement(j().Fragment,null,__("Enable a new Jetpack Stats experience","jetpack"),j().createElement("span",{className:"jp-stats-odyssey-badge"},__("New","jetpack")))}))),j().createElement(g.C_,null,j().createElement(o.Z,{checked:!!this.props.getOptionValue("admin_bar"),disabled:!t||s||this.props.isSavingAnyOption(["stats"]),toggling:this.props.isSavingAnyOption(["admin_bar"]),onChange:this.handleStatsOptionToggle("admin_bar"),label:__("Include a small chart in your admin bar with a 48-hour traffic snapshot","jetpack")})),j().createElement(g.C_,null,j().createElement(g.Gj,null,__("Count logged in page views from","jetpack")),Object.keys(a).map((e=>j().createElement(o.Z,{checked:this.state[`count_roles_${e}`],disabled:!t||s||this.props.isSavingAnyOption(["stats"]),toggling:this.props.isSavingAnyOption([`count_roles_${e}`]),onChange:this.handleRoleToggleChange(e,"count_roles"),key:`count_roles-${e}`,label:a[e].name})))),j().createElement(g.C_,null,j().createElement(g.Gj,null,__("Allow Jetpack Stats to be viewed by","jetpack")),j().createElement(o.Z,{checked:!0,disabled:!0,label:a.administrator.name}),Object.keys(a).map((e=>"administrator"!==e?j().createElement(o.Z,{checked:this.state[`roles_${e}`],disabled:!t||s||this.props.isSavingAnyOption(["stats"]),toggling:this.props.isSavingAnyOption([`roles_${e}`]),onChange:this.handleRoleToggleChange(e,"roles"),key:`roles-${e}`,label:a[e].name}):null))),j().createElement(g.C_,null,j().createElement(g.Gj,null,__("WordPress.com Reader","jetpack")),j().createElement(o.Z,{checked:this.state.wpcom_reader_views_enabled,disabled:!t||s,toggling:this.props.isSavingAnyOption(["wpcom_reader_views_enabled"]),onChange:this.handleOptionToggle("wpcom_reader_views_enabled"),label:__("Show post views for this site.","jetpack")}))))):j().createElement(m.Z,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":"")},j().createElement("div",{className:"jp-at-a-glance__stats-inactive"},j().createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},j().createElement("img",{src:i.hp+"stats.svg",width:"60",height:"60",alt:__("Line chart overlaid on a bar chart","jetpack"),className:"jp-at-a-glance__stats-icon"})),j().createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,c.createInterpolateElement)(__("<Button>Activate Jetpack Stats</Button> to see page views, likes, followers, subscribers, and more! <a>Learn More</a>","jetpack"),{Button:j().createElement(u.Z,{rna:!0,className:"jp-link-button",onClick:this.activateStats}),a:j().createElement("a",{href:(0,r.Z)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})),!this.props.isOfflineMode&&j().createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},j().createElement(u.Z,{rna:!0,onClick:this.activateStats,primary:!0},__("Activate Jetpack Stats","jetpack")))))}}const T=(0,S.$j)((e=>({isWoASite:(0,N.Pw)(e)})))((0,f.u)(x))},46077:(e,t,s)=>{"use strict";s.d(t,{Z:()=>y});var a=s(82674),n=s.n(a),i=s(6895),r=s(55609),o=s(69307),c=s(65736),l=s(65235),p=s.n(l),d=s(64104),u=s(2353),m=s(5004),h=s(93806),g=s(28178),k=s(84069),f=s(92819),v=s(99196),E=s.n(v),w=s(59309),_=s(69508);const __=c.__,_x=c._x;class b extends E().Component{renderSitemapRow=(e,t)=>E().createElement("span",{className:"jp-sitemap-row"},E().createElement(d.Z,{value:e,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack")}),E().createElement(r.ExternalLink,{onClick:()=>k.Z.tracks.recordJetpackClick(t),rel:"noopener noreferrer",href:e}));render(){const e=this.props.getModule("sitemaps"),t=(0,f.get)(e,["extra","sitemap_url"],""),s=(0,f.get)(e,["extra","news_sitemap_url"],""),a=p()({"jp-form-setting-explanation":!0,"is-warning":!this.props.isSiteVisibleToSearchEngines&&this.props.getOptionValue("sitemaps")});return E().createElement(h.Z,n()({},this.props,{module:"sitemaps",hideButton:!0}),E().createElement(g.Z,{hasChild:!0,module:{module:"sitemaps"},support:{link:(0,i.Z)("jetpack-support-sitemaps")}},E().createElement("p",null,__("Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.","jetpack")),E().createElement(m.T,{slug:"sitemaps",compact:!0,activated:this.props.getOptionValue("sitemaps"),toggling:this.props.isSavingAnyOption("sitemaps"),toggleModule:this.props.toggleModuleNow},__("Generate XML sitemaps","jetpack")),this.props.isSiteVisibleToSearchEngines?this.props.getOptionValue("sitemaps")&&E().createElement("p",{className:"jp-form-setting-explanation"},__("Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.","jetpack"),this.renderSitemapRow(t,"sitemap-url-link"),this.renderSitemapRow(s,"sitemap-news-url-link")):E().createElement("p",{className:a},(0,o.createInterpolateElement)(__('Search engines can’t access your site at the moment. If you’d like to make your site accessible, check your <a>Reading settings</a> and switch "Search Engine Visibility" on.',"jetpack"),{a:E().createElement("a",{href:this.props.siteAdminUrl+"options-reading.php"})}))))}}const y=(0,w.$j)((e=>({isSiteVisibleToSearchEngines:(0,_.pI)(e),siteAdminUrl:(0,_.wW)(e)})))((0,u.u)(b))},75262:(e,t,s)=>{"use strict";s.d(t,{W:()=>_});var a=s(82674),n=s.n(a),i=s(6895),r=s(55609),o=s(69307),c=s(65736),l=s(61775),p=s(85733),d=s(2353),u=s(5004),m=s(93806),h=s(28178),g=s(9494),k=s(92819),f=s(99196),v=s.n(f),E=s(19528);const __=c.__;class w extends v().Component{static serviceIds={google:"google-site-verification",bing:"msvalidate.01",pinterest:"p:domain_verify",yandex:"yandex-verification",facebook:"facebook-domain-verification"};getMetaTag(e="",t=""){return t?/^[a-z0-9_-]+$/i.test(t)?(0,k.includes)(t,"<meta")?t:`<meta name="${(0,k.get)(w.serviceIds,e,"")}" content="${t}" />`:t:""}getSiteVerificationValue(e){const t=this.props.getOptionValue(e);return t===this.props.getSettingCurrentValue(e)?this.getMetaTag(e,t):t}render(){const e=this.props.getModule("verification-tools");if("inactive"===this.props.getModuleOverride("verification-tools"))return v().createElement(p.ZP,{title:e.name,icon:"cog",description:(0,c.sprintf)(/* translators: placeholder is a feature name. */
__("%s has been disabled by a site administrator.","jetpack"),e.name)});const t=!!this.props.getOptionValue(e.module);return v().createElement(m.Z,n()({},this.props,{module:e.module,saveDisabled:this.props.isSavingAnyOption(["google","bing","pinterest","yandex","facebook"])}),v().createElement(h.Z,{module:e,support:{text:__("Provides the necessary hidden tags needed to verify your WordPress site with various services.","jetpack"),link:(0,i.Z)("jetpack-support-site-verification-tools")}},v().createElement(u.T,{slug:e.module,activated:t,toggling:this.props.isSavingAnyOption([e.module]),disabled:this.props.isSavingAnyOption([e.module]),toggleModule:this.props.toggleModuleNow},v().createElement("span",{className:"jp-form-toggle-explanation"},__("Verify site ownership with third party services","jetpack"))),v().createElement("p",null,(0,o.createInterpolateElement)(/* translators: placeholders are links to external sites. */
__("Note that <b>verifying your site with these services is not necessary</b> in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the <support>full instructions</support> if you are having trouble. Supported verification services: <google>Google Search Console</google>, <bing>Bing Webmaster Center</bing>, <pinterest>Pinterest Site Verification</pinterest>, <yandex>Yandex.Webmaster</yandex>, and <facebook>Facebook Domain Verification</facebook>.","jetpack"),{b:v().createElement("strong",null),support:v().createElement("a",{href:(0,i.Z)("jetpack-support-site-verification-tools")}),google:v().createElement(r.ExternalLink,{rel:"noopener noreferrer",href:"https://www.google.com/webmasters/tools/"}),bing:v().createElement(r.ExternalLink,{rel:"noopener noreferrer",href:"https://www.bing.com/webmaster/"}),pinterest:v().createElement(r.ExternalLink,{rel:"noopener noreferrer",href:"https://pinterest.com/website/verify/"}),yandex:v().createElement(r.ExternalLink,{rel:"noopener noreferrer",href:"https://webmaster.yandex.com/sites/"}),facebook:v().createElement(r.ExternalLink,{rel:"noopener noreferrer",href:"https://business.facebook.com/settings/"})})),v().createElement(l.C_,null,v().createElement(E.Z,n()({value:this.getSiteVerificationValue("google"),placeholder:this.getMetaTag("google","1234")},this.props,{disabled:this.props.isUpdating("google")||!t})),v().createElement(l.lX,{className:"jp-form-input-with-prefix",key:"verification_service_bing"},v().createElement("span",null,__("Bing:","jetpack")),v().createElement(g.Z,{name:"bing",value:this.getSiteVerificationValue("bing"),placeholder:this.getMetaTag("bing","1234"),className:"code",disabled:this.props.isUpdating("bing")||!t,onChange:this.props.onOptionChange})),v().createElement(l.lX,{className:"jp-form-input-with-prefix",key:"verification_service_pinterest"},v().createElement("span",null,__("Pinterest:","jetpack")),v().createElement(g.Z,{name:"pinterest",value:this.getSiteVerificationValue("pinterest"),placeholder:this.getMetaTag("pinterest","1234"),className:"code",disabled:this.props.isUpdating("pinterest")||!t,onChange:this.props.onOptionChange})),v().createElement(l.lX,{className:"jp-form-input-with-prefix",key:"verification_service_yandex"},v().createElement("span",null,__("Yandex:","jetpack")),v().createElement(g.Z,{name:"yandex",value:this.getSiteVerificationValue("yandex"),placeholder:this.getMetaTag("yandex","1234"),className:"code",disabled:this.props.isUpdating("yandex")||!t,onChange:this.props.onOptionChange})),v().createElement(l.lX,{className:"jp-form-input-with-prefix",key:"verification_service_facebook"},v().createElement("span",null,__("Facebook:","jetpack")),v().createElement(g.Z,{name:"facebook",value:this.getSiteVerificationValue("facebook"),placeholder:this.getMetaTag("facebook","1234"),className:"code",disabled:this.props.isUpdating("facebook")||!t,onChange:this.props.onOptionChange})))))}}const _=(0,d.u)(w)},19528:(e,t,s)=>{"use strict";s.d(t,{Z:()=>y});var a=s(55609),n=s(69307),i=s(65736),r=s(97506),o=s(61775),c=s(41549),l=s(5060),p=s(9494),d=s(84069),u=s(23962),m=s(25162),h=s.n(m),g=s(99196),k=s.n(g),f=s(59309),v=s(69508),E=s(34975),w=s(33002),_=s(47923);const __=i.__;class b extends k().Component{static propTypes={disabled:h().bool};static defaultProps={disabled:!1};state={inputVisible:!1};componentDidMount(){this.props.isCurrentUserLinked&&this.props.checkVerifyStatusGoogle().then((e=>{if(this.props.googleSiteVerificationError&&"unverify-site-error"===this.props.googleSiteVerificationError.code&&this.props.updateOptions({google:""}).then((()=>this.props.checkVerifyStatusGoogle())),e)return!this.props.getOptionValue("google")&&e.token?this.props.updateOptions({google:e.token}):void(!this.props.getOptionValue("google")||e.token||e.verified||this.setState({inputVisible:!0}))}))}checkAndVerifySite(e){this.props.createNotice("is-info",__("Verifying…","jetpack"),{id:"verifying-site-google"}),this.props.checkVerifyStatusGoogle(e).then((e=>{if(e)return e.token!==this.props.value?this.props.updateOptions({google:e.token}):void 0})).then((()=>{this.props.removeNotice("verifying-site-google"),this.props.isSiteVerifiedWithGoogle||this.props.verifySiteGoogle(e).then((()=>{if(this.props.googleSiteVerificationError){const e=this.props.googleSiteVerificationError.message;d.Z.tracks.recordEvent("jetpack_site_verification_google_verify_error",{error_message:e}),this.props.createNotice("is-error",(0,i.sprintf)(/* translators: placeholder is an error message. */
__("Site failed to verify: %s","jetpack"),e),{id:"verify-site-google-error",duration:5e3})}else this.props.isSiteVerifiedWithGoogle&&d.Z.tracks.recordEvent("jetpack_site_verification_google_verify_success")}))}))}handleClickAutoVerify=()=>{this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||(d.Z.tracks.recordEvent("jetpack_site_verification_google_auto_verify_click"),(0,u.Z)(this.props.googleSiteVerificationConnectUrl,(e=>{e&&this.checkAndVerifySite(e)})))};handleClickSetManually=e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)};handleClickEdit=e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_edit_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)};handleClickCancel=e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_cancel_click",{is_owner:this.props.isOwner}),this.props.resetFormStateOption("google"),this.toggleVerifyMethod(e)};quickSave=e=>{d.Z.tracks.recordEvent("jetpack_site_verification_google_manual_verify_save",{is_owner:this.props.isOwner,is_empty:!this.props.value}),this.props.onSubmit(e)};toggleVerifyMethod=()=>{this.setState({inputVisible:!this.state.inputVisible})};handleOnTextInputKeyPress=e=>{"Enter"===e.key&&this.quickSave()};render(){const e=this.props.googleSiteVerificationError&&"forbidden"===this.props.googleSiteVerificationError.code;if(this.state.inputVisible||e||!this.props.isCurrentUserLinked)return k().createElement("div",null,k().createElement(o.lX,{className:"jp-form-input-with-prefix",key:"verification_service_google"},k().createElement("span",null,__("Google","jetpack")),k().createElement(p.Z,{name:"google",value:this.props.value,placeholder:this.props.placeholder,className:"code",disabled:this.props.disabled,onChange:this.props.onOptionChange,onKeyPress:this.handleOnTextInputKeyPress}),this.state.inputVisible&&k().createElement("div",{className:"jp-form-site-verification-buttons"},k().createElement(r.Z,{primary:!0,rna:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.quickSave},__("Save","jetpack")),k().createElement(r.Z,{rna:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.handleClickCancel},__("Cancel","jetpack")))));if(this.props.isSiteVerifiedWithGoogle)return k().createElement("div",null,k().createElement("div",{className:"jp-form-input-with-prefix",key:"verification_service_google"},k().createElement("span",null,__("Google","jetpack")),k().createElement("div",{className:"jp-form-site-verification-verified"},k().createElement(l.Z,{icon:"checkmark-circle",size:20})," ",k().createElement("span",null,__("Your site is verified with Google","jetpack"))),k().createElement(r.Z,{rna:!0,type:"button",className:"jp-form-site-verification-edit-button",onClick:this.handleClickEdit},__("Edit","jetpack"))),this.props.isOwner&&k().createElement("div",{className:"jp-form-input-with-prefix-bottom-message"},k().createElement("div",{className:"jp-form-setting-explanation"},k().createElement("p",null,(0,n.createInterpolateElement)(__("Monitor your site's traffic and performance from the <a>Google Search Console</a>.","jetpack"),{a:k().createElement(a.ExternalLink,{rel:"noopener noreferrer",href:this.props.googleSearchConsoleUrl})})," ",(0,n.createInterpolateElement)(/* translators: placeholders are links to Google support documents. */
__("Google will email about certain events that occur with your site, including indications that your website has been <a1>hacked</a1>, or problems <a2>crawling or indexing</a2> your site.","jetpack"),{a1:k().createElement(a.ExternalLink,{rel:"noopener noreferrer",href:"https://developers.google.com/web/fundamentals/security/hacked/"}),a2:k().createElement(a.ExternalLink,{rel:"noopener noreferrer",href:"https://www.google.com/insidesearch/howsearchworks/crawling-indexing.html"})})))));const t=this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||this.props.isVerifyingGoogleSite||this.props.disabled;return k().createElement("div",{className:"jp-form-input-with-prefix jp-form-google-label-unverified",key:"verification_service_google"},k().createElement("span",null,__("Google:","jetpack")),k().createElement("div",{className:"jp-form-google-label-unverified-actions"},(0,n.createInterpolateElement)(__("<button1>Auto verify with Google</button1><span>or</span><button2>Manually verify with Google</button2>","jetpack"),{button1:k().createElement(r.Z,{primary:!0,rna:!0,type:"button",disabled:t,onClick:this.handleClickAutoVerify}),span:k().createElement("span",{className:"jp-form-google-separator"}),button2:k().createElement(r.Z,{rna:!0,type:"button",disabled:t,onClick:this.handleClickSetManually})})))}}const y=(0,f.$j)((e=>({fetchingSiteData:(0,w._5)(e),googleSiteVerificationConnectUrl:(0,E.K0)(e,"google_site_verification"),googleSearchConsoleUrl:(0,_._g)(e),fetchingGoogleSiteVerify:(0,_.nZ)(e),isConnectedToGoogle:(0,_.hr)(e),isSiteVerifiedWithGoogle:(0,_.nS)(e),isVerifyingGoogleSite:(0,_.BH)(e),userCanManageOptions:(0,v.UF)(e),googleSiteVerificationError:(0,_.ou)(e),isOwner:(0,_.dO)(e)})),{checkVerifyStatusGoogle:_.n,createNotice:c.iI,removeNotice:c.qq,verifySiteGoogle:_.Zn})(b)},3915:(e,t,s)=>{"use strict";function a(e){return t=>{13!==t.which&&32!==t.which||e(t)}}s.d(t,{Z:()=>a})},32633:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(65736),c=s(15773),l=s(61775),p=s(2353),d=s(5004),u=s(93806),m=s(28178),h=s(99196),g=s.n(h),k=s(59309),f=s(50416),v=s(89292);const __=o.__,_x=o._x;class E extends g().Component{updateFormStateByMarkdown=e=>this.props.getSettingCurrentValue("wpcom_publish_comments_with_markdown",e)?this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown"):this.props.updateFormStateModuleOption(e,"wpcom_publish_posts_with_markdown",!0);toggleBlocks=()=>{const e=!this.props.getSettingCurrentValue("jetpack_blocks_disabled");return this.props.updateOptions({jetpack_blocks_disabled:e})};render(){const e=this.props.isModuleFound("copy-post"),t=this.props.isModuleFound("latex"),s=this.props.isModuleFound("markdown"),a=this.props.isModuleFound("shortcodes"),o=this.props.isModuleFound("blocks");if(!(e||t||s||a||o))return null;const p=this.props.module("markdown"),h=this.props.module("latex"),k=this.props.module("copy-post"),f=this.props.module("shortcodes"),v=this.props.module("blocks"),E=g().createElement(m.Z,{module:k,support:{text:__("Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.","jetpack"),link:(0,i.Z)("jetpack-support-copy-post")}},g().createElement(l.C_,null,g().createElement(d.T,{slug:"copy-post",activated:!!this.props.getOptionValue("copy-post"),toggling:this.props.isSavingAnyOption("copy-post"),toggleModule:this.props.toggleModuleNow},g().createElement("span",{className:"jp-form-toggle-explanation"},k.description)))),w=g().createElement(m.Z,{module:p,support:{text:__("Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.","jetpack"),link:(0,i.Z)("jetpack-support-markdown")}},g().createElement(l.C_,null,g().createElement(d.T,{slug:"markdown",activated:!!this.props.getOptionValue("wpcom_publish_posts_with_markdown","markdown"),toggling:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),toggleModule:this.updateFormStateByMarkdown},g().createElement("span",{className:"jp-form-toggle-explanation"},p.description)))),_=g().createElement(m.Z,{module:h,support:{text:__("LaTeX is a powerful markup language for writing complex mathematical equations and formulas.","jetpack"),link:(0,i.Z)("jetpack-support-beautiful-math-with-latex")}},g().createElement(l.C_,null,g().createElement(d.T,{slug:"latex",activated:!!this.props.getOptionValue("latex"),toggling:this.props.isSavingAnyOption(["latex"]),toggleModule:this.props.toggleModuleNow},g().createElement("span",{className:"jp-form-toggle-explanation"},h.description)))),b=g().createElement(m.Z,{module:f,support:{text:f.description,link:(0,i.Z)("jetpack-support-shortcode-embeds")}},g().createElement(l.C_,null,g().createElement(d.T,{slug:"shortcodes",activated:!!this.props.getOptionValue("shortcodes"),toggling:this.props.isSavingAnyOption(["shortcodes"]),toggleModule:this.props.toggleModuleNow},g().createElement("span",{className:"jp-form-toggle-explanation"},__("Compose using shortcodes to embed media from popular sites","jetpack"))))),y=g().createElement(g().Fragment,null,g().createElement(m.Z,{module:v,support:{text:__("Jetpack includes some blocks which can help you create your pages exactly the way you want them.","jetpack"),link:(0,i.Z)("jetpack-support-blocks")}},g().createElement(l.C_,null,g().createElement(r.Z,{checked:!this.props.getOptionValue("jetpack_blocks_disabled"),toggling:this.props.isSavingAnyOption(["jetpack_blocks_disabled"]),onChange:this.toggleBlocks,label:g().createElement(g().Fragment,null,g().createElement("span",{className:"jp-form-toggle-explanation"},__("Jetpack Blocks give you the power to deliver quality content that hooks website visitors without needing to hire a developer or learn a single line of code.","jetpack")),!this.props.getOptionValue("jetpack_blocks_disabled")&&g().createElement("span",{className:"jp-form-setting-explanation"},__("Caution: if there are Jetpack blocks used in existing posts or pages, disabling this setting will cause those blocks to stop working.","jetpack")))}))),g().createElement(c.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php`},__("Discover Jetpack tools in the block editor","jetpack")));return g().createElement(u.Z,n()({},this.props,{header:_x("Composing","Settings header","jetpack"),module:"composing",saveDisabled:this.props.isSavingAnyOption("ignored_phrases")}),e&&E,s&&w,t&&_,a&&b,o&&y)}}const w=(0,k.$j)((e=>({module:t=>(0,f.rT)(e,t),isModuleFound:t=>(0,v.CX)(e,t)})))((0,p.u)(E))},44312:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var a=s(82674),n=s.n(a),i=s(6895),r=s(48229),o=s(69307),c=s(65736),l=s(15773),p=s(2353),d=s(93806),u=s(28178),m=s(99196),h=s.n(m),g=s(59309),k=s(50416),f=s(89292);const __=c.__;class v extends h().Component{state={testimonial:this.props.getOptionValue("jetpack_testimonial","custom-content-types"),portfolio:this.props.getOptionValue("jetpack_portfolio","custom-content-types")};updateCPTs=e=>{const t="testimonial"===e?!(!this.state.testimonial||this.state.portfolio):!(!this.state.portfolio||this.state.testimonial);this.props.updateFormStateModuleOption("custom-content-types","jetpack_"+e,t),this.setState({[e]:!this.state[e]})};linkIfActiveCPT=e=>this.props.getSettingCurrentValue(`jetpack_${e}`,"custom-content-types")?h().createElement("a",{href:`${this.props.siteAdminUrl}edit.php?post_type=jetpack-${e}`}):h().createElement("span",null);handleTestimonialToggleChange=()=>{this.updateCPTs("testimonial")};handlePortfolioToggleChange=()=>{this.updateCPTs("portfolio")};render(){if(!this.props.isModuleFound("custom-content-types"))return null;const e=this.props.module("custom-content-types"),t="inactive"===this.props.getModuleOverride("custom-content-types"),s=t&&__("This feature has been disabled by a site administrator.","jetpack");return h().createElement(d.Z,n()({},this.props,{module:"custom-content-types",hideButton:!0}),h().createElement(u.Z,{hasChild:!0,module:e,support:{link:(0,i.Z)("jetpack-support-custom-content-types")}},h().createElement("p",null,(0,o.createInterpolateElement)(__("Add <testimonialLink>testimonials</testimonialLink> to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.","jetpack"),{testimonialLink:this.linkIfActiveCPT("testimonial")})),h().createElement(r.Z,{checked:this.props.getOptionValue("jetpack_testimonial","custom-content-types"),disabled:t,toggling:this.props.isSavingAnyOption("jetpack_testimonial"),onChange:this.handleTestimonialToggleChange,disabledReason:s,label:__("Testimonials","jetpack"),help:h().createElement("span",{className:"jp-form-setting-explanation jp-form-shortcode-setting-explanation"},__("Testimonials shortcode: [testimonials]","jetpack"))})),this.props.testimonialActive&&h().createElement(l.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-testimonial`},__("Add a testimonial","jetpack")),h().createElement(u.Z,{hasChild:!0,module:e,support:{link:(0,i.Z)("jetpack-support-custom-content-types")}},h().createElement("p",null,(0,o.createInterpolateElement)(__("Use <portfolioLink>portfolios</portfolioLink> on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.","jetpack"),{portfolioLink:this.linkIfActiveCPT("portfolio")})),h().createElement(r.Z,{checked:this.props.getOptionValue("jetpack_portfolio","custom-content-types"),disabled:t,toggling:this.props.isSavingAnyOption("jetpack_portfolio"),onChange:this.handlePortfolioToggleChange,disabledReason:s,label:__("Portfolios","jetpack"),help:h().createElement("span",{className:"jp-form-setting-explanation jp-form-shortcode-setting-explanation"},__("Portfolios shortcode: [portfolio]","jetpack"))})),this.props.portfolioActive&&h().createElement(l.Z,{className:"jp-settings-card__configure-link",href:`${this.props.siteAdminUrl}post-new.php?post_type=jetpack-portfolio`},__("Add a portfolio item","jetpack")))}}const E=(0,p.u)((0,g.$j)(((e,t)=>({module:t=>(0,k.rT)(e,t),isModuleFound:t=>(0,f.CX)(e,t),getModuleOverride:t=>(0,k.Qy)(e,t),portfolioActive:t.getSettingCurrentValue("jetpack_portfolio","custom-content-types"),testimonialActive:t.getSettingCurrentValue("jetpack_testimonial","custom-content-types")})))(v))},34358:(e,t,s)=>{"use strict";s.d(t,{Z:()=>w});var a=s(6895),n=s(55609),i=s(69307),r=s(65736),o=s(97506),c=s(61775),l=s(2353),p=s(5004),d=s(28178),u=s(84069),m=s(99196),h=s.n(m),g=s(59309),k=s(69508),f=s(50416);const __=r.__,v=()=>{u.Z.tracks.recordJetpackClick({target:"visit-global-styles",feature:"custom-css",extra:"not-supported-link"})},E=()=>{u.Z.tracks.recordJetpackClick({target:"visit-customizer",feature:"custom-css",extra:"not-supported-link"})};const w=(0,l.u)((0,g.$j)(((e,t)=>({customCssActive:t.getOptionValue("custom-css"),customCssModule:(0,f.rT)(e,"custom-css"),isBlockThemeActive:(0,k.$2)(e),siteAdminUrl:(0,k.wW)(e)})))((function(e){const{customCssActive:t,customCssModule:{name:s,description:r,module:l},isBlockThemeActive:u,isSavingAnyOption:m,siteAdminUrl:g,toggleModuleNow:k}=e;return h().createElement(d.Z,{module:{module:l},support:u?{}:{text:r,link:(0,a.Z)("jetpack-support-custom-css")}},h().createElement(c.Gj,{className:"jp-form-label-wide"},s),u&&h().createElement("div",{className:"jp-custom-css-site-editor"},h().createElement("div",{className:"jp-custom-css-site-editor__text"},(0,i.createInterpolateElement)(__("Your site has a block theme that allows you to apply custom CSS from the Site Editor. <a>Learn more.</a>","jetpack"),{a:h().createElement(n.ExternalLink,{href:"https://wordpress.org/documentation/article/styles-overview/#applying-custom-css",title:__("Customize every aspect of your site with the Site Editor.","jetpack")})})),!t&&h().createElement("div",{className:"jp-custom-css-site-editor__button"},h().createElement(o.Z,{rna:!0,onClick:v,href:`${g}site-editor.php?path=%2Fwp_global_styles&canvas=edit`,primary:!0},__("Use Site Editor","jetpack")))),!u&&h().createElement("div",null,(0,i.createInterpolateElement)(__("Additional CSS can be added from the Customizer. Enable the enhanced Custom CSS feature below to add additional features. <a>Access the Customizer here.</a>","jetpack"),{a:h().createElement("a",{onClick:E,href:`${g}customize.php?autofocus%5Bsection%5D=custom_css`,title:__("Edit and add CSS directly on your site from the Customizer.","jetpack")})})),u&&!t?null:h().createElement(p.T,{className:"jp-custom-css__module-toggle",slug:"custom-css",activated:!!t,toggling:m(["custom-css"]),disabled:m(["custom-css"]),toggleModule:k},h().createElement("span",{className:"jp-form-toggle-explanation"},__("Enhance CSS customization panel","jetpack"))))})))},51421:(e,t,s)=>{"use strict";s.d(t,{Z:()=>C});var a=s(82674),n=s.n(a),i=s(65736),r=s(85799),o=s(69270),c=s(99196),l=s.n(c),p=s(59309),d=s(96300),u=s(69508),m=s(50416),h=s(89292),g=s(3230),k=s(32633),f=s(44312),v=s(56720),E=s(99414),w=s(43756),_=s(89544),b=s(11138);const __=i.__;class y extends l().Component{static displayName="WritingSettings";render(){const e={settings:this.props.settings,getModule:this.props.module,isOfflineMode:this.props.isOfflineMode,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isLinked:this.props.isLinked,getModuleOverride:this.props.getModuleOverride},t=["carousel","copy-post","custom-css","latex","masterbar","markdown","shortcodes","custom-content-types","post-by-email","infinite-scroll","widgets","widget-visibility","blocks"].some(this.props.isModuleFound);if(!this.props.searchTerm&&!this.props.active)return null;if(!t)return null;const s=this.props.userCanManageModules||this.props.userCanEditPosts,a=this.props.userCanManageModules||this.props.userCanEditPosts&&this.props.isModuleActivated("post-by-email");return l().createElement("div",null,l().createElement(o.Z,null),l().createElement("h1",{className:"screen-reader-text"},__("Jetpack Writing Settings","jetpack")),l().createElement("h2",{className:"jp-settings__section-title"},this.props.searchTerm?__("Writing","jetpack"):__("Compose content the way you want to and streamline your publishing experience.","jetpack")),this.props.isModuleFound("carousel")&&l().createElement(b.Z,e),s&&l().createElement(k.Z,n()({},e,{userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("custom-content-types")&&l().createElement(f.Z,e),l().createElement(w.Z,e),l().createElement(_.Z,e),this.props.isModuleFound("post-by-email")&&a&&l().createElement(E.Z,n()({},e,{connectUrl:this.props.connectUrl,isLinked:this.props.isLinked,userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound("masterbar")&&!this.props.masterbarIsAlwaysActive&&l().createElement(v.S,n()({connectUrl:this.props.connectUrl},e)),!s&&!a&&l().createElement(r.Z,null,__("Writing tools available to you will be shown here when an administrator enables them.","jetpack")))}}const C=(0,p.$j)((e=>({module:t=>(0,m.rT)(e,t),settings:(0,g.Gw)(e),masterbarIsAlwaysActive:(0,u.Ug)(e),isOfflineMode:(0,d.Ex)(e),isUnavailableInOfflineMode:t=>(0,d.t_)(e,t),userCanEditPosts:(0,u.rp)(e),isModuleActivated:t=>(0,m.mp)(e,t),isLinked:(0,d.BU)(e),userCanManageModules:(0,u.pK)(e),isModuleFound:t=>(0,h.CX)(e,t),connectUrl:(0,d.AM)(e),getModuleOverride:t=>(0,m.Qy)(e,t)})))(y)},56720:(e,t,s)=>{"use strict";s.d(t,{S:()=>h});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(66164),c=s(2353),l=s(5004),p=s(93806),d=s(28178),u=s(99196),m=s.n(u);const __=r.__,_x=r._x,h=(0,c.u)(class extends u.Component{render(){const e=this.props.getOptionValue("masterbar"),t=this.props.isUnavailableInOfflineMode("masterbar");return m().createElement(p.Z,n()({},this.props,{header:_x("WordPress.com toolbar","Settings header","jetpack"),module:"masterbar",hideButton:!0}),m().createElement(d.Z,{disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:{module:"masterbar"},support:{text:__("Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.","jetpack"),link:(0,i.Z)("jetpack-support-masterbar")}},m().createElement("p",null,__("The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.","jetpack")),m().createElement(l.T,{slug:"masterbar",disabled:t,activated:e,toggling:this.props.isSavingAnyOption("masterbar"),toggleModule:this.props.toggleModuleNow},__("Enable the WordPress.com toolbar","jetpack"))),!this.props.isUnavailableInOfflineMode("masterbar")&&!this.props.isLinked&&m().createElement(o.Z,{feature:"masterbar",featureLabel:__("WordPress.com Toolbar","jetpack"),text:__("Connect to enable the WordPress.com toolbar.","jetpack")}))}})},99414:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(97506),c=s(64104),l=s(66164),p=s(61775),d=s(2353),u=s(5004),m=s(93806),h=s(28178),g=s(84069),k=s(99196),f=s.n(k),v=s(59309),E=s(50416),w=s(89292);const __=r.__,_x=r._x;class _ extends f().Component{regeneratePostByEmailAddress=e=>{g.Z.tracks.recordJetpackClick("pbe-regenerage-email"),e.preventDefault(),this.props.regeneratePostByEmailAddress()};address=()=>{const e=this.props.getOptionValue("post_by_email_address");return!1===e||"1"===e||null===e?"":e};render(){if(!this.props.isModuleFound("post-by-email"))return null;const e=this.props.getModule("post-by-email"),t=this.props.getOptionValue("post-by-email"),s=this.props.isUnavailableInOfflineMode("post-by-email")||!this.props.isLinked,a=this.address();return f().createElement(m.Z,n()({},this.props,{module:"post-by-email",hideButton:!0}),f().createElement(h.Z,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:e,support:{text:__("Allows you to publish new posts by sending an email to a special address.","jetpack"),link:(0,i.Z)("jetpack-support-post-by-email")}},f().createElement("p",null,__("Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.","jetpack")),this.props.userCanManageModules?f().createElement(u.T,{slug:"post-by-email",compact:!0,disabled:s,activated:t,toggling:this.props.isSavingAnyOption("post-by-email"),toggleModule:this.props.toggleModuleNow},f().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description)):f().createElement("span",{className:"jp-form-toggle-explanation"},this.props.module("post-by-email").description),f().createElement(p.C_,null,f().createElement(p.lX,null,f().createElement(p.Gj,null,__("Send your new posts to this email address:","jetpack")),f().createElement(c.Z,{value:a,disabled:!t||s,copy:_x("Copy","verb","jetpack"),copied:__("Copied!","jetpack"),prompt:__("Highlight and copy the following text to your clipboard:","jetpack"),rna:!0})),f().createElement(o.Z,{rna:!0,compact:!0,disabled:!t||s,onClick:this.regeneratePostByEmailAddress},a?__("Regenerate address","jetpack"):__("Create address","jetpack",0)))),!this.props.isUnavailableInOfflineMode("post-by-email")&&!this.props.isLinked&&f().createElement(l.Z,{feature:"post-by-email",featureLabel:__("Post by Email","jetpack"),text:__("Connect to enable publishing via email.","jetpack")}))}}const b=(0,v.$j)((e=>({module:t=>(0,E.rT)(e,t),isModuleFound:t=>(0,w.CX)(e,t)})))((0,d.u)(_))},43756:(e,t,s)=>{"use strict";s.d(t,{Z:()=>_});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(61775),c=s(39224),l=s(2353),p=s(93806),d=s(28178),u=s(84069),m=s(99196),h=s.n(m),g=s(59309),k=s(69508),f=s(50416),v=s(89292),E=s(34358);const __=r.__;class w extends h().Component{getInfiniteMode=()=>this.props.getOptionValue("infinite-scroll")?this.props.getOptionValue("infinite_scroll","infinite-scroll")?"infinite_scroll":"infinite_button":"infinite_default";updateInfiniteMode=e=>{this.setState({infinite_mode:e},this.prepareOptionsToUpdate)};prepareOptionsToUpdate=()=>{"infinite_default"===this.state.infinite_mode?this.props.updateFormStateOptionValue("infinite-scroll",!1):"infinite_scroll"!==this.state.infinite_mode&&"infinite_button"!==this.state.infinite_mode||this.props.updateFormStateOptionValue({"infinite-scroll":!0,infinite_scroll:"infinite_scroll"===this.state.infinite_mode})};updateOptions=(e,t)=>{this.setState({[e]:!this.state[e]},this.props.updateFormStateModuleOption(t,e))};trackLearnMoreIS=()=>{u.Z.tracks.recordJetpackClick({target:"learn-more",feature:"infinite-scroll",extra:"not-supported-link"})};state={infinite_mode:this.getInfiniteMode()};handleInfiniteScrollModeChange=e=>()=>this.updateInfiniteMode(e);render(){const e=this.props.isModuleFound("infinite-scroll"),t=this.props.isModuleFound("custom-css");if(!e&&!t)return null;const s=this.props.getModule("infinite-scroll"),a="inactive"===this.props.getModuleOverride("infinite-scroll");return h().createElement(p.Z,n()({},this.props,{header:__("Theme enhancements","jetpack"),hideButton:!e||!this.props.isInfiniteScrollSupported,module:"theme-enhancements"}),a&&h().createElement(c.Z,{moduleName:s.name,compact:!0}),e&&!a&&h().createElement(d.Z,{hasChild:!0,module:{module:s.module},key:`theme_enhancement_${s.module}`,support:{text:__("Loads the next posts automatically when the reader approaches the bottom of the page.","jetpack"),link:(0,i.Z)("jetpack-support-infinite-scroll")}},h().createElement(o.Gj,{className:"jp-form-label-wide"},s.name),h().createElement("p",null,__("Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.","jetpack")),this.props.isInfiniteScrollSupported?[{key:"infinite_default",label:__("Load more posts using the default theme behavior","jetpack")},{key:"infinite_button",label:__("Load more posts in page with a button","jetpack")},{key:"infinite_scroll",label:__("Load more posts as the reader scrolls down","jetpack")}].map((e=>h().createElement(o.lX,{key:`${s.module}_${e.key}`},h().createElement("input",{type:"radio",name:"infinite_mode",value:e.key,checked:e.key===this.state.infinite_mode,disabled:this.props.isSavingAnyOption([s.module,e.key]),onChange:this.handleInfiniteScrollModeChange(e.key)}),h().createElement("span",{className:"jp-form-toggle-explanation"},e.label)))):h().createElement("span",null,__("Theme support required.","jetpack")+" ",h().createElement("a",{onClick:this.trackLearnMoreIS,href:s.learn_more_button+"#theme",title:__("Learn more about adding support for Infinite Scroll to your theme.","jetpack")},__("Learn more","jetpack")))),t&&h().createElement(E.Z,null))}}const _=(0,g.$j)((e=>({module:t=>(0,f.rT)(e,t),isInfiniteScrollSupported:(0,k.Cv)(e,"infinite-scroll"),isModuleFound:t=>(0,v.CX)(e,t)})))((0,l.u)(w))},89544:(e,t,s)=>{"use strict";s.d(t,{Z:()=>f});var a=s(82674),n=s.n(a),i=s(6895),r=s(65736),o=s(2353),c=s(5004),l=s(93806),p=s(28178),d=s(99196),u=s.n(d),m=s(59309),h=s(50416),g=s(89292);const __=r.__,_x=r._x;class k extends d.Component{render(){const e=this.props.isModuleFound("widgets"),t=this.props.isModuleFound("widget-visibility");return e||t?u().createElement(l.Z,n()({},this.props,{header:_x("Widgets","Settings header","jetpack"),module:"widgets",hideButton:!0}),e&&u().createElement(p.Z,{module:{module:"widgets"},support:{text:this.props.widgetsModule.description,link:(0,i.Z)("jetpack-support-extra-sidebar-widgets")}},u().createElement(c.T,{slug:"widgets",activated:this.props.widgetsActive,toggling:this.props.isSavingAnyOption("widgets"),toggleModule:this.props.toggleModuleNow},__("Make extra widgets available for use on your site including subscription forms and more","jetpack"))),t&&u().createElement(p.Z,{module:{module:"widget-visibility"},support:{text:__("Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.","jetpack"),link:(0,i.Z)("jetpack-support-widget-visibility")}},u().createElement(c.T,{slug:"widget-visibility",activated:this.props.widgetVisibilityActive,toggling:this.props.isSavingAnyOption("widget-visibility"),toggleModule:this.props.toggleModuleNow},__("Enable widget visibility controls to display widgets only on particular posts or pages","jetpack")))):null}}const f=(0,o.u)((0,m.$j)(((e,t)=>({widgetVisibilityActive:t.getOptionValue("widget-visibility"),widgetsActive:t.getOptionValue("widgets"),widgetsModule:(0,h.rT)(e,"widgets"),isModuleFound:t=>(0,g.CX)(e,t)})))(k))},11138:(e,t,s)=>{"use strict";s.d(t,{Z:()=>v});var a=s(82674),n=s.n(a),i=s(48229),r=s(6895),o=s(65736),c=s(61775),l=s(2353),p=s(5004),d=s(93806),u=s(28178),m=s(99196),h=s.n(m),g=s(59309),k=s(50416),f=s(89292);const __=o.__;const v=(0,g.$j)((e=>({module:t=>(0,k.rT)(e,t),isModuleFound:t=>(0,f.CX)(e,t)})))((0,l.u)((function(e){const t=e.isModuleFound("carousel");if(!t)return null;const s=e.getOptionValue("carousel_display_comments","carousel"),a=e.getOptionValue("carousel_display_exif","carousel"),o=e.getOptionValue("carousel"),l=(t,s,a,n)=>h().createElement(i.Z,{checked:t,disabled:!o||e.isSavingAnyOption(["carousel"]),toggling:e.isSavingAnyOption([s]),onChange:a,label:n});return h().createElement(d.Z,n()({},e,{module:"media",header:__("Media","jetpack"),hideButton:!t,saveDisabled:e.isSavingAnyOption("carousel_background_color")}),h().createElement(u.Z,{hasChild:!0,module:{module:"carousel"},support:{link:(0,r.Z)("jetpack-support-carousel")}},h().createElement("p",null,__("Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.","jetpack")),h().createElement(p.T,{slug:"carousel",activated:o,toggling:e.isSavingAnyOption("carousel"),toggleModule:e.toggleModuleNow},h().createElement("span",{className:"jp-form-toggle-explanation"},__("Display images in a full-screen carousel gallery","jetpack"))),h().createElement(c.C_,null,l(a,"carousel_display_exif",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_exif")}),__("Show photo Exif metadata in carousel (when available)","jetpack")),l(s,"carousel_display_comments",(()=>{e.updateFormStateModuleOption("carousel","carousel_display_comments")}),__("Show comments area in carousel","jetpack")),h().createElement(c.C_,null,h().createElement("p",{className:"jp-form-setting-explanation"},__("Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.","jetpack"))),h().createElement(c.lX,null,h().createElement(c.Gj,{className:"jp-form-label-wide"},__("Carousel color scheme","jetpack")),h().createElement(c.ih,n()({name:"carousel_background_color",value:e.getOptionValue("carousel_background_color"),disabled:!o||e.isSavingAnyOption(["carousel","carousel_background_color"])},e,{validValues:e.validValues("carousel_background_color","carousel"),rna:!0}))))))})))},43317:(e,t,s)=>{"use strict";s.d(t,{X:()=>n});const a={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 n(e){return a[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:(e,t,s)=>{"use strict";s.d(t,{LR:()=>r,ZP:()=>i});var a=s(43317),n=s(5375);function i(e,t,s={}){const i=(0,a.X)(t);if(!i||isNaN(e))return null;const{decimal:r,grouping:o,precision:c,symbol:l}={...i,...s},p=e<0?"-":"";let d=(0,n.Z)(Math.abs(e),c,r,o);return s.stripZeros&&(d=function(e,t){const s=new RegExp(`\\${t}0+$`);return e.replace(s,"")}(d,r)),`${p}${l}${d}`}function r(e,t,s={}){const i=(0,a.X)(t);if(!i||isNaN(e))return null;const{decimal:r,grouping:o,precision:c,symbol:l}={...i,...s},p=e<0?"-":"",d=Math.abs(e),u=Math.floor(d);return{sign:p,symbol:l,integer:(0,n.Z)(d,c,r,o).split(r)[0],fraction:c>0?(0,n.Z)(d-u,c,r,o).slice(1):""}}},5375:(e,t,s)=>{"use strict";function a(e,t=0,s=".",a=","){const n=(e+"").replace(/[^0-9+\-Ee.]/g,""),i=isFinite(+n)?+n:0,r=isFinite(+t)?Math.abs(t):0,o=(r?function(e,t){const s=Math.pow(10,t);return""+(Math.round(e*s)/s).toFixed(t)}(i,r):""+Math.round(i)).split(".");return o[0].length>3&&(o[0]=o[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(o[1]||"").length<r&&(o[1]=o[1]||"",o[1]+=new Array(r-o[1].length+1).join("0")),o.join(s)}s.d(t,{Z:()=>a})},7211:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a,n=s(53184);function i(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=>{e.source===this.windowInstance&&this.emit("message",e.data)}}a=i.prototype,Object.assign(a,n.EventEmitter.prototype),a.emitChange=function(){this.emit("change")},a.off=a.removeListener,i.prototype.open=function(e,t,s){return t=t||Date.now(),this.windowInstance=window.open(e,t,s),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},i.prototype.getScreenCenterSpecs=function(e,t){const s=void 0!==window.screenTop?window.screenTop:window.screenY,a=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(s+window.innerHeight/2-t/2),"left="+(a+window.innerWidth/2-e/2)].join()},i.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},i.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},i.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t};const r=i},37580:(e,t,s)=>{"use strict";s.d(t,{FT:()=>a,HX:()=>n,Mf:()=>i});const a="article",n="landscape",i="portrait"},52208:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(30275),n=s(21987),i=s(90626);const r=({text:e,url:t,forceUrlDisplay:s})=>{let r;return(s||(0,n.ge)(e,"a"))&&(r=(0,a.jsx)("a",{className:"facebook-preview__custom-text-post-url",href:t,rel:"nofollow noopener noreferrer",target:"_blank",children:t})),(0,a.jsxs)("p",{className:"facebook-preview__custom-text",children:[(0,a.jsx)("span",{children:(0,n.u_)(e,{platform:"facebook",maxChars:i.qA})}),r]})}},90626:(e,t,s)=>{"use strict";s.d(t,{jN:()=>r,qA:()=>n,wB:()=>o,wy:()=>i});var a=s(21987);const n=440,i=e=>e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),r=e=>(0,a.SL)((0,a.hs)(110),(0,a.KB)(110))((0,a.ju)(e))||"",o=e=>(0,a.SL)((0,a.hs)(200),(0,a.KB)(200))((0,a.ju)(e))||""},53251:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(65736),n=s(99196),i=s(37580);const __=a.__,r=({mode:e})=>{const[t,s]=(0,n.useState)(e),[a,r]=(0,n.useState)(!0),o=(0,n.useCallback)((({target:e})=>{if(!t){const t=e;s(t.naturalWidth>t.naturalHeight?i.HX:i.Mf)}r(!1)}),[t]),c=(0,n.useCallback)((()=>r(!1)),[]);return[t,a,{alt:__("Facebook Preview Thumbnail","jetpack"),onLoad:o,onError:c}]}},26767:(e,t,s)=>{"use strict";s.d(t,{F:()=>l});var a=s(30275),n=s(37580),i=s(52208),r=s(53251),o=s(3451),c=s(69133);const l=({url:e,customImage:t,user:s,customText:l,imageMode:p})=>{const[d,u,m]=(0,r.Z)({mode:p}),h="is-"+(d===n.Mf?"portrait":"landscape");return(0,a.jsxs)("div",{className:"facebook-preview__post",children:[(0,a.jsx)(c.Z,{user:void 0}),(0,a.jsx)("div",{className:"facebook-preview__content",children:(0,a.jsxs)("div",{className:`facebook-preview__window ${h} ${t&&u?"is-loading":""}`,children:[(0,a.jsx)("div",{className:`facebook-preview__custom-image ${h}`,children:(0,a.jsx)("img",{src:t,...m})}),(0,a.jsx)(c.Z,{user:s,timeElapsed:!0,hideOptions:!0}),l&&(0,a.jsx)(i.Z,{text:l,url:e,forceUrlDisplay:!0})]})}),(0,a.jsx)(o.Z,{})]})}},7558:(e,t,s)=>{"use strict";s.d(t,{g:()=>u});var a=s(30275),n=s(65736),i=s(37580),r=s(52208),o=s(90626),c=s(53251),l=s(3451),p=s(69133),d=s(69094);s(59961);const __=n.__,u=({url:e,title:t,description:s,image:n,user:u,customText:m,type:h,imageMode:g,compactDescription:k})=>{const[f,v,E]=(0,c.Z)({mode:g}),w=h===i.FT,_="is-"+(w&&!n||f===i.Mf?"portrait":"landscape");return(0,a.jsxs)("div",{className:"facebook-preview__post",children:[(0,a.jsx)(p.Z,{user:u}),(0,a.jsxs)("div",{className:"facebook-preview__content",children:[m&&(0,a.jsx)(r.Z,{text:m,url:e}),(0,a.jsxs)("div",{className:`facebook-preview__body ${_} ${n&&v?"is-loading":""}`,children:[(n||w)&&(0,a.jsx)("div",{className:`facebook-preview__image ${n?"":"is-empty"} ${_}`,children:n&&(0,a.jsx)("img",{src:n,...E})}),(0,a.jsx)("div",{className:"facebook-preview__text",children:(0,a.jsxs)("div",{className:"facebook-preview__text-wrapper",children:[(0,a.jsx)("div",{className:"facebook-preview__url",children:(0,o.wy)(e)}),(0,a.jsx)("div",{className:"facebook-preview__title",children:(0,o.jN)(t)||(0,o.wy)(e)}),(0,a.jsxs)("div",{className:"facebook-preview__description "+(k?"is-compact":""),children:[s&&(0,o.wB)(s),w&&!s&&
// translators: Default description for a Facebook post
__("Visit the post for more.","jetpack")]}),(0,a.jsx)("div",{className:"facebook-preview__info",children:(0,a.jsx)(d.Z,{name:"info"})})]})})]})]}),(0,a.jsx)(l.Z,{})]})}},34245:(e,t,s)=>{"use strict";s.d(t,{C:()=>l});var a=s(30275),n=s(37580),i=s(52208),r=s(53251),o=s(3451),c=s(69133);s(59961);const l=({url:e,user:t,customText:s,media:l,imageMode:p})=>{const[d]=(0,r.Z)({mode:p}),u="is-"+(d===n.Mf?"portrait":"landscape");return(0,a.jsxs)("div",{className:"facebook-preview__post",children:[(0,a.jsx)(c.Z,{user:t}),(0,a.jsxs)("div",{className:"facebook-preview__content",children:[s&&(0,a.jsx)(i.Z,{text:s,url:e,forceUrlDisplay:!0}),(0,a.jsx)("div",{className:"facebook-preview__body",children:l?(0,a.jsx)("div",{className:`facebook-preview__media ${u}`,children:l.map(((e,t)=>(0,a.jsx)("div",{className:`facebook-preview__media-item ${u}`,children:e.type.startsWith("video/")?(0,a.jsx)("video",{controls:!0,children:(0,a.jsx)("source",{src:e.url,type:e.type})}):(0,a.jsx)("img",{alt:e.alt||"",src:e.url})},`facebook-preview__media-item-${t}`)))}):null})]}),(0,a.jsx)(o.Z,{})]})}},3451:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var a=s(30275),n=s(65736),i=s(69094);s(1488);const __=n.__,r=()=>(0,a.jsx)("ul",{className:"facebook-preview__post-actions",children:[{icon:"like",
// translators: Facebook "Like" action
label:__("Like","jetpack")},{icon:"comment",
// translators: Facebook "Comment" action
label:__("Comment","jetpack")},{icon:"share",
// translators: Facebook "Share" action
label:__("Share","jetpack")}].map((({icon:e,label:t})=>(0,a.jsxs)("li",{children:[(0,a.jsx)(i.Z,{name:e}),(0,a.jsx)("span",{children:t})]},e)))})},69133:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(30275),n=s(65736),i=s(99196),r=s(69094);s(56878);const __=n.__,_x=n._x,o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IB2cksfwAADwtJREFUeJztXet2mzgX3RLg+H5NmsRt0zad6Zp5/6eYtebPvMDX20zaJm4udmwH20jfDyQQQthpgm1gsTuMWgukg7aOzjmSAPLX3/9wlCgs6L4FKLFdlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFRElxwlAQXHCXBBUdJcMFh71uAbYMQsjaf82I/e1c4ggkh4JwrB8DBAQ6I/wEg4j8CQvxr5FE0wgtDMCEEjDF4ngdKKSzLQr1eQ71WxUGlAtu2QamvzYxxrFYruIsFZvMHzGZzeJ4XXEspLQzRhSF4tVrBcRwM+j30um2020049uNub7laYTy+x83tGLd3YyyXS1iWtXWZd4FcE0wI4HkchAAnJy9wfNhHvV6Lnccjw3NwNaR5dmwbg34Xg34Xs9kcP0bXuLwcgXPAsgjyrMy5Jdgnl6Fer+Ht6yHa7RYQOE0hefJcYJOzBQAc9XoN785eYtBt49PXC8xmc1gWzS3JuQyTCCFYrRh6vTb+/PDeJ5f7JPnO0lPKlA6ar+ztdgt/fniPXq+N1Ypt9MazitwRTACsPA+DXge/n7+F49hBRhocEBIqu+PY+P38LQa9Dlaet2EMyCZyR7DHOBq1Gt6fn/ne7hbr4gAopXh/foZGrQaP5W+czh3BlBK8ORvCsixwzreqVUTYdMuy8OZsGIRZeUKuCPY8htOTI3TaLZ/cHdhFOfnRabdwenIEz2NbrzNN5IZgzjmq1QMMT46BR0xBpglZ1/DkGNXqQa4mQXJBMCEEHmM4GvT2FrL4MTHF0aAHj+XHq84FwZxzVBwH/X5X/rIPKQAA/X4XFcfJjRZnnmBCCDzPQ6fdRK1W3ZntNcnBOUetVkWn3YTnebnQ4swTLAltNRuZiEMJ4MuSk5WnzBMMEYs2mnVgx86VDll3o1kHpblouuwTzDlgWzYatfgiwr7QqNVgW3Yu5qczTbA/0cDQaFQzpTGUUjQaVXDOMmE21iE7rWaCmPyvVg/2LUkMfjyMdCbAt4hsEwx/u41jO/7fMzAkShkc2/G3AmUcmScYHLDlilEmGtSXwXbsbIizAdknGBxWBodBX6bsM5wDggGSwVWcLMpkQg4IJmBZML4amNgalHXkgGCAsewt0WVRJhMyTzAhwHK5En/fv8ZIGZbLVdYjJCAPBAMErrvYtxAx+DJln+FME8w5B6UE8/k8Yx4rx3w+B6XZX3DINME+COYPLhZimM4CFssV5g9uqcFpgBDfoRlP7oE9Pw0o6x5P7sEYK21wGvAX/Blub8f7FiXA7e0YnpePbTuZJ5hzDmpZGE+mcF13bwvtcuOB67oYT6agYttu1pF5ggGAEoIH18XV6Fr8sg/N8eu8Gl3jwXVBc6C9yAvBnHPYlOJydI3Vaj/xJyH+I6qXo2vYOXp+OBcEAwChFK67xPcfI2DHzpas6/uPEVx3CZKhzQebkBtJ/UdICL79uMLkfrozWyxt7+R+im8/rsTzwvnQXuSJYB/+FtpPn//d2bZVuW1X1pmH2FdFzggGLMvC/XSOz18vdlbn568XuJ/Oc/lah9wRzDmHbVNcXv3Epy//bXUbD+fApy//4fLqJ2w7P46VitwRjOA5IQvfvl/i4+evQcOnQYBa1sfPX/Ht+6V4VPXZRe8FuX1Hh6/JNr5fjuCtPJydDXFQqQR5v2qf5TWEELiLBT5/ucDo+gaObedScyVySzAEKY5tY3Rzi+lsjuHwGC8O+wG5kpgkstV8ec7l6BoXFz8wd93ck4u8EwypyZYFd7HA/z5+wWh0jRcvBmi3mqg4ztprJamL5RLjyT0uL39iPLkHIQR2TqYiNyH3BEMbXseTKe7GE9TrNTTqdbSaddRqNRxUnMAL9jwP7mKJ+XyOyf0M09kMs9kchNDgCYoikIuiEKyCUgJCbMznLmazOX5e30TeRQlBnjz8ZT8KuwDDsQmFIxjKThBC7IhXzJi0uRApCYgtIrkoKsESOmkmX6uoxErkMg4u8XjkQoP1sEfC/JLR1GuPaX6SPFlEZglWX+wtJ/l9uxo6S7t6MZlqx315GAAOSmnmXySeKYJ1UgkhqFUPUK0eoFaronrg/91x7OCl39veWcGELIwxLJcrPDy4eHBdzOcPeHhwMX9whVOXTbIzRbD/wk+Cg4qDfq+DTqeNWu0gmILcBygAW8TPtSrQbjWDPHexwHzu4u5ujOubO7iLJThnsKzsuDbkr7//2Xt3k8/5tFtNHB0N0O92Yo20adpxV0iSw/MYrm/vcDX6ifHY3+KbhddO7E2D5TcWGGNot1oYnh6h22lHGk5dNNg3sRK6HFJG+Ra8w34Xt3djXHy7wngy2fs3IPZCsL+BzUOl4mB4eoyTFwPFM41ORGQd0Q7p/7vX7aDbaeP75U9cfPuBxWIp1pN3L99eCPY8D91uG+/OXgUvWAnnk/chUTqQsst7OT0+RK/Twscv/+LubgxKd78jZKdGgnPf3g5Pj/HHh/PIm1vzoK2PhRonV6sH+OPDOYanx2CM7VyLd6bBIpLE2zcvcfLiKPitSMTqIIRAfCIEZ6+GqFQcfP5yAQ6ys617W9fgwEkC8Nv5WUAucrc/8WlQ7/HkxRF+Oz8LfttF5946wXLi4t2bVxj0e9uuLvMY9Ht49+bVzlawtkqwHwpxvH51iqPDfqYe4d4XOICjwz5evzoFY9t/NfLWCPa/bbTCYb+L05OjrX9AIy+QH/o4PT7C4aArnrXaXstsjWDP89Co1/Dm7KXRpXjMVtdN5zxnu6x+bfSLpfG8x5SnX5+UD6EAb85eolGvbfVDH1vV4LPXQziOHeykWNeApgNy4j72ydjHlAEt1a8lsVQ9HiujKqt6PIZwx7Zx9nq41dg/dYLlE/mHgx66nbb/Makn3sBmDSJaGrk6knLtAHiwniy/Maz+eYqs6wjVO5C8pttp43DQ29obA1KPgxljcBwbL0+Phd3lACebm0y/Nx5JDI1OACI+/Ey44VW0RBg8M/8hueIkrs0xP0ZerqQx8Xn0JKKdxP0zKIDh6TFubsdbeaAuVQ2WCwiHgx6q1YNgaDYhpjE8fsjfw8ZSD6kp3DjExvJjKhzV8CQZTbKa5I2PANEeYDIR0uGqVQ9wOOiJHZ7pEpyqBnPO4TgODgc9/0bCjM3Xbvg90dEKUkM+EVWThOsjHCSVv77eJMHD+jaXyznH4aCH0c+b1F+RmJoGy+do260m6vV64BnK+/xVGyeVLGnbld58uoJy1bYmDKGb8rGG4JgMcSO/dozgSpt4jKFer6O9hc/1pKbBcttKt9sGkYOU6gnr5wf2M8FOcq2BTPnEV1GZRiC1UqR8Q5utkzGQNVa+MN2G7Fi+Tlogmzydo9dp4+bmLtUZrlQJdhwH7VYLHuPS8gg/KM5gxD+CuZuvG0HlBzsICDhnTyxfSmYaVUi8jMgNR9NY/+N6H9OHXqV88dncdrsFx3GwXC5T0+JUhmjpLDQbdf/bgozFYlEdXIYWSdqj5AWp+siJMK4y/dU4OZ4X9Zugcbjxen2UFjKqsupxduRgDBalaDbqIvpIB+nYYDEMN5uN4KPNMT/SQAARN0oMN6znxav0h2ViGp4VmZJMBDQCYz64QR71zyb5AxkVWWM9KNy64stACRrNejhxkgJSGaKl/a0eVERvDAUMmtYUi65xZJgYdjmYcfO51DoinCQ9X4YcSaEHZ6JWnuBG6fUlyEgICWSNXE7iI4Ser8ooREGtWk11D1dqBDuOIx7kUntmqB6/LjARjSTTWK2G6UblaqG5SfuUY/Pjhg70GBmDmNbgQ63zIlXZ1P3gtkVTtcPPJpiIzeG2bcG2bbEthYseCiWN3+B6yN6PSBrUSxDUI1MV6vw3YNBwKSMPZYyWv76DqDKaPDg5qqgy6vL7y4WhrIwx2LYN27awWCxAySNmADfg+RosWs6yLLGXWUR4IrZJ1jC1EeIERJwdk5PG9TIMXnBC2Yh0EHWxQS2fawSZrg/TJBlVWfXyowsdUNrRilbyDKQ0REsNlfYI4TRSopByCk9N9XLVYSx+PRMOjkx1yAV105Spv1+KiBg2WcaQgGi+lDckMd6B1eFZ/3JMKG+48MA5QAn1NTelUDilOJiDii2vXAzLsbn4RBsnPUquFxnabmKKQ3k0P8HTThpmudj6Fqb6xevLxoaJGunARYJh4/1HZaWWfLguQ04WgMg6KBGaHPFidf50J4OZblid5DAQyAVBPNnJknXpXjDhJOIFxxwaEcMHoZDuQ7BQbmLUuGgwTfTVqgQniwNmm/JEpLtcqN7TpjhUzzc5YZG8uJFOWOkLZVhj5AMZVVk2yfgL8usmKlFGRdaEfvwspL6aFOvKUoviJwcTCkQ5L3pZOM9oXC5WvJj4VGG0/JiGb7qXDeVDi8P1OwxGbs6jZan5hjZIK/6VSI9gnUiT26n+k0ftYFwDogYuScOwTsOUkmIdSHeDDWUTMTqE8+n6/XDwBCPM9fbYMELxdW33DKSowUJYlTjVzmgNJH3toOEMXqZq54wqJ3835Sd6rTJ7/XRoMIfGQ1n18iPX6566Lo8pX4sDwxmvDNpgBjG5rpC71gveANVBehI0D9c01ajLqF+upokyPmmWziwjRIdnKRriFAgWsaa3gse8qDZEWineK6P3pocx0UAr5oVi04IE0eo3jBDSA09c0E36lyIBV4dp5XxOYqFY5GoZXwepX8tqtQLzVqmFSs8mWE5yLJcrLBcrVCpOfJnGECfGvOCYm8k32FhdAw1TYUl1K6YhNBHaCUH8muAFywkaWYnRxq7RcoMPQAjBYrkSH75MZ7IjlSGaUorFYgnXdVGpVILYNxKhxCYaoPRe050oK/WJJnbdlopHjrMCcR8v3JVictJiFSSY2MQ4PrhU8dQpheu6WCyWqa0opbIeLIP0u7uJMq0olg1Fynj02IzIjrnYgvojBQtT/fAzgpSz6CFlXC+rMt2olf8LfSsUlzHc3Y0ja8rPRWpOFqUUk/t7TKdTNBqNcHdggpymmZyEEwHjCK9sC1KH2oTrk39PbkjV0fvV1TCi36NetlYvpRTT6RST+2mqL2/5Pz0W8ayv9wEYAAAAAElFTkSuQmCC",c=({user:e,timeElapsed:t,hideOptions:s})=>{const[n,c]=(0,i.useState)(e?.avatarUrl||o),l=(0,i.useCallback)((()=>{n!==o&&c(o)}),[n]);return(0,a.jsxs)("div",{className:"facebook-preview__post-header",children:[(0,a.jsxs)("div",{className:"facebook-preview__post-header-content",children:[(0,a.jsx)("img",{className:"facebook-preview__post-header-avatar",src:n,alt:"",onError:l}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"facebook-preview__post-header-name",children:e?.displayName||
// translators: name of a fictional Facebook User
__("Anonymous User","jetpack")}),(0,a.jsxs)("div",{className:"facebook-preview__post-header-share",children:[(0,a.jsx)("span",{className:"facebook-preview__post-header-time",children:t?__(
// translators: short version of `1 hour`
"1h","jetpack"):_x(
// translators: temporal indication of when a post was published
"Just now","","jetpack")}),(0,a.jsx)("span",{className:"facebook-preview__post-header-dot","aria-hidden":"true",children:"·"}),(0,a.jsx)(r.Z,{name:"public"})]})]})]}),!s&&(0,a.jsx)("div",{className:"facebook-preview__post-header-more"})]})}},69094:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(30275);s(40888);const n=({name:e})=>(0,a.jsx)("i",{className:`facebook-preview__post-icon facebook-preview__post-icon-${e}`})},13477:(e,t,s)=>{"use strict";s.d(t,{S:()=>p});var a=s(30275),n=s(55609),i=s(65736),r=s(10263),o=s(7558),c=s(26767),l=s(34245);const __=i.__,p=({headingLevel:e,hideLinkPreview:t,hidePostPreview:s,...i})=>{const p=!!i.media?.length,d=!!i.customImage;return(0,a.jsxs)("div",{className:"social-preview facebook-preview",children:[!s&&(0,a.jsxs)("section",{className:"social-preview__section facebook-preview__section",children:[(0,a.jsx)(r.Z,{level:e,children:
// translators: refers to a social post on Facebook
__("Your post","jetpack")}),(0,a.jsx)("p",{className:"social-preview__section-desc",children:__("This is what your social post will look like on Facebook:","jetpack")}),p?(0,a.jsx)(l.C,{...i}):(0,a.jsx)(o.g,{...i})]}),!t&&(0,a.jsxs)("section",{className:"social-preview__section facebook-preview__section",children:[(0,a.jsx)(r.Z,{level:e,children:
// translators: refers to a link to a Facebook post
__("Link preview","jetpack")}),(0,a.jsxs)("p",{className:"social-preview__section-desc",children:[__("This is what it will look like when someone shares the link to your WordPress post on Facebook.","jetpack")," ",(0,a.jsx)(n.ExternalLink,{href:"https://jetpack.com/support/jetpack-social-image-generator",children:__("Learn more about links","jetpack")})]}),d?(0,a.jsx)(c.F,{...i}):(0,a.jsx)(o.g,{...i,compactDescription:!0,customText:"",user:void 0})]})]})}},17915:(e,t,s)=>{"use strict";s.d(t,{X:()=>l});var a=s(30275),n=s(21987);s(73443);const i=160,r=e=>{const t=e.startsWith("https://")?"https://":"http://",s=t+e.replace(t,"").split("/").join(" › ");return(0,n.SL)((0,n.hs)(68),(0,n.KB)(68))(s)},o=(0,n.SL)((0,n.hs)(63),(0,n.I$)(23,73),(0,n.KB)(63)),c=(0,n.SL)((0,n.hs)(i),(0,n.I$)(80,170),(0,n.KB)(i)),l=({description:e="",siteTitle:t,title:s="",url:i=""})=>{const l=(0,n.wy)(i);return(0,a.jsx)("div",{className:"search-preview",children:(0,a.jsxs)("div",{className:"search-preview__display",children:[(0,a.jsxs)("div",{className:"search-preview__header",children:[(0,a.jsxs)("div",{className:"search-preview__branding",children:[(0,a.jsx)("img",{className:"search-preview__icon",src:`https://www.google.com/s2/favicons?sz=128&domain_url=${l}`,alt:""}),(0,a.jsxs)("div",{className:"search-preview__site",children:[(0,a.jsx)("div",{className:"search-preview__site--title",children:t||l}),(0,a.jsx)("div",{className:"search-preview__url",children:r(i)})]})]}),(0,a.jsx)("div",{className:"search-preview__menu",children:(0,a.jsx)("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})})]}),(0,a.jsx)("div",{className:"search-preview__title",children:o(s)}),(0,a.jsx)("div",{className:"search-preview__description",children:c((0,n.ju)(e))})]})})}},21987:(e,t,s)=>{"use strict";s.d(t,{I$:()=>c,KB:()=>l,SL:()=>p,YW:()=>m,ge:()=>u,hs:()=>o,ju:()=>d,u_:()=>g,wy:()=>r});var a=s(30275),n=s(69307),i=s(65736);const r=e=>e.replace(/^[^/]+[/]*/,"").replace(/\/.*$/,""),o=e=>t=>t.length<=e&&t,c=(e,t)=>s=>{const a=s.slice(0,t),n=a.lastIndexOf(" ");return n>e&&n<t&&a.slice(0,n).concat("…")},l=e=>t=>t.slice(0,e).concat("…"),p=(...e)=>t=>e.find((e=>!1!==e(t)))?.(t),d=(e,t=[])=>{const s=new RegExp(`(<([^${t.join("")}>]+)>)`,"gi");return e?e.replace(s,""):""},u=(e,t)=>new RegExp(`<${t}[^>]*>`,"gi").test(e),m=(new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"short"}).format,new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format),h={twitter:"https://twitter.com/hashtag/%1$s",facebook:"https://www.facebook.com/hashtag/%1$s",linkedin:"https://www.linkedin.com/feed/hashtag/?keywords=%1$s",instagram:"https://www.instagram.com/explore/tags/%1$s",mastodon:"https://%2$s/tags/%1$s",nextdoor:"https://nextdoor.com/hashtag/%1$s"};function g(e,t){const{platform:s,maxChars:r,maxLines:o,hyperlinkHashtags:c=!0,hyperlinkUrls:l="instagram"!==s}=t;let p=d(e);if(p=p.replaceAll(/(?:\s*[\n\r]){2,}/g,"\n\n"),r&&p.length>r&&(p=p.substring(0,r)),o){const e=p.split("\n");e.length>o&&(p=e.slice(0,o).join("\n"))}const u={};if(l){(p.match(/(https?:\/\/\S+)/g)||[]).forEach(((e,t)=>{u[`Link${t}`]=(0,a.jsx)("a",{href:e,rel:"noopener noreferrer",target:"_blank",children:e}),p=p.replace(e,`<Link${t} />`)}))}if(c&&h[s]){const e=p.matchAll(/(^|\s)#(\w+)/g),n=h[s];[...e].forEach((([e,s,r],o)=>{const c=(0,i.sprintf)(n,r,t.hashtagDomain);u[`Hashtag${o}`]=(0,a.jsx)("a",{href:c,rel:"noopener noreferrer",target:"_blank",children:`#${r}`}),p=p.replace(e,`${s}<Hashtag${o} />`)}))}return p=p.replace(/\n/g,"<br />"),u.br=(0,a.jsx)("br",{}),(0,n.createInterpolateElement)(p,u)}},10263:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=s(30275);const n=[2,3,4,5,6],i=({className:e,level:t,children:s})=>{const i=`h${t&&n.includes(t)?t:3}`;return(0,a.jsx)(i,{className:`social-preview__section-heading ${e??""}`,children:s})}},5894:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var a=s(30275),n=s(65235),i=s.n(n),r=s(21987);const o=(0,r.SL)((0,r.hs)(200),(0,r.KB)(200)),c=({description:e,image:t,title:s,cardType:n,url:c})=>{const l=i()(`twitter-preview__card-${n}`,{"twitter-preview__card-has-image":!!t});return(0,a.jsx)("div",{className:"twitter-preview__card",children:(0,a.jsxs)("div",{className:l,children:[t&&(0,a.jsx)("img",{className:"twitter-preview__card-image",src:t,alt:""}),(0,a.jsxs)("div",{className:"twitter-preview__card-body",children:[(0,a.jsx)("div",{className:"twitter-preview__card-url",children:(0,r.wy)(c||"")}),(0,a.jsx)("div",{className:"twitter-preview__card-title",children:s}),(0,a.jsx)("div",{className:"twitter-preview__card-description",children:o((0,r.ju)(e))})]})]})})}},66370:(e,t,s)=>{"use strict";s.d(t,{$:()=>n});var a=s(30275);const n=()=>(0,a.jsxs)("div",{className:"twitter-preview__footer",children:[(0,a.jsx)("span",{className:"twitter-preview__icon-replies",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z"})})}),(0,a.jsx)("span",{className:"twitter-preview__icon-retweets",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M4.5 3.88l4.432 4.14-1.364 1.46L5.5 7.55V16c0 1.1.896 2 2 2H13v2H7.5c-2.209 0-4-1.79-4-4V7.55L1.432 9.48.068 8.02 4.5 3.88zM16.5 6H11V4h5.5c2.209 0 4 1.79 4 4v8.45l2.068-1.93 1.364 1.46-4.432 4.14-4.432-4.14 1.364-1.46 2.068 1.93V8c0-1.1-.896-2-2-2z"})})}),(0,a.jsx)("span",{className:"twitter-preview__icon-likes",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M16.697 5.5c-1.222-.06-2.679.51-3.89 2.16l-.805 1.09-.806-1.09C9.984 6.01 8.526 5.44 7.304 5.5c-1.243.07-2.349.78-2.91 1.91-.552 1.12-.633 2.78.479 4.82 1.074 1.97 3.257 4.27 7.129 6.61 3.87-2.34 6.052-4.64 7.126-6.61 1.111-2.04 1.03-3.7.477-4.82-.561-1.13-1.666-1.84-2.908-1.91zm4.187 7.69c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})}),(0,a.jsx)("span",{className:"twitter-preview__icon-analytics",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M8.75 21V3h2v18h-2zM18 21V8.5h2V21h-2zM4 21l.004-10h2L6 21H4zm9.248 0v-7h2v7h-2z"})})}),(0,a.jsx)("span",{className:"twitter-preview__icon-share",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M12 2.59l5.7 5.7-1.41 1.42L13 6.41V16h-2V6.41l-3.3 3.3-1.41-1.42L12 2.59zM21 15l-.02 3.51c0 1.38-1.12 2.49-2.5 2.49H5.5C4.11 21 3 19.88 3 18.5V15h2v3.5c0 .28.22.5.5.5h12.98c.28 0 .5-.22.5-.5L19 15h2z"})})})]})},78678:(e,t,s)=>{"use strict";s.d(t,{h:()=>r});var a=s(30275),n=s(65736),i=s(21987);const __=n.__,r=({name:e,screenName:t,date:s})=>(0,a.jsxs)("div",{className:"twitter-preview__header",children:[(0,a.jsx)("span",{className:"twitter-preview__name",children:e||__("Account Name","jetpack")}),(0,a.jsx)("span",{className:"twitter-preview__screen-name",children:t||"@account"}),(0,a.jsx)("span",{children:"·"}),(0,a.jsx)("span",{className:"twitter-preview__date",children:(0,i.YW)(s||Date.now())})]})},42029:(e,t,s)=>{"use strict";s.d(t,{q:()=>n});var a=s(30275);const n=()=>(0,a.jsxs)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"271pt",height:"270pt",viewBox:"0 0 271 270",children:[(0,a.jsx)("rect",{width:"100%",height:"100%",fill:"#ccd5de"}),(0,a.jsxs)("g",{transform:"translate(0,270) scale(0.1,-0.1)",fill:"#647785",stroke:"none",children:[(0,a.jsx)("path",{d:"M1251 2089 c-81 -14 -178 -65 -239 -125 -64 -65 -124 -185 -149 -299 -24 -111 -24 -339 -1 -415 38 -121 108 -193 227 -231 83 -27 339 -38 449 -19 139 23 236 91 286 200 59 130 52 395 -15 577 -88 235 -301 354 -558 312z"}),(0,a.jsx)("path",{d:"M1197 795 c-358 -68 -643 -357 -721 -732 l-14 -63 890 0 890 0 -7 42 c-11 70 -64 218 -102 288 -121 224 -336 394 -573 454 -92 24 -267 29 -363 11z"})]})]})},43503:(e,t,s)=>{"use strict";s.d(t,{m:()=>i});var a=s(30275),n=s(20445);const i=e=>(0,a.jsx)(n.g,{...e,text:"",media:void 0})},51075:(e,t,s)=>{"use strict";s.d(t,{p:()=>o});var a=s(30275),n=s(65235),i=s.n(n),r=s(99196);const o=({media:e})=>{const t=e.filter((e=>e.type.startsWith("image/")||e.type.startsWith("video/"))).filter(((e,t,s)=>0===t||!s[0].type.startsWith("video/")&&"image/gif"!==s[0].type&&(!e.type.startsWith("video/")&&"image/gif"!==e.type))).slice(0,4);if(0===t.length)return null;const s=t[0].type.startsWith("video/"),n=i()(["twitter-preview__media","twitter-preview__media-children-"+t.length]);return(0,a.jsx)("div",{className:n,children:t.map(((e,t)=>(0,a.jsx)(r.Fragment,{children:s?(0,a.jsx)("video",{controls:!0,children:(0,a.jsx)("source",{src:e.url,type:e.type})}):(0,a.jsx)("img",{alt:e.alt||"",src:e.url})},`twitter-preview__media-item-${t}`)))})}},20445:(e,t,s)=>{"use strict";s.d(t,{g:()=>d});var a=s(30275),n=s(5894),i=s(66370),r=s(78678),o=s(51075),c=s(15850),l=s(94615),p=s(98969);s(58449);const d=({date:e,description:t,image:s,media:d,name:u,profileImage:m,screenName:h,showThreadConnector:g,text:k,title:f,tweet:v,cardType:E,url:w})=>{const _=!!d?.length;return(0,a.jsx)("div",{className:"twitter-preview__wrapper",children:(0,a.jsxs)("div",{className:"twitter-preview__container",children:[(0,a.jsx)(l.Y,{profileImage:m,showThreadConnector:g}),(0,a.jsxs)("div",{className:"twitter-preview__main",children:[(0,a.jsx)(r.h,{name:u,screenName:h,date:e}),(0,a.jsxs)("div",{className:"twitter-preview__content",children:[k?(0,a.jsx)(p.x,{text:k,url:w||"",retainUrl:_}):null,_?(0,a.jsx)(o.p,{media:d}):null,v?(0,a.jsx)(c.P,{tweet:v}):null,!_&&f&&w&&(0,a.jsx)(n.Z,{description:t||"",image:s,title:f,cardType:E||"",url:w})]}),(0,a.jsx)(i.$,{})]})]})})}},15850:(e,t,s)=>{"use strict";s.d(t,{P:()=>i});var a=s(30275),n=s(55609);const i=({tweet:e})=>e?(0,a.jsxs)("div",{className:"twitter-preview__quote-tweet",children:[(0,a.jsx)(n.SandBox,{html:`<blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><a href="${e}"></a></blockquote>`,scripts:["https://platform.twitter.com/widgets.js"],title:"Embedded tweet"}),(0,a.jsx)("div",{className:"twitter-preview__quote-tweet-overlay"})]}):null},94615:(e,t,s)=>{"use strict";s.d(t,{Y:()=>r});var a=s(30275),n=s(65736),i=s(42029);const __=n.__,r=({profileImage:e,showThreadConnector:t})=>(0,a.jsxs)("div",{className:"twitter-preview__sidebar",children:[(0,a.jsx)("div",{className:"twitter-preview__profile-image",children:e?(0,a.jsx)("img",{alt:__("Twitter profile image","jetpack"),src:e}):(0,a.jsx)(i.q,{})}),t&&(0,a.jsx)("div",{className:"twitter-preview__connector"})]})},98969:(e,t,s)=>{"use strict";s.d(t,{x:()=>i});var a=s(30275),n=s(21987);const i=({text:e,url:t,retainUrl:s})=>{if(!e)return null;const i=t&&!s&&e.endsWith(t)?e.substring(0,e.lastIndexOf(t)):e;return(0,a.jsx)("div",{className:"twitter-preview__text",children:(0,n.u_)(i,{platform:"twitter"})})}},2816:(e,t,s)=>{"use strict";s.d(t,{bQ:()=>d,tq:()=>p});var a=769,n="<480px",i="undefined"==typeof window||!window.matchMedia;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.min,s=e.max;return void 0!==t&&void 0!==s?i?{matches:a>t&&a<=s}:window.matchMedia("(min-width: ".concat(t+1,"px) and (max-width: ").concat(s,"px)")):void 0!==t?i?{matches:a>t}:window.matchMedia("(min-width: ".concat(t+1,"px)")):void 0!==s&&(i?{matches:a<=s}:window.matchMedia("(max-width: ".concat(s,"px)")))}var o={"<480px":r({max:480}),"<660px":r({max:660}),"<800px":r({max:800}),"<960px":r({max:960}),"<1040px":r({max:1040}),"<1280px":r({max:1280}),"<1400px":r({max:1400}),">480px":r({min:480}),">660px":r({min:660}),">800px":r({min:800}),">960px":r({min:960}),">1040px":r({min:1040}),">1280px":r({min:1280}),">1400px":r({min:1400}),"480px-660px":r({min:480,max:660}),"660px-960px":r({min:660,max:960}),"480px-960px":r({min:480,max:960})};function c(e){if(o.hasOwnProperty(e))return o[e];try{console.warn("Undefined breakpoint used in `mobile-first-breakpoint`",e)}catch(e){}}function l(e){var t=c(e);return t?t.matches:void 0}function p(){return l(n)}function d(){return i?a:window.innerWidth}},51128:(e,t,s)=>{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 s="color: "+this.color;t.splice(1,0,s,"color: inherit");let a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,s)},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=s(62942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},62942:(e,t,s)=>{e.exports=function(e){function t(e){let s,n,i,r=null;function o(...e){if(!o.enabled)return;const a=o,n=Number(new Date),i=n-(s||n);a.diff=i,a.prev=s,a.curr=n,s=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((s,n)=>{if("%%"===s)return"%";r++;const i=t.formatters[n];if("function"==typeof i){const t=e[r];s=i.call(a,t),e.splice(r,1),r--}return s})),t.formatArgs.call(a,e);(a.log||t.log).apply(a,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=a,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(n!==t.namespaces&&(n=t.namespaces,i=t.enabled(e)),i),set:e=>{r=e}}),"function"==typeof t.init&&t.init(o),o}function a(e,s){const a=t(this.namespace+(void 0===s?":":s)+e);return a.log=this.log,a}function n(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(n),...t.skips.map(n).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let s;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),n=a.length;for(s=0;s<n;s++)a[s]&&("-"===(e=a[s].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 s,a;for(s=0,a=t.skips.length;s<a;s++)if(t.skips[s].test(e))return!1;for(s=0,a=t.names.length;s<a;s++)if(t.names[s].test(e))return!0;return!1},t.humanize=s(73171),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((s=>{t[s]=e[s]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let s=0;for(let t=0;t<e.length;t++)s=(s<<5)-s+e.charCodeAt(t),s|=0;return t.colors[Math.abs(s)%t.colors.length]},t.enable(t.load()),t}},51260:(e,t,s)=>{"use strict";function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}s.d(t,{Z:()=>n});const n=function e(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if(Array.isArray(t))return Array.isArray(s)&&t.length===s.length&&t.every((function(t,a){return e(t,s[a])}));if("object"==typeof t||"object"==typeof s){var n=a(t),i=a(s);return n!==t||i!==s?e(n,i):Object.keys(Object.assign({},t,s)).every((function(a){return e(t[a],s[a])}))}return!1}},62042:(e,t,s)=>{"use strict";e.exports=s.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},90724:(e,t,s)=>{"use strict";e.exports=s.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},88702:(e,t,s)=>{"use strict";e.exports=s.p+"images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png"},21160:(e,t,s)=>{"use strict";e.exports=s.p+"images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png"},30253:(e,t,s)=>{"use strict";e.exports=s.p+"images/dois-66b3f018328e8f585646.jpg"},91948:(e,t,s)=>{"use strict";e.exports=s.p+"images/edge-e1adff73f2dc1c1dc64e.jpg"},5353:(e,t,s)=>{"use strict";e.exports=s.p+"images/fullscreen-21ca1ee2bafcb1c8eb55.jpg"},27956:(e,t,s)=>{"use strict";e.exports=s.p+"images/highway-205f94656e2fcc4aeb86.jpg"},97436:(e,t,s)=>{"use strict";e.exports=s.p+"images/people-c8df8440a2897e6d0eba.svg"},80118:(e,t,s)=>{"use strict";e.exports=s.p+"images/shield-with-check-67191b0849d39acf52fa.svg"},33951:(e,t,s)=>{"use strict";e.exports=s.p+"images/jetpack-manage-3a7ecaa604823c98c3cf.svg"},92787:e=>{"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},19567:e=>{"use strict";e.exports=window.jQuery},92819:e=>{"use strict";e.exports=window.lodash},86989:e=>{"use strict";e.exports=window.wp.apiFetch},52175:e=>{"use strict";e.exports=window.wp.blockEditor},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},69771:e=>{"use strict";e.exports=window.wp.date},72067:e=>{"use strict";e.exports=window.wp.editPost},12238:e=>{"use strict";e.exports=window.wp.editor},69307:e=>{"use strict";e.exports=window.wp.element},22629:e=>{"use strict";e.exports=window.wp.htmlEntities},65736:e=>{"use strict";e.exports=window.wp.i18n},53961:e=>{"use strict";e.exports=window.wp.notices},98817:e=>{"use strict";e.exports=window.wp.plugins},70444:e=>{"use strict";e.exports=window.wp.primitives},96483:e=>{"use strict";e.exports=window.wp.url},39369:()=>{},82674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}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},80255:(e,t,s)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},a.apply(this,arguments)}s.d(t,{Z:()=>a})},41806:(e,t,s)=>{"use strict";s.d(t,{Z:()=>n});var a=s(80205);function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.Z)(e,t)}},37921:(e,t,s)=>{"use strict";function a(e,t){if(null==e)return{};var s,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)s=i[a],t.indexOf(s)>=0||(n[s]=e[s]);return n}s.d(t,{Z:()=>a})},80205:(e,t,s)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}s.d(t,{Z:()=>a})},48288:(e,t,s)=>{"use strict";s.d(t,{Z:()=>p});var a=s(6895),n=s(69307),i=s(65736),r=s(25162),o=s(99196),c=s(69430);const __=i.__,l=e=>{const{productId:t,siteRawUrl:s}=e,i=`https://cloud.jetpack.com/landing/${s}`,r=(0,c.F)(t),l={jetpack_anti_spam:{title:__("Jetpack Anti-spam is active!","jetpack"),text:__("We'll take care of everything from here. Now you can enjoy a spam-free site!","jetpack")},jetpack_backup:{title:__("Jetpack Backup is active!","jetpack"),text:(0,n.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"),{a:o.createElement("a",{href:i})})},jetpack_complete:{title:__("Jetpack Complete is active!","jetpack"),text:(0,n.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"),{a:o.createElement("a",{href:i})})},jetpack_scan:{title:__("Jetpack Scan is active!","jetpack"),text:(0,n.createInterpolateElement)(__("You can see your security scans on <a>cloud.jetpack.com</a>.","jetpack"),{a:o.createElement("a",{href:i})})},jetpack_search:{title:__("Jetpack Search is active!","jetpack"),text:__("Next, we'll help you customize the Search experience for your visitors.","jetpack")},jetpack_security:{title:__("Jetpack Security is active!","jetpack"),text:(0,n.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"),{a:o.createElement("a",{href:i})})},jetpack_videopress:{title:__("Jetpack VideoPress is active!","jetpack"),text:__("Experience high-quality, ad-free video built specifically for WordPress.","jetpack")},jetpack_social_advanced:{title:__("Jetpack Social Advanced is active!","jetpack"),text:(0,n.createInterpolateElement)(__("Create amazing link previews for your posts using Social Image Generator. Learn more <a>here</a>.<br/><br/>Learn how to make the most out of Jetpack Social <link>here</link>.<br/><br/>","jetpack"),{a:o.createElement("a",{href:(0,a.Z)("jetpack-social-sig-support-page")}),br:o.createElement("br",null),link:o.createElement("a",{href:(0,a.Z)("social-plugin-publicize-support-admin-page")})})},jetpack_social_basic:{title:__("Jetpack Social Basic is active!","jetpack"),text:(0,n.createInterpolateElement)(__("Enjoy unlimited shares with Jetpack Social Basic. Learn how to make the most out of Jetpack Social <a>here</a>.","jetpack"),{a:o.createElement("a",{href:(0,a.Z)("social-plugin-publicize-support-admin-page")})})},default:{title:__("Your product is active!","jetpack"),text:__("You're all set!","jetpack")}};return o.createElement("div",{className:"jp-license-activation-screen-success-info--product-details"},o.createElement("h1",null,l[r].title," ",String.fromCodePoint(127881)),o.createElement("p",null,l[r].text))};l.propTypes={dashboardUrl:r.string,productId:r.number};const p=l},69430:(e,t,s)=>{"use strict";s.d(t,{F:()=>n,T:()=>i});const a={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],jetpack_social_advanced:[2602,2603,2604],jetpack_social_basic:[2503,2504,2037]};function n(e){return Object.keys(a).find((t=>a[t].includes(e)))||"default"}function i(e){return window.myJetpackInitialState?.plugins?.[e]?.active}},9864:(e,t,s)=>{"use strict";s.d(t,{i:()=>i});var a=s(6895),n=s(99196);function i(e,t,s,i,r){(0,n.useEffect)((()=>{i&&"object"==typeof r&&r.tracks.recordEvent("jetpack_partner_coupon_redeem_view",{coupon:e.coupon_code,partner:e.partner.prefix,preset:e.preset,connected:s.isRegistered?"yes":"no"})}),[r,i,s,e]);return(0,n.useCallback)((()=>{i&&"object"==typeof r&&r.tracks.recordEvent("jetpack_partner_coupon_redeem_click",{coupon:e.coupon_code,partner:e.partner.prefix,preset:e.preset,connected:s.isRegistered?"yes":"no"}),window.location.href=(0,a.Z)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:t,query:`coupon=${e.coupon_code}`})}),[r,i,s,e,t])}},94262:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var a=!0,n="Invariant failed";function i(e,t){if(!e){if(a)throw new Error(n);var s="function"==typeof t?t():t,i=s?"".concat(n,": ").concat(s):n;throw new Error(i)}}}},t={};function s(a){var n=t[a];if(void 0!==n)return n.exports;var i=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");a.length&&(e=a[a.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})();var a={};(()=>{"use strict";s.d(a,{getRouteName:()=>u});var e=s(69307),t=s(65736),n=s(31493),i=(s(92819),s(31215)),r=s(99196),o=s.n(r),c=s(59309),l=s(27453),p=s(44498),d=s(15641);const _x=t._x;function u(e){switch(e){case"/dashboard":default:return _x("At A Glance","Navigation item.","jetpack");case"/setup":return _x("Set up","Navigation item.","jetpack");case"/my-plan":return _x("My Plan","Navigation item.","jetpack");case"/plans":case"/plans-prompt":return _x("Plans","Navigation item.","jetpack");case"/recommendations":return _x("Recommendations","Navigation item.","jetpack");case"/settings":return _x("Settings","Navigation item.","jetpack");case"/discussion":return _x("Discussion","Navigation item.","jetpack");case"/earn":return _x("Monetize","Navigation item.","jetpack");case"/newsletter":return _x("Newsletter","Navigation item.","jetpack");case"/security":return _x("Security","Navigation item.","jetpack");case"/performance":return _x("Performance","Navigation item.","jetpack");case"/traffic":return _x("Traffic","Navigation item.","jetpack");case"/writing":return _x("Writing","Navigation item.","jetpack");case"/sharing":return _x("Sharing","Navigation item.","jetpack");case"/license/activation":return _x("License","Navigation item.","jetpack")}}(0,n.Z)(),function(){const t=document.getElementById("jp-plugin-container");if(null===t)return;const s=o().createElement("div",null,o().createElement(c.zt,{store:d.Z},o().createElement(l.UT,null,o().createElement(p.rs,null,o().createElement(p.AW,{path:"/dashboard"},o().createElement(i.Z,{routeName:u("/dashboard")})),o().createElement(p.AW,{path:"/reconnect"},o().createElement(i.Z,{routeName:u("/reconnect")})),o().createElement(p.AW,{path:"/setup"},o().createElement(i.Z,{routeName:u("/setup")})),o().createElement(p.AW,{path:"/my-plan"},o().createElement(i.Z,{routeName:u("/my-plan")})),o().createElement(p.AW,{path:"/plans"},o().createElement(i.Z,{routeName:u("/plans")})),o().createElement(p.AW,{path:"/recommendations"},o().createElement(i.Z,{routeName:u("/recommendations")})),o().createElement(p.AW,{path:"/plans-prompt"},o().createElement(i.Z,{routeName:u("/plans-prompt")})),o().createElement(p.AW,{path:"/settings"},o().createElement(i.Z,{routeName:u("/settings")})),o().createElement(p.AW,{path:"/discussion"},o().createElement(i.Z,{routeName:u("/discussion")})),o().createElement(p.AW,{path:"/earn"},o().createElement(i.Z,{routeName:u("/earn")})),o().createElement(p.AW,{path:"/newsletter"},o().createElement(i.Z,{routeName:u("/newsletter")})),o().createElement(p.AW,{path:"/security"},o().createElement(i.Z,{routeName:u("/security")})),o().createElement(p.AW,{path:"/performance"},o().createElement(i.Z,{routeName:u("/performance")})),o().createElement(p.AW,{path:"/traffic"},o().createElement(i.Z,{routeName:u("/traffic")})),o().createElement(p.AW,{path:"/writing"},o().createElement(i.Z,{routeName:u("/writing")})),o().createElement(p.AW,{path:"/sharing"},o().createElement(i.Z,{routeName:u("/sharing")})),o().createElement(p.AW,{path:"/license/activation"},o().createElement(i.Z,{routeName:u("/license/activation")})),o().createElement(p.AW,{path:"/wpbody-content",component:i.Z}),o().createElement(p.AW,{path:"/wp-toolbar",component:i.Z}),o().createElement(p.AW,{path:"/privacy",component:i.Z}),o().createElement(p.AW,{path:"/*"},o().createElement(i.Z,{routeName:u("/*")}))))));e.createRoot(t).render(s)}()})(),window.getRouteName=a.getRouteName})();