This commit is contained in:
zbatte committed 2026-07-02 15:54:39 -06:00
commit 9883323161
17470 files changed
+4470592

No files matched your search

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '16600c5c995e50fdb6d2');
@@ -0,0 +1 @@
(()=>{var e=!1,n=[9,32,37,38,39,40];document.addEventListener("keydown",function(c){e||-1!==n.indexOf(c.keyCode)&&(e=!0,document.documentElement.classList.add("accessible-focus"))}),document.addEventListener("mouseup",function(){e&&(e=!1,document.documentElement.classList.remove("accessible-focus"))})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'jetpack-shared-stores', 'jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '943d61dbb4bf4f2b714d');
@@ -0,0 +1 @@
.activation-screen-error__message{align-items:flex-start;display:flex;flex-direction:row;margin-top:calc(var(--spacing-base)*.5);max-width:500px}.activation-screen-error__message svg{margin-left:-3px}.activation-screen-error__message span{font-size:13px;font-weight:500;letter-spacing:-.044em;line-height:20px}.activation-screen-error__message--error{color:var(--jp-red)}.activation-screen-error__message--error svg{fill:var(--jp-red)}.activation-screen-error__message--success{color:var(--jp-green)}.activation-screen-error__message--success svg{fill:var(--jp-green)}.activation-screen-error__info{background-color:var(--jp-gray-0);border:1px solid var(--jp-green-0);border-radius:var(--jp-border-radius);color:var(--jp-gray-80);font-size:var(--font-body-small);line-height:calc(var(--font-title-small) - 2px);margin:32px 0 8px;padding:var(--jp-modal-padding-small)}.activation-screen-error__info>p{font-size:var(--font-body-small);margin:0 0 1em}.activation-screen-error__info>p:last-child{margin-bottom:0}.activation-screen-error__info ol>li::marker{font-weight:700}.activation-screen-error__info a{color:var(--jp-green-50)}.activation-screen-error__info :is(a:active,a:hover){color:var(--jp-green-70)}.jp-license-activation-screen-controls .activation-screen-error__info>p{font-size:var(--font-body-small);margin:0 0 1em}.jp-license-activation-screen-controls .activation-screen-error__info>p:last-child{margin-bottom:0}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:16px;margin:1em 0}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field,.jp-license-activation-screen-controls--license-field-with-error,.jp-license-activation-screen-controls--license-field-with-success){margin-top:10px;max-width:500px}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field,.jp-license-activation-screen-controls--license-field-with-error,.jp-license-activation-screen-controls--license-field-with-success) .components-input-control__label.components-input-control__label.components-input-control__label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls--license-field select.components-select-control__input,.jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input,.jp-license-activation-screen-controls--license-field-with-error select.components-select-control__input,.jp-license-activation-screen-controls--license-field-with-success input.components-text-control__input,.jp-license-activation-screen-controls--license-field-with-success select.components-select-control__input){border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error :is(input.components-text-control__input,select.components-select-control__input){border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-success :is(input.components-text-control__input,select.components-select-control__input){border:1px solid #069e08}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button.components-button:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active.components-button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-conLine truncated
@@ -0,0 +1,136 @@
/*! For license information please see admin.js.LICENSE.txt */
(()=>{var e,t,s={81760(e,t,s){var i=s(22347);e.exports=function(e){var t=null,s=i(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 a=s.createElement("span");a.appendChild(s.createTextNode("​")),e.insertNode(a),t=a.getBoundingClientRect();var r=a.parentNode;r.removeChild(a),r.normalize()}return t}},39612(e){var t;t=function(){return function(){var e={686:function(e,t,s){"use strict";s.d(t,{default:function(){return _}});var i=s(279),n=s.n(i),a=s(370),r=s.n(a),o=s(817),c=s.n(o);function l(e){try{return document.execCommand(e)}catch(e){return!1}}var p=function(e){var t=c()(e);return l("cut"),t},d=function(e,t){var s=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),s=document.createElement("textarea");s.style.fontSize="12pt",s.style.border="0",s.style.padding="0",s.style.margin="0",s.style.position="absolute",s.style[t?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return s.style.top="".concat(i,"px"),s.setAttribute("readonly",""),s.value=e,s}(e);t.container.appendChild(s);var i=c()(s);return l("copy"),s.remove(),i},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},s="";return"string"==typeof e?s=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?s=d(e.value,t):(s=c()(e),l("copy")),s};function h(e){return h="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(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,s=void 0===t?"copy":t,i=e.container,n=e.target,a=e.text;if("copy"!==s&&"cut"!==s)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==n){if(!n||"object"!==h(n)||1!==n.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===s&&n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===s&&(n.hasAttribute("readonly")||n.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return a?u(a,{container:i}):n?"cut"===s?p(n):u(n,{container:i}):void 0};function g(e){return g="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},g(e)}function f(e,t){for(var s=0;s<t.length;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function k(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var s,i,n,a=j(e);if(t){var r=j(this).constructor;s=Reflect.construct(a,arguments,r)}else s=a.apply(this,arguments);return i=this,!(n=s)||"object"!==g(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i):n}}function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function b(e,t){var s="data-clipboard-".concat(e);if(t.hasAttribute(s))return t.getAttribute(s)}var w=function(e){!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&&v(e,t)}(a,e);var t,s,i,n=k(a);function a(e,t){var s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(s=n.call(this)).resolveOptions(t),s.listenClick(e),s}return t=a,s=[{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"===g(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=r()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,s=this.action(t)||"copy",i=m({action:s,container:this.container,target:this.target(t),text:this.text(t)});this.emit(i?"success":"error",{action:s,text:i,triLine truncated
__("Received invalid response while communicating with your WordPress site: %s","jetpack"),this.parseError.message)}return(0,i.sprintf)(/* Translators: %d refers to numeric HTTP error code */
__("HTTP %d error received while communicating with the server.","jetpack"),this.httpCode)}getDisplayBody(){return(0,a.O)(this.body)?JSON.stringify(this.body,null," "):(0,n.w)(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")}}},15098(e,t,s){"use strict";s.d(t,{A:()=>c});var i=s(27723),n=s(21197),a=s(18882);const __=i.__;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+a.K+a.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,i.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)),{cause:e})}return l}async function o(e,t,s,i=null,a){const o=await r(e,t,s,i,a);let c,l;try{c=await o.text()}catch(e){throw new n.h(o.status,null,e)}try{l=JSON.parse(c)}catch(e){throw new n.h(o.status,c,e)}if(!o.ok)throw new n.h(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,i){return o("post",e,t,s,i)}}},18882(e,t,s){"use strict";s.d(t,{K:()=>i,L:()=>n});const i="jetpack-boost/v1",n=""},58454(e,t,s){"use strict";s.d(t,{T:()=>h,US:()=>m,sE:()=>d});var i=s(27723),n=s(15098),a=s(4753),r=s(75289),o=s(34144),c=s(28991),l=s(93470);const __=i.__,p=12e4;async function d(e=!1,t,s,i){const a=u(await n.A.post(t,e?"/speed-scores/refresh":"/speed-scores",{url:s},i));return a.scores?a.scores:await async function(e,t,s){return(0,c.A)({timeout:p,interval:5e3,timeoutError:__("Timed out while waiting for speed-score.","jetpack"),callback:async i=>{const a=u(await n.A.post(e,"/speed-scores",{url:t},s));a.scores&&i(a.scores)}})}(t,s,i)}function u(e){if(e.error){const t=__("An unknown error occurred while requesting metrics","jetpack");throw(0,l.g)(e.error,t)}if((0,o.O)(e.scores))return{status:"success",scores:{current:(0,o.O)(e.scores.current)?{mobile:(0,a.G)(e.scores.current.mobile,0),desktop:(0,a.G)(e.scores.current.desktop,0)}:{mobile:0,desktop:0},noBoost:(0,o.O)(e.scores.noBoost)?{mobile:(0,a.G)(e.scores.noBoost.mobile,0),desktop:(0,a.G)(e.scores.noBoost.desktop,0)}:null,isStale:!!e.scores.isStale}};const t=(0,r.w)(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"}function m(e){const t=new Date(e),s=(new Date).valueOf()-t.valueOf();return Math.floor(s/864e5)}},4753(e,t,s){"use strict";function i(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,{G:()=>i})},75289(e,t,s){"use strict";function i(e,t=void 0){return"string"==typeof e?e:e&&e.toString instanceof Function?e.toString():t}s.d(t,{w:()=>i})},34144(e,t,s){"use strict";function i(e){return!!e&&e instanceof Object&&!(e instanceof Array)}s.d(t,{O:()=>i})},28991(e,t,s){"use strict";s.d(t,{A:()=>n});var i=s(27723);const __=i.__;async function n({interval:e,callback:t,timeout:s,timeoutError:i}){let n,a;return new Promise((r,o)=>{n=setTimeout(()=>{o(new Error(i||__("Timed out","jetpack")))},s||12e4),a=setInterval(async()=>{try{await Promise.resolve(t(r))}catch(e){o(e)}},e)}).finally(()=>{clearTimeout(n),clearInterval(a)})}},93470(e,t,s){"use strict";function i(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,{g:()=>i})},42947(e,t,s){"use strict";s.d(t,{A:()=>m});var i=s(5932),n=s(61753),a=s(27723),r=s(13022),o=s(51609),c=s(38250),l=s(67142),p=s(28509),d=s(75918),u=s(90969),h=s(10790);const __=a.__,m=({children:e,className:t,showHeader:s=!0,showFooter:m=!0,showBackground:g=!0,sandboxedDomain:f="",apiRoot:v="",apiNonce:k="",optionalMenuItems:j,header:b,title:w,subTitle:_,logo:x,actions:y,breadcrumbs:C,tabs:A,showBottomBorder:S=!0,unwrapped:N=!1})=>{(0,o.useEffect)(()=>{i.Ay.setApiRoot(v),i.Ay.setApiNonce(k)},[v,k]);const T=(0,r.A)(u.A["admin-page"],"jp-admin-page",t,{[u.A.background]:g,[u.A["without-bottom-border"]]:A||!S}),E=(0,o.useCallback)(async()=>{try{const e=await i.Ay.fetchSiteConnectionTest();window.alert(e.message)}catch(e){window.alert((0,a.sprintf)(/* translators: %s: an error message. */
__("There was an error testing Jetpack. Error: %s","jetpack"),e.message))}},[]);return s&&(w||C)?(0,h.jsx)("div",{className:T,children:(0,h.jsxs)(n.A,{className:"jp-admin-page__page",visual:x||(0,h.jsx)(l.A,{showText:!1,height:20}),breadcrumbs:C,title:w,subTitle:_,actions:y,showSidebarToggle:!1,children:[A,N?e:(0,h.jsx)(d.A,{fluid:!0,horizontalSpacing:0,children:(0,h.jsx)(p.A,{children:e})}),m&&(0,h.jsx)(c.A,{menu:j})]})}):(0,h.jsxs)("div",{className:T,children:[s&&(0,h.jsx)(d.A,{horizontalSpacing:5,children:(0,h.jsxs)(p.A,{className:(0,r.A)(u.A["admin-page-header"],"jp-admin-page-header"),children:[b||(0,h.jsx)(l.A,{}),f&&(0,h.jsx)("code",{className:u.A["sandbox-domain-badge"],onClick:E,onKeyDown:E,role:"button",tabIndex:0,title:`Sandboxing via ${f}. Click to test connection.`,children:"API Sandboxed"})]})}),(0,h.jsx)(d.A,{fluid:!0,horizontalSpacing:0,children:(0,h.jsx)(p.A,{children:e})}),m&&(0,h.jsx)(c.A,{menu:j})]})}},48907(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(27723),n=s(13022),a=s(10790);const __=i.__,r=({title:e=__("An Automattic Airline","jetpack"),height:t=7,className:s,...i})=>(0,a.jsxs)("svg",{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:(0,n.A)("jp-automattic-byline-logo",s),...i,children:[(0,a.jsx)("desc",{id:"jp-automattic-byline-logo-title",children:e}),(0,a.jsx)("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"}),(0,a.jsx)("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"}),(0,a.jsx)("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"})]})},10580(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(27723),n=s(13109),a=s(20113),r=s(55173),o=s(13022),c=(s(23100),s(10790));const __=i.__,l=({score:e,isLoading:t,showPrevScores:s,active:i,prevScore:l=0,scoreBarType:p,noBoostScoreTooltip:d})=>{if(!i)return null;const u=l/e*100,h=__("Desktop score","jetpack"),m=__("Mobile score","jetpack");return(0,c.jsxs)("div",{className:(0,o.A)("jb-score-bar",`jb-score-bar--${p}`),children:[(0,c.jsxs)("div",{className:"jb-score-bar__label",children:["desktop"===p?(0,c.jsx)(n.A,{icon:a.A,size:24}):(0,c.jsx)(n.A,{icon:r.A,size:24}),(0,c.jsx)("div",{children:"desktop"===p?h:m})]}),(0,c.jsx)("div",{className:"jb-score-bar__bounds",children:(0,c.jsxs)("div",{className:(0,o.A)("jb-score-bar__filler",t&&!e?"fill-loading":e>70?"fill-good":e>50?"fill-mediocre":"fill-bad"),style:{width:`${e}%`},children:[t?(0,c.jsx)("div",{className:"jb-score-bar__loading",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 128 128",children:(0,c.jsxs)("g",{children:[(0,c.jsx)("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.14Line truncated
__("(opens in a new tab)","jetpack")})]}),C=v?"_blank":void 0,A=s?.[0]&&null!==s[0]&&"components-tooltip"!==s?.[0]?.props?.className,S={ref:t,target:C,variant:n,className:(0,o.A)(_,{"has-text":!!u&&A}),icon:v?void 0:u,iconSize:h,disabled:m,"aria-disabled":m,isDestructive:g,text:j,...w};return(0,p.jsxs)(i.Button,{...S,children:[f&&(0,p.jsx)(i.Spinner,{}),(0,p.jsx)("span",{children:s}),y]})});d.displayName="Button";const u=d},59244(e,t,s){"use strict";s.d(t,{D:()=>o});var i=s(56427),n=s(23510),a=s(63406),r=s(10790);function o({maxVisibleNotices:e=3}){const{getNotices:t,removeNotice:s}=(0,a.I)(),o=t().filter(({type:e})=>"snackbar"===e).slice(-e);return(0,r.jsx)(i.SnackbarList,{notices:o,className:n.A["global-notices"],onRemove:s})}},63406(e,t,s){"use strict";s.d(t,{I:()=>a});var i=s(47143),n=s(692);function a(){const e=(0,i.useDispatch)(n.store),t=(0,i.useSelect)(e=>e(n.store).getNotices(),[]);return{...e,createNotice:(t,s,i)=>e.createNotice(t,s,{type:"snackbar",...i}),createErrorNotice:(t,s)=>e.createErrorNotice(t,{type:"snackbar",...s}),createInfoNotice:(t,s)=>e.createInfoNotice(t,{type:"snackbar",...s}),createSuccessNotice:(t,s)=>e.createSuccessNotice(t,{type:"snackbar",...s}),createWarningNotice:(t,s)=>e.createWarningNotice(t,{type:"snackbar",...s}),getNotices:()=>t}}},78478(e,t,s){"use strict";s.d(t,{Wy:()=>l});var i=s(56427),n=s(13022),a=(s(84705),s(67400)),r=s(10790);const o=({className:e,size:t=24,viewBox:s="0 0 24 24",opacity:o=1,color:c="#2C3338",children:l})=>{const p={className:(0,n.A)(a.A.iconWrapper,e),width:t,height:t,viewBox:s,opacity:o,fill:void 0};return c&&(p.fill=c),(0,r.jsx)(i.SVG,{...p,fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(i.G,{opacity:o,children:l})})},c={...{"anti-spam":({opacity:e=1,size:t,color:s})=>(0,r.jsxs)(o,{size:t,opacity:e,color:s,children:[(0,r.jsx)(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"}),(0,r.jsx)(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"}),(0,r.jsx)(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"}),(0,r.jsx)(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})=>(0,r.jsx)(o,{size:t,opacity:e,color:s,children:(0,r.jsx)(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 c0Line truncated
__("By clicking <strong>%1$s</strong> or <strong>%2$s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack"),e[0],e[1]),{strong:(0,l.jsx)("strong",{}),tosLink:(0,l.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,i.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack"),{tosLink:(0,l.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({agreeButtonLabel:e})=>(0,i.createInterpolateElement)((0,n.sprintf)(/* translators: %s is a button label */
__("By clicking <strong>%s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack"),e),{strong:(0,l.jsx)("strong",{}),tosLink:(0,l.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=()=>(0,i.createInterpolateElement)(__("By continuing you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site’s data</shareDetailsLink> with us. We’ll check if that email is linked to an existing WordPress.com account or create a new one instantly.","jetpack"),{tosLink:(0,l.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),h=({slug:e,children:t})=>(0,l.jsx)(a.N,{openInNewTab:!0,className:"terms-of-service__link",href:(0,o.A)(e),children:t}),m=({className:e,multipleButtons:t,agreeButtonLabel:s,isTextOnly:i,...n})=>(0,l.jsx)(c.Ay,{className:(0,r.A)(e,"terms-of-service"),...n,children:i?(0,l.jsx)(u,{}):t?(0,l.jsx)(p,{multipleButtonsLabels:t}):(0,l.jsx)(d,{agreeButtonLabel:s})})},10110(e,t,s){"use strict";s.d(t,{Q:()=>i,Z:()=>n});const i={"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"]},47425(e,t,s){"use strict";s.d(t,{Ay:()=>l});var i=s(13022),n=s(51609),a=s(10110),r=s(58763),o=s(10790);const c=(0,n.forwardRef)(({variant:e="body",children:t,component:s,className:c,...l},p)=>{const d=s||a.Q[e]||"span",u=(0,n.useMemo)(()=>a.Z.reduce((e,t)=>(void 0!==l[t]&&(e+=r.A[`${t}-${l[t]}`]+" ",delete l[t]),e),""),[l]);return(0,o.jsx)(d,{className:(0,i.A)(r.A.reset,r.A[e],c,u),...l,ref:p,children:t})});c.displayName="Text";const l=c},50723(e,t,s){"use strict";s.d(t,{Ay:()=>u});var i=s(51609),n=s(8706),a=s(10790);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-5":"var(--jp-gray)","--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 i={...r,...o,...c,...l};for(const t in i)e.style.setProperty(t,i[t]);s&&e.classList.add(n.A.global),t&&(p[t]={provided:!0,root:e})},u=({children:e=null,targetDom:t,id:s,withGlobalStyles:n=!0})=>{const r=(0,i.useRef)(),o=p?.[s]?.provided;return(0,i.useLayoutEffect)(()=>{if(!o)return t?d(t,s,n):void(r?.current&&d(r.current,s,n))},[t,r,o,s,n]),t?(0,a.jsx)(a.Fragment,{children:e}):(0,a.jsx)("div",{ref:r,children:e})}},67506(e,t,s){"use strict";s.d(t,{A:()=>o});var i=s(56427),n=s(86087),a=s(51112),r=(s(81110),s(10790));const o=e=>{const{icon:t,title:s,description:o,primaryCtaLabel:c,primaryCtaURL:l,primaryCtaIsExternalLink:p,primaryCtaOnClick:d,secondaryCtaLabel:u,secondaryCtaURL:h,secondaryCtaIsExternalLink:m,secondaryCtaOnClick:g}=e;return(0,r.jsx)(i.Card,{isRounded:!0,size:"large",children:(0,r.jsxs)(i.CardBody,{className:"upsell-banner",size:"large",children:[t&&(0,r.jsx)("div",{className:"upsell-banner--icon",children:(0,r.jsx)("img",{src:t,alt:""})}),(0,r.jsxs)("div",{className:"upsell-banner--content",children:[(0,r.jsxs)("div",{className:"upsell-banner--content-info",children:[(0,r.jsx)("h3",{children:s}),(0,r.jsx)("p",{children:(0,n.createInterpolateElement)(o,{br:(0,r.jsx)("br",{})})})]}),(0,r.jsxs)("div",{className:"upsell-banneLine truncated
__("%1$s - %2$s","jetpack"),e,t),value:t})),{label:__("I want to add a license key manually","jetpack"),value:""}],[s,d]);(0,p.useEffect)(()=>{l(u?.length?u[0].value:"")},[u]);const m=(0,p.useCallback)(e=>{l(e),n(e)},[n]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(a.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,className:t,disabled:i,label:__("Select a license key","jetpack"),value:c,options:u,onChange:m}),!d&&!c&&(0,h.jsx)(a.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,className:t,label:__("Input a license key","jetpack"),value:r,onChange:n,disabled:i})]})},f=e=>{const{activateLicense:t,availableLicenses:s,fetchingAvailableLicenses:o,isActivating:c,license:l,licenseError:f,onLicenseChange:v}=e;(0,p.useEffect)(()=>{i.A.tracks.recordEvent("jetpack_wpa_license_key_activation_view")},[]);const k="string"==typeof f?f?.match(/\[[a-z_]+\]/):null,j=k&&k[0],{ACTIVE_ON_SAME_SITE:b}=u.a,w=b===j,_=(0,p.useMemo)(()=>f?w?"jp-license-activation-screen-controls--license-field-with-success":"jp-license-activation-screen-controls--license-field-with-error":"jp-license-activation-screen-controls--license-field",[f,w]),x=s&&s.length;return(0,h.jsxs)("div",{className:"jp-license-activation-screen-controls",children:[(0,h.jsxs)("div",{className:"jp-license-activation-screen-controls--content",children:[(0,h.jsx)(n.A,{showText:!1,height:48}),(0,h.jsx)("h1",{children:__("Add a license key","jetpack")}),(0,h.jsx)("p",{children:(0,r.createInterpolateElement)(__("<strong>Purchased a plan?</strong><br />Check your email for your license key and paste it below.","jetpack"),{strong:(0,h.jsx)("strong",{}),br:(0,h.jsx)("br",{})})}),o||x?(0,h.jsx)(g,{className:_,disabled:o||c,onChange:v,availableLicenses:o?null:s,value:l}):(0,h.jsx)(m,{className:_,disabled:c,onChange:v,value:l}),f&&(0,h.jsx)(d.A,{licenseError:f,errorType:j})]}),(0,h.jsx)("div",{children:(0,h.jsx)(a.Button,{className:"jp-license-activation-screen-controls--button",onClick:t,disabled:!l,children:c?(0,h.jsx)(a.Spinner,{}):__("Activate","jetpack")})})]})};f.propTypes={activateLicense:l().func.isRequired,availableLicenses:l().array,fetchingAvailableLicenses:l().bool,isActivating:l().bool.isRequired,license:l().string.isRequired,licenseError:l().oneOfType([l().string,l().element]),onLicenseChange:l().func.isRequired,siteUrl:l().string.isRequired};const v=f},18269(e,t,s){"use strict";s.d(t,{a:()=>i});const i={NOT_SAME_OWNER:"[not_same_owner]",ACTIVE_ON_SAME_SITE:"[active_on_same_site]",ATTACHED_LICENSE:"[attached_license]",PRODUCT_INCOMPATIBILITY:"[product_incompatibility]",REVOKED_LICENSE:"[revoked_license]",INVALID_INPUT:"[invalid_input]",MULTISITE_INCOMPATIBILITY:"[multisite_incompatibility]"}},9144(e,t,s){"use strict";s.d(t,{A:()=>d});var i=s(90372),n=s(13109),a=s(84699),r=s(88901),o=s(51609),c=s(18269),l=s(40635),p=(s(56536),s(10790));const d=({licenseError:e,errorType:t})=>{(0,o.useEffect)(()=>{e&&i.A.tracks.recordEvent("jetpack_wpa_license_activation_error_view",{error:e,error_type:t})},[e,t]);const{errorMessage:s,errorInfo:d}=(0,l.d)(e,t);if(!e)return null;const{ACTIVE_ON_SAME_SITE:u}=c.a,h=u===t,m=h?"activation-screen-error__message--success":"activation-screen-error__message--error";return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:`activation-screen-error__message ${m}`,children:[(0,p.jsx)(n.A,{icon:h?r.A:a.A,size:20}),(0,p.jsx)("span",{children:s})]}),d&&(0,p.jsx)("div",{className:"activation-screen-error__info",children:d})]})}},40635(e,t,s){"use strict";s.d(t,{d:()=>l});var i=s(3924),n=s(86087),a=s(27723),r=s(79654),o=s(18269),c=s(10790);const __=a.__,l=(e,t)=>{if(!e)return{errorMessage:null,errorInfo:null};const s=(0,n.createInterpolateElement)(__("Need help? <a>Get in touch</a>.","jetpack"),{a:(0,c.jsx)(r.N,{openInNewTab:!0,href:(0,i.A)("jetpack-support-license-activation"),rel:"noopener noreferrer",children:null})});switch(t){case o.a.NOT_SAME_OWNER:return{errorMessage:__("The account that purchased the plan and the account managing this site are different.","jetpack"),errorInfo:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:(0,n.createInterpolateElement)(__("Follow these <a>steps</a> to resolve it.","jetpack"),{a:(0,c.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:(0,i.A)("jetpack-support-activate-license",{anchor:"different-user"}),children:null})})}),(0,c.jsxs)("ol",{children:[(0,c.jsx)("li",{children:__("Disconnect Jetpack from your site.","jetpack")}),(0,c.jsx)("li",{children:__("Log in to the WordPress.com account that purchased the plan.","jetpack")}),(0,c.jsx)("li",{children:__("Reconnect Jetpack.","jetpack")})]}),(0,c.jsx)("p",{children:s})]})};case o.a.ACTIVE_ON_SAME_SITE:return{errorMessage:__("This license is already active on your site.","jetpack"),errorInfo:null};case o.a.ATTACHED_LICENSE:return{errorMessage:__("This license is already active on another website","jetpack"),errorInfo:(0,c.jsxs)("ul",{children:[(0,c.jsx)("li",{children:(0,n.createInterpolateElement)(Line truncated
__("We’re sorry, %s is not compatible with multisite WordPress installations at this time.","jetpack"),i),errorInfo:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:__("This Jetpack plan doesn’t work with Multisite WordPress setups. Please use it on a single-site installation or consider canceling for a refund.","jetpack")}),(0,c.jsx)("p",{children:s})]})}}default:return{errorMessage:e,errorInfo:(0,c.jsx)("p",{children:s})}}}},5986(e,t,s){"use strict";s.d(t,{A:()=>p});var i=s(3924),n=s(86087),a=s(27723),r=s(28120),o=s.n(r),c=(s(59916),s(10790));const __=a.__,l=e=>{const{imageUrl:t,showSupportLink:s=!1}=e;return(0,c.jsxs)("div",{className:"jp-license-activation-screen-illustration",children:[(0,c.jsx)("div",{className:"jp-license-activation-screen-illustration--wrapper",children:(0,c.jsx)("img",{className:"jp-license-activation-screen-illustration--img",src:t,alt:""})}),s&&(0,c.jsx)("p",{className:"jp-license-activation-screen-illustration--support-link",children:(0,n.createInterpolateElement)(__("Do you need help? <a>Contact us.</a>","jetpack"),{a:(0,c.jsx)("a",{href:(0,i.A)("jetpack-support-license-activation")})})})]})};l.propTypes={imageUrl:o().string.isRequired,showSupportLink:o().bool};const p=l},23806(e,t,s){"use strict";s.d(t,{A:()=>d});var i=s(67142),n=s(28120),a=s.n(n),r=s(48354),o=s(88560),c=s(28547),l=(s(25176),s(10790));const p=e=>{const{productId:t,siteRawUrl:s,siteAdminUrl:n,currentRecommendationsStep:a}=e;return(0,l.jsxs)("div",{className:"jp-license-activation-screen-success-info",children:[(0,l.jsx)("div",{className:"jp-license-activation-screen-success-info--content",children:(0,l.jsx)(i.A,{showText:!1,height:48})}),(0,l.jsx)(o.A,{siteRawUrl:s,productId:t}),(0,l.jsxs)("div",{className:"jp-license-activation-screen-success-info--buttons",children:[(0,l.jsx)(r.F,{currentRecommendationsStep:a,siteAdminUrl:n,siteRawUrl:s,productId:t}),(0,l.jsx)(c.m,{siteRawUrl:s,productId:t})]})]})};p.propTypes={siteRawUrl:a().string,productId:a().number,siteAdminUrl:a().string,currentRecommendationsStep:a().string};const d=p},48354(e,t,s){"use strict";s.d(t,{F:()=>d});var i=s(3924),n=s(56427),a=s(27723),r=s(28120),o=s.n(r),c=s(73010),l=s(21183),p=(s(35588),s(10790));const __=a.__,d=e=>{const{currentRecommendationsStep:t,siteAdminUrl:s,siteRawUrl:a,productId:r}=e,[o,d]=(0,c.A)(),u=e=>o.map(e=>e.name).includes(e),h=(0,l.p)(r),m=u("Jetpack"),g=u("Jetpack Social"),f="jetpack_social_advanced"===h||"jetpack_social_basic"===h,v=u("Jetpack Protect");if(d)return(0,p.jsx)(n.Button,{className:"jp-license-activation-screen-success-info--button",children:(0,p.jsx)(n.Spinner,{})});if(f&&(m||g))return(0,p.jsx)(n.Button,{className:"jp-license-activation-screen-success-info--button",href:s+(m?"admin.php?page=jetpack#/recommendations/"+("jetpack_social_advanced"===h?"welcome-social-advanced":"welcome-social-basic"):"admin.php?page=jetpack-social"),children:__("Configure my site","jetpack")});if("jetpack_scan"===h){const e=v?s+"admin.php?page=jetpack-protect":(0,i.A)("jetpack-license-activation-success-scan",{site:a});return(0,p.jsx)(n.Button,{className:"jp-license-activation-screen-success-info--button",href:e,children:__("View scan results","jetpack")})}return"not-started"===t?(0,p.jsx)(n.Button,{className:"jp-license-activation-screen-success-info--button",href:s+"admin.php?page=jetpack#/recommendations",children:__("Configure my site","jetpack")}):(0,p.jsx)(n.Button,{className:"jp-license-activation-screen-success-info--button",href:(0,i.A)("license-activation-view-my-plans",{site:a}),children:__("View my plans","jetpack")})};d.propTypes={siteAdminUrl:o().string.isRequired,currentRecommendationsStep:o().string,siteRawUrl:o().string.isRequired}},28547(e,t,s){"use strict";s.d(t,{m:()=>p});var i=s(3924),n=s(27723),a=s(79654),r=s(28120),o=s.n(r),c=s(21183),l=(s(10443),s(10790));const __=n.__,p=e=>{const{productId:t,siteRawUrl:s}=e,n={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 my plans","jetpack"),redirectSource:"license-activation-view-my-plans"},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,c.p)(t)];return(0,l.jsx)(l.Fragment,{children:n&&(0,l.jsx)(a.N,{openInNewTab:!0,className:"jp-license-activation-screen-success-info--external-link",href:(0,i.A)(n.redirectSource,{site:s}),children:n.text})})};p.propTypes={siteRawUrl:o().string,productId:o().number}},49051(e,t,s){"use strict";s.d(t,{A:()=>v});var i=s(90372),n=s(5932),a=s(27723),r=s(28120),o=s.n(r),c=s(51609),l=s(59534),p=s(5986),d=s(23806),u=s(47129),h=s(96309),m=s(97139),g=(s(30619),s(10790));const __=a.__,f=e=>{const{availableLicenses:t=[],curreLine truncated
__("Hey, %s","jetpack"),t)}),(0,g.jsx)("h2",{className:m.A.headline,children:__("You have been gifted a Jetpack Golden Token.","jetpack")}),(0,g.jsxs)("p",{children:[d&&__("This unlocked a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience is already active.","jetpack"),!d&&__("This unlocks a lifetime of Jetpack powers for your website. Your exclusive Jetpack Experience awaits.","jetpack")]})]}),(0,g.jsxs)(o.A,{variant:"primary",weight:"regular",onClick:w,className:m.A.button,children:[d&&__("Awesome!","jetpack"),!d&&__("Redeem your token","jetpack")]})]}),(0,g.jsxs)("div",{className:`${m.A["powers-wrap"]} ${m.A["content-wrap"]}`,children:[(0,g.jsxs)("div",{className:m.A["content-wrap-text"],children:[(0,g.jsx)("h2",{className:m.A.headline,children:__("Super powers are ready!","jetpack")}),(0,g.jsx)("p",{className:m.A.paragraph,children:__("Your Jetpack Golden Token provides a lifetime license for this website and includes the following products:","jetpack")})]}),(0,g.jsxs)("div",{className:m.A["jetpack-products"],children:[(0,g.jsxs)("div",{children:[(0,g.jsx)(b,{}),(0,g.jsx)("h3",{children:__("VaultPress Backup","jetpack")}),(0,g.jsx)("p",{children:__("Save every change and get back online quickly with one‑click restores.","jetpack")})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)(j,{}),(0,g.jsx)("h3",{children:_x("Scan","Plugin name (noun).","jetpack")}),(0,g.jsx)("p",{children:__("Automated scanning and one‑click fixes to keep your site ahead of security threats.","jetpack")})]})]}),(0,g.jsx)(o.A,{variant:"primary",weight:"regular",onClick:w,href:window?.myJetpackInitialState?.myJetpackUrl,className:m.A.button,children:__("Explore your new powers","jetpack")})]})]})})})})}v.propTypes={redeemClick:u().func,tokenRedeemed:u().bool,displayName:u().string,onModalClose:u().func};const k=v},41040(e,t,s){"use strict";s.d(t,{b:()=>i.A});var i=s(49051);s(47129)},63673(e,t,s){"use strict";s.d(t,{FALLBACK_CURRENCY:()=>n,FALLBACK_LOCALE:()=>i});s(38443);const i="en",n="USD"},11452(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(63673),n=s(49980),a=s(91167);const r=function(){let e,t,s;const r=()=>{const t="undefined"!=typeof window?window.wp?.date?.getSettings?.()?.l10n?.locale:void 0,s="undefined"!=typeof window?window?.navigator?.language:void 0;return(e??(t||s)??i.FALLBACK_LOCALE).split("_")[0]};return{setLocale:t=>{e=t},setGeoLocation:e=>{t=e},setCurrencyOverrides:e=>{s=e},formatNumber:(e,{decimals:t=0,forceLatin:s=!0,numberFormatOptions:i={}}={})=>{try{return(0,a.j)({browserSafeLocale:r(),decimals:t,forceLatin:s,numberFormatOptions:i}).format(e)}catch{return String(e)}},formatNumberCompact:(e,{decimals:t=0,forceLatin:s=!0,numberFormatOptions:i={}}={})=>{try{return(0,a.c)({browserSafeLocale:r(),decimals:t,forceLatin:s,numberFormatOptions:i}).format(e)}catch{return String(e)}},formatCurrency:(e,i,{stripZeros:a=!1,isSmallestUnit:o=!1,signForPositive:c=!1,forceLatin:l=!0}={})=>(0,n.u)({number:e,currency:i,browserSafeLocale:r(),stripZeros:a,isSmallestUnit:o,signForPositive:c,geoLocation:t,forceLatin:l,currencyOverrides:s}),getCurrencyObject:(e,i,{stripZeros:a=!1,isSmallestUnit:o=!1,signForPositive:c=!1,forceLatin:l=!0}={})=>(0,n.v)({number:e,currency:i,browserSafeLocale:r(),stripZeros:a,isSmallestUnit:o,signForPositive:c,geoLocation:t,forceLatin:l,currencyOverrides:s})}}},3328(e,t,s){"use strict";s.d(t,{J:()=>c});var i=s(10067),n=s.n(i),a=s(63673);const r=n()("number-formatters:get-cached-formatter"),o=new Map;function c({locale:e,fallbackLocale:t=a.FALLBACK_LOCALE,options:s,retries:i=1}){const n=JSON.stringify([e,s]);try{return o.get(n)??o.set(n,new Intl.NumberFormat(e,s)).get(n)}catch(n){if(r(`Intl.NumberFormat was called with a non-existent locale "${e}"; falling back to ${t}`),i)return c({locale:t,options:s,retries:i-1});throw n}}},54268(e,t,s){"use strict";s.d(t,{ZV:()=>o,vA:()=>p,vv:()=>l});const i=(0,s(11452).A)(),{setLocale:n,setGeoLocation:a,setCurrencyOverrides:r,formatNumber:o,formatNumberCompact:c,formatCurrency:l,getCurrencyObject:p}=i},76673(e,t,s){"use strict";s.d(t,{a:()=>i});const i={AED:{symbol:"د.إ.‏"},AFN:{symbol:"؋"},ALL:{symbol:"Lek"},AMD:{symbol:"֏"},ANG:{symbol:"ƒ"},AOA:{symbol:"Kz"},ARS:{symbol:"$"},AUD:{symbol:"A$"},AWG:{symbol:"ƒ"},AZN:{symbol:"₼"},BAM:{symbol:"КМ"},BBD:{symbol:"Bds$"},BDT:{symbol:"৳"},BGN:{symbol:"лв."},BHD:{symbol:"د.ب.‏"},BIF:{symbol:"FBu"},BMD:{symbol:"$"},BND:{symbol:"$"},BOB:{symbol:"Bs"},BRL:{symbol:"R$"},BSD:{symbol:"$"},BTC:{symbol:"Ƀ"},BTN:{symbol:"Nu."},BWP:{symbol:"P"},BYR:{symbol:"р."},BZD:{symbol:"BZ$"},CAD:{symbol:"C$"},CDF:{symbol:"FC"},CHF:{symbol:"CHF"},CLP:{symbol:"$"},CNY:{symbol:"¥"},COP:{symbol:"$"},CRC:{symbol:"₡"},CUC:{symbol:"CUC"},CUP:{symbol:"$MN"},CVE:{symbol:"$"},CZK:{symbol:"Kč"},DJF:{symbol:"Fdj"},DKK:{symbol:"kr."},DOP:{symbol:"RD$"},DZD:{symbol:"د.ج.‏"},EGP:{symbol:"ج.م.‏"},ERN:{symbol:"Nfk"},ETB:{symbol:"ETB"},EUR:{symbol:"€"},FJD:{symbol:"FJ$"},FKP:{symbol:"£"},GBP:{symbol:"£"Line truncated
__("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})]}):(0,p.jsx)(i.A,{}),(0,p.jsx)("div",{className:"jetpack-redeem-partner-coupon-post-connection",children:(0,p.jsxs)("div",{className:"jetpack-redeem-partner-coupon-post-connection__layout",children:[(0,p.jsxs)("div",{className:"jetpack-redeem-partner-coupon-post-connection__content",children:[(0,p.jsx)("div",{className:"jetpack-redeem-partner-coupon-post-connection__logo",children:j}),(0,p.jsx)("h2",{className:"jetpack-redeem-partner-coupon-post-connection__heading",children:__("One free year of Jetpack Backup","jetpack")})]}),(0,p.jsx)("div",{className:"jetpack-redeem-partner-coupon-post-connection__aside",style:{backgroundImage:`url(${r}/images/jetpack-aside-background.jpg)`},children:(0,p.jsx)("img",{src:r+"/images/cloud-checkmark.svg",alt:""})}),(0,p.jsxs)("div",{className:"jetpack-redeem-partner-coupon-post-connection__subcontent",children:[(0,p.jsx)("p",{children:(0,n.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)}),(0,p.jsx)("ul",{children:s.product.features.map((e,t)=>(0,p.jsx)("li",{children:e},t))}),(0,p.jsxs)("div",{className:"jetpack-redeem-partner-coupon-post-connection__actions",children:[(0,p.jsx)("div",{children:(0,p.jsx)(a.$,{onClick:v,children:(0,n.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),s.product.title)})}),(0,p.jsx)("div",{children:(0,p.jsx)("button",{className:"jetpack-redeem-partner-coupon-post-connection__remind-me-later",onClick:k,children:__("Remind me later","jetpack")})})]})]})]})})};h.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 m=h},92938(e,t,s){"use strict";s.d(t,{A:()=>u});var i=s(39384),n=s(27723),a=s(72326),r=s(13022),o=s(28120),c=s.n(o),l=s(78720),p=(s(29392),s(10790));const __=n.__,d=e=>{const{apiNonce:t,apiRoot:s,connectionStatus:o,partnerCoupon:c,assetBaseUrl:d,registrationNonce:u,siteRawUrl:h,tracksUserData:m,analytics:g}=e,f=(0,l.H)(c,h,o,m,g),v=(0,r.A)("jetpack-redeem-partner-coupon-pre-connection",{"jetpack-redeem-partner-coupon-pre-connection--connected":!!o.hasConnectedOwner});return(0,p.jsx)("div",{className:v,children:(0,p.jsxs)(i.ConnectScreen,{apiNonce:t,registrationNonce:u,apiRoot:s,images:["/images/connect-right-partner-backup.png"],assetBaseUrl:d,from:"jetpack-partner-coupon",title:(0,n.sprintf)(/* translators: %s: Jetpack partner name. */
__("Welcome to Jetpack %s traveler!","jetpack"),c.partner.name),buttonLabel:(0,n.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:o,children:[(0,p.jsx)("p",{children:(0,n.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)}),(0,p.jsx)("ul",{children:c.product.features.map((e,t)=>(0,p.jsx)("li",{children:e},t))}),o.hasConnectedOwner&&(0,p.jsx)(a.$,{onClick:f,children:(0,n.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Redeem %s","jetpack"),c.product.title)})]})})};d.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,assetBaseUrl:c().string.isRequired,connectionStatus:c().object.isRequired,partnerCoupon:c().object.isRequired,registrationNonce:c().string.isRequired,siteRawUrl:c().string.isRequired,tracksUserData:c().bool.isRequired,analytics:c().object};const u=d},38745(e,t,s){"use strict";s.d(t,{ry:()=>i.A});var i=s(94263);s(92938),s(65905)},85985(e,t,s){"use strict";s.d(t,{GE:()=>i.A});var i=s(54815);s(41409),s(82034),s(65595),s(53265),s(73489),s(89581),s(58406),s(76923),s(30335),s(87687),s(9061),s(25929),s(5765)},5765(e,t,s){"use strict";s(98490)},30335(e,t,s){"use strict";s(86087)},54815(e,t,s){"use strict";s.d(t,{A:()=>n});var i=s(97999);function n(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:(0,i.getScriptData)()?.site?.suffix??null}},73489(e,t,s){"use strict";var i=s(90372);s(86087);const{tracks:n}=i.A,{recordEvent:a}=n},89581(e,t,s){"use strict";s(47143),s(86087)},76923(e,t,s){"use strict";s(87687),s(47143),s(86087)},58406(e,t,s){"use strict";s(86087)},25929(e,t,s){"use strict";s(47143),s(52619),s(53265),s(89581)},87139(e,t,s){"use strict";s(97999);var i=s(10067),n=s.n(i);window,n()("shared-extension-utils:connection")},9061(e,t,s){"use strict";s(87139)},53265(e,t,s){"use strict";s(97999);var i=s(27723);s(93832),s(54815);const __=i.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},82034(e,t,s){"use strict";s(92279)},41409(e,t,s){"use strict";s(97999)},65595(e,t,s){"use strict";s(29491),s(13371),s(10790)},84705(e,t,s){"use strict";s.d(t,{d6:()=>i.d});var i=s(58992);s(91135)},91135(e,t,s){"use strict";s.d(t,{$:()=>n});var i=s(10790);const n=[{name:"amazon",svg:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)("g",{children:(0,i.jsx)("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.59.59 0 0 0 .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.061zm-.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.015m7.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.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})})})},{name:"apple-podcasts",svg:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20.999 7.986a26 26 0 0 0-.008-.543 8 8 0 0 0-.104-1.182 4 4 0 0 0-.37-1.125 3.8 3.8 0 0 0-1.653-1.652c-.36-.183-.728-.3-1.124-.37a8 8 0 0 0-1.182-.104 25 25 0 0 0-.544-.008q-.322-.003-.645-.002H8.631l-.645.001q-.271.002-.543.008c-.395.011-.793.034-1.183.104a4 4 0 0 0-1.124.37 3.78 3.78 0 0 0-1.652 1.653c-.183.36-.3.728-.37 1.125-.07.39-.094.787-.105 1.181a25 25 0 0 0-.008.544L3 8.63v6.739l.001.645q.002.27.008.543c.011.394.034.792.104 1.182.071.396.188.764.37 1.124a3.78 3.78 0 0 0 1.653 1.652c.36.183.728.3 1.124.37.39.07.788.094 1.183.105q.27.006.543.008L8.63 21h6.739l.645-.001q.27-.001.543-.008a8 8 0 0 0 1.182-.104 4 4 0 0 0 1.124-.37 3.8 3.8 0 0 0 1.652-1.653c.184-.36.3-.728.371-1.124.07-.39.093-.788.104-1.182q.007-.271.008-.543l.001-.646V8.631zm-7.62 6.943a29 29 0 0 1-.231 1.861c-.076.488-.137.75-.193.939-.091.305-.43.572-.96.572-.531 0-.87-.267-.961-.572a7 7 0 0 1-.194-.939 29 29 0 0 1-.23-1.861c-.045-.53-.069-.86-.027-1.245a.76.76 0 0 1 .219-.473c.247-.261.68-.428 1.192-.428s.946.167 1.193.428a.76.76 0 0 1 .219.473c.041.385.018.716-.027 1.245m-3.53-1.279a.24.24 0 0 1 .076.188c-.012.215-.008.425.006.661a.076.076 0 0 1-.118.068 3.87 3.87 0 0 1-1.695-3.253 3.89 3.89 0 0 1 3.723-3.822 3.874 3.874 0 0 1 2.335 7.075.076.076 0 0 1-.118-.068c.014-.236.019-.446.007-.66a.24.24 0 0 1 .075-.189c.61-.572.991-1.385.991-2.285a3.14 3.14 0 0 0-3.26-3.133 3.145 3.145 0 0 0-3.012 3.049c-.025.933.361 1.779.99 2.369m3.492-2.758a1.347 1.347 0 1 1-2.693 0 1.347 1.347 0 0 1 2.693 0m.569 5.932a.077.077 0 0 1-.103-.084q.045-.298.084-.593a.2.2 0 0 1 .117-.156 5.05 5.05 0 0 0 3.033-4.626 5.05 5.05 0 0 0-5.088-5.046c-2.741.022-4.979 2.256-5.005 4.996A5.05 5.05 0 0 0 9.98 15.99a.2.2 0 0 1 .118.157q.039.295.083.593a.077.077 0 0 1-.102.084 5.795 5.795 0 0 1-3.87Line truncated
// translators: Default description for a Facebook post
__("Visit the post for more.","jetpack")]}),(0,h.jsx)("div",{className:"facebook-preview__info",children:(0,h.jsx)(u.A,{name:"info"})})]})})]})]}),(0,h.jsx)(p.A,{})]})}},44381(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(27723),n=s(98714),a=(s(12948),s(10790));const __=i.__,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)(n.A,{name:e}),(0,a.jsx)("span",{children:t})]},e))})},24795(e,t,s){"use strict";s.d(t,{A:()=>o});var i=s(27723),n=s(50513),a=s(98714),r=(s(97498),s(10790));const __=i.__,_x=i._x,o=({user:e,timeElapsed:t,hideOptions:s})=>(0,r.jsxs)("div",{className:"facebook-preview__post-header",children:[(0,r.jsxs)("div",{className:"facebook-preview__post-header-content",children:[(0,r.jsx)(n._,{className:"facebook-preview__post-header-avatar",src:e?.avatarUrl}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"facebook-preview__post-header-name",children:e?.displayName||
// translators: name of a fictional Facebook User
__("Anonymous User","jetpack")}),(0,r.jsxs)("div",{className:"facebook-preview__post-header-share",children:[(0,r.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,r.jsx)("span",{className:"facebook-preview__post-header-dot","aria-hidden":"true",children:"·"}),(0,r.jsx)(a.A,{name:"public"})]})]})]}),!s&&(0,r.jsx)("div",{className:"facebook-preview__post-header-more"})]})},98714(e,t,s){"use strict";s.d(t,{A:()=>n});s(18703);var i=s(10790);const n=({name:e})=>(0,i.jsx)("i",{className:`facebook-preview__post-icon facebook-preview__post-icon-${e}`})},54560(e,t,s){"use strict";s.d(t,{m:()=>p});var i=s(76223),n=s(92917),a=(s(97880),s(10790));const r=160,o=e=>{const t=e.startsWith("https://")?"https://":"http://",s=t+e.replace(t,"").split("/").join(" › ");return(0,i.RA)((0,i.f5)(68),(0,i.ZT)(68))(s)},c=(0,i.RA)((0,i.f5)(63),(0,i.y5)(23,73),(0,i.ZT)(63)),l=(0,i.RA)((0,i.f5)(r),(0,i.y5)(80,170),(0,i.ZT)(r)),p=({description:e="",siteIcon:t,siteTitle:s,title:r="",url:p=""})=>{const d=(0,i.GA)(p);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)(n.F,{className:"search-preview__icon",src:t}),(0,a.jsxs)("div",{className:"search-preview__site",children:[(0,a.jsx)("div",{className:"search-preview__site--title",children:s||d}),(0,a.jsx)("div",{className:"search-preview__url",children:o(p)})]})]}),(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:c(r)}),(0,a.jsx)("div",{className:"search-preview__description",children:l((0,i.$J)(e))})]})})}},76223(e,t,s){"use strict";s.d(t,{$J:()=>u,GA:()=>r,RA:()=>d,ZT:()=>p,f5:()=>c,hV:()=>m,ti:()=>h,x5:()=>f,y5:()=>l});var i=s(86087),n=s(27723),a=s(10790);const r=e=>{const t=e.replace(/^[^/]+:\/\//,""),s=t.indexOf("/");return-1===s?t:t.substring(0,s)},o=e=>Array.from(e).length,c=e=>t=>o(t)<=e&&t,l=(e,t)=>s=>{const i=s.slice(0,t),n=i.lastIndexOf(" ");return n>e&&n<t&&i.slice(0,n).concat("…")},p=e=>t=>{return(s=t,i=0,n=e,Array.from(s).slice(i,n).join("")).concat("…");var s,i,n},d=(...e)=>t=>e.find(e=>!1!==e(t))?.(t),u=(e,t=[])=>{const s=new RegExp(`(<([^${t.join("")}>]+)>)`,"gi");return e?e.replace(s,""):""},h=(e,t)=>new RegExp(`<${t}[^>]*>`,"gi").test(e),m=(new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"short"}).format,new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"2-digit",year:"numeric"}).format,new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format);new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format;const g={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",threads:"https://www.threads.net/search?q=%1$s&serp_type=tags",tumblr:"https://www.tumblr.com/tagged/%1$s",bluesky:"https://bsky.app/hashtag/%1$s"};function f(e,t){const{platform:s,maxChars:r,maxLines:c,hyperlinkHashtags:l=!0,hyperlinkUrls:d="instagram"!==s,hyperlinks:h}=t;let m=u(e);if(m=m.replaceAll(/(?:\s*[\n\r]){2,}/g,"\n\n"),r&&o(m)>r&&(m=p(r)(m)),c){const e=m.split("\n");e.length>c&&(m=e.slice(0,c).join("\n"))}const f={};if(d){(m.match(/(https?:\/\/\S+)/g)||[]).forEach((e,t)=>{f[`Link${t}`]=(0,a.jsx)("a",{href:e,rel:"noopener noreferrer",target:"_blank",children:e}),m=m.replace(e,`<Link${t} />`)})}if(l&&g[s]){const e=m.matchAll(/(^|\s)#(\w+)/g),i=g[s];[...e].forEach(([e,s,r],o)=>{const c=(0,n.sprintf)(i,r,t.hashtagDomain);f[`Hashtag${o}`]=(0,a.jsx)("a",{href:c,rel:"noopener noreferrer",target:"_blank",children:`#${r}`}),m=m.replace(e,`${s}<Hashtag${o} />`)})}if(h?.length){const e=[];h.forEach(({text:t,href:s,occurrence:i=0},n)=>{if(!t)return;const a=((e,t,s)=>{let i=e.indexOf(t);for(;-1!==i&&s>0;)s--,i=e.indexOf(t,i+1);return i})(m,t,i);if(-1===a)return;e.some(e=>a<e.pos+e.text.length&&e.pos<a+t.length)||e.push({pos:a,text:t,href:s,index:n})}),e.sort((e,t)=>t.pos-e.pos);for(const{pos:t,text:s,href:i,index:n}of e){const e=`Hyperlink${n}`;f[e]=(0,a.jsx)("a",{href:i,rel:"noopener noreferrer",target:"_blank"});const r=`<${e}>${s}</${e}>`;m=m.slice(0,t)+r+m.slice(t+s.length)}}return m=m.replace(/\n/g,"<br />"),f.br=(0,a.jsx)("br",{}),(0,i.createInterpolateElement)(m,f)}},83476(e,t,s){"use strict";s.d(t,{f:()=>n});var i=s(10790);function n(e){return(0,i.jsx)("svg",{focusable:"false","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95Line truncated
__("(opens in a new tab)","jetpack")})]})]})]})})}},25444(e,t,s){"use strict";s.d(t,{A:()=>f});var i=s(3924),n=s(27723),a=s(13022),r=s(28120),o=s.n(r),c=s(51609),l=s(84952),p=s(26592),d=s(27326),u=s(53835),h=s(34679),m=s(10790);const __=n.__;class g extends c.Component{static propTypes={inOfflineMode:o().bool.isRequired,siteRawUrl:o().string.isRequired};static defaultProps={inOfflineMode:!1,siteRawUrl:""};trackActivityClick=()=>{u.A.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(0,m.jsxs)("div",{className:"jp-dash-item__interior",children:[(0,m.jsx)(d.A,{label:__("Activity","jetpack"),isModule:!1,className:(0,a.A)({"jp-dash-item__is-inactive":e}),pro:!1,children:(0,m.jsx)("p",{className:"jp-dash-item__description",children:e?__("Unavailable in Offline Mode.","jetpack"):t})}),(0,m.jsx)(p.A,{className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,i.A)("calypso-activity-log",{site:this.props.siteRawUrl}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackActivityClick,children:__("View site activity","jetpack")},"view-activity")]})}}const f=(0,l.Ng)(e=>({inOfflineMode:(0,h.hN)(e)}))(g)},96641(e,t,s){"use strict";s.d(t,{A:()=>N});var i=s(5932),n=s(97999),a=s(54268),r=s(86087),o=s(27723),c=s(28120),l=s.n(c),p=s(51609),d=s(84952),u=s(70386),h=s(26592),m=s(27326),g=s(13867),f=s(5546),v=s(3983),k=s(53835),j=s(6838),b=s(83101),w=s(32819),_=s(34679),x=s(2065),y=s(82656),C=s(10790);const __=o.__,_x=o._x,A=()=>{};class S extends p.Component{static propTypes={siteRawUrl:l().string.isRequired,siteAdminUrl:l().string.isRequired,trackUpgradeButtonView:l().func,akismetData:l().oneOfType([l().string,l().object,l().number]).isRequired,isOfflineMode:l().bool.isRequired,upgradeUrl:l().string.isRequired};static defaultProps={siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:A};trackActivateClick(){k.A.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.Ay.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(){k.A.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"),i={text:__("Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:(0,n.isWoASite)()?null:"https://akismet.com/features",privacyLink:"https://automattic.com/privacy/"},o=()=>{let s;return"not_active"===e?s=(0,r.createInterpolateElement)(__("Already have an API key? <Button>Activate Akismet Anti-spam</Button>.","jetpack"),{Button:(0,C.jsx)(u.A,{className:"jp-link-button",onClick:this.onActivateClick})}):"invalid_key"===e&&(s=(0,r.createInterpolateElement)(__("Already have an API key? <a>Get started</a>.","jetpack"),{a:(0,C.jsx)("a",{href:t+"admin.php?page=akismet-key-config"})})),(0,C.jsx)(v.Ay,{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,j.EP8)(j.pt9),trackBannerDisplay:this.props.trackUpgradeButtonView})};if("N/A"===e)return(0,C.jsx)(m.A,{label:s,module:"akismet",support:i,pro:!0,children:(0,C.jsx)("p",{className:"jp-dash-item__description",children:__("Loading…","jetpack")})});if(["not_installed","not_active","invalid_key"].includes(e)){const e={label:s,module:"akismet",support:i,className:"jp-dash-item__is-inactive",pro:!0};return this.props.hasAntiSpam||this.props.hasAkismet?(0,C.jsx)(m.A,{...e,children:__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")}):this.props.isOfflineMode?(0,C.jsx)(m.A,{...e,children:(0,C.jsx)("p",{className:"jp-dash-item__description",children:__("Unavailable in Offline Mode.","jetpack")})}):(0,C.jsx)(m.A,{...e,overrideContent:o()})}return[(0,C.jsx)(m.A,{label:s,module:"akismet",support:i,status:"is-working",pro:!0,children:(()=>0!==this.props.akismetData?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("h2",{className:"jp-dash-item__count",children:(0,a.ZV)(this.props.akismetData)}),(0,C.jsx)("p",{className:"jp-dash-item__description",children:_x("Spam commentLine truncated
__("Be sure your %1$d posts, %2$d comments, and more information are safely backed up with Jetpack","jetpack"),e,t)})]})},89514(e,t,s){"use strict";s.d(t,{A:()=>L});var i=s(3924),n=s(97999),a=s(38443),r=s(86087),o=s(27723),c=s(13109),l=s(68929),p=s(79654),d=s(28120),u=s.n(d),h=s(51609),m=s(84952),g=s(70386),f=s(26592),v=s(27326),k=s(41286),j=s(64610),b=s(3983),w=s(53835),_=s(6838),x=s(83101),y=s(32819),C=s(34679),A=s(2065),S=s(82656),N=s(77423),T=s(87589),E=s(14801),M=s(10790);const __=o.__,_x=o._x,O=()=>{},P=e=>(0,M.jsx)(v.A,{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,i.A)("jetpack-support-backup")},className:e.className+" dash-backups",status:e.status,pro:!0,overrideContent:e.overrideContent,children:(0,M.jsx)("p",{className:"jp-dash-item__description",children:e.content})});class R extends h.Component{static propTypes={siteRawUrl:u().string.isRequired,getOptionValue:u().func.isRequired,rewindStatus:u().string.isRequired,rewindStatusReason:u().string.isRequired,trackUpgradeButtonView:u().func,vaultPressData:u().any.isRequired,hasBackups:u().bool.isRequired,hasRealTimeBackups:u().bool.isRequired,isOfflineMode:u().bool.isRequired,isVaultPressInstalled:u().bool.isRequired,upgradeUrl:u().string.isRequired,hasConnectedOwner:u().bool.isRequired,backupUndoEvent:u().any.isRequired};static defaultProps={siteRawUrl:"",getOptionValue:O,vaultPressData:"",isOfflineMode:!1,isVaultPressInstalled:!1,rewindStatus:"",trackUpgradeButtonView:O,backupUndoEvent:{}};trackBackupsClick=(e="backups-link")=>function(){w.A.tracks.recordJetpackClick({type:e,target:"at-a-glance",feature:"backups"})};trackRedeemCouponButtonView=()=>{const{partnerCoupon:e}=this.props;w.A.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,i.A)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:s,query:`coupon=${e.coupon_code}`});return(0,M.jsx)(b.Ay,{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,_.EP8)(_.gvR),trackBannerDisplay:this.trackRedeemCouponButtonView})}return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(E.A,{}),(0,M.jsx)(b.Ay,{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,_.EP8)(_.gvR),trackBannerDisplay:n})]})}return(0,M.jsx)(b.Ay,{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,_.EP8)(_.gvR)})}getVPContent(){const{hasBackups:e,isFetchingSite:t,isVaultPressInstalled:s,getOptionValue:n,siteRawUrl:a,vaultPressData:o}=this.props;return n("vaultpress")&&"success"===(o?.code??"")?P({className:"jp-dash-item__is-active",status:"is-working",content:(0,M.jsxs)("span",{children:[o?.message??""," ",(0,r.createInterpolateElement)(__("<a>View backup details</a>.","jetpack"),{a:(0,M.jsx)("a",{href:(0,i.A)("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:(0,M.jsx)("a",{href:(0,i.A)("calypso-plugins-setup",{site:a,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{siteRawUrl:e}=this.props;return(0,M.jsx)(f.A,{compact:!0,className:"jp-dash-item__manage-in-wpcom",children:(0,M.jsxs)("div",{className:"jp-dash-item__action-links",children:[(0,M.jsx)(p.N,{openInNewTab:!0,href:(0,n.isWoASite)()?(0,i.A)("calypso-backups",{site:e}):(0,i.A)("my-jetpack-manage-backup",{site:e}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("backups-link"),children:__("View your site's backups","jetpack")}),(0,M.jsx)(p.N,{openInNewTab:!0,href:(0,i.A)("calypso-activity-log",{site:e,query:"group=rewind"}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("restore-points-link"),children:__("View your most recent restore points","jetpack")})]})},"manage-backups")}getRewindContent(){const{hasRealTimeBackups:e,rewindStatus:t,siteRawUrl:s,backupUndoEventLoaded:n}=this.props,a=(e,t,s)=>(0,M.jsx)(f.A,{compact:!0,className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick(s),children:t},"manage-backups"),o=e=>P({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(t){case"provisioning":return(0,M.jsx)(h.Fragment,{children:o(__("We are configuring your site's backups.","jetpack"))});case"awaiting_credentials":return(0,M.jsxs)(h.Fragment,{children:[o(__("Enter your SSH, SFTP or FTP credentials to enable one-click site restores and faster backups","jetpack")),a((0,i.A)("jetpack-backup-dash-credentials",{site:s}),__("Enter credentials","jetpack"),"enter-credentials-link")]});case"active":{if(n)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. <Link>Learn More</Link>","jetpack"),{Link:(0,M.jsx)(p.N,{openInNewTab:!0,href:(0,i.A)("jetpack-blog-realtime-mechanics"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("realtime-learn-more-link")})})),(0,M.jsxs)(h.Fragment,{children:[o(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():(0,M.jsx)("div",{className:"jp-dash-item",children:this.getRewindContent()})}trackUndoFeatureView(){w.A.tracks.recordEvent("jetpack_wpa_aag_backup_undo_view")}trackUndoButtonClick(){w.A.tracks.recordEvent("jetpack_wpa_aag_backup_undo_button_click")}renderUndo(){const{backupUndoEvent:e}=this.props,{activityDate:t,activityTitle:s,activityDescription:n,actorName:p,actorRole:d,actorAvatarUrl:u,isMcpAgent:h,mcpClient:m,undoBackupId:f}=e,v=(0,a.dateILine truncated
__("via %s (MCP)","jetpack"),m||__("MCP client","jetpack")):d&&" - "+d]})]})]}),(0,M.jsx)("div",{className:"dash-backup-undo__cta",children:(0,r.createInterpolateElement)(__("<button><icon /> Undo</button>","jetpack"),{button:(0,M.jsx)(g.A,{href:(0,i.A)("jetpack-backup-undo-cta",{path:f}),primary:!0,target:"_blank",onClick:this.trackUndoButtonClick}),icon:(0,M.jsx)(c.A,{icon:l.A})})})]});return this.trackUndoFeatureView(),(0,M.jsxs)(M.Fragment,{children:[P({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",overrideContent:k}),this.renderManageBackupsLinks()]})}renderGettingStartedVideo(){return"awaiting_credentials"!==this.props.rewindStatus?null:(0,M.jsx)(T.A,{})}render(){return this.props.showBackups?this.props.isOfflineMode?(0,M.jsx)("div",{className:"jp-dash-item__interior",children:P({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})}):(this.props.isFetchingSite&&this.renderLoading(),(0,M.jsxs)("div",{children:[(0,M.jsx)(j.A,{}),"active"===this.props.rewindStatus&&(0,M.jsx)(k.A,{}),this.renderFromRewindStatus(),this.renderGettingStartedVideo()]})):null}}const L=(0,m.Ng)(e=>({vaultPressData:(0,y.Cc)(e),isOfflineMode:(0,C.hN)(e),isVaultPressInstalled:(0,N.O8)(e,"vaultpress/vaultpress.php"),showBackups:(0,A.Fp)(e),upgradeUrl:(0,x.F)(e,"backup"),hasConnectedOwner:(0,C.BG)(e),isFetchingSite:(0,S.Kb)(e),hasBackups:(0,S.IT)(e,"backups"),hasRealTimeBackups:(0,S.IT)(e,"real-time-backups"),partnerCoupon:(0,A.ly)(e),backupUndoEvent:(0,y.Zc)(e),backupUndoEventLoaded:(0,y._z)(e),backupUndoEventIsFetching:(0,y.j)(e)}),e=>({connectUser:()=>e((0,C.k0)())}))(R)},69043(e,t,s){"use strict";s.d(t,{A:()=>T});var i=s(5932),n=s(58454),a=s(3924),r=s(10580),o=s(86087),c=s(27723),l=s(79654),p=s(13022),d=s(28120),u=s.n(d),h=s(51609),m=s(84952),g=s(63242),f=s(35207),v=s(70557),k=s(53835),j=s(6838),b=s(34679),w=s(2065),_=s(82656),x=s(77423),y=(s(40907),s(10790));const __=c.__,C="admin.php?page=jetpack-boost",A=["jetpack-boost/jetpack-boost.php","jetpack-boost-dev/jetpack-boost.php"],S="jetpack-boost",N=({siteAdminUrl:e,siteConnectionStatus:t,siteUrl:s,apiRoot:a,apiNonce:l,fetchPluginsData:d,fetchingPluginsData:u,isBoostInstalled:m,isBoostActive:g,hasActiveBoostPurchase:b,latestSpeedScores:w={}})=>{const _="offline"===t,[x,N]=(0,h.useState)(!1),[T,P]=(0,h.useState)(!1),[R,L]=(0,h.useState)(!1),[I,D]=(0,h.useState)("C"),[z,U]=(0,h.useState)(1),[F,V]=(0,h.useState)(0),[B,H]=(0,h.useState)(0),[J,W]=(0,h.useState)(!1),q=m&&g,$=!(q||_||u||J),K="Boost",G=()=>{V(w.scores.mobile),H(w.scores.desktop),D((0,n.T)(w.scores.mobile,w.scores.desktop)),U((0,n.US)(1e3*w.timestamp))};(0,h.useEffect)(()=>{w&&(0,n.US)(1e3*w.timestamp)<21?G():(async()=>{if(!_&&!q){N(!0);try{const e=await(0,n.sE)(!0,a,s,l),t=(0,n.T)(e.current.mobile,e.current.desktop);D(t),V(e.current.mobile),H(e.current.desktop),U(0),N(!1)}catch(e){k.A.tracks.recordEvent("jetpack_boost_speed_score_error",{feature:S,position:"at-a-glance",error:e}),w&&w.scores?G():W(!0),N(!1)}}})()},[]);const Y=()=>{switch(I){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 enhances 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")}}},Z=(0,h.useCallback)(()=>{if(!q)return m?L(!0):P(!0),k.A.tracks.recordJetpackClick({target:"boost_instant_tests_install",type:m?"activate":"install",feature:S}),i.Ay.installPlugin(S,"active").then(()=>new Promise(e=>setTimeout(e,2500))).then(()=>d()).finally(()=>{P(!1),L(!1)})},[d,m,q]);return(0,y.jsxs)("div",{className:"dash-boost-speed-score",children:[$?(0,y.jsxs)(y.Fragment,{children:[x?(0,y.jsx)(v.A,{className:"dash-boost-speed-score__section-header",label:K}):(0,y.jsxs)("div",{className:"dash-boost-speed-score__summary",children:[(0,y.jsxs)("div",{children:[(0,y.jsxs)("span",{className:"dash-boost-speed-score__summary-grade",children:[(0,c.sprintf)(
// translators: %s is the letter grade of the site's speed performance.
__("Your site’s speed performance score: %s","jetpack"),I),(0,y.jsx)(E,{})]}),(0,y.jsx)("p",{className:(0,p.A)("dash-boost-speed-score__score-text",["C","D","E","F"].includes(I)?"warning":""),children:(()=>{switch(I){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")}})()})]}),(0,y.jsxs)("div",{children:[(0,y.jsx)("p",{className:"dash-boost-speed-score__last-tested",children:(()=>{switch(z){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,c.sprintf)(
// translators: %s is the number of days since the site was last tested.
__("Your site was tested %s days ago","jetpack"),z)}})()}),(0,y.jsx)("button",{className:"dash-boost-speed-score__install-button-link",onClick:Z,disabled:T||R,children:(()=>{let e;if(!q)return T?e=__("Installing…","jetpack"):R?e=__("Activating…","jetpack"):m&&(e=__("Activate Boost to run instant tests","jetpack")),e??__("Install Boost to run instant tests","jetpack")})()})]})]}),(0,y.jsxs)("div",{className:"dash-boost-speed-score__score-bars",children:[(0,y.jsx)(r.A,{score:F,active:!0,isLoading:x,showPrevScores:!1,scoreBarType:"mobile"}),(0,y.jsx)(r.A,{score:B,active:!0,isLoading:x,showPrevScores:!1,scoreBarType:"desktop"})]})]}):(0,y.jsx)(v.A,{className:"dash-boost-speed-score__section-header",label:K}),(0,y.jsx)("div",{children:(0,y.jsx)(f.A,{pluginName:K,pluginSlug:S,pluginFiles:A,pluginLink:e+C,installOrActivatePrompt:(0,o.createInterpolateElement)((0,c.sprintf)("<b>%1$s<Info/><br/></b>%2$s",Y().top,Y().bottom),{br:(0,y.jsx)("br",{}),b:(0,y.jsx)("b",{}),Info:(0,y.jsx)(M,{})}),installedPrompt:b?__("We’re automatically re-generating your site’s Critical CSS.","jetpack"):(0,o.createInterpolateElement)(__("<a><u>Regenerate your Critical CSS</u> after making changes to your site</a><Info/>","jetpack"),{a:(0,y.jsx)("a",{href:e+C,className:"dash-boost-critical-css-info__text"}),u:(0,y.jsx)("u",{}),Info:(0,y.jsx)(O,{})}),plan:(0,j.EP8)(j.WcS)})})]})};N.propTypes={siteAdminUrl:u().string.isRequired,siteConnectionStatus:u().oneOfType([u().bool,u().string]).isRequired,siteUrl:u().string.isRequired,apiRoot:u().string.isRequired,apiNonce:u().string.isRequired,fetchingPluginsData:u().bool.isRequired,isBoostInstalled:u().bool.isRequired,isBoostActive:u().bool.isRequired,hasActiveBoostPurchase:u().bool.isRequired,latestSpeedScores:u().shape({timestamp:u().number,scores:u().shape({mobile:u().number,desktop:u().number}),theme:u().string})};const T=(0,m.Ng)(e=>({siteConnectionStatus:(0,b.i$)(e),siteUrl:(0,w.XG)(e),apiRoot:(0,w.O3)(e),apiNonce:(0,w.Co)(e),fetchingPluginsData:(0,x.rC)(e),isBoostInstalled:A.some(t=>(0,x.O8)(e,t)),isBoostActive:A.some(t=>(0,x.gT)(e,t)),hasActiveBoostPurchase:(0,_.Z$)(e),latestSpeedScores:(0,w.BG)(e)}),e=>({fetchPluginsData:()=>e((0,x.bR)())}))(N),E=()=>{const e=(0,h.useCallback)(()=>{k.A.tracks.recordJetpackClick({target:"boost-grade-info-button",feature:S})},[]);return(0,y.jsx)("div",{className:"boost-grade-info",children:(0,y.jsxs)(g.A,{onClick:e,screenReaderText:__("Learn more about how this grade is calculated","jetpack"),children:[(0,y.jsx)("p",{className:"boost-grade-info__grades-description",children:__("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")}),(0,y.jsxs)("div",{className:"boost-grade-info__grades-table",children:[(0,y.jsx)("table",{children:(0,y.jsxs)("tbody",{children:[(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"A"}),(0,y.jsx)("td",{children:"90+"})]}),(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"B"}),(0,y.jsx)("td",{children:"75-90"})]}),(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"C"}),(0,y.jsx)("td",{children:"50-75"})]})]})}),(0,y.jsx)("table",{children:(0,y.jsxs)("tbody",{children:[(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"D"}),(0,y.jsx)("td",{children:"35-50"})]}),(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"E"}),(0,y.jsx)("td",{children:"25-35"})]}),(0,y.jsxs)("tr",{children:[(0,y.jsx)("th",{children:"F"}),(0,y.jsx)("td",{children:"0-25"})]})]})})]})]})})},M=()=>{const e=(0,h.useCallback)(()=>{k.A.tracks.recordJetpackClick({target:"boost-conversion-loss-info-button",feature:S})},[]),t=(0,h.useCallback)(()=>{k.A.tracks.recordJetpackClick({target:"boost-conversion-loss-info-source",feature:S})},[]);return(0,y.jsx)("div",{className:"boost-conversion-loss-info",children:(0,y.jsx)(g.A,{onClick:e,screenReaderText:__("Learn more about how slow sites lose visitors","jetpack"),children:(0,y.jsxs)("p",{className:"boost-conversion-loss-info__source",children:[__("Source:","jetpack")," ",(0,y.jsx)(l.N,{openInNewTab:!0,href:"https://web.dev/why-speed-matters/",target:"_blank",rel:"noopener noreferrer",onClick:t,children:"web.dev"})]})})})},O=()=>{const e=(0,a.A)("jetpack-boost-critical-css"),t=(0,h.useCallback)(()=>{k.A.tracks.recordJetpackClick({target:"boost-critical-css-info-button",feature:S})},[]),s=(0,h.useCallback)(()=>{k.A.tracks.recordJetpackClick({target:"boost-critical-css-info-link",feature:S})},[]);return(0,y.jsx)("div",{className:"boost-critical-css-info",children:(0,y.jsxs)(g.A,{onClick:t,screenReaderText:__("Learn more about how critical CSS works","jetpack"),children:[(0,y.jsx)("h3",{className:"boost-critical-css-info__title",children:__("Get automated Critical CSS","jetpack")}),(0,y.jsx)("p",{children:(0,o.createInterpolateElement)(__("You should regenerate <Link>Critical CSS</Link> to optimize speed whenever your site’s HTML or CSS structure changes after:","jetpack"),{Link:(0,y.jsx)(Line truncated
__("The connection owner is %s.","jetpack"),this.props.isConnectionOwnerName)}),this.props.userCanDisconnectSite?(0,f.jsx)("div",{className:"jp-connection-settings__actions",children:(0,f.jsx)(p.A,{asLink:!0,autoOpenInDisconnectRoute:!0})}):(0,f.jsx)("div",{className:"jp-connection-settings__actions",children:(0,f.jsx)("span",{children:__("This site is connected to WordPress.com.","jetpack")})})]})]})})),e}userConnection(){const e=!((0,i.isWoASite)()&&this.props.isConnectionOwner),t=(0,f.jsx)(p.A,{asBanner:!0,connectUser:!0,from:"connection-settings"});if(this.props.isOfflineMode)return(0,f.jsxs)("div",{className:"jp-connection-settings__info",children:[this.props.userGravatar?(0,f.jsx)("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.userGravatar}):(0,f.jsx)(h.A,{icon:"user",size:64}),(0,f.jsx)("div",{className:"jp-connection-settings__text",children:__("The site is in Offline Mode, so you cannot connect to WordPress.com.","jetpack")})]});let s;return s=this.props.isLinked?this.props.isFetchingUserData?__("Loading…","jetpack"):this.props.wpComConnectedUser?.email?(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{className:"jp-connection-settings__info",children:[(0,f.jsx)("img",{alt:"gravatar",width:"64",height:"64",className:"jp-connection-settings__gravatar",src:this.props.wpComConnectedUser.avatar}),(0,f.jsxs)("div",{className:"jp-connection-settings__text",children:[(0,n.createInterpolateElement)((0,a.sprintf)(/* translators: %s: the WordPress user login name. */
__("Connected as <span>%s</span>","jetpack"),this.props.wpComConnectedUser.login),{span:(0,f.jsx)("span",{className:"jp-connection-settings__username"})}),(0,f.jsx)("div",{className:"jp-connection-settings__email",children:this.props.wpComConnectedUser.email})]})]}),e&&(0,f.jsx)("div",{className:"jp-connection-settings__actions",children:t})]}):(0,f.jsx)("div",{children:(0,f.jsxs)("div",{className:"jp-connection-settings__info",children:[(0,f.jsx)(h.A,{icon:"user",size:64}),(0,f.jsx)("div",{className:"jp-connection-settings__text",children:__("Failed to fetch connection data, please try again later.","jetpack")})]})}):(0,f.jsx)("div",{className:"jp-connection-settings__info",children:t}),s}render(){return(0,f.jsxs)("div",{children:[(0,f.jsx)(u.A,{}),(0,f.jsxs)("div",{className:"jp-at-a-glance__item-grid",children:[(0,f.jsx)("div",{className:"jp-at-a-glance__left",children:(0,f.jsx)("div",{className:"jp-dash-item__interior",children:(0,f.jsx)(d.A,{className:"jp-connection-type",label:_x("Site connection","Dashboard widget header","jetpack"),children:this.siteConnection()})})}),this.props.userCanConnectAccount&&(0,f.jsx)("div",{className:"jp-at-a-glance__right",children:(0,f.jsx)("div",{className:"jp-dash-item__interior",children:(0,f.jsx)(d.A,{className:"jp-connection-type",label:_x("Account connection","Dashboard widget header","jetpack"),children:this.userConnection()})})})]})]})}}v.propTypes={siteConnectionStatus:o().any.isRequired,isOfflineMode:o().bool.isRequired,userCanDisconnectSite:o().bool.isRequired,isConnectionOwner:o().bool.isRequired,isLinked:o().bool.isRequired,userGravatar:o().any.isRequired,username:o().any.isRequired};const k=(0,l.Ng)(e=>({siteConnectionStatus:(0,m.i$)(e),isOfflineMode:(0,m.hN)(e),userCanDisconnectSite:(0,g.xQ)(e),userCanConnectAccount:(0,g.Lv)(e),userGravatar:(0,g.Qz)(e),username:(0,g.TO)(e),isConnectionOwner:(0,m.uQ)(e),isConnectionOwnerName:(0,m.ph)(e),isLinked:(0,m._U)(e),siteIcon:(0,g.ZE)(e),isFetchingUserData:(0,m.eR)(e),wpComConnectedUser:(0,m.vn)(e)}))(v)},8506(e,t,s){"use strict";s.d(t,{A:()=>g});var i=s(3924),n=s(86087),a=s(27723),r=s(79654),o=s(28120),c=s.n(o),l=s(51609),p=s(74180),d=s(6838),u=s(10790);const __=a.__,h=["zero-bs-crm/ZeroBSCRM.php"];class m extends l.Component{static propTypes={siteAdminUrl:c().string.isRequired};render(){return(0,u.jsx)(p.A,{pluginName:"CRM",pluginFiles:h,pluginSlug:"zero-bs-crm",pluginLink:this.props.siteAdminUrl+"admin.php?page=zerobscrm-dash",installOrActivatePrompt:(0,n.createInterpolateElement)(__("Sell more and get more leads with the free Jetpack CRM plugin built specifically for WordPress.<br /><Link>Learn more</Link>","jetpack"),{Link:(0,u.jsx)(r.N,{openInNewTab:!0,href:(0,i.A)("stats-nudges-crm-learn")}),br:(0,u.jsx)("br",{})}),plan:d.DGp})}}const g=m},71803(e,t,s){"use strict";s.d(t,{A:()=>z});var i=s(50723),n=s(38745),a=s(97999),r=s(27723),o=s(66087),c=s(51609),l=s(84952),p=s(25250),d=s(37049),u=s(69326),h=s(63109),m=s(37866),g=s(63344),f=s(53835),v=s(34679),k=s(2065),j=s(26508),b=s(76358),w=s(25444),_=s(96641),x=s(89514),y=s(69043),C=s(98668),A=s(8506),S=s(57282),N=s(56249),T=s(83889),E=s(63214),M=s(95916),O=s(55367),P=s(56773),R=s(64123),L=s(13157),I=s(10790);const __=r.__;class D extends c.Component{trackSecurityClick=()=>f.A.tracks.recordJetpackClick("aag_manage_security_wpcom");trackUpgradeButtonView=(e="")=>()=>f.A.tracks.recordEvent("jetpack_wpa_aag_upgrade_button_view",{feature:e});shouldAddCard=(e,t=!1)=>{const s="inactive"!==this.props.getModuleOverride(e),i=!t||this.props.isModuleAvailable(e);return s&&i};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=(0,I.jsx)(p.A,{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}),r=(0,I.jsxs)("div",{children:[(0,I.jsx)(p.A,{label:__("Connections","jetpack"),className:"jp-dash-section-header__connections"}),(0,I.jsx)(C.A,{})]}),o=this.props.rewindStatus?.state??"",c=this.props.rewindStatus?.reason??"",l=[],g=!this.props.fetchingScanStatus&&"vp_active_on_site"===this.props.scanStatus?.reason;if((0,a.isWoASite)()||this.props.multisite&&!g||l.push((0,I.jsx)(M.A,{...e,...t,trackUpgradeButtonView:this.trackUpgradeButtonView("scan")})),l.push((0,I.jsx)(_.A,{...t,trackUpgradeButtonView:this.trackUpgradeButtonView("akismet")})),this.shouldAddCard("protect",!0)&&l.push((0,I.jsx)(E.A,{...e})),this.shouldAddCard("monitor",!0)&&l.push((0,I.jsx)(N.A,{...e})),"active"===o&&l.unshift((0,I.jsx)(w.A,{...e,siteRawUrl:this.props.siteRawUrl})),this.props.userCanManageModules){const a=!this.props.multisite&&!this.props.isOfflineMode&&this.props.hasLine truncated
_n("%s View","%s Views",e.bestDay.count,"jetpack"),(0,n.ZV)(e.bestDay.count))}),e.bestDay.day&&(0,v.jsx)("p",{className:"jp-at-a-glance__stat-details",children:"-"===e.bestDay.day?"-":(0,a.dateI18n)(this.props.dateFormat,e.bestDay.day)})]}),(0,v.jsxs)("div",{className:"jp-at-a-glance__stats-summary-alltime-views",children:[(0,v.jsx)("p",{className:"jp-at-a-glance__stat-details",children:_x("All-time views","Referring to a number of page views","jetpack")}),(0,v.jsx)("h3",{className:"jp-at-a-glance__stat-number",children:"-"===e.allTime.views?"-":(0,n.ZV)(e.allTime.views)})]}),(0,v.jsxs)("div",{className:"jp-at-a-glance__stats-summary-alltime-comments",children:[(0,v.jsx)("p",{className:"jp-at-a-glance__stat-details",children:_x("All-time comments","Referring to a number of comments","jetpack")}),(0,v.jsx)("h3",{className:"jp-at-a-glance__stat-number",children:"-"===e.allTime.comments?"-":(0,n.ZV)(e.allTime.comments)})]})]}),(0,v.jsxs)("div",{className:"jp-at-a-glance__stats-cta",children:[(0,v.jsx)("div",{className:"jp-at-a-glance__stats-cta-description"}),(0,v.jsxs)("div",{className:"jp-at-a-glance__stats-ctas",children:[(0,r.createInterpolateElement)(__("<button>View detailed stats</button>","jetpack"),{button:(0,v.jsx)(m.A,{href:this.props.siteAdminUrl+"admin.php?page=stats",onClick:this.trackViewDetailedStats,primary:!0})}),this.props.isLinked&&!this.props.isOdysseyStatsEnabled&&(0,r.createInterpolateElement)(__("<Link>View on WordPress.com</Link>","jetpack"),{Link:(0,v.jsx)(c.N,{openInNewTab:!0,onClick:this.trackViewWpcomStats,href:(0,i.A)("calypso-stats-insights",{site:this.props.siteRawUrl}),rel:"noopener noreferrer",target:"_blank",className:(0,l.A)("jp-at-a-glance__stats-ctas-wpcom-stats",this.props.className)})})]})]})]})}}k.propTypes={siteRawUrl:d().string.isRequired,siteAdminUrl:d().string.isRequired,statsData:d().object.isRequired,isLinked:d().bool.isRequired,dateFormat:d().string.isRequired},k.defaultProps={siteRawUrl:"",siteAdminUrl:"",statsData:{},isLinked:!1,dateFormat:"F j, Y"};const j=(0,h.Ng)(e=>({isOdysseyStatsEnabled:(0,f.jh)(e)}))(k)},64123(e,t,s){"use strict";s.d(t,{A:()=>M});var i=s(67142),n=s(3924),a=s(54268),r=s(56427),o=s(38443),c=s(86087),l=s(27723),p=s(79654),d=s(66087),u=s(28120),h=s.n(u),m=s(51609),g=s(84952),f=s(70386),v=s(26592),k=s(21350),j=s(25250),b=s(97066),w=s(45078),_=s(53835),x=s(32819),y=s(34679),C=s(2065),A=s(26508),S=s(30138),N=s(46145),T=s(10790);const __=l.__;class E extends m.Component{static propTypes={isOfflineMode:h().bool.isRequired,siteRawUrl:h().string.isRequired,siteAdminUrl:h().string.isRequired,statsData:h().any.isRequired,isModuleAvailable:h().bool.isRequired};constructor(e){super(e),this.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed}}shouldLinkToWpcomStats(){return!this.props.isOdysseyStatsEnabled}barClick=e=>{e.data.link&&(_.A.tracks.recordJetpackClick("stats_bar"),window.open(e.data.link,this.props.isOdysseyStatsEnabled?"_self":"_blank"))};statsChart(e){const{siteAdminUrl:t,siteRawUrl:s,statsData:i}=this.props,r=[];if("object"!=typeof i[e])return{chartData:r,totalViews:!1};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");for(const h of i[e].data??[]){const i=h[1];let m=h[0],g="",f="";"week"===e&&(m=m.replace(/W/g,"-")),m=new Date(`${m}T00:00:00Z`).toISOString(),c+=i,"day"===e?(g=(0,o.gmdateI18n)(p,m),f=(0,o.gmdateI18n)(d,m)):"week"===e?(g=(0,o.gmdateI18n)(p,m),f=(0,l.sprintf)(/* translators: %s: a date. */
__("Week of %s","jetpack"),(0,o.gmdateI18n)(d,m))):"month"===e&&(g=(0,o.gmdateI18n)("M",m),f=(0,o.gmdateI18n)(u,m)),r.push({label:g,value:i,nestedValue:null,className:"statsChartbar",data:{link:this.shouldLinkToWpcomStats()?(0,n.A)(`calypso-stats-${e}`,{site:s,query:`startDate=${m}`}):`${t}admin.php?page=stats#!/stats/day/${s}?startDate=${m}`},tooltipData:[{label:f,value:(0,l.sprintf)(/* translators: %s: the number of views */
__("Views: %s","jetpack"),(0,a.ZV)(i)),className:"tooltip class"}]})}return{chartData:r,totalViews:c}}statsErrors(){return this.props.statsData?.general?.errors??!1}renderStatsChart(e){return(0,T.jsxs)("div",{className:"jp-at-a-glance__stats-chart-container",children:[(0,T.jsxs)("div",{className:"jp-at-a-glance__stats-chart",children:[(0,T.jsx)(k.A,{data:e,barClick:this.barClick}),0===e.length&&(0,T.jsx)(r.Spinner,{})]}),(0,T.jsx)("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom",children:(0,T.jsx)(N.A,{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(0,T.jsx)(v.A,{className:"jp-at-a-glance__stats-empty-container",children:(0,T.jsxs)("div",{className:"jp-at-a-glance__stats-empty",children:[(0,T.jsx)(i.A,{height:64,showText:!1}),(0,T.jsxs)("p",{children:[__("Hello there! Jetpack Stats has been activated.","jetpack"),(0,T.jsx)("br",{}),__("Just give us a little time to collect data so we can display it for you here.","jetpack")]}),(0,T.jsx)(f.A,{onClick:this.dismissCard,primary:!0,children:__("Okay, got it!","jetpack")})]})})}activateStats=e=>{this.props.updateOptions({stats:!0}),e.preventDefault()};renderStatsArea(){if(this.props.getOptionValue("stats")){if(this.statsErrors())return(0,T.jsx)("div",{className:"jp-at-a-glance__stats-inactive",children:(0,T.jsx)("span",{children:(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:(0,T.jsx)("a",{href:(0,n.A)("calypso-stats-insights",{site:this.props.siteRawUrl})})})})});const e=this.statsChart(this.props.activeTab),t=e.chartData,s=e.totalViews,i=t.length&&s<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return(0,T.jsxs)("div",{className:"jp-at-a-glance__stats-container"+(i&&" jp-at-a-glance__stats-container-empty"),children:[i?this.renderEmptyStatsCard():"",this.renderStatsChart(t)]})}return(0,T.jsxs)("div",{className:"jp-at-a-glance__stats-inactive",children:[(0,T.jsx)("div",{className:"jp-at-a-glance__stats-inactive-icon",children:(0,T.jsx)(i.A,{height:40,showText:!1})}),(0,T.jsx)("div",{className:"jp-at-a-glance__stats-inactive-text",children:this.props.isOfflineMode?__("Unavailable in Offline Mode","jetpack"):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)("h3",{children:[" ",__("Activate Jetpack Stats","jetpack")]}),(0,c.createInterpolateElement)(__("Get insights on page views, likes, subscribers, and more! <a1>Learn More</a1>","jetpack"),{a1:(0,T.jsx)(p.N,{openInNewTab:!0,href:(0,n.A)("jetpack-support-wordpress-com-stats"),target:"_blank",rel:"noopener noreferrer"})})]})}),!this.props.isOfflineMode&&(0,T.jsx)("div",{className:"jp-at-a-glance__stats-inactive-button",children:(0,T.jsx)(f.A,{onClick:this.activateStats,primary:!0,children:__("Activate Stats","jetpack")})})]})}switchTo(e){_.A.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()?(0,T.jsxs)("ul",{className:"jp-at-a-glance__stats-views",children:[(0,T.jsx)("li",{className:"jp-at-a-glance__stats-view",children:(0,T.jsx)("a",{tabIndex:"0",href:"#",onClick:this.switchToDay,className:this.getClass("day"),children:__("Days","jetpack")})}),(0,T.jsx)("li",{className:"jp-at-a-glance__stats-view",children:(0,T.jsx)("a",{tabIndex:"0",href:"#",onClick:this.switchToWeek,className:this.getClass("week"),children:__("Weeks","jetpack")})}),(0,T.jsx)("li",{className:"jp-at-a-glance__stats-view",children:(0,T.jsx)("a",{tabIndex:"0",href:"#",onClick:this.switchToMonth,className:this.getClass("month"),children:__("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")?(0,T.jsx)("div",{children:(0,T.jsx)(w.A,{moduleName:"Jetpack Stats"})}):this.props.isModuleAvailable&&(0,T.jsxs)("div",{children:[(0,T.jsx)(b.A,{range:this.props.activeTab}),(0,T.jsx)(j.A,{label:__("Jetpack Stats","jetpack"),className:"jp-dash-section-header-stats",children:this.maybeShowStatsTabs()}),(0,T.jsx)(v.A,{className:"jp-at-a-glance__stats-card "+(this.props.isOfflineMode?"is-inactive":""),children:this.renderStatsArea()})]})}}const M=(0,g.Ng)(e=>({isModuleAvailable:(0,A.gp)(e,"stats"),aLine truncated
__("Using <strong>%dGB</strong> of 1TB","jetpack"),Math.round(f/1024)),{strong:(0,j.jsx)("strong",{})})})]})]}),k&&(0,j.jsx)(h.Ay,{className:"media__videopress-upgrade",callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:b,disableHref:"false",eventFeature:"videopress",path:"dashboard",plan:(0,m.EP8)(m.SyV),feature:"jetpack_videopress",href:g,trackBannerDisplay:this.props.trackUpgradeButtonView})]})}):(0,j.jsx)(u.A,{label:e,module:"videopress",support:t,className:"jp-dash-item__is-inactive",noToggle:!s,overrideContent:s||p?null:(0,j.jsx)(h.Ay,{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,m.EP8)(m.SyV)}),children:(0,j.jsx)("p",{className:"jp-dash-item__description",children:p?__("Unavailable in Offline Mode","jetpack"):(0,a.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:(0,j.jsx)(d.A,{className:"jp-link-button",onClick:this.activateVideoPress})})})})}render(){return this.props.isModuleAvailable&&this.getContent()}}const _=(0,p.Ng)(e=>({hasConnectedOwner:(0,f.BG)(e),hasVideoPressFeature:(0,k.IT)(e,"videopress-1tb-storage")||(0,k.IT)(e,"videopress-unlimited-storage")||(0,k.IT)(e,"videopress"),hasVideoPressUnlimitedStorage:(0,k.IT)(e,"videopress-unlimited-storage"),isModuleAvailable:(0,v.gp)(e,"videopress"),isOffline:(0,f.hN)(e),isFetching:(0,k.SN)(e),sitePlan:(0,k.X6)(e),upgradeUrl:(0,g.F)(e,"videopress"),videoPressStorageUsed:(0,k.$U)(e)}),e=>({connectUser:()=>e((0,f.k0)())}))(w)},77699(e,t,s){"use strict";s.d(t,{A:()=>c});var i=s(20428),n=s.n(i),a=s(51609),r=s(10790);class o extends a.Component{adminNoticesRef=(0,a.createRef)();componentDidMount(){const e=n()(this.adminNoticesRef.current),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 i=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(i),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 i=n()(".woocommerce-message");i.length>0&&i.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(Line truncated
__("This feature is provided by the WordPress.com cloud. %s","jetpack"),n)}),(0,u.jsx)(l.A,{connectUser:!0,from:o,connectLegend:__("Connect your WordPress.com account","jetpack"),customConnect:d,rna:!0,compact:!0})]})};h.propTypes={text:a().string.isRequired,feature:a().string,featureLabel:a().string};const m=(0,o.Ng)(null,e=>({doConnectUser:(t,s)=>e((0,d.k0)(t,s))}))(h)},94197(e,t,s){"use strict";s.d(t,{A:()=>f});var i=s(27723),n=s(88050),a=s(42472),r=s(61868),o=s(61475),c=s(64905),l=s(28120),p=s.n(l),d=s(51609),u=s(84952),h=s(34679),m=s(10790);const __=i.__;class g extends d.Component{static propTypes={title:p().string.isRequired,description:p().node,from:p().string};handleClick=()=>{this.props.doConnectUser(null,this.props.from)};render(){const{description:e,title:t}=this.props;return(0,m.jsxs)(n.b,{intent:"info",children:[(0,m.jsx)(a.h,{children:t}),(0,m.jsx)(r.V,{children:e}),(0,m.jsx)(o.E,{children:(0,m.jsx)(c.r,{onClick:this.handleClick,children:__("Connect your WordPress.com account","jetpack")})})]})}}const f=(0,u.Ng)(e=>e,e=>({doConnectUser:(t,s)=>e((0,h.k0)(t,s))}))(g)},49990(e,t,s){"use strict";s.d(t,{A:()=>g});var i=s(67142),n=s(85879),a=s(39384),r=s(56427),o=s(86087),c=s(27723),l=s(28120),p=s.n(l),d=s(51609),u=s(53835),h=(s(84248),s(10790));const __=c.__,m=e=>{const{title:t,logo:s,children:c,className:l,buttonLabel:p,apiRoot:m,apiNonce:g,redirectUri:f,redirectTo:v,autoTrigger:k,isSiteConnected:j,setHasSeenWCConnectionModal:b}=e;(0,d.useEffect)(()=>{b()},[b]);const w=(0,d.useCallback)(()=>{u.A.tracks.recordJetpackClick("contextualized_connection_continue_button")},[]);return(0,h.jsxs)("div",{className:"jp-contextualized-connection"+(l?" "+l:""),children:[(0,h.jsxs)("div",{className:"jp-contextualized-connection__content",children:[(0,h.jsx)("div",{className:"jp-contextualized-connection__logo",children:s||(0,h.jsx)(i.A,{})}),(0,h.jsx)("h2",{children:t}),c,j&&(0,h.jsx)(r.Button,{variant:"primary",className:"jp-contextualized-connection__button",label:__("Continue to Jetpack","jetpack"),href:v,onClick:w,children:__("Continue to Jetpack","jetpack")}),!j&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(a.ConnectButton,{autoTrigger:k,apiRoot:m,apiNonce:g,registrationNonce:"",redirectUri:f,connectLabel:p}),(0,h.jsx)("div",{className:"jp-contextualized-connection__tos",children:(0,h.jsx)(n.A,{agreeButtonLabel:p})})]})]}),(0,h.jsxs)("footer",{className:"jp-contextualized-connection__footer",children:[(0,h.jsxs)("div",{className:"jp-contextualized-connection__footer-row",children:[(0,h.jsxs)("div",{className:"jp-contextualized-connection__footer-column",children:[(0,h.jsx)("h3",{children:__("Security tools","jetpack")}),(0,h.jsxs)("ul",{className:"jp-contextualized-connection__feature-list",children:[(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> downtime monitoring","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> brute force attack prevention","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:__("Full store & order backups","jetpack")}),(0,h.jsx)("li",{children:__("Automated malware scanning","jetpack")}),(0,h.jsx)("li",{children:__("Comment and form spam protection","jetpack")})]})]}),(0,h.jsxs)("div",{className:"jp-contextualized-connection__footer-column",children:[(0,h.jsx)("h3",{children:__("Performance tools","jetpack")}),(0,h.jsxs)("ul",{className:"jp-contextualized-connection__feature-list",children:[(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> Content Delivery Network (CDN)","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> SEO tools","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:__("Instant site search","jetpack")}),(0,h.jsx)("li",{children:__("Ad-free WordPress video hosting","jetpack")})]})]}),(0,h.jsxs)("div",{className:"jp-contextualized-connection__footer-column",children:[(0,h.jsx)("h3",{children:__("Growth tools","jetpack")}),(0,h.jsxs)("ul",{className:"jp-contextualized-connection__feature-list",children:[(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> site stats","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> social media tools","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:(0,o.createInterpolateElement)(__("<strong>Free</strong> related posts","jetpack"),{strong:(0,h.jsx)("strong",{})})}),(0,h.jsx)("li",{children:__("Accept payments","jetpack")}),(0,h.jsx)("li",{children:__("Ad network access","jetpack")})]})]})]}),(0,h.jsx)("div",{className:"jp-contextualized-connection__footer-bottom-title",children:__("More than 5 million WordPress sites trust Jetpack for their website security and performance.","jetpack")})]})]})};m.propTypes={title:p().string,className:p().string,buttonLabeLine truncated
__("Version %s","jetpack"),t),href:(0,i.A)("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.A)(this.resetOnClick),onClick:this.resetOnClick}),this.props.isDevVersion&&s.push({label:_x("Dev Tools","Navigation item.","jetpack"),role:"button",onKeyDown:(0,f.A)(this.props.enableDevCard),onClick:this.props.enableDevCard}),(0,v.jsx)(a.Ay,{children:(0,v.jsxs)("div",{className:(0,c.A)("jp-footer",e),children:[(0,v.jsx)("div",{className:"jp-footer__container",children:(0,v.jsx)(n.A,{menu:s})}),this.props.isDevVersion&&this.props.displayDevCard&&(0,v.jsx)(d.A,{})]})})}}const j=(0,p.Ng)(e=>({currentVersion:(0,g.Mj)(e),displayDevCard:(0,m.M4)(e),isDevVersion:(0,g.gF)(e),isInIdentityCrisis:(0,h.T$)(e),siteConnectionStatus:(0,h.i$)(e),userCanManageOptions:(0,g.hN)(e)}),e=>({resetOptions:()=>e((0,m.yB)("options")),enableDevCard:()=>e((0,m.$K)())}))(k)},94025(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(13022),n=s(28120),a=s.n(n),r=s(51609),o=s(31497),c=(s(25097),s(10790));class l extends r.Component{static displayName="FormInputValidation";static propTypes={isError:a().bool,isWarning:a().bool,text:a().node,icon:a().string};static defaultProps={isError:!1};render(){const e=(0,i.A)({"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(0,c.jsx)("div",{className:e,children:(0,c.jsxs)("span",{children:[(0,c.jsx)(o.A,{size:24,icon:this.props.icon?this.props.icon:t})," ",this.props.text]})})}}},34484(e,t,s){"use strict";s.d(t,{A:()=>u});var i=s(39612),n=s.n(i),a=s(13022),r=s(28120),o=s.n(r),c=s(51609),l=s(70386),p=s(10790);const d=()=>{};class u extends c.Component{static displayName="ClipboardButton";static propTypes={className:o().string,text:o().string,prompt:o().string,onCopy:o().func,rna:o().bool};static defaultProps={onCopy:d,rna:!1};buttonRef=(0,c.createRef)();componentDidMount(){const e=this.buttonRef.current.domNode;this.clipboard=new(n())(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=(0,a.A)("dops-clipboard-button",this.props.className);return(0,p.jsx)(l.A,{rna:this.props.rna,ref:this.buttonRef,...Object.fromEntries(Object.entries(this.props).filter(([e])=>!Object.hasOwn(this.constructor.propTypes,e))),className:e})}}},62413(e,t,s){"use strict";s.d(t,{A:()=>o});var i=s(13022),n=s(51609),a=s(38970),r=s(10790);class o extends n.Component{static displayName="CompactFormToggle";render(){return(0,r.jsx)(a.A,{...this.props,className:(0,i.A)(this.props.className,"is-compact"),children:this.props.children})}}},38970(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(13022),n=s(28120),a=s.n(n),r=s(51609),o=s(61933),c=(s(88124),s(10790));class l extends r.Component{static propTypes={onChange:a().func,onKeyDown:a().func,checked:a().bool,disabled:a().bool,id:a().string,className:a().string,toggling:a().bool,"aria-label":a().string,children:a().node,disabledReason:a().node};static defaultProps={checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledPopoverPosition:"bottom",disabledReason:""};toggleSwitchRef=(0,r.createRef)();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=()=>(0,c.jsx)(o.A,{isVisible:this.state.showPopover,context:this.toggleSwitcLine truncated
__("The %s constant is defined","jetpack"),"JETPACK_DEV_DEBUG")),e.wpLocalConstant&&t.push((0,a.sprintf)(/* translators: %s: a PHP 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")),e.option&&t.push(__("The jetpack_offline_mode option is active","jetpack"));const s=(0,n.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:(0,A.jsx)("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"}),reasons:(0,A.jsx)("ul",{children:t.map((e,t)=>(0,A.jsx)("li",{children:e},t))})});return(0,A.jsx)(m.A,{showDismiss:!1,status:"is-info",text:s,children:(0,A.jsx)(g.A,{href:(0,i.A)("jetpack-support-development-mode"),children:__("Learn More","jetpack")})})}return!1}}N.propTypes={siteConnectionStatus:o().oneOfType([o().string,o().bool]).isRequired,siteOfflineMode:o().oneOfType([o().bool,o().object]).isRequired};class T extends c.Component{static displayName="UserUnlinked";render(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&(0,A.jsx)("div",{className:"jp-unlinked-notice",children:(0,A.jsx)(u.A,{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:(0,A.jsx)(d.d6,{icon:"wordpress",size:24}),className:"is-jetpack-info",from:"unlinked-user-connect",connectUser:!0})})}}T.propTypes={connectUrl:o().string.isRequired,siteConnected:o().bool.isRequired};class E extends c.Component{static displayName="JetpackNotices";dismissNotice=e=>{document.cookie=`jetpack_deprecate_dismissed[${e}]=1; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/; Secure; SameSite=None`};render(){const e=this.props.siteDataErrors.filter(e=>Object.hasOwn(e,"action")),t=this.props.location.pathname.startsWith("/connect-user");return(0,A.jsxs)("div",{"aria-live":"polite",children:[(0,A.jsx)(h.A,{}),this.props.siteConnectionStatus&&this.props.userCanConnectSite&&(this.props.connectionErrors.length>0||e.length>0)&&(0,A.jsx)(x.A,{errors:this.props.connectionErrors.concat(e),display:!this.props.isReconnectingSite}),(0,A.jsx)(C.A,{}),(0,A.jsx)(S,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),(0,A.jsx)(N,{siteConnectionStatus:this.props.siteConnectionStatus,siteOfflineMode:this.props.siteOfflineMode}),(0,A.jsx)(y.A,{location:this.props.location}),(0,A.jsx)(_.A,{}),!this.props.isReconnectingSite&&this.props.userCanConnectAccount&&this.props.hasConnectedOwner&&!e.length&&!this.props.connectionErrors.length&&!t&&(0,A.jsx)(T,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&(0,A.jsx)(m.A,{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&&(0,A.jsx)(m.A,{showDismiss:!0,status:"is-error",text:this.props.licensingError,onDismissClick:this.props.clearLicensingError}),window.noticeInfo&&Object.entries(window.noticeInfo).map(([e,{title:t,message:s,link:n}])=>(0,A.jsx)(w.A,{noticeKey:e,dismissNotice:()=>this.dismissNotice(e),title:t,message:s,link:(0,i.A)(n.url),linkText:n.label},e))]})}}const M=(0,l.Ng)(e=>({connectUrl:(0,v.Qp)(e),siteConnectionStatus:(0,v.i$)(e),userCanConnectSite:(0,k.Hz)(e),userCanConnectAccount:(0,k.Lv)(e),userIsSubscriber:(0,k.EV)(e),isConnectionOwner:(0,v.uQ)(e),isLinked:(0,v._U)(e),isDevVersion:(0,k.gF)(e),siteOfflineMode:(0,v.KK)(e),isInIdentityCrisis:(0,v.T$)(e),connectionErrors:(0,k.wz)(e),siteDataErrors:(0,b.F3)(e),isReconnectingSite:(0,v.Vs)(e),licensingError:(0,j.fZ)(e),hasConnectedOwner:(0,v.BG)(e)}),e=>({clearLicensingError:()=>e((0,j.A5)())}))(e=>(0,A.jsx)(E,{...e,location:(0,p.zy)()}))},78857(e,t,s){"use strict";s.d(t,{A:()=>u});var i=s(27723),n=s(28120),a=s.n(n),r=s(51609),o=s(11346),c=s(44089),l=s(69546),p=s(19327),d=s(10790);const __=i.__;class u extends r.Component{static propTypes={errors:a().array.isRequired,display:a().bool};static defaultProps={display:!0};getAction(e,t,s,i,n){switch(e){case"reconnect":return(0,d.jsx)(p.A,{text:t,errorCode:s,errorData:i,action:e,display:this.props.display});case"support":return(0,d.jsx)(o.A,{text:t,status:"is-error",icon:"link-break",showDismiss:!1,display:this.props.display,children:(0,d.jsx)(c.A,{href:n,external:!0,children:__("Contact support","jetpack")})});default:if(i.action_url&&i.action_label){const e=[(0,d.jsx)(c.A,{href:i.action_url,children:i.action_label},"primary")];return i.secondary_action_url&&i.secondary_action_label&&e.push((0,d.jsx)(c.A,{href:i.secondary_action_url,variant:"secondary",children:i.secondary_action_label},"secondary")),(0,d.jsx)(o.A,{text:t,status:"is-error",icon:"link-break",showDismiss:!1,display:this.props.display,children:e})}return(0,d.jsx)(p.A,{text:t,errorCode:s,errorData:i,action:"reconnect",display:this.props.display})}}renderOne(e){const t=this.props.isDevVersion?l.Ns:l.Iu,s=this.getAction(e.action,e.message,e.code,Object.hasOwn(e,"data")?e.data:{},t);return null===Line truncated
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}}))(g)},25679(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(27723),n=s(84952),a=s(86212),r=s(11346),o=s(82656),c=s(10790);const __=i.__;const l=(0,n.Ng)(e=>({activeSitePurchases:(0,o.Ec)(e)}))(function({activeSitePurchases:e}){const{pathname:t}=(0,a.zy)();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","")})),n=s.find(({product_slug:e})=>e.includes("backup"));if(!n)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"===n.product_slug&&"jetpack_business"!==o.product_slug)return null;let l=__("daily backups","jetpack");return"jetpack_business"===o.product_slug&&(l=__("real-time backups","jetpack")),(0,c.jsx)(r.A,{status:"is-warning",showDismiss:!1,text:(0,i.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"),l,o.product_name,n.product_name)})})},76847(e,t,s){"use strict";s.d(t,{A:()=>v});var i=s(3924),n=s(97999),a=s(86087),r=s(27723),o=s(79654),c=s(51609),l=s(84952),p=s(11346),d=s(44089),u=s(3027),h=s(2065),m=s(71607),g=s(10790);const __=r.__;class f extends c.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,a.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:(0,g.jsx)("a",{href:(0,i.A)("jetpack-cancelled-connection"),target:"_blank",rel:"noopener noreferrer"}),p:(0,g.jsx)("p",{})});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: %s: an error code and message. */
__("Your website needs to be publicly accessible to use Jetpack: %s","jetpack"),e);break;case"connection_disabled":s=(0,a.createInterpolateElement)(__("This site can't be connected to WordPress.com because it violates our <a>Terms of Service</a>.","jetpack"),{a:(0,g.jsx)(o.N,{openInNewTab:!0,href:(0,i.A)("wpcom-tos")})});break;case"not_public":s=(0,a.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:(0,g.jsx)("strong",{})});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: %s: 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,a.createInterpolateElement)((0,r.sprintf)(/* translators: %s: 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:(0,g.jsx)("strong",{})});break;default:s=e}return t?(0,g.jsxs)("div",{children:[s,(0,g.jsx)("br",{}),t]}):(0,g.jsx)("div",{children:s})};getMessageFromKey=e=>{let t,s="",o="is-info";switch(e){case"modules_activated":(0,n.isJetpackSelfHostedSite)()&&(s=(0,a.createInterpolateElement)((0,r.sprintf)(/* translators: %s: a version number, like 8.8. */
__("Welcome to <s>Jetpack %s</s>!","jetpack"),this.props.currentVersion),{s:(0,g.jsx)("strong",{})}));break;case"already_authorized":s=__("Your Jetpack is already connected.","jetpack"),o="is-success";break;case"authorized":s=__("You're fueled up and ready to go, Jetpack is now active.","jetpack"),o="is-success";break;case"linked":s=__("You're fueled up and ready to go.","jetpack"),o="is-success";break;case"protect_misconfigured_ip":s=__("Your server is misconfigured, which means that Jetpack Brute Force Protection is unable to effectively protect your site.","jetpack"),o="is-info",t=(0,g.jsx)(d.A,{href:(0,i.A)("jetpack-support-security-troubleshooting-protect"),children:__("Learn More","jetpack")});break;case"reconnection_completed":s=(0,a.createInterpolateElement)(__("Jetpack successfully reconnected! You can check your Jetpack Connection health by visiting the <a>Site Health tool</a>.","jetpack"),{a:(0,g.jsx)("a",{href:this.props.siteAdminUrl+"site-health.php"})}),o="is-success";break;default:s=e}return[s,o,t]};renderContent=()=>{let e,t="is-info",s="";const i=this.props.jetpackStateNoticesErrorCode,a=this.props.jetpackStateNoticesMessageCode,r=this.props.jetpackStateNoticesMessageContent;if(i||a||r){if(i&&(s=this.getErrorFromKey(i),"access_denied"!==i&&(t="is-error")),r&&r.release_post_content&&(0,n.isJetpackSelfHostedSite)())return(0,g.jsx)(u.A,{dismiss:this.dismissJetpackStateNotice,version:this.props.currentVersion,releasePostContent:r.release_post_content,featuredImage:r.release_post_featured_image,title:r.release_post_title});if(a){const i=this.getMessageFromKey(a);s=i[0],t=i[1],e=i[2]}if(""!==s)return(0,g.jsx)(p.A,{status:t,onDismissClick:this.dismissJetpackStateNotice,text:s,children:e})}};render(){return(0,g.jsx)("div",{children:this.state.showNotice?this.renderContent():null})}}const v=(0,l.Ng)(e=>({currentVersion:(0,h.Mj)(e),jetpackStateNoticesErrorCode:(0,m.sT)(e),jetpackStateNoticesMessageCode:(0,m.Fc)(e),jetpackStateNoticesErrorDescription:(0,m.nV)(e),jetpackStateNoticesMessageContent:(0,m.rp)(e),siteAdminUrl:(0,h.eu)(e)}))(f)},93553(e,t,s){"use strict";s.d(t,{A:()=>f});var i=s(85879),n=s(489),a=s(27723),r=s(79654),o=s(13022),c=s(28120),l=s.n(c),p=s(51609),d=s(70386),u=s(31497),h=s(53835),m=(s(89521),s(10790));const __=a.__,g=e=>{const{icon:t,title:s,productSlug:c,description:l="",features:g=[],disclaimer:f,currencyCode:v,price:k,discountedPrice:j,billingDescription:b,callToAction:w,checkoutText:_,checkoutUrl:x,priority:y="primary",illustrationPath:C}=e,A=!!C,S=!!w;(0,p.useEffect)(()=>{h.A.tracks.recordEvent("jetpack_product_card_view",{type:c})},[c]);const N=(0,p.useCallback)(()=>{h.A.tracks.recordEvent("jetpack_product_card_checkout_click",{type:c})},[c]),T=(0,p.useCallback)(()=>{h.A.tracks.recordEvent("jetpack_product_card_disclaimer_click",{type:c})},[c]),E=(0,o.A)({"jp-product-card":!0,"jp-product-card--has-media":A,"jp-product-card--has-cta":S}),M=(0,o.A)(["jp-product-card__checkout",`jp-product-card__checkout--${y}`]);return(0,m.jsxs)("div",{className:E,children:[S&&(0,m.jsxs)("div",{className:"jp-product-card__cta",children:[(0,m.jsx)(u.A,{icon:"star"})," ",w]}),(0,m.jsxs)("div",{className:"jp-product-card__inner",children:[!!t&&(0,m.jsx)("div",{className:"jp-product-card__icon",children:t}),(0,m.jsx)("h3",{className:"jp-product-card__title",children:s}),(0,m.jsx)("p",{className:"jp-product-card__description",children:l}),g.length&&(0,m.jsx)("ul",{className:"jp-product-card__features",children:g.map((e,t)=>(0,m.jsxs)("li",{className:"jp-product-card__feature",children:[(0,m.jsx)(u.A,{icon:"checkmark"}),e]},t))}),(0,m.jsx)("div",{className:"jp-product-card__price",children:(0,m.jsx)(n.A,{currency:v,price:k,offPrice:j,showNotOffPrice:!!j,legend:b})}),(0,m.jsx)(i.A,{agreeButtonLabel:_}),(0,m.jsx)(d.A,{className:M,href:x,onClick:N,children:_}),f&&(0,m.jsxs)("p",{className:"jp-product-card__disclaimer",children:[`${f.text} `,(0,m.jsx)(r.N,{openInNewTab:!0,onClick:T,href:f.url,target:"_blank",rel:"noopener noreferrer",children:f.link_text})]})]}),A&&(0,m.jsx)("img",{className:"jp-product-card__media",src:C,alt:(0,a.sprintf)(/* translators: %s: Name of a Jetpack product. */
__("Graphical illustration of product: %s","jetpack"),s)})]})};g.propTypes={checkoutText:l().string.isRequired,checkoutUrl:l().string.isRequired,title:l().string.isRequired,price:l().number.isRequired,discountedPrice:l().number,currencyCode:l().string.isRequired,billingDescription:l().string.isRequired,productSlug:l().string.isRequired,description:l().string,features:l().array,disclaimer:l().object,icon:l().element,callToAction:l().string,priority:l().string,illustrationPath:l().string};const f=g},76168(e,t,s){"use strict";s.d(t,{z:()=>h});var i=s(27723),n=s(51609),a=s(84952),r=s(70386),o=s(57476),c=s(53835),l=s(34679),p=s(2065),d=s(26508),u=s(10790);const __=i.__,h=(0,a.Ng)(e=>({canEditPosts:(0,p.jM)(e),canManageOptions:(0,p.hN)(e),hasConnectedOwner:(0,l.BG)(e),isCurrentUserLinked:(0,l._U)(e),isSiteConnected:(0,l.iV)(e),activeModules:(0,d.IW)(e),siteConnectionStatus:(0,l.i$)(e)}))(e=>{const{activeModules:t,canEditPosts:s,canManageOptions:i,hasConnectedOwner:a,isCurrentUserLinked:l,isSiteConnected:p,location:d={pathname:""},siteConnectionStatus:h}=e,{pathname:m}=d,g=["/","/dashboard","/my-plan","/plans"].includes(m)||m.includes("/recommendations"),f=""===m,v=(0,n.useCallback)(()=>{c.A.tracks.recordJetpackClick({target:"masthead",path:"nav_dashboard"})},[]),k=(0,n.useCallback)(()=>{c.A.tracks.recordJetpackClick({target:"masthead",path:"nav_settings"})},[]);if(f)return null;if(!h)return null;if(m.startsWith("/setup"))return null;if(!s)return null;if("offline"!==h&&!p)return null;if("offline"!==h&&!i){if(!a)return null;if(!l)return null;if(!t.some(e=>["post-by-email","publicize"].includes(e)))return null}return(0,u.jsx)("div",{className:"jp-masthead__nav",children:(0,u.jsxs)(o.A,{children:[(0,u.jsx)(r.A,{compact:!0,href:"#/dashboard",primary:g&&!f,onClick:v,children:__("Dashboard","jetpack")}),(0,u.jsx)(r.A,{compact:!0,href:"#/settings",primary:!g&&!f,onClick:k,children:__("Settings","jetpack")})]})})})},4443(e,t,s){"use strict";s.d(t,{A:()=>h});var i=s(67142),n=s(97999),a=s(27723),r=s(51609),o=s(84952),c=s(53835),l=s(34679),p=s(76168),d=s(10790);const __=a.__;class u extends r.Component{trackLogoClick=()=>{c.A.tracks.recordJetpackClick({target:"masthead",path:"logo"})};testConnection=()=>this.props.testConnection();getTitle(){const{pathname:e=""}=this.props.location||{};return["/settings","/security","/performance","/writing","/sharing","/discussion","/earn","/newsletter","/reader","/traffic","/privacy"].includes(e)?__("Settings","jetpack"):__("Jetpack","jetpack")}render(){const{sandboxDomain:e,siteConnectionStatus:t}=this.props,s="offline"===t?(0,d.jsx)("code",{children:"Offline Mode"}):"",a=e?(0,d.jsx)("code",{id:"sandbox-domain-badge",onClick:this.testConnection,onKeyDown:this.testConnection,role:"button",tabIndex:0,title:`Sandboxing via ${e}. Click to test connection.`,children:"API Sandboxed"}):"";return(0,d.jsx)("header",{className:"jp-masthead",children:(0,d.jsxs)("div",{className:"jp-masthead__inside-container",children:[(0,d.jsxs)("div",{className:"jp-masthead__title-container",children:[(0,d.jsx)("a",{onClick:this.trackLogoClick,className:"jp-masthead__logo-link",href:"#dashboard",children:(0,d.jsx)(i.A,{showText:!1,height:20})}),(0,d.jsx)("h2",{className:"jp-masthead__title",children:this.getTitle()}),s,a]}),(0,n.isWoASite)()&&(0,d.jsx)(p.z,{location:this.props.location})]})})}}const h=(0,o.Ng)(e=>({sandboxDomain:(0,l.os)(e),siteConnectionStatus:(0,l.i$)(e)}),e=>({testConnection:()=>e((0,l.Mb)())}))(u)},9221(e,t,s){"use strict";s.d(t,{A:()=>h});var i=s(13022),n=s(73781),a=s(20428),r=s.n(a),o=s(28120),c=s.n(o),l=s(51609),p=(s(47245),s(10790));let d=!1;class u extends l.Component{static propTypes={style:c().object,width:c().oneOf(["wide","medium","narrow"]),className:c().string,title:c().string,initialFocus:c().string,onRequestClose:c().func};static defaultProps={style:{}};domNode=null;state={overlayMouseDown:!1};componentDidMount(){r()("body").addClass("dops-modal-showing").on("touchmove.dopsmodal",!1),r()(document).keyup(this.handleEscapeKey);try{this.focusTrap=(0,n.K)(this.domNode),this.focusTrap.activate({initialFocus:this.props.initialFocus})}catch{}}componentWillUnmount(){r()("body").removeClass("dops-modal-showing").off("touchmove.dopsmodal",!1),r()(document).unbind("keyup",this.handleEscapeKey);try{this.focusTrap.deactivate()}catch{}}handleEscapeKey=e=>{"Escape"===e.code&&this.maybeClose()};maybeClose=()=>{this.props.onRequestClose&&!d&&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&&!d&&(this.setState({overlayMouseDown:!1}),this.props.onRequestClose())};handleMouseEventModal=e=>{e.stopPropagation()};render(){let e;const{style:t,className:s,width:n,title:a,onRequestClose:r,...o}=this.props;switch(n){case"wide":e={maxWidth:"inherit",width:"inherit"};break;case"medium":e={maxWidth:1050,width:"iLine truncated
__("%s has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),this.props.moduleName),{link:(0,p.jsx)("a",{href:(0,i.A)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer"})})})}}const u=(0,l.Ng)(d)},53600(e,t,s){"use strict";s.d(t,{Z:()=>l});var i=s(27723),n=s(84952),a=s(34679),r=s(2065),o=s(26508),c=s(30138);const __=i.__;function l(e){return(0,n.Ng)((e,t)=>({validValues:(s,i="")=>("string"==typeof t?.module?.module&&(i=t.module.module),(0,o.W7)(e,i,s)),getOptionCurrentValue:(t,s)=>(0,o.Kb)(e,t,s),getSettingCurrentValue:(t,s="",i=!0)=>(0,c.PL)(e,t,s,i),getSiteRoles:()=>(0,r.PH)(e),isUpdating:t=>(0,c.Ny)(e,t),adminEmailAddress:(0,r.q1)(e),currentIp:(0,r.n9)(e),siteAdminUrl:(0,r.eu)(e),isCurrentUserLinked:(0,a._U)(e)}),e=>({updateOptions:(t,s={})=>e((0,c.Xx)(t,s)),regeneratePostByEmailAddress:()=>{const t={progress:__("Updating Post by Email address…","jetpack"),success:__("Regenerated Post by Email address.","jetpack"),error:e=>(0,i.sprintf)(/* translators: %s: an error message. */
__("Error regenerating Post by Email address. %s","jetpack"),e)};return e((0,c.Xx)({post_by_email_address:"regenerate"},t))},setUnsavedSettingsFlag:()=>e((0,c.ic)()),clearUnsavedSettingsFlag:()=>e((0,c.jo)()),refreshSettings:()=>e((0,c.Uc)())}))(e)}},63344(e,t,s){"use strict";s.d(t,{t:()=>o});var i=s(51609),n=s(53600),a=s(53835),r=s(10790);function o(e){class t extends i.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=>{const{[e]:t,...s}=this.state.options;return this.setState({options:s}),!0};updateFormStateAndSaveOptionValue=(e,t=void 0)=>{"string"==typeof e&&(e={[e]:t}),this.props.updateOptions({...this.state.options,...e}).then(()=>{this.setState({options:{...this.state.options,...e}})})};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=Object.fromEntries(Object.entries(this.state.options).map(([e,t])=>[e.replace(/-/,"_"),t]));this.trackFormSubmission(e),this.setState({options:{}})}).then(()=>{this.props.refreshSettings(),this.props.clearUnsavedSettingsFlag()})};getOptionValue=(e,t="",s=!0)=>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=>{a.A.tracks.recordEvent("jetpack_wpa_settings_form_submit",e)};trackSettingsToggle=(e,t,s)=>{a.A.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:t,toggled:s?"on":"off"})};render(){return(0,r.jsx)(e,{getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,updateFormStateAndSaveOptionValue:this.updateFormStateAndSaveOptionValue,toggleModuleNow:this.toggleModuleNow,updateFormStateModuleOption:this.updateFormStateModuleOption,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption,isDirty:this.isDirty,resetFormStateOption:this.resetFormStateOption,optionsState:this.state.options,...this.props})}}return(0,n.Z)(t)}},60619(e,t,s){"use strict";s.d(t,{j:()=>g});var i=s(3924),n=s(56427),a=s(86087),r=s(27723),o=s(28120),c=s.n(o),l=s(51609),p=s(84952),d=s(53835),u=s(26508),h=s(10790);const __=r.__;class m extends l.Component{static displayName="ModuleToggle";static propTypes={toggleModule:c().func,activated:c().bool,disabled:c().bool,className:c().string,compact:c().bool,id:c().string,overrideCondition:c().string,trackToggle:c().bool};static defaultProps={activated:!1,disabled:!1,overrideCondition:"",trackToggle:!0};toggleModule=()=>(this.props.trackToggle&&this.trackModuleToggle(this.props.slug,this.props.activated),this.props.toggleModule(this.props.slug,this.props.activated));trackModuleToggle=(e,t)=>{"stats"!==e&&d.A.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:(0,h.jsx)("a",{href:(0,i.A)("jetpack-support-module-overrides"),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})};switch(e){case"active":return(0,a.createInterpolateElement)(__("This feature has been enabled by a site administrator. <link>Learn more</link>.","jetpack"),t);case"inactive":return(0,a.createInterpolateElement)(__("This feature has been disabled by a site administrator. <link>Learn more</link>.","jetpack"),t);default:return(0,a.createInterpolateElement)(__("This feature is being managed by a site administrator. <link>Learn more</link>.","jetpack"),t)}};render(){return(0,h.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:this.props.activated,className:this.props.className,disabled:this.props.disabled||this.isDisabledByOverride(),onChange:this.toggleModule,help:this.getDisabledReason(),label:this.props.children})}}const g=(0,p.Ng)(e=>({getModuleOverride:t=>(0,u.d1)(e,t)}))(m)},1385(e,t,s){"use strict";s.d(t,{h:()=>n});var i=s(10790);const n=(0,i.jsx)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fLine truncated
_x("Recommendations <count>%d</count>","Navigation item.","jetpack"),this.props.newRecommendationsCount),{count:(0,b.jsx)("span",{className:(0,r.A)("dops-section-nav-tab__update-badge",{"is-hidden":this.props.location.pathname.startsWith("/recommendations")||!this.props.newRecommendationsCount})})})})]}):(0,b.jsx)(m.A,{selectedText:this.props.routeName,children:(0,b.jsx)(h.A,{path:"#/dashboard",selected:"/dashboard"===this.props.location.pathname||"/"===this.props.location.pathname,children:_x("At a Glance","Navigation item.","jetpack")})}),(0,b.jsx)("div",{id:"jp-navigation",className:"dops-navigation",children:(0,b.jsx)(u.A,{selectedText:this.props.routeName,children:e})})}}w.propTypes={routeName:c().string.isRequired,isOfflineMode:c().bool};const _=(0,p.Ng)(e=>({userCanManageModules:(0,v.Ir)(e),userCanViewStats:(0,v.WC)(e),isModuleActivated:t=>(0,k.Yp)(e,t),isOfflineMode:(0,f.hN)(e),isLinked:(0,f._U)(e),hasConnectedOwner:(0,f.BG)(e),showRecommendations:(0,v.ct)(e),newRecommendationsCount:(0,j.x4)(e),siteUrl:(0,v.XG)(e),adminUrl:(0,v.eu)(e),purchaseToken:(0,v.r5)(e)}))(e=>(0,b.jsx)(w,{...e,location:(0,d.zy)()}))},38473(e,t,s){"use strict";s.d(t,{A:()=>m});var i=s(28120),n=s.n(i),a=s(51609),r=s(84952),o=s(71803),c=s(77496),l=s(34679),p=s(2065),d=s(26508),u=s(10790);class h extends a.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.navigate("/dashboard",{replace:!0}),t=(0,u.jsx)(o.A,{...this.props});break;case"/settings":case"/writing":case"/sharing":case"/performance":this.props.isSubscriber||(t=(0,u.jsx)(c.A,{siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,searchTerm:this.props.searchTerm,userCanManageModules:this.props.userCanManageModules}))}return window.wpNavMenuClassChange(),(0,u.jsx)("div",{children:t})};render(){return this.renderMainContent(this.props.location.pathname)}}h.propTypes={userCanViewStats:n().bool.isRequired,isSubscriber:n().bool.isRequired,siteConnectionStatus:n().any.isRequired};const m=(0,r.Ng)(e=>({userCanViewStats:(0,p.WC)(e),siteConnectionStatus:(0,l.i$)(e),isSubscriber:(0,p.EV)(e),isModuleActivated:t=>(0,d.Yp)(e,t),userCanManageModules:(0,p.Ir)(e)}))(h)},11346(e,t,s){"use strict";s.d(t,{A:()=>d});var i=s(13022),n=s(28120),a=s.n(n),r=s(51609),o=s(31497),c=s(752),l=(s(26776),s(10790));const p=()=>{};class d extends r.Component{static displayName="SimpleNotice";static defaultProps={duration:0,status:null,showDismiss:!0,className:"",onDismissClick:p,display:!0};static propTypes={status:a().string,showDismiss:a().bool,isCompact:a().bool,duration:a().number,text:a().oneOfType([a().oneOfType([a().string,a().node]),a().arrayOf(a().oneOfType([a().string,a().node]))]),icon:a().string,onDismissClick:a().func,className:a().string,display:a().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:n,onDismissClick:a,showDismiss:r=!n,status:p,text:d,dismissText:u,display:h}=this.props,m=(0,i.A)("dops-notice",p,t,{"is-compact":n,"is-dismissable":r,"is-hidden":!h});return(0,l.jsxs)("div",{className:m,children:[(0,l.jsx)("span",{className:"dops-notice__icon-wrapper",children:(0,l.jsx)(o.A,{className:"dops-notice__icon",icon:s||this.getIcon(),size:24})}),(0,l.jsx)("span",{className:"dops-notice__content",children:(0,l.jsx)("span",{className:"dops-notice__text",children:d?this.clearText(d):e})}),d?e:null,r&&(0,l.jsxs)("span",{role:"button",onKeyDown:(0,c.A)(a),tabIndex:"0",className:"dops-notice__dismiss",onClick:a,children:[(0,l.jsx)(o.A,{icon:"cross",size:24}),(0,l.jsx)("span",{className:"dops-notice__screen-reader-text screen-reader-text",children:u})]})]})}}},44089(e,t,s){"use strict";s.d(t,{A:()=>c});var i=s(28120),n=s.n(i),a=s(51609),r=s(31497),o=(s(26776),s(10790));class c extends a.Component{static displayName="NoticeAction";static propTypes={href:n().string,onClick:n().func,external:n().bool,icon:n().string,variant:n().oneOf(["primary","secondary"])};static defaultProps={external:!1};render(){let e="dops-notice__action";"secondary"===this.props.variant&&(e+=" is-secondary");const t={className:e,href:this.props.href,onClick:this.props.onClick};return this.props.external&&(t.target="_blank"),(0,o.jsxs)("a",{...t,children:[(0,o.jsx)("span",{children:this.props.children}),this.props.icon&&(0,o.jsx)(r.A,{icon:this.props.icon,size:24}),this.props.external&&(0,o.jsx)(r.A,{icon:"external",size:24})]})}}},18547(e,t,s){"use strict";s.d(t,{A:()=>b});vLine truncated
__("Installing %s","jetpack"),d)})]}):k?(0,u.jsxs)(c.A,{className:"plugin-dash-item__content",children:[(0,u.jsx)(n.Spinner,{}),(0,u.jsx)("p",{children:(0,a.sprintf)(/* translators: %s: the name of the plugin. i.e. Boost, CRM, etc. */
__("Activating %s","jetpack"),d)})]}):o?s?(0,u.jsx)(l.Ay,{callToAction:(0,a.sprintf)(/* translators: %s: the name of the plugin. i.e. Boost, CRM, etc. */
__("Manage %s","jetpack"),d),title:f??__("Plugin is installed & active.","jetpack"),href:m,plan:v}):(0,u.jsx)(l.Ay,{callToAction:(0,a.sprintf)(/* translators: %s: the name of the plugin. i.e. Boost, CRM, etc. */
__("Activate %s","jetpack"),d),title:g,onClick:_,plan:v}):(0,u.jsx)(l.Ay,{callToAction:(0,a.sprintf)(/* translators: %s: the name of the plugin. i.e. Boost, CRM, etc. */
__("Install %s","jetpack"),d),title:g,onClick:_,plan:v})})},61933(e,t,s){"use strict";s.d(t,{A:()=>j});var i=s(86087),n=s(13022),a=s(49971),r=s.n(a),o=s(10067),c=s.n(o),l=s(28120),p=s.n(l),d=s(51609),u=s(61747),h=s(82279),m=(s(18441),s(10790));const g=()=>{},f=c()("calypso:popover"),v=new Set;class k extends d.Component{static propTypes={autoPosition:p().bool,className:p().string,closeOnEsc:p().bool,id:p().string,ignoreContext:p().shape({getDOMNode:p().function}),position:p().string,rootClassName:p().string,showDelay:p().number,onClose:p().func.isRequired,onShow:p().func};static defaultProps={autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:g};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)},this.domContainerRef=(0,i.createRef)(),this.domContextRef=(0,i.createRef)()}componentDidMount(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,h.jQ)()}isDOMNode(e){return e instanceof HTMLElement}componentDidUpdate(e){const{context:t,isVisible:s}=this.props;return t!==e.context&&(!t||this.isDOMNode(t)?this.domContextRef.current=t:this.debug("Expected a DOM node for props.context",t)),s!==e.isVisible&&(s?this.show():this.hide()),this.domContainerRef.current&&this.domContextRef.current&&s&&s!==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,h.Yc)(),v.delete(this.id),f("current popover instances: ",v.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.domContainerRef.current){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.domContextRef.current&&this.domContextRef.current?.contains&&!this.domContextRef.current.contains(e.target);if(this.props.ignoreContext&&t){let s;!this.props.ignoreContext||this.isDOMNode(this.props.ignoreContext)?s=this.props.ignoreContext:this.debug("Expected a DOM node for props.context",this.props.ignoreContext),t=!(!s||!s.contains)&&(t&&!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.domContainerRef.current=e,!this.props.context||this.isDOMNode(this.props.context)?this.domContextRef.current=this.props.context:this.debug("Expected a DOM node for props.context",this.props.context),this.domContainerRef.current.focus(),this.setPosition()}getPositionClass(e=this.props.position){return`is-${e.replace(/\s+/g,"-")}`}computePosition(){if(!this.props.isVisible)return null;const{domContainerRef:e,domContextRef:t}=this,{position:s}=this.props;if(!e.current||!t.current)return this.debug("[WARN] no DOM elements to work"),null;let i=s;this.debug("position: %o",s),this.props.autoPosition&&(i=(0,h.Mf)(s,e.current,t.current),this.debug("suggested position: %o",i));const n=Object.assign({},(0,h.B3)((0,h.cY)(i,e.current,t.current),e.current),{positionClass:this.getPositionClass(i)});return this.debug("updating reposition: ",n),n}debug(e,...t){f(`[%s] ${e}`,this.id,...t)}setPopoverId(e){this.id=e||`pop__${r()(16)}`,v.add(this.id)Line truncated
__("Gifted on %s.","jetpack"),(0,n.dateI18n)(l,e)):null}if(!e||c){const e=new Date(s);return"Invalid Date"!==e.toString()?(0,r.sprintf)(/* translators: %s: the date of purchase. */
__("Purchased on %s.","jetpack"),(0,n.dateI18n)(l,e)):null}const h=new Date(e),m=u;return"Invalid Date"===h.toString()?null:"expired"===t?(0,a.createInterpolateElement)((0,r.sprintf)(/* translators: %s: the date it expired. */
__("<span>Expired on %s.</span> <renewLink />","jetpack"),(0,n.dateI18n)(l,h)),{span:(0,d.jsx)("span",{className:"my-plan-card__expired"}),renewLink:(0,d.jsx)("span",{className:"my-plan-card__renew",children:(0,d.jsx)(o.N,{openInNewTab:!0,href:(0,i.A)("jetpack-subscription-renew",{path:m}),className:"my-plan-card__renew",children:__("Renew subscription","jetpack")})})}):(0,r.sprintf)(/* translators: %s the renewal date. */
__("Renews on %s.","jetpack"),(0,n.dateI18n)(l,h))}}const h=u},61989(e,t,s){"use strict";s.d(t,{A:()=>k});var i=s(39384),n=s(27723),a=s(28120),r=s.n(a),o=s(51609),c=s(84952),l=s(70386),p=s(26592),d=s(5546),u=s(9221),h=s(53835),m=s(44254),g=s(34679),f=(s(30653),s(10790));const __=n.__,_x=n._x;function v(e){const{show:t=!1,onHide:s,isSiteConnected:n,isReconnectingSite:a,beforeReconnectSite:r,initiateUserConnection:c,reconnectFailed:d,clickReconnectSite:m}=e,g=(0,o.useCallback)(()=>t&&n&&!a,[t,n,a]),v=(0,o.useCallback)(()=>{s&&s()},[s]),{restoreConnection:k}=(0,i.useRestoreConnection)(),j=(0,o.useCallback)(e=>{e.preventDefault(),h.A.tracks.recordJetpackClick("confirm_reconnect_modal"),r(),k(!1).then(e=>{"in_progress"===e.status&&c(e.authorizeUrl)}).catch(e=>d(e)),v()},[r,c,d,k,v]);return g()&&(0,f.jsx)(u.A,{className:"reconnect__modal",onRequestClose:v,children:(0,f.jsxs)(p.A,{className:"reconnect__modal__body",children:[(0,f.jsx)("h2",{children:__("Reconnect Jetpack","jetpack")}),(0,f.jsx)("h4",{children:__("You’ve clicked a link to restore your Jetpack connection.","jetpack")}),(0,f.jsx)("h4",{children:(0,f.jsx)("strong",{children:__("You should only do this if advised by Site Health tests or Jetpack Support.","jetpack")})}),(0,f.jsx)("h4",{children:__("Click below to reconnect Jetpack","jetpack")}),(0,f.jsxs)("div",{className:"reconnect__modal-actions",children:[(0,f.jsx)(l.A,{className:"reconnect__modal-cancel",onClick:v,children:_x("Cancel","A caption for a button to cancel an action.","jetpack")}),(0,f.jsx)(l.A,{className:"reconnect__modal-reconnect",onClick:m||j,primary:!0,children:_x("Reconnect Jetpack","A caption for a button to reconnect Jetpack.","jetpack")})]})]})})}v.displayName="ReconnectModal",v.propTypes={show:r().bool,onHide:r().func,clickReconnectSite:r().func};const k=(0,c.Ng)(e=>({isSiteConnected:(0,g.lY)(e),isReconnectingSite:(0,g.Vs)(e)}),e=>({beforeReconnectSite:()=>{e({type:m._ce}),e((0,d.Fc)("is-info",__("Reconnecting Jetpack","jetpack"),{id:"reconnect-jetpack"}))},initiateUserConnection:t=>{e({type:m.c30}),e({type:m.gbL,connectUrl:t}),e((0,g.k0)())},reconnectFailed:t=>{e({type:m.jzm,error:t}),e((0,d.fj)("reconnect-jetpack")),e((0,d.Fc)("is-error",(0,n.sprintf)(/* translators: %s: the error. */
__("There was an error reconnecting Jetpack. Error: %s","jetpack"),t.response.message||t.response.code),{id:"reconnect-jetpack"}))}}))(v)},61747(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(86087),n=s(28120),a=s.n(n),r=s(51609),o=s(84952),c=s(10790);class l extends r.Component{static displayName="RootChild";static propTypes={children:a().node};static contextType=o.ty;componentDidMount(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.containerRoot=i.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)?(0,c.jsx)("div",{...this.props,children:this.props.children}):this.props.children,this.context.store&&(e=(0,c.jsx)(o.Kq,{store:this.context.store,children:e})),this.containerRoot.render(e)};render(){return null}}},14602(e,t,s){"use strict";s.d(t,{A:()=>a});var i=s(27723),n=s(10790);const __=i.__,a=({onClick:e})=>(0,n.jsx)("button",{className:"dops-search__clear-btn",onClick:e,"aria-label":__("Clear search","jetpack"),children:__("Clear","jetpack")})},23685(e,t,s){"use strict";s.d(t,{A:()=>a});var i=s(31497),n=s(10790);const a=({instanceId:e,closeSearch:t,closeListener:s})=>(0,n.jsx)("div",{role:"button",className:"dops-search__icon-navigation",onClick:t,tabIndex:"0",onKeyDown:s,"aria-controls":"dops-search-component-"+e,"aria-label":"Close Search",children:(0,n.jsx)(i.A,{icon:"cross",className:"dops-search__close-icon"})})},78434(e,t,s){"use strict";s.d(t,{A:()=>v});var i=s(40180),n=s(13022),a=s(66087),r=s(28120),o=s.n(r),c=s(51609),l=s(31497),p=s(53835),d=s(14602),u=s(23685),h=(s(48024),s(10790));const m=()=>{};function g(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class f extends c.Component{static displayName="Search";static instances=0;static propTypes={additionalClasses:o().string,initialValue:o().string,placeholder:o().string,pinned:o().bool,delaySearch:o().bool,delayTimeout:o().number,onSearch:o().func.isRequired,onSearchChange:o().func,onSearchOpen:o().func,analyticsGroup:o().string,overlayStyling:o().func,autoFocus:o().bool,disabled:o().bool,onKeyDown:o().func,onClick:o().func,disableAutocorrect:o().bool,onBlur:o().func,searching:o().bool,isOpen:o().bool,dir:o().oneOf(["ltr","rtl"]),fitsContainer:o().bool,maxLength:o().number,hideClose:o().bool};static defaultProps={pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,onSearchChange:m,onSearchOpen:m,onKeyDown:m,onClick:m,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1};overlayRef=(0,c.createRef)();searchInputRef=(0,c.createRef)();openIconRef=(0,c.createRef)();state={keyword:this.props.initialValue||"",isOpen:!!this.props.isOpen,hasFocus:!1};UNSAFE_componentWillMount(){this.setState({instanceId:++f.instances}),this.closeListener=g.bind(this,"closeSearch"),this.openListener=g.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,a.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),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,a.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch,this.props.autoFocus&&setTimeout(()=>this.focus(),0)}scrollOverlay=()=>{this.overlayRef.current&&window.requestAnimationFrame(()=>{this.overlayRef.current&&this.searchInputRef.current&&(this.overlayRef.current.scrollLeft=this.getScrollLeft(this.searchInputRef.current))})};getScrollLeft=e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),s=window.getComputedStyle(e,void 0),i=parseFloat(s.paddingLeft),n=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+i-n.left};focus=()=>{setTimeout(()=>this.searchInputRef.current&&this.searchInputRef.current.focus(),0)};blur=()=>{this.searchInputRef.current.blur()};getCurrentSearchValue=()=>this.searchInputRef.current.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.setSLine truncated
__("Your paid plan gives you access to prioritized %s support.","jetpack"),(0,n.isWoASite)()?"WordPress.com":"Jetpack"):__("Jetpack offers support via community forums for any site without a paid product.","jetpack")}),(0,b.jsxs)("p",{className:"jp-support-card__description",children:[(0,n.isWoASite)()||(0,b.jsx)(u.A,{onClick:this.trackGettingStartedClick,href:(0,i.A)("jetpack-support-getting-started"),isExternalLink:!0,children:__("Getting started with Jetpack","jetpack")}),(0,b.jsx)(w,{onClick:this.trackSearchClick})]})]})}),this.props.siteConnectionStatus&&!e&&this.props.hasConnectedOwner&&(0,b.jsx)(m.Ay,{title:__("Get a faster resolution to your support questions.","jetpack"),plan:(0,f.EP8)(f.DmX),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&&(0,b.jsx)(m.Ay,{title:__("Connect your WordPress.com account and upgrade to get a faster resolution to your support questions.","jetpack"),plan:(0,f.EP8)(f.DmX),callToAction:__("Connect","jetpack"),onClick:this.handleConnectClick})]})}}_.propTypes={siteConnectionStatus:l().any.isRequired,className:l().string,isCurrentUserLinked:l().bool,isConnectionOwner:l().bool};const x=(0,d.Ng)(e=>({siteConnectionStatus:(0,v.i$)(e),isFetchingSiteData:(0,j.Kb)(e),isDevVersion:(0,k.gF)(e),supportUpgradeUrl:(0,k.Q4)(e,"support"),isCurrentUserLinked:(0,v._U)(e),isConnectionOwner:(0,v.uQ)(e),hasConnectedOwner:(0,v.BG)(e),hasSupport:(0,j.IT)(e,"support")||(0,j.F1)(e)}),e=>({connectUser:()=>e((0,v.k0)())}))(_)},9520(e,t,s){"use strict";s.d(t,{A:()=>d});var i=s(27723),n=s(79654),a=s(28120),r=s.n(a),o=s(51609),c=s(63242),l=s(53835),p=(s(70254),s(10790));const __=i.__;class d extends o.Component{static propTypes={module:r().object,text:r().string,link:r().string,privacyLink:r().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(){l.A.tracks.recordJetpackClick({target:"info-icon",feature:this.getModule().module})}trackLearnMoreClick(){l.A.tracks.recordJetpackClick({target:"learn-more",feature:this.getModule().module})}trackPrivacyInfoClick(){l.A.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"),(0,p.jsx)("div",{className:"jp-support-info",children:(0,p.jsxs)(c.A,{position:"left",onClick:this.trackInfoClick,screenReaderText:__("Learn more","jetpack"),children:[e+" ",t&&(0,p.jsx)("div",{className:"jp-support-info__learn-more",children:(0,p.jsx)(n.N,{openInNewTab:!0,href:t,onClick:this.trackLearnMoreClick,rel:"noopener noreferrer",children:__("Learn more","jetpack")})}),(0,p.jsx)("span",{className:"jp-support-info__privacy",children:(0,p.jsx)(n.N,{openInNewTab:!0,href:s,onClick:this.trackPrivacyInfoClick,rel:"noopener noreferrer",children:__("Privacy information","jetpack")})})]})})}}},78888(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(13022),n=s(51609),a=(s(66122),s(10790));class r extends n.Component{static displayName="TextInput";static defaultProps={isError:!1,isValid:!1,selectOnFocus:!1,type:"text"};textFieldRef=(0,n.createRef)();focus=()=>{this.textFieldRef.current.focus()};render(){const{className:e,selectOnFocus:t,isError:s,isValid:n,...r}=this.props,o=(0,i.A)(e,{"dops-text-input":!0,"is-error":s,"is-valid":n});return(0,a.jsx)("input",{...r,ref:this.textFieldRef,className:o,onClick:t?this.selectOnFocus:null})}selectOnFocus=e=>{e.target.select()}}},26224(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(13022),n=s(51609),a=(s(68226),s(10790));class r extends n.Component{static displayName="Textarea";render(){return(0,a.jsx)("textarea",{...this.props,className:(0,i.A)(this.props.className,"dops-textarea"),children:this.props.children})}}},32507(e,t,s){"use strict";s.d(t,{A:()=>u});var i=s(40180),n=s(13022),a=s(28120),r=s.n(a),o=s(51609),c=s(61933),l=(s(17107),s(10790));const p=()=>{};class d extends o.Component{static propTypes={autoPosition:r().bool,className:r().string,id:r().string,isVisible:r().bool,position:r().string,rootClassName:r().string,status:r().string,showDelay:r().number,showOnMobile:r().bool};static defaultProps={showDelay:100,position:"top",showOnMobile:!1};render(){if(!this.props.showOnMobile&&(0,i.Fr)())return null;const e=(0,n.A)("dops-popover","dops-tooltip",`is-${this.props.position}`,this.props.className);return(0,l.jsx)(c.A,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:p,position:this.props.position,showDelay:this.props.showDelayLine truncated
__("New in Jetpack %s","jetpack"),this.props.version)),(0,p.jsx)(o.A,{svg:t,title:s,content:this.renderInnerContent(),dismiss:this.dismissNotice})}})},4924(e,t,s){"use strict";s.d(t,{A:()=>n});const i={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};const n=function(e){if(e in i)return i[e];throw new Error("config key `"+e+"` does not exist")}},69546(e,t,s){"use strict";s.d(t,{Iu:()=>a,Ns:()=>r,W_:()=>o,d0:()=>n});var i=s(3924);const n=window.Initial_State.pluginBaseUrl+"/images/",a=(0,i.A)("jetpack-contact-support"),r=(0,i.A)("jetpack-contact-support-beta-group"),o=((0,i.A)("jetpack-stats-2023-opt-out-survey"),"https://jetpack.com/support/backup/the-jetpack-backup-plugin/getting-started-with-the-jetpack-backup-plugin/#starting-your-first-backup")},71801(e,t,s){"use strict";s.d(t,{H:()=>f});var i=s(3924),n=s(56427),a=s(27723),r=s(51609),o=s(11895),c=s(63344),l=s(60619),p=s(8332),d=s(19579),u=s(9520),h=s(78888),m=(s(76623),s(10790));const __=a.__;class g extends r.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:r,getOptionValue:c}=this.props,g=this.props.getModule("comments"),f=this.props.getOptionValue("comments"),v=this.props.isUnavailableInOfflineMode("comments"),k=this.props.getModule("gravatar-hovercards"),j=this.props.getModule("markdown"),b=r("comment-likes"),w=c("comment-likes");return(0,m.jsxs)(p.A,{...this.props,header:__("Comments","jetpack"),module:"comments",saveDisabled:this.props.isSavingAnyOption(["highlander_comment_form_prompt","jetpack_comment_form_color_scheme"]),children:[e&&(0,m.jsxs)(d.A,{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.A)("jetpack-support-comments")},children:[(0,m.jsx)(l.j,{slug:"comments",compact:!0,disabled:v||this.props.isSavingAnyOption("comments"),activated:this.props.getOptionValue("comments"),toggleModule:this.props.toggleModuleNow,children:(0,m.jsx)("span",{className:"jp-form-toggle-explanation",children:g.description})}),(0,m.jsxs)(o.dV,{children:[(0,m.jsxs)(o.lR,{children:[(0,m.jsx)("span",{className:"jp-form-label-wide",children:__("Comment form introduction","jetpack")}),(0,m.jsx)(h.A,{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})]}),(0,m.jsx)("span",{className:"jp-form-setting-explanation",children:__("A few catchy words to motivate your visitors to comment.","jetpack")}),(0,m.jsxs)(o.lR,{children:[(0,m.jsx)("span",{className:"jp-form-label-wide",children:__("Color scheme","jetpack")}),(0,m.jsx)(o.FX,{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)&&(0,m.jsxs)(d.A,{children:[t&&(0,m.jsxs)("div",{className:"jp-toggle-set",children:[(0,m.jsx)(o.dV,{children:(0,m.jsx)(l.j,{slug:"gravatar-hovercards",compact:!0,disabled:this.props.isSavingAnyOption("gravatar-hovercards"),activated:this.props.getOptionValue("gravatar-hovercards"),toggleModule:this.props.toggleModuleNow,children:(0,m.jsx)("span",{className:"jp-form-toggle-explanation",children:k.description})})}),(0,m.jsx)(u.A,{text:__("Show Gravatar hovercards alongside comments.","jetpack"),link:k.learn_more_button,privacyLink:k.learn_more_button+"#privacy"})]}),s&&(0,m.jsxs)("div",{className:"jp-toggle-set",children:[(0,m.jsx)(o.dV,{children:(0,m.jsx)(n.ToggleControl,{checked:!!this.props.getOptionValue("wpcom_publish_comments_with_markdown","markdown"),disabled:this.props.isSavingAnyOption(["markdown"])||"inactive"===this.props.getModuleOverride("markdown"),onChange:this.handleMarkdownCommentsToggle,label:(0,m.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Enable Markdown use for comments.","jetpack")}),__nextHasNoMarginBottom:!0})}),(0,m.jsx)(u.A,{text:__("Allow readers to use markdown in comments.","jetpack"),link:j.learn_more_button,privacyLink:j.learn_more_button+"#privacy"})]}),a&&(0,m.jsxs)("div",{className:"jp-toggLine truncated
__("Unlock %s and more amazing features","jetpack"),this.props.connectingUserFeatureLabel),from:e&&e.get("from")||this.props.connectingUserFrom,redirectUri:"admin.php?page=jetpack",apiRoot:this.props.apiRoot,apiNonce:this.props.apiNonce,registrationNonce:"",autoTrigger:this.shouldAutoTriggerConnection()})}if(!this.props.userCanManageModules)return!!this.props.siteConnectionStatus&&(0,G.jsx)("div",{"aria-live":"assertive",children:(0,G.jsx)(S.A,{...this.props})});if(this.isMainConnectScreen()){const e=new URLSearchParams(location.search.split("?")[1]);return(0,G.jsxs)(a.ConnectScreen,{apiNonce:this.props.apiNonce,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"),children:[(0,G.jsx)("p",{children:__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")}),(0,G.jsxs)("ul",{role:"list",children:[(0,G.jsx)("li",{children:__("Speed up your site with optimized images","jetpack")}),(0,G.jsx)("li",{children:__("Protect your site against bot attacks","jetpack")}),(0,G.jsx)("li",{children:__("Get notifications if your site goes offline","jetpack")}),(0,G.jsx)("li",{children:__("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=(0,G.jsx)(v.A,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus});break;case"/setup":this.props.isSiteConnected&&(this.props.navigate("/dashboard",{replace:!0}),t=this.getAtAGlance());break;case"/my-plan":t=(0,G.jsx)(L.A,{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,n.A)("jetpack-plans",{site:this.props.siteRawUrl});break;case"/newsletter":window.location.href=`${this.props.siteAdminUrl}admin.php?page=jetpack-newsletter`;break;case"/settings":case"/security":case"/performance":case"/writing":case"/sharing":case"/discussion":case"/earn":case"/reader":case"/traffic":case"/privacy":t=(0,G.jsx)(U.A,{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=(0,G.jsx)(r.b,{siteRawUrl:this.props.siteRawUrl,onActivationSuccess:this.onLicenseActivationSuccess,siteAdminUrl:this.props.siteAdminUrl,currentRecommendationsStep:this.props.currentRecommendationsStep}):(this.props.navigate("/dashboard",{replace:!0}),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-v1":case"/recommendations/welcome-golden-token":case"/recommendations/backup-activated":case"/recommendations/scan-activated":case"/recommendations/unlimited-sharing-activated":case"/recommendations/social-v1-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=(0,G.jsx)(z.b,{}):(this.props.navigate("/dashboard",{replace:!0}),t=this.getAtAGlance());break;default:if(D.Ix.includes(e)){t=(0,G.jsx)(I.A,{});break}this.props.navigate("/dashboard",{replace:!0}),t=this.getAtAGlance()}return(0,l.isWoASite)()&&!this.props.showMyJetpack?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.showMyJetpackLine truncated
_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:(0,y.jsx)("strong",{})}),title:__("Jetpack Security","jetpack")};case"is-security-t2-plan":return{...o,details:[p,l],tagLine:(0,n.createInterpolateElement)((0,a.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:(0,y.jsx)("strong",{})}),title:__("Jetpack Security","jetpack")};case"is-complete-plan":return{...o,details:[p,l],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{...o,details:[p,l],tagLine:(0,n.createInterpolateElement)((0,a.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:(0,y.jsx)("strong",{})}),title:__("VaultPress Backup","jetpack")};case"is-backup-t1-plan":return{...o,details:[p,l],tagLine:(0,n.createInterpolateElement)((0,a.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:(0,y.jsx)("strong",{})}),title:__("VaultPress Backup","jetpack")};case"is-backup-t2-plan":return{...o,details:[p,l],tagLine:(0,n.createInterpolateElement)((0,a.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:(0,y.jsx)("strong",{})}),title:__("VaultPress Backup","jetpack")};case"is-search-plan":return{...o,details:[p,l],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search","jetpack")};case"is-free-search-plan":return{...o,details:[p,l],tagLine:__("Fast, highly relevant search results and powerful filtering.","jetpack"),title:__("Jetpack Search Free","jetpack")};case"is-scan-plan":return{...o,details:[p,l],tagLine:__("Automatic scanning and one-click fixes keep your site one step ahead of security threats.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Scan","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-anti-spam-plan":return{...o,details:[p,l],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{...o,details:l,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{...o,details:l,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{...o,details:l,tagLine:__("Your data is being securely backed up every day with a 30-day archive.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Backup <em>Daily</em>","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-realtime-backup-plan":return{...o,details:l,tagLine:__("Your data is being securely backed up as you edit.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Backup <em>Real-Time</em>","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-videopress-plan":return{...o,details:[p,l],tagLine:__("High-quality, ad-free video built specifically for WordPress.","jetpack"),title:__("Jetpack VideoPress","jetpack")};case"is-jetpack-social-basic-plan":return{...o,details:[p,l],tagLine:__("You can automatically share your content to social media sites.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Social Basic","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-jetpack-social-v1-plan":return{...o,details:[p,l],tagLine:__("You can automatically share your content to social media sites.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Social","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-jetpack-social-advanced-plan":return{...o,details:[p,l],tagLine:__("You can automatically share your content to social media sites and get access to advanced posting options.","jetpack"),title:(0,n.createInterpolateElement)(__("Jetpack Social Advanced","jetpack"),{em:(0,y.jsx)("em",{})})};case"is-jetpack-boost-plan":return{...o,details:[p,l],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{...o,details:[p,l],tagLine:__("Experience the ease of crafting content with intuitive and powerful AI.","jetpack"),title:__("Jetpack AI","jetpack")};case"is-jetpack-golden-token-plan":return{...o,details:[p,l],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{...o,details:[p,l],tagLine:__("Essential security tools: real-time backups and comment spam protection.","jetpack"),title:__("Jetpack Starter","jetpack")};case"is-jetpack-stats-plan":return{...o,details:[p,l],tagLine:__("Simple, yet powerful analytics with priority support.","jetpack"),title:__("Jetpack Stats","jetpack")};case"is-free-jetpack-stats-plan":return{...o,details:[p,l],tagLine:__("Simple, yet powerful analytics.","jetpack"),title:__("Jetpack Stats Free","jetpack")};case"is-jetpack-creator-plan":return{...o,details:[p,l],tagLine:__("Craft stunning content, boost your subscriber base, and monetize your online presence.","jetpack"),title:__("Jetpack Creator","jetpack")};case"is-jetpack-growth-plan":return{...o,details:[p,l],tagLine:__("Grow your audience effortlessly","jetpack"),title:__("Jetpack Growth","jetpack")};default:return{...o,isPlaceholder:!0}}}renderPlan(){return(0,c.isEmpty)(this.props.activeProducts)||this.props.plan!==j.MMo?(0,y.jsxs)(m.A,{compact:!0,children:[this.renderHeader(__("My Plan","jetpack")),(0,y.jsx)(_.A,{...this.getProductProps(this.props.plan,this.props.activeProducts),isPlanLine truncated
__("Got a license key? <a>Activate it here.</a>","jetpack"),{a:(0,y.jsx)("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"})})}),(0,y.jsxs)("div",{className:(0,o.A)("jp-landing__licensing-actions-item",{"no-licenses":!t,"no-purchases":!l}),children:[l&&(0,y.jsx)(h.A,{onClick:this.trackAllPurchasesClick,compact:!0,rna:!0,children:(0,y.jsx)(r.N,{openInNewTab:!0,href:(0,i.A)("calypso-purchases"),children:__("View all purchases","jetpack")})}),"footer"===e&&(0,y.jsx)(h.A,{href:a+"admin.php?page=jetpack#/recommendations",onClick:this.trackRecommendationsClick,primary:!0,rna:!0,children:_x("Recommendations","Navigation item.","jetpack")})]})]})})};trackAllPurchasesClick=()=>{k.A.tracks.recordJetpackClick({target:"calypso_purchases_link",page:"my-plan"})};trackLicenseActivationClick=()=>{k.A.tracks.recordJetpackClick({target:"licensing_activation_button",path:"licensing/activation",page:"my-plan"})};trackRecommendationsClick=()=>{k.A.tracks.recordJetpackClick({target:"recommendations-button",page:"my-plan"})};renderFooter(){return!this.props.hasDetachedUserLicenses&&this.renderLicensingActions("footer")}render(){return(0,y.jsxs)("div",{className:"jp-landing__plans",children:[this.renderLicensingActions(),this.renderPlan(),this.renderProducts(),this.renderFooter(),this.props.showLicensingUi&&(0,y.jsx)(m.A,{compact:!0,children:(0,y.jsx)(x.A,{})})]})}}C.propTypes={activeProducts:p().array,plan:p().string,purchases:p().array,siteAdminUrl:p().string,dateFormat:p().string,displayBackups:p().bool,plansMainTopUpgradeUrl:p().string,showRecommendations:p().bool};const A=(0,u.Ng)(e=>({dateFormat:(0,b.eW)(e),displayBackups:(0,b.Fp)(e),plansMainTopUpgradeUrl:(0,b.Q4)(e,"plans-main-top"),showRecommendations:(0,b.ct)(e),showLicensingUi:(0,b.VN)(e),hasDetachedUserLicenses:!!(0,w.UB)(e)}))(C)},33075(e,t,s){"use strict";s.d(t,{A:()=>u});var i=s(5932),n=s(27723),a=s(51609),r=s(84952),o=s(70386),c=s(5546),l=s(78888),p=s(7237),d=s(10790);const __=n.__,_x=n._x,u=(0,r.Ng)(null,{errorNotice:c.tg,successNotice:c.Er,updateUserLicensesCounts:p.r2})(({errorNotice:e,successNotice:t,updateUserLicensesCounts:s})=>{const[n,r]=(0,a.useState)(!1),[c,p]=(0,a.useState)(""),u=(0,a.useCallback)(e=>{p(e.target.value)},[]),h=(0,a.useCallback)(()=>{c&&!n&&(r(!0),i.Ay.updateLicenseKey(c).then(()=>{s(),t(__("Jetpack license key added. It may take a minute for the license to be processed.","jetpack")),r(!1),p("")}).catch(()=>{e(__("Error adding Jetpack license key.","jetpack")),r(!1)}))},[e,t,n,c,s]);return(0,d.jsxs)("div",{className:"jp-landing__plan-features-header-jetpack-license",children:[(0,d.jsx)("h3",{children:__("Jetpack License","jetpack")}),(0,d.jsx)("p",{children:__('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")}),(0,d.jsx)(l.A,{name:"jetpack_license_key",className:"code",value:c,placeholder:__("Jetpack licence key","jetpack"),disabled:n,onChange:u}),(0,d.jsx)(o.A,{primary:!0,compact:!0,onClick:h,children:n?_x("Applying…","Button caption","jetpack"):_x("Apply license","Button caption","jetpack",0)})]})})},22784(e,t,s){"use strict";s.d(t,{A:()=>h});var i=s(3924),n=s(27723),a=s(28120),r=s.n(a),o=s(84952),c=s(70386),l=s(2065),p=s(25535),d=s(10790);const __=n.__,u=({partnerCoupon:e,siteRawUrl:t})=>{if("object"!=typeof e)return null;const s=(0,d.jsx)(c.A,{primary:!0,href:(0,i.A)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:t,query:`coupon=${e.coupon_code}`}),children:__("Redeem","jetpack")});return(0,d.jsx)(p.A,{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}})};u.propTypes={partnerCoupon:r().oneOfType([r().object,r().bool]).isRequired,siteRawUrl:r().string.isRequired};const h=(0,o.Ng)(e=>({partnerCoupon:(0,l.ly)(e)}))(u)},73842(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(27723),n=s(84952),a=s(70386),r=s(26592),o=s(12623),c=s(10790);const __=i.__;const l=(0,n.Ng)(e=>({isSubscriptionsModuleFound:(0,o.jQ)(e,"subscriptions")}))(function({searchTerm:e,isSubscriptionsModuleFound:t,siteAdminUrl:s}){return e&&t?(0,c.jsxs)("div",{children:[(0,c.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Newsletter Settings","jetpack")}),(0,c.jsx)("h2",{className:"jp-settings__section-title",children:__("Newsletter","jetpack")}),(0,c.jsxs)(r.A,{children:[(0,c.jsx)("p",{children:__("Newsletter Settings have moved to a new location. Access it via Jetpack → Newsletter.","jetpack")}),(0,c.jsx)(a.A,{href:`${s}admin.php?page=jetpack-newsletter`,primary:!0,rna:!0,children:__("Go to Newsletter Settings","jetpack")})]})]}):null})},84202(e,t,s){"use strict";s.d(t,{A:()=>p});var i=s(10067),n=s.n(i),a=s(51686);s(92804);const r=n()("calypso:notices");r("initializing notices");const o={containerNames:{}};(0,a.A)(o);let c=[];const l={new:function(e,t,s){const i=t.overlay?"overlay-notices":"notices";o.containerNames[i]=i,r("creating notice",e,t,s),o[i]=[];const n={type:t.type||"message",status:s,text:e,duration:t.duration,container:i,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[i].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,i,n=!1;const a=function(e){return e.persistent};for(i in o.containerNames)s=o[i].length,o[i]=o[i].filter(a),s!==o[i].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},79223(e,t,s){"use strict";s.d(t,{A:()=>g});var i=s(27723),n=s(51609),a=s(84952),r=s(63109),o=s(34679),c=s(26508),l=s(12623),p=s(65779),d=s(17467),u=s(37276),h=s(10790);const __=i.__;class m extends n.Component{render(){const e={getModule:this.props.module,isUnavailableInOfflineMode:this.props.isUnavailableInOfflineMode,isModuleFound:this.props.isModuleFound,getModuleOverride:this.props.getModuleOverride,hasConnectedOwner:this.props.hasConnectedOwner};if(!this.props.searchTerm&&!this.props.active)return null;return["photon","videopress","photon-cdn","search"].some(this.props.isModuleFound)?(0,h.jsxs)("div",{children:[(0,h.jsx)(r.A,{}),(0,h.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Performance Settings","jetpack")}),(0,h.jsx)("h2",{className:"jp-settings__section-title",children:this.props.searchTerm?__("Performance","jetpack"):__("Load pages faster, optimize images, and speed up your visitors’ experience.","jetpack")}),(0,h.jsx)(d.A,{...e}),(0,h.jsx)(u.A,{...e}),(0,h.jsx)(p.A,{...e})]}):null}}const g=(0,a.Ng)(e=>({module:t=>(0,c.f_)(e,t),isUnavailableInOfflineMode:t=>(0,o.Em)(e,t),isModuleFound:t=>(0,l.jQ)(e,t),getModuleOverride:t=>(0,c.d1)(e,t),hasConnectedOwner:(0,o.BG)(e)}))(m)},65779(e,t,s){"use strict";s.d(t,{A:()=>x});var i=s(3924),n=s(56427),a=s(86087),r=s(27723),o=s(51609),c=s(84952),l=s(11895),p=s(3983),d=s(63344),u=s(60619),h=s(8332),m=s(19579),g=s(6838),f=s(83101),v=s(34679),k=s(26508),j=s(12623),b=s(82656),w=s(10790);const __=r.__,_x=r._x;class _ extends o.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:o,hasVideoPressUnlimitedStorage:c,isFetching:d,isOffline:f,upgradeUrl:v,videoPressStorageUsed:k}=this.props,j=o&&!c&&null!==k,b=o||null===k||0!==k?__("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"),_=(0,w.jsLine truncated
__("Using <strong>%dGB</strong> of 1TB","jetpack"),Math.round(k/1024)),{strong:(0,w.jsx)("strong",{})})})]}),s&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.j,{slug:"videopress",disabled:this.props.isUnavailableInOfflineMode("videopress")||this.props.isSavingAnyOption("videopress"),activated:this.props.getOptionValue("videopress"),toggleModule:this.props.toggleModuleNow,children:(0,w.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Enable VideoPress","jetpack")})}),(0,w.jsx)(l.dV,{children:(0,w.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,id:"videopress-site-privacy",disabled:!this.props.getOptionValue("videopress")||this.props.isSavingAnyOption("videopress_private_enabled_for_site"),checked:this.props.getOptionValue("videopress_private_enabled_for_site"),onChange:this.togglePrivacySetting,label:(0,w.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Video Privacy: Restrict views to members of this site","jetpack")})})})]})]}),x="inactive"===this.props.getModuleOverride("videopress"),y=e&&!o&&s&&!f&&!d;return(0,w.jsxs)(h.A,{...this.props,header:__("Media","jetpack"),feature:!x&&g.d2k,hideButton:!0,children:[e&&_,y&&(0,w.jsx)(p.Ay,{className:"media__videopress-upgrade",callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:b,eventFeature:"videopress",icon:"video",plan:(0,g.EP8)(g.SyV),feature:"jetpack_videopress",href:v,rna:!0})]})}}const x=(0,c.Ng)(e=>({module:t=>(0,k.f_)(e,t),isModuleFound:t=>(0,j.jQ)(e,t),sitePlan:(0,b.X6)(e),hasVideoPressFeature:(0,b.IT)(e,"videopress-1tb-storage")||(0,b.IT)(e,"videopress-unlimited-storage")||(0,b.IT)(e,"videopress"),hasVideoPressUnlimitedStorage:(0,b.IT)(e,"videopress-unlimited-storage"),hasConnectedOwner:(0,v.BG)(e),isOffline:(0,v.hN)(e),isFetching:(0,b.SN)(e),getModuleOverride:t=>(0,k.d1)(e,t),upgradeUrl:(0,f.F)(e,"videopress"),videoPressStorageUsed:(0,b.$U)(e)}))((0,d.t)(_))},17467(e,t,s){"use strict";s.d(t,{A:()=>f});var i=s(3924),n=s(27723),a=s(84952),r=s(26592),o=s(63344),c=s(8332),l=s(19579),p=s(6838),d=s(34679),u=s(10790);const __=n.__,h=__("Jetpack Search helps your visitors instantly find the right content. Choose how Search appears on your site — as an embedded results page, an overlay, or in place of your theme’s default search.","jetpack"),m=__("Manage Search settings","jetpack"),g=__("Search supports many customizations.","jetpack");const f=(0,a.Ng)(e=>({inOfflineMode:(0,d.hN)(e)}))((0,o.t)(function(e){return(0,u.jsxs)(c.A,{...e,module:"search",feature:p.JvE,hideButton:!0,children:[(0,u.jsx)(l.A,{disableInOfflineMode:!0,module:{module:"search"},support:{text:g,link:(0,i.A)("jetpack-support-search")},children:(0,u.jsx)("p",{children:e.inOfflineMode?__("Unavailable in Offline Mode","jetpack"):h})}),!e.inOfflineMode&&(0,u.jsx)(r.A,{compact:!0,className:"jp-settings-card__configure-link",href:"admin.php?page=jetpack-search#/settings",children:m})]})}))},37276(e,t,s){"use strict";s.d(t,{A:()=>j});var i=s(3924),n=s(56427),a=s(27723),r=s(51609),o=s(84952),c=s(11895),l=s(63344),p=s(60619),d=s(8332),u=s(19579),h=s(53835),m=s(34679),g=s(26508),f=s(12623),v=s(10790);const __=a.__,k=(0,l.t)(class extends r.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,i=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,a.sprintf)(/* translators: %s: an error code. */
__("Error disabling site accelerator. %s","jetpack"),e)};let r={};!1==!e&&"active"!==n&&(e=!1,r={photon:!1,"tiled-gallery":!1,tiled_galleries:!1}),!1==!t&&"active"!==i&&(t=!1,r={...r,"photon-cdn":!1}),this.props.updateOptions(r,s)}else{const s={progress:__("Enabling Site accelerator…","jetpack"),success:__("Site accelerator is now speeding up your site!","jetpack"),error:e=>(0,a.sprintf)(/* translators: %s: an error code. */
__("Error enabling Site accelerator. %s","jetpack"),e)};let r={};!1===e&&"inactive"!==n&&(e=!0,r={photon:!0,"tiled-gallery":!0,tiled_galleries:!0}),!1===t&&"inactive"!==i&&(t=!0,r={...r,"photon-cdn":!0}),this.props.updateOptions(r,s)}!0===e||!0===t?h.A.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"on"}):h.A.tracks.recordJetpackClick({target:"jetpack_site_accelerator_toggle",toggled:"off"}),this.props.getOptionValue("photon")!==e&&h.A.tracks.recordEvent("jetpack_wpa_module_toggle",{module:"photon",toggled:!1===e?"off":"on"}),this.props.getOptionValue("photon-cdn")!==t&&h.A.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 r=this.props.getModuleOverride("photon");this.props.isOfflineMode&&(r="inactive");const o=e&&t&&("inactive"!==r||"inactive"!==a),l=(e||t)&&("inactive"!==r||"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"),(0,v.jsx)(d.A,{...this.props,header:__("Performance & speed","jetpack"),hideButton:!0,module:"performance-speed",children:(e||t)&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(u.A,{hasChild:!0,support:{link:(0,i.A)("jetpack-support-site-accelerator")},children:[(0,v.jsx)("p",{children:__("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")}),l&&(0,v.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:s,onChange:this.handleSiteAcceleratorChange,disabled:!o||h,label:(0,v.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Enable site accelerator","jetpack")})}),(0,v.jsxs)(c.dV,{children:[e&&(0,v.jsx)(p.j,{slug:"photon",disabled:this.props.isUnavailableInOfflineMode("photon")||this.props.isSavingAnyOption("photon"),activated:this.props.getOptionValue("photon"),toggleModule:this.toggleModule,children:(0,v.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Speed up image load times","jetpack")})}),t&&(0,v.jsx)(p.j,{slug:"photon-cdn",disabled:this.props.isSavingAnyOption("photon-cdn"),activated:this.props.getOptionValue("photon-cdn"),toggleModule:this.toggleModule,children:(0,v.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Speed up static file load times","jetpack")})})]})]})})})}}),j=(0,o.Ng)(e=>({module:t=>(0,g.f_)(e,t),isModuleFound:t=>(0,f.jQ)(e,t),isOfflineMode:(0,m.hN)(e),getModuleOverride:t=>(0,g.d1)(e,t)}))(k)},91521(e,t,s){"use strict";s.d(t,{A:()=>y});var i=s(3924),n=s(86087),a=s(27723),r=s(79654),o=s(28120),c=s.n(o),l=s(51609),p=s(84952),d=s(62413),u=s(63344),h=s(8332),m=s(19579),g=s(53835),f=s(30138),v=s(83177),k=s(51142),j=s(10790);const __=a.__,_x=a._x,b=()=>g.A.tracks.recordJetpackClick({target:"privacy-policy",feature:"privacy"}),w=()=>g.A.tracks.recordJetpackClick({target:"cookie-policy",feature:"privacy"}),_=()=>g.A.tracks.recordJetpackClick({target:"privacy-center",feature:"privacy"});class x extends l.Component{static displayName="PrivacySettings";static propTypes={searchTerm:c().string,active:c().bool,toggleTracking:c().func,getOptionValue:c().func,isSavingAnyOption:c().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()&&(0,j.jsxs)("div",{children:[(0,j.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Privacy Settings","jetpack")}),(0,j.jsx)(h.A,{...this.props,header:_x("Privacy Settings","Settings header","jetpack"),hideButton:!0,children:(0,j.jsxs)(m.A,{hasChild:!0,children:[(0,j.jsx)("p",{children:__("We are committed to your privacy and security.","jetpack")}),(0,j.jsx)("p",{children:(0,j.jsx)(d.A,{compact:!0,checked:!this.pLine truncated
__("Add %s","jetpack"),e.title)})},j=e=>{const{availableProductsAndPlans:t,product:s,offers:i}=e,r=((e,t)=>{const s="security";return!((0,a.isEmpty)(e.includedInPlans)||!Object.hasOwn(t,s)||!e.includedInPlans.includes(s))&&t[s]})(s,t);(0,c.useEffect)(()=>{u.A.tracks.recordEvent("jetpack_product_description_view",{type:s.slug})},[s]);const o=(0,n.A)({"jp-product-description":!0,"jp-product-description--split":!!r});return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("div",{className:o,children:[k(s,i,"primary",!!r),!!r&&k(r,i,"secondary",!!r)]}),(0,v.jsx)("div",{className:"jp-product-description__introductory-pricing",children:__("Special introductory pricing, all renewals are at full price.","jetpack")}),(0,v.jsx)("div",{className:"jp-product-description__money-back-guarantee",children:(0,v.jsx)(d.e,{text:__("14-day money-back guarantee","jetpack")})})]})};j.propTypes={product:o().object.isRequired,availableProductsAndPlans:o().object.isRequired,offers:o().arrayOf(o().object).isRequired};const b=(0,l.Ng)(e=>({availableProductsAndPlans:(0,h.FE)(e),offers:(0,m.oz)(e)}))(j)},83101(e,t,s){"use strict";s.d(t,{$:()=>a,F:()=>r});var i=s(2065),n=s(64793);const a=()=>URLSearchParams&&!!new URLSearchParams(window.location?.search).get("new_pricing_202208"),r=(e,t)=>{const s=`${(0,i.eu)(e)}admin.php?page=jetpack#`,a=`${(0,i.eu)(e)}admin.php?page=my-jetpack#`;return"search"===t?`${(0,i.eu)(e)}admin.php?page=jetpack-search`:n.hM.includes(`/add-${t}`)?`${a}/add-${t}`:n.Ix.includes(`/product/${t}`)?`${s}/product/${t}`:`${s}/dashboard`}},28742(e,t,s){"use strict";s.d(t,{A:()=>b});var i=s(3924),n=s(97999),a=s(27723),r=s(93832),o=s(51609),c=s(84952),l=s(26592),p=s(63109),d=s(63344),u=s(60619),h=s(11346),m=s(8332),g=s(19579),f=s(53835),v=s(26508),k=s(12623),j=(s(24016),s(10790));const __=a.__;const b=(0,d.t)((0,c.Ng)((e,t)=>{const s="wpcom-reader";return{moduleName:s,isReaderModuleActive:t.getOptionValue(s),readerModule:(0,v.f_)(e,s),isModuleFound:t=>(0,k.jQ)(e,t)}})(function(e){const{active:t,isModuleFound:s,searchTerm:a,blogID:c,isSavingAnyOption:d,isReaderModuleActive:v,readerModule:k,updateOptions:b,getOptionValue:w,refreshSettings:_,moduleName:x}=e,y=(0,o.useCallback)(e=>{const t=w(e);f.A.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:e,setting:e,toggled:t?"off":"on"}),b({[e]:!t}).then(()=>{t||_()})},[w,b,_]),C=(0,o.useCallback)(()=>{f.A.tracks.recordJetpackClick("open-reader-from-admin-bar")},[]);if(!a&&!t)return null;if(!s(x))return null;const A=(0,n.isWoASite)(),S=A&&(0,j.jsx)(h.A,{status:"is-info",showDismiss:!1,text:__("This feature is automatically managed for you on WordPress.com sites.","jetpack")}),N=(0,j.jsxs)(g.A,{hasChild:!0,module:k,support:{text:__("Quickly access the WordPress.com Reader from your site’s admin bar.","jetpack"),link:(0,i.A)("jetpack-support-reader")},children:[(0,j.jsx)("h3",{className:"jp-form-label-wide",children:__("Follow sites and discover new content from the WordPress.com and Jetpack network.","jetpack")}),(0,j.jsxs)("ul",{role:"list",className:"jp-reader-discover__list",children:[(0,j.jsx)("li",{children:__("Follow blogs you like","jetpack")}),(0,j.jsx)("li",{children:__("Discover posts by topic","jetpack")}),(0,j.jsx)("li",{children:__("Reach new readers","jetpack")})]}),(0,j.jsx)(u.j,{slug:x,activated:v,toggleModule:y,disabled:A||d(x),children:(0,j.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Add a link to the Reader in the top navigation bar","jetpack")})})]}),T=(0,r.addQueryArgs)("https://wordpress.com/reader/",c?{origin_site_id:c}:{}),E=(0,j.jsx)(l.A,{compact:!0,className:"jp-settings-card__configure-link",onClick:C,href:T,target:"_blank",rel:"noopener noreferrer",children:__("Visit the Reader","jetpack")});return(0,j.jsxs)("div",{children:[(0,j.jsx)(p.A,{}),(0,j.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Reader Settings","jetpack")}),(0,j.jsx)("h2",{className:"jp-settings__section-title",children:a?__("Reader","jetpack"):__("Discover and follow your favorite sites with the WordPress.com Reader.","jetpack",0)}),(0,j.jsxs)(m.A,{...e,header:__("Reader Visibility","jetpack"),hideButton:!0,module:x,children:[S,N,E]})]})}))},42538(e,t,s){"use strict";s.d(t,{A:()=>o});var i=s(27723),n=s(51609),a=s(31497),r=(s(26120),s(10790));const __=i.__,o=()=>{const e=(0,n.useCallback)(()=>history.back(),[]);return(0,r.jsxs)("button",{className:"jp-recommendations-back-btn",onClick:e,children:[(0,r.jsx)(a.A,{size:18,icon:"arrow-left"}),/* translators: As in go back to the previous page. */
__("Back","jetpack")]})}},31838(e,t,s){"use strict";s.d(t,{CT:()=>h,DR:()=>v,D_:()=>f,Ez:()=>g,ID:()=>c,JS:()=>l,JT:()=>a,Np:()=>w,OQ:()=>u,XD:()=>o,ec:()=>k,eo:()=>b,h2:()=>r,i4:()=>p,lr:()=>m,tB:()=>j,wo:()=>d});var i=s(27723),n=s(6838);const __=i.__,a={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_V1:"welcome__social_v1",WELCOME__SOCIAL_IMAGE_GENERATOR:"welcome__social_image_generator",WELCOME__GOLDEN_TOKEN:"welcome__golden_token",BACKUP_ACTIVATED:"backup-activated",SCAN_ACTIVATED:"scan-activated",SOCIAL_V1_ACTIVATED:"social-v1-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",h="JETPACK_SEARCH",m="JETPACK_SCAN",g="JETPACK_SOCIAL_BASIC",f="JETPACK_SOCIAL_V1",v="JETPACK_GOLDEN_TOKEN",k=16643232e5,j=[v,o,c,l,p,d,u,h,m,g,f],b={[v]:n.lFm,[o]:n.tdG,[c]:n.yXc,[l]:n.tDL,[p]:n.JM0,[d]:n.TwY,[u]:n.ZOP,[h]:n.HWr,[m]:n.yuZ,[g]:n.HdP,[f]:n.aG$},w={[o]:{name:"Complete",slugs:["backup-activated","scan-activated","antispam-activated","videopress-activated","unlimited-sharing-activated","social-v1-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"]},[h]:{name:"Search",slugs:["search-activated"]},[m]:{name:"Scan",slugs:["scan-activated"]},[g]:{name:"Social Basic",slugs:[a.UNLIMITED_SHARING_ACTIVATED]},[f]:{name:"Social",slugs:[a.UNLIMITED_SHARING_ACTIVATED,a.SOCIAL_V1_ACTIVATED]},[v]:{name:__("Jetpack Golden Token","jetpack"),slugs:[a.BACKUP_ACTIVATED,a.SCAN_ACTIVATED]}}},48011(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(27723),n=s(13022),a=(s(21823),s(10790));const __=i.__,r=({className:e,discount:t,suffix:s})=>t?(0,a.jsxs)("div",{className:(0,n.A)("jp-recommendations-discount-badge",e),children:[(0,i.sprintf)(
// translators: %d is the percentage value, %% the percentage symbol
__("%d%% off","jetpack"),t),s]}):null},33841(e,t,s){"use strict";s.d(t,{t:()=>m});var i=s(79654),n=s(13022),a=s(51609),r=s(84952),o=s(70386),c=s(31497),l=s(71584),p=s(53835),d=s(54365),u=s(47309),h=(s(33213),s(10790));const m=(0,r.Ng)((e,t)=>({isInstalling:(0,d.vW)(e,t.featureSlug),isFeatureActive:(0,d.L4)(e,t.featureSlug),...(0,u.Hf)(e,t.featureSlug),stepRoute:d.X4[t.featureSlug]}),(e,t)=>({...(0,u.AD)(e,t.featureSlug),startFeatureInstall:t=>e((0,d.YE)(t)),endFeatureInstall:t=>e((0,d.x1)(t))}))(e=>{const{activateFeature:t,configLink:s,configureButtonLabel:r,displayName:d,featureSlug:u,stepRoute:m,summaryActivateButtonLabel:g,isInstalling:f,startFeatureInstall:v,endFeatureInstall:k}=e,j=(0,a.useCallback)(()=>{p.A.tracks.recordEvent("jetpack_recommendations_summary_configure_click",{feature:u})},[u]),b=(0,a.useCallback)(()=>{p.A.tracks.recordEvent("jetpack_recommendations_summary_enable_click",{feature:u}),v(u),t().finally(()=>{k(u)})},[t,u,v,k]),w=(0,a.useCallback)(()=>{p.A.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:u})},[u]),_=(0,a.useMemo)(()=>s.match(/^https:\/\/jetpack.com\/redirect/),[s]),x=(0,h.jsx)("div",{className:"jp-recommendations-feature-summary__cta",children:e.isFeatureActive?(0,h.jsx)(h.Fragment,{children:_?(0,h.jsx)(i.N,{openInNewTab:!0,type:"button",className:"dops-button is-rna",href:s,onClick:j,children:r}):(0,h.jsx)(o.A,{rna:!0,href:s,onClick:j,children:r})}):(0,h.jsx)(l.A,{primary:!0,rna:!0,isInstalling:f,onClick:b,children:g})});return(0,h.jsxs)("div",{className:(0,n.A)("jp-recommendations-feature-summary",{"is-feature-enabled":e.isFeatureActive}),children:[e.isFeatureActive&&(0,h.jsx)("div",{className:"jp-recommendations-feature-summary__checkmark",children:(0,h.jsx)(c.A,{icon:"checkmark-circle",size:24})}),(0,h.jsx)(o.A,{borderless:!0,href:m,onClick:w,className:"jp-recommendations-feature-summary__display-name",children:(0,h.jsx)("span",{className:"jp-recommendations-feature-summary__display-name-text",children:d})}),(0,h.jsx)("div",{className:"jp-recommendations-feature-summary__actions",children:x})]})})},63409(e,t,s){"use strict";s.d(t,{j:()=>u});var i=s(13022),n=s(51609),a=s(84952),r=s(70386),o=s(53835),c=s(54365),l=s(47309),p=s(10790);const d=({href:e,label:t,isHidden:s,onClick:n})=>(0,p.jsxs)("a",{rel:"noreferrer",target:"_blank",href:e,onClick:n,className:(0,i.A)("jp-summary-text-link",{"is-hidden":s}),children:[t,(0,p.jsx)("span",{className:"jp-summary-text-link__icon dashicons dashicons-arrow-right-alt2"})]}),u=(0,a.Ng)((e,t)=>({...(0,l.v1)(e,t.slug),stepRoute:c.X4[t.slug]}))(({slug:e,displayName:t,ctaLabel:s,ctaLink:i,stepRoute:a})=>{const c=!!i,l=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:e})},[e]),u=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_manage_click",{feature:e})},[e]);return(0,p.jsxs)("div",{className:"jp-recommendations-feature-summary is-primary",children:[c?(0,p.jsx)(r.A,{href:a,onClick:l,className:"jp-recommendations-feature-summary__display-name",borderless:!0,children:(0,p.jsx)("span",{className:"jp-recommendations-feature-summary__display-name-text",children:t})}):(0,p.jsx)("span",{className:"jp-recommendations-feature-summary__display-name",children:t}),(0,p.jsx)("div",{className:"jp-recommendations-feature-summary__actions",children:(0,p.jsx)("div",{className:"jp-recommendations-feature-summary__cta",children:(0,p.jsx)(d,{href:i,label:s,onClick:u,isHidden:!c})})})]})})},88537(e,t,s){"use strict";s.d(t,{v:()=>d});var i=s(79654),n=s(51609),a=s(84952),r=s(70386),o=s(53835),c=s(54365),l=s(47309),p=(s(33213),s(10790));const d=(0,a.Ng)((e,t)=>({...(0,l.fJ)(e,t.resourceSlug),stepRoute:c.X4[t.resourceSlug]}))(e=>{const{displayName:t,ctaLabel:s,ctaLink:a,resourceSlug:c,stepRoute:l}=e,d=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_learn_more_click",{feature:c})},[c]),u=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_step_name_click",{feature:c})},[c]);return(0,p.jsxs)("div",{className:"jp-recommendations-feature-summary",children:[(0,p.jsx)(r.A,{borderless:!0,href:l,onClick:u,className:"jp-recommendations-feature-summary__display-name",children:(0,p.jsx)("span",{className:"jp-recommendations-feature-summary__display-name-text",children:t})}),(0,p.jsx)("div",{className:"jp-recommendations-feature-summary__actions",children:(0,p.jsx)("div",{className:"jp-recommendations-feature-summary__cta",children:(0,p.jsx)(i.N,{openInNewTab:!0,type:"button",className:"dops-button is-rna",href:a,onClick:d,children:s})})})]})})},47309(e,t,s){"use strict";s.d(t,{AD:()=>v,Hf:()=>m,ag:()=>j,c_:()=>k,fJ:()=>g,v1:()=>f,zQ:()=>b});var i=s(5932),n=s(3924),a=s(97999),r=s(54268),o=s(27723),c=s(6838),l=s(2065),p=s(30138),d=s(77423),u=s(54365),h=s(78795);const __=o.__,m=(e,t)=>{switch(t){case"boost":return{configureButtonLabel:__("Settings","jetpack"),displayName:__("Jetpack Boost","jetpack"),summarLine truncated
/* 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,l.r9)(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,l.eu)(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,n.A)("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,l.eu)(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,l.r9)(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,a.getAdminUrl)("admin.php?page=jetpack-social"),illustration:"assistant-jetpack-social",skipText:__("Next","jetpack")};case"welcome__social_v1":return{question:__("Welcome to Jetpack Social!","jetpack"),description:__("With your new Social plan you unlocked priority support, 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,a.getAdminUrl)("admin.php?page=jetpack-social"),ctaForceExternal:!0,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,a.getAdminUrl)("admin.php?page=jetpack-social"),ctaForceExternal:!0,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,l.r9)(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,l.r9)(e,"scan"),illustration:"assistant-malware-scanning",skipText:__("Next","jetpack")};case"unlimited-sharing-activated":return{question:__("Jetpack Social","jetpack"),description:__("It’s easy to share your content to a wider audience by connecting your social medLine truncated
__("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:i(),ctaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:t,path:c.Jht}),illustration:"assistant-backup-welcome"}}case"vaultpress-for-woocommerce":{const t=(0,l.XG)(e),s=(0,h.Nq)(e,c.Jht),i=(0,h.LE)(e,c.Jht),a=(0,r.vv)(s,i?.currency_code),p=(0,h.ab)(e)?__("Try for 30 days","jetpack"):(0,o.sprintf)(/* translators: %s: is a formatted currency. e.g. $1 */
__("Try for %s for 30 days","jetpack"),a);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,n.A)("jetpack-recommendations-product-checkout",{site:t,path:c.Jht}),illustration:"assistant-backup-welcome"}}default:throw`Unknown step slug in recommendations/question: ${t}`}},j=(e,t)=>{const s=(0,l.XG)(e),i=(0,l.t9)(e);switch(t){case c.b2e:return{productCardTitle:__("Increase your site security!","jetpack"),productCardCtaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack Security","jetpack"),productCardList:i.security?i.security.features:[],productCardIcon:"/recommendations/cloud-icon.svg"};case c.uRO:return{productCardTitle:__("Grow and track your audience effortlessly","jetpack"),productCardCtaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack Growth","jetpack"),productCardList:i.growth?i.growth.features:[],productCardIcon:"/recommendations/growth-icon.svg"};case c.GGh:return{productCardTitle:__("Block spam automatically with Jetpack Akismet Anti-spam","jetpack"),productCardCtaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Akismet Anti-spam","jetpack"),productCardList:i.akismet?i.akismet.features:[],productCardIcon:"/recommendations/bug-icon.svg"};case c.Wn7:return{productCardTitle:__("Upgrade for more videos and storage","jetpack"),productCardCtaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get VideoPress","jetpack"),productCardList:i.videopress?i.videopress.features:[],productCardIcon:"/recommendations/video-icon.svg"};case c.Jht:return{productCardTitle:__("Go back in time with one click","jetpack"),productCardCtaLink:(0,n.A)("jetpack-recommendations-product-checkout",{site:s,path:t}),productCardCtaText:__("Get Jetpack VaultPress Backup","jetpack"),productCardList:i.backup?i.backup.features:[],productCardIcon:"/recommendations/cloud-icon.svg",productCardDisclaimer:i.backup?i.backup.disclaimer:""};default:throw`Unknown product slug for getProductCardData: ${t}`}},b=(e,t,s)=>{if(t===c.b2e){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{}}},39375(e,t,s){"use strict";s.d(t,{A:()=>l});var i=s(51609),n=s(84952),a=s(2065),r=s(19892),o=s(29024),c=s(10790);const l=e=>(0,n.Ng)(e=>({discountData:(0,r.TG)(e),siteAdminUrl:(0,a.eu)(e),siteRawUrl:(0,a.XG)(e),blogID:(0,a.V2)(e)}))(t=>{const{slug:s,discountData:n,siteAdminUrl:a,siteRawUrl:r,blogID:l}=t,{code:p}=n,d=(0,i.useMemo)(()=>(0,o.u)(s,a,r,p,l),[s,a,r,p,l]);return(0,c.jsx)(e,{upgradeUrl:d,...t})});s.dn(l)},87593(e,t,s){"use strict";s.d(t,{b:()=>E});var i=s(3924),n=s(56427),a=s(27723),r=s(51609),o=s(84952),c=s(86212),l=s(1066),p=s(86295),d=s(37049),u=s(59094),h=s(81802),m=s(26468),g=s(63109),f=s(93079),v=s(37866),k=s(2065),j=s(54365),b=s(82656),w=s(77054),_=s(31838),x=s(53034),y=s(1417),C=s(62845),A=s(5115),S=s(89146),N=s(48752),T=s(10790);const __=a.__,E=(0,o.Ng)(e=>({isLoading:!(0,j.gY)(e)||!(0,j.kv)(e)||(0,b.Kb)(e),step:(0,j.v3)(e),onboardingData:(0,j.ax)(e),newRecommendations:(0,k.dW)(e)}),e=>({updateOnboardingData:t=>e((0,j.tI)(t)),updateStep:t=>e((0,j.si)(t))}))(e=>{const{isLoading:t,step:s,newRecommendations:a}=e;let o;switch(s){case _.JT.NOT_STARTED:case _.JT.SITE_TYPE:o="/site-type";break;case _.JT.PRODUCT_SUGGESTIONS:o="/product-suggestions";break;case _.JT.PRODUCT_PURCHASED:o="/product-purchased";break;case _.JT.AGENCY:o="/agency";break;case _.JT.WOOCOMMERCE:o="/woocommerce";break;case _.JT.MONITOR:o="/monitor";break;case _.JT.NEWSLETTER:o="/newsletter";break;case _.JT.RELATED_POSTS:o="/related-posts";break;case _.JT.CREATIVE_MAIL:o="/creative-mail";break;case _.JT.SITE_ACCELERATOR:o="/site-accelerator";break;case _.JT.VAULTPRESS_BACKUP:o="/vaultpress-backup";break;case _.JT.VAULTPRESS_FOR_WOOCOMMERCE:o="/vaultpress-for-woocommerce";break;case _.JT.PUBLICIZE:o="/publicize";break;case _.JT.PROTECT:o="/protect";break;case _.JT.ANTI_SPAM:o="/anti-spam";break;case _.JT.VIDEOPRESS:o="/videopress";break;case _.JT.BACKUP_PLAN:o="/backup-plan";break;case _.JT.BOOST:o="/boost";break;case _.JT.SUMMARY:o="/summary";break;case _.JT.WELCOME__BACKUP:o="/welcome-bacLine truncated
(0,a.sprintf)(__("Get %s","jetpack"),s)})]})};b.propTypes={slug:c().string.isRequired,cost:c().number,title:c().string.isRequired,description:c().string.isRequired,billing_timeframe:c().string.isRequired,cost_timeframe:c().string.isRequired,currency_code:c().string.isRequired,features:c().arrayOf(c().string).isRequired,isRecommended:c().bool,onClick:c().func,onMount:c().func};const w=(0,p.Ng)(e=>({isFetchingDiscount:(0,h.dS)(e),isFetchingOffers:(0,u.wQ)(e),discountData:(0,h.TG)(e),introOffers:(0,u.oz)(e)}))((0,g.A)(b))},53034(e,t,s){"use strict";s.d(t,{z:()=>g});var i=s(72989),n=s(56427),a=s(27723),r=s(51609),o=s(84952),c=s(70386),l=s(31497),p=s(53835),d=s(54365),u=s(82656),h=s(63437),m=(s(53849),s(10790));const __=a.__,_x=a._x,g=(0,o.Ng)(e=>({activePurchases:(0,u.eA)(e),isFetchingSiteData:(0,u.Kb)(e),isFetchingSuggestions:(0,d.pB)(e),nextRoute:(0,d.N5)(e),sitePlan:(0,u.X6)(e),suggestions:(0,d.LY)(e)}))(e=>{const{nextRoute:t}=e,s=(({activePurchases:e,isFetchingSiteData:t,isFetchingSuggestions:s,sitePlan:i,suggestions:n})=>{if(t||s)return!1;if(!n||!Array.isArray(n))return!1;const a=n.find(e=>e.slug===i.product_slug);if(a)return a;if(Array.isArray(e)){const t=n.find(t=>e.find(e=>t.slug===e.product_slug));if(t)return t}return!1})(e);if((0,r.useEffect)(()=>{s&&p.A.tracks.recordEvent("jetpack_recommendations_product_suggestion_purchased",{type:s.slug})},[s]),!s)return(0,m.jsx)(n.Spinner,{});const a=(0,m.jsxs)("div",{className:"jp-recommendations-product-purchased",children:[(0,m.jsx)("ul",{className:"jp-recommendations-product-purchased__features",children:s&&s.features.map((e,t)=>(0,m.jsxs)("li",{className:"jp-recommendations-product-purchased__feature",children:[(0,m.jsx)(l.A,{icon:"checkmark"}),e]},t))}),(0,m.jsx)(c.A,{primary:!0,rna:!0,className:"jp-recommendations-product-purchased__next",href:t,children:_x("Configure your site","Recommendations Product Purchased","jetpack")})]});return(0,m.jsx)(h.l,{progressBar:(0,m.jsx)(i.A,{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:a,illustration:"assistant-product-purchased",illustrationClassName:"jp-recommendations-product-purchased__illustration"})})},82662(e,t,s){"use strict";s.d(t,{O:()=>h});var i=s(13022),n=s(28120),a=s.n(n),r=s(51609),o=s(84952),c=s(63242),l=s(53835),p=s(54365),d=(s(97896),s(10790));const u=({answerKey:e,checked:t,info:s,title:n,updateCheckboxAnswer:a})=>{const o=(0,r.useCallback)(()=>a({[e]:!t}),[e,t,a]),p=(0,r.useCallback)(()=>{l.A.tracks.recordEvent("jetpack_recommendations_site_type_popover_click",{type:e.replace("-","_")})},[e]);return(0,d.jsxs)("div",{className:"jp-checkbox-answer__container",children:[(0,d.jsxs)("label",{htmlFor:e,className:(0,i.A)("jp-checkbox-answer__title",{checked:t}),children:[(0,d.jsx)("input",{id:e,className:"jp-checkbox-answer__checkbox-input",type:"checkbox",checked:t,onChange:o}),n]}),(0,d.jsx)("div",{className:"jp-checkbox-answer__info",children:(0,d.jsx)(c.A,{position:"top right",onClick:p,children:s})})]})};u.propTypes={answerKey:a().string.isRequired,info:a().string.isRequired,title:a().string.isRequired};const h=(0,o.Ng)((e,t)=>({checked:(0,p.PV)(e,t.answerKey)}),e=>({updateCheckboxAnswer:t=>e((0,p.or)(t))}))(u)},1417(e,t,s){"use strict";s.d(t,{R:()=>b});var i=s(72989),n=s(86087),a=s(27723),r=s(79654),o=s(51609),c=s(84952),l=s(70386),p=s(31497),d=s(53835),u=s(54365),h=s(31838),m=s(47309),g=s(90889),f=s(88291),v=s(8476),k=s(63437),j=s(10790);const __=a.__,b=(0,c.Ng)((e,t)=>({nextRoute:(0,u.N5)(e),...(0,m.c_)(e,t.stepSlug),...(0,m.Hf)(e,t.stepSlug),stateStepSlug:(0,u.v3)(e),updatingStep:(0,u.P0)(e),canShowProductSuggestions:(0,u.cl)(e),discountViewedStep:(0,u.Ze)(e),featureActive:(0,u.L4)(e,t.stepSlug),summaryViewed:(0,u.PS)(e,"summary"),spotlightProduct:(0,u.M_)(e,t.stepSlug),...(0,u.kJ)(e)?{stepProgressValue:(0,u.mv)(e),summaryViewed:!1}:{}}),(e,t)=>({addSelectedRecommendation:t=>e((0,u.sG)(t)),addSkippedRecommendation:t=>e((0,u.nA)(t)),addViewedRecommendation:t=>e((0,u.tx)(t)),updateRecommendationsStep:t=>e((0,u.si)(t)),startFeatureInstall:t=>e((0,u.YE)(t)),endFeatureInstall:t=>e((0,u.x1)(t)),...(0,m.AD)(e,t.stepSlug)}))(e=>{const{activateFeature:t,addSelectedRecommendation:s,addSkippedRecommendation:a,addViewedRecommendation:c,startFeatureInstall:u,endFeatureInstall:m,ctaText:b,description:w,descriptionLink:_,descriptionList:x,descriptionSecondary:y,illustration:C,nextRoute:A,progressValue:S,stepProgressValue:N,question:T,stepSlug:E,stateStepSlug:M,updatingStep:O,updateRecommendationsStep:P,spotlightProduct:R,isNew:L,canShowProductSuggestions:I,discountViewedStep:D,featureActive:z,configureButtonLabel:U,configLink:F,summaryViewed:V}=e;(0,o.useEffect)(()=>{E!==M?P(E):E!==M||O||(c(E),d.A.tracks.recordEvent("jetpack_recommendations_recommendation_viewed",{feature:E}))},[E,M,O,P,c]);const B=!D||D===E,H=(0,o.useCallback)(()=>{d.A.tracks.recordEvLine truncated
(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:j?(0,g.jsx)(u.A,{}):null,illustration:d.h2,illustrationClassName:"jp-recommendations-site-type__illustration"})})},90889(e,t,s){"use strict";s.d(t,{A:()=>v});var i=s(27723),n=s(51609),a=s(84952),r=s(70386),o=s(69546),c=s(53835),l=s(79521),p=s(54365),d=s(19892),u=s(48011),h=s(38747),m=s(73381),g=s(34179),f=(s(75133),s(10790));const __=i.__,v=(0,a.Ng)(e=>({isLoading:(0,d.dS)(e)||(0,p.pB)(e)||(0,l.wQ)(e),discountData:(0,d.TG)(e),introOffers:(0,l.oz)(e),suggestions:(0,p.LY)(e),step:(0,p.v3)(e)}),e=>({markAsViewed:t=>e((0,p.ZA)(t))}))(({isLoading:e,discountData:t,introOffers:s,suggestions:i,markAsViewed:a,step:l})=>{const{expiry_date:p}=t,d=(0,n.useMemo)(()=>(0,m.g)(t,s,i),[t,s,i]),v=(0,n.useMemo)(()=>(0,g.F)(t),[t]),k=(0,n.useCallback)(()=>{c.A.tracks.recordEvent("jetpack_recommendations_upsell_card_cta_click",{discount:v})},[v]);return(0,n.useEffect)(()=>{a(l)},[a,l]),(0,n.useEffect)(()=>{e||c.A.tracks.recordEvent("jetpack_recommendations_upsell_card_display",{discount:v})},[e,v]),e?null:(0,f.jsx)("div",{className:"jp-recommendations-discount-card",children:(0,f.jsxs)("div",{className:"jp-recommendations-discount-card__container",children:[(0,f.jsxs)("div",{className:"jp-recommendations-discount-card__card",children:[(0,f.jsxs)("div",{className:"jp-recommendations-discount-card__card-header",children:[(0,f.jsx)("img",{className:"jp-recommendations-discount-card__header-icon",src:o.d0+"recommendations/cloud-icon.svg",alt:""}),v&&(0,f.jsx)(u.A,{discount:d})]}),(0,f.jsxs)("div",{className:"jp-recommendations-discount-card__card-body",children:[(0,f.jsx)("h3",{className:"jp-recommendations-discount-card__heading",children:__("Increase your site security!","jetpack")}),(0,f.jsxs)("ul",{className:"jp-recommendations-discount-card__feature-list",children:[(0,f.jsx)("li",{children:__("Real-time cloud backups","jetpack")}),(0,f.jsx)("li",{children:__("One-click restores","jetpack")}),(0,f.jsx)("li",{children:__("Real-time malware scanning","jetpack")}),(0,f.jsx)("li",{children:__("Comments and form spam protection","jetpack")})]}),!e&&(0,f.jsxs)(r.A,{className:"jp-recommendations-discount-card__button",rna:!0,href:"#/recommendations/product-suggestions",onClick:k,children:[v&&__("View discounted products","jetpack"),!v&&__("View products","jetpack")]})]})]}),v&&(0,f.jsx)("div",{className:"jp-recommendations-discount-card__timer",children:(0,f.jsx)(h.A,{timeClassName:"jp-recommendations-discount-card__time",label:__("Discount ends in:","jetpack"),expiryDate:p})})]})})})},65025(e,t,s){"use strict";s.d(t,{U:()=>g});var i=s(3924),n=s(86087),a=s(27723),r=s(79654),o=s(13022),c=s(51609),l=s(37012),p=s(69546),d=s(53835),u=s(26704),h=s(78546),m=(s(77319),s(10790));const __=a.__,g=({slug:e,underside:t=!1})=>{(0,c.useEffect)(()=>{d.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"mobile_app",slug:e})},[e]);const s=(0,c.useCallback)(()=>{d.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_jpcom",slug:e})},[e]),a=(0,c.useCallback)(t=>{d.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"mobile_app_badge",store:t,slug:e})},[e]),g=()=>(0,m.jsx)("div",{className:"jp-recommendations-sidebar-mobile__apps-badge",children:(0,m.jsx)(l.A,{onBadgeClick:a,storeName:"ios",utm_source:"jetpack-plugin-recommendations"})}),f=()=>(0,m.jsx)("div",{className:"jp-recommendations-sidebar-mobile__apps-badge",children:(0,m.jsx)(l.A,{onBadgeClick:a,storeName:"android",utm_source:"jetpack-plugin-recommendations"})}),v=()=>(0,m.jsxs)("div",{className:"jp-recommendations-sidebar-mobile__qr-code-section",children:[(0,m.jsx)("img",{className:"jp-recommendations-sidebar-mobile__qr-code-image",src:p.d0+`/recommendations/mobile-app-qr-code-${e}.png`,width:80,height:80,alt:"qr code to jetpack.com/app/ web page"}),(0,m.jsx)("p",{className:"jp-recommendations-sidebar-mobile__qr-code-body",children:(0,n.createInterpolateElement)(__("Visit <Link>jetpack.com/app</Link> or scan this code to download the Jetpack mobile app.","jetpack"),{Link:(0,m.jsx)(r.N,{openInNewTab:!0,href:(0,i.A)("jetpack-plugin-recommendations-mobile-app-component"),onClick:s,children:null})})})]}),k=t?35:25,j=(0,m.jsxs)("div",{className:"jp-recommendations-sidebar-mobile__header-container",children:[(0,m.jsx)("img",{src:p.d0+"/recommendations/wordpress-icon.svg",width:k,height:k,alt:""}),(0,m.jsx)("img",{className:(0,o.A)("jp-recommendation-sidebar-mobile__jetpack-icon",{underside:t}),src:p.d0+"/recommendations/jetpack-icon.svg",width:k,height:k,alt:""})]});return(0,m.jsxs)(h.T,{className:t?"underside":"",header:j,children:[(0,m.jsx)("h2",{className:"jp-recommendation-sidebar-mobile__heading",children:(()=>{switch(e){case"download-app":return __("Check your site activity anywhere, any time.","jetpack");case"one-click-reLine truncated
__("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"),d)}),(0,h.jsx)("p",{children:__("Enter your server credentials to enable one-click restores included in your plan.","jetpack")}),(0,h.jsx)("div",{className:"jp-recommendations-one-click-restores__cta",children:(0,h.jsx)(o.A,{rna:!0,href:(0,i.A)("jetpack-backup-dash-credentials",{site:s}),onClick:r,children:__("Enable one-click restores","jetpack")})})]})}),(0,h.jsx)(u.T,{compact:!0,children:(0,h.jsxs)("div",{className:"jp-recommendations-getting-started-compact",children:[(0,h.jsx)("a",{href:c.W_,onClick:p,target:"_blank",rel:"noreferrer",children:(0,h.jsx)("img",{className:"jp-recommendations-getting-started-compact__thumbnail",src:c.d0+"backup-getting-started-thumbnail.png",srcSet:`${c.d0+"backup-getting-started-thumbnail.png"} 1x, ${c.d0+"backup-getting-started-thumbnail-2x.png"} 2x`,alt:""})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h2",{children:__("Getting started with Jetpack VaultPress Backup","jetpack")}),(0,h.jsx)("p",{children:__("A short video guide on how to back up your website","jetpack")})]})]})})]})})},39181(e,t,s){"use strict";s.d(t,{D:()=>u});var i=s(3924),n=s(27723),a=s(51609),r=s(70386),o=s(31497),c=s(53835),l=s(58734),p=s(78546),d=s(10790);const __=n.__,u=()=>{(0,a.useEffect)(()=>{c.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"upsell_no_price"})},[]);const e=(0,a.useCallback)(()=>{c.A.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(0,d.jsx)(p.T,{header:(0,d.jsx)(l.A,{}),children:(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{children:__("Powerful security, performance, and marketing","jetpack")}),(0,d.jsx)("ul",{className:"jp-recommendations-sidebar-card__features",children:t.map(e=>(0,d.jsx)("li",{children:e},e))}),(0,d.jsx)("p",{children:__("Explore premium Jetpack product bundles or pick and choose exactly what you need.","jetpack")}),(0,d.jsxs)(r.A,{rna:!0,href:(0,i.A)("jetpack-plans"),onClick:e,target:"blank",rel:"noopener noreferrer",children:[__("Learn more","jetpack"),(0,d.jsx)(o.A,{icon:"external"})]})]})})}},88291(e,t,s){"use strict";s.d(t,{C:()=>h});var i=s(79654),n=s(28120),a=s.n(n),r=s(51609),o=s(84952),c=s(69546),l=s(53835),p=s(47309),d=(s(75133),s(10790));const u=e=>{const{productCardTitle:t,productCardCtaLink:s,productCardCtaText:n,productCardList:a,productCardIcon:o,productCardDisclaimer:p,stepSlug:u}=e,h=(0,r.useCallback)(()=>{l.A.tracks.recordEvent("jetpack_recommendations_step_product_card_button_click",{feature:u})},[u]);return(0,d.jsx)("div",{className:"jp-recommendations-discount-card",children:(0,d.jsx)("div",{className:"jp-recommendations-discount-card__container",children:(0,d.jsxs)("div",{className:"jp-recommendations-discount-card__card",children:[(0,d.jsx)("div",{className:"jp-recommendations-discount-card__card-header",children:o&&(0,d.jsx)("img",{className:"jp-recommendations-discount-card__header-icon",src:c.d0+o,alt:""})}),(0,d.jsxs)("div",{className:"jp-recommendations-discount-card__card-body",children:[(0,d.jsx)("h3",{className:"jp-recommendations-discount-card__heading",children:t}),a&&(0,d.jsx)("ul",{className:"jp-recommendations-discount-card__feature-list",children:a.map((e,t)=>(0,d.jsx)("li",{children:e},`feature-${t}`))}),p&&(0,d.jsxs)("p",{className:"jp-recommendations-discount-card__disclaimer",children:[p.text," ",(0,d.jsx)(i.N,{openInNewTab:!0,href:p.url,children:p.link_text})]}),(0,d.jsx)(i.N,{openInNewTab:!0,type:"button",className:"dops-button is-rna jp-recommendations-discount-card__button",href:s,onClick:h,children:n})]})]})})})};u.propTypes={productSlug:a().string.isRequired};const h=(0,o.Ng)((e,t)=>({...(0,p.ag)(e,t.productSlug),...(0,p.zQ)(e,t.productSlug,t.stepSlug)}))(u)},58734(e,t,s){"use strict";s.d(t,{A:()=>o});var i=s(27723),n=s(13022),a=s(31497),r=(s(5844),s(10790));const __=i.__,o=({className:e})=>(0,r.jsxs)("div",{className:(0,n.A)("jp-recommendations-recommended-header",e),children:[(0,r.jsx)(a.A,{size:18,icon:"star"}),__("Recommended premium product","jetpack")]})},93033(e,t,s){"use strict";s.d(t,{Z:()=>m});var i=s(3924),n=s(27723),a=s(51609),r=s(84952),o=s(70386),c=s(31497),l=s(69546),p=s(53835),d=s(2065),u=s(78546),h=s(10790);const __=n.__,m=(0,r.Ng)(e=>({siteRawUrl:(0,d.XG)(e)}))(e=>{const{siteRawUrl:t}=e;(0,a.useEffect)(()=>{p.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{type:"security"})},[]);const s=(0,a.useCallback)(()=>{p.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{type:"security"})},[]);return(0,h.jsx)(u.T,{illustrationPath:l.d0+"/recommendations/manage-security.svg",children:(0,h.jsxs)("div",{children:[(0,h.jsx)("h2",{children:__("Manage your security on Jetpack.com","jetpack")}Line truncated
__("Step %1$d of %2$d","jetpack"),e+1,t)})]})}},48752(e,t,s){"use strict";s.d(t,{B:()=>_});var i=s(56427),n=s(27723),a=s(13022),r=s(66087),o=s(51609),c=s(84952),l=s(2065),p=s(54365),d=s(30138),u=s(77423),h=s(33841),m=(s(32234),s(63409)),g=s(88537),f=s(65025),v=s(73182),k=s(39181),j=s(93033),b=s(32201),w=s(10790);const __=n.__,_=(0,c.Ng)(e=>{const t=(0,u.pK)(e),s=(0,d.mt)(e),i=(0,p.Kl)(e);return{isFetchingMainData:(0,r.isEmpty)(s)||(0,r.isEmpty)(t),isFetchingSidebarData:(0,r.isEmpty)(i),isFetchingBottomSectionData:(0,r.isEmpty)(i),sidebarCardsSlug:(0,p.gH)(e),siteTitle:(0,l.AM)(e),summaryFeatureSlugs:(0,p.b4)(e),summaryResourceSlugs:(0,p.tH)(e),summaryPrimarySections:(0,p.xW)(e),stateStepSlug:(0,p.v3)(e),updatingStep:(0,p.P0)(e),isOnboardingActive:(0,p.kJ)(e),upsell:i}},e=>({updateRecommendationsStep:t=>e((0,p.si)(t)),updateOnboardingData:t=>e((0,p.tI)(t)),addViewedRecommendation:t=>e((0,p.tx)(t))}))(e=>{const{isFetchingMainData:t,isFetchingSidebarData:s,isFetchingBottomSectionData:r,sidebarCardsSlug:c,siteTitle:l,summaryFeatureSlugs:p,summaryResourceSlugs:d,summaryPrimarySections:u,updateRecommendationsStep:_,addViewedRecommendation:x,upsell:y,isOnboardingActive:C,newRecommendations:A=[],stateStepSlug:S,updatingStep:N,updateOnboardingData:T}=e;(0,o.useEffect)(()=>{"summary"!==S?_("summary"):"summary"!==S||N||x("summary")},[S,N,_,x]),(0,o.useEffect)(()=>{C&&T({active:null})},[T,C]);const E=e=>A.includes(e),M=t?(0,w.jsx)(i.Spinner,{}):(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)("div",{className:"jp-recommendations-summary__configuration",children:[(0,w.jsx)("h1",{children:(0,n.sprintf)(/* translators: %s is the site name */
__("Nice work! Let’s recap what we enabled for %s.","jetpack"),l)}),u.map(({name:e,slugs:t})=>{const s=`primary-onboarding-${e.toLowerCase().replace(/[\s_-]+/g,"-")}`;return(0,w.jsxs)("section",{"aria-labelledby":s,children:[(0,w.jsx)("h2",{id:s,children:(0,n.sprintf)(/* translators: %s is the jetpack plan name */
__("Part of your %s plan","jetpack"),e)}),t.map(e=>(0,w.jsx)(m.j,{slug:e},e))]},e)}),(p.selected.length>0||p.skipped.length>0)&&(0,w.jsxs)("section",{"aria-labelledby":"enabled-recommendations",children:[(0,w.jsx)("h2",{id:"enabled-recommendations",children:__("Recommendations enabled","jetpack")}),(0,w.jsx)("div",{children:p.selected.length>0?p.selected.map(e=>(0,w.jsx)(h.t,{featureSlug:e,isNew:E(e)},e)):(0,w.jsx)("p",{className:"jp-recommendations-summary__recommendation-notice",children:(0,w.jsx)("em",{children:__("You didn’t enable any recommended features. To get the most out of Jetpack, enable some recommendations or explore all Jetpack features.","jetpack")})})})]}),p.skipped.length>0&&(0,w.jsxs)("section",{"aria-labelledby":"skipped-recommendations",children:[(0,w.jsx)("h2",{id:"skipped-recommendations",children:__("Recommendations skipped","jetpack")}),(0,w.jsx)("div",{children:p.skipped.map(e=>(0,w.jsx)(h.t,{featureSlug:e,isNew:E(e)},e))})]}),d.length>0&&(0,w.jsxs)("section",{"aria-labelledby":"resources-summary-title",children:[(0,w.jsx)("h2",{id:"resources-summary-title",children:__("Resources","jetpack")}),(0,w.jsx)("div",{children:d.map(e=>(0,w.jsx)(g.v,{resourceSlug:e,isNew:E(e)},e))})]})]})});let O,P;if(s)O=(0,w.jsx)(i.Spinner,{});else switch(c){case"loading":O=(0,w.jsx)(i.Spinner,{});break;case"upsell":O=y.hide_upsell?(0,w.jsx)(k.D,{}):(0,w.jsx)(b.A,{}),P=(0,w.jsx)(f.U,{slug:c,underside:!0});break;case"one-click-restores":O=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(v.m,{}),(0,w.jsx)(f.U,{slug:c})]});break;case"manage-security":O=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(j.Z,{}),(0,w.jsx)(f.U,{slug:c})]});break;case"download-app":O=(0,w.jsx)(f.U,{slug:c});break;default:O=(0,w.jsx)(f.U,{slug:"unknown"})}return(0,w.jsxs)("div",{className:"jp-recommendations-summary",children:[(0,w.jsxs)("div",{className:"jp-recommendations-summary__main",children:[(0,w.jsx)("div",{className:(0,a.A)("jp-recommendations-summary__content",{isLoading:t}),children:M}),(0,w.jsx)("div",{className:(0,a.A)("jp-recommendations-summary__sidebar",{isLoading:s}),children:O})]}),P&&(0,w.jsx)("div",{className:(0,a.A)("jp-recommendations-summary__underside",{isLoading:r}),children:P})]})})},32201(e,t,s){"use strict";s.d(t,{A:()=>m});var i=s(27723),n=s(51609),a=s(84952),r=s(12659),o=s(53835),c=s(54365),l=s(19892),p=s(19742),d=s(38747),u=s(34179),h=(s(32234),s(10790));const __=i.__,m=(0,a.Ng)(e=>({upsell:(0,c.Kl)(e),discountData:(0,l.TG)(e)}))(({upsell:e,discountData:t})=>{const{product_slug:s}=e||{},{expiry_date:i}=t,a=(0,n.useMemo)(()=>(0,u.F)(t),[t]),c=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_click",{product_slug:s,discount:a})},[s,a]),l=(0,n.useCallback)(()=>{o.A.tracks.recordEvent("jetpack_recommendations_summary_sidebar_display",{product_slug:s,discount:a})},[s,a]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(p.T,{...e,slug:s,isRecommended:!0,onClick:c,onMount:l}),a&&(0,h.jsxs)("div",{className:"jp-recommendations-summary__discount",children:[(0,h.jsx)("div",{className:"jp-recommendations-summary__timer",children:(0,h.jsx)(d.A,{timeClassName:"jp-recommendations-summary__time",label:__("Discount ends in:","jetpack"),expiryDate:i})}),(0,h.jsx)("a",{className:"jp-recommendations-summary__reco-link",href:"#/recommendations/product-suggestions",children:__("See all discounted products","jetpack")})]}),(0,h.jsxs)("div",{className:"jp-recommendations-summary__footer",children:[(0,h.jsx)(r.e,{text:__("14-day money-back guarantee","jetpack")}),(0,h.jsxs)("div",{className:"jp-recommendations-summary__footnote",children:[a&&__("* Discount is for first term only, all renewals are at full price.","jetpack"),!a&&__("Special introductory pricing, all renewals are at full price.","jetpack")]})]})]})})},38747(e,t,s){"use strict";s.d(t,{A:()=>r});var i=s(27723),n=s(51609),a=s(10790);const __=i.__,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)(void 0),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),a=Math.floor((t-3600*s*24-3600*n)/60),r=Math.floor(t-3600*s*24-3600*n-60*a),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,i.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,i.sprintf)(__("%dh","jetpack"),n)),(s>0||n>0||a>0)&&
// translators: %d is the number of minutes, m an abbreviation for minutes (e.g. 59m). Only translate the latter.
o.push((0,i.sprintf)(__("%dm","jetpack"),a)),
// translators: %d is the number of seconds, s an abbreviation for seconds (e.g. 59s). Only translate the latter.
o.push((0,i.sprintf)(__("%ds","jetpack"),r)),o.join(" ")},[]);return(0,n.useEffect)(()=>{const e=setInterval(p,500);return l.current=e,()=>{clearInterval(l.current)}},[]),o>0?(0,a.jsxs)(a.Fragment,{children:[e,(0,a.jsx)("span",{className:t,children:d(o)})]}):__("Discount offer has ended","jetpack")}},73381(e,t,s){"use strict";s.d(t,{g:()=>i});const i=(e,t,s)=>{if(!e||!t||!s)return;const i=parseInt(e?.discount,10);if(Number.isNaN(i))return;const n=s.map(({slug:e})=>e),a=t.filter(({product_slug:e})=>n.includes(e)).map(({original_price:e,raw_price:t})=>{if(!e)return;const s=(e-t*(1-i/100))/e;return Math.round(100*s)}).filter(Boolean);return a.length?Math.max(...a):void 0}},29024(e,t,s){"use strict";s.d(t,{u:()=>n});var i=s(3924);const n=(e,t,s,n,a)=>(0,i.A)("jetpack-recommendations-product-checkout",{site:a??s,path:e,query:`coupon=${n||""}&redirect_to=${t}admin.php?jp-react-redirect=product-purchased`})},34179(e,t,s){"use strict";s.d(t,{F:()=>i});const i=e=>{if("object"!=typeof e)return!1;const{discount:t,is_used:s,expiry_date:i}=e;return!!t&&!s&&new Date(i).valueOf()-Date.now()>0}},15775(e,t,s){"use strict";s.d(t,{A:()=>k});var i=s(27723),n=s(51609),a=s(84952),r=s(36336),o=s(43100),c=s(63344),l=s(8332),p=s(19579),d=s(34679),u=s(2065),h=s(26508),m=s(12623),g=s(10790);const __=i.__,f=(0,c.t)(class extends n.Component{componentDidMount(){document.addEventListener("click",this.handleAnchorClick)}componentWillUnmount(){document.removeEventListener("click",this.handleAnchorClick)}handleAnchorClick=e=>{e.target.closest('.jp-searchable-banner a.dops-button[href="#"]')&&e.preventDefault()};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","json-api","notes"],t=this.props.modules,s=[];for(const[i,n]of Object.entries(t))if(this.props.isModuleFound(i)&&e.includes(i)){const e=this.props.isOfflineMode&&this.props.isUnavailableInOfflineMode(n.module),t=!this.props.hasConnectedOwner&&this.props.isUnavailableInSiteConnectionMode(n.module);if(e||t){s.push((0,g.jsx)(v,{moduleData:n,offlineMode:e,siteConnectionMode:t},i));continue}this.props.getOptionValue(n.module)?s.push((0,g.jsx)(v,{moduleData:n},i)):s.push((0,g.jsx)(r.Ay,{className:"jp-searchable-banner",callToAction:__("Activate","jetpack"),description:n.description,href:"#",icon:"cog",onClick:this.handleBannerClick(n.module),title:n.name},i))}return(0,g.jsx)("div",{children:s})}});class v extends n.Component{render(){const e=this.props.moduleData,t=this.props.offlineMode,s=this.props.siteConnectionMode;return(0,g.jsxs)(l.A,{module:e.module,header:e.name,action:e.module,hideButton:!0,children:[(0,g.jsx)(p.A,{disableInOfflineMode:t,disableInSiteConnectionMode:s,module:{module:e.module},support:{link:e.learn_more_button},children:e.description}),s&&(0,g.jsx)(o.A,{feature:e.module,featureLabel:e.name,text:__("Connect to configure.","jetpack")})]})}}const k=(0,a.Ng)(e=>({modules:(0,h.eI)(e),isModuleFound:t=>(0,m.jQ)(e,t),canManageModules:(0,u.Ir)(e),isUnavailableInOfflineMode:t=>(0,d.Em)(e,t),isOfflineMode:(0,d.hN)(e),isUnavailableInSiteConnectionMode:t=>(0,d.g)(e,t)}))(f)},19926(e,t,s){"use strict";s.d(t,{H:()=>v});var i=s(3924),n=s(27723),a=s(51609),r=s(84952),o=s(63344),c=s(60619),l=s(8332),p=s(19579),d=s(12623),u=s(11346),h=s(44089),m=s(10790);const __=n.__,_x=n._x,g="account-protection",f=class extends a.Component{render(){const{isSupported:e,isActive:t,unavailableInOfflineMode:s}=this.props,n=this.props.getModule(g);return(0,m.jsxs)(l.A,{...this.props,module:g,header:_x("Account protection","Settings header","jetpack"),hideButton:!0,children:[!e&&(0,m.jsx)(u.A,{status:"is-info",showDismiss:!1,text:__("This feature has been disabled by your site administrator or hosting provider.","jetpack"),children:(0,m.jsx)(h.A,{external:!0,href:(0,i.A)("jetpack-account-protection",{anchor:"unsupported-environments"}),children:__("Learn more","jetpack")})}),e&&!t&&(0,m.jsx)(u.A,{showDismiss:!1,status:"is-info",text:__("Jetpack recommends enabling this feature to enhance account security.","jetpack"),children:(0,m.jsx)(h.A,{external:!0,href:(0,i.A)("jetpack-account-protection-risks"),children:__("Learn about the risks","jetpack")})}),(0,m.jsx)(p.A,{hasChild:!0,disableInOfflineMode:!0,disableInSiteConnectionMode:!0,module:n,support:{text:n.long_description,link:n.learn_more_button},children:(0,m.jsx)(c.j,{slug:"account-protection",compact:!0,disabled:!e||s||this.props.isSavingAnyOption(g),activated:t,toggleModule:this.props.toggleModuleNow,children:(0,m.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Protect your site with advanced password detection and profile management protection.","jetpack")})})})]})}},v=(0,o.t)((0,r.Ng)((e,t)=>({isSupported:(0,d.jQ)(e,g),isActive:(0,d.jQ)(e,g)&&t.getOptionValue(g),unavailableInOfflineMode:t.isUnavailableInOfflineMode(e,g)}))(f))},20790(e,t,s){"use strict";s.d(t,{A:()=>j});var i=s(56427),n=s(2772Line truncated
__("Error updating settings. %s","jetpack"),e.message||e.code),{id:"module-setting-update"})})};toggleIpAllowList=()=>{this.setState({...this.state,ipAllowListEnabled:!this.state.ipAllowListEnabled},this.onSubmit)};handleIpAllowListChange=e=>{this.setState({...this.state,ipAllowList:e?.target?.value})};currentIpIsSafelisted=()=>!!this.state.ipAllowList?.includes(this.props.currentIp);addToSafelist=()=>{const e=this.state.ipAllowList+(0>=this.state.ipAllowList.length?"":"\n")+this.props.currentIp;this.setState({...this.state,ipAllowList:e})};render(){const e=this.props.isUnavailableInOfflineMode("waf"),t=this.props.isUnavailableInOfflineMode("protect"),s=e&&t||this.props.isFetchingWafSettings||this.props.isSavingAnyOption(["waf"]),a=(0,v.jsx)("div",{className:"waf__header",children:(0,v.jsx)("span",{children:_x("Always allowed IP addresses","Settings header","jetpack")})});return(0,v.jsxs)(d.A,{...this.props,header:a,module:"waf",onSubmit:this.onSubmit,hideButton:!0,children:[(0,v.jsx)(h.A,{}),(0,v.jsx)(u.A,{disableInOfflineMode:!0,support:{text:"Adding an IP address to the allow list will prevent it from being blocked by Jetpack's firewall and brute force protection features.",link:this.props.getModule("waf").learn_more_button},children:(0,v.jsx)(c.dV,{children:(0,v.jsxs)("div",{className:"waf__settings__toggle-setting",children:[(0,v.jsx)(i.ToggleControl,{__nextHasNoMarginBottom:!0,checked:this.props.settings?.ipAllowListEnabled,disabled:s,onChange:this.toggleIpAllowList,label:(0,v.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Prevent Jetpack's security features from blocking specific IP addresses.","jetpack")})}),(this.state.ipAllowListEnabled||!!this.state.ipAllowList)&&(0,v.jsx)(m.A,{className:"waf__settings__ips",disabled:s||this.props.isUpdatingWafSettings||!this.props.settings?.ipAllowListEnabled,name:"ipAllowList",placeholder:__("Example:","jetpack")+"\n12.12.12.1\n12.12.12.2",value:this.state.ipAllowList,onChange:this.handleIpAllowListChange}),this.state.ipAllowListEnabled&&(0,v.jsxs)("div",{className:"waf__settings__ips__button-container",children:[this.props.currentIp&&(0,v.jsxs)("div",{className:"current-ip",children:[(0,v.jsx)("div",{className:"jp-form-label-wide",children:(0,n.sprintf)(/* translators: %s: an IP address. */
__("Your current IP: %s","jetpack"),this.props.currentIp)}),(0,v.jsx)(o.A,{rna:!0,compact:!0,disabled:this.props.isUpdatingWafSettings||!this.props.settings?.ipAllowListEnabled||this.currentIpIsSafelisted()||this.props.isSavingAnyOption(["jetpack_waf_ip_allow_list"]),onClick:this.addToSafelist,children:__("Add to Allow List","jetpack")})]}),(0,v.jsx)(o.A,{primary:!0,rna:!0,compact:!0,type:"button",className:"waf__settings__ips__save-button",disabled:this.state.ipAllowList===this.props.settings?.ipAllowList||this.props.isUpdatingWafSettings&&this.state.ipAllowList!==this.props.settings?.ipAllowList,onClick:this.onSubmit,children:__("Save allow list","jetpack")})]})]})})})]})}},j=(0,r.Ng)(e=>({isFetchingSettings:(0,f._e)(e),isUpdatingWafSettings:(0,f.EK)(e),settings:(0,f.IE)(e)}),e=>({updateWafSettings:t=>e((0,g.J)(t)),createNotice:(t,s,i)=>e((0,l.Fc)(t,s,i)),removeNotice:t=>e((0,l.fj)(t))}))((0,p.t)(k))},93498(e,t,s){"use strict";s.d(t,{A:()=>w});var i=s(86087),n=s(27723),a=s(66087),r=s(51609),o=s(84952),c=s(97058),l=s(94025),p=s(11895),d=s(31497),u=s(63344),h=s(8332),m=s(19579),g=s(78888),f=s(53835),v=s(6838),k=s(32819),j=s(10790);const __=n.__,_x=n._x,b=(0,u.t)(class extends r.Component{state={apiKey:this.props.getOptionValue("wordpress_api_key"),delayKeyCheck:!1,currentEvent:{}};keyChanged=!1;UNSAFE_componentWillMount(){this.debouncedCheckApiKeyTyped=(0,a.debounce)(this.checkApiKeyTyped,500)}checkApiKeyTyped=e=>{this.props.checkAkismetKey(e.currentTarget.value),this.keyChanged=!0,this.setState({delayKeyCheck:!1})};updateText=e=>{const t=Object.assign({},e);t.currentTarget.value=String(t.currentTarget.value).trim(),this.setState({apiKey:t.currentTarget.value,delayKeyCheck:!0,currentEvent:t},this.debouncedCheckApiKeyTyped(t))};componentDidUpdate(){!this.props.isCheckingAkismetKey&&this.props.isAkismetKeyValid&&this.keyChanged&&!(0,a.isEmpty)(this.state.currentEvent)&&(this.keyChanged=!1,this.props.onOptionChange(this.state.currentEvent))}trackOpenCard=()=>{f.A.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"),n=(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:(0,j.jsx)("a",{href:"https://akismet.com/wordpress/"})});return null===this.props.isAkismetKeyValid?(e.value=__("Fetching key…","jetpack"),e.disabled=!0,n=!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"),n=__("It looks like your API key has been set globally.","jetpack"),t=(0,j.jsx)(l.A,{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=(0,j.jsx)("div",{className:"form-input-validation is-warning",children:(0,j.jsxs)("span",{children:[(0,j.jsx)(d.A,{size:24,icon:"sync"}),__("Checking key…","jetpack")]})}),n=!1):!1===this.props.isAkismetKeyValid?(t=(0,j.jsx)(l.A,{isError:!0,text:(0,i.createInterpolateElement)(__("There's a problem with your Anti-spam API key. <a>Learn more</a>.","jetpack"),{a:(0,j.jsx)("a",{href:"https://docs.akismet.com/getting-started/api-key/"})})}),e.isError=!0,s=__("Your site is not protected from spam.","jetpack")):(t=(0,j.jsx)(l.A,{text:__("Your Anti-spam key is valid.","jetpack")}),e.isValid=!0,s=__("Your site is protected from spam.","jetpack"),n=!1),(0,j.jsx)(h.A,{...this.props,header:_x("Anti-spam","Settings header","jetpack"),saveDisabled:this.props.isSavingAnyOption("wordpress_api_key"),feature:v.pt9,children:(0,j.jsx)(c.A,{onOpen:this.trackOpenCard,header:s,children:(0,j.jsx)(m.A,{support:{text:__("Removes spam from comments and contact forms.","jetpack"),link:"https://akismet.com/support/getting-started/activate/",privacyLink:"https://akismet.com/privacy/"},children:(0,j.jsxs)(p.dV,{children:[(0,j.jsxs)(p.lR,{children:[(0,j.jsx)("span",{className:"jp-form-label-wide",children:__("Your API key","jetpack")}),(0,j.jsx)(g.A,{...e}),t]}),n&&(0,j.jsx)("p",{className:"jp-form-setting-explanation",children:n})]})})})})}}),w=(0,o.Ng)(e=>({isAkismetKeyValid:(0,k.Ee)(e),isCheckingAkismetKey:(0,k.OY)(e)}),e=>({checkAkismetKey:(t="")=>e((0,k.EI)(t))}))(b)},55252(e,t,s){"use strict";s.d(t,{A:()=>T});var i=s(3924),n=s(54268),a=s(86087),r=s(27723),o=s(28847),c=s(28120),l=s.n(c),p=s(51609),d=s(84952),u=s(36336),h=s(26592),m=s(26468),g=s(63344),f=s(8332),v=s(19579),k=s(53835),j=s(6838),b=s(32819),w=s(2065),_=s(26508),x=s(89336),y=s(82656),C=s(10790);const __=r.__Line truncated
_n("Uh oh, %s threat found.","Uh oh, %s threats found.",e,"jetpack"),(0,n.ZV)(e))}),(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),(0,a.createInterpolateElement)(__("<a>View details</a>","jetpack"),{a:(0,C.jsx)("a",{href:(0,i.A)("vaultpress-dashboard")})}),(0,C.jsx)("br",{}),(0,a.createInterpolateElement)(__("<a>Contact Support</a>","jetpack"),{a:(0,C.jsx)("a",{href:(0,i.A)("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||!this.props.showScan)return null;const e=this.props.vaultPressData?.data?.features?.security??!1,t=this.props.rewindStatus?.state??!1,s=!1!==t,n="N/A"!==this.props.vaultPressData&&!1!==(this.props.vaultPressData?.data??!1);return s||!this.props.vaultPressActive||n?["provisioning","awaiting_credentials","active"].includes(t)?(0,C.jsx)(S,{...this.props,rewindState:t}):(0,C.jsxs)(f.A,{feature:j.FxV,...this.props,header:_x("Backups and security scanning","Settings header","jetpack"),action:"scan",hideButton:!0,children:[(0,C.jsx)(m.A,{}),(0,C.jsx)(v.A,{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.A)("vaultpress-help-get-to-know")},children:this.getCardText()}),!this.props.isUnavailableInOfflineMode("backups")&&e&&(0,C.jsx)(h.A,{compact:!0,className:"jp-settings-card__configure-link",onClick:this.trackConfigureClick,target:"_blank",href:(0,i.A)("vaultpress-dashboard"),children:__("Configure your Security Scans","jetpack")})]}):(0,C.jsx)(A,{})}}),T=(0,d.Ng)(e=>({vaultPressData:(0,b.Cc)(e),hasScan:(0,y.IT)(e,"scan"),hasThreats:(0,b.mK)(e),vaultPressActive:(0,_.Yp)(e,"vaultpress"),showBackups:(0,w.Fp)(e),showScan:(0,w.$Z)(e),isFetchingRewindStatus:(0,x.wp)(e)}))(N)},90813(e,t,s){"use strict";s.d(t,{A:()=>S});var i=s(27723),n=s(51609),a=s(84952),r=s(17659),o=s(63109),c=s(32819),l=s(34679),p=s(2065),d=s(26508),u=s(12623),h=s(30138),m=s(82656),g=s(77423),f=s(19926),v=s(20790),k=s(93498),j=s(55252),b=s(95208),w=s(53607),_=s(41048),x=s(47628),y=s(83663),C=s(10790);const __=i.__;class A extends n.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.searchTerm;if(!t&&!this.props.active)return null;const s=this.props.isModuleFound("protect"),i=this.props.isModuleFound("account-protection"),n=this.props.isModuleFound("sso"),a=this.isAkismetFound(),c=!t&&"active"===this.props.rewindStatus?.state,l=this.props.isModuleFound("vaultpress")||c,p=this.props.isModuleFound("monitor");if(!(n||s||i||a||l||p))return null;const d=this.props.isModuleFound("waf"),u=this.props.backupsOnly?(0,C.jsx)(b.D,{...e,vaultPressData:this.props.vaultPressData}):(0,C.jsx)(j.A,{...e});return(0,C.jsxs)("div",{children:[(0,C.jsx)(o.A,{}),(0,C.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Security Settings","jetpack")}),(0,C.jsx)("h2",{className:"jp-settings__section-title",children:t?__("Security","jetpack"):__("Your site is protected by Jetpack. You’ll be notified if anything needs attention.","jetpack",0)}),l&&u,p&&(0,C.jsx)(w.V,{...e}),a&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(k.A,{...e}),(0,C.jsx)(r.A,{})]}),i&&(0,C.jsx)(f.H,{isModuleFound:this.props.isModuleFound,...e}),d&&(0,C.jsx)(y.A,{...e}),s&&(0,C.jsx)(_.E,{...e}),(d||s)&&(0,C.jsx)(v.A,{...e}),n&&(0,C.jsx)(x.O,{...e})]})}}const S=(0,a.Ng)(e=>({backupsOnly:(0,m.IT)(e,"backups")&&!(0,m.IT)(e,"scan"),module:t=>(0,d.f_)(e,t),settings:(0,h.mt)(e),isOfflineMode:(0,l.hN)(e),isUnavailableInOfflineMode:t=>(0,l.Em)(e,t),isModuleFound:t=>(0,u.jQ)(e,t),isPluginActive:t=>(0,g.gT)(e,t),isPluginInstalled:t=>(0,g.O8)(e,t),vaultPressData:(0,c.Cc)(e),hasConnectedOwner:(0,l.BG)(e),blogID:(0,p.V2)(e)}))(A)},95208(e,t,s){"use strict";s.d(t,{D:()=>h});var i=s(3924),n=s(27723),a=s(28120),r=s.n(a),o=s(51609),c=s(36336),l=s(8332),p=s(19579),d=s(6838),u=s(10790);const __=n.__,_x=n._x;class h extends o.Component{static propTypes={siteRawUrl:r().string,rewindState:r().string};static defaultProps={siteRawUrl:"",rewindState:Line truncated
__("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)};toggleIpBlockList=()=>{this.setState({...this.state,ipBlockListEnabled:!this.state.ipBlockListEnabled},this.onSubmit)};handleIpBlockListChange=e=>{this.setState({...this.state,ipBlockList:e?.target?.value})};toggleShareData=()=>{const e={...this.state,shareData:!this.state.shareData};e.shareData||(e.shareDebugData=e.shareData),this.setState(e,this.onSubmit)};toggleShareDebugData=()=>{const e={...this.state,shareDebugData:!this.state.shareDebugData};e.shareDebugData&&(e.shareData=e.shareDebugData),this.setState(e,this.onSubmit)};render(){const e=this.props.getOptionValue("waf"),t=this.props.isUnavailableInOfflineMode("waf"),s=!e||t||this.props.isFetchingWafSettings||this.props.isSavingAnyOption(["waf"]),l=(0,O.jsxs)("div",{className:"waf__header",children:[(0,O.jsx)("span",{children:_x("Firewall","Settings header","jetpack")}),this.props.settings?.standaloneMode&&(0,O.jsxs)(o.E,{variant:"body-sm",className:"waf__standalone__mode",children:[(0,O.jsx)("span",{className:"waf__standalone__mode__indicator"}),(0,O.jsx)("span",{children:__("Standalone mode","jetpack")})]})]}),p=(0,O.jsx)("div",{className:"waf__settings__toggle-setting",children:(0,O.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:!(!this.props.hasScan&&!this.props.settings?.automaticRulesAvailable)&&this.props.settings?.automaticRulesEnabled,disabled:s||!this.props.hasScan&&!this.props.settings?.automaticRulesAvailable,onChange:this.toggleAutomaticRules,label:(0,O.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Automatic rules - Protect your site against untrusted traffic sources with automatic security rules","jetpack")})})}),m=(0,O.jsx)("div",{className:"waf__settings__toggle-setting",children:(0,O.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:this.props.settings?.shareData,disabled:s,onChange:this.toggleShareData,label:(0,O.jsxs)("div",{className:"waf__settings__toggle-setting__label",children:[(0,O.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Share basic data with Jetpack","jetpack")}),(0,O.jsx)(y.A,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__share-data-popover",children:(0,a.createInterpolateElement)(__("Allow Jetpack to collect basic data from blocked requests to improve firewall protection and accuracy. <Link>Learn more</Link> <hr /> <Link>Privacy Information</Link>","jetpack"),{Link:(0,O.jsx)(c.N,{openInNewTab:!0,href:(0,i.A)("jetpack-waf-settings-privacy-info")}),hr:(0,O.jsx)("hr",{})})})]})})}),f=(0,O.jsx)("div",{className:"waf__settings__toggle-setting",children:(0,O.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:this.props.settings?.shareDebugData,disabled:s,onChange:this.toggleShareDebugData,label:(0,O.jsxs)("div",{className:"waf__settings__toggle-setting__label",children:[(0,O.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Share detailed data with Jetpack","jetpack")}),(0,O.jsx)(y.A,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__share-data-popover",children:(0,a.createInterpolateElement)(__("Allow Jetpack to collect detailed data from blocked requests to enhance firewall protection and accuracy. <Link>Learn more</Link> <hr /> <Link>Privacy Information</Link>","jetpack"),{Link:(0,O.jsx)(c.N,{openInNewTab:!0,href:(0,i.A)("jetpack-waf-settings-privacy-info")}),hr:(0,O.jsx)("hr",{})})})]})})}),b=(0,a.createInterpolateElement)(__("<b>Enhance protection</b> - Learn how to configure the firewall to inspect all requests and run before WordPress initializes","jetpack"),{b:(0,O.jsx)("strong",{})}),w=(0,O.jsx)(u.A,{header:b,className:"waf__enhanced-protection",children:(0,O.jsx)(k.A,{hasChild:!0,children:(0,O.jsxs)("ul",{children:[(0,O.jsx)("li",{children:(0,a.createInterpolateElement)((0,r.sprintf)(/* translators: %s: 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:(0,O.jsx)("code",{})})}),(0,O.jsx)("li",{children:__("Don't forget to undo this action when Firewall is turned off, or when you uninstall Jetpack.","jetpack")})]})})}),N=(0,O.jsx)(g.Ay,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:(0,O.jsxs)(O.Fragment,{children:[this.props.settings?.automaticRulesAvailable?__("Upgrade to keep your site secure with up-to-date firewall rules","jetpack",0):__("Upgrade to enable automatic rules","jetpack"),(0,O.jsx)(y.A,{position:"right",screenReaderText:__("Learn more","jetpack"),className:"waf__settings__upgrade-popover",children: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,j.EP8)(j.FxV),feature:"jetpack_scan",href:this.props.scanUpgradeUrl,rna:!0}),T=(0,O.jsxs)("div",{className:"waf__settings__toggle-setting",children:[(0,O.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,checked:this.props.settings?.ipBlockListEnabled,disabled:s,onChange:this.toggleIpBlockList,label:(0,O.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Manual rules - Block specific IP addresses from accessing your site","jetpack")})}),(this.state.ipBlockListEnabled||!!this.state.ipBlockList)&&(0,O.jsxs)("div",{className:"waf__settings__ips",children:[(0,O.jsx)(S.A,{disabled:s||this.props.isUpdatingWafSettings||!this.props.settings?.ipBlockListEnabled,name:"ipBlockList",placeholder:(0,r.sprintf)(/* translators: %s: a list of example IP addresses. */
__("Example: %s","jetpack"),"\n12.12.12.1\n12.12.12.2"),value:this.state.ipBlockList,onChange:this.handleIpBlockListChange}),this.state.ipBlockListEnabled&&(0,O.jsx)(d.A,{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,children:__("Save block list","jetpack")})]})]});return this.props.isProtectActive?(0,O.jsx)(v.A,{...this.props,header:l,module:"waf",hideButton:!0,children:(0,O.jsxs)(_.A,{className:"dops-banner has-call-to-action",children:[(0,O.jsx)("div",{className:"dops-banner__icon-plan",children:(0,O.jsx)(A.A,{plan:j.FQO})}),(0,O.jsxs)("div",{className:"dops-banner__content",children:[(0,O.jsx)("div",{className:"dops-banner__info",children:(0,O.jsx)("div",{className:"dops-banner__title",children:__("Firewall settings have been moved to the Jetpack Protect plugin.","jetpack")})}),(0,O.jsx)("div",{className:"dops-banner__action",children:(0,O.jsx)(d.A,{rna:!0,compact:!0,href:this.props.protectAdminUrl,primary:!0,children:__("View Firewall Settings","jetpack")})})]})]})}):(0,O.jsxs)(v.A,{...this.props,header:l,module:"waf",onSubmit:this.onSubmit,hideButton:!0,children:[e&&(0,O.jsx)(x.A,{}),(0,O.jsxs)(k.A,{disableInOfflineMode:!0,module:this.props.getModule("waf"),support:{text:this.props.getModule("waf").long_description,link:this.props.getModule("waf").learn_more_button},children:[(0,O.jsx)(C.j,{slug:"waf",disabled:t||this.props.isSavingAnyOption("waf"),activated:e,toggleModule:this.props.toggleModuleNow,children:(0,O.jsx)("span",{className:"jp-form-toggle-explanation",children:this.props.getModule("waf").description})}),e&&!this.props.isFetchingWafSettings&&(0,O.jsxs)(h.dV,{className:"waf__settings",children:[p,T,m,f]})]}),e&&this.props.bootstrapPath&&w,!this.props.hasScan&&!this.props.isFetchingSettings&&N]})}},L=(0,p.Ng)(e=>{const t=(0,w.X6)(e);return{automaticRulesAvailable:(0,M.mY)(e),hasScan:(0,w.IT)(e,"scan"),protectAdminUrl:`${(0,N.eu)(e)}admin.php?page=jetpack-protect#/firewall`,isProtectActive:P.some(t=>(0,T.gT)(e,t)),getProtectUrl:`${(0,N.eu)(e)}admin.php?page=my-jetpack#/add-protect`,isFetchingSettings:(0,M._e)(e),isUpdatingWafSettings:(0,M.EK)(e),settings:(0,M.IE)(e),scanUpgradeUrl:(0,b.F)(e,"scan"),sitePlan:t}},e=>({updateWafSettings:t=>e((0,E.J)(t)),createNotice:(t,s,i)=>e((0,m.Fc)(t,s,i)),removeNotice:t=>e((0,m.fj)(t))}))((0,f.t)(R))},77496(e,t,s){"use strict";s.d(t,{A:()=>O});var i=s(59244),n=s(50723),a=s(27723),r=s(20907),o=s(21220),c=s(2193),l=s(60029),p=s(34638),d=s(12237),u=s(97293),h=s(51609),m=s(84952),g=s(86212),f=s(58011),v=s(89537),k=s(73842),j=s(79223),b=s(91521),w=s(28742),_=s(15775),x=s(90813),y=s(8965),C=s(26508),A=s(12623),S=s(68062),N=s(10225),T=s(6838),E=s(10790);const __=a.__;class M extends h.Component{static displayName="SearchableSettings";render(){const{location:e={pathname:""},rewindStatus:t,searchTerm:s,siteAdminUrl:h,siteRawUrl:m,blogID:g,userCanManageModules:C,hasAnyMatchingModule:A}=this.props,{pathname:M}=e,O={searchTerm:s,rewindStatus:t,userCanManageModules:C},P=!!s&&!A;return(0,E.jsxs)(n.Ay,{children:[(0,E.jsxs)("div",{className:"jp-settings-container",children:[P&&(0,E.jsx)(o.B,{justify:"center",className:"jp-settings__empty-search-results",children:(0,E.jsxs)(c.b,{children:[(0,E.jsx)(l.b,{children:(0,E.jsx)(p.I,{icon:r.A})}),(0,E.jsx)(d.h,{children:__("No matching settings","jetpack")}),(0,E.jsx)(u.V,{children:(0,a.sprintf)(/* translators: %s: a search term entered in search form. */
__("No search results found for %s","jetpack"),s)})]})}),(0,E.jsx)(x.A,{siteAdminUrl:h,siteRawUrl:m,active:"/security"===M||"/settings"===M&&C,...O}),(0,E.jsx)(f.A,{siteRawUrl:m,active:"/discussion"===M,...O}),(0,E.jsx)(w.A,{active:"/reader"===M,blogID:g,...O}),(0,E.jsx)(v.A,{siteRawUrl:m,active:"/earn"===M,feature:T.zwM,...O}),(0,E.jsx)(j.A,{active:"/performance"===M,...O}),(0,E.jsx)(S.A,{siteRawUrl:m,siteAdminUrl:h,active:"/traffic"===M,...O}),(0,E.jsx)(N.A,{siteAdminUrl:h,active:"/writing"===M||!C&&this.props.isModuleActivated("post-by-email")&&!this.props.isModuleActivated("publicize"),...O}),(0,E.jsx)(y.A,{siteAdminUrl:h,active:"/sharing"===M||"/settings"===M&&!C&&this.props.isModuleActivated("publicize"),...O}),(0,E.jsx)(b.A,{active:"/privacy"===M,...O}),(0,E.jsx)(k.A,{siteAdminUrl:h,searchTerm:s}),(0,E.jsx)(_.A,{searchTerm:s})]}),(0,E.jsx)(i.D,{})]})}}const O=(0,m.Ng)(e=>({isModuleActivated:t=>(0,C.Yp)(e,t),hasAnyMatchingModule:(0,A.a2)(e)}))(e=>(0,E.jsx)(M,{...e,location:(0,g.zy)()}))},8965(e,t,s){"use strict";s.d(t,{A:()=>k});var i=s(27723),n=s(51609),a=s(84952),r=s(63109),o=s(34679),c=s(2065),l=s(26508),p=s(12623),d=s(30138),u=s(82656),h=s(62505),m=s(88258),g=s(37900),f=s(10790);const __=i.__;class v extends n.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,hasSharingBlock:this.props.hasSharingBlock,hasLikeBlock:this.props.hasLikeBlock,isBlockTheme:this.props.isBlockTheme};if(!this.props.searchTerm&&!this.props.active)return null;const t=this.props.isModuleFound("publicize"),s=this.props.isModuleFound("sharedaddy"),i=this.props.isModuleFound("likes");return t||s||i?(0,f.jsxs)("div",{children:[(0,f.jsx)(r.A,{}),(0,f.jsx)("h1",{className:"screen-reader-text",children:__("Jetpack Sharing Settings","jetpack")}),(0,f.jsx)("h2",{className:"jp-settings__section-title",children:this.props.searchTerm?__("Sharing","jetpack"):__("Share your content to social media, reaching new audiences and increasing engagement.","jetpack")}),t&&(0,f.jsx)(m.E,{...e}),s&&(0,f.jsx)(g.R,{...e}),i&&(0,f.jsx)(h.P,{...e})]}):null}}const k=(0,a.Ng)(e=>({module:t=>(0,l.f_)(e,t),settings:(0,d.mt)(e),isOfflineMode:(0,o.hN)(e),isUnavailableInOfflineMode:t=>(0,o.Em)(e,t),isModuleFound:t=>(0,p.jQ)(e,t),isLinked:(0,o._U)(e),connectUrl:(0,o.Qp)(e),siteRawUrl:(0,c.XG)(e),blogID:(0,c.V2)(e),siteAdminUrl:(0,c.eu)(e),activeFeatures:(0,u.mH)(e),userCanManageModules:(0,c.Ir)(e),hasSharingBlock:(0,c.Jx)(e),hasLikeBlock:(0,c.W1)(e),isBlockTheme:(0,c.JQ)(e)}))(v)},62505(e,t,s){"use strict";s.d(t,{P:()=>g});var i=s(3924),n=s(97999),a=s(27723),r=s(51609),o=s(22750),c=s(26592),l=s(63344),p=s(60619),d=s(8332),u=s(19579),h=s(53835),m=s(10790);const __=a.__,_x=a._x,g=(0,l.t)(class extends r.Component{trackClickConfigure(){h.A.tracks.recordJetpackClick({target:"configure-like-block",page:"sharing",platform:(0,n.isWpcomPlatformSite)()?"wpcom":"jetpack"})}render(){const e=this.props.isUnavailableInOfflineMode("likes"),t=this.props.siteAdminUrl,s=this.props.getOptionValue("likes"),n=this.props.isBlockTheme,a=this.props.hasLikeBlock,r=n&&a;return(0,m.jsxs)(d.A,{...this.props,header:_x("Like buttons","Settings header","jetpack"),module:"likes",hideButton:!0,children:[(0,m.jsxs)(u.A,{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.A)("jetpack-support-likes")},children:[(0,m.jsx)("p",{children:__("The Like button is a way for people on WordPress.com to show their appreciation for your content.","jetpack")}),(0,m.jsx)(p.j,{slug:"likes",disabled:e||this.props.isSavingAnyOption("likes"),activated:s,toggleModule:this.props.toggleModuleNow,children:(0,m.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Add Like buttons to your posts and pages","jetpack")})}),r&&(0,m.jsx)(o.A,{isModuleActive:s,redirectSlug:"jetpack-support-like-block"})]}),r&&(()=>(0,m.jsx)(c.A,{compact:!0,className:"jp-settings-card__configure-link",href:`${t}site-editor.php?path=%2Fwp_template`,onClick:this.trackClickConfigure,children:__("Configure your Like buttons","jetpack")}))()]})}})},88258(e,t,s){"use strict";s.d(t,{E:()=>g});var i=s(3924),n=s(97999),a=s(27723),r=s(51609),o=s(26592),c=s(63344),l=s(60619),p=s(8332),d=s(19579),u=s(53835),h=s(6838),m=s(10790);const __=a.__,_x=a._x,g=(0,c.t)(class extends r.Component{trackClickConfigure(){u.A.tracks.recordJetpackClick({target:"configure-publicize",page:"sharing"})}render(){const e=this.props.getOptionValue("publicize"),t=this.props.userCanManageModules;if(!t&&!e)return null;const s=this.props.isLinked,a=this.propsLine truncated
__("There was an error testing Jetpack. Error: %s","jetpack"),t.message),{id:"test-jetpack-connection"}))})),l=()=>e=>(e({type:r.Adt}),i.Ay.fetchConnectUrl().then(t=>{e({type:r.gbL,connectUrl:t})}).catch(t=>{e({type:r.bhx,error:t})})),p=()=>e=>(e({type:r.LgT}),i.Ay.fetchUserConnectionData().then(t=>{e({type:r.RRv,userConnectionData:t})}).catch(t=>{e({type:r.S68,error:t})})),d=()=>e=>(e({type:r.SOl}),e((0,a.Fc)("is-info",__("Unlinking from WordPress.com","jetpack"),{id:"unlink-user"})),i.Ay.unlinkUser().then(t=>{e({type:r.c30,userUnlinked:t}),e(l()),e((0,a.fj)("unlink-user")),e((0,a.Fc)("is-success",__("Unlinked from WordPress.com.","jetpack"),{id:"unlink-user",duration:2e3}))}).catch(t=>{e({type:r.ZC3,error:t}),e((0,a.fj)("unlink-user")),e((0,a.Fc)("is-error",(0,n.sprintf)(/* translators: %s: the error. */
__("Error unlinking from WordPress.com. Error: %s","jetpack"),t),{id:"unlink-user"}))})),u=(e=null,t=null)=>s=>{s({type:r.rL6,featureLabel:e,from:t})},h=()=>e=>{e({type:r.xqC})},m=()=>e=>(e({type:r.zqp}),i.Ay.setHasSeenWCConnectionModal())},34679(e,t,s){"use strict";s.d(t,{BG:()=>i.BG,Cq:()=>i.Cq,Em:()=>i.Em,HF:()=>i.HF,KK:()=>i.KK,Kx:()=>i.Kx,Mb:()=>n.Mb,PL:()=>i.PL,Pb:()=>n.Pb,Qp:()=>i.Qp,T$:()=>i.T$,Vg:()=>i.Vg,Vs:()=>i.Vs,_U:()=>i._U,eR:()=>i.eR,g:()=>i.g,hN:()=>i.hN,h_:()=>n.h_,i$:()=>i.i$,iV:()=>i.iV,k0:()=>n.k0,ks:()=>n.ks,lY:()=>i.lY,m1:()=>i.m1,mo:()=>n.mo,mz:()=>i.mz,os:()=>i.os,ph:()=>i.ph,s6:()=>i.s6,u6:()=>n.u6,uQ:()=>i.uQ,vn:()=>i.vn,xc:()=>n.xc});var i=s(19519),n=s(60820)},19519(e,t,s){"use strict";s.d(t,{BG:()=>A,Cq:()=>j,Em:()=>T,Ff:()=>c,HF:()=>l,KK:()=>h,Kx:()=>b,PL:()=>P,Qp:()=>m,T$:()=>N,Vg:()=>k,Vs:()=>O,_U:()=>x,eR:()=>_,g:()=>E,hN:()=>S,i$:()=>p,iV:()=>u,lY:()=>d,m1:()=>w,mz:()=>f,os:()=>M,ph:()=>C,s6:()=>v,uQ:()=>y,vn:()=>g});var i=s(66087),n=s(26556),a=s(44254),r=s(26508);const o={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,n.HY)({connectUrl:(e="",t)=>{switch(t.type){case a.X2c:return t?.initialState?.connectUrl??e;case a.gbL:return t.connectUrl;default:return e}},status:(e={siteConnected:window.Initial_State.connectionStatus},t)=>{switch(t.type){case a.mX7:case a.z0g:return Object.assign({},e,{siteConnected:t.siteConnected});case a.c30:return Object.assign({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case a.RRv:return!0===t.userConnectionData?.currentUser?.isConnected?Object.assign({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:(e=window.Initial_State.userData||{},t)=>{switch(t.type){case a.RRv:return Object.assign({},e,t.userConnectionData);case a.c30:{const t=Object.assign({},e.currentUser,{isConnected:!1});return Object.assign({},e,{currentUser:t})}case a.xQf:return(0,i.merge)({},e,t.initialState);default:return e}},requests:(e=o,t)=>{switch(t.type){case a.NvU:return Object.assign({},e,{disconnectingSite:!0});case a.SOl:return Object.assign({},e,{unlinkingUser:!0});case a.rL6:return Object.assign({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel,connectingUserFrom:t.from});case a.xqC:return Object.assign({},e,{connectingUser:!1});case a.Adt:return Object.assign({},e,{fetchingConnectUrl:!0});case a.LgT:return Object.assign({},e,{fetchingUserData:!0});case a._ce:return Object.assign({},e,{reconnectingSite:!0});case a.Smm:case a.z0g:return Object.assign({},e,{disconnectingSite:!1});case a.ZC3:case a.c30:return Object.assign({},e,{unlinkingUser:!1});case a.bhx:case a.gbL:return Object.assign({},e,{fetchingConnectUrl:!1});case a.S68:case a.RRv:return Object.assign({},e,{fetchingUserData:!1});case a.jzm:case a.OOn:return Object.assign({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:(e=window.Initial_State.hasSeenWCConnectionModal||!1,t)=>t.type===a.zqp||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 h(e){return!!e.jetpack.connection.status?.siteConnected?.offlineMode?.isActive&&e.jetpack.connection.status.siteConnected.offlineMode}function m(e){return e.jetpack.connection.connectUrl}function g(e){return e.jetpack.connection.user.currentUser?.wpcomUser}function f(e){return!!e.jetpack.connection.requests.disconnectingSite}function v(e){return!!e.jetpack.connection.requests.fetchingConnectUrl}function k(e){return!!e.jetpack.connection.requests.unlinkingUser}function j(e){return!!e.jetpack.connection.requests.connectingUser}function b(e){return Object.hasOwn(e.jetpack.connection.requests,"connectingUserFeatureLabel")?e.jetpack.connection.requests.connectingUserFeatureLabel:null}function w(e){return Object.hasOwn(e.jetpack.connection.requests,"connectingUserFrom")?e.jetpack.connection.requests.connectingUserFrom:null}function _(e){return!!e.jetpack.connection.requests.fetchingUserData}function x(e){return!!e.jetpack.connection.user.currentUser.isConnected}function y(e){return!!e.jetpack.connection.user.currentUser.isMaster}function C(e){return e.jetpack.connection.user?.connectionOwner}function A(e){return e.jetpack.connection.status?.siteConnected?.hasConnectedOwner??!1}function S(e){return"offline"===p(e)}function N(e){returLine truncated
__("Activating %s…","jetpack"),(0,o.f_)(c(),e).name),{id:"module-toggle"})),i.Ay.activateModule(e).then(()=>{s({type:r.s2d,module:e,success:!0}),s((0,a.fj)("module-toggle")),s((0,a.Fc)("is-success",(0,n.sprintf)(/* translators: %s: a feature name, such as "Image CDN". */
__("%s has been activated.","jetpack"),(0,o.f_)(c(),e).name),{id:"module-toggle",duration:2e3})),t&&window.location.reload()}).catch(t=>{s({type:r.Fdt,module:e,success:!1,error:t}),s((0,a.fj)("module-toggle")),s((0,a.Fc)("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,o.f_)(c(),e).name,t),{id:"module-toggle"}))})),p=["jetpack_testimonial","jetpack_portfolio","wpcom-reader"];function d(e){p.some(t=>t in e)&&window.location.reload()}},26508(e,t,s){"use strict";s.d(t,{CO:()=>n.CO,GG:()=>i.GG,IW:()=>i.IW,Kb:()=>i.Kb,Ls:()=>n.Ls,MB:()=>n.MB,VV:()=>n.mh,W7:()=>i.W7,Yp:()=>i.Yp,Z1:()=>i.Z1,ZH:()=>i.ZH,_J:()=>i._J,d1:()=>i.d1,eI:()=>i.eI,f_:()=>i.f_,gp:()=>i.gp,j9:()=>i.j9,ro:()=>i.ro});var i=s(23096),n=s(31415)},23096(e,t,s){"use strict";s.d(t,{Ff:()=>c,GG:()=>g,IW:()=>h,Kb:()=>p,W7:()=>d,Yp:()=>b,Z1:()=>f,ZH:()=>k,_J:()=>v,d1:()=>_,eI:()=>u,f_:()=>m,gp:()=>w,j9:()=>j,ro:()=>l});var i=s(66087),n=s(26556),a=s(44254),r=s(77423);const o={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}},c=(0,n.HY)({items:(e={},t)=>{switch(t.type){case a.X2c:return Object.assign({},t.initialState.getModules);case a.ooH:return Object.assign({},e,t.modules);case a.s2d:return Object.assign({},e,{[t.module]:Object.assign({},e[t.module],{activated:!0})});case a.tiw:return Object.assign({},e,{[t.module]:Object.assign({},e[t.module],{activated:!1})});case a.PKf:{const s=Object.assign({},e[t.module]);return Object.keys(t.newOptionValues).forEach(e=>{s.options[e].current_value=t.newOptionValues[e]}),Object.assign({},e,{[t.module]:s})}default:return e}},requests:(e=o,t)=>{switch(t.type){case a.LK9:return Object.assign({},e,{fetchingModulesList:!0});case a.spT:case a.ooH:return Object.assign({},e,{fetchingModulesList:!1});case a.EqR:return Object.assign({},e,{activating:Object.assign({},e.activating,{[t.module]:!0})});case a.Fdt:case a.s2d:return Object.assign({},e,{activating:Object.assign({},e.activating,{[t.module]:!1})});case a.dM3:return Object.assign({},e,{deactivating:Object.assign({},e.deactivating,{[t.module]:!0})});case a.Mcz:case a.tiw:return Object.assign({},e,{deactivating:Object.assign({},e.deactivating,{[t.module]:!1})});case a.xf2:{const s=Object.assign({},e.updatingOption);return s[t.module]=Object.assign({},s[t.module]),Object.keys(t.newOptionValues).forEach(e=>{s[t.module][e]=!0}),Object.assign({},e,{updatingOption:Object.assign({},e.updatingOption,s)})}case a.G2:case a.PKf:{const s=Object.assign({},e.updatingOption);return s[t.module]=Object.assign({},s[t.module]),Object.keys(t.newOptionValues).forEach(e=>{s[t.module][e]=!1}),Object.assign({},e,{updatingOption:Object.assign({},e.updatingOption,s)})}default:return e}}});function l(e,t){return!!e.jetpack.modules.requests.activating[t]}function p(e,t,s){return e.jetpack.modules.items?.[t]?.options?.[s]?.current_value}function d(e,t,s){return e.jetpack.modules.items?.[t]?.options?.[s]?.enum_labels??!1}function u(e){return e.jetpack.modules.items}function h(e){return Object.keys(e.jetpack.modules.items).filter(t=>e.jetpack.modules.items[t].activated)}function m(e,t){return 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 f(e){return Object.keys(e.jetpack.modules.items).filter(t=>e.jetpack.modules.items[t].requires_user_connection)}function v(e,t=[]){const s=Object.keys(u(e));return 0<(0,i.intersection)(s,t).length}function k(e){return v(e,["carousel","photon","photon-cdn","search","videopress"])}function j(e){return v(e,["protect","sso","vaultpress"])||(0,r.gT)(e,"akismet/akismet.php")}function b(e,t){return!!e.jetpack.modules.items?.[t]?.activated}function w(e,t){return Object.keys(e.jetpack.modules.items).includes(t)}function _(e,t){return e.jetpack.modules.items?.[t]?.override??!1}},52173(e,t,s){"use strict";s.d(t,{F:()=>a,e:()=>r});var i=s(26556),n=s(44254);const a=(0,i.HY)({duration:(e="yearly",t)=>t.type===n.msC?t.duration:e});function r(e){return e.jetpack.plans.duration}},98839(e,t,s){"use strict";s(5932)},95367(e,t,s){"use strict";s.d(t,{bP:()=>i.bP});var i=s(96111);s(98839)},96111(e,t,s){"use strict";s.d(t,{Ff:()=>a,bP:()=>r});var i=s(26556),n=s(44254);const a=(0,i.HY)({items:(e={},t)=>t.type===n.dhe?t.products:e,requests:(e={},t)=>{switch(t.type){case n.xQJ:return Object.assign({},e,{isFetchingProducts:!0});case n.dhe:case n.gSC:return Object.assign({},e,{isFetchingProducts:!1});default:return e}}});function r(e){return!!e.jetpack.products.requests.isFetchingProducts}},66596(e,t,s){"use strict";s.d(t,{Ff:()=>a,mq:()=>r});var i=s(26556),n=s(44254);const a=(0,i.HY)({connectUrls:(e={},t)=>t.type===n.X2c?Object.assign({},t.initialState.externalServicesConnectUrls):e});function r(e,t){return e.jetpack.publicize.connectUrls?.[t]??null}},70478(e,t,s){"use strict";s.d(t,{Lw:()=>v,Lx:()=>a,UN:()=>c,X7:()=>g,YE:()=>k,ZA:()=>m,kV:()=>f,nA:()=>p,or:()=>r,sG:()=>l,si:()=>u,tI:()=>h,tx:()=>d,x1:()=>j});var i=s(5932),n=s(44254);const a=()=>e=>(e({type:n._Wi}),i.Ay.fetchRecommendationsData().then(t=>{e({type:n.kil,data:t})}).catch(t=>{e({type:n.XdB,error:t})})),r=e=>t=>{t({type:n.Xfo,data:e})},o=(e,t)=>{const s=t().jetpack.recommendations;return e({type:n.hcx}),i.Ay.saveRLine truncated
__("Error updating settings. %s","jetpack"),e.message||e.code||e.name||e),...t};"object"==typeof e&&o.Ls.some(t=>t in e)&&(c.success=__("Updated settings. Refreshing page…","jetpack")),s((0,a.fj)("module-setting-update")),s((0,a.fj)("module-setting-update-success"));const l=["dismiss_empty_stats_card","dismiss_dash_backup_getting_started","dismiss_dash_agencies_learn_more"];return"object"!=typeof e||l.some(t=>t in e)||s((0,a.Fc)("is-info",c.progress,{id:"module-setting-update"})),s({type:r.TVv,updatedOptions:e}),i.Ay.updateSettings(e).then(t=>{s({type:r.NY7,updatedOptions:u(t,e),success:t}),(0,o.VV)(e),s((0,a.fj)("module-setting-update")),s((0,a.fj)("module-setting-update-success")),"object"!=typeof e||l.some(t=>t in e)||s((0,a.Fc)("is-success",c.success,{id:"module-setting-update-success",duration:2e3}))}).catch(t=>{s({type:r.Quo,success:!1,error:t,updatedOptions:e}),s((0,a.fj)("module-setting-update")),s((0,a.Fc)("is-error",c.error(t),{id:"module-setting-update"}))})};function u(e,t){let s=t;return"regenerate"===t?.post_by_email_address&&(s={post_by_email_address:e.post_by_email_address}),s}},30138(e,t,s){"use strict";s.d(t,{Fj:()=>i.Fj,Ny:()=>i.Ny,Og:()=>i.Og,PL:()=>i.PL,Uc:()=>n.Uc,Xx:()=>n.Xx,eu:()=>i.eu,ic:()=>n.ic,jo:()=>n.jo,mt:()=>i.mt});var i=s(57526),n=s(99577)},57526(e,t,s){"use strict";s.d(t,{Ff:()=>o,Fj:()=>h,Ny:()=>p,Og:()=>u,PL:()=>l,eu:()=>d,mt:()=>c});var i=s(66087),n=s(26556),a=s(44254);const r={fetchingSettingsList:!1,settingsSent:{},updatedSettings:{}},o=(0,n.HY)({items:(e={},t)=>{switch(t.type){case a.X2c:return Object.assign({},e,t.initialState.settings);case a._nc:return Object.assign({},t.settings);case a.Cvy:{const s=Object.keys(t.updatedOption)[0];return Object.assign({},e,{[s]:t.updatedOption[s]})}case a.NY7:return Object.assign({},e,t.updatedOptions);default:return e}},requests:(e=r,t)=>{switch(t.type){case a.Wkx:return Object.assign({},e,{fetchingSettingsList:!0});case a.rNj:case a._nc:return Object.assign({},e,{fetchingSettingsList:!1});case a.YCY:case a.TVv:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,()=>!0)});case a.Vfi:case a.Cvy:case a.Quo:case a.NY7:return(0,i.merge)({},e,{settingsSent:(0,i.mapValues)(t.updatedOptions,()=>!1),updatedSettings:(0,i.mapValues)(t.updatedOptions,()=>Boolean(t.success))});default:return e}},unsavedSettingsFlag:(e=!1,t)=>{switch(t.type){case a.iSZ:return!0;case a.zsW:return!1;default:return e}}});function c(e){return e.jetpack.settings.items}function l(e,t,s="",i=!0){if(!i||""===s||e.jetpack.settings.items?.[s])return e.jetpack.settings.items?.[t]}function p(e,t=""){return Array.isArray(t)?Object.entries(e.jetpack.settings.requests.settingsSent).some(([e,s])=>s&&t.includes(e)):e.jetpack.settings.requests.settingsSent[t]}function d(e){return e.jetpack.settings?.unsavedSettingsFlag??!1}function u(e){return e.jetpack.settings.items?.dismiss_empty_stats_card??!1}function h(e){return e.jetpack.settings.items?.dismiss_dash_backup_getting_started??!1}},31528(e,t,s){"use strict";s.d(t,{I:()=>a});var i=s(5932),n=s(44254);const a=()=>e=>(e({type:n.lOA}),i.Ay.fetchSiteProducts().then(t=>{e({type:n.BVe,siteProducts:t.data})}).catch(t=>{e({type:n.EeE,error:t})}))},78795(e,t,s){"use strict";s.d(t,{Gh:()=>i.Gh,IR:()=>n.I,LE:()=>i.LE,Nq:()=>i.Nq,Y9:()=>i.Y9,ab:()=>i.ab});var i=s(56939),n=s(31528)},56939(e,t,s){"use strict";s.d(t,{Ff:()=>a,Gh:()=>p,LE:()=>c,Nq:()=>l,Y9:()=>o,ab:()=>r});var i=s(26556),n=s(44254);const a=(0,i.HY)({items:(e={},t)=>t.type===n.BVe?t.siteProducts:e,requests:(e={},t)=>{switch(t.type){case n.lOA:return{...e,isFetching:!0};case n.BVe:case n.EeE: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),i=s?.introductory_offer?.cost_per_interval||s?.cost;return Math.ceil(i/12*100)/100}function p(e,t){const s=c(e,t),i=s?.introductory_offer?.cost_per_interval;return"year"===s?.introductory_offer?.interval_unit&&1===s?.introductory_offer?.interval_count&&i?Math.ceil(i/s?.cost*100):0}},97317(e,t,s){"use strict";s.d(t,{I:()=>c,T:()=>o});var i=s(5932),n=s(27723),a=s(5546),r=s(44254);const __=n.__,o=(e=null)=>t=>(t({type:r.bpU}),i.Ay.fetchVerifySiteGoogleStatus(e).then(e=>{if(e.errors&&e.errors.length>0){const s=Object.keys(e.errors)[0],i=e.errors[s];return t({type:r.uRk,error:{code:s,message:i}}),e}return t({type:r.rLi,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.uRk,error:e.response})})),c=e=>t=>(t({type:r.ZCe}),i.Ay.verifySiteGoogle(e).then(e=>{if(e.errors&&e.errors.length>0){const s=Object.keys(e.errors)[0],i=e.errors[s];return t({type:r.ynO,error:{code:s,message:i}}),e}return t({verified:e.verified,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.googLine truncated
__("Error updating privacy settings. %s","jetpack"),e.message||e.code||e.name||e)};return t((0,a.fj)("tracking-settings-update")),t((0,a.fj)("tracking-settings-update-success")),t((0,a.Fc)("is-info",s.progress,{id:"tracking-settings-update"})),t({type:r.Glt,updatedSettings:e}),i.Ay.updateUserTrackingSettings(e).then(i=>{t({type:r.sWT,updatedSettings:e,success:i}),t((0,a.fj)("tracking-settings-update")),t((0,a.fj)("tracking-settings-update-success")),t((0,a.Fc)("is-success",s.success,{id:"tracking-settings-update-success",duration:2e3}))}).catch(i=>{t({type:r.lVz,updatedSettings:e,success:!1,error:i}),t((0,a.fj)("tracking-settings-update")),t((0,a.fj)("tracking-settings-update-success")),t((0,a.Fc)("is-error",s.error(i),{id:"tracking-settings-update"}))})}},51142(e,t,s){"use strict";s.d(t,{Ff:()=>r,h:()=>c,h5:()=>o,vu:()=>l});var i=s(26556),n=s(44254);const a={fetchingTrackingSettings:!1,updatingTrackingSettings:!1},r=(0,i.HY)({items:(e={},t)=>{switch(t.type){case n.vlr:return Object.assign({},e,t.settings);case n.sWT:return Object.assign({},e,t.updatedSettings);default:return e}},requests:(e=a,t)=>{switch(t.type){case n.fnu:return Object.assign({},e,{fetchingTrackingSettings:!0});case n.OH_:case n.vlr:return Object.assign({},e,{fetchingTrackingSettings:!1});case n.Glt:return Object.assign({},e,{updatingTrackingSettings:!0});case n.lVz:case n.sWT:return Object.assign({},e,{updatingTrackingSettings:!1});default:return e}}});function o(e){return e.jetpack.trackingSettings.items}function c(e){return e.jetpack.trackingSettings.requests.fetchingTrackingSettings}function l(e){return e.jetpack.trackingSettings.requests.updatingTrackingSettings}},72868(e,t,s){"use strict";s.d(t,{J:()=>r,M:()=>a});var i=s(5932),n=s(44254);const a=()=>e=>(e({type:n.ymV}),i.Ay.fetchWafSettings().then(t=>(e({type:n.ObO,settings:t}),t)).catch(t=>{e({type:n.H1n,error:t})})),r=e=>t=>(t({type:n.j7x}),i.Ay.updateWafSettings({jetpack_waf_automatic_rules:e.automaticRulesEnabled,jetpack_waf_ip_allow_list_enabled:e.ipAllowListEnabled,jetpack_waf_ip_block_list_enabled:e.ipBlockListEnabled,jetpack_waf_ip_allow_list:e.ipAllowList,jetpack_waf_ip_block_list:e.ipBlockList,jetpack_waf_share_data:e.shareData,jetpack_waf_share_debug_data:e.shareDebugData}).then(e=>(t({type:n.Hvo,settings:e}),e)).catch(e=>{throw t({type:n.WzY,error:e}),e}))},74215(e,t,s){"use strict";s.d(t,{Ff:()=>i.Ff,Mg:()=>n.M,_e:()=>i._e});var i=s(80911),n=s(72868)},80911(e,t,s){"use strict";s.d(t,{EK:()=>c,Ff:()=>r,IE:()=>l,_e:()=>o,mY:()=>p});var i=s(26556),n=s(44254);const a={isFetchingWafSettings:!1,isUpdatingWafSettings:!1},r=(0,i.HY)({data:(e={},t)=>{switch(t.type){case n.ObO:case n.Hvo:return Object.assign({},e,{bootstrapPath:t.settings?.bootstrap_path,automaticRulesAvailable:Boolean(t.settings?.automatic_rules_available),automaticRulesEnabled:Boolean(t.settings?.jetpack_waf_automatic_rules),ipAllowListEnabled:Boolean(t.settings?.jetpack_waf_ip_allow_list_enabled),ipBlockListEnabled:Boolean(t.settings?.jetpack_waf_ip_block_list_enabled),ipAllowList:t.settings?.jetpack_waf_ip_allow_list||"",ipBlockList:t.settings?.jetpack_waf_ip_block_list||"",shareData:Boolean(t.settings?.jetpack_waf_share_data),standaloneMode:Boolean(t.settings?.standalone_mode),shareDebugData:Boolean(t.settings?.jetpack_waf_share_debug_data)});default:return e}},requests:(e=a,t)=>{switch(t.type){case n.ymV:return Object.assign({},e,{isFetchingWafSettings:!0});case n.ObO:case n.H1n:return Object.assign({},e,{isFetchingWafSettings:!1});case n.j7x:return Object.assign({},e,{isUpdatingWafSettings:!0});case n.Hvo:case n.WzY:return Object.assign({},e,{isUpdatingWafSettings:!1});default:return e}}});function o(e){return!!e.jetpack.waf.requests.isFetchingWafSettings}function c(e){return!!e.jetpack.waf.requests.isUpdatingWafSettings}function l(e){return e.jetpack.waf?.data??{}}function p(e){return e.jetpack.waf?.data?.automaticRulesAvailable??!1}},79930(e,t,s){"use strict";s.d(t,{A:()=>x});var i=s(3924),n=s(97999),a=s(1455),r=s.n(a),o=s(56427),c=s(27723),l=s(51609),p=s(84952),d=s(26592),u=s(63344),h=s(60619),m=s(8332),g=s(19579),f=s(53835),v=s(2065),k=s(26508),j=s(6838),b=s(10790);const __=c.__,w=()=>{f.A.tracks.recordJetpackClick("blaze-dashboard")},_={alignSelf:"center",borderRadius:"8px",height:"auto",margin:"auto",maxHeight:"calc(100% - 32px)",maxWidth:"512px",width:"calc(100% - 32px)"};const x=(0,u.t)((0,p.Ng)((e,t)=>({blazeActive:t.getOptionValue("blaze"),blazeDashboardEnabled:(0,v.Kz)(e),blazeModule:(0,k.f_)(e,"blaze"),blazeAvailable:(0,v.G4)(e)}))(function(e){const{blazeActive:t,blazeAvailable:s,blazeModule:{description:a},blazeDashboardEnabled:c,hasConnectedOwner:p,isOfflineMode:u,isSavingAnyOption:v,isUnavailableInOfflineMode:k,siteAdminUrl:x,toggleModuleNow:y}=e,[C,A]=(0,l.useState)(!1),[S,N]=(0,l.useState)(!1),{can_init:T,reason:E}=s,M=()=>c?x+"tools.php?page=advertising":(0,i.A)("jetpack-blaze"),O=()=>c?{}:{target:"_blank",rel:"noopener noreferrer"},P=(0,l.useCallback)(()=>{A(!1)},[]),R=(0,l.useCallback)Line truncated
__("Your SEO settings are managed by the following plugin: %s","jetpack"),o[0].name)}),(0,E.jsx)("p",{children:__("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")}),(0,E.jsx)(b.j,{slug:"seo-tools",activated:s,disabled:this.props.isSavingAnyOption([e.module,...this.constants.moduleOptionsArray])||c,toggleModule:this.props.toggleModuleNow,children:(0,E.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Customize your SEO settings","jetpack")})}),this.props.seoEnhancerAvailable&&this.props.hasSeoEnhancer&&(0,E.jsx)(k.dV,{children:(0,E.jsx)(p.ToggleControl,{__nextHasNoMarginBottom:!0,id:"seo-enhancer",disabled:!this.props.getOptionValue("seo-tools")||!this.props.hasSeoEnhancer,checked:this.props.hasSeoEnhancer&&this.props.getOptionValue("ai_seo_enhancer_enabled"),onChange:this.toggleSeoEnhancer,label:(0,E.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Automatically generate SEO title, SEO description, and image alt text for new posts","jetpack")})})})]}),(0,E.jsxs)(x.A,{module:{module:"canonical-urls"},support:{text:__("Adds canonical URL tags to archive pages to prevent duplicate content in search engines.","jetpack"),link:(0,i.A)("jetpack-support-canonical-urls")},children:[(0,E.jsx)(b.j,{slug:"canonical-urls",activated:this.props.getOptionValue("canonical-urls"),disabled:this.props.isSavingAnyOption(["canonical-urls",...this.constants.moduleOptionsArray])||c,toggleModule:this.props.toggleModuleNow,children:(0,E.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Add canonical URLs to archive pages","jetpack")})}),(0,E.jsx)("p",{className:"jp-form-setting-explanation",children:__('Adds a rel="canonical" link to archive pages, helping search engines identify the preferred URL and avoid indexing duplicate content.',"jetpack")})]}),s&&!(0,N.rC)(this.props.state)&&!c&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.A,{header:__("Expand to customize the page title structures of your site.","jetpack"),clickableHeader:!0,className:"jp-seo-custom-titles-card",children:(0,E.jsxs)(x.A,{children:[(0,E.jsx)("p",{children:__("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")}),(0,E.jsx)(T.Ay,{customSeoTitles:n,updateCustomSeoTitleInputState:this.updateCustomSeoTitleInputState,siteData:r}),(0,E.jsx)("div",{className:"jp-seo-custom-titles-save-button",children:this.saveButton(this.props)})]})}),(0,E.jsx)(v.A,{header:__("Expand to edit your front page meta description.","jetpack"),clickableHeader:!0,className:"jp-seo-front-page-description-card",children:(0,E.jsxs)(x.A,{children:[(0,E.jsx)("p",{style:{clear:"both"},children:__("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")}),(0,E.jsx)(k.lR,{htmlFor:"jp-seo-front-page-description",children:(0,E.jsx)("span",{className:"jp-form-label-wide",children:__("Front Page Meta Description","jetpack")})}),(0,E.jsxs)("div",{className:"jp-seo-front-page-description-container",children:[(0,E.jsx)(k.hg,{name:"advanced_seo_front_page_description",id:"jp-seo-front-page-description",className:"jp-form-textarea-wide",maxLength:this.constants.frontPageMetaMaxLength,value:a,onChange:this.props.onOptionChange}),(0,E.jsxs)("div",{className:l,children:[(0,d.sprintf)(/* translators: %d: the number of characters */
_n("%d character","%d characters",a.length,"jetpack"),a.length),a.length>=this.constants.frontPageMetaMaxLength&&" - "+__("Maximum characters reached.","jetpack")]})]}),(0,E.jsx)("div",{className:"jp-seo-front-page-description-save-button",children:this.saveButton(this.props)})]})}),(0,E.jsxs)(v.A,{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",children:[(0,E.jsxs)("div",{className:"jp-seo-social-previews-container",children:[(0,E.jsx)(g.d6,{icon:"google",size:24}),(0,E.jsx)("span",{className:"jp-seo-social-previews-label",children:__("Google search","jetpack")})]}),this.SocialPreviewGoogle(r),(0,E.jsx)("hr",{}),(0,E.jsxs)("div",{className:"jp-seo-social-previews-container",children:[(0,E.jsx)(g.d6,{icon:"facebook",size:24}),(0,E.jsx)("span",{className:"jp-seo-social-previews-label",children:__("Facebook","jetpack")})]}),this.SocialPreviewFacebook(r),(0,E.jsx)("hr",{}),(0,E.jsxs)("div",{className:"jp-seo-social-previews-container",children:[(0,E.jsx)(g.d6,{icon:"x",size:24}),(0,E.jsx)("span",{className:"jp-seo-social-previews-label",children:__("X","jetpack")})]}),this.SocialPreviewTwitter(r)]})]})]})}}),P=(0,m.Ng)(e=>({siteData:e.jetpack.siteData.data,siteIcon:(0,A.ZE)(e),siteRepresentativeImage:(0,A.AI)(e),seoEnhancerAvailable:(0,A.pi)(e),state:e,hasSeoEnhancer:(0,S.IT)(e,"ai-seo-enhancer")}))(O)},57707(e,t,s){"use strict";s.d(t,{Ay:()=>m});var i=s(27723),n=s(51609),a=s(70386),r=s(11895),o=s(78888),c=s(10790);const __=i.__,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=(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,i.sprintf)(/* translators: %s is the preview text for a custom SEO input */
__("Preview: %s","jetpack"),t)),d=({pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,token:i})=>{const r=(0,n.useCallback)(()=>{const n=t.current;n.focus();const a=`[${i}]`,r=n.textFieldRef.current.selectionStart,o=n.props.value.substring(0,r),c=n.props.value.substring(r,n.props.value.length);s(e,o+a+c)},[e,t,s,i]);return(0,c.jsx)(a.A,{rna:!0,className:"jp-seo-custom-titles-input-button",compact:!0,onClick:r,children:l.insertableTokens[i]})},u=(e,t,s)=>l.tokensAvailablePerPageType[e.name].map(i=>"archives"===e.name&&"date"===i?null:(0,c.jsx)(d,{pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,token:i},i)),h=({pageType:e,customSeoTitleInputRef:t,handleCustomSeoTitleInput:s,value:i,siteData:a})=>(0,c.jsxs)("div",{className:`jp-seo-custom-titles-input-container-${e.name}`,children:[(0,c.jsxs)("div",{className:"jp-seo-custom-titles-input-controls",children:[(0,c.jsx)(r.lR,{className:"jp-seo-custom-titles-input-label",htmlFor:`jp-seo-custom-titles-input-${e.name}`,children:(0,c.jsx)("span",{className:"jp-form-label",children:e.label})}),(0,c.jsx)("div",{children:u(e,t,s)})]}),(0,c.jsx)(o.A,{id:`jp-seo-custom-titles-input-${e.name}`,className:"jp-seo-custom-titles-input",value:i,onChange:(0,n.useCallback)(t=>s(e,t.target.value),[s,e]),ref:t}),(0,c.jsx)("div",{className:"jp-seo-custom-titles-input-preview",children:p(e,i,a)})]}),m=e=>{const[t]=(0,n.useState)({front_page:(0,n.createRef)(),posts:(0,n.createRef)(),pages:(0,n.createRef)(),groups:(0,n.createRef)(),archives:(0,n.createRef)()}),s=l.pageTypes.reduce((t,s)=>{var i;return t[s.name]=(i=e.customSeoTitles[s.name],Array.isArray(i)?i.reduce((e,t)=>e+("token"===t.type?`[${t.value}]`:t.value),""):""),t},{}),i=e.updateCustomSeoTitleInputState,a=(0,n.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=>e).map(e=>{let s=null;for(const t of Object.keys(l.insertableTokens))e===`[${t}]`&&(s=t);return s&&l.tokensAvailablePerPageType[t].includes(s)?{type:"token",value:s}:{type:"string",value:e}}))(s[t],t),e),{});i(n)},[s,i]);return(0,c.jsx)("div",{className:"jp-seo-custom-titles",children:l.pageTypes.map(i=>(0,c.jsx)(h,{pageType:i,value:s[i.name],handleCustomSeoTitleInput:a,customSeoTitleInputRef:t[i.name],siteData:e.siteData},i.name))})}},34465(e,t,s){"use strict";s.d(t,{A:()=>m});var i=s(3924),n=s(27723),a=s(51609),r=s(84952),o=s(63344),c=s(60619),l=s(8332),p=s(19579),d=s(26508),u=s(10790);const __=n.__,_x=n._x;class h extends a.Component{render(){const{isSiteConnected:e}=this.props;return(0,u.jsx)(l.A,{...this.props,header:_x("WP.me Shortlinks","Settings header","jetpack"),module:"shortlinks",hideButton:!0,children:(0,u.jsx)(p.A,{module:{module:"shortlinks"},support:{text:this.props.shortlinksModule.description,link:(0,i.A)("jetpack-support-shortlinks")},disableInOfflineMode:!0,children:(0,u.jsx)(c.j,{slug:"shortlinks",disabled:!e||this.props.isSavingAnyOption("shortlinks"),activated:this.props.shortlinksActive,toggleModule:this.props.toggleModuleNow,children:(0,u.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Generate shortened URLs for simpler sharing.","jetpack")})})})})}}const m=(0,o.t)((0,r.Ng)((e,t)=>({shortlinksActive:t.getOptionValue("shortlinks"),shortlinksModule:(0,d.f_)(e,"shortlinks")}))(h))},82559(e,t,s){"use strict";s.d(t,{H:()=>_});var i=s(3924),n=s(56427),a=s(86087),r=s(27723),o=s(13022),c=s(51609),l=s(84952),p=s(70386),d=s(26592),u=s(97058),h=s(11895),m=s(45078),g=s(63344),f=s(8332),v=s(19579),k=s(69546),j=s(53835),b=s(10790);const __=r.__,_x=r._x;class w extends c.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:!!t?.includes("administrator"),count_roles_editor:!!t?.includes("editor"),count_roles_author:!!t?.includes("author"),count_roles_contributor:!!t?.includes("contributor"),count_roles_subscriber:!!t?.includes("subscriber"),roles_administrator:!0,roles_editor:!!s?.includes("editor"),roles_author:!!s?.includes("author"),roles_contributor:!!s?.includes("contributor"),roles_subscriber:!!s?.includes("subscriber"),wpcom_reader_views_enabled:e.getOptionValue("wpcom_reader_views_enabled")};const i=["administrator","editor","author","contributor","subscriber"];s?.length>0&&s.forEach(e=>{i.includes(e)||(this.state[`roles_${e}`]=!0)}),t?.length>0&&t.forEach(e=>{i.includes(e)||(this.state[`count_roles_${e}`]=!0)})}updateOptions=(e,t)=>{let s=this.props.getOptionValue(t,"stats"),i=!1;this.state[`${t}_${e}`]?s.includes(e)&&(s=s.filter(t=>t!==e)):s.includes(e)||(s.push(e),i=!0),this.setState({[`${t}_${e}`]:!this.state[`${t}_${e}`]},()=>{this.props.updateOptions({[t]:s})}),j.A.tracks.recordEvent("jetpack_wpa_settings_toggle",{module:"stats",setting:t,role:e,toggled:i?"on":"off"})};activateStats=()=>{this.props.updateOptions({stats:!0})};trackOpenCard=()=>{Line truncated
__("%s has been disabled by a site administrator.","jetpack"),e.name)});const t=!!this.props.getOptionValue(e.module);return(0,f.jsx)(u.A,{...this.props,module:e.module,saveDisabled:this.props.isSavingAnyOption(["google","bing","pinterest","yandex","facebook"]),children:(0,f.jsxs)(h.A,{module:e,support:{text:__("Provides the necessary hidden tags needed to verify your WordPress site with various services.","jetpack"),link:(0,i.A)("jetpack-support-site-verification-tools")},children:[(0,f.jsx)(d.j,{slug:e.module,activated:t,disabled:this.props.isSavingAnyOption([e.module]),toggleModule:this.props.toggleModuleNow,children:(0,f.jsx)("span",{className:"jp-form-toggle-explanation",children:__("Verify site ownership with third party services","jetpack")})}),(0,f.jsx)("p",{children:(0,n.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:(0,f.jsx)("strong",{}),support:(0,f.jsx)("a",{href:(0,i.A)("jetpack-support-site-verification-tools")}),google:(0,f.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://www.google.com/webmasters/tools/"}),bing:(0,f.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://www.bing.com/webmaster/"}),pinterest:(0,f.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://pinterest.com/website/verify/"}),yandex:(0,f.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://webmaster.yandex.com/sites/"}),facebook:(0,f.jsx)(r.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://business.facebook.com/settings/"})})}),(0,f.jsxs)(c.dV,{children:[(0,f.jsx)(g.A,{value:this.getSiteVerificationValue("google"),placeholder:this.getMetaTag("google","1234"),...this.props,disabled:this.props.isUpdating("google")||!t}),(0,f.jsxs)(c.lR,{className:"jp-form-input-with-prefix",children:[(0,f.jsx)("span",{children:__("Bing:","jetpack")}),(0,f.jsx)(m.A,{name:"bing",value:this.getSiteVerificationValue("bing"),placeholder:this.getMetaTag("bing","1234"),className:"code",disabled:this.props.isUpdating("bing")||!t,onChange:this.props.onOptionChange})]},"verification_service_bing"),(0,f.jsxs)(c.lR,{className:"jp-form-input-with-prefix",children:[(0,f.jsx)("span",{children:__("Pinterest:","jetpack")}),(0,f.jsx)(m.A,{name:"pinterest",value:this.getSiteVerificationValue("pinterest"),placeholder:this.getMetaTag("pinterest","1234"),className:"code",disabled:this.props.isUpdating("pinterest")||!t,onChange:this.props.onOptionChange})]},"verification_service_pinterest"),(0,f.jsxs)(c.lR,{className:"jp-form-input-with-prefix",children:[(0,f.jsx)("span",{children:__("Yandex:","jetpack")}),(0,f.jsx)(m.A,{name:"yandex",value:this.getSiteVerificationValue("yandex"),placeholder:this.getMetaTag("yandex","1234"),className:"code",disabled:this.props.isUpdating("yandex")||!t,onChange:this.props.onOptionChange})]},"verification_service_yandex"),(0,f.jsxs)(c.lR,{className:"jp-form-input-with-prefix",children:[(0,f.jsx)("span",{children:__("Facebook:","jetpack")}),(0,f.jsx)(m.A,{name:"facebook",value:this.getSiteVerificationValue("facebook"),placeholder:this.getMetaTag("facebook","1234"),className:"code",disabled:this.props.isUpdating("facebook")||!t,onChange:this.props.onOptionChange})]},"verification_service_facebook")]})]})})}}const k=(0,p.t)(v)},34644(e,t,s){"use strict";s.d(t,{A:()=>x});var i=s(86087),n=s(27723),a=s(79654),r=s(28120),o=s.n(r),c=s(51609),l=s(84952),p=s(70386),d=s(11895),u=s(5546),h=s(31497),m=s(78888),g=s(53835),f=s(70531),v=s(2065),k=s(66596),j=s(82656),b=s(70342),w=s(10790);const __=n.__;class _ extends c.Component{static propTypes={disabled:o().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;g.A.tracks.recordEvent("jetpack_site_verification_google_verify_error",{error_message:e}),this.props.createNotice("is-error",(0,n.sprintf)(/* translators: %s: an error message. */
__("Site failed to verify: %s","jetpack"),e),{id:"verify-site-google-error",duration:5e3})}else this.props.isSiteVerifiedWithGoogle&&g.A.tracks.recordEvent("jetpack_site_verification_google_verify_success")})})}handleClickAutoVerify=()=>{this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||(g.A.tracks.recordEvent("jetpack_site_verification_google_auto_verify_click"),(0,f.A)(this.props.googleSiteVerificationConnectUrl,e=>{e&&this.checkAndVerifySite(e)}))};handleClickSetManually=e=>{g.A.tracks.recordEvent("jetpack_site_verification_google_manual_verify_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)};handleClickEdit=e=>{g.A.tracks.recordEvent("jetpack_site_verification_google_edit_click",{is_owner:this.props.isOwner}),this.toggleVerifyMethod(e)};handleClickCancel=e=>{g.A.tracks.recordEvent("jetpack_site_verification_google_cancel_click",{is_owner:this.props.isOwner}),this.props.resetFormStateOption("google"),this.toggleVerifyMethod(e)};quickSave=e=>{g.A.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(0,w.jsx)("div",{children:(0,w.jsxs)(d.lR,{className:"jp-form-input-with-prefix",children:[(0,w.jsx)("span",{children:__("Google","jetpack")}),(0,w.jsx)(m.A,{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&&(0,w.jsxs)("div",{className:"jp-form-site-verification-buttons",children:[(0,w.jsx)(p.A,{primary:!0,rna:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.quickSave,children:__("Save","jetpack")}),(0,w.jsx)(p.A,{rna:!0,type:"button",className:"jp-form-site-verification-edit-button",disabled:this.props.disabled,onClick:this.handleClickCancel,children:__("Cancel","jetpack")})]})]},"verification_service_google")});if(this.props.isSiteVerifiedWithGoogle)return(0,w.jsxs)("div",{children:[(0,w.jsxs)("div",{className:"jp-form-input-with-prefix",children:[(0,w.jsx)("span",{children:__("Google","jetpack")}),(0,w.jsxs)("div",{className:"jp-form-site-verification-verified",children:[(0,w.jsx)(h.A,{icon:"checkmark-circle",size:20})," ",(0,w.jsx)("span",{children:__("Your site is verified with Google","jetpack")})]}),(0,w.jsx)(p.A,{rna:!0,type:"button",className:"jp-form-site-verification-edit-button",onClick:this.handleClickEdit,children:__("Edit","jetpack")})]},"verification_service_google"),this.props.isOwner&&(0,w.jsx)("div",{className:"jp-form-input-with-prefix-bottom-message",children:(0,w.jsx)("div",{className:"jp-form-setting-explanation",children:(0,w.jsxs)("p",{children:[(0,i.createInterpolateElement)(__("Monitor your site's traffic and performance from the <a>Google Search Console</a>.","jetpack"),{a:(0,w.jsx)(a.N,{openInNewTab:!0,rel:"noopener noreferrer",href:this.props.googleSearchConsoleUrl})})," ",(0,i.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:(0,w.jsx)(a.N,{openInNewTab:!0,rel:"noopener noreferrer",href:"https://developers.google.com/web/fundamentals/security/hacked/"}),a2:(0,w.jsx)(a.N,{openInNewTab:!0,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(0,w.jsxs)("div",{className:"jp-form-input-with-prefix jp-form-google-label-unverified",children:[(0,w.jsx)("span",{children:__("Google:","jetpack")}),(0,w.jsx)("div",{className:"jp-form-google-label-unverified-actions",children:(0,i.createInterpolateElement)(__("<button1>Auto verify with Google</button1><span>or</span><button2>Manually verify with Google</button2>","jetpack"),{button1:(0,w.jsx)(p.A,{primary:!0,rna:!0,type:"button",disabled:t,onClick:this.handleClickAutoVerify}),span:(0,w.jsx)("span",{className:"jp-form-google-separator"}),button2:(0,w.jsx)(p.A,{rna:!0,type:"button",disabled:t,onClick:this.handleClickSetManually})})})]},"verification_service_google")}}const x=(0,l.Ng)(e=>({fetchingSiteData:(0,j.Kb)(e),googleSiteVerificationConnectUrl:(0,k.mq)(e,"google_site_verification"),googleSearchConsoleUrl:(0,b.aB)(e),fetchingGoogleSiteVerify:(0,b.wr)(e),isConnectedToGoogle:(0,b.yF)(e),isSiteVerifiedWithGoogle:(0,b.L9)(e),isVerifyingGoogleSite:(0,b.Iz)(e),userCanManageOptions:(0,v.hN)(e),googleSiteVerificationError:(0,b.ib)(e),isOwner:(0,b.v1)(e)}),{checkVerifyStatusGoogle:b.TI,createNotice:u.Fc,removeNotice:u.fj,verifySiteGoogle:b.ID})(_)},752(e,t,s){"use strict";function i(e){return t=>{13!==t.which&&32!==t.which||e(t)}}s.d(t,{A:()=>i}),s.dn(i)},30940(e,t,s){"use strict";s.d(t,{A:()=>k});var i=s(3924),n=s(27723),a=s(51609),r=s(84952),o=s(23443),c=s(11895),l=s(63344),p=s(60619),d=s(8332),u=s(19579),h=s(2065),m=s(26508),g=s(12623),f=s(10790);const __=n.__,_x=n._x;class v extends a.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"),n=this.props.isModuleFound("shortcodes"),a=this.props.isModuleFound("blocks"),r=this.props.isMyJetpackReachable;if(!(e||t||s||n||a))return null;const l=this.props.module("markdown"),h=this.props.module("latex"),m=this.props.module("copy-post"),g=this.props.module("shortcodes"),v=this.props.module("blocks"),k=(0,f.jsx)(u.A,{module:m,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.A)("jetpack-support-copy-post")},children:(0,f.jsx)(c.dV,{children:(0,f.jsx)(p.j,{slug:"copy-post",disabled:this.props.isSavingAnyOption("copy-post"),activated:!!this.props.getOptionValue("copy-post"),toggleModule:this.props.toggleModuleNow,children:(0,f.jsx)("span",{className:"jp-form-toggle-explanation",children:m.description})})})}),j=(0,f.jsx)(u.A,{module:l,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.A)("jetpack-support-markdown")},children:(0,f.jsx)(c.dV,{children:(0,f.jsx)(p.j,{slug:"markdown",disabled:this.props.isSavingAnyOption(["markdown","wpcom_publish_posts_with_markdown"]),activated:!!this.props.getOptionValue("wpcom_publish_posts_with_markdown","markdown"),toggleModule:this.updateFormStateByMarkdown,children:(0,f.jsx)("span",{className:"jp-form-toggle-explanation",children:l.description})})})}),b=(0,f.jsx)(u.A,{module:h,support:{text:__("LaTeX is a powerful markup language for writing complex mathematical equations and formulas.","jetpack"),link:(0,i.A)("jetpack-support-beautiful-math-with-latex")},children:(0,f.jsx)(c.dV,{children:(0,f.jsx)(p.j,{slug:"latex",disabled:this.props.isSavingAnyOption(["latex"]),activated:!!this.props.getOptionValue("latex"),toggleModule:this.props.toggleModuleNow,children:(0,f.jsx)("span",{className:"jp-form-toggle-explanation",children:h.description})})})}),w=(0,f.jsx)(u.A,{module:g,support:{text:g.description,link:(0,i.A)("jetpack-support-shortcode-embeds")},children:(0,f.jsx)(c.dV,{children:(0,f.jsx)(p.j,{slug:"shortcodes",disabled:this.props.isSavingAnyOption(["shortcodes"]),activated:!!this.props.getOptionValue("shortcodes"),toggleModule:thLine truncated
@@ -0,0 +1,66 @@
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
/*!
* focus-trap 6.3.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* tabbable 5.3.3
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* This test is for touch events.
* It may not accurately detect a touch screen, but may be close enough depending on the use case.
*
* @copyright Modernizr © 2009-2015.
* @license MIT
* @see https://github.com/Modernizr/Modernizr/blob/d5f881a4de0d5fc1af85921ce9c7dc3919c6d335/feature-detects/touchevents.js
*
* @return {boolean} whether touch screen is available
*/
/**
* react-router v7.15.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
.activation-screen-error__message{align-items:flex-start;display:flex;flex-direction:row;margin-top:calc(var(--spacing-base)*.5);max-width:500px}.activation-screen-error__message svg{margin-right:-3px}.activation-screen-error__message span{font-size:13px;font-weight:500;letter-spacing:-.044em;line-height:20px}.activation-screen-error__message--error{color:var(--jp-red)}.activation-screen-error__message--error svg{fill:var(--jp-red)}.activation-screen-error__message--success{color:var(--jp-green)}.activation-screen-error__message--success svg{fill:var(--jp-green)}.activation-screen-error__info{background-color:var(--jp-gray-0);border:1px solid var(--jp-green-0);border-radius:var(--jp-border-radius);color:var(--jp-gray-80);font-size:var(--font-body-small);line-height:calc(var(--font-title-small) - 2px);margin:32px 0 8px;padding:var(--jp-modal-padding-small)}.activation-screen-error__info>p{font-size:var(--font-body-small);margin:0 0 1em}.activation-screen-error__info>p:last-child{margin-bottom:0}.activation-screen-error__info ol>li::marker{font-weight:700}.activation-screen-error__info a{color:var(--jp-green-50)}.activation-screen-error__info :is(a:active,a:hover){color:var(--jp-green-70)}.jp-license-activation-screen-controls .activation-screen-error__info>p{font-size:var(--font-body-small);margin:0 0 1em}.jp-license-activation-screen-controls .activation-screen-error__info>p:last-child{margin-bottom:0}.jp-license-activation-screen-controls{background:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.jp-license-activation-screen-controls h1{font-size:44px;font-weight:700;line-height:1.4;margin:.67em 0}.jp-license-activation-screen-controls p{font-size:16px;margin:1em 0}.jp-license-activation-screen-controls label{font-size:16px;font-weight:600}@media screen and (min-width:780px){.jp-license-activation-screen-controls{padding:64px}}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field,.jp-license-activation-screen-controls--license-field-with-error,.jp-license-activation-screen-controls--license-field-with-success){margin-top:10px;max-width:500px}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field,.jp-license-activation-screen-controls--license-field-with-error,.jp-license-activation-screen-controls--license-field-with-success) .components-input-control__label.components-input-control__label.components-input-control__label{font-size:16px;font-weight:600}.jp-license-activation-screen-controls :is(.jp-license-activation-screen-controls--license-field input.components-text-control__input,.jp-license-activation-screen-controls--license-field select.components-select-control__input,.jp-license-activation-screen-controls--license-field-with-error input.components-text-control__input,.jp-license-activation-screen-controls--license-field-with-error select.components-select-control__input,.jp-license-activation-screen-controls--license-field-with-success input.components-text-control__input,.jp-license-activation-screen-controls--license-field-with-success select.components-select-control__input){border-radius:4px;font-size:18px;line-height:24px;margin:0;min-height:48px}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field input.components-text-control__input{border:1px solid #787c82}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-error :is(input.components-text-control__input,select.components-select-control__input){border:1px solid #d63639}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--license-field-with-success :is(input.components-text-control__input,select.components-select-control__input){border:1px solid #069e08}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{background-color:#000;border-radius:4px;color:#fff;display:flex;font-size:16px;font-style:normal;font-weight:600;justify-content:center;line-height:24px;margin-top:24px;min-height:48px;min-width:158px;padding:13.5px 45px;width:100%}@media screen and (min-width:480px){.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active{width:auto}}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button.components-button:hover,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active.components-button:hover{background-color:#2c3338;color:#fff}.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:active:focus,.jp-license-activation-screen-controls .jp-license-activation-screen-controls--button:focus{background-color:#2c3338;border:1px solid #fff;color:#fff}.jp-license-activation-screen-coLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '2b8403c0e86af025a24f');
@@ -0,0 +1 @@
!function(){"use strict";var e,t={noop:function(){},texturize:function(e){return(e=(e=(e=(e+="").replace(/'/g,"&#8217;").replace(/&#039;/g,"&#8217;")).replace(/"/g,"&#8221;").replace(/&#034;/g,"&#8221;").replace(/&quot;/g,"&#8221;").replace(/[\u201D]/g,"&#8221;")).replace(/([\w]+)=&#[\d]+;(.+?)&#[\d]+;/g,'$1="$2"')).trim()},applyReplacements:function(e,t){if(e)return t?e.replace(/{(\d+)}/g,function(e,r){return void 0!==t[r]?t[r]:e}):e},getBackgroundImage:function(e){var t=document.createElement("canvas"),r=t.getContext&&t.getContext("2d");if(e){r.filter="blur(20px) ",r.drawImage(e,0,0);var o=t.toDataURL("image/png");return t=null,o}}},r=function(){function e(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function r(e,t,r,o){if(!e)return o();e.style.removeProperty("display"),e.style.opacity=t,e.style.pointerEvents="none";var a=function(i,n){var l=(performance.now()-i)/n;l<1?(e.style.opacity=t+(r-t)*l,requestAnimationFrame(()=>a(i,n))):(e.style.opacity=r,e.style.removeProperty("pointer-events"),o())};requestAnimationFrame(function(){requestAnimationFrame(function(){a(performance.now(),200)})})}return{closest:function(t,r){if(t.closest)return t.closest(r);var o=t;do{if(e(o,r))return o;o=o.parentElement||o.parentNode}while(null!==o&&1===o.nodeType);return null},matches:e,hide:function(e){e&&(e.style.display="none")},show:function(e){e&&(e.style.display="block")},fadeIn:function(e,o){r(e,0,1,o=o||t.noop)},fadeOut:function(e,o){o=o||t.noop,r(e,1,0,function(){e&&(e.style.display="none"),o()})},scrollToElement:function(e,t,r){if(!e||!t)return r?r():void 0;var o=t.querySelector(".jp-carousel-info-extra");o&&(o.style.minHeight=window.innerHeight-64+"px");var a=!0,i=Date.now(),n=t.scrollTop,l=Math.max(0,e.offsetTop-Math.max(0,window.innerHeight-function(e){var t=e.querySelector(".jp-carousel-info-footer"),r=e.querySelector(".jp-carousel-info-extra"),o=e.querySelector(".jp-carousel-info-content-wrapper");if(t&&r&&o){var a=window.getComputedStyle(r),i=parseInt(a.paddingTop,10)+parseInt(a.paddingBottom,10);return i=isNaN(i)?0:i,o.offsetHeight+t.offsetHeight+i}return 0}(t)))-t.scrollTop;function s(){a=!1}l=Math.min(l,t.scrollHeight-window.innerHeight),t.addEventListener("wheel",s),function e(){var c,u=Date.now(),d=(c=(u-i)/300)<.5?2*c*c:1-Math.pow(-2*c+2,2)/2,p=(d=d>1?1:d)*l;if(t.scrollTop=n+p,u<=i+300&&a)return requestAnimationFrame(e);r&&r(),o&&(o.style.minHeight=""),a=!1,t.removeEventListener("wheel",s)}()},getJSONAttribute:function(e,t){if(e&&e.hasAttribute(t))try{return JSON.parse(e.getAttribute(t))}catch{return}},convertToPlainText:function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML},stripHTML:function(e){var t=document.createElement("div");return t.innerHTML=e.replace(/<[^>]*>?/gm,""),t.textContent},emitEvent:function(e,t,r){var o;try{o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r||null})}catch{(o=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,r||null)}e.dispatchEvent(o)},isTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}}}();function o(){var o,a,i,n,l="",s=!1,c="div.gallery, div.tiled-gallery, ul.wp-block-gallery, ul.blocks-gallery-grid, figure.wp-block-gallery.has-nested-images, div.wp-block-jetpack-tiled-gallery, a.single-image-gallery",u=".gallery-item, .tiled-gallery-item, .blocks-gallery-item, .tiled-gallery__item",d=u+", .wp-block-image",p={},m="undefined"!=typeof wpcom&&wpcom.carousel&&wpcom.carousel.stat?wpcom.carousel.stat:t.noop,g="undefined"!=typeof wpcom&&wpcom.carousel&&wpcom.carousel.pageview?wpcom.carousel.pageview:t.noop;function h(t){if(!s)switch(t.which){case 38:t.preventDefault(),p.overlay.scrollTop-=100;break;case 40:t.preventDefault(),p.overlay.scrollTop+=100;break;case 39:t.preventDefault(),e.slideNext();break;case 37:case 8:t.preventDefault(),e.slidePrev();break;case 27:t.preventDefault(),k()}}function f(){s=!0}function v(){s=!1}function y(e){e.role="button",e.tabIndex=0,e.ariaLabel=jetpackCarouselStrings.image_label}function w(){p.overlay||(p.overlay=document.querySelector(".jp-carousel-overlay"),p.container=p.overlay.querySelector(".jp-carousel-wrap"),p.gallery=p.container.querySelector(".jp-carousel"),p.info=p.overlay.querySelector(".jp-carousel-info"),p.caption=p.info.querySelector(".jp-carousel-caption"),p.commentField=p.overlay.querySelector("#jp-carousel-comment-form-comment-field"),p.emailField=p.overlay.querySelector("#jp-carousel-comment-form-email-field"),p.authorField=p.overlay.querySelector("#jp-carousel-comment-form-author-field"),p.urlField=p.overlay.querySelector("#jp-carousel-comment-form-url-field"),window.innerWidth<=760&&Math.round(window.innerWidth/760*110)<40&&r.isTouch(),[p.commentField,p.emailField,p.authorField,p.urlField].forEach(function(e){e&&(e.addEventListener("focus",f),e.addEventListener("blur",v))}),p.overlay.addEventListener("click",function(e){var t,o,a=e.target,i=!!r.closest(a,"Line truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ee20df769082b604a4fd');
@@ -0,0 +1 @@
jQuery(document).ready(function(t){var e=[];t(".comment-like-count").each(function(){var n=t(this).attr("data-blog-id"),a=t(this).attr("data-comment-id");e.push("/sites/"+n+"/comments/"+a+"/likes")}),t.ajax({type:"GET",url:"https://public-api.wordpress.com/rest/v1/batch",dataType:"jsonp",data:"urls[]="+e.map(encodeURIComponent).join("&urls[]="),success:function(e){for(var n in e)if(!e[n].error_data){var a=n.split("/")[4],o=e[n].found;if(o<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(o).fadeIn()}},error:function(){}})});
@@ -0,0 +1 @@
.jetpack-content-guidelines-ai__header-container{display:inline-flex}.jetpack-content-guidelines-ai__suggest-all-button .jetpack-logo{height:18px;width:18px}.jetpack-content-guidelines-ai__banner{align-items:flex-start;background:#003010;border-radius:8px;box-sizing:border-box;display:flex;margin:0 auto 24px;min-height:220px;overflow:hidden;padding:32px;position:relative;width:min(680px,100%)}.jetpack-content-guidelines-ai__banner-content{display:flex;flex-direction:column;max-width:520px;position:relative;z-index:1}.jetpack-content-guidelines-ai__banner-content h2{color:#daffdc;font-size:32px;font-weight:500;line-height:40px;margin:0 0 12px}.jetpack-content-guidelines-ai__banner-content p{color:#daffdc;font-size:13px;line-height:20px;margin:0 0 64px}.jetpack-content-guidelines-ai__banner-actions{display:flex;gap:8px}.jetpack-content-guidelines-ai__banner-cta{background-color:#48ff50!important;border-color:#48ff50!important;color:#003010!important}.jetpack-content-guidelines-ai__banner-cta:hover{background-color:#3de046!important;border-color:#3de046!important}.jetpack-content-guidelines-ai__banner-close-text{color:#48ff50!important}.jetpack-content-guidelines-ai__banner-close-text:hover{color:#3de046!important}.jetpack-content-guidelines-ai__banner-close{color:#fff!important;inset-block-start:8px;inset-inline-end:8px;position:absolute;z-index:1}.jetpack-content-guidelines-ai__banner-close:hover{color:#daffdc!important}.jetpack-content-guidelines-ai__banner-orb{background:linear-gradient(90deg,#04c,#48ff50);border-radius:50%;height:180px;inset-inline-end:56px;pointer-events:none;position:absolute;width:180px}.jetpack-content-guidelines-ai__banner-orb--top{filter:blur(25px);inset-block-start:-96px}.jetpack-content-guidelines-ai__banner-orb--bottom{inset-block-end:-96px}[aria-expanded=true] .jetpack-content-guidelines-ai__badge-container{display:none}.jetpack-content-guidelines-ai__badge-container{--jp-green-5:#d0e6b8;--jp-green-50:#008710;align-items:center;display:inline-flex;margin-inline-start:auto}.jetpack-content-guidelines-ai__badge--loading .components-spinner{height:16px;margin:0;width:16px}.jetpack-content-guidelines-ai__suggestion{display:flex;flex-direction:column;gap:16px}.jetpack-content-guidelines-ai__diff{background:#fff;border:1px solid #069e08;border-radius:2px;box-sizing:border-box;cursor:text;font-size:13px;line-height:20px;overflow-wrap:break-word;overflow-y:auto;padding:9px 11px;resize:vertical;white-space:pre-wrap}.jetpack-content-guidelines-ai__diff-added{background:#d4edda;text-decoration:none}.jetpack-content-guidelines-ai__diff-removed{background:#f8d7da;text-decoration:line-through}.jetpack-content-guidelines-ai__suggestion-actions{display:flex;gap:8px}.is-jetpack-loading .components-textarea-control{position:relative}.is-jetpack-loading .components-textarea-control:after{animation:jetpack-cg-shimmer 1.5s infinite;background:linear-gradient(90deg,#0000,#00870014 50%,#0000);background-size:200% 100%;border-radius:4px;content:"";inset:0;pointer-events:none;position:absolute;z-index:1}.is-jetpack-loading textarea{border-color:#069e08!important;pointer-events:none}@keyframes jetpack-cg-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.has-jetpack-suggestion:not(.block-guideline-modal)>:first-child>:not(.jetpack-content-guidelines-ai__actions-container){display:none}.jetpack-content-guidelines-ai__actions-container,.jetpack-content-guidelines-ai__section-button-container{display:contents}.jetpack-content-guidelines-ai__section-generate-button{display:inline-flex}.jetpack-content-guidelines-ai__upgrade-notice-container{display:contents}.jetpack-content-guidelines-ai__upgrade-notice{box-sizing:border-box;margin:0 auto 16px;width:min(680px,100%)}.block-guideline-modal.has-jetpack-suggestion .components-textarea-control__input{display:none}.block-guideline-modal.is-jetpack-loading .components-textarea-control:after{content:none}.block-guideline-modal.is-jetpack-loading .components-textarea-control__input{animation:jetpack-cg-shimmer 1.5s infinite;background:linear-gradient(90deg,#0000,#00870014 50%,#0000);background-size:200% 100%}.jetpack-content-guidelines-ai__block-actions-container,.jetpack-content-guidelines-ai__block-suggestion-buttons-container{display:contents}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-ai-status-indicator__icon-wrapper{align-self:baseline;opacity:0;transition:opacity .25s ease-in-out,width .25s;width:0}.jetpack-ai-status-indicator__icon-wrapper>svg{height:24px;margin:6px 0 0;width:24px}.jetpack-ai-status-indicator__icon-wrapper.is-requesting,.jetpack-ai-status-indicator__icon-wrapper.is-suggesting{opacity:1;width:24px}.jetpack-components-ai-control__container-wrapper{bottom:16px;position:stickyLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-script-data', 'jetpack-shared-stores', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6972cd38d0ae946a75dd');
@@ -0,0 +1 @@
(()=>{var e={7675(e,t,r){"use strict";r.d(t,{y:()=>a});var n=r(76416),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]])}return r};const o="text/event-stream",i="last-event-id";function a(e,t){var{signal:r,headers:a,onopen:u,onmessage:l,onclose:p,onerror:d,openWhenHidden:h,fetch:f}=t,g=s(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,s)=>{const m=Object.assign({},a);let _;function y(){_.abort(),document.hidden||w()}m.accept||(m.accept=o),h||document.addEventListener("visibilitychange",y);let b=1e3,v=0;function k(){document.removeEventListener("visibilitychange",y),window.clearTimeout(v),_.abort()}null==r||r.addEventListener("abort",()=>{k(),t()});const A=null!=f?f:window.fetch,C=null!=u?u:c;async function w(){var r;_=new AbortController;try{const r=await A(e,Object.assign(Object.assign({},g),{headers:m,signal:_.signal}));await C(r),await(0,n.q5)(r.body,(0,n.iv)((0,n.VL)(e=>{e?m[i]=e:delete m[i]},e=>{b=e},l))),null==p||p(),k(),t()}catch(e){if(!_.signal.aborted)try{const t=null!==(r=null==d?void 0:d(e))&&void 0!==r?r:b;window.clearTimeout(v),v=window.setTimeout(w,t)}catch(e){k(),s(e)}}}w()})}function c(e){const t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(o)))throw new Error(`Expected content-type to be ${o}, Actual: ${t}`)}},76416(e,t,r){"use strict";async function n(e,t){const r=e.getReader();let n;for(;!(n=await r.read()).done;)t(n.value)}function s(e){let t,r,n,s=!1;return function(o){void 0===t?(t=o,r=0,n=-1):t=function(e,t){const r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}(t,o);const i=t.length;let a=0;for(;r<i;){s&&(10===t[r]&&(a=++r),s=!1);let o=-1;for(;r<i&&-1===o;++r)switch(t[r]){case 58:-1===n&&(n=r-a);break;case 13:s=!0;case 10:o=r}if(-1===o)break;e(t.subarray(a,o),n),a=r,n=-1}a===i?t=void 0:0!==a&&(t=t.subarray(a),r-=a)}}function o(e,t,r){let n=i();const s=new TextDecoder;return function(o,a){if(0===o.length)null==r||r(n),n=i();else if(a>0){const r=s.decode(o.subarray(0,a)),i=a+(32===o[a+1]?2:1),c=s.decode(o.subarray(i));switch(r){case"data":n.data=n.data?n.data+"\n"+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":const r=parseInt(c,10);isNaN(r)||t(n.retry=r)}}}}function i(){return{data:"",event:"",id:"",retry:void 0}}r.d(t,{VL:()=>o,iv:()=>s,q5:()=>n})},34657(){},57799(){},56239(){},23263(){},45349(){},45817(){},28151(){},44582(){},60802(){},1184(){},92051(){},33829(){},55307(){},68294(){},29900(){},8243(){},76391(){},94089(){},39769(){},48297(){},75070(){},13371(){},3907(){},44997(e){var t=1e3,r=60*t,n=60*r,s=24*n,o=7*s,i=365.25*s;function a(e,t,r,n){var s=t>=1.5*r;return Math.round(e/r)+" "+n+(s?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;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"===u&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=s)return a(e,o,s,"day");if(o>=n)return a(e,o,n,"hour");if(o>=r)return a(e,o,r,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=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))}},87072(e,t,r){"use strict";r.d(t,{Ay:()=>b});const n=2147483647,s=36,o=/^xn--/,i=/[^\0-\x7F]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,l=String.fromCharCode;function p(e){throw new RangeError(c[e])}function d(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const s=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+s}function h(e){const t=[];let r=0;const n=e.length;for(;r<n;){const s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&sLine truncated
@@ -0,0 +1 @@
.jetpack-content-guidelines-ai__header-container{display:inline-flex}.jetpack-content-guidelines-ai__suggest-all-button .jetpack-logo{height:18px;width:18px}.jetpack-content-guidelines-ai__banner{align-items:flex-start;background:#003010;border-radius:8px;box-sizing:border-box;display:flex;margin:0 auto 24px;min-height:220px;overflow:hidden;padding:32px;position:relative;width:min(680px,100%)}.jetpack-content-guidelines-ai__banner-content{display:flex;flex-direction:column;max-width:520px;position:relative;z-index:1}.jetpack-content-guidelines-ai__banner-content h2{color:#daffdc;font-size:32px;font-weight:500;line-height:40px;margin:0 0 12px}.jetpack-content-guidelines-ai__banner-content p{color:#daffdc;font-size:13px;line-height:20px;margin:0 0 64px}.jetpack-content-guidelines-ai__banner-actions{display:flex;gap:8px}.jetpack-content-guidelines-ai__banner-cta{background-color:#48ff50!important;border-color:#48ff50!important;color:#003010!important}.jetpack-content-guidelines-ai__banner-cta:hover{background-color:#3de046!important;border-color:#3de046!important}.jetpack-content-guidelines-ai__banner-close-text{color:#48ff50!important}.jetpack-content-guidelines-ai__banner-close-text:hover{color:#3de046!important}.jetpack-content-guidelines-ai__banner-close{color:#fff!important;inset-block-start:8px;inset-inline-end:8px;position:absolute;z-index:1}.jetpack-content-guidelines-ai__banner-close:hover{color:#daffdc!important}.jetpack-content-guidelines-ai__banner-orb{background:linear-gradient(270deg,#04c,#48ff50);border-radius:50%;height:180px;inset-inline-end:56px;pointer-events:none;position:absolute;width:180px}.jetpack-content-guidelines-ai__banner-orb--top{filter:blur(25px);inset-block-start:-96px}.jetpack-content-guidelines-ai__banner-orb--bottom{inset-block-end:-96px}[aria-expanded=true] .jetpack-content-guidelines-ai__badge-container{display:none}.jetpack-content-guidelines-ai__badge-container{--jp-green-5:#d0e6b8;--jp-green-50:#008710;align-items:center;display:inline-flex;margin-inline-start:auto}.jetpack-content-guidelines-ai__badge--loading .components-spinner{height:16px;margin:0;width:16px}.jetpack-content-guidelines-ai__suggestion{display:flex;flex-direction:column;gap:16px}.jetpack-content-guidelines-ai__diff{background:#fff;border:1px solid #069e08;border-radius:2px;box-sizing:border-box;cursor:text;font-size:13px;line-height:20px;overflow-wrap:break-word;overflow-y:auto;padding:9px 11px;resize:vertical;white-space:pre-wrap}.jetpack-content-guidelines-ai__diff-added{background:#d4edda;text-decoration:none}.jetpack-content-guidelines-ai__diff-removed{background:#f8d7da;text-decoration:line-through}.jetpack-content-guidelines-ai__suggestion-actions{display:flex;gap:8px}.is-jetpack-loading .components-textarea-control{position:relative}.is-jetpack-loading .components-textarea-control:after{animation:jetpack-cg-shimmer 1.5s infinite;background:linear-gradient(-90deg,#0000,#00870014 50%,#0000);background-size:200% 100%;border-radius:4px;content:"";inset:0;pointer-events:none;position:absolute;z-index:1}.is-jetpack-loading textarea{border-color:#069e08!important;pointer-events:none}@keyframes jetpack-cg-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.has-jetpack-suggestion:not(.block-guideline-modal)>:first-child>:not(.jetpack-content-guidelines-ai__actions-container){display:none}.jetpack-content-guidelines-ai__actions-container,.jetpack-content-guidelines-ai__section-button-container{display:contents}.jetpack-content-guidelines-ai__section-generate-button{display:inline-flex}.jetpack-content-guidelines-ai__upgrade-notice-container{display:contents}.jetpack-content-guidelines-ai__upgrade-notice{box-sizing:border-box;margin:0 auto 16px;width:min(680px,100%)}.block-guideline-modal.has-jetpack-suggestion .components-textarea-control__input{display:none}.block-guideline-modal.is-jetpack-loading .components-textarea-control:after{content:none}.block-guideline-modal.is-jetpack-loading .components-textarea-control__input{animation:jetpack-cg-shimmer 1.5s infinite;background:linear-gradient(-90deg,#0000,#00870014 50%,#0000);background-size:200% 100%}.jetpack-content-guidelines-ai__block-actions-container,.jetpack-content-guidelines-ai__block-suggestion-buttons-container{display:contents}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-ai-status-indicator__icon-wrapper{align-self:baseline;opacity:0;transition:opacity .25s ease-in-out,width .25s;width:0}.jetpack-ai-status-indicator__icon-wrapper>svg{height:24px;margin:6px 0 0;width:24px}.jetpack-ai-status-indicator__icon-wrapper.is-requesting,.jetpack-ai-status-indicator__icon-wrapper.is-suggesting{opacity:1;width:24px}.jetpack-components-ai-control__container-wrapper{bottom:16px;position:stiLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '6152227fa5ec52d9b8e7');
@@ -0,0 +1 @@
!function(e,o,t,d){if(e.crowdsignal_shortcode_options&&e.crowdsignal_shortcode_options.script_url&&!o.getElementById(d)){var r,s=o.createElement(t);s.id=d,s.async=!0,s.src=e.crowdsignal_shortcode_options.script_url,(r=o.getElementsByTagName(t)[0]).parentNode.insertBefore(s,r)}else void 0!==e.jQuery?e.jQuery(o.body).trigger("pd-script-load"):o.body.dispatchEvent(new Event("pd-script-load"))}(window,document,"script","pd-polldaddy-loader");
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '8f8946751b2acf2b4098');
@@ -0,0 +1 @@
!function(e,t,d){if(!e.getElementById(d)){var n,r=e.createElement(t);r.id=d,r.src="https://polldaddy.com/survey.js",(n=e.getElementsByTagName(t)[0]).parentNode.insertBefore(r,n)}}(document,"script","pd-embed");
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a3f17d1bdb41743b29a9');
@@ -0,0 +1 @@
!function(){let e,t;const n=new Set,o={init:function(a){let r=a.lastElementChild;for(;r&&"TBODY"!==r.tagName;)r=r.previousElementSibling;const c=r.querySelector("tr:first-child").cloneNode(!0);return a.dataset.form=a.closest("form"),a.dataset.tbody=r,a.dataset.row=c,a.dataset.currentRow=c,e=document.getElementById("nova-menu-tax"),t=document.getElementById("_wpnonce"),a.addEventListener("keypress",function(e){13===e.which&&(e.preventDefault(),"function"==typeof FormData&&o.submitRow.call(a),o.addRow.call(a))}),a.addEventListener("focusin",function(e){"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||(a.dataset.currentRow=e.target.closest("tr"))}),n.add(a),a},destroy:function(e){return this.observer&&this.observer.disconnect(),e.removeEventListener("keypress",o.keypressHandler),e.removeEventListener("focusin",o.focusinHandler),n.delete(e),e},submitRow:function(n){const o=n.dataset.currentRow,a=o.querySelectorAll("input, textarea, select"),r=document.querySelector(n.dataset.form),c=Array.from(r.querySelectorAll("input, textarea, select"));a.forEach(e=>e.disabled=!0),c.filter(e=>!a.includes(e)).forEach(e=>e.disabled=!0);const s=new FormData(r);return s.append("ajax","1"),s.append("nova_menu_tax",e.value),s.append("_wpnonce",t.value),fetch("",{method:"POST",body:s}).then(e=>e.text()).then(e=>{o.innerHTML=e}),c.forEach(e=>e.disabled=!1),n},addRow:function(e){const t=e.dataset.row.cloneNode(!0);e.dataset.tbody.appendChild(t);const n=t.querySelector("input, textarea, select");return n&&n.focus(),e},clickAddRow:function(e){let t=e.lastElementChild;for(;t&&"TBODY"!==t.tagName;)t=t.previousElementSibling;const n=t.querySelector("tr:first-child").cloneNode(!0);n.querySelectorAll("input, textarea").forEach(e=>{e.value=""}),t.appendChild(n)}};document.addEventListener("focusin",e=>{const t=e.target.closest(".many-items-table");t&&!n.has(t)&&o.init(t)}),document.addEventListener("click",e=>{if(e.target.matches("a.nova-new-row")){const t=e.target.closest(".many-items-table");t&&(e.preventDefault(),o.clickAddRow(t))}});const a=document.querySelector("#the-list");a&&function(e){new MutationObserver(e=>{e.forEach(e=>{e.removedNodes.forEach(e=>{e.matches&&e.matches(".many-items-table")&&o.destroy(e)})})}).observe(e,{childList:!0,subtree:!0})}(a)}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'f46bf3b337b2918909f5');
@@ -0,0 +1 @@
!function(){const e={inputs:null,popInputs:null,initialize:function(){e.popInputs=document.querySelectorAll('#nova_menuchecklist-pop input[type="checkbox"]'),e.inputs=document.querySelectorAll('#nova_menuchecklist input[type="checkbox"]'),e.inputs.forEach(c=>{c.addEventListener("change",e.checkOne),c.addEventListener("change",e.syncPop)}),e.isChecked()||e.checkFirst(),e.syncPop()},syncPop:function(){e.popInputs.forEach(e=>{const c=document.querySelector(`#in-nova_menu-${e.value}`);e.checked=!!c&&c.checked})},isChecked:function(){return Array.from(e.inputs).some(e=>e.checked)},checkFirst:function(){const c=e.inputs[0];c&&(c.checked=!0)},checkOne:function(){const c=this;c.checked?e.inputs.forEach(e=>{e!==c&&(e.checked=!1)}):document.querySelector("#nova_menuchecklist").querySelectorAll('input[type="checkbox"]:checked').length>0?c.checked=!1:e.checkFirst()}};document.addEventListener("DOMContentLoaded",e.initialize)}();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '2811264eb3c0b396df6e');
@@ -0,0 +1 @@
(()=>{var e,n;(e=jQuery)(document).ready(function(){(n=e("#the-list")).sortable({cancel:".no-items, .inline-edit-row",stop:function(t,r){if(r.item.is(":first-child"))return n.sortable("cancel");n.find(".menu-label-row").each(function(){var n=e(this).data("term_id");e(this).nextUntil(".menu-label-row").each(function(t){var r=e(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(n)})})}}),e("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />'),e(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />'),e("#posts-filter").attr("method","post")})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'ef39c64c6ef15305757c');
@@ -0,0 +1 @@
addEventListener("DOMContentLoaded",()=>{const t=document.getElementsByClassName("jetpack-deprecate-dismissible");for(let n=0;n<t.length;++n)t[n].hasAttribute("id")&&t[n].addEventListener("click",e=>{e.target.classList.contains("notice-dismiss")&&(document.cookie="jetpack_deprecate_dismissed["+t[n].getAttribute("id")+"]=1; expires=Fri, 31 Dec 9999 23:59:59 GMT; SameSite=None; Secure")});var n=document.createElement("style");n.innerHTML='\n\t\t/* Clear the default Dashicon content */\n\t\t.jetpack-deprecate-dismissible .notice-dismiss::before {\n\t\t\tcontent: \'\';\n\t\t}\n\n\t\t/* Customize the .notice-dismiss button */\n\t\t.jetpack-deprecate-dismissible .notice-dismiss {\n\t\t\tposition: absolute;\n\t\t\twidth: 24px;\n\t\t\theight: 24px;\n\t\t\ttop: 24px;\n\t\t\tright:12px;\n\t\t}\n\n\t\t.jetpack-deprecate-dismissible .notice-dismiss::after {\n\t\t\tbackground-image: url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23555" d="M12 10.586L6.343 4.93 4.93 6.343 10.586 12l-5.657 5.657 1.414 1.414L12 13.414l5.657 5.657 1.414-1.414L13.414 12l5.657-5.657-1.414-1.414L12 10.586z"/></svg>\'); /* Inline SVG as background image */\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-size: contain;\n\t\t\tcontent: \'\';\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 6px;\n\t\t\tleft: 6px;\n\t\t\twidth: 20px;\n\t\t\theight: 20px;\n\t\t\ttransform: translate(-50%, -50%);\n\t\t}\n\n\t\t/* Customize the styling of content within the notice container */\n\t\t.jetpack-deprecation-notice-container {\n\t\t\talign-items: flex-start;\n\t\t\tdisplay: flex;\n\t\t\tpadding-bottom: 24px;\n\t\t\tpadding-left: 12px;\n\t\t\tpadding-top: 14px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-svg {\n\t\t\tmargin-right: 10px;\n\t\t\tpadding-top:10px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-icon {\n\t\t\tmargin-right: 10px;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-text {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-title {\n\t\t\tfont-weight: 600;\n\t\t}\n\n\t\t.jetpack-deprecation-notice-link {\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #000000;\n\t\t}\n\n ',document.head.appendChild(n)});
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e2fe4208d73cc95fe9e0');
@@ -0,0 +1 @@
!function(e){var n=function(){var e,n,t,d;"undefined"!=typeof FB&&FB.XFBML?FB.XFBML.parse():((e=document.createElement("div")).id="fb-root",document.getElementsByTagName("body")[0].appendChild(e),n="//connect.facebook.net/"+jpfbembed.locale+"/sdk.js#xfbml=1",jpfbembed.appid&&(n+="&appId="+jpfbembed.appid),n+="&version=v2.3",(t=document.createElement("script")).setAttribute("src",n),(d=document.querySelector("script")).parentNode.insertBefore(t,d))};e.fbAsyncInit=function(){FB.init({appId:jpfbembed.appid,version:"v2.3"}),FB.XFBML.parse()},"undefined"!=typeof infiniteScroll&&document.body.addEventListener("post-load",n),n()}(window);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '06476ce6d204836e6555');
@@ -0,0 +1 @@
(()=>{var e,t;e=jQuery,(t=wp.media).view.Settings.Gallery=t.view.Settings.Gallery.extend({render:function(){var a=this.$el;return t.view.Settings.prototype.render.apply(this,arguments),a.append(t.template("jetpack-gallery-settings")),t.gallery.defaults.type="default",this.update.apply(this,["type"]),a.find("select[name=type]").on("change",function(){var t=a.find("select[name=columns]").closest("label.setting");"default"===e(this).val()||"thumbnails"===e(this).val()?t.show():t.hide()}).change(),this}})})();
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@@ -0,0 +1,17 @@
<svg width="380" height="183" viewBox="0 0 380 183" fill="none" xmlns="http://www.w3.org/2000/svg">
<g opacity="0.75" filter="url(#filter0_f_5953_11924)">
<path d="M360 -60C360 7.93102 304.931 63 237 63C169.069 63 114 7.93102 114 -60C114 -127.931 169.069 -183 237 -183C304.931 -183 360 -127.931 360 -60Z" fill="url(#paint0_linear_5953_11924)"/>
</g>
<defs>
<filter id="filter0_f_5953_11924" x="-6" y="-303" width="486" height="486" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feGaussianBlur stdDeviation="60" result="effect1_foregroundBlur_5953_11924"/>
</filter>
<linearGradient id="paint0_linear_5953_11924" x1="360" y1="-60" x2="114" y2="-60" gradientUnits="userSpaceOnUse">
<stop stop-color="#48FF50"/>
<stop offset="0.471846" stop-color="#108642"/>
<stop offset="1" stop-color="#2E38FA"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

@@ -0,0 +1,4 @@
<svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 32.5C24.8366 32.5 32 25.3366 32 16.5C32 7.66344 24.8366 0.5 16 0.5C7.16344 0.5 0 7.66344 0 16.5C0 25.3366 7.16344 32.5 16 32.5Z" fill="#069E08"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.3295 3.67557V19.1565H7.36005L15.3295 3.67557ZM16.9478 29.3244V13.813H24.9478L16.9478 29.3244Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 427 B

@@ -0,0 +1,10 @@
<svg width="105" height="105" viewBox="0 0 105 105" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.190476" y="0.19043" width="103.91" height="104" rx="12.1905" fill="#2C3338"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.1456 33.3356C32.1456 32.6707 32.6857 32.1306 33.3506 32.1306H60.9406C61.6055 32.1306 62.1456 32.6707 62.1456 33.3356V36.1306H64.1456V33.3356C64.1456 31.5661 62.7101 30.1306 60.9406 30.1306H33.3506C31.5812 30.1306 30.1456 31.5661 30.1456 33.3356V60.9256C30.1456 62.6951 31.5812 64.1306 33.3506 64.1306H36.1456V62.1306H33.3506C32.6857 62.1306 32.1456 61.5905 32.1456 60.9256V33.3356Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M37.1456 38.3356C37.1456 37.6701 37.6851 37.1306 38.3506 37.1306H65.9406C66.6061 37.1306 67.1456 37.6701 67.1456 38.3356V41.1306H69.1456V38.3356C69.1456 36.5655 67.7107 35.1306 65.9406 35.1306H38.3506C36.5806 35.1306 35.1456 36.5655 35.1456 38.3356V65.9256C35.1456 67.6957 36.5806 69.1306 38.3506 69.1306H41.1456V67.1306H38.3506C37.6851 67.1306 37.1456 66.5911 37.1456 65.9256V38.3356Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M43.3506 42.1306C42.6851 42.1306 42.1456 42.6701 42.1456 43.3356V70.9256C42.1456 71.5911 42.6851 72.1306 43.3506 72.1306H70.9406C71.6061 72.1306 72.1456 71.5911 72.1456 70.9256V43.3356C72.1456 42.6701 71.6061 42.1306 70.9406 42.1306H43.3506ZM40.1456 43.3356C40.1456 41.5655 41.5805 40.1306 43.3506 40.1306H70.9406C72.7107 40.1306 74.1456 41.5655 74.1456 43.3356V70.9256C74.1456 72.6957 72.7107 74.1306 70.9406 74.1306H43.3506C41.5805 74.1306 40.1456 72.6957 40.1456 70.9256V43.3356Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M66.7775 63.5483H47.1456V61.7073H66.7775V63.5483Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M47.1456 51.2786H66.7775V53.1195H47.1456V51.2786Z" fill="white"/>
<path d="M60.029 65.6962C61.7236 65.6962 63.0973 64.3224 63.0973 62.6279C63.0973 60.9333 61.7236 59.5596 60.029 59.5596C58.3344 59.5596 56.9607 60.9333 56.9607 62.6279C56.9607 64.3224 58.3344 65.6962 60.029 65.6962Z" fill="white"/>
<path d="M53.8941 55.2672C55.5887 55.2672 56.9624 53.8935 56.9624 52.1989C56.9624 50.5043 55.5887 49.1306 53.8941 49.1306C52.1996 49.1306 50.8258 50.5043 50.8258 52.1989C50.8258 53.8935 52.1996 55.2672 53.8941 55.2672Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

@@ -0,0 +1,6 @@
<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.19043" y="0.190491" width="103.619" height="103.619" rx="12.1905" fill="#2C3338"/>
<g style="mix-blend-mode:screen">
<path fill-rule="evenodd" clip-rule="evenodd" d="M53.2573 31.6826L71.5297 39.9882V52.3698C71.5297 62.9244 64.7509 72.9177 55.192 76.0703C53.9359 76.4846 52.5787 76.4846 51.3226 76.0703C41.7637 72.9177 34.9849 62.9244 34.9849 52.3698V39.9882L53.2573 31.6826ZM39.0454 42.6029V52.3698C39.0454 61.338 44.8523 69.6607 52.5944 72.2141C53.0245 72.3559 53.4901 72.3559 53.9202 72.2141C61.6622 69.6607 67.4692 61.338 67.4692 52.3698V42.6029L53.2573 36.1429L39.0454 42.6029Z" fill="white"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 721 B

@@ -0,0 +1,3 @@
<svg width="400" height="400" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M391.528 188.061L309.455 159.75C276.997 148.597 251.403 123.003 240.25 90.5451L211.939 8.47185C208.079 -2.82395 191.921 -2.82395 188.061 8.47185L159.75 90.5451C148.597 123.003 123.003 148.597 90.5451 159.75L8.47185 188.061C-2.82395 191.921 -2.82395 208.079 8.47185 211.939L90.5451 240.25C123.003 251.403 148.597 276.997 159.75 309.455L188.061 391.528C191.921 402.824 208.079 402.824 211.939 391.528L240.25 309.455C251.403 276.997 276.997 251.403 309.455 240.25L391.528 211.939C402.824 208.079 402.824 191.921 391.528 188.061ZM295.728 206.077L254.692 220.232C238.391 225.809 225.666 238.677 220.089 254.835L205.934 295.871C203.932 301.591 195.925 301.591 193.923 295.871L179.768 254.835C174.191 238.534 161.323 225.809 145.165 220.232L104.129 206.077C98.4093 204.075 98.4093 196.068 104.129 194.066L145.165 179.911C161.466 174.334 174.191 161.466 179.768 145.308L193.923 104.272C195.925 98.5523 203.932 98.5523 205.934 104.272L220.089 145.308C225.666 161.609 238.534 174.334 254.692 179.911L295.728 194.066C301.448 196.068 301.448 204.075 295.728 206.077Z" fill="#069E08"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '965c636e48737333d96d');
@@ -0,0 +1 @@
(()=>{var e;(e=jQuery)(document).ready(function(){"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&(wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){var n;"string"==typeof t.addedContent?n=t.addedContent:t.container&&(n=e(t.container).html()),n&&e(document.body).trigger("post-load",{html:n})}),"undefined"==typeof MutationObserver&&e(document.body).on("post-load",function(t,n){var i=null;n.html&&-1!==n.html.indexOf("data-customize-partial")&&(window.infiniteScroll.settings.id&&(i=e("#"+window.infiniteScroll.settings.id)),wp.customize.selectiveRefresh.addPartials(i))}))})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '185875e5fe60f5f57173');
@@ -0,0 +1 @@
(()=>{(function(){var Scroller,stats,type,text,totop,loading_text,isIE=-1!==navigator.userAgent.search("MSIE");if(isIE){var IEVersion=navigator.userAgent.match(/MSIE\s?(\d+)\.?\d*;/);IEVersion=parseInt(IEVersion[1])}function fullscreenState(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?1:0}"https:"===document.location.protocol&&(infiniteScroll.settings.ajaxurl=infiniteScroll.settings.ajaxurl.replace("http://","https://")),Scroller=function(e){var t=this;this.id=e.id,this.body=document.body,this.window=window,this.element=document.getElementById(e.id),this.wrapperClass=e.wrapper_class,this.ready=!0,this.disabled=!1,this.page=1,this.offset=e.offset,this.currentday=e.currentday,this.order=e.order,this.throttle=!1,this.click_handle=e.click_handle,this.google_analytics=e.google_analytics,this.history=e.history,this.origURL=window.location.href,this.handle=document.createElement("div"),this.handle.setAttribute("id","infinite-handle");var n=document.createElement("span"),i=document.createElement("button");i.textContent=text,n.appendChild(i),this.handle.appendChild(n),this.footer={el:document.getElementById("infinite-footer"),wrap:e.footer},this.checkViewportOnLoadBound=t.checkViewportOnLoad.bind(this),this.wpMediaelement=null,"scroll"===type?(this.window.addEventListener("scroll",function(){t.throttle=!0}),t.gotop(),setInterval(function(){t.throttle&&(t.throttle=!1,t.thefooter(),t.refresh(),t.determineURL())},250),t.ensureFilledViewport(),this.body.addEventListener("is.post-load",t.checkViewportOnLoadBound)):"click"===type&&(this.click_handle&&this.element.appendChild(this.handle),this.handle.addEventListener("click",function(){t.click_handle&&t.handle.parentNode.removeChild(t.handle),t.refresh()})),this.body.addEventListener("is.post-load",t.initializeMejs)},Scroller.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},Scroller.prototype.extend=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])Object.hasOwn(arguments[t],n)&&(e[n]=arguments[t][n]);return e},Scroller.prototype.check=function(){return this.measure(this.element,[this.wrapperClass]).bottom<2*this.window.innerHeight},Scroller.prototype.render=function(e){var t=Array.prototype.slice.call(e.fragment.childNodes);for(this.body.classList.add("infinity-success");t.length>0;){var n=t.shift();this.element.appendChild(n)}this.trigger(this.body,"is.post-load",{jqueryEventName:"post-load",data:e}),this.ready=!0},Scroller.prototype.query=function(){return{page:this.page+this.offset,currentday:this.currentday,order:this.order,scripts:window.infiniteScroll.settings.scripts,styles:window.infiniteScroll.settings.styles,query_args:window.infiniteScroll.settings.query_args,query_before:window.infiniteScroll.settings.query_before,last_post_date:window.infiniteScroll.settings.last_post_date}},Scroller.prototype.animate=function(e,t){var n=performance.now();requestAnimationFrame(function i(o){var r=Math.min(1,(o-n)/t);e(r),r<1&&requestAnimationFrame(i)})},Scroller.prototype.gotop=function(){var e=document.getElementById("infinity-blog-title"),t=this;e&&(e.setAttribute("title",totop),e.addEventListener("click",function(e){var n=t.window.pageYOffset;e.preventDefault(),t.animate(function(e){var t=n-n*e;document.documentElement.scrollTop=document.body.scrollTop=t},200)}))},Scroller.prototype.thefooter=function(){var e,t,n,i,o=this;if(this.footer&&this.footer.el){if("string"==typeof this.footer.wrap){try{t=(t=document.getElementById(this.footer.wrap).getBoundingClientRect()).width}catch{t=0}t>479&&(e=this.footer.el.querySelector(".container"))&&(e.style.width=t+"px")}n=parseInt(o.footer.el.style.bottom||-50,10),i=this.window.pageYOffset>=350?0:-50,n!==i&&o.animate(function(e){var t=n+(i-n)*e;o.footer.el.style.bottom=t+"px",1===e&&(n=i)},200)}},Scroller.prototype.urlEncodeJSON=function(e,t){var n,i,o=[];for(var r in e)n=encodeURIComponent(r),i=t?t+"["+n+"]":n,"object"==typeof e[r]?!Array.isArray(e[r])||e[r].length>0?o.push(this.urlEncodeJSON(e[r],i)):o.push(i+"[]="):o.push(i+"="+encodeURIComponent(e[r]));return o.join("&")},Scroller.prototype.refresh=function(){var self=this,query,xhr,loader,customized;if(!this.disabled&&this.ready&&this.check())return this.ready=!1,this.click_handle&&(loader||(document.getElementById("infinite-aria").textContent=loading_text,loader=document.createElement("div"),loader.classList.add("infinite-loader"),loader.setAttribute("role","progress"),loader.innerHTML='<svg class="jetpack-spinner infinite-loader-spinner spinner" width="28" height="28" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><circle cx="50" cy="50" r="46" fill="none" stroke="#ddd" stroke-width="8"/><path d="M 50 4 A 46 46 0 0 1 96 50" fill="none" stroke="currentColor" stroke-width="8" stroke-linecap="round"><animateTransform attributeNamLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c247c9f7ee63fb82b0a4');
@@ -0,0 +1 @@
(()=>{var e;(e=jQuery)(document).ready(function(){var a,o,t;e(".filter-search").on("click",function(){e(this).toggleClass("active"),e(".manage-right").toggleClass("show"),e(".shade").toggle()}),e(".checkall").on("click",function(){e(".table-bordered").find(":checkbox").not(":disabled").prop("checked",this.checked)}),e(".shade, .modal .close").on("click",function(a){e(".shade, .modal").hide(),e(".manage-right").removeClass("show"),a.preventDefault()}),a=e(".frame.top"),o=e(".frame.bottom"),(t=e("body")).scroll(function(){33>a.offset().top&&(a.addClass("fixed"),t.addClass("jp-frame-top-fixed")),120<=o.offset().top&&(a.removeClass("fixed"),t.removeClass("jp-frame-top-fixed"))}),e("table.jetpack-modules",o).addClass("with-transparency"),e(".manage-left",o).css("width",""),e(".manage-right",o).show()})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-script-data', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '43eaba1db2d8eeee92be');
@@ -0,0 +1 @@
@media(min-resolution:192dpi){:root{--wpds-border-width-focus:1.5px}}.jetpack-footer{border-top:1px solid #f0f0f0;box-sizing:border-box;font-size:13px;padding:20px 24px;width:100%}.jetpack-footer :is(.jetpack-footer__menu-item:any-link,.jetpack-footer__menu-item[role=button]){color:#707070;cursor:pointer;text-decoration:none}.jetpack-footer .jetpack-footer__menu-item:hover{text-decoration:underline}.jetpack-footer>ul{list-style:none;margin:0;padding:0}.jetpack-footer>ul>li{margin:0}.jetpack-footer__logo{flex-shrink:0}@media(min-width:480px){a.jetpack-footer__a8c{margin-inline-start:auto}}a.jetpack-footer__a8c svg{fill:#707070}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC.zWDcRnnZPA743KzSQdUg .jp-admin-page__page>:first-child{border-bottom:none}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child{position:relative;z-index:1}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page{clear:both}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child [Line truncated
@@ -0,0 +1,5 @@
/*! For license information please see jetpack-ai-admin.js.LICENSE.txt */
(()=>{var e,t,n={969(e,t,n){"use strict";n.d(t,{A:()=>r});const r={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj","without-bottom-border":"zWDcRnnZPA743KzSQdUg","admin-page-header":"iWGAhN9gOB48g0jEO1OQ","admin-page-footer":"N7JAnsuu_FtPrtDg8bVw","sandbox-domain-badge":"JOYmuxQjG4FArIIUxJfA"}},5250(){},6727(e,t,n){"use strict";n.d(t,{A:()=>r});const r={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"}},4824(e,t,n){"use strict";n.d(t,{A:()=>r});const r={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},4818(){},1601(){},4997(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,s=365.25*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"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 a=/^(-?(?:\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(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;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>=o)return a(e,i,o,"day");if(i>=r)return a(e,i,r,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"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))}},372(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(67);const o=n.n(r)()("dops:analytics");let i,s;window._tkq=window._tkq||[],window.ga=window.ga||functionLine truncated
__("There was an error testing Jetpack. Error: %s","jetpack"),e.message))}},[]);return n&&(_||A)?(0,f.jsx)("div",{className:R,children:(0,f.jsxs)(o.A,{className:"jp-admin-page__page",visual:k||(0,f.jsx)(l.A,{showText:!1,height:20}),breadcrumbs:A,title:_,subTitle:x,actions:j,showSidebarToggle:!1,children:[C,E?e:(0,f.jsx)(u.A,{fluid:!0,horizontalSpacing:0,children:(0,f.jsx)(d.A,{children:e})}),g&&(0,f.jsx)(c.A,{menu:w})]})}):(0,f.jsxs)("div",{className:R,children:[n&&(0,f.jsx)(u.A,{horizontalSpacing:5,children:(0,f.jsxs)(d.A,{className:(0,s.A)(p.A["admin-page-header"],"jp-admin-page-header"),children:[y||(0,f.jsx)(l.A,{}),m&&(0,f.jsx)("code",{className:p.A["sandbox-domain-badge"],onClick:M,onKeyDown:M,role:"button",tabIndex:0,title:`Sandboxing via ${m}. Click to test connection.`,children:"API Sandboxed"})]})}),(0,f.jsx)(u.A,{fluid:!0,horizontalSpacing:0,children:(0,f.jsx)(d.A,{children:e})}),g&&(0,f.jsx)(c.A,{menu:w})]})}},8907(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(7723),o=n(3022),i=n(790);const __=r.__,s=({title:e=__("An Automattic Airline","jetpack"),height:t=7,className:n,...r})=>(0,i.jsxs)("svg",{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:(0,o.A)("jp-automattic-byline-logo",n),...r,children:[(0,i.jsx)("desc",{id:"jp-automattic-byline-logo-title",children:e}),(0,i.jsx)("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"}),(0,i.jsx)("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"}),(0,i.jsx)("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"})]})},8250(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(7999),o=n(7723),i=n(1220),s=n(9968),a=n(9654),c=n(3022),l=n(3924),d=n(8907),u=(n(5250),n(7142)),p=n(790);const __=o.__,f=({className:e,menu:t,...n})=>{let o=[];return(0,r.isWpcomPlatformSite)()||window?.JetpackNetworkAdminData||(o=[{label:__("Products","jetpack"),href:(0,r.getAdminUrl)("admin.php?page=my-jetpack#/products")},{label:__("Help","jetpack"),href:(0,r.getAdminUrl)("admin.php?page=my-jetpack#/help")},...o]),t&&(o=[...o,...t]),(0,p.jsxs)(i.B,{render:(0,p.jsx)("footer",{}),className:(0,c.A)("jetpack-footer",e),"aria-label":__("Jetpack","jetpack"),role:"contentinfo",direction:"row",justify:"flex-start",align:"center",wrap:"wrap",gap:"xl",...n,children:[(0,p.jsxs)(i.B,{className:"jetpack-footer__logo",direction:"row",gap:"sm",align:"center",children:[(0,p.jsx)(u.A,{showText:!1,height:16,"aria-hidden":"true"}),(0,p.jsx)(s.E,{variant:"body-md",children:"Jetpack"})]}),(0,p.jsx)(i.B,{render:(0,p.jsx)("ul",{}),direction:"row",gap:"lg",wrap:"wrap",children:o.map(e=>(0,p.jsx)("li",{children:(0,p.jsx)(s.E,{variant:"body-md",className:"jetpack-footer__menu-item",render:e.href?(0,p.jsx)(a.N,{href:e.href,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0}):(0,p.jsx)(a.N,{render:(0,p.jsx)("span",{}),tabIndex:0,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0,role:"button"}),children:e.label})},e.label))}),(0,p.jsx)("a",{className:"jetpack-footer__a8c",href:(0,l.A)("a8c-aboutLine truncated
/* translators: %1$d: enabled count, %2$d: total count */
text:(0,i.sprintf)(__("%1$d of %2$d enabled","jetpack"),n,e.length),intent:"info"}}const x={success:"stable",info:"informational",warning:"medium",neutral:"draft"};function k({badge:e}){const t=e.intent??"neutral",n={success:p.A,info:l.A,warning:s.A}[t];return(0,y.jsx)(g.E,{intent:x[t]??"draft",children:n?(0,y.jsxs)("span",{className:"jetpack-ai-mcp__badge-content",children:[(0,y.jsx)(r.Icon,{icon:n,size:14}),e.text]}):e.text})}function j({icon:e,title:t,badge:n,onClick:o}){return(0,y.jsx)(m.$,{className:"jetpack-ai-mcp__summary-row",onClick:o,variant:"minimal",tone:"neutral",children:(0,y.jsxs)(h.B,{direction:"row",justify:"space-between",align:"center",style:{width:"100%"},children:[(0,y.jsxs)(h.B,{direction:"row",gap:"sm",align:"center",justify:"flex-start",children:[(0,y.jsx)(r.Icon,{className:"jetpack-ai-mcp__row-icon",icon:e,size:24}),(0,y.jsx)(r.__experimentalText,{children:t})]}),(0,y.jsxs)(h.B,{direction:"row",gap:"sm",align:"center",justify:"flex-end",children:[n&&(0,y.jsx)(k,{badge:n}),(0,y.jsx)(r.Icon,{icon:a.A,size:20})]})]})})}function A({title:e,description:t,onClick:n}){return(0,y.jsxs)("button",{className:"jetpack-ai-mcp__connect-row",onClick:n,type:"button",children:[(0,y.jsx)("span",{className:"jetpack-ai-mcp__connect-row-icon",children:(0,y.jsx)(r.Icon,{icon:c.A,size:24})}),(0,y.jsxs)("span",{className:"jetpack-ai-mcp__connect-row-text",children:[(0,y.jsx)(r.__experimentalText,{as:"p",className:"jetpack-ai-mcp__connect-row-title",weight:600,children:e}),(0,y.jsx)(r.__experimentalText,{as:"p",className:"jetpack-ai-mcp__connect-row-description",variant:"muted",children:t})]}),(0,y.jsx)("span",{className:"jetpack-ai-mcp__connect-row-chevron",children:(0,y.jsx)(r.Icon,{icon:a.A,size:24})})]})}function C({mcpAbilities:e,blogId:t,activityLogUrl:n,savingToolIds:i,onNavigate:s,onUpdate:c}){const l=(0,w.gt)(e??{}),p=(0,w.jv)(e??{}),g=(0,w.cm)(e??{},t),m=p.size?Object.fromEntries(Object.entries(l).filter(([e])=>p.has(e))):l,x=(0,w.h5)(e??{},t),k=(0,w.eH)(m,g,x),C=Object.keys(g).length>0,S=e?.site_level_enabled_default??!1,E=Object.entries(k).filter(([,e])=>!1!==e.visible),R=E.filter(([e,t])=>!(0,v.G7)(e,t)),M=E.filter(([e,t])=>(0,v.G7)(e,t)),T=S?{text:__("All enabled","jetpack"),intent:"success"}:{text:__("Disabled","jetpack")},I=C?_(R,S):T,O=C?_(M,S):T,N=(0,o.useCallback)(e=>{b.A.tracks.recordEvent("jetpack_mcp_enabled_toggled",{enabled:e});const n={};e&&R.forEach(([e])=>{n[e]=!0}),c({sites:[{blog_id:t,site_level_enabled:e,abilities:n}]})},[t,c,R]),P=(0,o.useCallback)(()=>s("read"),[s]),z=(0,o.useCallback)(()=>s("write"),[s]),D=(0,o.useCallback)(()=>s("setup"),[s]);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(r.Card,{className:"jetpack-ai-mcp__access-card",children:[(0,y.jsx)(r.CardBody,{children:(0,y.jsxs)(h.B,{direction:"column",gap:"md",children:[(0,y.jsxs)(h.B,{direction:"column",gap:"xs",children:[(0,y.jsx)(r.__experimentalText,{as:"h3",weight:600,children:__("External AI agent access","jetpack")}),(0,y.jsx)(r.__experimentalText,{variant:"muted",children:__("Allow external AI agents to access this site via MCP.","jetpack")})]}),(0,y.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,checked:x,disabled:i.has("__site_level__"),label:__("Enable MCP access","jetpack"),onChange:N})]})}),x&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(r.CardDivider,{}),(0,y.jsx)(j,{icon:f.A,title:__("Read","jetpack"),badge:I,onClick:P}),(0,y.jsx)(r.CardDivider,{}),(0,y.jsx)(j,{icon:u.A,title:__("Write","jetpack"),badge:O,onClick:z})]})]}),x&&(0,y.jsx)(r.Card,{className:"jetpack-ai-mcp__action-card",children:(0,y.jsx)(A,{title:__("Connect external AI agent","jetpack"),description:__("Get instructions for connecting your external AI agent.","jetpack"),onClick:D})}),x&&n&&(0,y.jsx)(r.Card,{className:"jetpack-ai-mcp__action-card",children:(0,y.jsxs)("a",{className:"jetpack-ai-mcp__connect-row",href:n,children:[(0,y.jsx)("span",{className:"jetpack-ai-mcp__connect-row-icon",children:(0,y.jsx)(r.Icon,{icon:d.A,size:24})}),(0,y.jsxs)("span",{className:"jetpack-ai-mcp__connect-row-text",children:[(0,y.jsx)(r.__experimentalText,{as:"p",className:"jetpack-ai-mcp__connect-row-title",weight:600,children:__("Activity log","jetpack")}),(0,y.jsx)(r.__experimentalText,{as:"p",className:"jetpack-ai-mcp__connect-row-description",variant:"muted",children:__("Review recent actions taken by AI agents on your site.","jetpack")})]}),(0,y.jsx)("span",{className:"jetpack-ai-mcp__connect-row-chevron",children:(0,y.jsx)(r.Icon,{icon:a.A,size:24})})]})})]})}},8622(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(6427),o=n(6087),i=n(7723),s=n(1220),a=n(3835),c=n(666),l=n(4085),d=n(790);const __=i.__;function u({toolId:e,tool:t,savingToolIds:n,onToggle:i}){const s=(0,o.useCallback)(t=>i(e,t),[e,i]);return(0,d.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,checked:t.enabled,disabled:n.has(e),label:t.title,help:t.description,onChange:s})}function p({categoryName:e,allEnabled:t,savingToolIds:n,categoryTools:i,onEnableAll:s}){const a=(0,o.useCallbaLine truncated
@@ -0,0 +1,19 @@
/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
@media(min-resolution:192dpi){:root{--wpds-border-width-focus:1.5px}}.jetpack-footer{border-top:1px solid #f0f0f0;box-sizing:border-box;font-size:13px;padding:20px 24px;width:100%}.jetpack-footer :is(.jetpack-footer__menu-item:any-link,.jetpack-footer__menu-item[role=button]){color:#707070;cursor:pointer;text-decoration:none}.jetpack-footer .jetpack-footer__menu-item:hover{text-decoration:underline}.jetpack-footer>ul{list-style:none;margin:0;padding:0}.jetpack-footer>ul>li{margin:0}.jetpack-footer__logo{flex-shrink:0}@media(min-width:480px){a.jetpack-footer__a8c{margin-inline-start:auto}}a.jetpack-footer__a8c svg{fill:#707070}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC.zWDcRnnZPA743KzSQdUg .jp-admin-page__page>:first-child{border-bottom:none}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child{position:relative;z-index:1}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page{clear:both}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-childLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fc9a16899297c871622f');
@@ -0,0 +1 @@
!function(t){var a=deactivate_dialog.tracksUserData;analytics.initialize(a.userid,a.username);var i=t("tr[data-slug=jetpack] > td.plugin-title > div > span.deactivate > a"),e=i.attr("href");window.deactivateJetpack=function(){window.location.href=e};var n=new MutationObserver(function(a){a.forEach(function(a){"childList"===a.type&&a.addedNodes.forEach(function(a){"TB_window"===a.id&&(t("#TB_window").addClass("jetpack-disconnect-modal"),window.deactivationModalCentralize(),t("#TB_closeWindowButton, #TB_overlay").on("click",function(){window.deactivationModalTrackCloseEvent()}),document.onkeyup=function(t){27===(null===t?event.keyCode:t.which)&&window.deactivationModalTrackCloseEvent()},n.disconnect())})})});window.deactivationModalCentralize=function(){var a=t("#TB_window.jetpack-disconnect-modal"),i=t(window).height()/2-t(a).height()/2;t(a).css("top",i+"px")},window.deactivationModalTrackCloseEvent=function(){analytics.tracks.recordEvent("jetpack_termination_dialog_close_click",c),document.onkeyup=""};var o=t("body")[0],c={location:"plugins",purpose:"deactivate"};i.attr("href","plugins.php#TB_inline?inlineId=jetpack_deactivation_dialog"),i.attr("title",deactivate_dialog.title),i.addClass("thickbox"),i.html(deactivate_dialog.deactivate_label),i.on("click",function(){n.observe(o,{childList:!0}),analytics.tracks.recordEvent("jetpack_termination_dialog_open",c)}),t("#jetpack_deactivation_dialog_content__button-cancel").on("click",function(){tb_remove(),window.deactivationModalTrackCloseEvent()}),t("#jetpack_deactivation_dialog_content__button-deactivate").on("click",function(a){a.preventDefault(),t(this).prop("disabled",!0),analytics.tracks.recordEvent("jetpack_termination_dialog_termination_click",c),window.deactivateJetpack()})}(jQuery);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '353b43ede6114abf4ae5');
@@ -0,0 +1 @@
!function(e,t,a,n,o,s,i,c){"use strict";var l,u,r,d,p;r=t(".navbar-form"),d=t("#srch-term-search-input"),p=t("#doaction"),l=new n.Modules({items:a}),new o.List_Table({el:"#the-list",model:l}),l.trigger("change"),u=function(e){t(".subsubsub").find("li.current").removeClass("current"),t(".subsubsub").find('a[data-title="'+t(this).data("title")+'"]').closest("li").addClass("current"),e.preventDefault(),l.trigger("change")},t(".subsubsub a").on("click",{modules:l},u),r.on("click",".button-group .button",{modules:l},function(e){e.preventDefault(),t(this).addClass("active").siblings(".active").removeClass("active"),l.trigger("change")}),d.on("keyup search",function(e){"Tab"!==e.code&&l.trigger("change")}),d.prop("placeholder",s.search_placeholder),p.on("click",function(a){var n,o=t(".jetpack-modules-list-table-form").serialize(),s=t(this).siblings("select").val();o.length&&"-1"!==s&&(n="admin.php?page=jetpack&action="+encodeURIComponent(s),n+="&"+o,n+="&_wpnonce="+encodeURIComponent(c.bulk),e.location.href=n),a.preventDefault()})}(window,jQuery,window.jetpackModulesData.modules,window.jetpackModules.models,window.jetpackModules.views,window.jetpackModulesData.i18n,window.jetpackModulesData.modalinfo,window.jetpackModulesData.nonces);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8c56e7001ecc2cf5cd36');
@@ -0,0 +1 @@
window.jetpackModules=window.jetpackModules||{},window.jetpackModules.models=function(t,e,a){"use strict";var s={};return s.Modules=a.Model.extend({visibles:{},filter_and_sort:function(){var t=e(".subsubsub .current a"),a=Object.values(this.get("raw")),s=e(".button-group.filter-active .active"),i=e(".button-group.sort .active"),r=e("#srch-term-search-input").val().toLowerCase();if(t.closest("li").hasClass("all")||(a=a.filter(e=>e.module_tags.includes(t.data("title")))),s.data("filter-by")&&(a=a.filter(t=>t[s.data("filter-by")]===s.data("filter-value"))),r.length&&(a=a.filter(function(t){return-1!==(t.name+" "+t.description+" "+t.long_description+" "+t.search_terms+" "+t.module_tags).toLowerCase().indexOf(r)})),i.data("sort-by")){const t=i.data("sort-by"),e="reverse"===i.data("sort-order")?-1:1;a.sort((a,s)=>a[t]>s[t]?e:a[t]<s[t]?-e:0)}return a.sort((t,e)=>e.available-t.available),this.set("items",a),this},initialize:function(){var t=this.get("items");this.set("raw",t)}}),s}(window,jQuery,Backbone);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fc144411d4cb415c0229');
@@ -0,0 +1 @@
window.jetpackModules=window.jetpackModules||{},window.jetpackModules.views=function(t,e,a,o){"use strict";var n={};return n.List_Table=a.View.extend({template:o.template("Jetpack_Modules_List_Table_Template"),updateUrl:function(){if(t.history.replaceState){var a=t.location.href.split("?")[0]+"?page=jetpack_modules",o=e(".subsubsub .current"),n=e(".button-group.filter-active .active"),i=e(".button-group.sort .active"),s=e("#srch-term-search-input").val();s.length&&(a+="&s="+encodeURIComponent(s)),o.hasClass("all")||(a+="&module_tag="+encodeURIComponent(o.find("a").data("title"))),n.data("filter-by")&&(a+="&"+encodeURIComponent(n.data("filter-by"))+"="+encodeURIComponent(n.data("filter-value"))),"name"!==i.data("sort-by")&&(a+="&sort_by="+encodeURIComponent(i.data("sort-by"))),t.history.replaceState({},"",a)}},render:function(){return this.model.filter_and_sort(),this.$el.html(this.template(this.model.attributes)),this.updateUrl(),this},initialize:function(){this.listenTo(this.model,"change",this.render)}}),n}(window,jQuery,Backbone,wp);
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '60be609c738e41364432');
@@ -0,0 +1 @@
(()=>{var o;window.wpPostLikeCount=window.wpPostLikeCount||{},o=jQuery,window.wpPostLikeCount=jQuery.extend(window.wpPostLikeCount,{request:function(t){return o.ajax({type:"GET",url:window.wpPostLikeCount.jsonAPIbase+t.path,dataType:"jsonp",data:t.data,success:function(o){t.success(o)},error:function(o){t.error(o)}})}})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a262f95925dd45be5831');
@@ -0,0 +1 @@
(()=>{var t;window.wpPostLikeCount=window.wpPostLikeCount||{},t=jQuery,window.wpPostLikeCount=jQuery.extend(window.wpPostLikeCount,{jsonAPIbase:"https://public-api.wordpress.com/rest/v1",APIqueue:[],wpPostLikeCount:function(){t(".post-like-count").each(function(){var o=t(this).attr("data-post-id"),n=t(this).attr("data-blog-id");window.wpPostLikeCount.APIqueue.push("/sites/"+n+"/posts/"+o+"/likes")}),window.wpPostLikeCount.getCounts()},showCount:function(o,n){n>0&&(t("#post-like-count-"+o).find(".comment-count").hide(),t("#post-like-count-"+o).find(".comment-count").text(n),t("#post-like-count-"+o).find(".comment-count").fadeIn())},getCounts:function(){for(var t={path:"/batch",data:"",success:function(t){for(var o in t)if(!t[o].error_data){var n=o.split("/")[4];window.wpPostLikeCount.showCount(n,t[o].found)}},error:function(){}},o="",n=0;n<window.wpPostLikeCount.APIqueue.length;n++)n>0&&(o="&"),t.data+=o+"urls[]="+window.wpPostLikeCount.APIqueue[n];window.wpPostLikeCount.request(t)}}),jQuery(document).ready(function(){window.wpPostLikeCount.wpPostLikeCount()})})();
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '35d81f419b25668f2ef8');
@@ -0,0 +1 @@
(()=>{var e=[],t=!1,i=[],n=new Promise(e=>{"loading"!==document.readyState?e():window.addEventListener("DOMContentLoaded",()=>e())});function o(e,t){if("string"==typeof e)try{e=JSON.parse(e)}catch{return}if(t&&"function"==typeof t.postMessage)try{t.postMessage(JSON.stringify({type:"likesMessage",data:e}),"*")}catch{}}function s(){const t=[];document.querySelectorAll("div.jetpack-likes-widget-unloaded").forEach(i=>{if(!(e.indexOf(i.id)>-1)&&c(i)){e.push(i.id);var n,o=/like-(post|comment)-wrapper-(\d+)-(\d+)-(\w+)/.exec(i.id);o&&5===o.length&&(n={blog_id:o[2],width:i.width},"post"===o[1]?n.post_id=o[3]:"comment"===o[1]&&(n.comment_id=o[3]),n.obj_id=o[4],t.push(n))}}),t.length>0&&o({event:"initialBatch",requests:t},window.frames["likes-master"])}function a(){const e=document.querySelector("#likes-other-gravatars");if(e){e.style.display="none",e.setAttribute("aria-hidden","true");const t=e.__resizeHandler;t&&(window.removeEventListener("resize",t),delete e.__resizeHandler)}}function r(){var e;if(t){!function(){for(let e=i.length-1;e>=0;e--){const t=i[e];if(!c(t)){const n=t&&t.parentElement&&t.parentElement.parentElement;n.classList.remove("jetpack-likes-widget-loaded"),n.classList.remove("jetpack-likes-widget-loading"),n.classList.add("jetpack-likes-widget-unloaded"),i.splice(e,1),t.remove()}}}();var n=[...document.querySelectorAll("div.jetpack-likes-widget-unloaded")].filter(e=>c(e));n.length>0&&s();for(var o=0,a=n.length;o<=a-1;o++)(e=n[o].id)&&l(e)}else setTimeout(r,500)}function l(e){if(void 0===e)return;const t=document.querySelector("#"+e);t.querySelectorAll("iframe").forEach(e=>e.remove());const n=t.querySelector(".likes-widget-placeholder");if(n&&n.classList.contains("post-likes-widget-placeholder")){const e=document.createElement("iframe");e.classList.add("post-likes-widget","jetpack-likes-widget"),e.name=t.dataset.name,e.src=t.dataset.src,e.height="55px",e.width="100%",e.frameBorder="0",e.scrolling="no",e.title=t.dataset.title,n.after(e)}if(n.classList.contains("comment-likes-widget-placeholder")){const e=document.createElement("iframe");e.class="comment-likes-widget-frame jetpack-likes-widget-frame",e.name=t.dataset.name,e.src=t.dataset.src,e.height="18px",e.width="100%",e.frameBorder="0",e.scrolling="no",t.querySelector(".comment-like-feedback").after(e),i.push(e)}t.classList.remove("jetpack-likes-widget-unloaded"),t.classList.add("jetpack-likes-widget-loading"),t.querySelector("iframe").addEventListener("load",e=>{o({event:"loadLikeWidget",name:e.target.name,width:e.target.width},window.frames["likes-master"]),t.classList.remove("jetpack-likes-widget-loading"),t.classList.add("jetpack-likes-widget-loaded")})}function c(e){const t=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom;return t+2e3>=0&&i<=window.innerHeight+2e3}window.addEventListener("message",function(e){let i=e&&e.data;if("string"==typeof i)try{i=JSON.parse(i)}catch{return}const r=i&&i.type,l=i&&i.data;if("likesMessage"!==r||void 0===l.event)return;if("https://widgets.wp.com"===e.origin)switch(l.event){case"masterReady":n.then(()=>{t=!0;const e={event:"injectStyles"},i=document.querySelector(".sd-text-color"),n=document.querySelector(".sd-link-color"),a=i&&getComputedStyle(i)||{},r=n&&getComputedStyle(n)||{};document.body.classList.contains("single")&&o({event:"reblogsEnabled"},window.frames["likes-master"]),e.textStyles={color:a.color,fontFamily:a["font-family"],fontSize:a["font-size"],direction:a.direction,fontWeight:a["font-weight"],fontStyle:a["font-style"],textDecoration:a["text-decoration"]},e.linkStyles={color:r.color,fontFamily:r["font-family"],fontSize:r["font-size"],textDecoration:r["text-decoration"],fontWeight:r["font-weight"],fontStyle:r["font-style"]},o(e,window.frames["likes-master"]),s()});break;case"showLikeWidget":case"showCommentLikeWidget":break;case"killCommentLikes":document.querySelectorAll(".jetpack-comment-likes-widget-wrapper").forEach(e=>e.remove());break;case"clickReblogFlair":wpcom_reblog&&"function"==typeof wpcom_reblog.toggle_reblog_box_flair&&wpcom_reblog.toggle_reblog_box_flair(l.obj_id);break;case"hideOtherGravatars":a();break;case"showOtherGravatars":{const e=document.querySelector("#likes-other-gravatars");if(!e)break;const t=e.querySelector("ul");e.style.display="none",t.innerHTML="",e.querySelectorAll(".likes-text span").forEach(e=>e.textContent=l.totalLikesLabel),(l.likers||[]).forEach(async(e,i)=>{if("http"!==e.profile_URL.substr(0,4))return;const n=document.createElement("li");t.append(n);const s=encodeURI(e.profile_URL),r=encodeURI(e.avatar_URL);n.innerHTML=`<a href="${s}" rel="nofollow" target="_parent" class="wpl-liker">\n\t\t\t\t\t\t<img src="${r}"\n\t\t\t\t\t\t\talt=""\n\t\t\t\t\t\t\tstyle="width: 28px; height: 28px;" />\n\t\t\t\t\t\t<span></span>\n\t\t\t\t\t</a>`,n.classList.add(e.css_class),n.querySelector("img").alt=l.avatarAltTitle.replace("%s",e.name),n.querySelector("span").innerText=e.name,i===l.likers.length-1&&n.addEventListener("keydown",e=>{"Tab"!==e.key||e.shiftKLine truncated
@@ -0,0 +1 @@
#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{display:inline-block;font-size:9pt;font-weight:700;line-height:1.2;margin:0 0 1em}div.sharedaddy h3.sd-title:before{border-top:1px solid #dcdcde;content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}div.jetpack-likes-widget-wrapper{min-height:50px;position:relative;width:100%}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{min-height:31px;position:relative;width:100%}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{background-color:#fff;border:1px solid #dcdcde;border-radius:4px;box-shadow:none;display:none;height:auto;max-height:240px;min-width:220px;overflow:auto;padding:9px 12px 10px;position:absolute;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#101517;font-size:12px;font-weight:500;padding-bottom:8px}#likes-other-gravatars :is(li,ul){list-style-type:none;margin:0;padding:0;text-indent:0}#likes-other-gravatars li:before{content:""}#likes-other-gravatars ul.wpl-avatars{display:block;max-height:190px;overflow:auto}#likes-other-gravatars ul.wpl-avatars li{float:none;height:28px;margin:0 0 4px;width:196px}#likes-other-gravatars ul.wpl-avatars li a{align-items:center;border-bottom:none!important;display:flex;gap:8px;margin:0 0 0 2px;text-decoration:none}#likes-other-gravatars ul.wpl-avatars li a span{color:#2c3338;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#likes-other-gravatars ul.wpl-avatars li a img{background:none;border:none;border-radius:50%;box-sizing:border-box;margin:0!important;padding:1px!important;position:static}div.sd-box{border-top:1px solid #00000021}.jetpack-likes-widget-loaded iframe,.jetpack-likes-widget-loading .likes-widget-placeholder,.jetpack-likes-widget-unloaded .likes-widget-placeholder{display:block}.jetpack-likes-widget-loaded .likes-widget-placeholder,.jetpack-likes-widget-loading iframe,.jetpack-likes-widget-unloaded iframe{display:none}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{border-width:0;margin:0}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{border-width:0;margin:0;position:relative}.comment-likes-widget-placeholder{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:18px;position:absolute}.comment-likes-widget-placeholder:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%232ea2cc' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px 16px;color:#2ea2cc;content:"";display:inline-block;height:16px;padding-left:5px;position:relative;top:3px;width:16px}.post-likes-widget-placeholder .button{display:none}:is(.comment-likes-widget-placeholder,.post-likes-widget-placeholder) .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{align-self:center;color:#4e4e4e;margin-top:4px;padding-right:5px}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{float:none;position:absolute;top:0;width:100%}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}
@@ -0,0 +1 @@
#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{display:inline-block;font-size:9pt;font-weight:700;line-height:1.2;margin:0 0 1em}div.sharedaddy h3.sd-title:before{border-top:1px solid #dcdcde;content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}div.jetpack-likes-widget-wrapper{min-height:50px;position:relative;width:100%}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-comment-likes-widget-wrapper{min-height:31px;position:relative;width:100%}div.jetpack-comment-likes-widget-wrapper iframe{margin-bottom:0}#likes-other-gravatars{background-color:#fff;border:1px solid #dcdcde;border-radius:4px;box-shadow:none;display:none;height:auto;max-height:240px;min-width:220px;overflow:auto;padding:9px 12px 10px;position:absolute;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#101517;font-size:12px;font-weight:500;padding-bottom:8px}#likes-other-gravatars :is(li,ul){list-style-type:none;margin:0;padding:0;text-indent:0}#likes-other-gravatars li:before{content:""}#likes-other-gravatars ul.wpl-avatars{display:block;max-height:190px;overflow:auto}#likes-other-gravatars ul.wpl-avatars li{float:none;height:28px;margin:0 0 4px;width:196px}#likes-other-gravatars ul.wpl-avatars li a{align-items:center;border-bottom:none!important;display:flex;gap:8px;margin:0 2px 0 0;text-decoration:none}#likes-other-gravatars ul.wpl-avatars li a span{color:#2c3338;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#likes-other-gravatars ul.wpl-avatars li a img{background:none;border:none;border-radius:50%;box-sizing:border-box;margin:0!important;padding:1px!important;position:static}div.sd-box{border-top:1px solid #00000021}.jetpack-likes-widget-loaded iframe,.jetpack-likes-widget-loading .likes-widget-placeholder,.jetpack-likes-widget-unloaded .likes-widget-placeholder{display:block}.jetpack-likes-widget-loaded .likes-widget-placeholder,.jetpack-likes-widget-loading iframe,.jetpack-likes-widget-unloaded iframe{display:none}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{border-width:0;margin:0}.comment-likes-widget-placeholder,.post-likes-widget-placeholder{border-width:0;margin:0;position:relative}.comment-likes-widget-placeholder{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:18px;position:absolute}.comment-likes-widget-placeholder:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%232ea2cc' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px 16px;color:#2ea2cc;content:"";display:inline-block;height:16px;padding-right:5px;position:relative;top:3px;width:16px}.post-likes-widget-placeholder .button{display:none}:is(.comment-likes-widget-placeholder,.post-likes-widget-placeholder) .loading{color:#999;font-size:12px}.comment-likes-widget-placeholder .loading{align-self:center;color:#4e4e4e;margin-top:4px;padding-left:5px}div.sharedaddy.sd-like-enabled .sd-like h3{display:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{float:none;position:absolute;top:0;width:100%}.comment-likes-widget{width:100%}.cs-rating,.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}@media print{.jetpack-likes-widget-wrapper{display:none}}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '94b1ef986febe0d87e29');
@@ -0,0 +1 @@
@media(min-resolution:192dpi){:root{--wpds-border-width-focus:1.5px}}.jetpack-footer{border-top:1px solid #f0f0f0;box-sizing:border-box;font-size:13px;padding:20px 24px;width:100%}.jetpack-footer :is(.jetpack-footer__menu-item:any-link,.jetpack-footer__menu-item[role=button]){color:#707070;cursor:pointer;text-decoration:none}.jetpack-footer .jetpack-footer__menu-item:hover{text-decoration:underline}.jetpack-footer>ul{list-style:none;margin:0;padding:0}.jetpack-footer>ul>li{margin:0}.jetpack-footer__logo{flex-shrink:0}@media(min-width:480px){a.jetpack-footer__a8c{margin-inline-start:auto}}a.jetpack-footer__a8c svg{fill:#707070}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.sexr0jUxC1jVixdKiDnC{margin-left:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-left:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC.zWDcRnnZPA743KzSQdUg .jp-admin-page__page>:first-child{border-bottom:none}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child{position:relative;z-index:1}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page{clear:both}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child [Line truncated
@@ -0,0 +1,2 @@
(()=>{var e={90969(e,t,n){"use strict";n.d(t,{A:()=>a});const a={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj","without-bottom-border":"zWDcRnnZPA743KzSQdUg","admin-page-header":"iWGAhN9gOB48g0jEO1OQ","admin-page-footer":"N7JAnsuu_FtPrtDg8bVw","sandbox-domain-badge":"JOYmuxQjG4FArIIUxJfA"}},65250(){},56727(e,t,n){"use strict";n.d(t,{A:()=>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"}},64824(e,t,n){"use strict";n.d(t,{A:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},8706(e,t,n){"use strict";n.d(t,{A:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},42235(){},5932(e,t,n){"use strict";n.d(t,{Ay:()=>p});var a=n(56439),i=n(93832);function r(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=r("JsonParseError"),s=r("JsonParseAfterRedirectError"),c=r("Api404Error"),d=r("Api404AfterRedirectError"),l=r("FetchNetworkError");const p=new function(e,t){let n=e,r=e,o={"X-WP-Nonce":t},s={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},d=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const l={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){o={"X-WP-Nonce":e},s={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{d=e},registerSite:(e,t,i)=>{const r={};return(0,a.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),i&&(r.from=i),u(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(h).then(g)},fetchAuthorizationUrl:e=>p((0,i.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(h).then(g),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,s).then(g),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,s).then(g),fetchSiteCoLine truncated
__("There was an error testing Jetpack. Error: %s","jetpack"),e.message))}},[]);return n&&(w||S)?(0,g.jsx)("div",{className:$,children:(0,g.jsxs)(i.A,{className:"jp-admin-page__page",visual:j||(0,g.jsx)(d.A,{showText:!1,height:20}),breadcrumbs:S,title:w,subTitle:x,actions:k,showSidebarToggle:!1,children:[z,N?e:(0,g.jsx)(p.A,{fluid:!0,horizontalSpacing:0,children:(0,g.jsx)(l.A,{children:e})}),u&&(0,g.jsx)(c.A,{menu:b})]})}):(0,g.jsxs)("div",{className:$,children:[n&&(0,g.jsx)(p.A,{horizontalSpacing:5,children:(0,g.jsxs)(l.A,{className:(0,o.A)(h.A["admin-page-header"],"jp-admin-page-header"),children:[_||(0,g.jsx)(d.A,{}),m&&(0,g.jsx)("code",{className:h.A["sandbox-domain-badge"],onClick:C,onKeyDown:C,role:"button",tabIndex:0,title:`Sandboxing via ${m}. Click to test connection.`,children:"API Sandboxed"})]})}),(0,g.jsx)(p.A,{fluid:!0,horizontalSpacing:0,children:(0,g.jsx)(l.A,{children:e})}),u&&(0,g.jsx)(c.A,{menu:b})]})}},48907(e,t,n){"use strict";n.d(t,{A:()=>o});var a=n(27723),i=n(13022),r=n(10790);const __=a.__,o=({title:e=__("An Automattic Airline","jetpack"),height:t=7,className:n,...a})=>(0,r.jsxs)("svg",{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:(0,i.A)("jp-automattic-byline-logo",n),...a,children:[(0,r.jsx)("desc",{id:"jp-automattic-byline-logo-title",children:e}),(0,r.jsx)("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"}),(0,r.jsx)("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"}),(0,r.jsx)("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"})]})},38250(e,t,n){"use strict";n.d(t,{A:()=>g});var a=n(97999),i=n(27723),r=n(21220),o=n(39968),s=n(79654),c=n(13022),d=n(3924),l=n(48907),p=(n(65250),n(67142)),h=n(10790);const __=i.__,g=({className:e,menu:t,...n})=>{let i=[];return(0,a.isWpcomPlatformSite)()||window?.JetpackNetworkAdminData||(i=[{label:__("Products","jetpack"),href:(0,a.getAdminUrl)("admin.php?page=my-jetpack#/products")},{label:__("Help","jetpack"),href:(0,a.getAdminUrl)("admin.php?page=my-jetpack#/help")},...i]),t&&(i=[...i,...t]),(0,h.jsxs)(r.B,{render:(0,h.jsx)("footer",{}),className:(0,c.A)("jetpack-footer",e),"aria-label":__("Jetpack","jetpack"),role:"contentinfo",direction:"row",justify:"flex-start",align:"center",wrap:"wrap",gap:"xl",...n,children:[(0,h.jsxs)(r.B,{className:"jetpack-footer__logo",direction:"row",gap:"sm",align:"center",children:[(0,h.jsx)(p.A,{showText:!1,height:16,"aria-hidden":"true"}),(0,h.jsx)(o.E,{variant:"body-md",children:"Jetpack"})]}),(0,h.jsx)(r.B,{render:(0,h.jsx)("ul",{}),direction:"row",gap:"lg",wrap:"wrap",children:i.map(e=>(0,h.jsx)("li",{children:(0,h.jsx)(o.E,{variant:"body-md",className:"jetpack-footer__menu-item",render:e.href?(0,h.jsx)(s.N,{href:e.href,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0}):(0,h.jsx)(s.N,{render:(0,h.jsx)("span",{}),tabIndex:0,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0,role:"button"}),children:e.label})},e.label))}),(0,h.jsx)("a",{className:"jetpack-footer__a8c",href:(Line truncated
@@ -0,0 +1 @@
@media(min-resolution:192dpi){:root{--wpds-border-width-focus:1.5px}}.jetpack-footer{border-top:1px solid #f0f0f0;box-sizing:border-box;font-size:13px;padding:20px 24px;width:100%}.jetpack-footer :is(.jetpack-footer__menu-item:any-link,.jetpack-footer__menu-item[role=button]){color:#707070;cursor:pointer;text-decoration:none}.jetpack-footer .jetpack-footer__menu-item:hover{text-decoration:underline}.jetpack-footer>ul{list-style:none;margin:0;padding:0}.jetpack-footer>ul>li{margin:0}.jetpack-footer__logo{flex-shrink:0}@media(min-width:480px){a.jetpack-footer__a8c{margin-inline-start:auto}}a.jetpack-footer__a8c svg{fill:#707070}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.sexr0jUxC1jVixdKiDnC{margin-right:-20px}@media(max-width:782px){.sexr0jUxC1jVixdKiDnC{margin-right:-10px}}.sexr0jUxC1jVixdKiDnC.vKQ11sLeAM45M04P1ccj{background-color:var(--jp-white)}.sexr0jUxC1jVixdKiDnC.zWDcRnnZPA743KzSQdUg .jp-admin-page__page>:first-child{border-bottom:none}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-child{position:relative;z-index:1}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page{clear:both}.sexr0jUxC1jVixdKiDnC .jp-admin-page__page>:first-childLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-script-data', 'jetpack-shared-stores', 'react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'af8559b3d61ad601d422');
@@ -0,0 +1 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.newsletter-widget__header{margin-bottom:12px;padding:12px}.newsletter-widget__heading{font-weight:499!important}.newsletter-widget__footer{background-color:#f0f0f0;padding:12px}.newsletter-widget__footer-msg{margin:0 0 12px}.newsletter-widget__footer-list{column-count:2;list-style-type:disc;margin:0;padding-left:12px}.newsletter-widget__stat-label{margin-left:4px;text-decoration:none}.newsletter-widget__stats{display:flex;flex-wrap:wrap;gap:12px;width:100%}.newsletter-widget__stats>:first-child{margin-right:12px}.newsletter-widget__icon{align-items:flex-start;display:inline-flex;flex-direction:column}.newsletter-widget__stat-item{align-items:center;display:flex;gap:4px;text-decoration:none}.newsletter-widget__chart-container{padding:0 12px}.newsletter-widget__chart{box-sizing:border-box;padding:0 12px 12px;width:100%}.newsletter-widget a{text-decoration:none}.subscribers-chart{height:200px;width:100%}.subscribers-chart__tooltip{background:#fff;border-radius:4px;box-shadow:0 1px 1px #00000008,0 1px 2px #00000005,0 3px 3px #00000005,0 4px 4px #00000003;color:#1e1e1e;font-size:12px;min-width:120px;padding:8px}.subscribers-chart__tooltip-date{font-weight:499;margin-bottom:4px}.subscribers-chart__tooltip-stats{display:flex;flex-direction:column;gap:2px}.subscribers-chart__tooltip-stat{align-items:center;display:flex}.subscribers-chart__tooltip-indicator{border-radius:50%;height:8px;margin-right:4px;width:8px}.subscribers-chart__legend{display:flex;justify-content:center}#jetpack_newsletter_dashboard_widget .inside{margin:0;padding:0}
@@ -0,0 +1,10 @@
/*! For license information please see newsletter-widget.js.LICENSE.txt */
(()=>{var e={28288(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(27350),s=n(68228),c=n(61562),l=n(26547),f=n(80399),d=n(97796),h=n(97935),p=n(14739),g=n(23716),y=["children","axisClassName","hideAxisLine","hideTicks","hideZero","innerRef","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function m(e){var t=e.children,n=void 0===t?l.A:t,r=e.axisClassName,o=e.hideAxisLine,m=void 0!==o&&o,b=e.hideTicks,_=void 0!==b&&b,w=e.hideZero,x=void 0!==w&&w,M=e.innerRef,A=e.left,O=void 0===A?0:A,k=e.numTicks,j=void 0===k?10:k,P=e.orientation,T=void 0===P?p.A.bottom:P,S=e.rangePadding,C=void 0===S?0:S,N=e.scale,E=e.tickFormat,D=e.tickLength,R=void 0===D?8:D,F=e.tickValues,I=e.top,U=void 0===I?0:I,L=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,y),z=null!=E?E:(0,d.A)(N),$=T===p.A.left,W=T===p.A.top,H=W||T===p.A.bottom,q=(0,f.A)(N),Y=$||W?-1:1,B=N.range(),G=(0,g.A)(C),V=(0,h.A)({x:Number(B[0])+.5-G.start,y:0},H),J=(0,h.A)({x:Number(B[B.length-1])+.5+G.end,y:0},H),X=(null!=F?F:(0,c.A)(N,j)).filter(function(e){return!x||0!==e&&"0"!==e}).map(function(e,t){return{value:e,index:t}}),Z=X.map(function(e){var t=e.value,n=e.index,r=(0,s.A)(q(t));return{value:t,index:n,from:(0,h.A)({x:r,y:0},H),to:(0,h.A)({x:r,y:R*Y},H),formattedValue:z(t,n,X)}});return i().createElement(u.A,{className:a()("visx-axis",r),innerRef:M,top:U,left:O},n(v({},L,{axisFromPoint:V,axisToPoint:J,hideAxisLine:m,hideTicks:_,hideZero:x,horizontal:H,numTicks:j,orientation:T,rangePadding:C,scale:N,tickFormat:z,tickLength:R,tickPosition:q,tickSign:Y,ticks:Z})))}},26547(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(75058),s=n(54302),c=n(54271),l=n(14739),f=n(83615);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var h={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function p(e){var t=e.axisFromPoint,n=e.axisLineClassName,r=e.axisToPoint,o=e.hideAxisLine,p=e.hideTicks,g=e.horizontal,y=e.label,v=void 0===y?"":y,m=e.labelClassName,b=e.labelOffset,_=void 0===b?14:b,w=e.labelProps,x=e.orientation,M=void 0===x?l.A.bottom:x,A=e.scale,O=e.stroke,k=void 0===O?"#222":O,j=e.strokeDasharray,P=e.strokeWidth,T=void 0===P?1:P,S=e.tickClassName,C=e.tickComponent,N=e.tickLineProps,E=e.tickLabelProps,D=e.tickLength,R=void 0===D?8:D,F=e.tickStroke,I=void 0===F?"#222":F,U=e.tickTransform,L=e.ticks,z=e.ticksComponent,$=void 0===z?f.A:z,W=d({},h,w),H=d({},h,"object"==typeof E?E:null),q=L.map(function(e){var t=e.value,n=e.index;return"function"==typeof E?E(t,n,L):H}),Y=Math.max.apply(Math,[10].concat(q.map(function(e){return"number"==typeof e.fontSize?e.fontSize:0})));return i().createElement(i().Fragment,null,$({hideTicks:p,horizontal:g,orientation:M,scale:A,tickClassName:S,tickComponent:C,tickLabelProps:q,tickStroke:I,tickTransform:U,ticks:L,strokeWidth:T,tickLineProps:N}),!o&&i().createElement(u.A,{className:a()("visx-axis-line",n),from:t,to:r,stroke:k,strokeWidth:T,strokeDasharray:j}),v&&i().createElement(s.A,d({className:a()("visx-axis-label",m)},(0,c.A)({labelOffset:_,labelProps:W,orientation:M,range:A.range(),tickLabelFontSize:Y,tickLength:R}),W),v))}},83615(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(75058),s=n(27350),c=n(54302),l=n(14739);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function d(e){var t=e.hideTicks,n=e.horizontal,r=e.orientation,o=e.tickClassName,d=e.tickComponent,h=e.tickLabelProps,p=e.tickStroke,g=void 0===p?"#222":p,y=e.tickTransform,v=e.ticks,m=e.strokeWidth,b=e.tickLineProps;return v.map(function(e){var p,v=e.value,_=e.index,w=e.from,x=e.to,M=e.formattedValue,A=null!=(p=h[_])?p:{},O=Math.max(10,"number"==typeof A.fontSize&&A.fontSize||0),k=x.y+(n&&r!==l.A.top?O:0);return i().createElement(s.A,{key:"visx-tick-"+v+"-"+_,className:a()("visx-axis-tick",o),transform:y},!t&&i().createElement(u.A,f({from:w,to:x,stroke:g,strokeWidth:m,strokeLinecap:"square"},b)),d?d(f({},A,{x:x.x,y:k,formattedValue:M})):i().createElement(c.A,f({x:x.x,y:k},A),M))})}},14739(e,t,n){"use strict";n.d(t,{A:()=>r});const r={top:"top",left:"left",right:"right",bottom:"bottom"}},97935(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(48698);function i(e,t){var n=e.x,i=e.y;return new r.A(t?{x:n,y:i}:{x:i,y:n})}},23716(e,t,n){"use strict";function r()Line truncated
//translators: %1$s is the total number of subscribers, %2$s is the number of email subscribers
_n("%1$s subscriber (%2$s via email)","%1$s subscribers (%2$s via email)",m,"jetpack"),(0,f.ZV)(m),(0,f.ZV)(y)),O=(0,u.sprintf)(
//translators: %s is the number of paid subscribers
_n("%s paid subscriber","%s paid subscribers",v,"jetpack"),(0,f.ZV)(v));return(0,p.jsxs)("div",{className:"newsletter-widget",children:[_&&(0,p.jsx)("div",{className:"newsletter-widget__header",children:(0,p.jsxs)("div",{className:"newsletter-widget__stats",children:[(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:s.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"all_subscribers_click",A)})})]}),(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:c.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"paid_subscribers_click",O)})})]})]})}),w&&(0,p.jsxs)("div",{className:"newsletter-widget__chart",children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Total Subscribers","jetpack")}),(0,p.jsx)(h.w,{subscriberTotalsByDate:b})]}),(0,p.jsxs)("div",{className:"newsletter-widget__footer",children:[(0,p.jsx)("p",{className:"newsletter-widget__footer-msg",children:(0,a.createInterpolateElement)(__("Effortlessly turn posts into emails with our Newsletter feature. Expand your reach, engage readers, and monetize your writing. No coding required. <link>Learn more</link>","jetpack"),{link:(0,d.j)(n,n?"https://wordpress.com/learn/courses/newsletters-101/wordpress-com-newsletter":"https://jetpack.com/support/newsletter","learn_more_click")})}),(0,p.jsxs)("div",{children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Quick Links","jetpack")}),(0,p.jsxs)("ul",{className:"newsletter-widget__footer-list",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:`${t}post-new.php`,onClick:(0,f.R)(M,"publish_post_click"),children:__("Publish your next post","jetpack")})}),g&&(0,p.jsx)("li",{children:(0,d.j)(!0,(0,f.R8)(e,t),"view_stats_click",__("View subscriber stats","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n),{anchor:"add-subscribers"}),"import_subscribers_click",__("Import subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n)),"manage_subscribers_click",__("Manage subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`${n?"earn":"monetize"}/${e}`,n)),"monetize_click",__("Monetize","jetpack"))}),x&&(0,p.jsx)("li",{children:(0,d.j)(!0,x,"newsletter_settings_click",__("Newsletter settings","jetpack"))})]})]})]})]})}},51984(e,t,n){"use strict";n.d(t,{w:()=>P});var r=n(85985),i=n(22994),o=n(53207),a=n(37372),u=n(6699),s=n(62643),c=n(7401),l=n(76883),f=n(27917),d=n(65573),h=n(94648),p=n(86087),g=n(27723),y=n(51720),v=n(54060),m=n(10790);const __=g.__,b=(0,u.A)({domain:["all","paid"],range:[y.hg.all,y.hg.paid]}),_=(0,h.A)({backgroundColor:"white",colors:[y.hg.all,y.hg.paid],gridColor:"#e0e0e0",gridColorDark:"#e0e0e0",tickLength:0,gridStyles:{strokeWidth:1},svgLabelSmall:{fill:"#1e1e1e",fontSize:13,fontWeight:400}}),w=e=>e.date,x=e=>e.all,M=e=>e.paid,A=e=>y.hg[e],O=e=>y.aH[e],k=({key:e,color:t,x:n,y:r})=>{const i=y.hg[e]||t;return(0,m.jsx)("circle",{cx:n,cy:r,r:4,fill:i,stroke:"white",strokeWidth:2},`glyph-${e}`)},j=({tooltipData:e})=>{if(!e?.nearestDatum)return null;const t=e.nearestDatum.datum,n=w(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart__tooltip-date",children:(0,v.Yq)(n,"full")}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stats",children:[(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:y.hg.all},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,g.sprintf)(
// translators: %s is the total number of subscribers.
__("All: %s","jetpack"),(0,v.ZV)(x(t)))})]}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:y.hg.paid},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,g.sprintf)(
// translators: %s is the number of paid subscribers.
__("Paid: %s","jetpack"),(0,v.ZV)(M(t)))})]})]})]})},P=({subscriberTotalsByDate:e})=>{const{tracks:t}=(0,r.st)();if((0,p.useEffect)(()=>{t.recordEvent(`${y.xe}chart_view`)},[t]),0===Object.keys(e).length)return(0,m.jsx)("div",{children:__("No data available","jetpack")});const n=(0,v.tX)(e);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart",children:(0,m.jsx)(a.A,{children:({width:e,height:t})=>e&&t?(0,m.jsxs)(f.A,{height:t,width:e,xScale:{type:"time"},yScale:{type:"linear",nice:!0},theme:_,margin:{top:10,right:30,bottom:30,left:(0,v.oO)(n)},children:[(0,m.jsx)(c.A,{columns:!1,numTicks:5}),(0,m.jsx)(d.A,{dataKey:"all",data:n,xAccessor:w,yAccessor:x,colorAccessor:A,strokeWidth:2,curve:i.G}),(0,m.jsx)(d.A,{dataKey:"paid",data:n,xAccessor:w,yAccessor:M,colorAccessor:A,strokeWidth:2,curve:i.G}),(0,m.jsx)(s.A,{orientation:"left",hideAxisLine:!0,hideTicks:!0,hideZero:!0,numTicks:5}),(0,m.jsx)(s.A,{orientation:"bottom",tickFormat:v.Ac,hideAxisLine:!0,hideTicks:!0,numTicks:5,tickValues:(0,v.NL)(n)}),(0,m.jsx)(l.A,{showVerticalCrosshair:!0,showSeriesGlyphs:!0,className:"subscribers-chart__tooltip",renderTooltip:j,renderGlyph:k})]}):null})}),(0,m.jsx)(o.A,{scale:b,direction:"row",labelFormat:O,shape:"circle",shapeWidth:10,shapeHeight:10,itemMargin:5,className:"subscribers-chart__legend"})]})}},51720(e,t,n){"use strict";n.d(t,{aH:()=>o,hg:()=>i,xe:()=>a});var r=n(27723);const __=r.__,i={all:"#3057dc",paid:"#e68b28"},o={all:__("All","jetpack"),paid:__("Paid","jetpack")},a="jetpack_newsletter_widget_"},54060(e,t,n){"use strict";n.d(t,{Ac:()=>c,NL:()=>l,Qj:()=>o,R:()=>i,R8:()=>a,Yq:()=>s,ZV:()=>u,oO:()=>d,tX:()=>f});var r=n(38443);const i=(e,t,n={})=>()=>{e.recordEvent(`jetpack_newsletter_widget_${t}`,n)},o=(e,t=!0)=>`https://${t?"wordpress.com":"cloud.jetpack.com"}/${e}`,a=(e,t)=>`${t}admin.php?page=stats#!/stats/subscribers/${e}`,u=e=>e.toLocaleString(),s=(e,t="short")=>"short"===t?(0,r.dateI18n)("M j",e):(0,r.dateI18n)("M j, Y",e),c=e=>s(e,"short"),l=e=>{if(e.length<2)return e.map(e=>e.date);const t=e[0].date,n=e[e.length-1].date,r=n.getTime()-t.getTime();return[t,new Date(t.getTime()+.25*r),new Date(t.getTime()+.5*r),new Date(t.getTime()+.75*r),n]},f=e=>Object.entries(e).map(([e,t])=>{const n=new Date(e);return isNaN(n.getTime())?null:{date:n,all:t?.all??0,paid:t?.paid??0}}).filter(Boolean).sort((e,t)=>e.date.getTime()-t.date.getTime()),d=e=>{if(0===e.length)return 30;const t=Math.max(...e.map(e=>Math.max(e.all||0,e.paid||0))).toString().length;return Math.max(30,8*t+10)}},10067(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||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;let e;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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[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=coLine truncated
@@ -0,0 +1,5 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-script-data', 'jetpack-shared-stores', 'react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1526e4d56b3ed8e9076f');
@@ -0,0 +1,10 @@
/*! For license information please see newsletter-widget.min.js.LICENSE.txt */
(()=>{var e={28288(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(27350),s=n(68228),c=n(61562),l=n(26547),f=n(80399),d=n(97796),h=n(97935),p=n(14739),g=n(23716),y=["children","axisClassName","hideAxisLine","hideTicks","hideZero","innerRef","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function m(e){var t=e.children,n=void 0===t?l.A:t,r=e.axisClassName,o=e.hideAxisLine,m=void 0!==o&&o,b=e.hideTicks,_=void 0!==b&&b,w=e.hideZero,x=void 0!==w&&w,M=e.innerRef,A=e.left,O=void 0===A?0:A,k=e.numTicks,j=void 0===k?10:k,P=e.orientation,T=void 0===P?p.A.bottom:P,S=e.rangePadding,C=void 0===S?0:S,N=e.scale,E=e.tickFormat,D=e.tickLength,R=void 0===D?8:D,F=e.tickValues,I=e.top,U=void 0===I?0:I,L=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,y),z=null!=E?E:(0,d.A)(N),$=T===p.A.left,W=T===p.A.top,H=W||T===p.A.bottom,q=(0,f.A)(N),Y=$||W?-1:1,B=N.range(),G=(0,g.A)(C),V=(0,h.A)({x:Number(B[0])+.5-G.start,y:0},H),J=(0,h.A)({x:Number(B[B.length-1])+.5+G.end,y:0},H),X=(null!=F?F:(0,c.A)(N,j)).filter(function(e){return!x||0!==e&&"0"!==e}).map(function(e,t){return{value:e,index:t}}),Z=X.map(function(e){var t=e.value,n=e.index,r=(0,s.A)(q(t));return{value:t,index:n,from:(0,h.A)({x:r,y:0},H),to:(0,h.A)({x:r,y:R*Y},H),formattedValue:z(t,n,X)}});return i().createElement(u.A,{className:a()("visx-axis",r),innerRef:M,top:U,left:O},n(v({},L,{axisFromPoint:V,axisToPoint:J,hideAxisLine:m,hideTicks:_,hideZero:x,horizontal:H,numTicks:j,orientation:T,rangePadding:C,scale:N,tickFormat:z,tickLength:R,tickPosition:q,tickSign:Y,ticks:Z})))}},26547(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(75058),s=n(54302),c=n(54271),l=n(14739),f=n(83615);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var h={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function p(e){var t=e.axisFromPoint,n=e.axisLineClassName,r=e.axisToPoint,o=e.hideAxisLine,p=e.hideTicks,g=e.horizontal,y=e.label,v=void 0===y?"":y,m=e.labelClassName,b=e.labelOffset,_=void 0===b?14:b,w=e.labelProps,x=e.orientation,M=void 0===x?l.A.bottom:x,A=e.scale,O=e.stroke,k=void 0===O?"#222":O,j=e.strokeDasharray,P=e.strokeWidth,T=void 0===P?1:P,S=e.tickClassName,C=e.tickComponent,N=e.tickLineProps,E=e.tickLabelProps,D=e.tickLength,R=void 0===D?8:D,F=e.tickStroke,I=void 0===F?"#222":F,U=e.tickTransform,L=e.ticks,z=e.ticksComponent,$=void 0===z?f.A:z,W=d({},h,w),H=d({},h,"object"==typeof E?E:null),q=L.map(function(e){var t=e.value,n=e.index;return"function"==typeof E?E(t,n,L):H}),Y=Math.max.apply(Math,[10].concat(q.map(function(e){return"number"==typeof e.fontSize?e.fontSize:0})));return i().createElement(i().Fragment,null,$({hideTicks:p,horizontal:g,orientation:M,scale:A,tickClassName:S,tickComponent:C,tickLabelProps:q,tickStroke:I,tickTransform:U,ticks:L,strokeWidth:T,tickLineProps:N}),!o&&i().createElement(u.A,{className:a()("visx-axis-line",n),from:t,to:r,stroke:k,strokeWidth:T,strokeDasharray:j}),v&&i().createElement(s.A,d({className:a()("visx-axis-label",m)},(0,c.A)({labelOffset:_,labelProps:W,orientation:M,range:A.range(),tickLabelFontSize:Y,tickLength:R}),W),v))}},83615(e,t,n){"use strict";n.d(t,{A:()=>d});var r=n(51609),i=n.n(r),o=n(5868),a=n.n(o),u=n(75058),s=n(27350),c=n(54302),l=n(14739);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function d(e){var t=e.hideTicks,n=e.horizontal,r=e.orientation,o=e.tickClassName,d=e.tickComponent,h=e.tickLabelProps,p=e.tickStroke,g=void 0===p?"#222":p,y=e.tickTransform,v=e.ticks,m=e.strokeWidth,b=e.tickLineProps;return v.map(function(e){var p,v=e.value,_=e.index,w=e.from,x=e.to,M=e.formattedValue,A=null!=(p=h[_])?p:{},O=Math.max(10,"number"==typeof A.fontSize&&A.fontSize||0),k=x.y+(n&&r!==l.A.top?O:0);return i().createElement(s.A,{key:"visx-tick-"+v+"-"+_,className:a()("visx-axis-tick",o),transform:y},!t&&i().createElement(u.A,f({from:w,to:x,stroke:g,strokeWidth:m,strokeLinecap:"square"},b)),d?d(f({},A,{x:x.x,y:k,formattedValue:M})):i().createElement(c.A,f({x:x.x,y:k},A),M))})}},14739(e,t,n){"use strict";n.d(t,{A:()=>r});const r={top:"top",left:"left",right:"right",bottom:"bottom"}},97935(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(48698);function i(e,t){var n=e.x,i=e.y;return new r.A(t?{x:n,y:i}:{x:i,y:n})}},23716(e,t,n){"use strict";function r()Line truncated
//translators: %1$s is the total number of subscribers, %2$s is the number of email subscribers
_n("%1$s subscriber (%2$s via email)","%1$s subscribers (%2$s via email)",m,"jetpack"),(0,f.ZV)(m),(0,f.ZV)(y)),O=(0,u.sprintf)(
//translators: %s is the number of paid subscribers
_n("%s paid subscriber","%s paid subscribers",v,"jetpack"),(0,f.ZV)(v));return(0,p.jsxs)("div",{className:"newsletter-widget",children:[_&&(0,p.jsx)("div",{className:"newsletter-widget__header",children:(0,p.jsxs)("div",{className:"newsletter-widget__stats",children:[(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:s.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"all_subscribers_click",A)})})]}),(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:c.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"paid_subscribers_click",O)})})]})]})}),w&&(0,p.jsxs)("div",{className:"newsletter-widget__chart",children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Total Subscribers","jetpack")}),(0,p.jsx)(h.w,{subscriberTotalsByDate:b})]}),(0,p.jsxs)("div",{className:"newsletter-widget__footer",children:[(0,p.jsx)("p",{className:"newsletter-widget__footer-msg",children:(0,a.createInterpolateElement)(__("Effortlessly turn posts into emails with our Newsletter feature. Expand your reach, engage readers, and monetize your writing. No coding required. <link>Learn more</link>","jetpack"),{link:(0,d.j)(n,n?"https://wordpress.com/learn/courses/newsletters-101/wordpress-com-newsletter":"https://jetpack.com/support/newsletter","learn_more_click")})}),(0,p.jsxs)("div",{children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Quick Links","jetpack")}),(0,p.jsxs)("ul",{className:"newsletter-widget__footer-list",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:`${t}post-new.php`,onClick:(0,f.R)(M,"publish_post_click"),children:__("Publish your next post","jetpack")})}),g&&(0,p.jsx)("li",{children:(0,d.j)(!0,(0,f.R8)(e,t),"view_stats_click",__("View subscriber stats","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n),{anchor:"add-subscribers"}),"import_subscribers_click",__("Import subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n)),"manage_subscribers_click",__("Manage subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`${n?"earn":"monetize"}/${e}`,n)),"monetize_click",__("Monetize","jetpack"))}),x&&(0,p.jsx)("li",{children:(0,d.j)(!0,x,"newsletter_settings_click",__("Newsletter settings","jetpack"))})]})]})]})]})}},51984(e,t,n){"use strict";n.d(t,{w:()=>P});var r=n(85985),i=n(22994),o=n(53207),a=n(37372),u=n(6699),s=n(62643),c=n(7401),l=n(76883),f=n(27917),d=n(65573),h=n(94648),p=n(86087),g=n(27723),y=n(51720),v=n(54060),m=n(10790);const __=g.__,b=(0,u.A)({domain:["all","paid"],range:[y.hg.all,y.hg.paid]}),_=(0,h.A)({backgroundColor:"white",colors:[y.hg.all,y.hg.paid],gridColor:"#e0e0e0",gridColorDark:"#e0e0e0",tickLength:0,gridStyles:{strokeWidth:1},svgLabelSmall:{fill:"#1e1e1e",fontSize:13,fontWeight:400}}),w=e=>e.date,x=e=>e.all,M=e=>e.paid,A=e=>y.hg[e],O=e=>y.aH[e],k=({key:e,color:t,x:n,y:r})=>{const i=y.hg[e]||t;return(0,m.jsx)("circle",{cx:n,cy:r,r:4,fill:i,stroke:"white",strokeWidth:2},`glyph-${e}`)},j=({tooltipData:e})=>{if(!e?.nearestDatum)return null;const t=e.nearestDatum.datum,n=w(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart__tooltip-date",children:(0,v.Yq)(n,"full")}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stats",children:[(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:y.hg.all},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,g.sprintf)(
// translators: %s is the total number of subscribers.
__("All: %s","jetpack"),(0,v.ZV)(x(t)))})]}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:y.hg.paid},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,g.sprintf)(
// translators: %s is the number of paid subscribers.
__("Paid: %s","jetpack"),(0,v.ZV)(M(t)))})]})]})]})},P=({subscriberTotalsByDate:e})=>{const{tracks:t}=(0,r.st)();if((0,p.useEffect)(()=>{t.recordEvent(`${y.xe}chart_view`)},[t]),0===Object.keys(e).length)return(0,m.jsx)("div",{children:__("No data available","jetpack")});const n=(0,v.tX)(e);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart",children:(0,m.jsx)(a.A,{children:({width:e,height:t})=>e&&t?(0,m.jsxs)(f.A,{height:t,width:e,xScale:{type:"time"},yScale:{type:"linear",nice:!0},theme:_,margin:{top:10,right:30,bottom:30,left:(0,v.oO)(n)},children:[(0,m.jsx)(c.A,{columns:!1,numTicks:5}),(0,m.jsx)(d.A,{dataKey:"all",data:n,xAccessor:w,yAccessor:x,colorAccessor:A,strokeWidth:2,curve:i.G}),(0,m.jsx)(d.A,{dataKey:"paid",data:n,xAccessor:w,yAccessor:M,colorAccessor:A,strokeWidth:2,curve:i.G}),(0,m.jsx)(s.A,{orientation:"left",hideAxisLine:!0,hideTicks:!0,hideZero:!0,numTicks:5}),(0,m.jsx)(s.A,{orientation:"bottom",tickFormat:v.Ac,hideAxisLine:!0,hideTicks:!0,numTicks:5,tickValues:(0,v.NL)(n)}),(0,m.jsx)(l.A,{showVerticalCrosshair:!0,showSeriesGlyphs:!0,className:"subscribers-chart__tooltip",renderTooltip:j,renderGlyph:k})]}):null})}),(0,m.jsx)(o.A,{scale:b,direction:"row",labelFormat:O,shape:"circle",shapeWidth:10,shapeHeight:10,itemMargin:5,className:"subscribers-chart__legend"})]})}},51720(e,t,n){"use strict";n.d(t,{aH:()=>o,hg:()=>i,xe:()=>a});var r=n(27723);const __=r.__,i={all:"#3057dc",paid:"#e68b28"},o={all:__("All","jetpack"),paid:__("Paid","jetpack")},a="jetpack_newsletter_widget_"},54060(e,t,n){"use strict";n.d(t,{Ac:()=>c,NL:()=>l,Qj:()=>o,R:()=>i,R8:()=>a,Yq:()=>s,ZV:()=>u,oO:()=>d,tX:()=>f});var r=n(38443);const i=(e,t,n={})=>()=>{e.recordEvent(`jetpack_newsletter_widget_${t}`,n)},o=(e,t=!0)=>`https://${t?"wordpress.com":"cloud.jetpack.com"}/${e}`,a=(e,t)=>`${t}admin.php?page=stats#!/stats/subscribers/${e}`,u=e=>e.toLocaleString(),s=(e,t="short")=>"short"===t?(0,r.dateI18n)("M j",e):(0,r.dateI18n)("M j, Y",e),c=e=>s(e,"short"),l=e=>{if(e.length<2)return e.map(e=>e.date);const t=e[0].date,n=e[e.length-1].date,r=n.getTime()-t.getTime();return[t,new Date(t.getTime()+.25*r),new Date(t.getTime()+.5*r),new Date(t.getTime()+.75*r),n]},f=e=>Object.entries(e).map(([e,t])=>{const n=new Date(e);return isNaN(n.getTime())?null:{date:n,all:t?.all??0,paid:t?.paid??0}}).filter(Boolean).sort((e,t)=>e.date.getTime()-t.date.getTime()),d=e=>{if(0===e.length)return 30;const t=Math.max(...e.map(e=>Math.max(e.all||0,e.paid||0))).toString().length;return Math.max(30,8*t+10)}},10067(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||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;let e;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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[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=coLine truncated
@@ -0,0 +1,5 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
@@ -0,0 +1 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.newsletter-widget__header{margin-bottom:12px;padding:12px}.newsletter-widget__heading{font-weight:499!important}.newsletter-widget__footer{background-color:#f0f0f0;padding:12px}.newsletter-widget__footer-msg{margin:0 0 12px}.newsletter-widget__footer-list{column-count:2;list-style-type:disc;margin:0;padding-right:12px}.newsletter-widget__stat-label{margin-right:4px;text-decoration:none}.newsletter-widget__stats{display:flex;flex-wrap:wrap;gap:12px;width:100%}.newsletter-widget__stats>:first-child{margin-left:12px}.newsletter-widget__icon{align-items:flex-start;display:inline-flex;flex-direction:column}.newsletter-widget__stat-item{align-items:center;display:flex;gap:4px;text-decoration:none}.newsletter-widget__chart-container{padding:0 12px}.newsletter-widget__chart{box-sizing:border-box;padding:0 12px 12px;width:100%}.newsletter-widget a{text-decoration:none}.subscribers-chart{height:200px;width:100%}.subscribers-chart__tooltip{background:#fff;border-radius:4px;box-shadow:0 1px 1px #00000008,0 1px 2px #00000005,0 3px 3px #00000005,0 4px 4px #00000003;color:#1e1e1e;font-size:12px;min-width:120px;padding:8px}.subscribers-chart__tooltip-date{font-weight:499;margin-bottom:4px}.subscribers-chart__tooltip-stats{display:flex;flex-direction:column;gap:2px}.subscribers-chart__tooltip-stat{align-items:center;display:flex}.subscribers-chart__tooltip-indicator{border-radius:50%;height:8px;margin-left:4px;width:8px}.subscribers-chart__legend{display:flex;justify-content:center}#jetpack_newsletter_dashboard_widget .inside{margin:0;padding:0}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-connection', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'ea5cd0bf39454cbca79b');
@@ -0,0 +1 @@
.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-left:1.25rem;text-align:left;width:100%}
@@ -0,0 +1,2 @@
/*! For license information please see plugins-page.js.LICENSE.txt */
(()=>{var e={10254(e,t,n){"use strict";var r=n(95415),o={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},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function a(e){return r.isMemo(e)?c:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=c;var u=Object.defineProperty,d=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var c=d(n);l&&(c=c.concat(l(n)));for(var s=a(t),g=a(n),v=0;v<c.length;++v){var _=c[v];if(!(i[_]||r&&r[_]||g&&g[_]||s&&s[_])){var y=p(n,_);try{u(t,_,y)}catch(e){}}}}return t}},30689(){},15762(e,t,n){"use strict";var r=n(53761);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},28120(e,t,n){e.exports=n(15762)()},53761(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},75395(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,c=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,l=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,m=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case l:case i:case s:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case v:case g:case a:return e;default:return t}}case o:return t}}}function E(e){return S(e)===l}t.AsyncMode=d,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=a,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=c,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||S(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===u},t.isContextProvider=function(e){return S(e)===a},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===c},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===s||e===c||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===a||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===m||e.$$typeof===_)},t.typeOf=S},95415(e,t,n){"use strict";e.exports=n(75395)},97776(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,c=60114,s=60109,a=60110,u=60112,d=60113,l=60120,p=60115,f=60116,h=60121,g=60122,v=60117,_=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),c=b("react.profiler"),s=b("react.provider"),a=b("react.context"),u=b("react.forward_ref"),d=b("react.suspense"),l=b("react.suspense_list"),p=b("react.memo"),f=b("react.lazy"),h=b("react.block"),g=b("react.server.block"),v=b("react.fundamental"),_=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case c:case i:case d:case l:return e;default:switch(e=e&&e.$$typeof){case a:case u:case f:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return m(e)===a}},1444(e,t,n){"use strict";e.exports=n(97776)},92302(e,t,n){"use strict";n.d(t,{t:()=>o});var r=n(51609),o=n.n(r)().createContext(null)Line truncated
@@ -0,0 +1,17 @@
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
.jetpack-benefits__general-benefits-section{margin:0 auto;max-width:800px;width:100%}.jetpack-benefits__general-benefits-list{font-size:1rem;list-style:disc;padding-right:1.25rem;text-align:right;width:100%}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '0f49ce70efab1d959dba');
@@ -0,0 +1 @@
!function(t,e){function d(e){try{return e?t.JSON.parse(e):null}catch{return null}}t.polldaddyshortcode={render:function(){const n=e.querySelectorAll("div.pd-rating[data-settings]");if(e.querySelectorAll("div.PDS_Poll[data-settings]").forEach(n=>{if(n.hasAttribute("data-pd-init-done"))return;n.setAttribute("data-pd-init-done","1");const i=d(n.getAttribute("data-settings"));if(i){let d;try{d=new t.URL(i.url,"https://invalid.tld")}catch{return!1}if("secure.polldaddy.com"!==d.hostname&&"static.polldaddy.com"!==d.hostname)return!1;const n=d.pathname;if(!/\/?p\/\d+\.js/.test(n))return!1;const r=e.createElement("script");r.src=d.href,r.async=!0,e.head.appendChild(r)}}),n.length){let t="";if(n.forEach(e=>{if(e.hasAttribute("data-pd-init-done"))return;e.setAttribute("data-pd-init-done","1");const n=d(e.getAttribute("data-settings"));n&&(t+=`\n\t\t\t\t\t\tPDRTJS_settings_${n.id}${n.item_id} = ${n.settings};\n\t\t\t\t\t\tif ( typeof PDRTJS_RATING !== 'undefined' ) {\n\t\t\t\t\t\t\tif ( typeof PDRTJS_${n.id}${n.item_id} === 'undefined' ) {\n\t\t\t\t\t\t\t\tPDRTJS_${n.id}${n.item_id} =\n\t\t\t\t\t\t\t\t\tnew PDRTJS_RATING( PDRTJS_settings_${n.id}${n.item_id} );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t`)}),t){const d=e.querySelector("#polldaddyRatings");if(d){const n=e.createElement("script");n.id="polldaddyDynamicRatings",n.text=t,d.after(n)}}}}},e.body.addEventListener("is.post-load",()=>t.polldaddyshortcode.render()),void 0!==t.jQuery?(t.jQuery(e.body).on("pd-script-load",()=>t.polldaddyshortcode.render()),t.jQuery(e.body).trigger("pd-script-load")):(e.body.addEventListener("pd-script-load",()=>t.polldaddyshortcode.render()),e.body.dispatchEvent(new Event("pd-script-load")))}(window,document);
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'f1b836831cadc4ab3e56');
@@ -0,0 +1 @@
!function(t){"use strict";t("jetpack_relatedposts[show_headline]",function(e){t.control("jetpack_relatedposts[headline]",function(t){var n,i;i=function(){return e.findControls()[0].active.get()&&e.get()},n=function(){t.active.set(i())},t.active.validate=i,n(),e.bind(n)})})}(wp.customize);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'cd49d30a5ea88671952a');
@@ -0,0 +1 @@
!function(){"use strict";var t={response:null,getEndpointURL:function(t){var e,s="undefined"!=typeof wp&&wp.customize&&wp.customize.settings&&wp.customize.settings.url&&wp.customize.settings.url.self;s?(e=document.createElement("a")).href=wp.customize.settings.url.self:e=document.location,"string"==typeof t&&t.match(/^https?:\/\//)&&((e=document.createElement("a")).href=t);var a="relatedposts=1",o=document.querySelector("#jp-relatedposts");if(!o)return!1;o.hasAttribute("data-exclude")&&(a+="&relatedposts_exclude="+o.getAttribute("data-exclude")),s&&(a+="&jetpackrpcustomize=1");var r=e.pathname;return"/"!==r[0]&&(r="/"+r),""===e.search?r+"?"+a:r+e.search+"&"+a},getAnchor:function(t,e){var s=t.title,a=document.createElement("a");a.setAttribute("class",e),a.setAttribute("href",t.url),a.setAttribute("title",s),a.setAttribute("data-origin",t.url_meta.origin),a.setAttribute("data-position",t.url_meta.position),""!==t.rel&&a.setAttribute("rel",t.rel);var o=document.createElement("div");o.appendChild(a);var r=o.innerHTML;return[r.substring(0,r.length-4),"</a>"]},generateMinimalHtml:function(t,e){var s=this,a="";return t.forEach(function(t,o){var r=s.getAnchor(t,"jp-relatedposts-post-a"),p="jp-relatedposts-post jp-relatedposts-post"+o;t.classes.length>0&&(p+=" "+t.classes.join(" ")),a+='<p class="'+p+'" data-post-id="'+t.id+'" data-post-format="'+t.format+'">',a+='<span class="jp-relatedposts-post-title">'+r[0]+t.title+r[1]+"</span>",e.showDate&&(a+='<time class="jp-relatedposts-post-date" datetime="'+t.date+'">'+t.date+"</time>"),e.showContext&&(a+='<span class="jp-relatedposts-post-context">'+t.context+"</span>"),a+="</p>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-minimal jp-relatedposts-'+e.layout+' ">'+a+"</div>"},generateVisualHtml:function(t,e){var s=this,a="";return t.forEach(function(t,o){var r=s.getAnchor(t,"jp-relatedposts-post-a"),p="jp-relatedposts-post jp-relatedposts-post"+o;t.classes.length>0&&(p+=" "+t.classes.join(" ")),t.img.src?p+=" jp-relatedposts-post-thumbs":p+=" jp-relatedposts-post-nothumbs";var i=document.createElement("p");i.innerHTML=t.excerpt;var n=i.textContent;if(a+='<div class="'+p+'" data-post-id="'+t.id+'" data-post-format="'+t.format+'">',t.img.src)a+=r[0]+'<img class="jp-relatedposts-post-img" loading="lazy" src="'+t.img.src+'" width="'+t.img.width+'" height="'+t.img.height+(t.img.srcset?'" srcset="'+t.img.srcset:"")+(t.img.sizes?'" sizes="'+t.img.sizes:"")+'" alt="'+t.img.alt_text+'" />'+r[1];else{var l=s.getAnchor(t,"jp-relatedposts-post-a jp-relatedposts-post-aoverlay");a+=l[0]+l[1]}a+="<"+related_posts_js_options.post_heading+' class="jp-relatedposts-post-title">'+r[0]+t.title+r[1]+"</"+related_posts_js_options.post_heading+">",a+='<p class="jp-relatedposts-post-excerpt">'+n+"</p>",e.showDate&&(a+='<time class="jp-relatedposts-post-date" datetime="'+t.date+'">'+t.date+"</time>"),e.showContext&&(a+='<p class="jp-relatedposts-post-context">'+t.context+"</p>"),a+="</div>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-visual jp-relatedposts-'+e.layout+' ">'+a+"</div>"},setVisualExcerptHeights:function(){var t=document.querySelectorAll("#jp-relatedposts .jp-relatedposts-post-nothumbs .jp-relatedposts-post-excerpt");if(t.length)for(var e=getComputedStyle(t[0]),s=parseInt(e.fontSize,10),a=parseInt(e.lineHeight,10),o=0;o<t.length;o++)t[o].style.maxHeight=5*a/s+"em"},getTrackedUrl:function(t){var e="relatedposts_hit=1";e+="&relatedposts_origin="+t.getAttribute("data-origin"),e+="&relatedposts_position="+t.getAttribute("data-position");var s=t.pathname;return"/"!==s[0]&&(s="/"+s),""===t.search?s+"?"+e:s+t.search+"&"+e},cleanupTrackedUrl:function(){if("function"==typeof history.replaceState){var t=document.location.search.replace(/\brelatedposts_[a-z]+=[0-9]*&?\b/gi,"");"?"===t&&(t=""),document.location.search!==t&&history.replaceState({},document.title,document.location.pathname+t)}}};function e(){t.setVisualExcerptHeights();var e=document.querySelectorAll("#jp-relatedposts a.jp-relatedposts-post-a");Array.prototype.forEach.call(e,function(e){document.addEventListener("click",function(){e.href=t.getTrackedUrl(e)})})}function s(){t.cleanupTrackedUrl();var s=t.getEndpointURL();if(s)if(document.querySelectorAll("#jp-relatedposts .jp-relatedposts-post").length)e();else{var a=document.querySelector("#jp-relatedposts"),o=new XMLHttpRequest;o.open("GET",s,!0),o.setRequestHeader("x-requested-with","XMLHttpRequest"),o.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE&&200===this.status)try{var s=JSON.parse(o.responseText);if(0===s.items.length||0===a.length)return;t.response=s;var r,p,i={};"undefined"!=typeof wp&&wp.customize?(p=wp.customize.instance("jetpack_relatedposts[show_thumbnails]").get(),i.showDate=wp.customize.instance("jetpack_relatedposts[show_date]").get(),i.showContext=wp.customize.instance("jetpack_relatedposts[show_context]").get(),i.layout=wp.customize.instance("jetpack_relatedposts[layout]").get()):(p=s.show_thumbnails,i.showDaLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'df840bdf3ea6c10b501e');
@@ -0,0 +1 @@
!function(e){var t;function n(t){var n=document.getElementById("wp-admin-bar-jetpack-scan-notice");if(n)if(t){var a=1===t?e.singular:e.multiple;n.innerHTML='<a href="'+e.scan_dashboard_url+'" class="ab-item">'+a+"</a>"}else n.parentNode.removeChild(n)}t=function(){var t;(t=new XMLHttpRequest).open("GET",e.scan_endpoint,!0),t.onload=function(){if(200===this.status){var e=JSON.parse(this.response);if(e&&e.data){var t=JSON.parse(e.data);n(t.threats&&t.threats.length?t.threats.length:0)}else n(0)}else n(0)},t.setRequestHeader("X-WP-Nonce",e.nonce),t.send()},"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}(window.Jetpack_Scan);
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a1e99b338ac8a909cc6e');
@@ -0,0 +1 @@
(()=>{var e;(e=jQuery)(document).ready(function(){function i(){e(".preview a.sharing-anchor").unbind("mouseenter mouseenter").hover(function(){if(!0!==e(this).data("hasappeared")){var i=e(".sharing-hidden .inner"),a=e(this).parents("li"),s=setTimeout(function(){e(i).css({left:e(a).position().left+"px",top:e(a).position().top+e(a).height()+3+"px"}).slideDown(200,function(){e(a).data("hasappeared",!0).data("hasoriginal",!0).data("hasitem",!1),e(i).mouseleave(s).mouseenter(n),e(a).mouseleave(r).mouseenter(t),e(a).click(l)});var s=function(){if(e(a).data("hasitem",!1),!1===e(a).data("hasoriginal")){var i=setTimeout(l,800);e(a).data("timer2",i)}},n=function(){e(a).data("hasitem",!0),clearTimeout(e(a).data("timer2"))},r=function(){if(e(a).data("hasoriginal",!1),!1===e(a).data("hasitem")){var i=setTimeout(l,800);e(a).data("timer2",i)}},t=function(){e(a).data("hasoriginal",!0),clearTimeout(e(a).data("timer2"))},l=function(){return i.slideUp(200),e(a).unbind("mouseleave",r).unbind("mouseenter",t),e(i).unbind("mouseleave",s).unbind("mouseenter",s),e(a).data("hasappeared",!1),e(a).unbind("click",l),!1}},200);e(this).data("timer",s)}},function(){clearTimeout(e(this).data("timer")),e(this).data("timer",!1)})}function a(){var a=e("#button_style").val(),s=e(".sharedaddy"),n="sd-social-official";"official"===a?s.addClass(n):s.removeClass(n),e("#live-preview ul.preview li").remove(),(e("#save-enabled-shares input[name=visible]").val()||e("#save-enabled-shares input[name=hidden]").val())&&e("#live-preview ul.preview").append(e("#live-preview ul.archive .sharing-label").clone()),e("ul.services-enabled li").each(function(){if(e(this).hasClass("service")){var i=e(this).attr("id");e("#live-preview ul.preview").append(e("#live-preview ul.archive li.preview-"+i).clone())}}),e("#save-enabled-shares input[name=hidden]").val()&&(e("#live-preview ul.preview").append(e("#live-preview ul.archive .share-more").parent().clone()),e(".sharing-hidden ul li").remove(),e("ul.services-hidden li").each(function(){if(e(this).hasClass("service")){var i=e(this).attr("id");e(".sharing-hidden .inner ul").append(e("#live-preview ul.archive .preview-"+i).clone())}}),i()),e("#live-preview div.sharedaddy").removeClass("sd-social-icon"),e("#live-preview li.advanced").removeClass("no-icon"),"icon"===a?(e("#live-preview ul.preview div span, .sharing-hidden .inner ul div span").html("&nbsp;").parent().addClass("no-text"),e("#live-preview div.sharedaddy").addClass("sd-social-icon")):"official"===a?e("#live-preview ul.preview .advanced, .sharing-hidden .inner ul .advanced").each(function(){e(this).hasClass("preview-press-this")||e(this).hasClass("preview-email")||e(this).hasClass("preview-mastodon")||e(this).hasClass("preview-nextdoor")||e(this).hasClass("preview-bluesky")||e(this).hasClass("preview-print")||e(this).hasClass("preview-reddit")||e(this).hasClass("preview-telegram")||e(this).hasClass("preview-threads")||e(this).hasClass("preview-jetpack-whatsapp")||e(this).hasClass("share-custom")||e(this).hasClass("share-deprecated")||e(this).find(".option a span").html("").parent().removeClass("sd-button").parent().attr("class","option option-smart-on")}):"text"===a&&e("#live-preview li.advanced").addClass("no-icon")}function s(e){jQuery("."+e+"-extra-options").css({backgroundColor:"#ffffcc"}).fadeIn()}function n(){e("#enabled-services h3 .spinner").addClass("is-active"),e("#enabled-services ul.services-enabled li.service").length>0?e("#drag-instructions").hide():e("#drag-instructions").show(),e("#enabled-services li.service").length>0?e("#live-preview .services h2").hide():e("#live-preview .services h2").show();var i=[],n=[];e("ul.services-enabled li").each(function(){e(this).hasClass("service")&&(i[i.length]=e(this).attr("id"),s(e(this).attr("id")))}),e("ul.services-available li").each(function(){var i;e(this).hasClass("service")&&(i=e(this).attr("id"),jQuery("."+i+"-extra-options").fadeOut("slow"))}),e("ul.services-hidden li").each(function(){e(this).hasClass("service")&&(n[n.length]=e(this).attr("id"),s(e(this).attr("id")))}),e("#save-enabled-shares input[name=visible]").val(i.join(",")),e("#save-enabled-shares input[name=hidden]").val(n.join(",")),a(),e("#save-enabled-shares").ajaxSubmit(function(){e("#enabled-services h3 .spinner").removeClass("is-active")})}function r(e,i){var a,s=e.parent(),r=s.find("li"),t=r.index(e)+1,l=r.length-1;if(!s.hasClass("services-available")){if("left"===i){if(1===t)return;var d=e.prev();a=e.detach(),d.before(a),d.prev().focus()}if("right"===i){if(t===l)return;var c=e.next();a=e.detach(),c.after(a),c.next().focus()}n()}}function t(i){var a,s=i.parent();a=s.hasClass("services-available")?"services-enabled":s.hasClass("services-enabled")?"services-hidden":"services-available";var r=i.detach();e("."+a).prepend(r).find("li:first-child").focus(),n()}window.sharing_option_changed=function(){var i=this;return e(this).parents("li:first").css("backgroundImage",'url("'+sharing_loading_icon+'")'),e(this).parents("form").ajaxSubmit(funcLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e180427c062b50247f57');
@@ -0,0 +1 @@
!function(){var e=document.currentScript;function t(t){var n=document.createElement("script"),o=e||document.getElementsByTagName("script")[0];n.setAttribute("async",!0),n.setAttribute("src",t),o.parentNode.insertBefore(n,o)}function n(e,t){return Element.prototype.matches?e.matches(t):Element.prototype.msMatchesSelector?e.msMatchesSelector(t):void 0}function o(e,t){if(e.closest)return e.closest(t);var o=e;do{if(n(o,t))return o;o=o.parentElement||o.parentNode}while(null!==o&&1===o.nodeType);return null}function i(e,t){for(var n=0;n<e.length;n++)t(e[n],n,e)}var r=".sharing-hidden .inner",s="data-sharing-more-button-id";function a(e){this.button=e,this.pane=o(e,"div").querySelector(r),this.openedBy=null,this.recentlyOpenedByHover=!1,a.instances.push(this),this.pane.setAttribute(s,a.instances.length-1),this.attachHandlers()}if(a.instances=[],a.hoverOpenDelay=200,a.recentOpenDelay=400,a.hoverCloseDelay=300,a.instantiateOrReuse=function(e){var t=o(e,"div").querySelector(r),n=t&&t.getAttribute(s),i=a.instances[n];return i||new a(e)},a.getButtonInstanceFromPane=function(e){var t=e&&e.getAttribute(s);return a.instances[t]},a.closeAll=function(){for(var e=0;e<a.instances.length;e++)a.instances[e].close()},a.prototype.open=function(){var e,t,n=[0,0];function o(e){var t=e.getBoundingClientRect();return[t.left+(window.scrollX||window.pageXOffset||0),t.top+(window.scrollY||window.pageYOffset||0)]}function i(e,t){return parseInt(getComputedStyle(e).getPropertyValue(t)||0)}for(e=o(this.button),t=this.button.offsetParent||document.documentElement;t&&(t===document.body||t===document.documentElement)&&"static"===getComputedStyle(t).getPropertyValue("position");)t=t.parentNode;t&&t!==this.button&&1===t.nodeType&&(n=[(n=o(t))[0]+i(t,"border-left-width"),n[1]+i(t,"border-top-width")]);var r,s=e[0]-n[0]-i(this.button,"margin-left"),a=e[1]-n[1]-i(this.button,"margin-top");this.pane.style.left=s+"px",this.pane.style.top=a+this.button.offsetHeight+3+"px",(r=this.pane)&&r.style.removeProperty("display")},a.prototype.close=function(){var e;(e=this.pane)&&(e.style.display="none"),this.openedBy=null},a.prototype.toggle=function(){var e;(e=this.pane)&&"none"!==e.style.display?this.close():this.open()},a.prototype.nonHoverOpen=function(){clearTimeout(this.openTimer),clearTimeout(this.closeTimer),this.recentlyOpenedByHover?(this.recentlyOpenedByHover=!1,clearTimeout(this.hoverOpenTimer),this.open()):this.toggle()},a.prototype.resetCloseTimer=function(){clearTimeout(this.closeTimer),this.closeTimer=setTimeout(this.close.bind(this),a.hoverCloseDelay)},a.prototype.attachHandlers=function(){this.buttonClick=function(e){e.preventDefault(),e.stopPropagation(),this.openedBy="click",this.nonHoverOpen()}.bind(this),this.buttonKeydown=function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),e.stopPropagation(),this.openedBy="keydown",this.nonHoverOpen())}.bind(this),this.buttonEnter=function(){this.openedBy||(this.openTimer=setTimeout(function(){this.open(),this.openedBy="hover",this.recentlyOpenedByHover=!0,this.hoverOpenTimer=setTimeout(function(){this.recentlyOpenedByHover=!1}.bind(this),a.recentOpenDelay)}.bind(this),a.hoverOpenDelay)),clearTimeout(this.closeTimer)}.bind(this),this.buttonLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer(),clearTimeout(this.openTimer)}.bind(this),this.paneEnter=function(){clearTimeout(this.closeTimer)}.bind(this),this.paneLeave=function(){"hover"===this.openedBy&&this.resetCloseTimer()}.bind(this),this.documentClick=function(){this.close()}.bind(this),this.button.addEventListener("click",this.buttonClick),this.button.addEventListener("keydown",this.buttonKeydown),document.addEventListener("click",this.documentClick),void 0===document.ontouchstart&&(this.button.addEventListener("mouseenter",this.buttonEnter),this.button.addEventListener("mouseleave",this.buttonLeave),this.pane.addEventListener("mouseenter",this.paneEnter),this.pane.addEventListener("mouseleave",this.paneLeave))},window.sharing_js_options&&window.sharing_js_options.counts){var c={done_urls:[],get_counts:function(){var e,n,o,i,r;if("undefined"!=typeof WPCOM_sharing_counts)for(e in WPCOM_sharing_counts)if(o=WPCOM_sharing_counts[e],void 0===c.done_urls[o]){for(i in n={pinterest:[window.location.protocol+"//api.pinterest.com/v1/urls/count.json?callback=WPCOMSharing.update_pinterest_count&url="+encodeURIComponent(e)]})if(document.querySelector("a[data-shared=sharing-"+i+"-"+o+"]")){for(;r=n[i].pop();)t(r);window.sharing_js_options.is_stats_active&&c.bump_sharing_count_stat(i)}c.done_urls[o]=!0}},update_pinterest_count:function(e){void 0!==e.count&&1*e.count>0&&c.inject_share_count("sharing-pinterest-"+WPCOM_sharing_counts[e.url],e.count)},inject_share_count:function(e,t){i(document.querySelectorAll("a[data-shared="+e+"] > span"),function(e){var n,o=e.querySelector(".share-count");(n=o)&&n.parentNode&&n.parentNode.removeChild(n);var i=document.createElement("span");i.className="share-count",i.textContent=c.format_count(t),e.appendChiLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '2173f61ce5c802a11b45');
@@ -0,0 +1 @@
(()=>{var e,t,c,r;e=jQuery,t=document.createElement("script"),c="co.jp"===brightcoveData.tld?"co.jp":"com",r=!1,t.src="https://sadmin.brightcove."+c+"/js/BrightcoveExperiences.js",t.type="text/javascript",t.language="JavaScript",document.head.appendChild(t),function t(){clearTimeout(r),"object"==typeof brightcove?(e(document).ready(brightcove.createExperiences),e("body").on("post-load",brightcove.createExperiences),brightcove.createExperiences()):r=setTimeout(t,100)}()})();
Loaded 100 of 17470 files, more files were not shown because too many files have changed in this diff. Show more