Jetpack Boost – Website Speed, Performance and Critical CSS - Version 1.5.4

Version Description

Download this release

Release Info

Developer jetpackisbestpack
Plugin Icon 128x128 Jetpack Boost – Website Speed, Performance and Critical CSS
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

Files changed (34) hide show
  1. CHANGELOG.md +4 -1
  2. app/admin/class-config.php +2 -1
  3. app/assets/dist/jetpack-boost.js +2 -2
  4. app/lib/Premium_Pricing.php +5 -1
  5. composer.json +2 -2
  6. jetpack-boost.php +4 -4
  7. jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md +5 -0
  8. jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md +5 -0
  9. jetpack_vendor/automattic/jetpack-redirect/composer.json +1 -1
  10. jetpack_vendor/automattic/jetpack-status/CHANGELOG.md +5 -0
  11. jetpack_vendor/automattic/jetpack-status/composer.json +1 -1
  12. jetpack_vendor/automattic/jetpack-status/src/class-host.php +20 -0
  13. readme.txt +3 -14
  14. vendor/autoload.php +1 -1
  15. vendor/autoload_packages.php +1 -1
  16. vendor/composer/autoload_real.php +7 -7
  17. vendor/composer/autoload_static.php +5 -5
  18. vendor/composer/installed.json +23 -23
  19. vendor/composer/installed.php +13 -13
  20. vendor/composer/jetpack_autoload_classmap.php +94 -94
  21. vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
  22. vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
  23. vendor/jetpack-autoloader/class-autoloader.php +1 -1
  24. vendor/jetpack-autoloader/class-container.php +1 -1
  25. vendor/jetpack-autoloader/class-hook-manager.php +1 -1
  26. vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
  27. vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
  28. vendor/jetpack-autoloader/class-path-processor.php +1 -1
  29. vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
  30. vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
  31. vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
  32. vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
  33. vendor/jetpack-autoloader/class-version-loader.php +1 -1
  34. vendor/jetpack-autoloader/class-version-selector.php +1 -1
CHANGELOG.md CHANGED
@@ -5,9 +5,11 @@ All notable changes to this project will be documented in this file.
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
 
 
 
8
 
9
  ## [1.5.3] - 2022-10-25
10
-
11
  ### Added
12
  - Compatibility: Added a compatibility module for WP Super Cache.
13
  - Compatibility: Tested with v6.1 of WordPress.
@@ -176,6 +178,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
176
  [1.3.0-beta]: https://github.com/Automattic/jetpack-boost-production/compare/v1.2.0...v1.3.0-beta
177
  [1.2.0]: https://github.com/Automattic/jetpack-boost-production/compare/v1.1.0...v1.2.0-beta
178
  [1.4.3-beta]: https://github.com/Automattic/jetpack-boost-production/compare/v1.4.2...v1.4.3-beta
 
179
  [1.5.3]: https://github.com/Automattic/jetpack-boost-production/compare/v1.5.1...v1.5.3
180
  [1.5.1]: https://github.com/Automattic/jetpack-boost-production/compare/v1.5.0...v1.5.1
181
  [1.5.0]: https://github.com/Automattic/jetpack-boost-production/compare/v1.4.1...v1.5.0
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
8
+ ## [1.5.4] - 2022-11-09
9
+ ### Fixed
10
+ - Fixed an issue that caused boost to break on offline sites [#27312]
11
 
12
  ## [1.5.3] - 2022-10-25
 
13
  ### Added
14
  - Compatibility: Added a compatibility module for WP Super Cache.
15
  - Compatibility: Tested with v6.1 of WordPress.
178
  [1.3.0-beta]: https://github.com/Automattic/jetpack-boost-production/compare/v1.2.0...v1.3.0-beta
179
  [1.2.0]: https://github.com/Automattic/jetpack-boost-production/compare/v1.1.0...v1.2.0-beta
180
  [1.4.3-beta]: https://github.com/Automattic/jetpack-boost-production/compare/v1.4.2...v1.4.3-beta
181
+ [1.5.4]: https://github.com/Automattic/jetpack-boost-production/compare/v1.5.3...v1.5.4
182
  [1.5.3]: https://github.com/Automattic/jetpack-boost-production/compare/v1.5.1...v1.5.3
183
  [1.5.1]: https://github.com/Automattic/jetpack-boost-production/compare/v1.5.0...v1.5.1
184
  [1.5.0]: https://github.com/Automattic/jetpack-boost-production/compare/v1.4.1...v1.5.0
app/admin/class-config.php CHANGED
@@ -164,7 +164,8 @@ class Config {
164
  * Check if force redirect to getting started page is enabled.
165
  */
166
  public static function is_getting_started() {
167
- return \get_option( 'jb_get_started', false );
 
168
  }
169
 
170
  /**
164
  * Check if force redirect to getting started page is enabled.
165
  */
166
  public static function is_getting_started() {
167
+ // Aside from the boolean flag in the database, we also assume site already got started if they have premium features.
168
+ return \get_option( 'jb_get_started', false ) && ! Premium_Features::has_feature( Premium_Features::CLOUD_CSS ) && ! ( new Status() )->is_offline_mode();
169
  }
170
 
171
  /**
app/assets/dist/jetpack-boost.js CHANGED
@@ -1,4 +1,4 @@
1
- var app=function(e,t,n,o){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(e),i=r(n);function a(){}const c=e=>e;function l(e,t){for(const n in t)e[n]=t[n];return e}function u(e){return e()}function p(){return Object.create(null)}function d(e){e.forEach(u)}function m(e){return"function"==typeof e}function h(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let g;function f(e,...t){if(null==e)return a;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function _(e){let t;return f(e,(e=>t=e))(),t}function b(e,t,n){e.$$.on_destroy.push(f(t,n))}function y(e,t,n,o){if(e){const r=v(e,t,n,o);return e[0](r)}}function v(e,t,n,o){return e[1]&&o?l(n.ctx.slice(),e[1](o(t))):n.ctx}function $(e,t,n,o){if(e[2]&&o){const r=e[2](o(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let o=0;o<n;o+=1)e[o]=t.dirty[o]|r[o];return e}return t.dirty|r}return t.dirty}function w(e,t,n,o,r,s){if(r){const i=v(t,n,o,s);e.p(i,r)}}function x(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function k(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function j(e,t){const n={};t=new Set(t);for(const o in e)t.has(o)||"$"===o[0]||(n[o]=e[o]);return n}const S="undefined"!=typeof window;let C=S?()=>window.performance.now():()=>Date.now(),E=S?e=>requestAnimationFrame(e):a;const L=new Set;function P(e){L.forEach((t=>{t.c(e)||(L.delete(t),t.f())})),0!==L.size&&E(P)}let z=!1;function B(e,t,n,o){for(;e<t;){const r=e+(t-e>>1);n(r)<=o?e=r+1:t=r}return e}function M(e,t){e.appendChild(t)}function N(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function T(e){const t=D("style");return function(e,t){M(e.head||e,t)}(N(e),t),t.sheet}function O(e,t){if(z){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n<t.length;n++){const o=t[n];void 0!==o.claim_order&&e.push(o)}t=e}const n=new Int32Array(t.length+1),o=new Int32Array(t.length);n[0]=-1;let r=0;for(let e=0;e<t.length;e++){const s=t[e].claim_order,i=(r>0&&t[n[r]].claim_order<=s?r+1:B(1,r,(e=>t[n[e]].claim_order),s))-1;o[e]=n[i]+1;const a=i+1;n[a]=e,r=Math.max(a,r)}const s=[],i=[];let a=t.length-1;for(let e=n[r]+1;0!=e;e=o[e-1]){for(s.push(t[e-1]);a>=e;a--)i.push(t[a]);a--}for(;a>=0;a--)i.push(t[a]);s.reverse(),i.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t<i.length;t++){for(;n<s.length&&i[t].claim_order>=s[n].claim_order;)n++;const o=n<s.length?s[n]:null;e.insertBefore(i[t],o)}}(e),(void 0===e.actual_end_child||null!==e.actual_end_child&&e.actual_end_child.parentElement!==e)&&(e.actual_end_child=e.firstChild);null!==e.actual_end_child&&void 0===e.actual_end_child.claim_order;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?void 0===t.claim_order&&t.parentNode===e||e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else t.parentNode===e&&null===t.nextSibling||e.appendChild(t)}function R(e,t,n){e.insertBefore(t,n||null)}function A(e,t,n){z&&!n?O(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function I(e){e.parentNode.removeChild(e)}function V(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function D(e){return document.createElement(e)}function F(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function H(e){return document.createTextNode(e)}function J(){return H(" ")}function W(){return H("")}function U(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function G(e){return function(t){return t.preventDefault(),e.call(this,t)}}function K(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function q(e,t){for(const n in t)K(e,n,t[n])}function Y(e){return Array.from(e.childNodes)}function X(e,t,n){return function(e,t,n,o){return function(e,t,n,o,r=!1){!function(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}(e);const s=(()=>{for(let o=e.claim_info.last_index;o<e.length;o++){const s=e[o];if(t(s)){const t=n(s);return void 0===t?e.splice(o,1):e[o]=t,r||(e.claim_info.last_index=o),s}}for(let o=e.claim_info.last_index-1;o>=0;o--){const s=e[o];if(t(s)){const t=n(s);return void 0===t?e.splice(o,1):e[o]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=o,s}}return o()})();return s.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,s}(e,(e=>e.nodeName===t),(e=>{const t=[];for(let o=0;o<e.attributes.length;o++){const r=e.attributes[o];n[r.name]||t.push(r.name)}t.forEach((t=>e.removeAttribute(t)))}),(()=>o(t)))}(e,t,n,F)}function Z(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function Q(e,t,n,o){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function ee(e,t,n){e.classList[n?"add":"remove"](t)}function te(e,t,{bubbles:n=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n,o,t),r}const ne=new Map;let oe,re=0;function se(e,t,n,o,r,s,i,a=0){const c=16.666/o;let l="{\n";for(let e=0;e<=1;e+=c){const o=t+(n-t)*s(e);l+=100*e+`%{${i(o,1-o)}}\n`}const u=l+`100% {${i(n,1-n)}}\n}`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${a}`,d=N(e),{stylesheet:m,rules:h}=ne.get(d)||function(e,t){const n={stylesheet:T(t),rules:{}};return ne.set(e,n),n}(d,e);h[p]||(h[p]=!0,m.insertRule(`@keyframes ${p} ${u}`,m.cssRules.length));const g=e.style.animation||"";return e.style.animation=`${g?`${g}, `:""}${p} ${o}ms linear ${r}ms 1 both`,re+=1,p}function ie(e,t){const n=(e.style.animation||"").split(", "),o=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-o.length;r&&(e.style.animation=o.join(", "),re-=r,re||E((()=>{re||(ne.forEach((e=>{const{stylesheet:t}=e;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}})),ne.clear())})))}function ae(e){oe=e}function ce(){if(!oe)throw new Error("Function called outside component initialization");return oe}function le(e){ce().$$.on_mount.push(e)}function ue(e){ce().$$.on_destroy.push(e)}function pe(){const e=ce();return(t,n,{cancelable:o=!1}={})=>{const r=e.$$.callbacks[t];if(r){const s=te(t,n,{cancelable:o});return r.slice().forEach((t=>{t.call(e,s)})),!s.defaultPrevented}return!0}}function de(e,t){return ce().$$.context.set(e,t),t}function me(e){return ce().$$.context.get(e)}function he(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const ge=[],fe=[],_e=[],be=[],ye=Promise.resolve();let ve=!1;function $e(){ve||(ve=!0,ye.then(Se))}function we(e){_e.push(e)}const xe=new Set;let ke,je=0;function Se(){const e=oe;do{for(;je<ge.length;){const e=ge[je];je++,ae(e),Ce(e.$$)}for(ae(null),ge.length=0,je=0;fe.length;)fe.pop()();for(let e=0;e<_e.length;e+=1){const t=_e[e];xe.has(t)||(xe.add(t),t())}_e.length=0}while(ge.length);for(;be.length;)be.pop()();ve=!1,xe.clear(),ae(e)}function Ce(e){if(null!==e.fragment){e.update(),d(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(we)}}function Ee(e,t,n){e.dispatchEvent(te(`${t?"intro":"outro"}${n}`))}const Le=new Set;let Pe;function ze(){Pe={r:0,c:[],p:Pe}}function Be(){Pe.r||d(Pe.c),Pe=Pe.p}function Me(e,t){e&&e.i&&(Le.delete(e),e.i(t))}function Ne(e,t,n,o){if(e&&e.o){if(Le.has(e))return;Le.add(e),Pe.c.push((()=>{Le.delete(e),o&&(n&&e.d(1),o())})),e.o(t)}else o&&o()}const Te={duration:0};function Oe(e,t,n,o){let r=t(e,n),s=o?0:1,i=null,l=null,u=null;function p(){u&&ie(e,u)}function h(e,t){const n=e.b-s;return t*=Math.abs(n),{a:s,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function g(t){const{delay:n=0,duration:o=300,easing:m=c,tick:g=a,css:f}=r||Te,_={start:C()+n,b:t};t||(_.group=Pe,Pe.r+=1),i||l?l=_:(f&&(p(),u=se(e,s,t,o,n,m,f)),t&&g(0,1),i=h(_,o),we((()=>Ee(e,t,"start"))),function(e){let t;0===L.size&&E(P),new Promise((n=>{L.add(t={c:e,f:n})}))}((t=>{if(l&&t>l.start&&(i=h(l,o),l=null,Ee(e,i.b,"start"),f&&(p(),u=se(e,s,i.b,i.duration,0,m,r.css))),i)if(t>=i.end)g(s=i.b,1-s),Ee(e,i.b,"end"),l||(i.b?p():--i.group.r||d(i.group.c)),i=null;else if(t>=i.start){const e=t-i.start;s=i.a+i.d*m(e/i.duration),g(s,1-s)}return!(!i&&!l)})))}return{run(e){m(r)?(ke||(ke=Promise.resolve(),ke.then((()=>{ke=null}))),ke).then((()=>{r=r(),g(e)})):g(e)},end(){p(),i=l=null}}}function Re(e,t){Ne(e,1,1,(()=>{t.delete(e.key)}))}function Ae(e,t){const n={},o={},r={$$scope:1};let s=e.length;for(;s--;){const i=e[s],a=t[s];if(a){for(const e in i)e in a||(o[e]=1);for(const e in a)r[e]||(n[e]=a[e],r[e]=1);e[s]=a}else for(const e in i)r[e]=1}for(const e in o)e in n||(n[e]=void 0);return n}function Ie(e){return"object"==typeof e&&null!==e?e:{}}function Ve(e){e&&e.c()}function De(e,t,n,o){const{fragment:r,on_mount:s,on_destroy:i,after_update:a}=e.$$;r&&r.m(t,n),o||we((()=>{const t=s.map(u).filter(m);i?i.push(...t):d(t),e.$$.on_mount=[]})),a.forEach(we)}function Fe(e,t){const n=e.$$;null!==n.fragment&&(d(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function He(e,t,n,o,r,s,i,c=[-1]){const l=oe;ae(e);const u=e.$$={fragment:null,ctx:null,props:s,update:a,not_equal:r,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:p(),dirty:c,skip_bound:!1,root:t.target||l.$$.root};i&&i(u.root);let m=!1;if(u.ctx=n?n(e,t.props||{},((t,n,...o)=>{const s=o.length?o[0]:n;return u.ctx&&r(u.ctx[t],u.ctx[t]=s)&&(!u.skip_bound&&u.bound[t]&&u.bound[t](s),m&&function(e,t){-1===e.$$.dirty[0]&&(ge.push(e),$e(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],u.update(),m=!0,d(u.before_update),u.fragment=!!o&&o(u.ctx),t.target){if(t.hydrate){z=!0;const e=Y(t.target);u.fragment&&u.fragment.l(e),e.forEach(I)}else u.fragment&&u.fragment.c();t.intro&&Me(e.$$.fragment),De(e,t.target,t.anchor,t.customElement),z=!1,Se()}ae(l)}class Je{$destroy(){Fe(this,1),this.$destroy=a}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var We={exports:{}},Ue={};Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var o=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==o.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;var Ge=s.default,Ke=60103;if(Ue.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var qe=Symbol.for;Ke=qe("react.element"),Ue.Fragment=qe("react.fragment")}var Ye=Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xe=Object.prototype.hasOwnProperty,Ze={key:!0,ref:!0,__self:!0,__source:!0};function Qe(e,t,n){var o,r={},s=null,i=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(i=t.ref),t)Xe.call(t,o)&&!Ze.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:Ke,type:e,key:s,ref:i,props:r,_owner:Ye.current}}Ue.jsx=Qe,Ue.jsxs=Qe,We.exports=Ue;var et,tt={exports:{}};et=tt,function(){var e={}.hasOwnProperty;function t(){for(var n=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var s=typeof r;if("string"===s||"number"===s)n.push(r);else if(Array.isArray(r)){if(r.length){var i=t.apply(null,r);i&&n.push(i)}}else if("object"===s)if(r.toString===Object.prototype.toString)for(var a in r)e.call(r,a)&&r[a]&&n.push(a);else n.push(r.toString())}}return n.join(" ")}et.exports?(t.default=t,et.exports=t):window.classNames=t}();var nt=tt.exports;function ot(e,t={}){const n={};let o;if("undefined"!=typeof window&&(o=window.Initial_State?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),o&&(n.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}class rt extends e.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return t.__("Has audio.","jetpack");case"gridicons-calendar":return t.__("Is an event.","jetpack");case"gridicons-cart":return t.__("Is a product.","jetpack");case"chevron-down":return t.__("Show filters","jetpack");case"gridicons-comment":return t.__("Matching comment.","jetpack");case"gridicons-cross":return t.__("Close.","jetpack");case"gridicons-filter":return t.__("Toggle search filters.","jetpack");case"gridicons-folder":return t.__("Category","jetpack");case"gridicons-info":case"gridicons-info-outline":return t.__("Information.","jetpack");case"gridicons-image-multiple":return t.__("Has multiple images.","jetpack");case"gridicons-image":return t.__("Has an image.","jetpack");case"gridicons-page":return t.__("Page","jetpack");case"gridicons-post":return t.__("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return t.__("Magnifying Glass","jetpack");case"gridicons-tag":return t.__("Tag","jetpack");case"gridicons-video":return t.__("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"})});case"gridicons-block":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"})});case"gridicons-calendar":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"})});case"gridicons-cart":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"})});case"gridicons-checkmark":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})});case"gridicons-chevron-down":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})});case"gridicons-comment":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"})});case"gridicons-cross":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"})});case"gridicons-filter":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"})});case"gridicons-folder":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"})});case"gridicons-image":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"})});case"gridicons-image-multiple":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"})});case"gridicons-info":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})});case"gridicons-info-outline":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})});case"gridicons-jetpack-search":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"})});case"gridicons-pages":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})});case"gridicons-posts":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})});case"gridicons-search":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})});case"gridicons-star-outline":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})});case"gridicons-star":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})});case"gridicons-tag":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"})});case"gridicons-video":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"})})}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,o=this.props.width||e,r=this.props.style||{height:n,width:o},s="gridicons-"+this.props.icon,i=nt("gridicon",s,t,{"needs-offset":this.needsOffset(s,e)}),a=this.getSVGDescription(s);return We.exports.jsxs("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"],children:[a?We.exports.jsx("desc",{children:a}):null,this.renderIcon(s)]})}}let st,it,at,ct;const lt=/<(\/)?(\w+)\s*(\/)?>/g;function ut(e,t,n,o,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:o,leadingTextStart:r,children:[]}}const pt=t=>{const n="object"==typeof t,o=n&&Object.values(t);return n&&o.length&&o.every((t=>e.isValidElement(t)))};function dt(t){const n=function(){const e=lt.exec(st);if(null===e)return["no-more-tokens"];const t=e.index,[n,o,r,s]=e,i=n.length;if(s)return["self-closed",r,t,i];if(o)return["closer",r,t,i];return["opener",r,t,i]}(),[o,r,s,i]=n,a=ct.length,c=s>it?it:null;if(!t[r])return mt(),!1;switch(o){case"no-more-tokens":if(0!==a){const{leadingTextStart:e,tokenStart:t}=ct.pop();at.push(st.substr(e,t))}return mt(),!1;case"self-closed":return 0===a?(null!==c&&at.push(st.substr(c,s-c)),at.push(t[r]),it=s+i,!0):(ht(ut(t[r],s,i)),it=s+i,!0);case"opener":return ct.push(ut(t[r],s,i,s+i,c)),it=s+i,!0;case"closer":if(1===a)return function(t){const{element:n,leadingTextStart:o,prevOffset:r,tokenStart:s,children:i}=ct.pop(),a=t?st.substr(r,t-r):st.substr(r);a&&i.push(a);null!==o&&at.push(st.substr(o,s-o));at.push(e.cloneElement(n,null,...i))}(s),it=s+i,!0;const n=ct.pop(),o=st.substr(n.prevOffset,s-n.prevOffset);n.children.push(o),n.prevOffset=s+i;const l=ut(n.element,n.tokenStart,n.tokenLength,s+i);return l.children=n.children,ht(l),it=s+i,!0;default:return mt(),!1}}function mt(){const e=st.length-it;0!==e&&at.push(st.substr(it,e))}function ht(t){const{element:n,tokenStart:o,tokenLength:r,prevOffset:s,children:i}=t,a=ct[ct.length-1],c=st.substr(a.prevOffset,o-a.prevOffset);c&&a.children.push(c),a.children.push(e.cloneElement(n,null,...i)),a.prevOffset=s||o+r}var gt=(t,n)=>{if(st=t,it=0,at=[],ct=[],lt.lastIndex=0,!pt(n))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(dt(n));return e.createElement(e.Fragment,null,...at)};function ft(t){let{icon:n,size:o=24,...r}=t;return e.cloneElement(n,{width:o,height:o,...r})}const _t=t=>e.createElement("path",t),bt=t=>{let{className:n,isPressed:o,...r}=t;const s={...r,className:nt(n,{"is-pressed":o})||void 0,"aria-hidden":!0,focusable:!1};return e.createElement("svg",s)};var yt=e.createElement(bt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var vt=e.createElement(bt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var $t=e.createElement(bt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),wt="style-module_button__nOA01",xt="style-module_is-icon-button__yVmll",kt="style-module_small__oVaX2",jt="style-module_normal__9YxyG",St="style-module_icon__o--e-",Ct="style-module_regular__9WhCI",Et="style-module_full-width__Jozo6",Lt="style-module_loading__NSb5j",Pt="style-module_external-icon__9iRaF";const zt=e.forwardRef(((e,t)=>{const{children:n,variant:r="primary",size:s="normal",weight:i="bold",icon:a,iconSize:c,disabled:l,isDestructive:u,isLoading:p,isExternalLink:d,className:m,text:h,fullWidth:g,...f}=e,_=nt(wt,m,{[jt]:"normal"===s,[kt]:"small"===s,[St]:Boolean(a),[Lt]:p,[Ct]:"regular"===i,[Et]:g,[xt]:Boolean(a)&&!n});f.ref=t;const b="normal"===s?20:16,y=d&&We.exports.jsx(ft,{size:b,icon:$t,className:Pt}),v=d?"_blank":void 0,$=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return We.exports.jsxs(o.Button,{target:v,variant:r,className:nt(_,{"has-text":!!a&&$}),icon:d?void 0:a,iconSize:c,disabled:l,isDestructive:u,text:h,...f,children:[p&&We.exports.jsx(o.Spinner,{}),We.exports.jsx("span",{children:n}),y]})}));var Bt=zt;const Mt=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),Nt=({className:t="",iconClassName:n="",placement:r="bottom-end",animate:s=!0,iconCode:i="info-outline",iconSize:a=18,offset:c=10,title:l,children:u,popoverAnchorStyle:p="icon",forceShow:d=!1})=>{const[m,h]=e.useState(!1),g=e.useCallback((()=>h(!0)),[h]),f=e.useCallback((()=>h(!1)),[h]),_={position:Mt(r),placement:r,animate:s,noArrow:!1,resize:!1,flip:!1,offset:c,focusOnMount:"container",onClose:f,className:"icon-tooltip-container"},b="wrapper"===p,y=nt("icon-tooltip-wrapper",t),v={left:b?0:-(62-a/2)+"px"},$=b&&d;return We.exports.jsxs("div",{className:y,"data-testid":"icon-tooltip_wrapper",children:[!b&&We.exports.jsx(Bt,{variant:"link",onClick:g,children:We.exports.jsx(rt,{className:n,icon:i,size:a})}),We.exports.jsx("div",{className:"icon-tooltip-helper",style:v,children:($||m)&&We.exports.jsx(o.Popover,{..._,children:We.exports.jsxs("div",{children:[l&&We.exports.jsx("div",{className:"icon-tooltip-title",children:l}),We.exports.jsx("div",{className:"icon-tooltip-content",children:u})]})})})]})},Tt={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function Ot(e,t=0,n=".",o=","){const r=(e+"").replace(/[^0-9+\-Ee.]/g,""),s=isFinite(+r)?+r:0,i=isFinite(+t)?Math.abs(t):0,a=(i?
2
  /*
3
  * Exposes number format capability
4
  *
@@ -6,4 +6,4 @@ var app=function(e,t,n,o){"use strict";function r(e){return e&&"object"==typeof
6
  * @license See CREDITS.md
7
  * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
8
  */
9
- function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(s,i):""+Math.round(s)).split(".");return a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(a[1]||"").length<i&&(a[1]=a[1]||"",a[1]+=new Array(i-a[1].length+1).join("0")),a.join(n)}function Rt(e,t,n={}){const o=function(e){return Tt[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}(t);if(!o||isNaN(e))return null;const{decimal:r,grouping:s,precision:i,symbol:a}={...o,...n},c=e<0?"-":"",l=Math.abs(e),u=Math.floor(l);return{sign:c,symbol:a,integer:Ot(l,i,r,s).split(r)[0],fraction:i>0?Ot(l-u,i,r,s).slice(1):""}}const At=e=>-1===e.fraction.indexOf("00");var It=({currencyCode:e="USD",priceDetails:n=t.__("/month, paid yearly","jetpack"),...r})=>{const s=Rt(r.priceBefore,e),i=Rt(r.priceAfter,e);return We.exports.jsxs("div",{className:"jp-components__pricing-card",children:[r.icon&&We.exports.jsx("div",{className:"jp-components__pricing-card__icon",children:We.exports.jsx("img",{src:r.icon,alt:t.sprintf(t.__("Icon for the product %s","jetpack"),r.title)})}),We.exports.jsx("h1",{className:"jp-components__pricing-card__title",children:r.title}),We.exports.jsxs("div",{className:"jp-components__pricing-card__pricing",children:[r.priceBefore!==r.priceAfter&&We.exports.jsxs("div",{className:"jp-components__pricing-card__price-before",children:[We.exports.jsx("span",{className:"jp-components__pricing-card__currency",children:s.symbol}),We.exports.jsx("span",{className:"jp-components__pricing-card__price",children:s.integer}),At(s)&&We.exports.jsxs("span",{className:"jp-components__pricing-card__price-decimal",children:[" ",s.fraction]}),We.exports.jsx("div",{className:"jp-components__pricing-card__price-strikethrough"})]}),We.exports.jsxs("div",{className:"jp-components__pricing-card__price-after",children:[We.exports.jsx("span",{className:"jp-components__pricing-card__currency",children:i.symbol}),We.exports.jsx("span",{className:"jp-components__pricing-card__price",children:i.integer}),At(i)&&We.exports.jsx("span",{className:"jp-components__pricing-card__price-decimal",children:i.fraction})]}),We.exports.jsx("span",{className:"jp-components__pricing-card__price-details",children:n})]}),r.children&&We.exports.jsx("div",{className:"jp-components__pricing-card__extra-content-wrapper",children:r.children}),r.ctaText&&We.exports.jsx("div",{className:"jp-components__pricing-card__cta",children:We.exports.jsx(o.Button,{className:"jp-components__pricing-card__button",label:r.ctaText,onClick:r.onCtaClick,children:r.ctaText})}),r.infoText&&We.exports.jsx("div",{className:"jp-components__pricing-card__info",children:r.infoText})]})};function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Vt.apply(this,arguments)}function Dt(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function Ft(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function Ht(e,t){return function(n,o,r){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const i=e[t];if(!Ft(n))return;if(!Dt(o))return;if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const a={callback:r,priority:s,namespace:o};if(i[n]){const e=i[n].handlers;let t;for(t=e.length;t>0&&!(s>=e[t-1].priority);t--);t===e.length?e[t]=a:e.splice(t,0,a),i.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else i[n]={handlers:[a],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,o,r,s)}}function Jt(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(o,r){const s=e[t];if(!Ft(o))return;if(!n&&!Dt(r))return;if(!s[o])return 0;let i=0;if(n)i=s[o].handlers.length,s[o]={runs:s[o].runs,handlers:[]};else{const e=s[o].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===r&&(e.splice(t,1),i++,s.__current.forEach((e=>{e.name===o&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==o&&e.doAction("hookRemoved",o,r),i}}function Wt(e,t){return function(n,o){const r=e[t];return void 0!==o?n in r&&r[n].handlers.some((e=>e.namespace===o)):n in r}}function Ut(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(o){const r=e[t];r[o]||(r[o]={handlers:[],runs:0}),r[o].runs++;const s=r[o].handlers;for(var i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];if(!s||!s.length)return n?a[0]:void 0;const l={name:o,currentIndex:0};for(r.__current.push(l);l.currentIndex<s.length;){const e=s[l.currentIndex].callback.apply(null,a);n&&(a[0]=e),l.currentIndex++}return r.__current.pop(),n?a[0]:void 0}}function Gt(e,t){return function(){var n,o;const r=e[t];return null!==(n=null===(o=r.__current[r.__current.length-1])||void 0===o?void 0:o.name)&&void 0!==n?n:null}}function Kt(e,t){return function(n){const o=e[t];return void 0===n?void 0!==o.__current[0]:!!o.__current[0]&&n===o.__current[0].name}}function qt(e,t){return function(n){const o=e[t];if(Ft(n))return o[n]&&o[n].runs?o[n].runs:0}}class Yt{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Ht(this,"actions"),this.addFilter=Ht(this,"filters"),this.removeAction=Jt(this,"actions"),this.removeFilter=Jt(this,"filters"),this.hasAction=Wt(this,"actions"),this.hasFilter=Wt(this,"filters"),this.removeAllActions=Jt(this,"actions",!0),this.removeAllFilters=Jt(this,"filters",!0),this.doAction=Ut(this,"actions"),this.applyFilters=Ut(this,"filters",!0),this.currentAction=Gt(this,"actions"),this.currentFilter=Gt(this,"filters"),this.doingAction=Kt(this,"actions"),this.doingFilter=Kt(this,"filters"),this.didAction=qt(this,"actions"),this.didFilter=qt(this,"filters")}}const Xt=new Yt;function Zt(t){const[n,o]=e.useState((()=>!(!t||"undefined"==typeof window||!window.matchMedia(t).matches)));return e.useEffect((()=>{if(!t)return;const e=()=>o(window.matchMedia(t).matches);e();const n=window.matchMedia(t);return n.addListener(e),()=>{n.removeListener(e)}}),[t]),!!t&&n}var Qt={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"};const en=["sm","md","lg"],tn=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[r,s,i]=en,a={sm:Zt(Qt[r]),md:Zt(Qt[s]),lg:Zt(Qt[i])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const o=en.indexOf(e),r=o+1,s=t.includes("=");let i=[];return t.startsWith("<")&&(i=en.slice(0,s?r:o)),t.startsWith(">")&&(i=en.slice(s?o:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,a):a[e]}))},nn={"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"},on=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"];var rn={reset:"style-module_reset__JQIl5","headline-medium":"style-module_headline-medium__y8X4t","headline-small":"style-module_headline-small__GcbDS","headline-small-regular":"style-module_headline-small-regular__InOiB","title-medium":"style-module_title-medium__oltWr","title-medium-semi-bold":"style-module_title-medium-semi-bold__VznNK","title-small":"style-module_title-small__CmEYM",body:"style-module_body__JShE-","body-small":"style-module_body-small__yz3P5","body-extra-small":"style-module_body-extra-small__GWJz7","body-extra-small-bold":"style-module_body-extra-small-bold__6cnIc",label:"style-module_label__sX6aq","m-0":"style-module_m-0__p8HXB","mx-0":"style-module_mx-0__mQqs8","my-0":"style-module_my-0__rREwD","mt-0":"style-module_mt-0__JCDg8","mr-0":"style-module_mr-0__jvdEc","mb-0":"style-module_mb-0__oCU0U","ml-0":"style-module_ml-0__ZOeKB","m-1":"style-module_m-1__4eRn2","mx-1":"style-module_mx-1__ZI-Gx","my-1":"style-module_my-1__0ocjM","mt-1":"style-module_mt-1__cfSJ2","mr-1":"style-module_mr-1__-I5M9","mb-1":"style-module_mb-1__7h8Zk","ml-1":"style-module_ml-1__HMEIC","m-2":"style-module_m-2__0k3GP","mx-2":"style-module_mx-2__kjUes","my-2":"style-module_my-2__tgIE9","mt-2":"style-module_mt-2__9VmIV","mr-2":"style-module_mr-2__ir4Xm","mb-2":"style-module_mb-2__97Wbq","ml-2":"style-module_ml-2__1I9Ji","m-3":"style-module_m-3__mqRjK","mx-3":"style-module_mx-3__Z55Jr","my-3":"style-module_my-3__-PEMP","mt-3":"style-module_mt-3__M8cWp","mr-3":"style-module_mr-3__gANcC","mb-3":"style-module_mb-3__Ohnln","ml-3":"style-module_ml-3__29xh1","m-4":"style-module_m-4__Nkax1","mx-4":"style-module_mx-4__6y-RS","my-4":"style-module_my-4__MVPE5","mt-4":"style-module_mt-4__Z4ouN","mr-4":"style-module_mr-4__sN8QA","mb-4":"style-module_mb-4__0NCvC","ml-4":"style-module_ml-4__0m2f9","m-5":"style-module_m-5__VITl8","mx-5":"style-module_mx-5__Mt1vK","my-5":"style-module_my-5__NkXY8","mt-5":"style-module_mt-5__XMIcG","mr-5":"style-module_mr-5__4gm9K","mb-5":"style-module_mb-5__uHQI6","ml-5":"style-module_ml-5__2aYFV","m-6":"style-module_m-6__Vs-qv","mx-6":"style-module_mx-6__4WjQw","my-6":"style-module_my-6__j3fa6","mt-6":"style-module_mt-6__SjA23","mr-6":"style-module_mr-6__LatEO","mb-6":"style-module_mb-6__x3cLw","ml-6":"style-module_ml-6__cpcEv","m-7":"style-module_m-7__Effhv","mx-7":"style-module_mx-7__q-Sm4","my-7":"style-module_my-7__CNXQY","mt-7":"style-module_mt-7__52N7n","mr-7":"style-module_mr-7__olIOD","mb-7":"style-module_mb-7__Byz-y","ml-7":"style-module_ml-7__9aLfR","m-8":"style-module_m-8__0GQyc","mx-8":"style-module_mx-8__dPru6","my-8":"style-module_my-8__V0nij","mt-8":"style-module_mt-8__1KgQ9","mr-8":"style-module_mr-8__6iuRy","mb-8":"style-module_mb-8__2RUTX","ml-8":"style-module_ml-8__mJcqN","p-0":"style-module_p-0__AArLS","px-0":"style-module_px-0__s-9QU","py-0":"style-module_py-0__Hc-BN","pt-0":"style-module_pt-0__n5vG6","pr-0":"style-module_pr-0__WvzOI","pb-0":"style-module_pb-0__gDmxZ","pl-0":"style-module_pl-0__aKJzm","p-1":"style-module_p-1__WJ0OK","px-1":"style-module_px-1__l58C8","py-1":"style-module_py-1__ae17q","pt-1":"style-module_pt-1__1BMtM","pr-1":"style-module_pr-1__DNoug","pb-1":"style-module_pb-1__fOqHk","pl-1":"style-module_pl-1__LO2-p","p-2":"style-module_p-2__1uV6E","px-2":"style-module_px-2__KLPjd","py-2":"style-module_py-2__zFyGu","pt-2":"style-module_pt-2__b6TjW","pr-2":"style-module_pr-2__VA7WW","pb-2":"style-module_pb-2__u9VXk","pl-2":"style-module_pl-2__ocYty","p-3":"style-module_p-3__cre8w","px-3":"style-module_px-3__WSJPU","py-3":"style-module_py-3__UM-VV","pt-3":"style-module_pt-3__1RVKP","pr-3":"style-module_pr-3__luBW8","pb-3":"style-module_pb-3__uvSvA","pl-3":"style-module_pl-3__d42JN","p-4":"style-module_p-4__KTDcd","px-4":"style-module_px-4__9c7R-","py-4":"style-module_py-4__pbZr-","pt-4":"style-module_pt-4__b0f1N","pr-4":"style-module_pr-4__G-3Se","pb-4":"style-module_pb-4__7LnzY","pl-4":"style-module_pl-4__x2xmM","p-5":"style-module_p-5__KJndw","px-5":"style-module_px-5__4ZmcI","py-5":"style-module_py-5__44c5m","pt-5":"style-module_pt-5__jH61v","pr-5":"style-module_pr-5__uYue9","pb-5":"style-module_pb-5__VyPwm","pl-5":"style-module_pl-5__-7QwG","p-6":"style-module_p-6__Rklbn","px-6":"style-module_px-6__ndixN","py-6":"style-module_py-6__gKcyB","pt-6":"style-module_pt-6__crzwb","pr-6":"style-module_pr-6__blwZZ","pb-6":"style-module_pb-6__q6Pch","pl-6":"style-module_pl-6__mbz87","p-7":"style-module_p-7__n5M2X","px-7":"style-module_px-7__SVLNi","py-7":"style-module_py-7__ieHG-","pt-7":"style-module_pt-7__-St7I","pr-7":"style-module_pr-7__Pn42n","pb-7":"style-module_pb-7__Ao0G4","pl-7":"style-module_pl-7__PX3LH","p-8":"style-module_p-8__0tnzb","px-8":"style-module_px-8__B2wuB","py-8":"style-module_py-8__XxBBJ","pt-8":"style-module_pt-8__HsDAh","pr-8":"style-module_pr-8__DsIhB","pb-8":"style-module_pb-8__w5brd","pl-8":"style-module_pl-8__1sQf7"};const sn=e.forwardRef((({variant:t="body",children:n,component:o,className:r,...s},i)=>{const a=o||nn[t]||"span",c=e.useMemo((()=>on.reduce(((e,t)=>(void 0!==s[t]&&(e+=rn[`${t}-${s[t]}`]+" ",delete s[t]),e)),"")),[s]);return s.ref=i,We.exports.jsx(a,{className:nt(rn.reset,rn[t],r,c),...s,children:n})}));var an="styles-module_container__FvKVG",cn="styles-module_table__Kq8fq",ln="styles-module_is-viewport-large__Rp-uu",un="styles-module_card__jfYQ4",pn="styles-module_is-primary__KScat",dn="styles-module_header__3y7dn",mn="styles-module_item__lrSOp",hn="styles-module_last-feature__0t4Ge",gn="styles-module_value__-M-1H",fn="styles-module_icon__iBUYK",_n="styles-module_icon-check__Yt2l9",bn="styles-module_icon-cross__icsSr",yn="styles-module_popover__-YjB-",vn="styles-module_popover-icon__m0Wep",$n="styles-module_tos__bK5n-",wn="styles-module_tos-container__djd8a";const xn=gt(t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:We.exports.jsx("a",{href:ot("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:We.exports.jsx("a",{href:ot("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),kn=e.createContext(void 0),jn=({isIncluded:n,index:o=0,label:r=null,tooltipInfo:s,tooltipTitle:i})=>{const[a]=tn("lg"),c=e.useContext(kn),l=c[o].name,u=c[o].tooltipInfo,p=c[o].tooltipTitle,d=t.__("Included","jetpack"),m=t.__("Not included","jetpack"),h=s||!a&&u;let g=n?d:m;return g=a?g:l,a||n||null!==r?We.exports.jsxs("div",{className:nt(mn,gn),children:[We.exports.jsx(ft,{className:nt(fn,n?_n:bn),size:32,icon:n?yt:vt}),We.exports.jsx(sn,{variant:"body-small",children:r||g}),h&&We.exports.jsx(Nt,{title:i||p,iconClassName:vn,className:yn,placement:"bottom-end",iconSize:14,offset:4,children:We.exports.jsx(sn,{variant:"body-small",children:s||u})})]}):null},Sn=({children:e})=>We.exports.jsx("div",{className:dn,children:e}),Cn=({primary:t=!1,children:n})=>{let o=0;return We.exports.jsx("div",{className:nt(un,{[pn]:t}),children:e.Children.map(n,(t=>{const n=t;return n.type===jn?(o++,e.cloneElement(n,{index:o-1})):n}))})};var En=({title:t,items:n,children:o})=>{const[r]=tn("lg");return We.exports.jsxs(kn.Provider,{value:n,children:[We.exports.jsx("div",{className:nt(an,{[ln]:r}),style:{"--rows":n.length+1,"--columns":e.Children.toArray(o).length+1},children:We.exports.jsxs("div",{className:cn,children:[We.exports.jsx(sn,{variant:"headline-small",children:t}),r&&n.map(((e,t)=>We.exports.jsxs("div",{className:nt(mn,{[hn]:t===n.length-1}),children:[We.exports.jsx(sn,{variant:"body-small",children:We.exports.jsx("strong",{children:e.name})}),e.tooltipInfo&&We.exports.jsx(Nt,{title:e.tooltipTitle,iconClassName:vn,className:yn,placement:"bottom-end",iconSize:14,offset:4,children:We.exports.jsx(sn,{variant:"body-small",children:e.tooltipInfo})})]},t))),o]})}),We.exports.jsx("div",{className:wn,children:We.exports.jsx(sn,{className:$n,variant:"body-small",children:xn})})]})},Ln="style-module_container__jrXbh",Pn="style-module_price-container__qGz5g",zn="style-module_price__qrEDy",Bn="style-module_is-not-off-price__DHfVe",Mn="style-module_footer__MxgY7",Nn="style-module_legend__VEoOG",Tn="style-module_promo-label__R4VmI",On="style-module_symbol__llav7";const Rn=({value:e,currency:t,isOff:n,hidePriceFraction:o})=>{const r=nt(zn,"product-price_price",{[Bn]:!n}),{symbol:s,integer:i,fraction:a}=Rt(e,t),c=!o||!a.endsWith("00");return We.exports.jsxs(sn,{className:r,variant:"headline-medium",component:"p",children:[We.exports.jsx(sn,{className:On,component:"sup",variant:"title-medium",children:s}),i,c&&We.exports.jsx(sn,{component:"sup",variant:"body-small","data-testid":"PriceFraction",children:We.exports.jsx("strong",{children:a})})]})};var An=({price:e,offPrice:n,currency:o="",showNotOffPrice:r=!0,hideDiscountLabel:s=!0,promoLabel:i="",legend:a=t.__("/month, paid yearly","jetpack"),isNotConvenientPrice:c=!1,hidePriceFraction:l=!1,children:u})=>{if(null==e&&null==n||!o)return null;r=r&&null!=n;const p=void 0!==e&&void 0!==n?Math.floor((e-n)/e*100):0,d=!s&&p&&p>0?p+t.__("% off","jetpack"):null;return We.exports.jsxs(We.exports.Fragment,{children:[We.exports.jsx("div",{className:Ln,children:We.exports.jsxs("div",{className:nt(Pn,"product-price_container"),children:[We.exports.jsx(Rn,{value:n??e,currency:o,isOff:!c,hidePriceFraction:l}),r&&We.exports.jsx(Rn,{value:e,currency:o,isOff:!1,hidePriceFraction:l})]})}),We.exports.jsxs("div",{className:Mn,children:[u||We.exports.jsx(sn,{className:nt(Nn,"product-price_legend"),children:a}),i&&We.exports.jsx(sn,{className:nt(Tn,"product-price_promo_label"),children:i}),d&&We.exports.jsx(sn,{className:nt(Tn,"product-price_promo_label"),children:d})]})]})};const In=[];function Vn(e,t){return{subscribe:Dn(e,t).subscribe}}function Dn(e,t=a){let n;const o=new Set;function r(t){if(h(e,t)&&(e=t,n)){const t=!In.length;for(const t of o)t[1](),In.push(t,e);if(t){for(let e=0;e<In.length;e+=2)In[e][0](In[e+1]);In.length=0}}}return{set:r,update:function(t){r(t(e))},subscribe:function(s,i=a){const c=[s,i];return o.add(c),1===o.size&&(n=t(r)||a),s(e),()=>{o.delete(c),0===o.size&&(n(),n=null)}}}}function Fn(e,t,n){const o=!Array.isArray(e),r=o?[e]:e,s=t.length<2;return Vn(n,(e=>{let n=!1;const i=[];let c=0,l=a;const u=()=>{if(c)return;l();const n=t(o?i[0]:i,e);s?e(n):l=m(n)?n:a},p=r.map(((e,t)=>f(e,(e=>{i[t]=e,c&=~(1<<t),n&&u()}),(()=>{c|=1<<t}))));return n=!0,u(),function(){d(p),l()}}))}function Hn(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("rect"),o=F("g"),r=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,viewBox:!0});var s=Y(t);n=X(s,"rect",{x:!0,fill:!0,width:!0,height:!0}),Y(n).forEach(I),o=X(s,"g",{});var i=Y(o);r=X(i,"path",{d:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(n,"x","0"),K(n,"fill","none"),K(n,"width","24"),K(n,"height","24"),K(r,"d","M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(t,o),O(o,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Jn(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Wn extends Je{constructor(e){super(),He(this,e,Jn,Hn,h,{})}}const Un="undefined"==typeof window;const Gn={1:"Link",2:"Route",3:"Router",4:"useFocus",5:"useLocation",6:"useMatch",7:"useNavigate",8:"useParams",9:"useResolvable",10:"useResolve",11:"navigate"},Kn=e=>Gn[e];function qn(e,t,n,o){const r=n&&function(e,t){let n;return 2===e?n=t.path?`path="${t.path}"`:"default":1===e?n=`to="${t.to}"`:3===e&&(n=`basepath="${t.basepath||""}"`),`<${Kn(e)} ${n||""} />`}(o||e,n),s=r?`\n\nOccurred in: ${r}`:"",i=Kn(e);return`<${i}> ${"function"==typeof t?t(i):t}${s}`}const Yn=(Xn=console.warn,(...e)=>Xn(qn(...e)));var Xn;const Zn=e=>1===e.length?"":e;function Qn(e){const t=e.indexOf("?"),n=e.indexOf("#"),o=-1!==t,r=-1!==n,s=r?Zn(e.substr(n)):"",i=r?e.substr(0,n):e,a=o?Zn(i.substr(t)):"";return{pathname:o?i.substr(0,t):i,search:a,hash:s}}const eo="POP";function to(e){return{...e.location,pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"}}function no(e){let t=[],n=to(e),o=eo;const r=(e=t)=>e.forEach((e=>e({location:n,action:o})));return{get location(){return n},listen(s){t.push(s);r([s]);const i=function(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}(e,"popstate",(()=>{n=to(e),o=eo,r([s])}));return()=>{i(),t=t.filter((e=>e!==s))}},navigate(t,s){const{state:i={},replace:a=!1}=s||{};if(o=a?"REPLACE":"PUSH","number"==typeof t)s&&Yn(11,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),o=eo,e.history.go(t);else{const n={...i,_key:Math.random().toString(36).substring(2)};try{e.history[a?"replaceState":"pushState"](n,"",t)}catch(n){e.location[a?"replace":"assign"](t)}}n=to(e),r()}}}function oo(e,t){return{...Qn(t),state:e}}const ro=!(Un||!window.document||!window.document.createElement),so=!Un&&"null"===window.location.origin;var io;no(ro&&!so?window:function(e="/"){let t=0,n=[oo(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(e,o,r){t++,n=n.slice(0,t),n.push(oo(e,r))},replaceState(e,o,r){n[t]=oo(e,r)},go(e){const o=t+e;o<0||o>n.length-1||(t=o)}}}}()),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(io||(io={}));var ao="beforeunload";function co(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,o=n.history;function r(){var e=mo(n.location.hash.substr(1)),t=e.pathname,r=void 0===t?"/":t,s=e.search,i=void 0===s?"":s,a=e.hash,c=void 0===a?"":a,l=o.state||{};return[l.idx,{pathname:r,search:i,hash:c,state:l.usr||null,key:l.key||"default"}]}var s=null;function i(){if(s)d.call(s),s=null;else{var e=io.Pop,t=r(),n=t[0],o=t[1];if(d.length){if(null!=n){var i=l-n;i&&(s={action:e,location:o,retry:function(){b(-1*i)}},b(i))}}else _(e)}}n.addEventListener("popstate",i),n.addEventListener("hashchange",(function(){po(r()[1])!==po(u)&&i()}));var a=io.Pop,c=r(),l=c[0],u=c[1],p=uo(),d=uo();function m(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var o=n.location.href,r=o.indexOf("#");t=-1===r?o:o.slice(0,r)}return t}()+"#"+("string"==typeof e?e:po(e))}function h(e,t){return void 0===t&&(t=null),Vt({pathname:u.pathname,hash:"",search:""},"string"==typeof e?mo(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function g(e,t){return[{usr:e.state,key:e.key,idx:t},m(e)]}function f(e,t,n){return!d.length||(d.call({action:e,location:t,retry:n}),!1)}function _(e){a=e;var t=r();l=t[0],u=t[1],p.call({action:a,location:u})}function b(e){o.go(e)}null==l&&(l=0,o.replaceState(Vt({},o.state,{idx:l}),""));var y={get action(){return a},get location(){return u},createHref:m,push:function e(t,r){var s=io.Push,i=h(t,r);if(f(s,i,(function(){e(t,r)}))){var a=g(i,l+1),c=a[0],u=a[1];try{o.pushState(c,"",u)}catch(e){n.location.assign(u)}_(s)}},replace:function e(t,n){var r=io.Replace,s=h(t,n);if(f(r,s,(function(){e(t,n)}))){var i=g(s,l),a=i[0],c=i[1];o.replaceState(a,"",c),_(r)}},go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(e){return p.push(e)},block:function(e){var t=d.push(e);return 1===d.length&&n.addEventListener(ao,lo),function(){t(),d.length||n.removeEventListener(ao,lo)}}};return y}function lo(e){e.preventDefault(),e.returnValue=""}function uo(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function po(e){var t=e.pathname,n=void 0===t?"/":t,o=e.search,r=void 0===o?"":o,s=e.hash,i=void 0===s?"":s;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}function mo(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}var ho=no(function(){const e=co();let t=[];return e.listen((n=>{"POP"===e.action&&t.forEach((e=>e(n)))})),{get location(){return e.location},addEventListener(e,n){"popstate"===e&&t.push(n)},removeEventListener(e,n){"popstate"===e&&(t=t.filter((e=>e!==n)))},history:{get state(){return e.location.state},pushState(t,n,o){e.push(o,t)},replaceState(t,n,o){e.replace(o,t)},go(t){e.go(t)}}}}());function go(e){let n,o,r,s,i,c,l,u=t.__("Go back","jetpack-boost")+"";return o=new Wn({}),{c(){n=D("button"),Ve(o.$$.fragment),r=J(),s=H(u),K(n,"class","components-button components-button--back is-link close")},m(t,a){R(t,n,a),De(o,n,null),M(n,r),M(n,s),i=!0,c||(l=U(n,"click",e[2]),c=!0)},p:a,i(e){i||(Me(o.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),c=!1,l()}}}function fo(e,t,n){const{navigate:o}=ho;let{route:r=-1}=t;return e.$$set=e=>{"route"in e&&n(0,r=e.route)},[r,o,()=>o(r)]}class _o extends Je{constructor(e){super(),He(this,e,fo,go,h,{route:0})}}function bo(e){let t;return{c(){t=D("div")},m(n,o){R(n,t,o),e[1](t)},p:a,i:a,o:a,d(n){n&&I(t),e[1](null)}}}function yo(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};let r;var a;return a=()=>{const{this:e,children:n}=t,a=o(t,["this","children"]);i.default.render(s.default.createElement(e,a,n),r)},ce().$$.after_update.push(a),ue((()=>{i.default.unmountComponentAtNode(r)})),e.$$set=e=>{n(3,t=l(l({},t),k(e)))},t=k(t),[r,function(e){fe[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class vo extends Je{constructor(e){super(),He(this,e,yo,bo,h,{})}}function $o(e,t){return"string"==typeof e?e:e&&e.toString instanceof Function?e.toString():t}function wo(e){return!!e&&e instanceof Object&&!(e instanceof Array)}class xo extends Error{httpCode;body;parseError;constructor(e,t,n){super(),this.httpCode=e,this.body=t,this.parseError=n}get message(){switch(this.httpCode){case 403:return this.getRestApiErrorMessage();case 200:if(this.parseError)return t.sprintf(t.__("Received invalid response while communicating with your WordPress site: %s","jetpack-boost"),this.parseError.message)}return t.sprintf(t.__("HTTP %d error received while communicating with the server.","jetpack-boost"),this.httpCode)}getDisplayBody(){return wo(this.body)?JSON.stringify(this.body,null," "):$o(this.body,"").substring(0,1e3)}getRestApiErrorMessage(){return t.__("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-boost")}}async function ko(e,n,o=null){const r={method:e,mode:"cors",headers:{"X-WP-Nonce":wpApiSettings.nonce}};"post"!==e&&"delete"!==e||!o||(r.body=JSON.stringify(o),r.headers["Content-Type"]="application/json");const s=function(e){return wpApiSettings.root+Jetpack_Boost.api.namespace+Jetpack_Boost.api.prefix+e}(n);let i;try{i=await fetch(s,r)}catch(e){const n=r;delete n.body,delete n.headers["X-WP-Nonce"];const o={requestInitiator:window.location.href,requestUrl:s,requestArgs:n,originalErrorMessage:e.toString()};throw new Error(t.sprintf(t.__("An error occurred while trying to communicate with the site REST API. Extra debug info: %s","jetpack-boost"),JSON.stringify(o)))}return i}async function jo(e,t,n=null){const o=await ko(e,t,n);let r,s;try{r=await o.text()}catch(e){throw new xo(o.status,null,e)}try{s=JSON.parse(r)}catch(e){throw new xo(o.status,r,e)}if(!o.ok)throw new xo(o.status,s,null);return s}var So={get:function(e){return jo("get",e)},post:function(e,t=null){return jo("post",e,t)},delete:function(e,t=null){return jo("delete",e,t)}};const{subscribe:Co,update:Eo}=Dn(Jetpack_Boost);const Lo=Dn(Jetpack_Boost.dismissedScorePrompts),Po={subscribe:Lo.subscribe,dismiss:e=>{Lo.update((t=>[...t,e]))}},zo=()=>(Eo((e=>({...e,site:{...e.site,getStarted:!1}}))),async function(){return So.post("/get-started")}());var Bo={subscribe:Co,refresh:async function(){const e=await So.get("/configuration");Eo((t=>({...t,...e})))}};function Mo(e){let t,n,o=[{width:"32"},{height:"32"},{viewBox:"0 0 32 32"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var o=Y(t);n=X(o,"path",{"fill-rule":!0,"clip-rule":!0,d:!0,fill:!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"fill-rule","evenodd"),K(n,"clip-rule","evenodd"),K(n,"d","M32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16345 7.16344 0 16 0C24.8366 0 32 7.16345 32 16ZM15.1756 18.6566V3.17569L7.20612 18.6566H15.1756ZM16.794 13.3134V28.8248L24.794 13.3134H16.794Z"),K(n,"fill","#069E08"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{width:"32"},{height:"32"},{viewBox:"0 0 32 32"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function No(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class To extends Je{constructor(e){super(),He(this,e,No,Mo,h,{})}}async function Oo(e,t){return!("boost_version"in t)&&"version"in Jetpack_Boost&&(t.boost_version=Jetpack_Boost.version),new Promise(((n,o)=>{"undefined"!=typeof jpTracksAJAX&&"function"==typeof jpTracksAJAX.record_ajax_event?jpTracksAJAX.record_ajax_event(`boost_${e}`,"click",t).done((e=>{const t={success:"success"in e&&!0===e.success};n(t)})).fail((t=>{console.log(`Recording event 'boost_${e}' failed with error: ${t.responseText}`),o(t.responseText)})):o("Invalid jpTracksAJAX object.")}))}function Ro(e){const t=_(Bo).site.url;return t&&(e=e+"&site="+encodeURIComponent(t)),e}function Ao(){const e=_(Bo).site.domain,t=new URL(window.location.href);t.hash="#/purchase-successful";const n=new URL(`https://wordpress.com/checkout/${e}/jetpack_boost_yearly`);return n.searchParams.set("redirect_to",t.toString()),n.searchParams.set("site",e),n.searchParams.set("unlinked","1"),n.toString()}function Io(e){let n,o;return n=new vo({props:{this:It,title:"Jetpack Boost",icon:`${window.Jetpack_Boost.site.assetPath}../static/images/forward.svg`,priceBefore:e[0].yearly.priceBefore/12,priceAfter:e[0].yearly.priceAfter/12,priceDetails:t.__("/month, paid yearly","jetpack-boost"),currencyCode:e[0].yearly.currencyCode,ctaText:t.__("Upgrade Jetpack Boost","jetpack-boost"),onCtaClick:e[1],infoText:e[2]}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};1&t&&(o.priceBefore=e[0].yearly.priceBefore/12),1&t&&(o.priceAfter=e[0].yearly.priceAfter/12),1&t&&(o.currencyCode=e[0].yearly.currencyCode),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Vo(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,b,y,v,$,w,x,k;r=new _o({}),c=new To({props:{class:"my-2"}});let j="yearly"in e[0]&&Io(e);return{c(){n=D("div"),o=D("div"),Ve(r.$$.fragment),s=J(),i=D("div"),a=D("div"),Ve(c.$$.fragment),l=J(),u=D("h1"),u.textContent=`${t.__("Optimize your website's performance","jetpack-boost")}`,p=J(),d=D("p"),d.textContent=`${t.__("Remove the need to manually regenerate critical CSS after site changes with automated critical CSS.","jetpack-boost")}`,m=J(),h=D("ul"),g=D("li"),g.textContent=`${t.__("Automatic critical CSS regeneration","jetpack-boost")}`,f=J(),_=D("li"),_.textContent=`${t.__("Performance scores are recalculated after each change","jetpack-boost")}`,b=J(),y=D("li"),y.textContent=`${t.__("Dedicated email support","jetpack-boost")}`,v=J(),$=D("div"),j&&j.c(),w=J(),x=D("footer"),x.textContent=`${t.__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-boost")}`,K(u,"class","my-2"),K(d,"class","jb-card__summary my-2"),K(h,"class","jb-checklist my-2"),K(a,"class","jb-card__content"),K($,"class","jb-card__cta px-2 my-4"),K(i,"class","jb-card"),K(x,"class","jb-footer-note"),K(o,"class","jb-container jb-container--fixed mt-2"),K(n,"id","jb-settings"),K(n,"class","jb-settings")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(o,s),M(o,i),M(i,a),De(c,a,null),M(a,l),M(a,u),M(a,p),M(a,d),M(a,m),M(a,h),M(h,g),M(h,f),M(h,_),M(h,b),M(h,y),M(i,v),M(i,$),j&&j.m($,null),M(o,w),M(o,x),k=!0},p(e,[t]){"yearly"in e[0]?j?(j.p(e,t),1&t&&Me(j,1)):(j=Io(e),j.c(),Me(j,1),j.m($,null)):j&&(ze(),Ne(j,1,1,(()=>{j=null})),Be())},i(e){k||(Me(r.$$.fragment,e),Me(c.$$.fragment,e),Me(j),k=!0)},o(e){Ne(r.$$.fragment,e),Ne(c.$$.fragment,e),Ne(j),k=!1},d(e){e&&I(n),Fe(r),Fe(c),j&&j.d()}}}function Do(e,n,o){let r;async function i(){await Oo("checkout_from_pricing_page_in_plugin",{}),window.location.href=Ao()}let{location:a,navigate:c}=n;const l=gt(t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareLink>share details</shareLink> with WordPress.com.","jetpack-boost"),{tosLink:s.default.createElement("a",{href:Ro("https://jetpack.com/redirect/?source=wpcom-tos"),target:"_blank"}),shareLink:s.default.createElement("a",{href:Ro("https://jetpack.com/redirect/?source=jetpack-support-what-data-does-jetpack-sync"),target:"_blank"})}),u=Fn(Bo,(e=>e.pricing));return b(e,u,(e=>o(0,r=e))),"yearly"in r||i(),e.$$set=e=>{"location"in e&&o(4,a=e.location),"navigate"in e&&o(5,c=e.navigate)},[r,i,l,u,a,c]}class Fo extends Je{constructor(e){super(),He(this,e,Do,Vo,h,{location:4,navigate:5})}}function Ho(e){let t,n,o,r=[{version:"1.1"},{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{x:"0px"},{y:"0px"},{viewBox:"0 0 24 24"},{style:"enable-background:new 0 0 24 24;"},{"xml:space":"preserve"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{version:!0,xmlns:!0,"xmlns:xlink":!0,x:!0,y:!0,viewBox:!0,style:!0,"xml:space":!0});var r=Y(t);n=X(r,"g",{id:!0});var s=Y(n);o=X(s,"path",{style:!0,d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){Q(o,"fill","#d63638"),K(o,"d","M12,4c4.411,0,8,3.589,8,8s-3.589,8-8,8s-8-3.589-8-8S7.589,4,12,4 M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10 s10-4.477,10-10S17.523,2,12,2L12,2z M13,15h-2v2h2V15z M11,13h2l0.5-6h-3L11,13z"),K(n,"id","notice-outline"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{version:"1.1"},{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{x:"0px"},{y:"0px"},{viewBox:"0 0 24 24"},{style:"enable-background:new 0 0 24 24;"},{"xml:space":"preserve"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Jo(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Wo extends Je{constructor(e){super(),He(this,e,Jo,Ho,h,{})}}function Uo(e,t="action"){return{[t]:["a",{class:"action",onclick:t=>{t.preventDefault(),e(t.target.getAttribute("name"))},href:"#"}]}}function Go(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))}function Ko(e,t="link"){return{[t]:["a",{href:e,target:"_blank",rel:"noopener noreferrer"}]}}function qo(e="support"){return Ko("https://wordpress.org/support/plugin/jetpack-boost/",e)}function Yo(e,t,n){for(const o of Array.from(e.childNodes)){let e;if(n[o.nodeName]){const[t,r,s]=n[o.nodeName];e=Zo(t,r,s),Xo(o,e)}else o.tagName?(e=document.createElement(o.tagName),Xo(o,e)):e=o.cloneNode();t.appendChild(e),Yo(o,e,n)}}function Xo(e,t){for(let n=0;n<e.attributes.length;n++){const o=e.attributes.item(n);t.setAttribute(o.name,o.value)}}function Zo(e,t,n){const o=document.createElement(e);for(const[e,n]of Object.entries(t))e.startsWith("on")&&n instanceof Function?o.addEventListener(e.substring(2),n):o.setAttribute(e,n.toString());return n&&o.append(n),o}function Qo(e){let t;return{c(){t=D("span")},m(n,o){R(n,t,o),e[3](t)},p:a,i:a,o:a,d(n){n&&I(t),e[3](null)}}}function er(e,t,n){let o,{template:r}=t,{vars:s}=t;return le((()=>{Yo(function(e){const t="<PseudoHTML>"+e+"</PseudoHTML>";return(new DOMParser).parseFromString(t,"application/xml").childNodes[0]}(r),o,s)})),e.$$set=e=>{"template"in e&&n(1,r=e.template),"vars"in e&&n(2,s=e.vars)},[o,r,s,function(e){fe[e?"unshift":"push"]((()=>{o=e,n(0,o)}))}]}class tr extends Je{constructor(e){super(),He(this,e,er,Qo,h,{template:1,vars:2})}}const nr=e=>({}),or=e=>({});function rr(e){let t,n;return{c(){t=D("pre"),n=H(e[0]),K(t,"class","data")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},d(e){e&&I(t)}}}function sr(e){let t,n,o;return n=new tr({props:{template:e[2],vars:e[4]}}),{c(){t=D("p"),Ve(n.$$.fragment),K(t,"class","suggestion")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};4&t&&(o.template=e[2]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function ir(e){let t,n,o,r,s,i,c,l,u,p,d,m,h;n=new Wo({props:{class:"icon"}});const g=e[8].default,f=y(g,e,e[7],null),_=f||function(e){let t;return{c(){t=D("p"),t.textContent=`${e[3]}`},m(e,n){R(e,t,n)},p:a,d(e){e&&I(t)}}}(e);let b=e[0]&&rr(e),v=e[2]&&sr(e);const k=e[8].actionButton,j=y(k,e,e[7],or);return{c(){t=D("div"),Ve(n.$$.fragment),o=J(),r=D("div"),s=D("div"),i=H(e[1]),c=J(),l=D("div"),_&&_.c(),u=J(),b&&b.c(),p=J(),v&&v.c(),d=J(),m=D("div"),j&&j.c(),K(s,"class","jb-error__description"),K(l,"class","jb-error__message"),K(r,"class","jb-error__main-content"),K(m,"class","jb-error__main-action"),K(t,"class","jb-error")},m(e,a){R(e,t,a),De(n,t,null),M(t,o),M(t,r),M(r,s),M(s,i),M(r,c),M(r,l),_&&_.m(l,null),M(l,u),b&&b.m(l,null),M(l,p),v&&v.m(l,null),M(t,d),M(t,m),j&&j.m(m,null),h=!0},p(e,[t]){(!h||2&t)&&Z(i,e[1]),f&&f.p&&(!h||128&t)&&w(f,g,e,e[7],h?$(g,e[7],t,null):x(e[7]),null),e[0]?b?b.p(e,t):(b=rr(e),b.c(),b.m(l,p)):b&&(b.d(1),b=null),e[2]?v?(v.p(e,t),4&t&&Me(v,1)):(v=sr(e),v.c(),Me(v,1),v.m(l,null)):v&&(ze(),Ne(v,1,1,(()=>{v=null})),Be()),j&&j.p&&(!h||128&t)&&w(j,k,e,e[7],h?$(k,e[7],t,nr):x(e[7]),or)},i(e){h||(Me(n.$$.fragment,e),Me(_,e),Me(v),Me(j,e),h=!0)},o(e){Ne(n.$$.fragment,e),Ne(_,e),Ne(v),Ne(j,e),h=!1},d(e){e&&I(t),Fe(n),_&&_.d(e),b&&b.d(),v&&v.d(),j&&j.d(e)}}}function ar(e,t,n){let{$$slots:o={},$$scope:r}=t,{title:s}=t,{error:i=new Error(s)}=t,{data:a}=t,{suggestion:c}=t,{vars:l={}}=t;const u=Go(i).message;!a&&i instanceof xo&&(a=i.getDisplayBody());const p=pe();const d={...qo(),...Uo((function(e){p(e),p("action",e)}),"action"),...l};return e.$$set=e=>{"title"in e&&n(1,s=e.title),"error"in e&&n(5,i=e.error),"data"in e&&n(0,a=e.data),"suggestion"in e&&n(2,c=e.suggestion),"vars"in e&&n(6,l=e.vars),"$$scope"in e&&n(7,r=e.$$scope)},[a,s,c,u,d,i,l,r,o]}class cr extends Je{constructor(e){super(),He(this,e,ar,ir,h,{title:1,error:5,data:0,suggestion:2,vars:6})}}function lr(e){let t,n,o,r,s,i,c=[{width:"177"},{height:"7"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],u={};for(let e=0;e<c.length;e+=1)u=l(u,c[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),r=F("defs"),s=F("clipPath"),i=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,fill:!0,xmlns:!0});var a=Y(t);n=X(a,"g",{"clip-path":!0,fill:!0,"fill-opacity":!0});var c=Y(n);o=X(c,"path",{d:!0}),Y(o).forEach(I),c.forEach(I),r=X(a,"defs",{});var l=Y(r);s=X(l,"clipPath",{id:!0});var u=Y(s);i=X(u,"path",{fill:!0,d:!0}),Y(i).forEach(I),u.forEach(I),l.forEach(I),a.forEach(I),this.h()},h(){K(o,"d","M59.878 7c-2.38 0-3.909-1.668-3.909-3.39v-.22c0-1.76 1.548-3.39 3.909-3.39 2.379 0 3.927 1.63 3.927 3.39v.22c0 1.722-1.548 3.39-3.927 3.39zm2.662-3.592c0-1.264-.944-2.382-2.662-2.382-1.719 0-2.644 1.118-2.644 2.382v.165c0 1.265.944 2.4 2.644 2.4 1.7 0 2.662-1.135 2.662-2.4v-.165zM33.045 6.743l-.887-1.612H28.21l-.85 1.612H26.04L29.646.238h1.039l3.682 6.505h-1.322zm-2.889-5.24l-1.454 2.73h2.965l-1.511-2.73zM40.107 7c-2.398 0-3.53-1.264-3.53-2.969V.238h1.245v3.83c0 1.21.813 1.924 2.36 1.924 1.587 0 2.248-.715 2.248-1.924V.238h1.265v3.793C43.695 5.644 42.638 7 40.107 7zM50.72 1.246v5.497h-1.266V1.246h-2.926V.238h7.118v1.008H50.72zm24.302 5.497V1.594l-.34.568-2.814 4.581h-.623l-2.776-4.58-.34-.569v5.15h-1.227V.237h1.737l2.644 4.471.321.55.321-.55L74.55.24h1.718v6.504h-1.246zm10.782 0l-.887-1.612H80.97l-.85 1.612h-1.322L82.425.238h1.039l3.682 6.505h-1.34zm-2.889-5.24l-1.454 2.73h2.965l-1.511-2.73zm9.31-.257v5.497h-1.266V1.246h-2.927V.238h7.12v1.008h-2.928zm9.233 0v5.497h-1.265V1.246h-2.927V.238h7.119v1.008h-2.927zm6.043 5.497v-5.9c.509 0 .698-.257.698-.623h.529v6.505l-1.227.018zm11.084-4.672c-.604-.532-1.492-1.045-2.682-1.045-1.793 0-2.794 1.191-2.794 2.437v.129c0 1.227 1.019 2.382 2.889 2.382 1.114 0 2.039-.513 2.625-1.045l.755.77c-.737.696-1.983 1.301-3.456 1.301-2.53 0-4.078-1.594-4.078-3.353v-.22c0-1.76 1.68-3.427 4.135-3.427 1.416 0 2.7.568 3.399 1.301l-.793.77zm-57.876.201c.226.147.283.44.15.66l-1.151 1.722a.501.501 0 01-.68.147.486.486 0 01-.151-.66l1.152-1.722a.485.485 0 01.68-.147zM7.081 6.725l-.887-1.63H2.209l-.868 1.63H0L3.663.147h1.058l3.72 6.578H7.08zM4.154 1.43L2.681 4.196h3.003L4.154 1.43zm11.481 5.296l-4.4-4.398-.434-.458v4.875H9.536V.147h1.227l4.268 4.398.434.476V.147h1.265v6.578h-1.095zM135.938 6.78l-.907-1.63h-3.984l-.868 1.63h-1.341L132.52.183h1.058l3.738 6.597h-1.378zm-2.927-5.314l-1.473 2.767h3.003l-1.53-2.767zm5.401 5.314V.183h1.284V6.78h-1.284zm9.063 0c-.34 0-.491-.458-.547-1.063l-.038-.678c-.038-.66-.321-.934-1.586-.934h-2.417V6.78h-1.265V.183h3.701c2.039 0 2.964.788 2.964 1.814 0 .715-.377 1.411-1.699 1.65 1.322.091 1.605.678 1.624 1.447l.019.55c.019.458.094.788.415 1.118v.018h-1.171zm-.472-4.618c0-.476-.396-.934-1.491-.934h-2.606v1.979h2.719c.944 0 1.378-.44 1.378-.953v-.092zm3.078 4.618V.183h1.284v5.57h5.325V6.78h-6.609zm7.912 0V.183h1.284V6.78h-1.284zm9.347 0l-4.418-4.416-.435-.458V6.78h-1.284V.183h1.228l4.286 4.416.434.477V.183h1.284V6.78h-1.095zm3.04 0V.183h6.175V1.21h-4.91v1.686h3.777v1.008h-3.777v1.85h4.91V6.78h-6.175z"),K(n,"clip-path","url(#footer-automattic_svg__clip0)"),K(n,"fill","#000"),K(n,"fill-opacity","0.8"),K(i,"fill","#fff"),K(i,"d","M0 0h176.556v7H0z"),K(s,"id","footer-automattic_svg__clip0"),q(t,u)},m(e,a){A(e,t,a),O(t,n),O(n,o),O(t,r),O(r,s),O(s,i)},p(e,[n]){q(t,u=Ae(c,[{width:"177"},{height:"7"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function ur(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class pr extends Je{constructor(e){super(),He(this,e,ur,lr,h,{})}}function dr(e){let t,n,o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"none"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,width:!0,height:!0,fill:!0});var o=Y(t);n=X(o,"path",{d:!0,fill:!0,"fill-opacity":!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"d","M8 0C3.588 0 0 3.588 0 8s3.588 8 8 8 8-3.588 8-8-3.588-8-8-8zm-.412 9.328H3.603l3.985-7.755v7.755zm.809 5.084V6.656h3.985l-3.985 7.756z"),K(n,"fill","#000"),K(n,"fill-opacity","0.7"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"none"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function mr(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class hr extends Je{constructor(e){super(),He(this,e,mr,dr,h,{})}}function gr(e){let n,o,r,s,i,c,l,u,p,d,m=t.__("Jetpack Boost","jetpack-boost")+"";return r=new hr({}),p=new pr({}),{c(){n=D("footer"),o=D("div"),Ve(r.$$.fragment),s=J(),i=H(m),c=J(),l=D("div"),u=D("a"),Ve(p.$$.fragment),K(o,"class","jb-signature--jetpack"),K(u,"href","https://automattic.com"),K(u,"aria-label",t.__("An Automattic Airline","jetpack-boost")),K(l,"class","jb-signature--automattic"),K(n,"class","jb-settings-footer")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(o,s),M(o,i),M(n,c),M(n,l),M(l,u),De(p,u,null),d=!0},p:a,i(e){d||(Me(r.$$.fragment,e),Me(p.$$.fragment,e),d=!0)},o(e){Ne(r.$$.fragment,e),Ne(p.$$.fragment,e),d=!1},d(e){e&&I(n),Fe(r),Fe(p)}}}class fr extends Je{constructor(e){super(),He(this,e,null,gr,h,{})}}function _r(e){let t,n,o,r,s,i,c,u,p,d,m,h,g,f,_,b,y,v=[{fill:"none"},{height:"50"},{viewBox:"0 0 280 50"},{width:"280"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],$={};for(let e=0;e<v.length;e+=1)$=l($,v[e]);return{c(){t=F("svg"),n=F("path"),o=F("path"),r=F("path"),s=F("path"),i=F("path"),c=F("path"),u=F("path"),p=F("path"),d=F("g"),m=F("path"),h=F("path"),g=F("path"),f=F("path"),_=F("path"),b=F("path"),y=F("path"),this.h()},l(e){t=X(e,"svg",{fill:!0,height:!0,viewBox:!0,width:!0,xmlns:!0});var a=Y(t);n=X(a,"path",{d:!0,fill:!0}),Y(n).forEach(I),o=X(a,"path",{d:!0,fill:!0}),Y(o).forEach(I),r=X(a,"path",{d:!0,fill:!0}),Y(r).forEach(I),s=X(a,"path",{d:!0,fill:!0}),Y(s).forEach(I),i=X(a,"path",{d:!0,fill:!0}),Y(i).forEach(I),c=X(a,"path",{d:!0,fill:!0}),Y(c).forEach(I),u=X(a,"path",{d:!0,fill:!0}),Y(u).forEach(I),p=X(a,"path",{d:!0,fill:!0}),Y(p).forEach(I),d=X(a,"g",{fill:!0});var l=Y(d);m=X(l,"path",{d:!0}),Y(m).forEach(I),h=X(l,"path",{d:!0}),Y(h).forEach(I),g=X(l,"path",{d:!0}),Y(g).forEach(I),f=X(l,"path",{d:!0}),Y(f).forEach(I),_=X(l,"path",{d:!0}),Y(_).forEach(I),b=X(l,"path",{d:!0}),Y(b).forEach(I),y=X(l,"path",{d:!0}),Y(y).forEach(I),l.forEach(I),a.forEach(I),this.h()},h(){K(n,"d","m207.34 21.2106c.764.1108 1.447.3141 2.051.6099.616.2957 1.14.6776 1.571 1.1458.444.4559.782 1.0042 1.017 1.6449.234.6284.351 1.3492.351 2.1624 0 .5791-.087 1.189-.259 1.8297-.173.6284-.462 1.2444-.869 1.8482-.394.5914-.918 1.1397-1.571 1.6449-.64.5051-1.441.9179-2.402 1.2383-.74.2464-1.559.4189-2.458.5174-.9.0986-1.978.1479-3.235.1479h-6.394v-24.72872h6.173c.566 0 1.078.01232 1.534.03696.468.01232.893.03697 1.275.07393.394.03696.758.08625 1.09.14785.333.04929.647.1109.943.18482.776.20946 1.478.49906 2.107.86866.64.3573 1.183.7885 1.626 1.2937.444.5052.783 1.0781 1.017 1.7188.246.6407.369 1.3369.369 2.0885 0 .6037-.074 1.1828-.222 1.7373-.135.5544-.363 1.0658-.683 1.534-.308.4682-.715.8871-1.22 1.2567-.493.3697-1.097.6777-1.811.9241zm-4.602-1.2383c.591 0 1.102-.0247 1.534-.074.431-.0616.819-.1478 1.164-.2587.924-.308 1.596-.7886 2.015-1.4416.431-.653.646-1.4231.646-2.3102 0-.9118-.221-1.6572-.665-2.2363s-1.14-1.0104-2.088-1.2938c-.469-.1355-1.011-.2279-1.627-.2772-.616-.0616-1.343-.0924-2.181-.0924h-3.382v7.9842zm-4.584 2.7168v8.5941h3.641c.863 0 1.663-.037 2.403-.1109.739-.0863 1.367-.2156 1.885-.3881.567-.1849 1.047-.419 1.441-.7024.395-.2957.709-.616.943-.961.246-.3573.419-.7331.518-1.1274.11-.3943.166-.7947.166-1.2013 0-.4682-.056-.9056-.166-1.3122-.111-.419-.296-.7886-.555-1.1089-.246-.3327-.579-.6223-.998-.8687-.407-.2464-.918-.4374-1.534-.5729-.37-.0863-.795-.1479-1.275-.1849-.468-.0369-1.054-.0554-1.756-.0554z"),K(n,"fill","#000"),K(o,"d","m229.338 25.2396c0-1.0843-.135-2.0453-.406-2.8832-.259-.8501-.629-1.5648-1.109-2.1439-.469-.5914-1.029-1.0349-1.682-1.3307-.653-.308-1.368-.462-2.144-.462s-1.491.154-2.144.462c-.653.2958-1.22.7393-1.7 1.3307-.468.5791-.838 1.2938-1.109 2.1439-.259.8379-.388 1.7989-.388 2.8832 0 1.0719.129 2.033.388 2.8832.271.8378.647 1.5463 1.127 2.1254.481.5791 1.048 1.0226 1.701 1.3307.653.2957 1.367.4435 2.143.4435.777 0 1.485-.1478 2.126-.4435.653-.3081 1.213-.7516 1.682-1.3307.48-.5791.85-1.2876 1.109-2.1254.271-.8502.406-1.8113.406-2.8832zm2.994 0c0 1.38-.197 2.6367-.591 3.7703-.394 1.1335-.955 2.1069-1.682 2.9201-.715.8009-1.583 1.4231-2.606 1.8667s-2.168.6653-3.438.6653c-1.306 0-2.476-.2217-3.511-.6653-1.023-.4436-1.898-1.0658-2.625-1.8667-.714-.8132-1.262-1.7866-1.644-2.9201-.382-1.1336-.573-2.3903-.573-3.7703 0-1.3923.197-2.6552.591-3.7888.394-1.1335.949-2.1069 1.663-2.9201.727-.8132 1.602-1.4416 2.625-1.8852 1.035-.4435 2.187-.6653 3.456-.6653 1.294 0 2.458.2218 3.493.6653 1.035.4436 1.91 1.072 2.624 1.8852.715.8132 1.263 1.7866 1.645 2.9201.382 1.1336.573 2.3965.573 3.7888z"),K(o,"fill","#000"),K(r,"d","m248.953 25.2396c0-1.0843-.136-2.0453-.407-2.8832-.259-.8501-.628-1.5648-1.109-2.1439-.468-.5914-1.029-1.0349-1.682-1.3307-.653-.308-1.367-.462-2.144-.462-.776 0-1.491.154-2.144.462-.653.2958-1.219.7393-1.7 1.3307-.468.5791-.838 1.2938-1.109 2.1439-.259.8379-.388 1.7989-.388 2.8832 0 1.0719.129 2.033.388 2.8832.271.8378.647 1.5463 1.128 2.1254.48.5791 1.047 1.0226 1.7 1.3307.653.2957 1.368.4435 2.144.4435s1.485-.1478 2.125-.4435c.653-.3081 1.214-.7516 1.682-1.3307.481-.5791.85-1.2876 1.109-2.1254.271-.8502.407-1.8113.407-2.8832zm2.994 0c0 1.38-.197 2.6367-.592 3.7703-.394 1.1335-.955 2.1069-1.682 2.9201-.714.8009-1.583 1.4231-2.606 1.8667-1.022.4436-2.168.6653-3.437.6653-1.306 0-2.477-.2217-3.512-.6653-1.022-.4436-1.897-1.0658-2.624-1.8667-.715-.8132-1.263-1.7866-1.645-2.9201-.382-1.1336-.573-2.3903-.573-3.7703 0-1.3923.197-2.6552.591-3.7888.395-1.1335.949-2.1069 1.664-2.9201.727-.8132 1.602-1.4416 2.624-1.8852 1.035-.4435 2.187-.6653 3.456-.6653 1.294 0 2.458.2218 3.493.6653 1.035.4436 1.91 1.072 2.625 1.8852.714.8132 1.263 1.7866 1.645 2.9201.382 1.1336.573 2.3965.573 3.7888z"),K(r,"fill","#000"),K(s,"d","m257.755 21.1181c0 .4806.105.8749.314 1.1829.21.308.487.5606.832.7577.357.1849.764.3389 1.22.4621.468.1232.949.2341 1.441.3327.678.1478 1.319.3142 1.923.499.603.1725 1.158.4374 1.663.7947.517.3573.93.844 1.238 1.4601.321.6037.481 1.3923.481 2.3656 0 .8872-.173 1.6757-.518 2.3657-.345.6777-.831 1.2506-1.46 1.7188-.628.4559-1.38.8009-2.255 1.035-.874.2464-1.835.3696-2.883.3696-.641 0-1.226-.0369-1.756-.1108-.517-.0617-.979-.1479-1.386-.2588-.394-.0986-.733-.2033-1.016-.3142-.284-.1109-.518-.2156-.703-.3142v-2.4026c.74.2957 1.473.5298 2.2.7023s1.528.2587 2.402.2587c.69 0 1.313-.0616 1.867-.1848.555-.1232 1.029-.3018 1.423-.536.407-.2464.715-.5482.924-.9056.222-.3696.333-.7947.333-1.2752 0-.4929-.099-.8995-.296-1.2198-.197-.3204-.462-.5853-.794-.7947-.333-.2095-.721-.382-1.165-.5175-.431-.1356-.887-.2588-1.367-.3697-.629-.1355-1.27-.2957-1.923-.4805-.64-.1848-1.226-.4436-1.755-.7762-.53-.3327-.961-.7824-1.294-1.3492-.32-.5791-.481-1.3184-.481-2.2178 0-.9241.167-1.725.499-2.4027.333-.6776.783-1.2383 1.35-1.6818.566-.4436 1.226-.7763 1.977-.998.752-.2218 1.546-.3327 2.384-.3327.974 0 1.873.0924 2.699.2772.837.1848 1.595.4189 2.273.7023v2.4396c-.739-.2834-1.491-.5113-2.255-.6838-.751-.1848-1.528-.2834-2.329-.2957-.677 0-1.256.0678-1.737.2033-.48.1355-.875.3265-1.183.5729-.308.2341-.536.5175-.684.8502-.135.3204-.203.6777-.203 1.0719z"),K(s,"fill","#000"),K(i,"d","m279.902 34.037c-.247.0985-.623.1909-1.128.2772-.505.0862-1.109.1355-1.811.1478-.924 0-1.725-.117-2.403-.3511-.677-.2218-1.244-.5421-1.7-.9611-.444-.4312-.776-.9487-.998-1.5524-.222-.6038-.333-1.2753-.333-2.0146v-10.6825h-3.382v-2.4581h3.382v-4.8052h2.865v4.8052h5.249v2.4581h-5.249v10.239c0 .4066.055.7824.166 1.1274.124.345.308.6468.555.9056.259.2464.585.4435.979.5914.395.1355.869.2033 1.423.2033.382 0 .783-.0308 1.202-.0924.431-.0616.825-.1417 1.183-.2403z"),K(i,"fill","#000"),K(c,"d","m24.9855 49.9692c13.799 0 24.9855-11.1865 24.9855-24.9855 0-13.7991-11.1865-24.9837-24.9855-24.9837s-24.9855 11.1865-24.9855 24.9855 11.1865 24.9837 24.9855 24.9837z"),K(c,"fill","#069e08"),K(u,"d","m26.2256 20.7892v24.2213l12.4927-24.2213z"),K(u,"fill","#fff"),K(p,"d","m23.6976 29.1337v-24.17511l-12.4447 24.17511z"),K(p,"fill","#fff"),K(m,"d","m64.512 41.4821c-.7161-1.0972-1.3822-2.1925-2.0501-3.2416 3.5284-2.1462 4.72-3.8614 4.72-7.1048v-18.7392h-4.1483v-3.57462h8.8219v21.36092c0 5.436-1.5727 8.487-7.3435 11.2993z"),K(h,"d","m101.467 28.7045c0 1.8113 1.287 2.0019 2.146 2.0019.858 0 2.098-.2868 3.051-.5717v3.3378c-1.336.4293-2.718.7623-4.626.7623-2.2885 0-4.9584-.8585-4.9584-4.8643v-9.8228h-2.4312v-3.386h2.4312v-5.0048h4.3874v5.0067h5.53v3.3859h-5.53z"),K(g,"d","m110.621 43.151v-27.0355h4.196v1.6208c1.669-1.2878 3.529-2.0982 5.818-2.0982 3.957 0 7.104 2.7661 7.104 8.7257 0 5.9133-3.432 9.8229-9.106 9.8229-1.383 0-2.48-.1906-3.625-.4293v9.3455h-4.387zm8.868-23.8883c-1.288 0-2.908.6198-4.435 1.9557v9.2031c.953.1905 1.956.333 3.29.333 3.099 0 4.864-1.9557 4.864-6.0558 0-3.7671-1.288-5.436-3.719-5.436z"),K(f,"d","m144.998 33.8055h-4.1v-1.9557h-.096c-1.43 1.0972-3.195 2.2888-5.817 2.2888-2.289 0-4.768-1.6689-4.768-5.0549 0-4.5293 3.861-5.3878 6.579-5.769l3.862-.5236v-.5236c0-2.385-.953-3.1472-3.196-3.1472-1.097 0-3.671.333-5.769 1.1915l-.381-3.5284c1.908-.6679 4.529-1.1434 6.724-1.1434 4.291 0 7.057 1.717 7.057 6.8181v11.3474zm-4.387-8.2483-3.624.5717c-1.097.1425-2.241.8104-2.241 2.4312 0 1.4303.811 2.2407 2.002 2.2407 1.288 0 2.67-.7623 3.862-1.6208v-3.6228z"),K(_,"d","m163.118 33.2338c-1.812.6198-3.432 1.001-5.484 1.001-6.58 0-9.203-3.7671-9.203-9.2493 0-5.769 3.624-9.3455 9.488-9.3455 2.192 0 3.528.3811 5.006.8585v3.7189c-1.287-.4773-3.147-1.0009-4.958-1.0009-2.67 0-4.959 1.4302-4.959 5.5303 0 4.5294 2.289 5.9133 5.197 5.9133 1.383 0 2.909-.2867 4.959-1.0971v3.6708z"),K(b,"d","m171.415 23.7458c.381-.4292.668-.8585 6.198-7.5822h5.721l-7.153 8.3926 7.819 9.2974h-5.721l-6.818-8.3926v8.3926h-4.385v-25.03173h4.387v14.92393z"),K(y,"d","m91.3568 33.2338c-2.2887.716-4.2444 1.001-6.5332 1.001-5.6265 0-9.1068-2.8124-9.1068-9.3936 0-4.8162 2.9567-9.2031 8.6295-9.2031 5.6265 0 7.5822 3.9096 7.5822 7.6285 0 1.2397-.0962 1.9076-.1425 2.6218h-11.3474c.0962 3.8614 2.2887 4.768 5.5784 4.768 1.8114 0 3.4322-.4292 5.2935-1.0972v3.6709h.0463zm-4.0039-10.2521c0-2.1463-.716-4.0058-3.051-4.0058-2.1926 0-3.5284 1.5727-3.8152 4.0058z"),K(d,"fill","#000"),q(t,$)},m(e,a){A(e,t,a),O(t,n),O(t,o),O(t,r),O(t,s),O(t,i),O(t,c),O(t,u),O(t,p),O(t,d),O(d,m),O(d,h),O(d,g),O(d,f),O(d,_),O(d,b),O(d,y)},p(e,[n]){q(t,$=Ae(v,[{fill:"none"},{height:"50"},{viewBox:"0 0 280 50"},{width:"280"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function br(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class yr extends Je{constructor(e){super(),He(this,e,br,_r,h,{})}}function vr(e){let t,n,o,r;return o=new yr({}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),K(n,"class","jb-settings-header__logo"),K(t,"class","jb-settings-header")},m(e,s){R(e,t,s),M(t,n),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(t),Fe(o)}}}class $r extends Je{constructor(e){super(),He(this,e,null,vr,h,{})}}const{subscribe:wr,update:xr,set:kr}=Dn(Sr(_(Bo).optimizations));let jr;function Sr(e){const t={};for(const[n,o]of Object.entries(e))t[n]={enabled:o};return t}async function Cr(e,n){if(void 0===jr[e])return!1;const o=jr[e]&&jr[e].enabled;let r=n;Er(e,n);try{r=await async function(e,n){const o=await So.post(`/module/${e}/status`,{status:n});if(!0!==o&&!1!==o){const e=JSON.stringify(o);throw new Error(t.sprintf(t.__("Unexpected data received from WordPress: %s","jetpack-boost"),e))}return o!==n?!n:o}(e,n),Er(e,r,!0)}catch(t){throw Er(e,o,!0),t}return r}function Er(e,t,n=!1){xr((o=>({...o,[e]:{...o[e],enabled:t,synced:n}})))}wr((e=>jr=e));const Lr={subscribe:wr,updateModuleState:Cr},Pr=e=>Fn(Lr,(t=>t[e]&&t[e].enabled)),zr=e=>Fn(Lr,(t=>void 0!==t[e])),Br="success",Mr="fail",Nr="requesting",Tr={progress:0,success_count:0,retried_show_stopper:!1,status:"not_generated"},Or=Dn(Jetpack_Boost.criticalCssStatus||Tr),{subscribe:Rr,update:Ar}=Or;let Ir;function Vr(){return Ir}Rr((e=>Ir=e));const Dr=Fn({subscribe:Rr},(e=>e.providers_errors?Object.keys(e.providers_errors).length:0)),Fr=Fn({subscribe:Rr},(e=>[Br,Mr].includes(e.status))),Hr=Fn({subscribe:Rr},(e=>"error"===e.status||"success"===e.status&&0===e.success_count)),Jr=Fn([Or,Lr],(([e,t])=>{const n=Nr===e.status,o=t["critical-css"]&&t["critical-css"].enabled,r=t["cloud-css"]&&t["cloud-css"].enabled;return n&&(o||r)}));async function Wr(e,t,n){const o=await So[e](t,n);if("module-unavailable"===o.status)return!1;if(o.status!==Br)throw new Error(o.code||o.message||o.error||JSON.stringify(o));return Ar((e=>({...e,...o.status_update}))),o.status_update}function Ur(e){return Ar((t=>({...t,...e})))}async function Gr(e,t,n){return Wr("post",`/critical-css/${e}/${t}`,n)}const Kr={subscribe:Rr};async function qr(){Ar((e=>({...e,...Tr,status:Nr}))),await Xr()}async function Yr(){Ar((e=>({...e,...Tr,status:Nr,retried_show_stopper:!0}))),await Xr()}async function Xr(){try{await So.post("/cloud-css/request-generate")}catch(e){if(200!==e.httpCode)return Ar((e=>({...e,status:"error"}))),void ts()}es()}let Zr=null;function Qr(e){return e.progress<100?5e3:12e4}function es(){let e=Vr();const t=Qr(Vr());ts(),Zr=setInterval((async()=>{e=await So.get("/cloud-css/status"),Ur(e),t!==Qr(e)&&es()}),t)}function ts(){null!==Zr&&(clearInterval(Zr),Zr=null)}const ns=Jetpack_Boost.connection,{subscribe:os,update:rs}=Dn(ns);function ss(e){rs((t=>({...t,...e})))}const is={subscribe:os,initialize:async function(){ss({isConnecting:!0});try{const e=await So.post("/connection");e.connected&&await async function(){kr(Sr(await So.get("/optimizations/status")))}(),await async function(){await Bo.refresh(),_(Pr("cloud-css"))&&await qr()}(),ss(e)}catch(e){ss({isConnecting:!1,error:e})}},refresh:async function(){ss(await So.get("/connection"))}};function as(e){let t,n,o,r=[{class:"gridicon gridicons-checkmark-circle"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-checkmark-circle"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function cs(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class ls extends Je{constructor(e){super(),He(this,e,cs,as,h,{})}}function us(e,t,n){const o=e.slice();return o[2]=t[n],o}function ps(e){let t,n,o,r,s,i,c,l=e[2]+"";return n=new ls({}),{c(){t=D("div"),Ve(n.$$.fragment),o=J(),r=D("span"),s=H(l),i=J(),K(t,"class","checklist__item")},m(e,a){R(e,t,a),De(n,t,null),M(t,o),M(t,r),M(r,s),M(t,i),c=!0},p:a,i(e){c||(Me(n.$$.fragment,e),c=!0)},o(e){Ne(n.$$.fragment,e),c=!1},d(e){e&&I(t),Fe(n)}}}function ds(e){let n,o;return n=new cr({props:{title:t.__("Failed to connect to WordPress.com","jetpack-boost"),suggestion:t.__("If you need further assistance, contact <support>Jetpack Boost Support</support>.","jetpack-boost"),error:e[0].error}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};1&t&&(o.error=e[0].error),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function ms(e){let n,o=t.__("Get Started","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function hs(e){let n,o=t.__("Connecting to WordPress.com","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function gs(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,b,y,v,$,w,x,k,j,S;r=new $r({});let C=e[1],E=[];for(let t=0;t<C.length;t+=1)E[t]=ps(us(e,C,t));const L=e=>Ne(E[e],1,1,(()=>{E[e]=null}));let P=e[0].error&&ds(e);function z(e,t){return e[0].isConnecting?hs:ms}let B=z(e),N=B(e);return $=new tr({props:{template:t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareLink>share details</shareLink> with WordPress.com.","jetpack-boost"),vars:{...Ko(Ro("https://jetpack.com/redirect/?source=wpcom-tos"),"tosLink"),...Ko(Ro("https://jetpack.com/redirect/?source=jetpack-support-what-data-does-jetpack-sync"),"shareLink")}}}),x=new fr({}),{c(){n=D("div"),o=D("div"),Ve(r.$$.fragment),s=J(),i=D("div"),a=D("div"),c=D("div"),l=D("h1"),l.textContent=`${t.__("Get faster loading times with Jetpack Boost","jetpack-boost")}`,u=J(),p=D("p"),p.textContent=`${t.__("Connect Jetpack Boost and we will make your site faster in no time.","jetpack-boost")}`,d=J(),m=D("div");for(let e=0;e<E.length;e+=1)E[e].c();h=J(),P&&P.c(),g=J(),f=D("button"),N.c(),b=J(),y=D("div"),v=D("p"),Ve($.$$.fragment),w=J(),Ve(x.$$.fragment),K(o,"class","jb-container"),K(l,"class","jb-connection__title"),K(p,"class","jb-connection__description"),K(c,"class","jb-connection__header"),K(m,"class","checklist"),K(f,"type","button"),K(f,"class","components-button is-jb-primary"),f.disabled=_=e[0].isConnecting,K(y,"class","jb-connection-overlay"),K(a,"class","jb-connection"),K(i,"class","jb-section__inner connection"),K(n,"id","jb-settings"),K(n,"class","jb-settings jb-settings--main")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(n,s),M(n,i),M(i,a),M(a,c),M(c,l),M(c,u),M(c,p),M(a,d),M(a,m);for(let e=0;e<E.length;e+=1)E[e].m(m,null);M(a,h),P&&P.m(a,null),M(a,g),M(a,f),N.m(f,null),M(a,b),M(a,y),M(y,v),De($,v,null),M(n,w),De(x,n,null),k=!0,j||(S=U(f,"click",is.initialize),j=!0)},p(e,[t]){if(2&t){let n;for(C=e[1],n=0;n<C.length;n+=1){const o=us(e,C,n);E[n]?(E[n].p(o,t),Me(E[n],1)):(E[n]=ps(o),E[n].c(),Me(E[n],1),E[n].m(m,null))}for(ze(),n=C.length;n<E.length;n+=1)L(n);Be()}e[0].error?P?(P.p(e,t),1&t&&Me(P,1)):(P=ds(e),P.c(),Me(P,1),P.m(a,g)):P&&(ze(),Ne(P,1,1,(()=>{P=null})),Be()),B===(B=z(e))&&N?N.p(e,t):(N.d(1),N=B(e),N&&(N.c(),N.m(f,null))),(!k||1&t&&_!==(_=e[0].isConnecting))&&(f.disabled=_)},i(e){if(!k){Me(r.$$.fragment,e);for(let e=0;e<C.length;e+=1)Me(E[e]);Me(P),Me($.$$.fragment,e),Me(x.$$.fragment,e),k=!0}},o(e){Ne(r.$$.fragment,e),E=E.filter(Boolean);for(let e=0;e<E.length;e+=1)Ne(E[e]);Ne(P),Ne($.$$.fragment,e),Ne(x.$$.fragment,e),k=!1},d(e){e&&I(n),Fe(r),V(E,e),P&&P.d(),N.d(),Fe($),Fe(x),j=!1,S()}}}function fs(e,n,o){let r;b(e,is,(e=>o(0,r=e)));const s=[t.__("Speed up your site load time","jetpack-boost"),t.__("Decrease bounce rate of your visitors","jetpack-boost"),t.__("Improve your SEO ranking","jetpack-boost"),t.__("Sell more stuff","jetpack-boost")];return[r,s]}class _s extends Je{constructor(e){super(),He(this,e,fs,gs,h,{})}}const bs=t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as Critical CSS.","jetpack-boost"),ys=t.__("Run non-essential JavaScript after the page has loaded so that styles and images can load more quickly. Read more on <link>web.dev</link>.","jetpack-boost"),vs=gt(ys,{link:We.exports.jsx("a",{href:ot("jetpack-boost-defer-js"),target:"_blank",rel:"noreferrer"})}),$s=t.__("Improve page loading speed by only loading images when they are required. Read more on <link>web.dev</link>.","jetpack-boost"),ws=gt($s,{link:We.exports.jsx("a",{href:ot("jetpack-boost-lazy-load"),target:"_blank",rel:"noreferrer"})}),xs=t.__("Paid customers get dedicated email support from our world-class Happiness Engineers to help with any issue.<br><br>All other questions are handled by our team as quickly as we are able to go through the WordPress support forum.","jetpack-boost"),ks=({pricing:n,onPremiumCTA:o,onFreeCTA:r})=>{const[s,i]=e.useState(!1),[a,c]=e.useState(!1),l=n.yearly.isIntroductoryOffer?t.__("First Year Discount","jetpack-boost"):"";return We.exports.jsxs(En,{title:t.__("The easiest speed optimization plugin for WordPress","jetpack-boost"),items:[{name:t.__("Optimize CSS Loading","jetpack-boost"),tooltipInfo:bs},{name:t.__("Defer non-essential JavaScript","jetpack-boost"),tooltipInfo:vs},{name:t.__("Lazy image loading","jetpack-boost"),tooltipInfo:ws},{name:t.__("Dedicated support","jetpack-boost"),tooltipInfo:We.exports.jsx("span",{dangerouslySetInnerHTML:{__html:xs}})}],children:[We.exports.jsxs(Cn,{primary:!0,children:[We.exports.jsxs(Sn,{children:[We.exports.jsx(An,{price:n.yearly.priceBefore/12,offPrice:n.yearly.priceAfter/12,currency:n.yearly.currencyCode,hideDiscountLabel:!1,promoLabel:l}),We.exports.jsx(Bt,{onClick:()=>{i(!0),o()},isLoading:s,disabled:a||s,fullWidth:!0,children:t.__("Get Boost","jetpack-boost")})]}),We.exports.jsx(jn,{isIncluded:!0,label:t.__("Automatic Critical CSS Generation","jetpack-boost")}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0})]}),We.exports.jsxs(Cn,{children:[We.exports.jsxs(Sn,{children:[We.exports.jsx(An,{price:0,legend:"",currency:n.yearly.currencyCode,hidePriceFraction:!0}),We.exports.jsx(Bt,{onClick:()=>{c(!0),r()},isLoading:a,disabled:a||s,fullWidth:!0,variant:"secondary",children:t.__("Start for free","jetpack-boost")})]}),We.exports.jsx(jn,{isIncluded:!1,label:t.__("Manual Critical CSS Generation","jetpack-boost")}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!1,label:t.__("No dedicated support","jetpack-boost")})]})]})};function js(e){let t,n,o,r,s,i,a,c;return o=new $r({}),a=new vo({props:{this:ks,pricing:e[0],onPremiumCTA:e[2],onFreeCTA:e[1]}}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),s=D("div"),i=D("div"),Ve(a.$$.fragment),K(n,"class","jb-container"),K(i,"class","jb-container"),K(s,"class","jb-section jb-section--alt"),K(t,"id","jb-settings"),K(t,"class","jb-settings jb-settings--main")},m(e,l){R(e,t,l),M(t,n),De(o,n,null),M(t,r),M(t,s),M(s,i),De(a,i,null),c=!0},p(e,[t]){const n={};1&t&&(n.pricing=e[0]),a.$set(n)},i(e){c||(Me(o.$$.fragment,e),Me(a.$$.fragment,e),c=!0)},o(e){Ne(o.$$.fragment,e),Ne(a.$$.fragment,e),c=!1},d(e){e&&I(t),Fe(o),Fe(a)}}}function Ss(e,t,n){let o,r;b(e,Bo,(e=>n(5,r=e)));let{navigate:s,location:i}=t;return e.$$set=e=>{"navigate"in e&&n(3,s=e.navigate),"location"in e&&n(4,i=e.location)},e.$$.update=()=>{32&e.$$.dirty&&n(0,o=r.pricing)},[o,async()=>{zo(),await Cr("critical-css",!0),s("/")},async()=>{await Oo("premium_cta_from_getting_started_page_in_plugin",{}),window.location.href=Ao()},s,i,r]}class Cs extends Je{constructor(e){super(),He(this,e,Ss,js,h,{navigate:3,location:4})}}function Es(e){let n,r,s,i,a,c,l,u,p,d,m,h,f,_,b,y,v,$,w,x,k,j,S,C,E;return s=new _o({}),l=new To({props:{class:"my-2"}}),x=new vo({props:{this:o.Button,label:t.__("Continue","jetpack-boost"),onClick:e[2],className:"jp-action-button--button jb-button jb-button--primary mt-3",children:t.__("Continue","jetpack-boost")}}),{c(){var e,o;n=D("div"),r=D("div"),Ve(s.$$.fragment),i=J(),a=D("div"),c=D("div"),Ve(l.$$.fragment),u=J(),p=D("h1"),p.textContent=`${t.__("Your Jetpack Boost has been upgraded!","jetpack-boost")}`,d=J(),m=D("p"),m.textContent=`${t.__("When you update your site, it will now be optimized automatically with automated critical CSS","jetpack-boost")}`,h=J(),f=D("ul"),_=D("li"),_.textContent=`${t.__("Automatic critical CSS regeneration","jetpack-boost")}`,b=J(),y=D("li"),y.textContent=`${t.__("Performance scores are recalculated after each change","jetpack-boost")}`,v=J(),$=D("li"),$.textContent=`${t.__("Dedicated email support","jetpack-boost")}`,w=J(),Ve(x.$$.fragment),k=J(),j=D("div"),S=D("img"),K(p,"class","my-2"),K(m,"class","jb-card__summary my-2"),K(f,"class","jb-checklist my-2"),K(c,"class","jb-card__content"),e=S.src,o=C=`${window.Jetpack_Boost.site.assetPath}../static/images/boost.png`,g||(g=document.createElement("a")),g.href=o,e!==g.href&&K(S,"src",C),K(S,"alt",t.__("Optimize with Jetpack Boost","jetpack-boost")),K(j,"class","jb-card__cta px-1 py-4"),K(a,"class","jb-card"),K(r,"class","jb-container jb-container--fixed mt-2"),K(n,"id","jb-settings"),K(n,"class","jb-settings")},m(e,t){R(e,n,t),M(n,r),De(s,r,null),M(r,i),M(r,a),M(a,c),De(l,c,null),M(c,u),M(c,p),M(c,d),M(c,m),M(c,h),M(c,f),M(f,_),M(f,b),M(f,y),M(f,v),M(f,$),M(c,w),De(x,c,null),M(a,k),M(a,j),M(j,S),E=!0},p(e,[t]){const n={};1&t&&(n.onClick=e[2]),x.$set(n)},i(e){E||(Me(s.$$.fragment,e),Me(l.$$.fragment,e),Me(x.$$.fragment,e),E=!0)},o(e){Ne(s.$$.fragment,e),Ne(l.$$.fragment,e),Ne(x.$$.fragment,e),E=!1},d(e){e&&I(n),Fe(s),Fe(l),Fe(x)}}}function Ls(e,t,n){let{location:o,navigate:r}=t;le((async()=>{await Cr("cloud-css",!0),await qr()}));return e.$$set=e=>{"location"in e&&n(1,o=e.location),"navigate"in e&&n(0,r=e.navigate)},[r,o,()=>r("/")]}class Ps extends Je{constructor(e){super(),He(this,e,Ls,Es,h,{location:1,navigate:0})}}const zs=e=>`@@svnav-ctx__${e}`,Bs=zs("LOCATION"),Ms=zs("ROUTER"),Ns=zs("ROUTE"),Ts=zs("ROUTE_PARAMS"),Os=zs("FOCUS_ELEM"),Rs=/^:(.+)/,As=(e,t)=>e.substr(0,t.length)===t,Is=e=>"*"===e[0],Vs=e=>e.replace(/(^\/+|\/+$)/g,"");function Ds(e,t=!1){const n=Vs(e).split("/");return t?n.filter(Boolean):n}const Fs=(e,t)=>e+(t?`?${t}`:""),Hs=e=>`/${Vs(e)}`;function Js(...e){const t=e.map((e=>Ds(e,!0).join("/"))).join("/");return Hs(t)}const Ws=e=>void 0===e,Us=e=>"number"==typeof e;function Gs(){let e=0;return()=>e++}const Ks="undefined"==typeof window;function qs(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}const Ys={1:"Link",2:"Route",3:"Router",4:"useFocus",5:"useLocation",6:"useMatch",7:"useNavigate",8:"useParams",9:"useResolvable",10:"useResolve",11:"navigate"},Xs=e=>Ys[e];function Zs(e,t,n,o){const r=n&&function(e,t){let n;return 2===e?n=t.path?`path="${t.path}"`:"default":1===e?n=`to="${t.to}"`:3===e&&(n=`basepath="${t.basepath||""}"`),`<${Xs(e)} ${n||""} />`}(o||e,n),s=r?`\n\nOccurred in: ${r}`:"",i=Xs(e);return`<${i}> ${"function"==typeof t?t(i):t}${s}`}const Qs=e=>(...t)=>e(Zs(...t)),ei=Qs((e=>{throw new Error(e)})),ti=Qs(console.warn);function ni(e,t){return{route:e,score:e.default?0:Ds(e.fullPath).reduce(((e,t)=>{let n=e;return n+=4,(e=>""===e)(t)?n+=1:(e=>Rs.test(e))(t)?n+=2:Is(t)?n-=5:n+=3,n}),0),index:t}}function oi(e,t){let n,o;const[r]=t.split("?"),s=Ds(r),i=""===s[0],a=function(e){return e.map(ni).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index))}(e);for(let e=0,r=a.length;e<r;e++){const{route:r}=a[e];let c=!1;const l={},u=e=>({...r,params:l,uri:e});if(r.default){o=u(t);continue}const p=Ds(r.fullPath),d=Math.max(s.length,p.length);let m=0;for(;m<d;m++){const e=p[m],t=s[m];if(!Ws(e)&&Is(e)){const t="*"===e?"*":e.slice(1);l[t]=s.slice(m).map(decodeURIComponent).join("/");break}if(Ws(t)){c=!0;break}const n=Rs.exec(e);if(n&&!i){const e=decodeURIComponent(t);l[n[1]]=e}else if(e!==t){c=!0;break}}if(!c){n=u(Js(...s.slice(0,m)));break}}return n||o||null}function ri(e,t){return oi([e],t)}function si(e,t){const{pathname:n,hash:o="",search:r="",state:s}=e,i=Ds(t,!0),a=Ds(n,!0);for(;i.length;)i[0]!==a[0]&&ei(3,`Invalid state: All locations must begin with the basepath "${t}", found "${n}"`),i.shift(),a.shift();return{pathname:Js(...a),hash:o,search:r,state:s}}const ii=e=>1===e.length?"":e;function ai(e){const t=e.indexOf("?"),n=e.indexOf("#"),o=-1!==t,r=-1!==n,s=r?ii(e.substr(n)):"",i=r?e.substr(0,n):e,a=o?ii(i.substr(t)):"";return{pathname:o?i.substr(0,t):i,search:a,hash:s}}function ci(e,t,n){return Js(n,function(e,t){if(As(e,"/"))return e;const[n,o]=e.split("?"),[r]=t.split("?"),s=Ds(n),i=Ds(r);if(""===s[0])return Fs(r,o);if(!As(s[0],".")){const e=i.concat(s).join("/");return Fs(("/"===r?"":"/")+e,o)}const a=i.concat(s),c=[];return a.forEach((e=>{".."===e?c.pop():"."!==e&&c.push(e)})),Fs(`/${c.join("/")}`,o)}(e,t))}function li(e,t){const n=Hs(e.replace(/\*.*$/,""));const o=Ds(n,!0),r=ri({fullPath:n},Js(...Ds(t,!0).slice(0,o.length)));return r&&r.uri}function ui(e,t,n=Ms,o=3){me(n)||ei(e,(e=>`You cannot use ${e} outside of a ${Xs(o)}.`),t)}function pi(){return ui(5),(e=>{const{subscribe:t}=me(e);return{subscribe:t}})(Bs)}function di(){const e=me(Ns);return e?Fn(e,(e=>e.base)):Dn("/")}function mi(){ui(7);const e=function(){ui(10);const e=di(),{basepath:t}=me(Ms);return n=>ci(n,_(e),t)}(),{navigate:t}=function(){const{history:e}=me(Ms);return e}();return(n,o)=>{const r=Us(n)?n:e(n);return t(r,o)}}const hi="POP";function gi(e){return{...e.location,pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"}}function fi(e,t){return{...ai(t),state:e}}const _i=!(Ks||!window.document||!window.document.createElement),bi=!Ks&&"null"===window.location.origin,yi=function(e){let t=[],n=gi(e),o=hi;const r=(e=t)=>e.forEach((e=>e({location:n,action:o})));return{get location(){return n},listen(s){t.push(s);r([s]);const i=qs(e,"popstate",(()=>{n=gi(e),o=hi,r([s])}));return()=>{i(),t=t.filter((e=>e!==s))}},navigate(t,s){const{state:i={},replace:a=!1}=s||{};if(o=a?"REPLACE":"PUSH",Us(t))s&&ti(11,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),o=hi,e.history.go(t);else{const n={...i,_key:Math.random().toString(36).substring(2)};try{e.history[a?"replaceState":"pushState"](n,"",t)}catch(n){e.location[a?"replace":"assign"](t)}}n=gi(e),r()}}}(_i&&!bi?window:function(e="/"){let t=0,n=[fi(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(e,o,r){t++,n=n.slice(0,t),n.push(fi(e,r))},replaceState(e,o,r){n[t]=fi(e,r)},go(e){const o=t+e;o<0||o>n.length-1||(t=o)}}}}());let vi=null,$i=!0;function wi(e){(!vi||e.level>vi.level||e.level===vi.level&&function(e,t){const n=document.querySelectorAll("[data-svnav-router]");for(let o=0;o<n.length;o++){const r=n[o],s=Number(r.dataset.svnavRouter);if(s===e)return!0;if(s===t)return!1}return!1}(e.routerId,vi.routerId))&&(vi=e)}function xi(e){if(!e)return!1;const t="tabindex";try{if(!e.hasAttribute(t)){let n;e.setAttribute(t,"-1");const o=()=>{e.removeAttribute(t),n()};n=qs(e,"blur",o)}return e.focus(),document.activeElement===e}catch(e){return!1}}function ki(e,t){return Number(e.dataset.svnavRouteEnd)===t}function ji(e,t=document){return t.querySelector(e)}function Si(e){Promise.resolve(_(e.focusElement)).then((t=>{const n=t||function(e){let t=ji(`[data-svnav-route-start="${e}"]`).nextElementSibling;for(;!ki(t,e);){if(/^H[1-6]$/i.test(t.tagName))return t;const e=ji("h1,h2,h3,h4,h5,h6",t);if(e)return e;t=t.nextElementSibling}return null}(e.id);n||ti(3,'Could not find an element to focus. You should always render a header for accessibility reasons, or set a custom focus element via the "useFocus" hook. If you don\'t want this Route or Router to manage focus, pass "primary={false}" to it.',e,2);xi(n)||xi(document.documentElement)}))}const Ci=(e,t,n)=>(o,r)=>($e(),ye).then((()=>{if(vi&&!$i){if(o&&Si(vi.route),e.announcements&&r){const{path:o,fullPath:r,meta:s,params:i,uri:a}=vi.route,c=e.createAnnouncement({path:o,fullPath:r,meta:s,params:i,uri:a},_(n));Promise.resolve(c).then((e=>{t.set(e)}))}vi=null}else $i=!1}));function Ei(e){let t,n,o,r,s;const i=e[20].default,a=y(i,e,e[19],null);let c=e[2]&&e[4]&&e[1].announcements&&function(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"role","status"),K(t,"aria-atomic","true"),K(t,"aria-live","polite"),K(t,"style","position:fixed;top:-1px;left:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t[0]&&Z(n,e[0])},d(e){e&&I(t)}}}(e);return{c(){t=D("div"),n=J(),a&&a.c(),o=J(),c&&c.c(),r=W(),Q(t,"display","none"),K(t,"aria-hidden","true"),K(t,"data-svnav-router",e[3])},m(e,i){R(e,t,i),R(e,n,i),a&&a.m(e,i),R(e,o,i),c&&c.m(e,i),R(e,r,i),s=!0},p(e,t){a&&a.p&&(!s||524288&t[0])&&w(a,i,e,e[19],s?$(i,e[19],t,null):x(e[19]),null),e[2]&&e[4]&&e[1].announcements&&c.p(e,t)},i(e){s||(Me(a,e),s=!0)},o(e){Ne(a,e),s=!1},d(e){e&&I(t),e&&I(n),a&&a.d(e),e&&I(o),c&&c.d(e),e&&I(r)}}}const Li=Gs(),Pi="/";function zi(e,t,n){let o,r,s,i,a,{$$slots:c={},$$scope:l}=t,{basepath:u=Pi}=t,{url:p=null}=t,{history:d=yi}=t,{primary:m=!0}=t,{a11y:h={}}=t;const g={createAnnouncement:e=>`Navigated to ${e.uri}`,announcements:!0,...h},f=u,_=Hs(u),y=me(Bs),v=me(Ms),$=!y,w=Li(),x=m&&!(v&&!v.manageFocus),k=Dn("");b(e,k,(e=>n(0,a=e)));const j=Dn([]);b(e,j,(e=>n(18,i=e)));const S=Dn(null);b(e,S,(e=>n(16,r=e)));let C=!1;const E=$?0:v.level+1,L=$?Dn(si(Ks?ai(p):d.location,_)):y;b(e,L,(e=>n(15,o=e)));const P=Dn(o);b(e,P,(e=>n(17,s=e)));const z=Ci(g,k,L),B=e=>t=>t.filter((t=>t.id!==e));return $||u===Pi||ti(3,'Only top-level Routers can have a "basepath" prop. It is ignored.',{basepath:u}),$&&(le((()=>d.listen((e=>{const t=si(e.location,_);P.set(o),L.set(t)})))),de(Bs,L)),de(Ms,{activeRoute:S,registerRoute:function(e){if(Ks){if(C)return;const t=ri(e,o.pathname);if(t)return C=!0,t}else j.update((t=>{const n=B(e.id)(t);return n.push(e),n}))},unregisterRoute:function(e){j.update(B(e))},manageFocus:x,level:E,id:w,history:$?d:v.history,basepath:$?_:v.basepath}),e.$$set=e=>{"basepath"in e&&n(10,u=e.basepath),"url"in e&&n(11,p=e.url),"history"in e&&n(12,d=e.history),"primary"in e&&n(13,m=e.primary),"a11y"in e&&n(14,h=e.a11y),"$$scope"in e&&n(19,l=e.$$scope)},e.$$.update=()=>{if(1024&e.$$.dirty[0]&&u!==f&&ti(3,'You cannot change the "basepath" prop. It is ignored.'),294912&e.$$.dirty[0]){const e=oi(i,o.pathname);S.set(e)}if(163840&e.$$.dirty[0]&&$){const e=!!o.hash,t=!e&&x,n=!e||o.pathname!==s.pathname;z(t,n)}65536&e.$$.dirty[0]&&x&&r&&r.primary&&wi({level:E,routerId:w,route:r})},[a,g,$,w,x,k,j,S,L,P,u,p,d,m,h,o,r,s,i,l,c]}var Bi=class extends Je{constructor(e){super(),He(this,e,zi,Ei,h,{basepath:10,url:11,history:12,primary:13,a11y:14},null,[-1,-1])}};const Mi=e=>({params:16&e,location:8&e}),Ni=e=>({params:Ks?_(e[9]):e[4],location:e[3],navigate:e[10]});function Ti(e){let t,n;return t=new Bi({props:{primary:e[1],$$slots:{default:[Ai]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};2&n&&(o.primary=e[1]),264217&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Oi(e){let t;const n=e[17].default,o=y(n,e,e[18],Ni);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||262168&r)&&w(o,n,e,e[18],t?$(n,e[18],r,Mi):x(e[18]),Ni)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function Ri(e){let t,n,o;const r=[{location:e[3]},{navigate:e[10]},Ks?_(e[9]):e[4],e[11]];var s=e[0];function i(e){let t={};for(let e=0;e<r.length;e+=1)t=l(t,r[e]);return{props:t}}return s&&(t=new s(i())),{c(){t&&Ve(t.$$.fragment),n=W()},m(e,r){t&&De(t,e,r),R(e,n,r),o=!0},p(e,o){const a=3608&o?Ae(r,[8&o&&{location:e[3]},1024&o&&{navigate:e[10]},528&o&&Ie(Ks?_(e[9]):e[4]),2048&o&&Ie(e[11])]):{};if(s!==(s=e[0])){if(t){ze();const e=t;Ne(e.$$.fragment,1,0,(()=>{Fe(e,1)})),Be()}s?(t=new s(i()),Ve(t.$$.fragment),Me(t.$$.fragment,1),De(t,n.parentNode,n)):t=null}else s&&t.$set(a)},i(e){o||(t&&Me(t.$$.fragment,e),o=!0)},o(e){t&&Ne(t.$$.fragment,e),o=!1},d(e){e&&I(n),t&&Fe(t,e)}}}function Ai(e){let t,n,o,r;const s=[Ri,Oi],i=[];function a(e,t){return null!==e[0]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,r){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Ii(e){let t,n,o,r,s,i=e[2]&&Ti(e);return{c(){t=D("div"),n=J(),i&&i.c(),o=J(),r=D("div"),Q(t,"display","none"),K(t,"aria-hidden","true"),K(t,"data-svnav-route-start",e[5]),Q(r,"display","none"),K(r,"aria-hidden","true"),K(r,"data-svnav-route-end",e[5])},m(e,a){R(e,t,a),R(e,n,a),i&&i.m(e,a),R(e,o,a),R(e,r,a),s=!0},p(e,[t]){e[2]?i?(i.p(e,t),4&t&&Me(i,1)):(i=Ti(e),i.c(),Me(i,1),i.m(o.parentNode,o)):i&&(ze(),Ne(i,1,1,(()=>{i=null})),Be())},i(e){s||(Me(i),s=!0)},o(e){Ne(i),s=!1},d(e){e&&I(t),e&&I(n),i&&i.d(e),e&&I(o),e&&I(r)}}}const Vi=Gs();function Di(e,t,n){let o;const r=["path","component","meta","primary"];let s,i,a,c,u=j(t,r),{$$slots:p={},$$scope:d}=t,{path:m=""}=t,{component:h=null}=t,{meta:g={}}=t,{primary:f=!0}=t;ui(2,t);const _=Vi(),{registerRoute:y,unregisterRoute:v,activeRoute:$}=me(Ms);b(e,$,(e=>n(15,s=e)));const w=di();b(e,w,(e=>n(16,a=e)));const x=pi();b(e,x,(e=>n(3,i=e)));const S=Dn(null);let C;const E=Dn(),L=Dn({});b(e,L,(e=>n(4,c=e))),de(Ns,E),de(Ts,L),de(Os,S);const P=mi();return Ks||ue((()=>v(_))),e.$$set=e=>{n(23,t=l(l({},t),k(e))),n(11,u=j(t,r)),"path"in e&&n(12,m=e.path),"component"in e&&n(0,h=e.component),"meta"in e&&n(13,g=e.meta),"primary"in e&&n(1,f=e.primary),"$$scope"in e&&n(18,d=e.$$scope)},e.$$.update=()=>{if(77834&e.$$.dirty){const e=""===m,t=Js(a,m),o={id:_,path:m,meta:g,default:e,fullPath:e?"":t,base:e?a:li(t,i.pathname),primary:f,focusElement:S};E.set(o),n(14,C=y(o))}if(49152&e.$$.dirty&&n(2,o=!!(C||s&&s.id===_)),49156&e.$$.dirty&&o){const{params:e}=C||s;L.set(e)}},t=k(t),[h,f,o,i,c,_,$,w,x,L,P,u,m,g,C,s,a,p,d]}var Fi=class extends Je{constructor(e){super(),He(this,e,Di,Ii,h,{path:12,component:0,meta:13,primary:1})}};function Hi(e){return e<.5?4*e*e*e:.5*Math.pow(2*e-2,3)+1}function Ji(e){const t=e-1;return t*t*t+1}function Wi(e,{delay:t=0,duration:n=400,easing:o=Ji}={}){const r=getComputedStyle(e),s=+r.opacity,i=parseFloat(r.height),a=parseFloat(r.paddingTop),c=parseFloat(r.paddingBottom),l=parseFloat(r.marginTop),u=parseFloat(r.marginBottom),p=parseFloat(r.borderTopWidth),d=parseFloat(r.borderBottomWidth);return{delay:t,duration:n,easing:o,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*s};height: ${e*i}px;padding-top: ${e*a}px;padding-bottom: ${e*c}px;margin-top: ${e*l}px;margin-bottom: ${e*u}px;border-top-width: ${e*p}px;border-bottom-width: ${e*d}px;`}}function Ui(e){let n,o,r,s;return{c(){n=D("a"),o=D("span"),o.textContent=`${t.__("Dismiss","jetpack-boost")}`,K(o,"class","screen-reader-text"),K(n,"href","#"),K(n,"class","cross-close")},m(t,i){R(t,n,i),M(n,o),r||(s=U(n,"click",G(e[0])),r=!0)},p:a,i:a,o:a,d(e){e&&I(n),r=!1,s()}}}function Gi(e){return[function(t){he.call(this,e,t)}]}class Ki extends Je{constructor(e){super(),He(this,e,Gi,Ui,h,{})}}const qi=["core_front_page","core_posts_page","singular_page","singular_post"],Yi=Dn(Jetpack_Boost.criticalCssDismissedRecommendations||[]),Xi=Fn(Kr,(e=>e.providers_errors?Object.entries(e.providers_errors).map((([t,n])=>({key:t,label:e.provider_key_labels[t]||t,errors:ra(n)}))):[])),Zi={subscribe:Yi.subscribe},Qi=Fn([Xi,Zi],(([e,t])=>e.filter((e=>!t.includes(e.key))))),ea=Fn(Xi,(e=>{for(const t of qi){const n=e.find((e=>e.key===t));if(n)return n.errors[0]}})),ta=Dn(null);function na(e,t){ta.set({title:e,error:t})}async function oa(){await So.post("/recommendations/reset",{nonce:Jetpack_Boost.nonces["recommendations/reset"]}),Yi.set([])}function ra(e){return function(e){const t=e.reduce(((e,t)=>(e[t]=(e[t]||0)+1,e)),{});return Object.keys(t).sort(((e,n)=>t[e]>t[n]?1:-1))}(Object.values(e).map(sa)).map((t=>{const n=(o=e,r=e=>sa(e)===t,Object.entries(o).reduce(((e,[t,n])=>(r(n,t)&&(e[t]=n),e)),{}));var o,r;const s=n[Object.keys(n)[0]];return{type:s.type,firstMeta:s.meta,byUrl:n}}))}function sa(e){return"HttpError"===e.type?e.type+"-"+$o(e.meta.code,""):"UnknownError"===e.type?e.type+"-"+e.message:e.type}function ia(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("rect"),o=F("g"),r=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,viewBox:!0});var s=Y(t);n=X(s,"rect",{x:!0,fill:!0,width:!0,height:!0}),Y(n).forEach(I),o=X(s,"g",{});var i=Y(o);r=X(i,"path",{d:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(n,"x","0"),K(n,"fill","none"),K(n,"width","24"),K(n,"height","24"),K(r,"d","M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(t,o),O(o,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function aa(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class ca extends Je{constructor(e){super(),He(this,e,aa,ia,h,{})}}function la(e,t){if("number"==typeof e)return e;if("string"==typeof e){const t=parseFloat(e);if(!isNaN(t))return t}return t}let ua;class pa extends Error{constructor(e){super(e),this.name="AdminAjaxError"}}async function da(e){const n={method:"post",body:new URLSearchParams(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}},o=await fetch(ajaxurl,n);if(!o.ok)throw new pa(t.sprintf(t.__("Received HTTP %d while communicating with your WordPress site","jetpack-boost"),o.status));return o}let ma=!1;async function ha(){if(!ma)return ga(!1)}async function ga(e=!0,n=!1){ma=!0;let o=!1;try{e&&(await oa(),Ur({status:"requesting",progress:0}));const r=await async function(e,t){return Ar((e=>({...e,retried_show_stopper:t}))),Wr("post","/critical-css/request-generate",{reset:e})}(e,n);if(!r||"requesting"!==r.status)return;Ur({status:"requesting",progress:0}),await async function(){return ua||(ua=new Promise(((e,n)=>{const o=Jetpack_Boost.site.assetPath+"/critical-css-gen.js?ver="+Jetpack_Boost.version,r=document.createElement("script");r.src=o,r.addEventListener("error",(()=>n(new Error(t.sprintf(t.__("Failed to load Critical CSS library at %s","jetpack-boost"),o)))));const s=setTimeout((()=>{n(new Error(t.sprintf(t.__("Timeout while loading Critical CSS library at %s","jetpack-boost"),o)))}),6e4);r.addEventListener("load",(()=>{clearTimeout(s),e()})),document.body.appendChild(r)})),ua)}();const s=function(e,t){return(n,o,r,s)=>{const i=100/Math.max(1,o+e),a=r/Math.max(1,s);t((n+e+a)*i)}}(r.success_count||0,(e=>{if(!_(Pr("critical-css")))throw o=!0,new Error(t.__("Operation cancelled","jetpack-boost"));Ur({status:"requesting",progress:e})})),i={"jb-generate-critical-css":r.generation_nonce};Ur({status:"requesting",progress:0}),console.log("%cGenerating Critical CSS will often leave errors in your console. Most of them are nothing to worry about - just the sounds of your browser complaining about our strict security settings. Check out the following page for more information: https://jetpack.com/support/performance/jetpack-boost/jetpack-boost-console-error/","font-size: 1rem;line-height:1.6;"),await async function(e,t,n,o,r,s,i){const a=Object.keys(e).length+1;let c=0;const l=Date.now();let u=0,p=0,d=0,m=0;for(const[h,g]of Object.entries(e)){r(++c,a,0,0);try{const[e,l]=await CriticalCSSGenerator.generateCriticalCSS({browserInterface:fa(t,i),urls:g,viewports:n,progressCallback:(e,t)=>{r(c,a,e,t)},filters:{atRules:_a,properties:ba},successRatio:s[h]});if(!1===await Gr(h,"success",{data:e,warnings:l.map((e=>e.toString())),passthrough:o}))return;p++,u+=e.length,m=e.length>m?e.length:m}catch(e){if(!e.isSuccessTargetError){await Gr(h,"error",{data:{show_stopper:!0,error:e.message},passthrough:o});return void Oo("critical_css_failure",{time:Date.now()-l,provider_key:h,error_message:e.message,error_type:e.type||e.constructor&&e.constructor.name||"unknown"})}{await Gr(h,"error",{data:{show_stopper:!1,provider_key:h,urls:e.urlErrors},passthrough:o}),d++;const t=e.urlErrors;for(const[e,n]of Object.entries(t)){const t={url:e,provider_key:h,error_message:n.message,error_type:n.type};"HttpError"===n.type&&(t.error_meta=la(n.meta.code)),Oo("critical_css_url_error",t)}}}}if(0===p){Oo("critical_css_failure",{time:Date.now()-l,error_message:"Critical CSS Generation failed for all the provider keys.",error_type:"allProvidersError"})}else{Oo("critical_css_success",{time:Date.now()-l,block_count:p,error_count:d,average_size:u/Math.max(1,p),max_size:m,provider_keys:Object.keys(e).join(",")})}Ur({status:"success",progress:0})}(r.pending_provider_keys,i,r.viewports,r.callback_passthrough,s,r.provider_success_ratio,r.proxy_nonce)}catch(e){o||(r=e,Ar((e=>({...e,status:"error",status_error:r}))))}finally{Ur({status:"success",progress:0})}var r}function fa(e,t){return new class extends CriticalCSSGenerator.BrowserInterfaceIframe{constructor(){super({requestGetParameters:e,verifyPage:ya,allowScripts:!1})}fetch(e,n,o){return"css"!==o||function(e){return new URL(e).origin===window.location.origin}(e)?fetch(e,n):da({action:"boost_proxy_css",proxy_url:e,nonce:t})}}}function _a(e){return!e.endsWith("keyframes")}function ba(e,t){const n=function(e){for(const t of["-webkit-","-moz-","-ms-","-o-"])if(e.startsWith(t))return e.substring(t.length);return e}(e);return!n.startsWith("animation")}function ya(e,t,n){return!!n.querySelector('meta[name="jb-generate-critical-css"]')}function va(e){let t;const n=e[4].default,o=y(n,e,e[3],null);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||8&r)&&w(o,n,e,e[3],t?$(n,e[3],r,null):x(e[3]),null)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function $a(e){let t,n,o,r,s,i,a,c=(e[0]?e[2]:e[1])+"",l=e[0]&&va(e);return{c(){t=D("button"),n=H(c),o=J(),l&&l.c(),r=W(),K(t,"class","components-button is-link foldable-element-control"),ee(t,"visible",e[0])},m(c,u){R(c,t,u),M(t,n),R(c,o,u),l&&l.m(c,u),R(c,r,u),s=!0,i||(a=U(t,"click",e[5]),i=!0)},p(e,[o]){(!s||7&o)&&c!==(c=(e[0]?e[2]:e[1])+"")&&Z(n,c),1&o&&ee(t,"visible",e[0]),e[0]?l?(l.p(e,o),1&o&&Me(l,1)):(l=va(e),l.c(),Me(l,1),l.m(r.parentNode,r)):l&&(ze(),Ne(l,1,1,(()=>{l=null})),Be())},i(e){s||(Me(l),s=!0)},o(e){Ne(l),s=!1},d(e){e&&I(t),e&&I(o),l&&l.d(e),e&&I(r),i=!1,a()}}}function wa(e,t,n){let{$$slots:o={},$$scope:r}=t,{showLabel:s}=t,{hideLabel:i}=t,{visible:a=!1}=t;return e.$$set=e=>{"showLabel"in e&&n(1,s=e.showLabel),"hideLabel"in e&&n(2,i=e.hideLabel),"visible"in e&&n(0,a=e.visible),"$$scope"in e&&n(3,r=e.$$scope)},[a,s,i,r,o,()=>n(0,a=!a)]}Lr.subscribe((e=>{e["critical-css"]&&e["critical-css"].enabled||(ma=!1)}));class xa extends Je{constructor(e){super(),He(this,e,wa,$a,h,{showLabel:1,hideLabel:2,visible:0})}}function ka(e,t,n){const o=e.slice();return o[6]=t[n],o}const ja=e=>({entry:7&e}),Sa=e=>({entry:e[6]});function Ca(e){let t,n,o;const r=e[5].default,s=y(r,e,e[4],Sa);return{c(){t=D("li"),s&&s.c()},m(e,n){R(e,t,n),s&&s.m(t,null),o=!0},p(e,t){s&&s.p&&(!o||23&t)&&w(s,r,e,e[4],o?$(r,e[4],t,ja):x(e[4]),Sa)},i(e){o||(Me(s,e),e&&we((()=>{n||(n=Oe(t,Wi,{},!0)),n.run(1)})),o=!0)},o(e){Ne(s,e),e&&(n||(n=Oe(t,Wi,{},!1)),n.run(0)),o=!1},d(e){e&&I(t),s&&s.d(e),e&&n&&n.end()}}}function Ea(e){let n,o,r,s,i,a,c,l=t.sprintf(t.__("…and %d more","jetpack-boost"),e[0].length-e[1])+"";return{c(){n=D("a"),o=H(l),K(n,"href",r="#")},m(t,r){R(t,n,r),M(n,o),i=!0,a||(c=U(n,"click",G(e[3])),a=!0)},p(e,n){(!i||3&n)&&l!==(l=t.sprintf(t.__("…and %d more","jetpack-boost"),e[0].length-e[1])+"")&&Z(o,l)},i(e){i||(e&&we((()=>{s||(s=Oe(n,Wi,{},!0)),s.run(1)})),i=!0)},o(e){e&&(s||(s=Oe(n,Wi,{},!1)),s.run(0)),i=!1},d(e){e&&I(n),e&&s&&s.end(),a=!1,c()}}}function La(e){let t,n,o,r=e[2]?e[0]:e[0].slice(0,e[1]),s=[];for(let t=0;t<r.length;t+=1)s[t]=Ca(ka(e,r,t));const i=e=>Ne(s[e],1,1,(()=>{s[e]=null}));let a=!e[2]&&e[0].length>e[1]&&Ea(e);return{c(){t=D("ul");for(let e=0;e<s.length;e+=1)s[e].c();n=J(),a&&a.c()},m(e,r){R(e,t,r);for(let e=0;e<s.length;e+=1)s[e].m(t,null);M(t,n),a&&a.m(t,null),o=!0},p(e,[o]){if(23&o){let a;for(r=e[2]?e[0]:e[0].slice(0,e[1]),a=0;a<r.length;a+=1){const i=ka(e,r,a);s[a]?(s[a].p(i,o),Me(s[a],1)):(s[a]=Ca(i),s[a].c(),Me(s[a],1),s[a].m(t,n))}for(ze(),a=r.length;a<s.length;a+=1)i(a);Be()}!e[2]&&e[0].length>e[1]?a?(a.p(e,o),7&o&&Me(a,1)):(a=Ea(e),a.c(),Me(a,1),a.m(t,null)):a&&(ze(),Ne(a,1,1,(()=>{a=null})),Be())},i(e){if(!o){for(let e=0;e<r.length;e+=1)Me(s[e]);Me(a),o=!0}},o(e){s=s.filter(Boolean);for(let e=0;e<s.length;e+=1)Ne(s[e]);Ne(a),o=!1},d(e){e&&I(t),V(s,e),a&&a.d()}}}function Pa(e,t,n){let{$$slots:o={},$$scope:r}=t,{entries:s=[]}=t,{showLimit:i=2}=t,a=!1;return e.$$set=e=>{"entries"in e&&n(0,s=e.entries),"showLimit"in e&&n(1,i=e.showLimit),"$$scope"in e&&n(4,r=e.$$scope)},[s,i,a,function(){n(2,a=!a)},r,o]}class za extends Je{constructor(e){super(),He(this,e,Pa,La,h,{entries:0,showLimit:1})}}function Ba(e,t,n){const o=e.slice();return o[2]=t[n],o[4]=n,o}function Ma(e){let t,n,o,r,s,i,a,c,l=e[4]+1+"";return i=new tr({props:{template:e[2],vars:e[1]}}),{c(){t=D("li"),n=D("span"),o=H(l),r=J(),s=D("span"),Ve(i.$$.fragment),a=J(),K(n,"class","index"),K(s,"class","text")},m(e,l){R(e,t,l),M(t,n),M(n,o),M(t,r),M(t,s),De(i,s,null),M(t,a),c=!0},p(e,t){const n={};1&t&&(n.template=e[2]),2&t&&(n.vars=e[1]),i.$set(n)},i(e){c||(Me(i.$$.fragment,e),c=!0)},o(e){Ne(i.$$.fragment,e),c=!1},d(e){e&&I(t),Fe(i)}}}function Na(e){let t,n,o=e[0],r=[];for(let t=0;t<o.length;t+=1)r[t]=Ma(Ba(e,o,t));const s=e=>Ne(r[e],1,1,(()=>{r[e]=null}));return{c(){t=D("ol");for(let e=0;e<r.length;e+=1)r[e].c();K(t,"class","numbered-list")},m(e,o){R(e,t,o);for(let e=0;e<r.length;e+=1)r[e].m(t,null);n=!0},p(e,[n]){if(3&n){let i;for(o=e[0],i=0;i<o.length;i+=1){const s=Ba(e,o,i);r[i]?(r[i].p(s,n),Me(r[i],1)):(r[i]=Ma(s),r[i].c(),Me(r[i],1),r[i].m(t,null))}for(ze(),i=o.length;i<r.length;i+=1)s(i);Be()}},i(e){if(!n){for(let e=0;e<o.length;e+=1)Me(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let e=0;e<r.length;e+=1)Ne(r[e]);n=!1},d(e){e&&I(t),V(r,e)}}}function Ta(e,t,n){let{items:o}=t,{vars:r}=t;return e.$$set=e=>{"items"in e&&n(0,o=e.items),"vars"in e&&n(1,r=e.vars)},[o,r]}class Oa extends Je{constructor(e){super(),He(this,e,Ta,Na,h,{items:0,vars:1})}}function Ra(e){let n,o,r,s,i,c,l,u,p,d,m,h,g,f,_,b;return{c(){n=D("div"),o=D("div"),r=D("div"),r.textContent=`${t.__("Protocol","jetpack-boost")}`,s=J(),i=D("div"),c=J(),l=H(e[0]),u=J(),p=D("div"),p.textContent="://",d=J(),m=D("div"),h=D("div"),h.textContent=`${t.__("Host name","jetpack-boost")}`,g=J(),f=D("div"),_=J(),b=H(e[1]),K(r,"class","label"),K(i,"class","arrows"),K(o,"class","segment"),K(p,"class","segment"),K(h,"class","label"),K(f,"class","arrows"),K(m,"class","segment"),K(n,"class","url-container")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(o,s),M(o,i),M(o,c),M(o,l),M(n,u),M(n,p),M(n,d),M(n,m),M(m,h),M(m,g),M(m,f),M(m,_),M(m,b)},p:a,i:a,o:a,d(e){e&&I(n)}}}function Aa(e){return[window.location.protocol.split(":")[0],window.location.hostname]}class Ia extends Je{constructor(e){super(),He(this,e,Aa,Ra,h,{})}}function Va(e){return Ua(e.type).describeSet(e)}function Da(e){const t=Ua(e.type);return t.suggestion?t.suggestion(e):{paragraph:""}}function Fa(e){const t=Ua(e.type);return t.footerComponent?t.footerComponent():null}function Ha(e){const t=Ua(e.type);return t.rawError?t.rawError(e):""}function Ja(e){return Object.keys(e.byUrl).length}const Wa={HttpError:{describeSet:e=>t.sprintf(t._n("Boost received HTTP error <b>%d</b> on the following page:","Boost received HTTP error <b>%d</b> on the following pages:",Ja(e),"jetpack-boost"),e.firstMeta.code),suggestion:e=>function(e,n){switch(e){case 401:case 403:return{paragraph:t.sprintf(t._n("%d means there is a permission issue in your WordPress site. Please follow these troubleshooting steps for the page:","%d means there is a permission issue in your WordPress site. Please follow these troubleshooting steps for each of the pages:",n,"jetpack-boost"),e),list:[t.__("Check your WordPress settings, or contact your hosting provider to ask why the above URL is unavailable.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")],closingParagraph:t.__("If this is a private page and not supposed to be viewed publicly, you can safely ignore this message.","jetpack-boost")};case 404:return{paragraph:t._n("Your WordPress site has reported that the above page does not exist. Please ensure that the URL is correct, and <retry>try again</retry>.","Your WordPress site has reported that the above pages do not exist. Please ensure that the URLs are correct, and <retry>try again</retry>.",n,"jetpack-boost"),list:[t.__("Visit the link, and confirm that the page you landed on loads successfully.","jetpack-boost"),t.__("If the page shows an error, please verify that the page should be a part of your WordPress site.","jetpack-boost"),t.__('Try visiting the link using "Incognito Mode" or "Private Browsing" in your browser to check if the error occurs when you are not logged in.',"jetpack-boost"),t.__('If you see an error only when not logged into your WordPress site (i.e.: in "Incognito Mode"), then check for plugins which might be enforcing access permissions on your pages. For example, a plugin which only allows authenticated users to view specific areas of your site.',"jetpack-boost")],closingParagraph:t.__("If the page is only accessible to users who are logged in to your WordPress site, or should not be a part of your site then it is safe to ignore this error.","jetpack-boost")};case 418:return{paragraph:t.__("Your WordPress site returned a 418 error which many web hosts use to indicate they rejected your request due to security rules. Please contact your hosting provider for more information.","jetpack-boost"),list:[t.__('Contact your hosting provider, with details of this issue. Please let them know it is an "HTTP 418" error, which URL(s) are affected, and the time it occurred.',"jetpack-boost"),t.__("Your hosting provider should be able to advise you on next steps.","jetpack-boost"),t.__("If you manage to sort the issue out with your hosting provider, please <retry>try again</retry> to regenerate your Critical CSS.","jetpack-boost")]};case 500:return{paragraph:t._n("Your WordPress site encountered an error while trying to load the above page.","Your WordPress site encountered errors while trying to load the above pages.",n,"jetpack-boost"),list:[t.__('Learn about the error and common solutions by <a target="_blank" href="https://wordpress.org/support/article/common-wordpress-errors/#internal-server-error">clicking here</a>.',"jetpack-boost"),t.__("If the issue is still not resolved, check your server logs or contact your hosting provider for help to investigate the issue.","jetpack-boost"),t.__("Once you have resolved the issue which caused the 500 error, you can <retry>try again</retry>.","jetpack-boost")]};default:return{paragraph:t._n("Please verify the link is valid and <retry>try again</retry>. We recommend the following:","Please verify each link is valid and <retry>try again</retry>. For each link, we recommend the following:",n,"jetpack-boost"),list:[t.__("Visit the link and check for an error.","jetpack-boost"),t.__("<retry>Try to generate Critical CSS again<retry>, in case the error was intermittent.","jetpack-boost"),t.sprintf(t.__("Check your server logs for information about the HTTP %d error, or contact your hosting provider for help with investigating the problem.","jetpack-boost"),e),t.__("Once you have resolved the error, please <retry>try again</retry>.","jetpack-boost"),t.__("If you need help understanding the error, or investigating what went wrong please contact <support>Jetpack Boost Support</support>.","jetpack-boost")]}}}(la(e.firstMeta.code),Ja(e))},RedirectError:{describeSet:e=>t._n("This URL is redirecting to a different page:","These URLs are redirecting to different pages:",Ja(e),"jetpack-boost"),suggestion:e=>({paragraph:t.__("This may indicate that a WordPress plugin is redirecting users who are not logged in to a different location, or it may indicate that your hosting provider is redirecting your WordPress site to a different URL.","jetpack-boost"),list:[t.__('Try visiting the link using "Incognito Mode" or "Private Browsing" in your browser and note if the page is being redirected.',"jetpack-boost"),t.__("If it is redirecting, check if a plugin could potentially create the redirection and fix it if appropriate. Otherwise, contact your hosting provider for assistance to fix the URL redirection.","jetpack-boost"),t.__("If you believe the issue is resolved, please <retry>try again</retry>.","jetpack-boost")],closingParagraph:t.__("If you think that the redirection is valid, then it is safe to ignore this issue.","jetpack-boost")})},CrossDomainError:{describeSet:e=>t._n("It looks like this URL doesn't match:","It looks like these URLs don't match:",Ja(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Visit the page and complete the following troubleshooting steps.","Visit each page and complete the following troubleshooting steps.",Ja(e),"jetpack-boost"),list:[t.__('Visit the page and look at the protocol and host name to ensure it matches the one in your <a target="_blank" href="https://wordpress.org/support/article/administration-screens/">WordPress Administration Screen</a>.',"jetpack-boost"),t.__("If not, then please reach out to your hosting provider and ask why.","jetpack-boost"),t.__("If you believe the issue is resolved, please <retry>try again</retry>.","jetpack-boost")]}),footerComponent:()=>Ia},LoadTimeoutError:{describeSet:e=>t._n("This page timed out:","These pages timed out:",Ja(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("The page timed out during load. There could be various reasons but most likely a plugin is causing this issue. Please complete the following steps.","The pages timed out during load. There could be various reasons but most likely a plugin is causing this issue. Please complete the following steps for each of the pages.",Ja(e),"jetpack-boost"),list:[t.__("Clear the cache in your browser.","jetpack-boost"),t.__("Visit the page while not logged into WordPress.","jetpack-boost"),t.__("See how long it takes to load compared to other pages on your site.","jetpack-boost"),t.__("If this page is slower than the others, check what plugins are working on that page.","jetpack-boost"),t.__("Deactivate any plugin that you believe are making the page slow.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})},UrlVerifyError:{describeSet:e=>t._n("Jetpack Boost couldn't verify this page:","Jetpack Boost couldn't verify these pages:",Ja(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Ja(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify that the content displayed is a part of your WordPress site, and not an external page managed by a different system.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})},EmptyCSSError:{describeSet:e=>t._n("It looks like this page does not contain any relevant CSS in its external style sheet(s):","It looks like these pages do not contain any relevant CSS in their external style sheet(s):",Ja(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Ja(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify its styles load correctly, and <retry>try again</retry>.","jetpack-boost")],closingParagraph:t.__("If you are using a plugin which embeds your CSS styles directly into your pages, or your site does not use external CSS style sheets, then it is safe to ignore this issue as Critical CSS can only speed up pages which use external styles.","jetpack-boost")})},UnknownError:{describeSet:e=>t._n("Something went wrong, which Jetpack Boost did not anticipate. An unexpected error occurred while trying to generate Critical CSS for the following page:","Something went wrong, which Jetpack Boost did not anticipate. An unexpected error occurred while trying to generate Critical CSS for the following pages:",Ja(e),"jetpack-boost"),rawError:e=>Object.values(e.byUrl)[0].message,suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Ja(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify that the page loads correctly.","jetpack-boost"),t.__("If it does, <retry>try again</retry> to generate the Critical CSS.","jetpack-boost"),t.__("If the error still persist please contact <support>Jetpack Boost Support</support> with a copy of your error message.","jetpack-boost")]})},XFrameDenyError:{describeSet:e=>t._n("Jetpack Boost couldn't load the following page due to its X-Frame-Options configuration:","Jetpack Boost couldn't load the following page due to their X-Frame-Options configuration:",Ja(e),"jetpack-boost"),rawError:e=>Object.values(e.byUrl)[0].message,suggestion:e=>({paragraph:t.__('Jetpack Boost uses iframes while generating your Critical CSS. Unfortunately, your site has a special configuration header which prevents it from loading inside an iframe. The header is called "X-Frame-Options: DENY". This can be added to a WordPress site either by using a plugin, or by server configuration.',"jetpack-boost"),list:[t.__("Check that you are not using any plugins which add extra HTTP headers to your WordPress site, and deactivate them if you are.","jetpack-boost"),t.__('If you are unsure of what these headers are, or where they come from please contact your hosting provider and ask them to remove the "X-Frame-Options" header from your site',"jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})}};function Ua(e){return Wa[e]||Wa.UnknownError}function Ga(e){let t,n,o,r=e[7].label+"";return{c(){t=D("a"),n=H(r),K(t,"href",o=e[7].href),K(t,"target","_blank")},m(e,o){R(e,t,o),M(t,n)},p(e,s){128&s&&r!==(r=e[7].label+"")&&Z(n,r),128&s&&o!==(o=e[7].href)&&K(t,"href",o)},d(e){e&&I(t)}}}function Ka(e){let n,o,r,s,i,a,c,l,u,p,d=Da(e[3]).list,m=e[2]&&Da(e[3]).closingParagraph;s=new tr({props:{template:Da(e[3]).paragraph,vars:e[5]}});let h=d&&qa(e),g=m&&Ya(e);var f=Fa(e[3]);return f&&(l=new f({})),{c(){n=D("h5"),n.textContent=`${t.__("What to do","jetpack-boost")}`,o=J(),r=D("p"),Ve(s.$$.fragment),i=J(),h&&h.c(),a=J(),g&&g.c(),c=J(),l&&Ve(l.$$.fragment),u=W(),K(r,"class","suggestion")},m(e,t){R(e,n,t),R(e,o,t),R(e,r,t),De(s,r,null),M(r,i),h&&h.m(r,null),R(e,a,t),g&&g.m(e,t),R(e,c,t),l&&De(l,e,t),R(e,u,t),p=!0},p(e,t){const n={};if(8&t&&(n.template=Da(e[3]).paragraph),s.$set(n),8&t&&(d=Da(e[3]).list),d?h?(h.p(e,t),8&t&&Me(h,1)):(h=qa(e),h.c(),Me(h,1),h.m(r,null)):h&&(ze(),Ne(h,1,1,(()=>{h=null})),Be()),12&t&&(m=e[2]&&Da(e[3]).closingParagraph),m?g?(g.p(e,t),12&t&&Me(g,1)):(g=Ya(e),g.c(),Me(g,1),g.m(c.parentNode,c)):g&&(ze(),Ne(g,1,1,(()=>{g=null})),Be()),f!==(f=Fa(e[3]))){if(l){ze();const e=l;Ne(e.$$.fragment,1,0,(()=>{Fe(e,1)})),Be()}f?(l=new f({}),Ve(l.$$.fragment),Me(l.$$.fragment,1),De(l,u.parentNode,u)):l=null}},i(e){p||(Me(s.$$.fragment,e),Me(h),Me(g),l&&Me(l.$$.fragment,e),p=!0)},o(e){Ne(s.$$.fragment,e),Ne(h),Ne(g),l&&Ne(l.$$.fragment,e),p=!1},d(e){e&&I(n),e&&I(o),e&&I(r),Fe(s),h&&h.d(),e&&I(a),g&&g.d(e),e&&I(c),e&&I(u),l&&Fe(l,e)}}}function qa(e){let t,n;return t=new Oa({props:{items:Da(e[3]).list,vars:e[5]}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.items=Da(e[3]).list),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Ya(e){let t,n,o;return n=new tr({props:{template:Da(e[3]).closingParagraph,vars:e[5]}}),{c(){t=D("p"),Ve(n.$$.fragment),K(t,"class","suggestion-closing")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};8&t&&(o.template=Da(e[3]).closingParagraph),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function Xa(e){let t,n,o,r;const s=[Qa,Za],i=[];function a(e,t){return e[1]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,r){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Za(e){let t,n,o,r,s=Ha(e[3])+"";return{c(){t=D("p"),n=H(s),K(t,"class","raw-error")},m(e,o){R(e,t,o),M(t,n),r=!0},p(e,t){(!r||8&t)&&s!==(s=Ha(e[3])+"")&&Z(n,s)},i(e){r||(e&&we((()=>{o||(o=Oe(t,Wi,{},!0)),o.run(1)})),r=!0)},o(e){e&&(o||(o=Oe(t,Wi,{},!1)),o.run(0)),r=!1},d(e){e&&I(t),e&&o&&o.end()}}}function Qa(e){let n,o;return n=new xa({props:{showLabel:t.__("See error message","jetpack-boost"),hideLabel:t.__("Hide error message","jetpack-boost"),$$slots:{default:[ec]},$$scope:{ctx:e}}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};264&t&&(o.$$scope={dirty:t,ctx:e}),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function ec(e){let t,n,o,r,s=Ha(e[3])+"";return{c(){t=D("p"),n=H(s),K(t,"class","raw-error")},m(e,o){R(e,t,o),M(t,n),r=!0},p(e,t){(!r||8&t)&&s!==(s=Ha(e[3])+"")&&Z(n,s)},i(e){r||(e&&we((()=>{o||(o=Oe(t,Wi,{},!0)),o.run(1)})),r=!0)},o(e){e&&(o||(o=Oe(t,Wi,{},!1)),o.run(0)),r=!1},d(e){e&&I(t),e&&o&&o.end()}}}function tc(e){let t,n,o,r,s,i,a,c,l=Ha(e[3]);o=new tr({props:{template:Va(e[3]),vars:{templateVars:e[5]}}}),s=new za({props:{entries:e[4],$$slots:{default:[Ga,({entry:e})=>({7:e}),({entry:e})=>e?128:0]},$$scope:{ctx:e}}});let u=e[0]&&Ka(e),p=l&&Xa(e);return{c(){t=D("div"),n=D("span"),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),u&&u.c(),a=J(),p&&p.c(),K(n,"class","error-description"),K(t,"class","jb-critical-css__error-description")},m(e,l){R(e,t,l),M(t,n),De(o,n,null),M(t,r),De(s,t,null),M(t,i),u&&u.m(t,null),M(t,a),p&&p.m(t,null),c=!0},p(e,[n]){const r={};8&n&&(r.template=Va(e[3])),o.$set(r);const i={};16&n&&(i.entries=e[4]),384&n&&(i.$$scope={dirty:n,ctx:e}),s.$set(i),e[0]?u?(u.p(e,n),1&n&&Me(u,1)):(u=Ka(e),u.c(),Me(u,1),u.m(t,a)):u&&(ze(),Ne(u,1,1,(()=>{u=null})),Be()),8&n&&(l=Ha(e[3])),l?p?(p.p(e,n),8&n&&Me(p,1)):(p=Xa(e),p.c(),Me(p,1),p.m(t,null)):p&&(ze(),Ne(p,1,1,(()=>{p=null})),Be())},i(e){c||(Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(u),Me(p),c=!0)},o(e){Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(u),Ne(p),c=!1},d(e){e&&I(t),Fe(o),Fe(s),u&&u.d(),p&&p.d()}}}function nc(e,t,n){const o=pe();let{showSuggestion:r=!0}=t,{foldRawErrors:s=!0}=t,{showClosingParagraph:i=!0}=t,{errorSet:a}=t,c=[];const l={...Uo((()=>o("retry")),"retry"),...qo()};return e.$$set=e=>{"showSuggestion"in e&&n(0,r=e.showSuggestion),"foldRawErrors"in e&&n(1,s=e.foldRawErrors),"showClosingParagraph"in e&&n(2,i=e.showClosingParagraph),"errorSet"in e&&n(3,a=e.errorSet)},e.$$.update=()=>{8&e.$$.dirty&&n(4,c=Object.entries(a.byUrl).map((([e,t])=>({href:t.meta.url?t.meta.url:e,label:e}))))},[r,s,i,a,c,l]}class oc extends Je{constructor(e){super(),He(this,e,nc,tc,h,{showSuggestion:0,foldRawErrors:1,showClosingParagraph:2,errorSet:3})}}function rc(e,t,n){const o=e.slice();return o[10]=t[n],o}function sc(e,t,n){const o=e.slice();return o[13]=t[n],o}function ic(e){let n,o,r,s,i,a=t.sprintf(t._n("Show %d hidden recommendation.","Show %d hidden recommendations.",e[2].length,"jetpack-boost"),e[2].length)+"";return{c(){n=D("p"),o=D("button"),r=H(a),K(o,"class","components-button is-link")},m(t,a){R(t,n,a),M(n,o),M(o,r),s||(i=U(o,"click",e[6]),s=!0)},p(e,n){4&n&&a!==(a=t.sprintf(t._n("Show %d hidden recommendation.","Show %d hidden recommendations.",e[2].length,"jetpack-boost"),e[2].length)+"")&&Z(r,a)},d(e){e&&I(n),s=!1,i()}}}function ac(e){let t,n,o,r,s,i,a=e[2].length>0&&ic(e);return{c(){t=D("section"),n=D("p"),o=H(e[1]),r=J(),a&&a.c()},m(e,s){R(e,t,s),M(t,n),M(n,o),M(t,r),a&&a.m(t,null),i=!0},p(e,n){(!i||2&n)&&Z(o,e[1]),e[2].length>0?a?a.p(e,n):(a=ic(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},i(e){i||(e&&we((()=>{s||(s=Oe(t,Wi,{},!0)),s.run(1)})),i=!0)},o(e){e&&(s||(s=Oe(t,Wi,{},!1)),s.run(0)),i=!1},d(e){e&&I(t),a&&a.d(),e&&s&&s.end()}}}function cc(e){let t,n;return t=new cr({props:{title:e[3].title,error:e[3].error}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.title=e[3].title),8&n&&(o.error=e[3].error),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function lc(e){let t,n,o;return n=new oc({props:{errorSet:e[13]}}),n.$on("retry",e[4]),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"class","problem")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};1&t&&(o.errorSet=e[13]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function uc(e,t){let n,o,r,s,i,a,c,l,u,p,d,m=t[10].label+"";o=new Ki({}),o.$on("click",(function(){return t[8](t[10])})),i=new ca({});let h=[t[10].errors[0]],g=[];for(let e=0;e<1;e+=1)g[e]=lc(sc(t,h,e));const f=e=>Ne(g[e],1,1,(()=>{g[e]=null}));return{key:e,first:null,c(){n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h4"),Ve(i.$$.fragment),a=J(),c=H(m),l=J();for(let e=0;e<1;e+=1)g[e].c();u=J(),K(n,"class","panel"),this.first=n},m(e,t){R(e,n,t),De(o,n,null),M(n,r),M(n,s),De(i,s,null),M(s,a),M(s,c),M(n,l);for(let e=0;e<1;e+=1)g[e].m(n,null);M(n,u),d=!0},p(e,o){if(t=e,(!d||1&o)&&m!==(m=t[10].label+"")&&Z(c,m),17&o){let e;for(h=[t[10].errors[0]],e=0;e<1;e+=1){const r=sc(t,h,e);g[e]?(g[e].p(r,o),Me(g[e],1)):(g[e]=lc(r),g[e].c(),Me(g[e],1),g[e].m(n,u))}for(ze(),e=1;e<1;e+=1)f(e);Be()}},i(e){if(!d){Me(o.$$.fragment,e),Me(i.$$.fragment,e);for(let e=0;e<1;e+=1)Me(g[e]);e&&we((()=>{p||(p=Oe(n,Wi,{},!0)),p.run(1)})),d=!0}},o(e){Ne(o.$$.fragment,e),Ne(i.$$.fragment,e),g=g.filter(Boolean);for(let e=0;e<1;e+=1)Ne(g[e]);e&&(p||(p=Oe(n,Wi,{},!1)),p.run(0)),d=!1},d(e){e&&I(n),Fe(o),Fe(i),V(g,e),e&&p&&p.end()}}}function pc(e){let n,o,r,s,i,c,l,u,p=e[1],d=[],m=new Map;o=new _o({});let g=ac(e),f=e[3]&&cc(e),_=e[0];const b=e=>e[10].key;for(let t=0;t<_.length;t+=1){let n=rc(e,_,t),o=b(n);m.set(o,d[t]=uc(o,n))}return{c(){n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h3"),s.textContent=`${t.__("Critical CSS advanced recommendations","jetpack-boost")}`,i=J(),g.c(),c=J(),f&&f.c(),l=J();for(let e=0;e<d.length;e+=1)d[e].c();K(n,"class","jb-container--narrow jb-critical-css__advanced")},m(e,t){R(e,n,t),De(o,n,null),M(n,r),M(n,s),M(n,i),g.m(n,null),M(n,c),f&&f.m(n,null),M(n,l);for(let e=0;e<d.length;e+=1)d[e].m(n,null);u=!0},p(e,[t]){2&t&&h(p,p=e[1])?(ze(),Ne(g,1,1,a),Be(),g=ac(e),g.c(),Me(g,1),g.m(n,c)):g.p(e,t),e[3]?f?(f.p(e,t),8&t&&Me(f,1)):(f=cc(e),f.c(),Me(f,1),f.m(n,l)):f&&(ze(),Ne(f,1,1,(()=>{f=null})),Be()),49&t&&(_=e[0],ze(),d=function(e,t,n,o,r,s,i,a,c,l,u,p){let d=e.length,m=s.length,h=d;const g={};for(;h--;)g[e[h].key]=h;const f=[],_=new Map,b=new Map;for(h=m;h--;){const e=p(r,s,h),a=n(e);let c=i.get(a);c?o&&c.p(e,t):(c=l(a,e),c.c()),_.set(a,f[h]=c),a in g&&b.set(a,Math.abs(h-g[a]))}const y=new Set,v=new Set;function $(e){Me(e,1),e.m(a,u),i.set(e.key,e),u=e.first,m--}for(;d&&m;){const t=f[m-1],n=e[d-1],o=t.key,r=n.key;t===n?(u=t.first,d--,m--):_.has(r)?!i.has(o)||y.has(o)?$(t):v.has(r)?d--:b.get(o)>b.get(r)?(v.add(o),$(t)):(y.add(r),d--):(c(n,i),d--)}for(;d--;){const t=e[d];_.has(t.key)||c(t,i)}for(;m;)$(f[m-1]);return f}(d,t,b,1,e,_,m,n,Re,uc,null,rc),Be())},i(e){if(!u){Me(o.$$.fragment,e),Me(g),Me(f);for(let e=0;e<_.length;e+=1)Me(d[e]);u=!0}},o(e){Ne(o.$$.fragment,e),Ne(g),Ne(f);for(let e=0;e<d.length;e+=1)Ne(d[e]);u=!1},d(e){e&&I(n),Fe(o),g.d(e),f&&f.d();for(let e=0;e<d.length;e+=1)d[e].d()}}}function dc(e,n,o){let r,s,i,a;b(e,Fr,(e=>o(7,r=e))),b(e,Qi,(e=>o(0,s=e))),b(e,Zi,(e=>o(2,i=e))),b(e,ta,(e=>o(3,a=e)));const{navigate:c}=ho;async function l(e){try{await async function(e){await So.post("/recommendations/dismiss",{providerKey:e,nonce:Jetpack_Boost.nonces["recommendations/dismiss"]}),Yi.update((t=>[...t,e]))}(e)}catch(e){na(t.__("Failed to dismiss recommendation","jetpack-boost"),e)}}let u;return e.$$.update=()=>{1&e.$$.dirty&&o(1,u=0===s.length?t.__("Congratulations, you have dealt with all the recommendations.","jetpack-boost"):t.__("While Jetpack Boost has been able to automatically generate optimized CSS for most of your important files & sections, we have identified a few more that require your attention.","jetpack-boost")),128&e.$$.dirty&&(r||c(-1))},[s,u,i,a,function(){ga(),c(-1)},l,async function(){try{await oa()}catch(e){na(t.__("Failed to show the dismissed recommendations","jetpack-boost"),e)}},r,e=>l(e.key)]}class mc extends Je{constructor(e){super(),He(this,e,dc,pc,h,{})}}function hc(e){let n,o;return n=new xa({props:{showLabel:t.__("See error message","jetpack-boost"),hideLabel:t.__("Hide error message","jetpack-boost"),$$slots:{default:[_c]},$$scope:{ctx:e}}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};142&t&&(o.$$scope={dirty:t,ctx:e}),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function gc(e){let t,n=e[1].status_error+"";return{c(){t=H(n)},m(e,n){R(e,t,n)},p(e,o){2&o&&n!==(n=e[1].status_error+"")&&Z(t,n)},i:a,o:a,d(e){e&&I(t)}}}function fc(e){let t,n;return t=new oc({props:{errorSet:e[2],showSuggestion:!0,showClosingParagraph:!1,foldRawErrors:!1}}),t.$on("retry",e[5]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};4&n&&(o.errorSet=e[2]),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function _c(e){let t,n,o,r,s;const i=[fc,gc],a=[];function c(e,t){return e[3]?0:1}return n=c(e),o=a[n]=i[n](e),{c(){t=D("div"),o.c(),K(t,"class","raw-error")},m(e,o){R(e,t,o),a[n].m(t,null),s=!0},p(e,r){let s=n;n=c(e),n===s?a[n].p(e,r):(ze(),Ne(a[s],1,1,(()=>{a[s]=null})),Be(),o=a[n],o?o.p(e,r):(o=a[n]=i[n](e),o.c()),Me(o,1),o.m(t,null))},i(e){s||(Me(o),e&&we((()=>{r||(r=Oe(t,Wi,{},!0)),r.run(1)})),s=!0)},o(e){Ne(o),e&&(r||(r=Oe(t,Wi,{},!1)),r.run(0)),s=!1},d(e){e&&I(t),a[n].d(),e&&r&&r.end()}}}function bc(e){let n,o,r,s,i,a=(e[1].retried_show_stopper?t.__("Hmm, looks like something went wrong. We're still seeing an unexpected error. Please reach out to our support to get help.","jetpack-boost"):t.__("An unexpected error has occurred. As this error may be temporary, please try and refresh the Critical CSS.","jetpack-boost"))+"",c=(e[3]||e[1].status_error)&&hc(e);return{c(){n=D("p"),o=H(a),r=J(),c&&c.c(),s=W()},m(e,t){R(e,n,t),M(n,o),R(e,r,t),c&&c.m(e,t),R(e,s,t),i=!0},p(e,n){(!i||2&n)&&a!==(a=(e[1].retried_show_stopper?t.__("Hmm, looks like something went wrong. We're still seeing an unexpected error. Please reach out to our support to get help.","jetpack-boost"):t.__("An unexpected error has occurred. As this error may be temporary, please try and refresh the Critical CSS.","jetpack-boost"))+"")&&Z(o,a),e[3]||e[1].status_error?c?(c.p(e,n),10&n&&Me(c,1)):(c=hc(e),c.c(),Me(c,1),c.m(s.parentNode,s)):c&&(ze(),Ne(c,1,1,(()=>{c=null})),Be())},i(e){i||(Me(c),i=!0)},o(e){Ne(c),i=!1},d(e){e&&I(n),e&&I(r),c&&c.d(e),e&&I(s)}}}function yc(e){let n,o,r;return{c(){n=D("button"),n.textContent=`${t.__("Refresh","jetpack-boost")}`,K(n,"class","secondary")},m(t,s){R(t,n,s),o||(r=U(n,"click",e[5]),o=!0)},p:a,d(e){e&&I(n),o=!1,r()}}}function vc(e){let n,o,r=t.__("Contact Support","jetpack-boost")+"";return{c(){n=D("a"),o=H(r),K(n,"class","button button-secondary"),K(n,"href",e[0]),K(n,"target","_blank")},m(e,t){R(e,n,t),M(n,o)},p(e,t){1&t&&K(n,"href",e[0])},d(e){e&&I(n)}}}function $c(e){let t;function n(e,t){return e[1].retried_show_stopper?vc:yc}let o=n(e),r=o(e);return{c(){t=D("div"),r.c(),K(t,"slot","actionButton")},m(e,n){R(e,t,n),r.m(t,null)},p(e,s){o===(o=n(e))&&r?r.p(e,s):(r.d(1),r=o(e),r&&(r.c(),r.m(t,null)))},d(e){e&&I(t),r.d()}}}function wc(e){let t,n;return t=new cr({props:{title:e[4],$$slots:{actionButton:[$c],default:[bc]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,[n]){const o={};143&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function xc(e,n,o){let r,s;b(e,Kr,(e=>o(1,r=e))),b(e,ea,(e=>o(2,s=e)));let{supportLink:i="https://wordpress.org/support/plugin/jetpack-boost/"}=n,a=!1;const c=t.__("Failed to generate Critical CSS","jetpack-boost"),l=pe();return e.$$set=e=>{"supportLink"in e&&o(0,i=e.supportLink)},e.$$.update=()=>{6&e.$$.dirty&&o(3,a=s&&"success"===r.status)},[i,r,s,a,c,function(){l("retry")}]}class kc extends Je{constructor(e){super(),He(this,e,xc,wc,h,{supportLink:0})}}const jc=6e4,Sc=36e5,Cc=24*Sc;function Ec(e){const n=Date.now()-e.getTime();if(n<jc)return t.__("a few moments ago","jetpack-boost");if(n<Sc){const e=Math.floor(n/jc);return t.sprintf(t._n("%d minute ago","%d minutes ago",e,"jetpack-boost"),e)}if(n<Cc){const e=Math.floor(n/Sc);return t.sprintf(t._n("%d hour ago","%d hours ago",e,"jetpack-boost"),e)}if(n<12096e5){const e=Math.floor(n/Cc);return t.sprintf(t._n("%d day ago","%d days ago",e,"jetpack-boost"),e)}const o={month:"short",day:"numeric",year:(new Date).getFullYear()===e.getFullYear()?void 0:"numeric"};return t.sprintf(t.__("on %s","jetpack-boost"),e.toLocaleDateString(navigator.language,o))}function Lc(e){let t,n,o;return{c(){t=D("span"),n=H(e[1]),K(t,"title",o=e[0].toLocaleString()),K(t,"class","time-ago")},m(e,o){R(e,t,o),M(t,n)},p(e,[r]){2&r&&Z(n,e[1]),1&r&&o!==(o=e[0].toLocaleString())&&K(t,"title",o)},i:a,o:a,d(e){e&&I(t)}}}function Pc(e,t,n){let o,{time:r}=t;const s=Vn(Ec(r),(e=>{const t=setInterval((()=>{e(Ec(r))}),1e4);return()=>clearInterval(t)}));return b(e,s,(e=>n(1,o=e))),e.$$set=e=>{"time"in e&&n(0,r=e.time)},[r,o,s]}class zc extends Je{constructor(e){super(),He(this,e,Pc,Lc,h,{time:0})}}function Bc(e){let t,n,o,r=[{class:"gridicon gridicons-refresh"},{height:"15"},{width:"15"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-refresh"},{height:"15"},{width:"15"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Mc(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Nc extends Je{constructor(e){super(),He(this,e,Mc,Bc,h,{})}}function Tc(e){let n,o,r,s,i,a,c,l,u=t.sprintf(t._n("%d file generated","%d files generated",e[2].success_count,"jetpack-boost"),e[2].success_count)+"";s=new zc({props:{time:new Date(1e3*e[2].updated)}});let p=e[2].progress<100&&Rc(e),d="requesting"!==e[2].status&&e[3]>0&&Ac(e);return{c(){n=D("div"),o=H(u),r=J(),Ve(s.$$.fragment),i=H(".\n\t\t\t\t"),p&&p.c(),a=J(),d&&d.c(),c=W(),K(n,"class","successes")},m(e,t){R(e,n,t),M(n,o),M(n,r),De(s,n,null),M(n,i),p&&p.m(n,null),R(e,a,t),d&&d.m(e,t),R(e,c,t),l=!0},p(e,r){(!l||4&r)&&u!==(u=t.sprintf(t._n("%d file generated","%d files generated",e[2].success_count,"jetpack-boost"),e[2].success_count)+"")&&Z(o,u);const i={};4&r&&(i.time=new Date(1e3*e[2].updated)),s.$set(i),e[2].progress<100?p?p.p(e,r):(p=Rc(e),p.c(),p.m(n,null)):p&&(p.d(1),p=null),"requesting"!==e[2].status&&e[3]>0?d?(d.p(e,r),12&r&&Me(d,1)):(d=Ac(e),d.c(),Me(d,1),d.m(c.parentNode,c)):d&&(ze(),Ne(d,1,1,(()=>{d=null})),Be())},i(e){l||(Me(s.$$.fragment,e),Me(d),l=!0)},o(e){Ne(s.$$.fragment,e),Ne(d),l=!1},d(e){e&&I(n),Fe(s),p&&p.d(),e&&I(a),d&&d.d(e),e&&I(c)}}}function Oc(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"class","generating")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},i:a,o:a,d(e){e&&I(t)}}}function Rc(e){let t,n;return{c(){t=D("span"),n=H(e[1])},m(e,o){R(e,t,o),M(t,n)},p(e,t){2&t&&Z(n,e[1])},d(e){e&&I(t)}}}function Ac(e){let n,o,r,s,i;return o=new ca({}),s=new tr({props:{template:t.sprintf(t._n("%d file could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize this file.","%d files could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize these files.",e[3],"jetpack-boost"),e[3]),vars:{...Uo(e[6],"advanced")}}}),{c(){n=D("div"),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),K(n,"class","failures")},m(e,t){R(e,n,t),De(o,n,null),M(n,r),De(s,n,null),i=!0},p(e,n){const o={};8&n&&(o.template=t.sprintf(t._n("%d file could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize this file.","%d files could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize these files.",e[3],"jetpack-boost"),e[3])),s.$set(o)},i(e){i||(Me(o.$$.fragment,e),Me(s.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),Fe(s)}}}function Ic(e){let n,o,r,s,i,c,l,u=t.__("Regenerate","jetpack-boost")+"";return o=new Nc({}),{c(){n=D("button"),Ve(o.$$.fragment),r=J(),s=H(u),K(n,"type","button"),K(n,"class","components-button is-link")},m(t,a){R(t,n,a),De(o,n,null),M(n,r),M(n,s),i=!0,c||(l=U(n,"click",e[7]),c=!0)},p:a,i(e){i||(Me(o.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),c=!1,l()}}}function Vc(e){let t,n,o,r,s,i;const a=[Oc,Tc],c=[];function l(e,t){return 0===e[2].success_count?0:1}o=l(e),r=c[o]=a[o](e);let u="requesting"!==e[2].status&&Ic(e);return{c(){t=D("div"),n=D("div"),r.c(),s=J(),u&&u.c(),K(n,"class","summary"),K(t,"class","jb-critical-css__meta")},m(e,r){R(e,t,r),M(t,n),c[o].m(n,null),M(t,s),u&&u.m(t,null),i=!0},p(e,[s]){let i=o;o=l(e),o===i?c[o].p(e,s):(ze(),Ne(c[i],1,1,(()=>{c[i]=null})),Be(),r=c[o],r?r.p(e,s):(r=c[o]=a[o](e),r.c()),Me(r,1),r.m(n,null)),"requesting"!==e[2].status?u?(u.p(e,s),4&s&&Me(u,1)):(u=Ic(e),u.c(),Me(u,1),u.m(t,null)):u&&(ze(),Ne(u,1,1,(()=>{u=null})),Be())},i(e){i||(Me(r),Me(u),i=!0)},o(e){Ne(r),Ne(u),i=!1},d(e){e&&I(t),c[o].d(),u&&u.d()}}}function Dc(e,t,n){let o,r;b(e,Kr,(e=>n(2,o=e))),b(e,Dr,(e=>n(3,r=e)));let{generateText:s=""}=t,{generateMoreText:i=""}=t;const a=pe(),{navigate:c}=ho;return e.$$set=e=>{"generateText"in e&&n(0,s=e.generateText),"generateMoreText"in e&&n(1,i=e.generateMoreText)},[s,i,o,r,a,c,()=>c("critical-css-advanced"),()=>a("retry")]}class Fc extends Je{constructor(e){super(),He(this,e,Dc,Vc,h,{generateText:0,generateMoreText:1})}}function Hc(e){let n,o;return n=new Fc({props:{generateText:t.__("Jetpack Boost will generate Critical CSS for you automatically.","jetpack-boost"),generateMoreText:t.__("Jetpack Boost is generating more Critical CSS.","jetpack-boost")}}),n.$on("retry",qr),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Jc(e){let t,n;return t=new kc({props:{supportLink:"https://jetpackme.wordpress.com/contact-support/"}}),t.$on("retry",Yr),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Wc(e){let t,n,o,r;const s=[Jc,Hc],i=[];function a(e,t){return e[0]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Uc(e,t,n){let o;return b(e,Hr,(e=>n(0,o=e))),[o]}class Gc extends Je{constructor(e){super(),He(this,e,Uc,Wc,h,{})}}function Kc(e){let t,n;return t=new Fc({}),t.$on("retry",ga),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function qc(e){let t,n;return t=new kc({}),t.$on("retry",e[2]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Yc(e){let n,o,r,s,i,c,l;return{c(){n=D("div"),o=D("span"),o.textContent=`${t.__("Generating Critical CSS. Please don’t leave this page until completed.","jetpack-boost")}`,r=J(),s=D("div"),i=D("div"),K(o,"class","jb-critical-css-progress__label"),K(i,"class","jb-progress-bar__filler"),K(i,"aria-hidden","true"),K(i,"style",c=`width: ${e[0].progress}%;`),K(s,"role","progressbar"),K(s,"aria-valuemax","100"),K(s,"aria-valuemin","0"),K(s,"aria-valuenow",l=e[0].progress),K(s,"class","jb-progress-bar"),K(n,"class","jb-critical-css-progress")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s),M(s,i)},p(e,t){1&t&&c!==(c=`width: ${e[0].progress}%;`)&&K(i,"style",c),1&t&&l!==(l=e[0].progress)&&K(s,"aria-valuenow",l)},i:a,o:a,d(e){e&&I(n)}}}function Xc(e){let t,n,o,r;const s=[Yc,qc,Kc],i=[];function a(e,t){return"requesting"===e[0].status?0:e[1]?1:2}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Zc(e,t,n){let o,r;b(e,Kr,(e=>n(0,o=e))),b(e,Hr,(e=>n(1,r=e)));return[o,r,()=>ga(!0,!0)]}class Qc extends Je{constructor(e){super(),He(this,e,Zc,Xc,h,{})}}function el(e){let t,n,o,r,s,i,c,l,u,p,m;return{c(){t=D("div"),n=D("div"),o=D("span"),r=D("input"),s=J(),i=D("span"),c=J(),l=D("span"),u=D("label"),K(r,"id",e[1]),K(r,"class","components-form-toggle__input"),K(r,"type","checkbox"),r.disabled=e[2],K(i,"class","components-form-toggle__track"),K(l,"class","components-form-toggle__thumb"),K(o,"class","components-form-toggle"),ee(o,"is-checked",e[0]),K(u,"for",e[1]),K(u,"class","components-toggle-control__label"),K(n,"class","components-base-control__field"),K(t,"class","components-base-control components-toggle-control")},m(a,d){R(a,t,d),M(t,n),M(n,o),M(o,r),r.checked=e[0],M(o,s),M(o,i),M(o,c),M(o,l),M(n,u),p||(m=[U(r,"click",e[3]),U(r,"change",e[4])],p=!0)},p(e,[t]){2&t&&K(r,"id",e[1]),4&t&&(r.disabled=e[2]),1&t&&(r.checked=e[0]),1&t&&ee(o,"is-checked",e[0]),2&t&&K(u,"for",e[1])},i:a,o:a,d(e){e&&I(t),p=!1,d(m)}}}function tl(e,t,n){let{id:o}=t,{checked:r=!1}=t,{disabled:s=!1}=t;return e.$$set=e=>{"id"in e&&n(1,o=e.id),"checked"in e&&n(0,r=e.checked),"disabled"in e&&n(2,s=e.disabled)},[r,o,s,function(t){he.call(this,e,t)},function(){r=this.checked,n(0,r)}]}class nl extends Je{constructor(e){super(),He(this,e,tl,el,h,{id:1,checked:0,disabled:2})}}const ol=e=>({}),rl=e=>({}),sl=e=>({}),il=e=>({}),al=e=>({}),cl=e=>({});function ll(e){let t,n,o,r,s,i,a,c,l,u,p,d,m;function h(t){e[10](t)}let g={id:`jb-feature-toggle-${e[0]}`,checked:e[3]};void 0!==e[2]&&(g.disabled=e[2]),o=new nl({props:g}),fe.push((()=>function(e,t,n){const o=e.$$.props[t];void 0!==o&&(e.$$.bound[o]=n,n(e.$$.ctx[o]))}(o,"disabled",h))),o.$on("click",e[7]);const f=e[9].title,_=y(f,e,e[8],cl),b=e[9].description,v=y(b,e,e[8],il),k=e[9].default,j=y(k,e,e[8],null);let S=e[1]&&ul(e),C=e[3]&&pl(e);return{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),s=J(),i=D("div"),_&&_.c(),a=J(),c=D("div"),v&&v.c(),l=J(),u=D("div"),j&&j.c(),p=J(),S&&S.c(),d=J(),C&&C.c(),K(n,"class","jb-feature-toggle__toggle"),K(c,"class","jb-feature-toggle__text"),K(u,"class","jb-feature-toggle__content"),K(i,"class","jb-feature-toggle__content"),K(t,"class","jb-feature-toggle")},m(e,r){R(e,t,r),M(t,n),De(o,n,null),M(t,s),M(t,i),_&&_.m(i,null),M(i,a),M(i,c),v&&v.m(c,null),M(i,l),M(i,u),j&&j.m(u,null),M(u,p),S&&S.m(u,null),M(u,d),C&&C.m(u,null),m=!0},p(e,t){const n={};var s;1&t&&(n.id=`jb-feature-toggle-${e[0]}`),8&t&&(n.checked=e[3]),!r&&4&t&&(r=!0,n.disabled=e[2],s=()=>r=!1,be.push(s)),o.$set(n),_&&_.p&&(!m||256&t)&&w(_,f,e,e[8],m?$(f,e[8],t,al):x(e[8]),cl),v&&v.p&&(!m||256&t)&&w(v,b,e,e[8],m?$(b,e[8],t,sl):x(e[8]),il),j&&j.p&&(!m||256&t)&&w(j,k,e,e[8],m?$(k,e[8],t,null):x(e[8]),null),e[1]?S?(S.p(e,t),2&t&&Me(S,1)):(S=ul(e),S.c(),Me(S,1),S.m(u,d)):S&&(ze(),Ne(S,1,1,(()=>{S=null})),Be()),e[3]?C?(C.p(e,t),8&t&&Me(C,1)):(C=pl(e),C.c(),Me(C,1),C.m(u,null)):C&&(ze(),Ne(C,1,1,(()=>{C=null})),Be())},i(e){m||(Me(o.$$.fragment,e),Me(_,e),Me(v,e),Me(j,e),Me(S),Me(C),m=!0)},o(e){Ne(o.$$.fragment,e),Ne(_,e),Ne(v,e),Ne(j,e),Ne(S),Ne(C),m=!1},d(e){e&&I(t),Fe(o),_&&_.d(e),v&&v.d(e),j&&j.d(e),S&&S.d(),C&&C.d()}}}function ul(e){let n,o;return n=new cr({props:{title:t.__("Failed to toggle feature","jetpack-boost"),error:e[1]}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};2&t&&(o.error=e[1]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function pl(e){let t;const n=e[9].meta,o=y(n,e,e[8],rl);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||256&r)&&w(o,n,e,e[8],t?$(n,e[8],r,ol):x(e[8]),rl)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function dl(e){let t,n,o=e[4]&&ll(e);return{c(){o&&o.c(),t=W()},m(e,r){o&&o.m(e,r),R(e,t,r),n=!0},p(e,[n]){e[4]?o?(o.p(e,n),16&n&&Me(o,1)):(o=ll(e),o.c(),Me(o,1),o.m(t.parentNode,t)):o&&(ze(),Ne(o,1,1,(()=>{o=null})),Be())},i(e){n||(Me(o),n=!0)},o(e){Ne(o),n=!1},d(e){o&&o.d(e),e&&I(t)}}}function ml(e,t,n){let o,r,{$$slots:s={},$$scope:i}=t,{slug:a}=t;const c=pe(),l=Pr(a);b(e,l,(e=>n(3,o=e)));const u=zr(a);b(e,u,(e=>n(4,r=e)));let p=null,d=!1;return le((async()=>{o&&c("mountEnabled")})),e.$$set=e=>{"slug"in e&&n(0,a=e.slug),"$$scope"in e&&n(8,i=e.$$scope)},[a,p,d,o,r,l,u,async function(){if(!d){n(1,p=null),n(2,d=!0);try{await Cr(a,!o)?c("enabled"):c("disabled")}catch(e){n(1,p=e)}n(2,d=!1)}},i,s,function(e){d=e,n(2,d)}]}class hl extends Je{constructor(e){super(),He(this,e,ml,dl,h,{slug:0})}}function gl(e){let t,n,o=[{width:"19"},{height:"17"},{viewBox:"0 0 19 17"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var o=Y(t);n=X(o,"path",{d:!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"d","M10.6953 16.3906L18.4062 8.60938L10.6953 0.828125L8.63281 2.98438L12.8516 7.10938H0.699219V10.1094H12.8516L8.63281 14.2344L10.6953 16.3906Z"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{width:"19"},{height:"17"},{viewBox:"0 0 19 17"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function fl(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class _l extends Je{constructor(e){super(),He(this,e,fl,gl,h,{})}}function bl(e){let n,o,r,s,i,c,l,u,p,d,m;return u=new _l({}),{c(){n=D("div"),o=D("div"),r=D("p"),r.textContent=`${t.__("Save time by automatically regenerating critical CSS","jetpack-boost")}`,s=J(),i=D("p"),i.textContent=`${t.__("Upgrade Jetpack Boost","jetpack-boost")}`,c=J(),l=D("div"),Ve(u.$$.fragment),K(i,"class","jb-premium-cta__action-line"),K(o,"class","jb-premium-cta__content"),K(l,"class","jb-premium-cta__icon"),K(n,"class","jb-premium-cta")},m(t,a){R(t,n,a),M(n,o),M(o,r),M(o,s),M(o,i),M(n,c),M(n,l),De(u,l,null),p=!0,d||(m=U(n,"click",e[0]),d=!0)},p:a,i(e){p||(Me(u.$$.fragment,e),p=!0)},o(e){Ne(u.$$.fragment,e),p=!1},d(e){e&&I(n),Fe(u),d=!1,m()}}}function yl(e){const{navigate:t}=ho;return[function(){Oo("upsell_cta_from_settings_page_in_plugin",{}),t("/upgrade")}]}class vl extends Je{constructor(e){super(),He(this,e,yl,bl,h,{})}}function $l(e){let t,n;return t=new vl({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function wl(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Optimize CSS Loading","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function xl(e){let n,o,r;return o=new tr({props:{template:t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as <link>Critical CSS</link>.","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function kl(e){let t,n,o;return n=new Qc({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"slot","meta")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function jl(e){let n,o,r,s,i=t.__("Automatically Optimize CSS Loading","jetpack-boost")+"";return{c(){n=D("h3"),o=H(i),r=J(),s=D("span"),s.textContent="Upgraded",K(s,"class","jb-badge"),K(n,"slot","title")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s)},p:a,d(e){e&&I(n)}}}function Sl(e){let n,o,r;return o=new tr({props:{template:t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as <link>critical CSS</link> which now generates automatically.","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function Cl(e){let t,n,o;return n=new Gc({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"slot","meta"),K(t,"class","jb-feature-toggle__meta")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function El(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Defer Non-Essential JavaScript","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Ll(e){let n,o,r;return o=new tr({props:{template:t.__("Run non-essential JavaScript after the page has loaded so that styles and images can load more quickly. Read more on <link>web.dev</link>.","jetpack-boost"),vars:Ko(e[2])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function Pl(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Lazy Image Loading","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function zl(e){let n,o,r;return o=new tr({props:{template:t.__("Improve page loading speed by only loading images when they are required. Read more on <link>web.dev</link>.","jetpack-boost"),vars:Ko(e[3])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function Bl(e){let t,n,o,r,s,i,a,c,l,u,p=!e[0]&&$l();return o=new hl({props:{slug:"critical-css",$$slots:{meta:[kl],description:[xl],title:[wl]},$$scope:{ctx:e}}}),o.$on("enabled",ha),o.$on("mountEnabled",ha),s=new hl({props:{slug:"cloud-css",$$slots:{meta:[Cl],description:[Sl],title:[jl]},$$scope:{ctx:e}}}),s.$on("enabled",qr),s.$on("disabled",ts),s.$on("mountEnabled",es),a=new hl({props:{slug:"render-blocking-js",$$slots:{description:[Ll],title:[El]},$$scope:{ctx:e}}}),l=new hl({props:{slug:"lazy-images",$$slots:{description:[zl],title:[Pl]},$$scope:{ctx:e}}}),{c(){t=D("div"),p&&p.c(),n=J(),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),Ve(a.$$.fragment),c=J(),Ve(l.$$.fragment),K(t,"class","jb-container--narrow")},m(e,d){R(e,t,d),p&&p.m(t,null),M(t,n),De(o,t,null),M(t,r),De(s,t,null),M(t,i),De(a,t,null),M(t,c),De(l,t,null),u=!0},p(e,[r]){e[0]?p&&(ze(),Ne(p,1,1,(()=>{p=null})),Be()):p?1&r&&Me(p,1):(p=$l(),p.c(),Me(p,1),p.m(t,n));const i={};128&r&&(i.$$scope={dirty:r,ctx:e}),o.$set(i);const c={};128&r&&(c.$$scope={dirty:r,ctx:e}),s.$set(c);const u={};128&r&&(u.$$scope={dirty:r,ctx:e}),a.$set(u);const d={};128&r&&(d.$$scope={dirty:r,ctx:e}),l.$set(d)},i(e){u||(Me(p),Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(a.$$.fragment,e),Me(l.$$.fragment,e),u=!0)},o(e){Ne(p),Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(a.$$.fragment,e),Ne(l.$$.fragment,e),u=!1},d(e){e&&I(t),p&&p.d(),Fe(o),Fe(s),Fe(a),Fe(l)}}}function Ml(e,t,n){let o,r;b(e,Lr,(e=>n(6,r=e)));const s=ot("jetpack-boost-critical-css"),i=ot("jetpack-boost-defer-js"),a=ot("jetpack-boost-lazy-load");let{location:c,navigate:l}=t;return e.$$set=e=>{"location"in e&&n(4,c=e.location),"navigate"in e&&n(5,l=e.navigate)},e.$$.update=()=>{64&e.$$.dirty&&n(0,o=!!r["cloud-css"])},[o,s,i,a,c,l,r]}class Nl extends Je{constructor(e){super(),He(this,e,Ml,Bl,h,{location:4,navigate:5})}}const Tl=Fn(Bo,(e=>e.preferences.prioritySupport)),Ol=()=>{window.open("https://jetpackme.wordpress.com/contact-support/","_blank")},Rl=function(){if(Tl)return"https://jetpackme.wordpress.com/contact-support/";return"https://wordpress.org/support/plugin/jetpack-boost/#new-topic-0"}();const Al=12e4;async function Il(e=!1){const n=Vl(await So.post(e?"/speed-scores/refresh":"/speed-scores",{url:Jetpack_Boost.site.url}));return n.scores?n.scores:await async function(){return async function({interval:e,callback:n,timeout:o,timeoutError:r}){let s,i;return new Promise(((a,c)=>{s=setTimeout((()=>{c(new Error(r||t.__("Timed out","jetpack-boost")))}),o||12e4),i=setInterval((async()=>{try{await Promise.resolve(n(a))}catch(e){c(e)}}),e)})).finally((()=>{clearTimeout(s),clearInterval(i)}))}({timeout:Al,interval:5e3,timeoutError:t.__("Timed out while waiting for speed-score.","jetpack-boost"),callback:async e=>{const t=Vl(await So.post("/speed-scores",{url:Jetpack_Boost.site.url}));t.scores&&e(t.scores)}})}()}function Vl(e){if(e.error){const n=t.__("An unknown error occurred while requesting metrics","jetpack-boost");throw Go(e.error,n)}if(wo(e.scores))return{status:"success",scores:{current:wo(e.scores.current)?{mobile:la(e.scores.current.mobile,0),desktop:la(e.scores.current.desktop,0)}:{mobile:0,desktop:0},noBoost:wo(e.scores.noBoost)?{mobile:la(e.scores.noBoost.mobile,0),desktop:la(e.scores.noBoost.desktop,0)}:null,isStale:!!e.scores.isStale}};const n=$o(e.status);if(!n)throw new Error(t.__("Invalid response while requesting metrics","jetpack-boost"));return{status:n}}function Dl(e){const n=function(e){const t=e.current,n=e.noBoost;let o=0,r=0;if(null!==t&&null!==n){o=e.current.mobile+e.current.desktop,r=e.noBoost.mobile+e.noBoost.desktop;const t=o/r-1;return Math.round(100*t)}return 0}(e);return n>5?{id:"score-increase",title:t.__("Your site got faster","jetpack-boost"),message:t.__("That great! If you’re happy, why not rate Boost?","jetpack-boost"),cta:t.__("Rate the Plugin","jetpack-boost"),ctaLink:"https://wordpress.org/support/plugin/jetpack-boost/reviews/#new-post"}:n<-5?{id:"score-decrease",title:t.__("Speed score has fallen","jetpack-boost"),message:t.__("Jetpack Boost should not slow down your site. Try refreshing your score. If the problem persists please contact support","jetpack-boost"),cta:t.__("Contact Support","jetpack-boost"),ctaLink:Rl}:void 0}function Fl(e){let t,n,o,r=[{class:"gridicon gridicons-computer"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-computer"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Hl(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Jl extends Je{constructor(e){super(),He(this,e,Hl,Fl,h,{})}}function Wl(e){let t,n,o,r=[{class:"gridicon gridicons-phone"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-phone"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Ul(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Gl extends Je{constructor(e){super(),He(this,e,Ul,Wl,h,{})}}var Kl,ql,Yl,Xl,Zl;Kl={},function(){var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(e){return o(s(e),arguments)}function n(e,n){return t.apply(null,[e].concat(n||[]))}function o(n,o){var r,s,i,a,c,l,u,p,d,m=1,h=n.length,g="";for(s=0;s<h;s++)if("string"==typeof n[s])g+=n[s];else if("object"==typeof n[s]){if((a=n[s]).keys)for(r=o[m],i=0;i<a.keys.length;i++){if(null==r)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[i],a.keys[i-1]));r=r[a.keys[i]]}else r=a.param_no?o[a.param_no]:o[m++];if(e.not_type.test(a.type)&&e.not_primitive.test(a.type)&&r instanceof Function&&(r=r()),e.numeric_arg.test(a.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(t("[sprintf] expecting number but found %T",r));switch(e.number.test(a.type)&&(p=r>=0),a.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,a.width?parseInt(a.width):0);break;case"e":r=a.precision?parseFloat(r).toExponential(a.precision):parseFloat(r).toExponential();break;case"f":r=a.precision?parseFloat(r).toFixed(a.precision):parseFloat(r);break;case"g":r=a.precision?String(Number(r.toPrecision(a.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=a.precision?r.substring(0,a.precision):r;break;case"t":r=String(!!r),r=a.precision?r.substring(0,a.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=a.precision?r.substring(0,a.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=a.precision?r.substring(0,a.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}e.json.test(a.type)?g+=r:(!e.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",r=r.toString().replace(e.sign,"")),l=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+r).length,c=a.width&&u>0?l.repeat(u):"",g+=a.align?d+r+c:"0"===l?d+c+r:c+d+r)}return g}var r=Object.create(null);function s(t){if(r[t])return r[t];for(var n,o=t,s=[],i=0;o;){if(null!==(n=e.text.exec(o)))s.push(n[0]);else if(null!==(n=e.modulo.exec(o)))s.push("%");else{if(null===(n=e.placeholder.exec(o)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){i|=1;var a=[],c=n[2],l=[];if(null===(l=e.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(c=c.substring(l[0].length));)if(null!==(l=e.key_access.exec(c)))a.push(l[1]);else{if(null===(l=e.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}n[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");s.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}o=o.substring(n[0].length)}return r[t]=s}Kl.sprintf=t,Kl.vsprintf=n,"undefined"!=typeof window&&(window.sprintf=t,window.vsprintf=n)}(),ql={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Yl=["(","?"],Xl={")":["("],":":["?","?:"]},Zl=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Ql={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function eu(e){var t=function(e){for(var t,n,o,r,s=[],i=[];t=e.match(Zl);){for(n=t[0],(o=e.substr(0,t.index).trim())&&s.push(o);r=i.pop();){if(Xl[n]){if(Xl[n][0]===r){n=Xl[n][1]||n;break}}else if(Yl.indexOf(r)>=0||ql[r]<ql[n]){i.push(r);break}s.push(r)}Xl[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&s.push(e),s.concat(i.reverse())}(e);return function(e){return function(e,t){var n,o,r,s,i,a,c=[];for(n=0;n<e.length;n++){if(i=e[n],s=Ql[i]){for(o=s.length,r=Array(o);o--;)r[o]=c.pop();try{a=s.apply(null,r)}catch(e){return e}}else a=t.hasOwnProperty(i)?t[i]:+i;c.push(a)}return c[0]}(t,e)}}var tu={contextDelimiter:"",onMissingKey:null};function nu(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},tu)this.options[n]=void 0!==t&&n in t?t[n]:tu[n]}nu.prototype.getPluralForm=function(e,t){var n,o,r,s=this.pluralForms[e];return s||("function"!=typeof(r=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,o;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(o=t[n].trim()).indexOf("plural="))return o.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=function(e){var t=eu(e);return function(e){return+t({n:e})}}(o)),s=this.pluralForms[e]=r),s(t)},nu.prototype.dcnpgettext=function(e,t,n,o,r){var s,i,a;return s=void 0===r?0:this.getPluralForm(e,r),i=n,t&&(i=t+this.options.contextDelimiter+n),(a=this.data[e][i])&&a[s]?a[s]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===s?n:o)};const ou={plural_forms:e=>1===e?0:1},ru=/^i18n\.(n?gettext|has_translation)(_|$)/,su=((e,t,n)=>{const o=new nu({}),r=new Set,s=()=>{r.forEach((e=>e()))},i=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";o.data[n]={...o.data[n],...e},o.data[n][""]={...ou,...null===(t=o.data[n])||void 0===t?void 0:t[""]},delete o.pluralForms[n]},a=(e,t)=>{i(e,t),s()},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;return o.data[e]||i(void 0,e),o.dcnpgettext(e,t,n,r,s)},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},u=(e,t,o)=>{let r=c(o,t,e);return n?(r=n.applyFilters("i18n.gettext_with_context",r,e,t,o),n.applyFilters("i18n.gettext_with_context_"+l(o),r,e,t,o)):r};if(e&&a(e,t),n){const e=e=>{ru.test(e)&&s()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return o.data[e]},setLocaleData:a,addLocaleData:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";o.data[n]={...o.data[n],...e,"":{...ou,...null===(t=o.data[n])||void 0===t?void 0:t[""],...null==e?void 0:e[""]}},delete o.pluralForms[n],s()},resetLocaleData:(e,t)=>{o.data={},o.pluralForms={},a(e,t)},subscribe:e=>(r.add(e),()=>r.delete(e)),__:(e,t)=>{let o=c(t,void 0,e);return n?(o=n.applyFilters("i18n.gettext",o,e,t),n.applyFilters("i18n.gettext_"+l(t),o,e,t)):o},_x:u,_n:(e,t,o,r)=>{let s=c(r,void 0,e,t,o);return n?(s=n.applyFilters("i18n.ngettext",s,e,t,o,r),n.applyFilters("i18n.ngettext_"+l(r),s,e,t,o,r)):s},_nx:(e,t,o,r,s)=>{let i=c(s,r,e,t,o);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,o,r,s),n.applyFilters("i18n.ngettext_with_context_"+l(s),i,e,t,o,r,s)):i},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,r)=>{var s,i;const a=t?t+""+e:e;let c=!(null===(s=o.data)||void 0===s||null===(i=s[null!=r?r:"default"])||void 0===i||!i[a]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,r),c=n.applyFilters("i18n.has_translation_"+l(r),c,e,t,r)),c}}})(void 0,void 0,Xt);su.getLocaleData.bind(su),su.setLocaleData.bind(su),su.resetLocaleData.bind(su),su.subscribe.bind(su);const iu=su.__.bind(su);function au(e,t){const n=getComputedStyle(e).transform.replace("none","");return{delay:t.delay||0,duration:t.duration||2e3,easing:t.easing||Hi,css:(e,t)=>`transform: ${n} translateX(${100*t}%)`}}function cu(e){let t,n,o,r,s,i,a,c,l,u,p,m,h,g,f,_,b,y,v,$=iu("Do not show me again","jetpack-boost")+"";return o=new Ki({}),o.$on("click",e[8]),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h3"),i=H(e[1]),a=J(),c=D("p"),l=H(e[2]),u=J(),p=D("a"),m=H(e[4]),h=J(),g=D("a"),f=H($),K(s,"class","jb-rating-card__headline"),K(c,"class","jb-rating-card__paragraph"),K(p,"class","jb-button--primary"),K(p,"href",e[3]),K(p,"target","_blank"),K(g,"class","jb-link"),K(g,"href",e[3]),K(g,"target","_blank"),K(n,"class","jb-rating-card"),K(t,"class","jb-rating-card__wrapper")},m(d,_){R(d,t,_),M(t,n),De(o,n,null),M(n,r),M(n,s),M(s,i),M(n,a),M(n,c),M(c,l),M(n,u),M(n,p),M(p,m),M(n,h),M(n,g),M(g,f),b=!0,y||(v=[U(p,"click",e[9]),U(g,"click",G(e[10]))],y=!0)},p(e,t){(!b||2&t)&&Z(i,e[1]),(!b||4&t)&&Z(l,e[2]),(!b||16&t)&&Z(m,e[4]),(!b||8&t)&&K(p,"href",e[3]),(!b||8&t)&&K(g,"href",e[3])},i(e){b||(Me(o.$$.fragment,e),we((()=>{_||(_=Oe(n,au,{},!0)),_.run(1)})),b=!0)},o(e){Ne(o.$$.fragment,e),_||(_=Oe(n,au,{},!1)),_.run(0),b=!1},d(e){e&&I(t),Fe(o),e&&_&&_.end(),y=!1,d(v)}}}function lu(e){let t,n,o=!e[5].includes(e[0]),r=o&&cu(e);return{c(){r&&r.c(),t=W()},m(e,o){r&&r.m(e,o),R(e,t,o),n=!0},p(e,[n]){33&n&&(o=!e[5].includes(e[0])),o?r?(r.p(e,n),33&n&&Me(r,1)):(r=cu(e),r.c(),Me(r,1),r.m(t.parentNode,t)):r&&(ze(),Ne(r,1,1,(()=>{r=null})),Be())},i(e){n||(Me(r),n=!0)},o(e){Ne(r),n=!1},d(e){r&&r.d(e),e&&I(t)}}}function uu(e,n,o){let r;b(e,Po,(e=>o(5,r=e)));let{id:s=""}=n,{title:i=""}=n,{message:a=""}=n,{ctaLink:c=""}=n,{cta:l=""}=n,u="";const p=pe();async function d(){u={action:"set_show_score_prompt",id:s,value:!1,nonce:Jetpack_Boost.showScorePromptNonce},await async function(e){const n=await da(e);let o;try{o=await n.json()}catch(e){throw new pa(t.sprintf(t.__("Received invalid response while communicating with your WordPress site: %s","jetpack-boost"),e.message))}if(!n.ok)throw new pa(t.sprintf(t.__("HTTP %d error received while communicating with the server.","jetpack-boost"),n.status));return o}(u),Po.dismiss(s),p("dismiss")}return e.$$set=e=>{"id"in e&&o(0,s=e.id),"title"in e&&o(1,i=e.title),"message"in e&&o(2,a=e.message),"ctaLink"in e&&o(3,c=e.ctaLink),"cta"in e&&o(4,l=e.cta)},[s,i,a,c,l,r,p,d,()=>p("dismiss"),()=>{d()},()=>{d()}]}su._x.bind(su),su._n.bind(su),su._nx.bind(su),su.isRTL.bind(su),su.hasTranslation.bind(su);class pu extends Je{constructor(e){super(),He(this,e,uu,lu,h,{id:0,title:1,message:2,ctaLink:3,cta:4})}}function du(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{width:"24"},{height:"24"},{viewBox:"0 0 128 128"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),r=F("animateTransform"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,width:!0,height:!0,viewBox:!0});var s=Y(t);n=X(s,"g",{});var i=Y(n);o=X(i,"path",{d:!0}),Y(o).forEach(I),r=X(i,"animateTransform",{attributeName:!0,type:!0,values:!0,calcMode:!0,dur:!0,repeatCount:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(o,"d","M64 0a7 7 0 11-7 7 7 7 0 017-7zm29.86 12.2a2.8 2.8 0 11-3.83 1.02 2.8 2.8 0 013.83-1.02zm22.16 21.68a3.15 3.15 0 11-4.3-1.15 3.15 3.15 0 014.3 1.15zm.87 60.53a4.2 4.2 0 11-1.57-5.7 4.2 4.2 0 011.54 5.73zm7.8-30.5a3.85 3.85 0 11-3.85-3.85 3.85 3.85 0 013.85 3.84zm-30 53.2a4.55 4.55 0 111.66-6.23 4.55 4.55 0 01-1.67 6.22zM64 125.9a4.9 4.9 0 114.9-4.9 4.9 4.9 0 01-4.9 4.9zm-31.06-8.22a5.25 5.25 0 117.17-1.93 5.25 5.25 0 01-7.14 1.93zM9.9 95.1a5.6 5.6 0 117.65 2.06A5.6 5.6 0 019.9 95.1zM1.18 63.9a5.95 5.95 0 115.95 5.94 5.95 5.95 0 01-5.96-5.94zm8.1-31.6a6.3 6.3 0 112.32 8.6 6.3 6.3 0 01-2.3-8.6zM32.25 8.87a6.65 6.65 0 11-2.44 9.1 6.65 6.65 0 012.46-9.1z"),K(r,"attributeName","transform"),K(r,"type","rotate"),K(r,"values","0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64"),K(r,"calcMode","discrete"),K(r,"dur","1080ms"),K(r,"repeatCount","indefinite"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(n,o),O(n,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{width:"24"},{height:"24"},{viewBox:"0 0 128 128"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function mu(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class hu extends Je{constructor(e){super(),He(this,e,mu,du,h,{})}}function gu(e){let t,n,o,r,s,i;const a=[_u,fu],c=[];function l(e,t){return e[1]?0:1}n=l(e),o=c[n]=a[n](e);let u=e[2]&&e[4]&&e[4]<e[0]&&bu(e);return{c(){t=D("div"),o.c(),r=J(),u&&u.c(),K(t,"class",s="jb-score-bar__filler "+e[6]),Q(t,"width",e[0]+"%")},m(e,o){R(e,t,o),c[n].m(t,null),M(t,r),u&&u.m(t,null),i=!0},p(e,p){let d=n;n=l(e),n===d?c[n].p(e,p):(ze(),Ne(c[d],1,1,(()=>{c[d]=null})),Be(),o=c[n],o?o.p(e,p):(o=c[n]=a[n](e),o.c()),Me(o,1),o.m(t,r)),e[2]&&e[4]&&e[4]<e[0]?u?u.p(e,p):(u=bu(e),u.c(),u.m(t,null)):u&&(u.d(1),u=null),(!i||64&p&&s!==(s="jb-score-bar__filler "+e[6]))&&K(t,"class",s),(!i||1&p)&&Q(t,"width",e[0]+"%")},i(e){i||(Me(o),i=!0)},o(e){Ne(o),i=!1},d(e){e&&I(t),c[n].d(),u&&u.d()}}}function fu(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"class","jb-score-bar__score")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},i:a,o:a,d(e){e&&I(t)}}}function _u(e){let t,n,o;return n=new hu({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"class","jb-score-bar__loading")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function bu(e){let t,n,o,r=e[5]&&yu(e);return{c(){t=D("div"),n=H(e[4]),o=J(),r&&r.c(),K(t,"class","jb-score-bar__no_boost_score"),Q(t,"left","min("+e[7]+"%, calc(100% - var(--clearance-space))")},m(e,s){R(e,t,s),M(t,n),M(t,o),r&&r.m(t,null)},p(e,o){16&o&&Z(n,e[4]),e[5]?r?r.p(e,o):(r=yu(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null),128&o&&Q(t,"left","min("+e[7]+"%, calc(100% - var(--clearance-space))")},d(e){e&&I(t),r&&r.d()}}}function yu(e){let t,n;return{c(){t=D("div"),n=H(e[5]),K(t,"class","jb-score-bar__no_boost_score_tooltip")},m(e,o){R(e,t,o),M(t,n)},p(e,t){32&t&&Z(n,e[5])},d(e){e&&I(t)}}}function vu(e){let t,n,o=e[3]&&gu(e);return{c(){t=D("div"),o&&o.c(),K(t,"class","jb-score-bar__bounds")},m(e,r){R(e,t,r),o&&o.m(t,null),n=!0},p(e,[n]){e[3]?o?(o.p(e,n),8&n&&Me(o,1)):(o=gu(e),o.c(),Me(o,1),o.m(t,null)):o&&(ze(),Ne(o,1,1,(()=>{o=null})),Be())},i(e){n||(Me(o),n=!0)},o(e){Ne(o),n=!1},d(e){e&&I(t),o&&o.d()}}}function $u(e,t,n){let o,r,{score:s=0}=t,{isLoading:i=!0}=t,{showPrevScores:a=!1}=t,{active:c=!0}=t,{prevScore:l=0}=t,{noBoostScoreTooltip:u=null}=t;return e.$$set=e=>{"score"in e&&n(0,s=e.score),"isLoading"in e&&n(1,i=e.isLoading),"showPrevScores"in e&&n(2,a=e.showPrevScores),"active"in e&&n(3,c=e.active),"prevScore"in e&&n(4,l=e.prevScore),"noBoostScoreTooltip"in e&&n(5,u=e.noBoostScoreTooltip)},e.$$.update=()=>{var t;17&e.$$.dirty&&(n(6,(t=s,o=i?"fill-loading":t>70?"fill-good":t>50?"fill-mediocre":t?"fill-bad":void 0)),n(7,r=l/s*100))},[s,i,a,c,l,u,o,r]}class wu extends Je{constructor(e){super(),He(this,e,$u,vu,h,{score:0,isLoading:1,showPrevScores:2,active:3,prevScore:4,noBoostScoreTooltip:5})}}function xu(e){let n,o,r,s,i,c,l,u,p,d,m;return{c(){n=D("div"),o=D("span"),o.textContent="i",r=J(),s=D("div"),i=D("p"),i.textContent=`${t.__("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-boost")}`,c=J(),l=D("table"),l.innerHTML="<tr><th>A</th> \n\t\t\t\t<td>90+</td></tr> \n\t\t\t<tr><th>B</th> \n\t\t\t\t<td>75 - 90</td></tr> \n\t\t\t<tr><th>C</th> \n\t\t\t\t<td>50 - 75</td></tr>",u=J(),p=D("table"),p.innerHTML="<tr><th>D</th> \n\t\t\t\t<td>35 - 50</td></tr> \n\t\t\t<tr><th>E</th> \n\t\t\t\t<td>25 - 35</td></tr> \n\t\t\t<tr><th>F</th> \n\t\t\t\t<td>0 - 25</td></tr>",d=J(),m=D("i"),K(o,"class","jb-score-context__info-icon"),K(s,"class","jb-score-context__info-container"),K(n,"class","jb-score-context")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s),M(s,i),M(s,c),M(s,l),M(s,u),M(s,p),M(s,d),M(s,m)},p:a,i:a,o:a,d(e){e&&I(n)}}}class ku extends Je{constructor(e){super(),He(this,e,null,xu,h,{})}}function ju(e){let n,o,r,s;return{c(){n=D("div"),o=D("h2"),o.textContent=`${t.__("Website Offline","jetpack-boost")}`,r=J(),s=D("p"),s.textContent=`${t.__("All Jetpack Boost features are still available, but to get a performance score you would first have to make your website available online.","jetpack-boost")}`,K(n,"class","jb-site-score__offline")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s)},p:a,i:a,o:a,d(e){e&&I(n)}}}function Su(e){let n,o,r,s,i,a,c,l,u,p,d,m=t.__("Refresh","jetpack-boost")+"";function h(e,t){return e[1]?Lu:e[2]?Eu:Cu}let g=h(e),f=g(e),_=!e[1]&&!e[2]&&Pu();return a=new Nc({}),{c(){n=D("div"),o=D("h2"),f.c(),r=J(),_&&_.c(),s=J(),i=D("button"),Ve(a.$$.fragment),c=J(),l=H(m),K(i,"type","button"),K(i,"class","components-button is-link"),i.disabled=e[1],K(n,"class","jb-site-score__top")},m(t,m){R(t,n,m),M(n,o),f.m(o,null),M(n,r),_&&_.m(n,null),M(n,s),M(n,i),De(a,i,null),M(i,c),M(i,l),u=!0,p||(d=U(i,"click",e[14]),p=!0)},p(e,t){g===(g=h(e))&&f?f.p(e,t):(f.d(1),f=g(e),f&&(f.c(),f.m(o,null))),e[1]||e[2]?_&&(ze(),Ne(_,1,1,(()=>{_=null})),Be()):_?6&t&&Me(_,1):(_=Pu(),_.c(),Me(_,1),_.m(n,s)),(!u||2&t)&&(i.disabled=e[1])},i(e){u||(Me(_),Me(a.$$.fragment,e),u=!0)},o(e){Ne(_),Ne(a.$$.fragment,e),u=!1},d(e){e&&I(n),f.d(),_&&_.d(),Fe(a),p=!1,d()}}}function Cu(e){let n,o,r,s=t.__("Overall score","jetpack-boost")+"";return{c(){n=H(s),o=H(": "),r=H(e[4])},m(e,t){R(e,n,t),R(e,o,t),R(e,r,t)},p(e,t){16&t&&Z(r,e[4])},d(e){e&&I(n),e&&I(o),e&&I(r)}}}function Eu(e){let n,o=t.__("Whoops, something went wrong","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Lu(e){let n,o=t.__("Loading…","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Pu(e){let t,n;return t=new ku({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function zu(e){let n,o;return n=new cr({props:{title:t.__("Failed to load Speed Scores","jetpack-boost"),error:e[2],suggestion:t.__('<action name="retry">Try again</action>',"jetpack-boost")}}),n.$on("retry",e[15]),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};4&t&&(o.error=e[2]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Bu(e){let t,n;return t=new pu({props:{id:e[5].id,title:e[5].title,message:e[5].message,ctaLink:e[5].ctaLink,cta:e[5].cta}}),t.$on("dismiss",e[16]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};32&n&&(o.id=e[5].id),32&n&&(o.title=e[5].title),32&n&&(o.message=e[5].message),32&n&&(o.ctaLink=e[5].ctaLink),32&n&&(o.cta=e[5].cta),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Mu(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,b,y,v,$,w,x,k,j;const S=[Su,ju],C=[];r=function(e,t){return e[6]?0:1}(e),s=C[r]=S[r](e);let E=e[2]&&zu(e);u=new Gl({}),h=new wu({props:{prevScore:e[0].noBoost?.mobile,score:e[0].current.mobile,active:e[6],isLoading:e[1],showPrevScores:e[3],noBoostScoreTooltip:t.__("Your mobile score without Boost","jetpack-boost")}}),b=new Jl({}),w=new wu({props:{prevScore:e[0].noBoost?.desktop,score:e[0].current.desktop,active:e[6],isLoading:e[1],showPrevScores:e[3],noBoostScoreTooltip:t.__("Your desktop score without Boost","jetpack-boost")}});let L=e[5]&&Bu(e);return{c(){n=D("div"),o=D("div"),s.c(),i=J(),E&&E.c(),a=J(),c=D("div"),l=D("div"),Ve(u.$$.fragment),p=J(),d=D("div"),d.textContent=`${t.__("Mobile score","jetpack-boost")}`,m=J(),Ve(h.$$.fragment),g=J(),f=D("div"),_=D("div"),Ve(b.$$.fragment),y=J(),v=D("div"),v.textContent=`${t.__("Desktop score","jetpack-boost")}`,$=J(),Ve(w.$$.fragment),x=J(),L&&L.c(),k=W(),K(l,"class","jb-score-bar__label"),K(c,"class","jb-score-bar jb-score-bar--mobile"),K(_,"class","jb-score-bar__label"),K(f,"class","jb-score-bar jb-score-bar--desktop"),K(o,"class","jb-site-score"),ee(o,"loading",e[1]),K(n,"class","jb-container")},m(e,t){R(e,n,t),M(n,o),C[r].m(o,null),M(o,i),E&&E.m(o,null),M(o,a),M(o,c),M(c,l),De(u,l,null),M(l,p),M(l,d),M(c,m),De(h,c,null),M(o,g),M(o,f),M(f,_),De(b,_,null),M(_,y),M(_,v),M(f,$),De(w,f,null),R(e,x,t),L&&L.m(e,t),R(e,k,t),j=!0},p(e,[t]){s.p(e,t),e[2]?E?(E.p(e,t),4&t&&Me(E,1)):(E=zu(e),E.c(),Me(E,1),E.m(o,a)):E&&(ze(),Ne(E,1,1,(()=>{E=null})),Be());const n={};1&t&&(n.prevScore=e[0].noBoost?.mobile),1&t&&(n.score=e[0].current.mobile),2&t&&(n.isLoading=e[1]),8&t&&(n.showPrevScores=e[3]),h.$set(n);const r={};1&t&&(r.prevScore=e[0].noBoost?.desktop),1&t&&(r.score=e[0].current.desktop),2&t&&(r.isLoading=e[1]),8&t&&(r.showPrevScores=e[3]),w.$set(r),2&t&&ee(o,"loading",e[1]),e[5]?L?(L.p(e,t),32&t&&Me(L,1)):(L=Bu(e),L.c(),Me(L,1),L.m(k.parentNode,k)):L&&(ze(),Ne(L,1,1,(()=>{L=null})),Be())},i(e){j||(Me(s),Me(E),Me(u.$$.fragment,e),Me(h.$$.fragment,e),Me(b.$$.fragment,e),Me(w.$$.fragment,e),Me(L),j=!0)},o(e){Ne(s),Ne(E),Ne(u.$$.fragment,e),Ne(h.$$.fragment,e),Ne(b.$$.fragment,e),Ne(w.$$.fragment,e),Ne(L),j=!1},d(e){e&&I(n),C[r].d(),E&&E.d(),Fe(u),Fe(h),Fe(b),Fe(w),e&&I(x),L&&L.d(e),e&&I(k)}}}function Nu(e,t,n){let o,r,s,i,a;const c=Jetpack_Boost.site.online;let l,u,p="";const d=Dn(c);b(e,d,(e=>n(1,i=e)));const m=Dn({current:{mobile:0,desktop:0},noBoost:null,isStale:!1});b(e,m,(e=>n(0,s=e))),_(!1);const h=Fn(Lr,(e=>!Object.values(e).some((e=>!1===e.synced)))),g=Fn([Lr,Kr],(([e,t])=>JSON.stringify({modules:e,criticalCss:{created:t.created}})));b(e,g,(e=>n(18,a=e)));let f=a;async function _(e=!1){if(c){d.set(!0),n(2,l=void 0);try{m.set(await Il(e)),n(4,p=function(e,t){const n=(e+t)/2;return n>90?"A":n>75?"B":n>50?"C":n>35?"D":n>25?"E":"F"}(s.current.mobile,s.current.desktop)),n(3,u=function(e){const t=e.current,n=e.noBoost;return null!=t&&null!=n&&(t.mobile!==n.mobile||t.desktop!==n.desktop)}(s)&&!s.isStale),f=a}catch(e){console.log(e),n(2,l=e)}finally{d.set(!1)}}}const y=Fn([Jr,h,g,m],(([e,t,n,o])=>!e&&t&&(n!==f||o.isStale)));b(e,y,(e=>n(13,r=e)));const v=function(e,t){let n;return function(...o){clearTimeout(n),n=setTimeout((()=>e.apply(this,o)),t)}}((e=>{r&&_(e)}),2e3);function $(){n(5,o=!1)}return e.$$.update=()=>{3&e.$$.dirty&&n(5,o=!i&&!s.isStale&&Dl(s)),8192&e.$$.dirty&&r&&v(!0)},[s,i,l,u,p,o,c,d,m,g,_,y,$,r,()=>_(!0),()=>_(!0),()=>$()]}class Tu extends Je{constructor(e){super(),He(this,e,Nu,Mu,h,{})}}function Ou(e){let n,o,r,s,i,c,l,u,p,d,m,h;return{c(){n=D("div"),o=D("div"),r=D("div"),s=D("div"),i=D("h3"),i.textContent=`${t.__("We're here to help","jetpack-boost")}`,c=J(),l=D("p"),l.textContent=`${t.__("Your paid plan gives you access to prioritized Jetpack Boost support","jetpack-boost")}`,u=J(),p=D("div"),d=D("button"),d.textContent=`${t.__("Contact Us","jetpack-boost")}`,K(i,"class","jb-support__title"),K(l,"class","jb-support__description"),K(s,"class","jb-support__content"),K(d,"class","components-button jb-button jb-button--outline"),K(d,"type","button"),K(p,"class","jb-support__cta"),K(r,"class","jb-support"),K(o,"class","jb-container--narrow"),K(n,"class","jb-section")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(r,s),M(s,i),M(s,c),M(s,l),M(r,u),M(r,p),M(p,d),m||(h=U(d,"click",Ol),m=!0)},p:a,d(e){e&&I(n),m=!1,h()}}}function Ru(e){let t,n=e[0]&&Ou();return{c(){n&&n.c(),t=W()},m(e,o){n&&n.m(e,o),R(e,t,o)},p(e,[o]){e[0]?n?n.p(e,o):(n=Ou(),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:a,o:a,d(e){n&&n.d(e),e&&I(t)}}}function Au(e,t,n){let o;return b(e,Tl,(e=>n(0,o=e))),[o]}class Iu extends Je{constructor(e){super(),He(this,e,Au,Ru,h,{})}}function Vu(e){let n,o,r,s,i,c,l,u,p,d,m,h,g,f,_,b,y,v;return m=new tr({props:{template:t.__("Pages that take over 3 seconds to load have 4x the bounce rate of pages that load in 2 seconds or less. (source: <link>Pingdom</link>).","jetpack-boost"),vars:Ko(e[0])}}),y=new tr({props:{template:t.__("A one-second delay in loading times can reduce conversion rates by 20%. (source: <link>Google</link>).","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("div"),o=D("div"),r=D("div"),s=D("h3"),s.textContent=`${t.__("Did you know?","jetpack-boost")}`,i=J(),c=D("div"),l=D("div"),u=D("div"),u.textContent="4x",p=J(),d=D("div"),Ve(m.$$.fragment),h=J(),g=D("div"),f=D("div"),f.textContent="20%",_=J(),b=D("div"),Ve(y.$$.fragment),K(s,"class","jb-tips__title"),K(u,"class","item__rate"),K(d,"class","item__description"),K(l,"class","item"),K(f,"class","item__rate"),K(b,"class","item__description"),K(g,"class","item"),K(c,"class","jb-tips__items"),K(r,"class","jb-tips"),K(o,"class","jb-container--narrow"),K(n,"class","jb-section jb-section--alt")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(r,s),M(r,i),M(r,c),M(c,l),M(l,u),M(l,p),M(l,d),De(m,d,null),M(c,h),M(c,g),M(g,f),M(g,_),M(g,b),De(y,b,null),v=!0},p:a,i(e){v||(Me(m.$$.fragment,e),Me(y.$$.fragment,e),v=!0)},o(e){Ne(m.$$.fragment,e),Ne(y.$$.fragment,e),v=!1},d(e){e&&I(n),Fe(m),Fe(y)}}}function Du(e){return[ot("jetpack-boost-pingdom"),ot("jetpack-boost-why-speed")]}class Fu extends Je{constructor(e){super(),He(this,e,Du,Vu,h,{})}}function Hu(e){let t,n,o,r,s;return n=new Fi({props:{path:"critical-css-advanced",component:mc}}),r=new Fi({props:{path:"/",component:Nl}}),{c(){t=D("div"),Ve(n.$$.fragment),o=J(),Ve(r.$$.fragment),K(t,"class","jb-section jb-section--main")},m(e,i){R(e,t,i),De(n,t,null),M(t,o),De(r,t,null),s=!0},p:a,i(e){s||(Me(n.$$.fragment,e),Me(r.$$.fragment,e),s=!0)},o(e){Ne(n.$$.fragment,e),Ne(r.$$.fragment,e),s=!1},d(e){e&&I(t),Fe(n),Fe(r)}}}function Ju(e){let t,n,o,r,s,i,a,c,l,u,p,d,m,h,g;return o=new $r({}),i=new Tu({}),c=new Bi({props:{$$slots:{default:[Hu]},$$scope:{ctx:e}}}),u=new Fu({}),d=new Iu({}),h=new fr({}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),s=D("div"),Ve(i.$$.fragment),a=J(),Ve(c.$$.fragment),l=J(),Ve(u.$$.fragment),p=J(),Ve(d.$$.fragment),m=J(),Ve(h.$$.fragment),K(n,"class","jb-container"),K(s,"class","jb-section jb-section--alt jb-section--scores"),K(t,"id","jb-settings"),K(t,"class","jb-settings jb-settings--main")},m(e,f){R(e,t,f),M(t,n),De(o,n,null),M(t,r),M(t,s),De(i,s,null),M(t,a),De(c,t,null),M(t,l),De(u,t,null),M(t,p),De(d,t,null),M(t,m),De(h,t,null),g=!0},p(e,[t]){const n={};32&t&&(n.$$scope={dirty:t,ctx:e}),c.$set(n)},i(e){g||(Me(o.$$.fragment,e),Me(i.$$.fragment,e),Me(c.$$.fragment,e),Me(u.$$.fragment,e),Me(d.$$.fragment,e),Me(h.$$.fragment,e),g=!0)},o(e){Ne(o.$$.fragment,e),Ne(i.$$.fragment,e),Ne(c.$$.fragment,e),Ne(u.$$.fragment,e),Ne(d.$$.fragment,e),Ne(h.$$.fragment,e),g=!1},d(e){e&&I(t),Fe(o),Fe(i),Fe(c),Fe(u),Fe(d),Fe(h)}}}function Wu(e,t,n){let o,r;b(e,Bo,(e=>n(4,r=e)));let{location:s,navigate:i}=t;const a=zr("cloud-css");return b(e,a,(e=>n(3,o=e))),e.$$set=e=>{"location"in e&&n(1,s=e.location),"navigate"in e&&n(2,i=e.navigate)},e.$$.update=()=>{28&e.$$.dirty&&r.site.getStarted&&!o&&i("/getting-started")},[a,s,i,o,r]}class Uu extends Je{constructor(e){super(),He(this,e,Wu,Ju,h,{location:1,navigate:2})}}function Gu(e){let t,n;return t=new _s({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Ku(e){let t,n;return t=new Bi({props:{history:ho,$$slots:{default:[qu]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};4&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function qu(e){let t,n,o,r,s,i,c,l;return t=new Fi({props:{path:"upgrade",component:Fo}}),o=new Fi({props:{path:"purchase-successful",component:Ps}}),s=new Fi({props:{path:"getting-started",component:Cs}}),c=new Fi({props:{component:Uu}}),{c(){Ve(t.$$.fragment),n=J(),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),Ve(c.$$.fragment)},m(e,a){De(t,e,a),R(e,n,a),De(o,e,a),R(e,r,a),De(s,e,a),R(e,i,a),De(c,e,a),l=!0},p:a,i(e){l||(Me(t.$$.fragment,e),Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(c.$$.fragment,e),l=!0)},o(e){Ne(t.$$.fragment,e),Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(c.$$.fragment,e),l=!1},d(e){Fe(t,e),e&&I(n),Fe(o,e),e&&I(r),Fe(s,e),e&&I(i),Fe(c,e)}}}function Yu(e){let t,n,o,r;const s=[Ku,Gu],i=[];function a(e,t){return e[0].connected||!e[1].site.online?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Xu(e,t,n){let o,r;return b(e,is,(e=>n(0,o=e))),b(e,Bo,(e=>n(1,r=e))),[o,r]}const Zu=document.getElementById("jb-admin-settings");return new class extends Je{constructor(e){super(),He(this,e,Xu,Yu,h,{})}}({target:Zu})}(window.React,wp.i18n,window.ReactDOM,wp.components);
1
+ var app=function(e,t,n,o){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(e),i=r(n);function a(){}const c=e=>e;function l(e,t){for(const n in t)e[n]=t[n];return e}function u(e){return e()}function p(){return Object.create(null)}function d(e){e.forEach(u)}function m(e){return"function"==typeof e}function h(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let g;function f(e,...t){if(null==e)return a;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function _(e){let t;return f(e,(e=>t=e))(),t}function y(e,t,n){e.$$.on_destroy.push(f(t,n))}function b(e,t,n,o){if(e){const r=v(e,t,n,o);return e[0](r)}}function v(e,t,n,o){return e[1]&&o?l(n.ctx.slice(),e[1](o(t))):n.ctx}function $(e,t,n,o){if(e[2]&&o){const r=e[2](o(n));if(void 0===t.dirty)return r;if("object"==typeof r){const e=[],n=Math.max(t.dirty.length,r.length);for(let o=0;o<n;o+=1)e[o]=t.dirty[o]|r[o];return e}return t.dirty|r}return t.dirty}function w(e,t,n,o,r,s){if(r){const i=v(t,n,o,s);e.p(i,r)}}function x(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function k(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function j(e,t){const n={};t=new Set(t);for(const o in e)t.has(o)||"$"===o[0]||(n[o]=e[o]);return n}const S="undefined"!=typeof window;let C=S?()=>window.performance.now():()=>Date.now(),E=S?e=>requestAnimationFrame(e):a;const L=new Set;function P(e){L.forEach((t=>{t.c(e)||(L.delete(t),t.f())})),0!==L.size&&E(P)}let z=!1;function B(e,t,n,o){for(;e<t;){const r=e+(t-e>>1);n(r)<=o?e=r+1:t=r}return e}function M(e,t){e.appendChild(t)}function N(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function T(e){const t=D("style");return function(e,t){M(e.head||e,t)}(N(e),t),t.sheet}function O(e,t){if(z){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n<t.length;n++){const o=t[n];void 0!==o.claim_order&&e.push(o)}t=e}const n=new Int32Array(t.length+1),o=new Int32Array(t.length);n[0]=-1;let r=0;for(let e=0;e<t.length;e++){const s=t[e].claim_order,i=(r>0&&t[n[r]].claim_order<=s?r+1:B(1,r,(e=>t[n[e]].claim_order),s))-1;o[e]=n[i]+1;const a=i+1;n[a]=e,r=Math.max(a,r)}const s=[],i=[];let a=t.length-1;for(let e=n[r]+1;0!=e;e=o[e-1]){for(s.push(t[e-1]);a>=e;a--)i.push(t[a]);a--}for(;a>=0;a--)i.push(t[a]);s.reverse(),i.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t<i.length;t++){for(;n<s.length&&i[t].claim_order>=s[n].claim_order;)n++;const o=n<s.length?s[n]:null;e.insertBefore(i[t],o)}}(e),(void 0===e.actual_end_child||null!==e.actual_end_child&&e.actual_end_child.parentElement!==e)&&(e.actual_end_child=e.firstChild);null!==e.actual_end_child&&void 0===e.actual_end_child.claim_order;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?void 0===t.claim_order&&t.parentNode===e||e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else t.parentNode===e&&null===t.nextSibling||e.appendChild(t)}function R(e,t,n){e.insertBefore(t,n||null)}function A(e,t,n){z&&!n?O(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function I(e){e.parentNode.removeChild(e)}function V(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function D(e){return document.createElement(e)}function F(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function H(e){return document.createTextNode(e)}function J(){return H(" ")}function W(){return H("")}function U(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function G(e){return function(t){return t.preventDefault(),e.call(this,t)}}function K(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function q(e,t){for(const n in t)K(e,n,t[n])}function Y(e){return Array.from(e.childNodes)}function X(e,t,n){return function(e,t,n,o){return function(e,t,n,o,r=!1){!function(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}(e);const s=(()=>{for(let o=e.claim_info.last_index;o<e.length;o++){const s=e[o];if(t(s)){const t=n(s);return void 0===t?e.splice(o,1):e[o]=t,r||(e.claim_info.last_index=o),s}}for(let o=e.claim_info.last_index-1;o>=0;o--){const s=e[o];if(t(s)){const t=n(s);return void 0===t?e.splice(o,1):e[o]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=o,s}}return o()})();return s.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,s}(e,(e=>e.nodeName===t),(e=>{const t=[];for(let o=0;o<e.attributes.length;o++){const r=e.attributes[o];n[r.name]||t.push(r.name)}t.forEach((t=>e.removeAttribute(t)))}),(()=>o(t)))}(e,t,n,F)}function Z(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function Q(e,t,n,o){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function ee(e,t,n){e.classList[n?"add":"remove"](t)}function te(e,t,{bubbles:n=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n,o,t),r}const ne=new Map;let oe,re=0;function se(e,t,n,o,r,s,i,a=0){const c=16.666/o;let l="{\n";for(let e=0;e<=1;e+=c){const o=t+(n-t)*s(e);l+=100*e+`%{${i(o,1-o)}}\n`}const u=l+`100% {${i(n,1-n)}}\n}`,p=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${a}`,d=N(e),{stylesheet:m,rules:h}=ne.get(d)||function(e,t){const n={stylesheet:T(t),rules:{}};return ne.set(e,n),n}(d,e);h[p]||(h[p]=!0,m.insertRule(`@keyframes ${p} ${u}`,m.cssRules.length));const g=e.style.animation||"";return e.style.animation=`${g?`${g}, `:""}${p} ${o}ms linear ${r}ms 1 both`,re+=1,p}function ie(e,t){const n=(e.style.animation||"").split(", "),o=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-o.length;r&&(e.style.animation=o.join(", "),re-=r,re||E((()=>{re||(ne.forEach((e=>{const{stylesheet:t}=e;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}})),ne.clear())})))}function ae(e){oe=e}function ce(){if(!oe)throw new Error("Function called outside component initialization");return oe}function le(e){ce().$$.on_mount.push(e)}function ue(e){ce().$$.on_destroy.push(e)}function pe(){const e=ce();return(t,n,{cancelable:o=!1}={})=>{const r=e.$$.callbacks[t];if(r){const s=te(t,n,{cancelable:o});return r.slice().forEach((t=>{t.call(e,s)})),!s.defaultPrevented}return!0}}function de(e,t){return ce().$$.context.set(e,t),t}function me(e){return ce().$$.context.get(e)}function he(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const ge=[],fe=[],_e=[],ye=[],be=Promise.resolve();let ve=!1;function $e(){ve||(ve=!0,be.then(Se))}function we(e){_e.push(e)}const xe=new Set;let ke,je=0;function Se(){const e=oe;do{for(;je<ge.length;){const e=ge[je];je++,ae(e),Ce(e.$$)}for(ae(null),ge.length=0,je=0;fe.length;)fe.pop()();for(let e=0;e<_e.length;e+=1){const t=_e[e];xe.has(t)||(xe.add(t),t())}_e.length=0}while(ge.length);for(;ye.length;)ye.pop()();ve=!1,xe.clear(),ae(e)}function Ce(e){if(null!==e.fragment){e.update(),d(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(we)}}function Ee(e,t,n){e.dispatchEvent(te(`${t?"intro":"outro"}${n}`))}const Le=new Set;let Pe;function ze(){Pe={r:0,c:[],p:Pe}}function Be(){Pe.r||d(Pe.c),Pe=Pe.p}function Me(e,t){e&&e.i&&(Le.delete(e),e.i(t))}function Ne(e,t,n,o){if(e&&e.o){if(Le.has(e))return;Le.add(e),Pe.c.push((()=>{Le.delete(e),o&&(n&&e.d(1),o())})),e.o(t)}else o&&o()}const Te={duration:0};function Oe(e,t,n,o){let r=t(e,n),s=o?0:1,i=null,l=null,u=null;function p(){u&&ie(e,u)}function h(e,t){const n=e.b-s;return t*=Math.abs(n),{a:s,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function g(t){const{delay:n=0,duration:o=300,easing:m=c,tick:g=a,css:f}=r||Te,_={start:C()+n,b:t};t||(_.group=Pe,Pe.r+=1),i||l?l=_:(f&&(p(),u=se(e,s,t,o,n,m,f)),t&&g(0,1),i=h(_,o),we((()=>Ee(e,t,"start"))),function(e){let t;0===L.size&&E(P),new Promise((n=>{L.add(t={c:e,f:n})}))}((t=>{if(l&&t>l.start&&(i=h(l,o),l=null,Ee(e,i.b,"start"),f&&(p(),u=se(e,s,i.b,i.duration,0,m,r.css))),i)if(t>=i.end)g(s=i.b,1-s),Ee(e,i.b,"end"),l||(i.b?p():--i.group.r||d(i.group.c)),i=null;else if(t>=i.start){const e=t-i.start;s=i.a+i.d*m(e/i.duration),g(s,1-s)}return!(!i&&!l)})))}return{run(e){m(r)?(ke||(ke=Promise.resolve(),ke.then((()=>{ke=null}))),ke).then((()=>{r=r(),g(e)})):g(e)},end(){p(),i=l=null}}}function Re(e,t){Ne(e,1,1,(()=>{t.delete(e.key)}))}function Ae(e,t){const n={},o={},r={$$scope:1};let s=e.length;for(;s--;){const i=e[s],a=t[s];if(a){for(const e in i)e in a||(o[e]=1);for(const e in a)r[e]||(n[e]=a[e],r[e]=1);e[s]=a}else for(const e in i)r[e]=1}for(const e in o)e in n||(n[e]=void 0);return n}function Ie(e){return"object"==typeof e&&null!==e?e:{}}function Ve(e){e&&e.c()}function De(e,t,n,o){const{fragment:r,on_mount:s,on_destroy:i,after_update:a}=e.$$;r&&r.m(t,n),o||we((()=>{const t=s.map(u).filter(m);i?i.push(...t):d(t),e.$$.on_mount=[]})),a.forEach(we)}function Fe(e,t){const n=e.$$;null!==n.fragment&&(d(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function He(e,t,n,o,r,s,i,c=[-1]){const l=oe;ae(e);const u=e.$$={fragment:null,ctx:null,props:s,update:a,not_equal:r,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:p(),dirty:c,skip_bound:!1,root:t.target||l.$$.root};i&&i(u.root);let m=!1;if(u.ctx=n?n(e,t.props||{},((t,n,...o)=>{const s=o.length?o[0]:n;return u.ctx&&r(u.ctx[t],u.ctx[t]=s)&&(!u.skip_bound&&u.bound[t]&&u.bound[t](s),m&&function(e,t){-1===e.$$.dirty[0]&&(ge.push(e),$e(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],u.update(),m=!0,d(u.before_update),u.fragment=!!o&&o(u.ctx),t.target){if(t.hydrate){z=!0;const e=Y(t.target);u.fragment&&u.fragment.l(e),e.forEach(I)}else u.fragment&&u.fragment.c();t.intro&&Me(e.$$.fragment),De(e,t.target,t.anchor,t.customElement),z=!1,Se()}ae(l)}class Je{$destroy(){Fe(this,1),this.$destroy=a}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var We={exports:{}},Ue={};Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var o=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==o.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;var Ge=s.default,Ke=60103;if(Ue.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var qe=Symbol.for;Ke=qe("react.element"),Ue.Fragment=qe("react.fragment")}var Ye=Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xe=Object.prototype.hasOwnProperty,Ze={key:!0,ref:!0,__self:!0,__source:!0};function Qe(e,t,n){var o,r={},s=null,i=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(i=t.ref),t)Xe.call(t,o)&&!Ze.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:Ke,type:e,key:s,ref:i,props:r,_owner:Ye.current}}Ue.jsx=Qe,Ue.jsxs=Qe,We.exports=Ue;var et,tt={exports:{}};et=tt,function(){var e={}.hasOwnProperty;function t(){for(var n=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var s=typeof r;if("string"===s||"number"===s)n.push(r);else if(Array.isArray(r)){if(r.length){var i=t.apply(null,r);i&&n.push(i)}}else if("object"===s)if(r.toString===Object.prototype.toString)for(var a in r)e.call(r,a)&&r[a]&&n.push(a);else n.push(r.toString())}}return n.join(" ")}et.exports?(t.default=t,et.exports=t):window.classNames=t}();var nt=tt.exports;function ot(e,t={}){const n={};let o;if("undefined"!=typeof window&&(o=window.Initial_State?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),o&&(n.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}class rt extends e.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return t.__("Has audio.","jetpack");case"gridicons-calendar":return t.__("Is an event.","jetpack");case"gridicons-cart":return t.__("Is a product.","jetpack");case"chevron-down":return t.__("Show filters","jetpack");case"gridicons-comment":return t.__("Matching comment.","jetpack");case"gridicons-cross":return t.__("Close.","jetpack");case"gridicons-filter":return t.__("Toggle search filters.","jetpack");case"gridicons-folder":return t.__("Category","jetpack");case"gridicons-info":case"gridicons-info-outline":return t.__("Information.","jetpack");case"gridicons-image-multiple":return t.__("Has multiple images.","jetpack");case"gridicons-image":return t.__("Has an image.","jetpack");case"gridicons-page":return t.__("Page","jetpack");case"gridicons-post":return t.__("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return t.__("Magnifying Glass","jetpack");case"gridicons-tag":return t.__("Tag","jetpack");case"gridicons-video":return t.__("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"})});case"gridicons-block":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"})});case"gridicons-calendar":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"})});case"gridicons-cart":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"})});case"gridicons-checkmark":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})});case"gridicons-chevron-down":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})});case"gridicons-comment":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"})});case"gridicons-cross":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"})});case"gridicons-filter":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"})});case"gridicons-folder":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"})});case"gridicons-image":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"})});case"gridicons-image-multiple":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"})});case"gridicons-info":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})});case"gridicons-info-outline":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})});case"gridicons-jetpack-search":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"})});case"gridicons-pages":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})});case"gridicons-posts":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})});case"gridicons-search":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})});case"gridicons-star-outline":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})});case"gridicons-star":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})});case"gridicons-tag":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"})});case"gridicons-video":return We.exports.jsx("g",{children:We.exports.jsx("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"})})}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,o=this.props.width||e,r=this.props.style||{height:n,width:o},s="gridicons-"+this.props.icon,i=nt("gridicon",s,t,{"needs-offset":this.needsOffset(s,e)}),a=this.getSVGDescription(s);return We.exports.jsxs("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"],children:[a?We.exports.jsx("desc",{children:a}):null,this.renderIcon(s)]})}}let st,it,at,ct;const lt=/<(\/)?(\w+)\s*(\/)?>/g;function ut(e,t,n,o,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:o,leadingTextStart:r,children:[]}}const pt=t=>{const n="object"==typeof t,o=n&&Object.values(t);return n&&o.length&&o.every((t=>e.isValidElement(t)))};function dt(t){const n=function(){const e=lt.exec(st);if(null===e)return["no-more-tokens"];const t=e.index,[n,o,r,s]=e,i=n.length;if(s)return["self-closed",r,t,i];if(o)return["closer",r,t,i];return["opener",r,t,i]}(),[o,r,s,i]=n,a=ct.length,c=s>it?it:null;if(!t[r])return mt(),!1;switch(o){case"no-more-tokens":if(0!==a){const{leadingTextStart:e,tokenStart:t}=ct.pop();at.push(st.substr(e,t))}return mt(),!1;case"self-closed":return 0===a?(null!==c&&at.push(st.substr(c,s-c)),at.push(t[r]),it=s+i,!0):(ht(ut(t[r],s,i)),it=s+i,!0);case"opener":return ct.push(ut(t[r],s,i,s+i,c)),it=s+i,!0;case"closer":if(1===a)return function(t){const{element:n,leadingTextStart:o,prevOffset:r,tokenStart:s,children:i}=ct.pop(),a=t?st.substr(r,t-r):st.substr(r);a&&i.push(a);null!==o&&at.push(st.substr(o,s-o));at.push(e.cloneElement(n,null,...i))}(s),it=s+i,!0;const n=ct.pop(),o=st.substr(n.prevOffset,s-n.prevOffset);n.children.push(o),n.prevOffset=s+i;const l=ut(n.element,n.tokenStart,n.tokenLength,s+i);return l.children=n.children,ht(l),it=s+i,!0;default:return mt(),!1}}function mt(){const e=st.length-it;0!==e&&at.push(st.substr(it,e))}function ht(t){const{element:n,tokenStart:o,tokenLength:r,prevOffset:s,children:i}=t,a=ct[ct.length-1],c=st.substr(a.prevOffset,o-a.prevOffset);c&&a.children.push(c),a.children.push(e.cloneElement(n,null,...i)),a.prevOffset=s||o+r}var gt=(t,n)=>{if(st=t,it=0,at=[],ct=[],lt.lastIndex=0,!pt(n))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(dt(n));return e.createElement(e.Fragment,null,...at)};function ft(t){let{icon:n,size:o=24,...r}=t;return e.cloneElement(n,{width:o,height:o,...r})}const _t=t=>e.createElement("path",t),yt=t=>{let{className:n,isPressed:o,...r}=t;const s={...r,className:nt(n,{"is-pressed":o})||void 0,"aria-hidden":!0,focusable:!1};return e.createElement("svg",s)};var bt=e.createElement(yt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var vt=e.createElement(yt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var $t=e.createElement(yt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement(_t,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),wt="style-module_button__nOA01",xt="style-module_is-icon-button__yVmll",kt="style-module_small__oVaX2",jt="style-module_normal__9YxyG",St="style-module_icon__o--e-",Ct="style-module_regular__9WhCI",Et="style-module_full-width__Jozo6",Lt="style-module_loading__NSb5j",Pt="style-module_external-icon__9iRaF";const zt=e.forwardRef(((e,t)=>{const{children:n,variant:r="primary",size:s="normal",weight:i="bold",icon:a,iconSize:c,disabled:l,isDestructive:u,isLoading:p,isExternalLink:d,className:m,text:h,fullWidth:g,...f}=e,_=nt(wt,m,{[jt]:"normal"===s,[kt]:"small"===s,[St]:Boolean(a),[Lt]:p,[Ct]:"regular"===i,[Et]:g,[xt]:Boolean(a)&&!n});f.ref=t;const y="normal"===s?20:16,b=d&&We.exports.jsx(ft,{size:y,icon:$t,className:Pt}),v=d?"_blank":void 0,$=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return We.exports.jsxs(o.Button,{target:v,variant:r,className:nt(_,{"has-text":!!a&&$}),icon:d?void 0:a,iconSize:c,disabled:l,isDestructive:u,text:h,...f,children:[p&&We.exports.jsx(o.Spinner,{}),We.exports.jsx("span",{children:n}),b]})}));var Bt=zt;const Mt=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),Nt=({className:t="",iconClassName:n="",placement:r="bottom-end",animate:s=!0,iconCode:i="info-outline",iconSize:a=18,offset:c=10,title:l,children:u,popoverAnchorStyle:p="icon",forceShow:d=!1})=>{const[m,h]=e.useState(!1),g=e.useCallback((()=>h(!0)),[h]),f=e.useCallback((()=>h(!1)),[h]),_={position:Mt(r),placement:r,animate:s,noArrow:!1,resize:!1,flip:!1,offset:c,focusOnMount:"container",onClose:f,className:"icon-tooltip-container"},y="wrapper"===p,b=nt("icon-tooltip-wrapper",t),v={left:y?0:-(62-a/2)+"px"},$=y&&d;return We.exports.jsxs("div",{className:b,"data-testid":"icon-tooltip_wrapper",children:[!y&&We.exports.jsx(Bt,{variant:"link",onClick:g,children:We.exports.jsx(rt,{className:n,icon:i,size:a})}),We.exports.jsx("div",{className:"icon-tooltip-helper",style:v,children:($||m)&&We.exports.jsx(o.Popover,{..._,children:We.exports.jsxs("div",{children:[l&&We.exports.jsx("div",{className:"icon-tooltip-title",children:l}),We.exports.jsx("div",{className:"icon-tooltip-content",children:u})]})})})]})},Tt={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function Ot(e,t=0,n=".",o=","){const r=(e+"").replace(/[^0-9+\-Ee.]/g,""),s=isFinite(+r)?+r:0,i=isFinite(+t)?Math.abs(t):0,a=(i?
2
  /*
3
  * Exposes number format capability
4
  *
6
  * @license See CREDITS.md
7
  * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
8
  */
9
+ function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(s,i):""+Math.round(s)).split(".");return a[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(a[1]||"").length<i&&(a[1]=a[1]||"",a[1]+=new Array(i-a[1].length+1).join("0")),a.join(n)}function Rt(e,t,n={}){const o=function(e){return Tt[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}(t);if(!o||isNaN(e))return null;const{decimal:r,grouping:s,precision:i,symbol:a}={...o,...n},c=e<0?"-":"",l=Math.abs(e),u=Math.floor(l);return{sign:c,symbol:a,integer:Ot(l,i,r,s).split(r)[0],fraction:i>0?Ot(l-u,i,r,s).slice(1):""}}const At=e=>-1===e.fraction.indexOf("00");var It=({currencyCode:e="USD",priceDetails:n=t.__("/month, paid yearly","jetpack"),...r})=>{const s=Rt(r.priceBefore,e),i=Rt(r.priceAfter,e);return We.exports.jsxs("div",{className:"jp-components__pricing-card",children:[r.icon&&We.exports.jsx("div",{className:"jp-components__pricing-card__icon",children:We.exports.jsx("img",{src:r.icon,alt:t.sprintf(t.__("Icon for the product %s","jetpack"),r.title)})}),We.exports.jsx("h1",{className:"jp-components__pricing-card__title",children:r.title}),We.exports.jsxs("div",{className:"jp-components__pricing-card__pricing",children:[r.priceBefore!==r.priceAfter&&We.exports.jsxs("div",{className:"jp-components__pricing-card__price-before",children:[We.exports.jsx("span",{className:"jp-components__pricing-card__currency",children:s.symbol}),We.exports.jsx("span",{className:"jp-components__pricing-card__price",children:s.integer}),At(s)&&We.exports.jsxs("span",{className:"jp-components__pricing-card__price-decimal",children:[" ",s.fraction]}),We.exports.jsx("div",{className:"jp-components__pricing-card__price-strikethrough"})]}),We.exports.jsxs("div",{className:"jp-components__pricing-card__price-after",children:[We.exports.jsx("span",{className:"jp-components__pricing-card__currency",children:i.symbol}),We.exports.jsx("span",{className:"jp-components__pricing-card__price",children:i.integer}),At(i)&&We.exports.jsx("span",{className:"jp-components__pricing-card__price-decimal",children:i.fraction})]}),We.exports.jsx("span",{className:"jp-components__pricing-card__price-details",children:n})]}),r.children&&We.exports.jsx("div",{className:"jp-components__pricing-card__extra-content-wrapper",children:r.children}),r.ctaText&&We.exports.jsx("div",{className:"jp-components__pricing-card__cta",children:We.exports.jsx(o.Button,{className:"jp-components__pricing-card__button",label:r.ctaText,onClick:r.onCtaClick,children:r.ctaText})}),r.infoText&&We.exports.jsx("div",{className:"jp-components__pricing-card__info",children:r.infoText})]})};function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Vt.apply(this,arguments)}function Dt(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function Ft(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function Ht(e,t){return function(n,o,r){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const i=e[t];if(!Ft(n))return;if(!Dt(o))return;if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const a={callback:r,priority:s,namespace:o};if(i[n]){const e=i[n].handlers;let t;for(t=e.length;t>0&&!(s>=e[t-1].priority);t--);t===e.length?e[t]=a:e.splice(t,0,a),i.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else i[n]={handlers:[a],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,o,r,s)}}function Jt(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(o,r){const s=e[t];if(!Ft(o))return;if(!n&&!Dt(r))return;if(!s[o])return 0;let i=0;if(n)i=s[o].handlers.length,s[o]={runs:s[o].runs,handlers:[]};else{const e=s[o].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===r&&(e.splice(t,1),i++,s.__current.forEach((e=>{e.name===o&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==o&&e.doAction("hookRemoved",o,r),i}}function Wt(e,t){return function(n,o){const r=e[t];return void 0!==o?n in r&&r[n].handlers.some((e=>e.namespace===o)):n in r}}function Ut(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(o){const r=e[t];r[o]||(r[o]={handlers:[],runs:0}),r[o].runs++;const s=r[o].handlers;for(var i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];if(!s||!s.length)return n?a[0]:void 0;const l={name:o,currentIndex:0};for(r.__current.push(l);l.currentIndex<s.length;){const e=s[l.currentIndex].callback.apply(null,a);n&&(a[0]=e),l.currentIndex++}return r.__current.pop(),n?a[0]:void 0}}function Gt(e,t){return function(){var n,o;const r=e[t];return null!==(n=null===(o=r.__current[r.__current.length-1])||void 0===o?void 0:o.name)&&void 0!==n?n:null}}function Kt(e,t){return function(n){const o=e[t];return void 0===n?void 0!==o.__current[0]:!!o.__current[0]&&n===o.__current[0].name}}function qt(e,t){return function(n){const o=e[t];if(Ft(n))return o[n]&&o[n].runs?o[n].runs:0}}class Yt{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Ht(this,"actions"),this.addFilter=Ht(this,"filters"),this.removeAction=Jt(this,"actions"),this.removeFilter=Jt(this,"filters"),this.hasAction=Wt(this,"actions"),this.hasFilter=Wt(this,"filters"),this.removeAllActions=Jt(this,"actions",!0),this.removeAllFilters=Jt(this,"filters",!0),this.doAction=Ut(this,"actions"),this.applyFilters=Ut(this,"filters",!0),this.currentAction=Gt(this,"actions"),this.currentFilter=Gt(this,"filters"),this.doingAction=Kt(this,"actions"),this.doingFilter=Kt(this,"filters"),this.didAction=qt(this,"actions"),this.didFilter=qt(this,"filters")}}const Xt=new Yt;function Zt(t){const[n,o]=e.useState((()=>!(!t||"undefined"==typeof window||!window.matchMedia(t).matches)));return e.useEffect((()=>{if(!t)return;const e=()=>o(window.matchMedia(t).matches);e();const n=window.matchMedia(t);return n.addListener(e),()=>{n.removeListener(e)}}),[t]),!!t&&n}var Qt={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"};const en=["sm","md","lg"],tn=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[r,s,i]=en,a={sm:Zt(Qt[r]),md:Zt(Qt[s]),lg:Zt(Qt[i])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const o=en.indexOf(e),r=o+1,s=t.includes("=");let i=[];return t.startsWith("<")&&(i=en.slice(0,s?r:o)),t.startsWith(">")&&(i=en.slice(s?o:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,a):a[e]}))},nn={"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"},on=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"];var rn={reset:"style-module_reset__JQIl5","headline-medium":"style-module_headline-medium__y8X4t","headline-small":"style-module_headline-small__GcbDS","headline-small-regular":"style-module_headline-small-regular__InOiB","title-medium":"style-module_title-medium__oltWr","title-medium-semi-bold":"style-module_title-medium-semi-bold__VznNK","title-small":"style-module_title-small__CmEYM",body:"style-module_body__JShE-","body-small":"style-module_body-small__yz3P5","body-extra-small":"style-module_body-extra-small__GWJz7","body-extra-small-bold":"style-module_body-extra-small-bold__6cnIc",label:"style-module_label__sX6aq","m-0":"style-module_m-0__p8HXB","mx-0":"style-module_mx-0__mQqs8","my-0":"style-module_my-0__rREwD","mt-0":"style-module_mt-0__JCDg8","mr-0":"style-module_mr-0__jvdEc","mb-0":"style-module_mb-0__oCU0U","ml-0":"style-module_ml-0__ZOeKB","m-1":"style-module_m-1__4eRn2","mx-1":"style-module_mx-1__ZI-Gx","my-1":"style-module_my-1__0ocjM","mt-1":"style-module_mt-1__cfSJ2","mr-1":"style-module_mr-1__-I5M9","mb-1":"style-module_mb-1__7h8Zk","ml-1":"style-module_ml-1__HMEIC","m-2":"style-module_m-2__0k3GP","mx-2":"style-module_mx-2__kjUes","my-2":"style-module_my-2__tgIE9","mt-2":"style-module_mt-2__9VmIV","mr-2":"style-module_mr-2__ir4Xm","mb-2":"style-module_mb-2__97Wbq","ml-2":"style-module_ml-2__1I9Ji","m-3":"style-module_m-3__mqRjK","mx-3":"style-module_mx-3__Z55Jr","my-3":"style-module_my-3__-PEMP","mt-3":"style-module_mt-3__M8cWp","mr-3":"style-module_mr-3__gANcC","mb-3":"style-module_mb-3__Ohnln","ml-3":"style-module_ml-3__29xh1","m-4":"style-module_m-4__Nkax1","mx-4":"style-module_mx-4__6y-RS","my-4":"style-module_my-4__MVPE5","mt-4":"style-module_mt-4__Z4ouN","mr-4":"style-module_mr-4__sN8QA","mb-4":"style-module_mb-4__0NCvC","ml-4":"style-module_ml-4__0m2f9","m-5":"style-module_m-5__VITl8","mx-5":"style-module_mx-5__Mt1vK","my-5":"style-module_my-5__NkXY8","mt-5":"style-module_mt-5__XMIcG","mr-5":"style-module_mr-5__4gm9K","mb-5":"style-module_mb-5__uHQI6","ml-5":"style-module_ml-5__2aYFV","m-6":"style-module_m-6__Vs-qv","mx-6":"style-module_mx-6__4WjQw","my-6":"style-module_my-6__j3fa6","mt-6":"style-module_mt-6__SjA23","mr-6":"style-module_mr-6__LatEO","mb-6":"style-module_mb-6__x3cLw","ml-6":"style-module_ml-6__cpcEv","m-7":"style-module_m-7__Effhv","mx-7":"style-module_mx-7__q-Sm4","my-7":"style-module_my-7__CNXQY","mt-7":"style-module_mt-7__52N7n","mr-7":"style-module_mr-7__olIOD","mb-7":"style-module_mb-7__Byz-y","ml-7":"style-module_ml-7__9aLfR","m-8":"style-module_m-8__0GQyc","mx-8":"style-module_mx-8__dPru6","my-8":"style-module_my-8__V0nij","mt-8":"style-module_mt-8__1KgQ9","mr-8":"style-module_mr-8__6iuRy","mb-8":"style-module_mb-8__2RUTX","ml-8":"style-module_ml-8__mJcqN","p-0":"style-module_p-0__AArLS","px-0":"style-module_px-0__s-9QU","py-0":"style-module_py-0__Hc-BN","pt-0":"style-module_pt-0__n5vG6","pr-0":"style-module_pr-0__WvzOI","pb-0":"style-module_pb-0__gDmxZ","pl-0":"style-module_pl-0__aKJzm","p-1":"style-module_p-1__WJ0OK","px-1":"style-module_px-1__l58C8","py-1":"style-module_py-1__ae17q","pt-1":"style-module_pt-1__1BMtM","pr-1":"style-module_pr-1__DNoug","pb-1":"style-module_pb-1__fOqHk","pl-1":"style-module_pl-1__LO2-p","p-2":"style-module_p-2__1uV6E","px-2":"style-module_px-2__KLPjd","py-2":"style-module_py-2__zFyGu","pt-2":"style-module_pt-2__b6TjW","pr-2":"style-module_pr-2__VA7WW","pb-2":"style-module_pb-2__u9VXk","pl-2":"style-module_pl-2__ocYty","p-3":"style-module_p-3__cre8w","px-3":"style-module_px-3__WSJPU","py-3":"style-module_py-3__UM-VV","pt-3":"style-module_pt-3__1RVKP","pr-3":"style-module_pr-3__luBW8","pb-3":"style-module_pb-3__uvSvA","pl-3":"style-module_pl-3__d42JN","p-4":"style-module_p-4__KTDcd","px-4":"style-module_px-4__9c7R-","py-4":"style-module_py-4__pbZr-","pt-4":"style-module_pt-4__b0f1N","pr-4":"style-module_pr-4__G-3Se","pb-4":"style-module_pb-4__7LnzY","pl-4":"style-module_pl-4__x2xmM","p-5":"style-module_p-5__KJndw","px-5":"style-module_px-5__4ZmcI","py-5":"style-module_py-5__44c5m","pt-5":"style-module_pt-5__jH61v","pr-5":"style-module_pr-5__uYue9","pb-5":"style-module_pb-5__VyPwm","pl-5":"style-module_pl-5__-7QwG","p-6":"style-module_p-6__Rklbn","px-6":"style-module_px-6__ndixN","py-6":"style-module_py-6__gKcyB","pt-6":"style-module_pt-6__crzwb","pr-6":"style-module_pr-6__blwZZ","pb-6":"style-module_pb-6__q6Pch","pl-6":"style-module_pl-6__mbz87","p-7":"style-module_p-7__n5M2X","px-7":"style-module_px-7__SVLNi","py-7":"style-module_py-7__ieHG-","pt-7":"style-module_pt-7__-St7I","pr-7":"style-module_pr-7__Pn42n","pb-7":"style-module_pb-7__Ao0G4","pl-7":"style-module_pl-7__PX3LH","p-8":"style-module_p-8__0tnzb","px-8":"style-module_px-8__B2wuB","py-8":"style-module_py-8__XxBBJ","pt-8":"style-module_pt-8__HsDAh","pr-8":"style-module_pr-8__DsIhB","pb-8":"style-module_pb-8__w5brd","pl-8":"style-module_pl-8__1sQf7"};const sn=e.forwardRef((({variant:t="body",children:n,component:o,className:r,...s},i)=>{const a=o||nn[t]||"span",c=e.useMemo((()=>on.reduce(((e,t)=>(void 0!==s[t]&&(e+=rn[`${t}-${s[t]}`]+" ",delete s[t]),e)),"")),[s]);return s.ref=i,We.exports.jsx(a,{className:nt(rn.reset,rn[t],r,c),...s,children:n})}));var an="styles-module_container__FvKVG",cn="styles-module_table__Kq8fq",ln="styles-module_is-viewport-large__Rp-uu",un="styles-module_card__jfYQ4",pn="styles-module_is-primary__KScat",dn="styles-module_header__3y7dn",mn="styles-module_item__lrSOp",hn="styles-module_last-feature__0t4Ge",gn="styles-module_value__-M-1H",fn="styles-module_icon__iBUYK",_n="styles-module_icon-check__Yt2l9",yn="styles-module_icon-cross__icsSr",bn="styles-module_popover__-YjB-",vn="styles-module_popover-icon__m0Wep",$n="styles-module_tos__bK5n-",wn="styles-module_tos-container__djd8a";const xn=gt(t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:We.exports.jsx("a",{href:ot("wpcom-tos"),rel:"noopener noreferrer",target:"_blank"}),shareDetailsLink:We.exports.jsx("a",{href:ot("jetpack-support-what-data-does-jetpack-sync"),rel:"noopener noreferrer",target:"_blank"})}),kn=e.createContext(void 0),jn=({isIncluded:n,index:o=0,label:r=null,tooltipInfo:s,tooltipTitle:i})=>{const[a]=tn("lg"),c=e.useContext(kn),l=c[o].name,u=c[o].tooltipInfo,p=c[o].tooltipTitle,d=t.__("Included","jetpack"),m=t.__("Not included","jetpack"),h=s||!a&&u;let g=n?d:m;return g=a?g:l,a||n||null!==r?We.exports.jsxs("div",{className:nt(mn,gn),children:[We.exports.jsx(ft,{className:nt(fn,n?_n:yn),size:32,icon:n?bt:vt}),We.exports.jsx(sn,{variant:"body-small",children:r||g}),h&&We.exports.jsx(Nt,{title:i||p,iconClassName:vn,className:bn,placement:"bottom-end",iconSize:14,offset:4,children:We.exports.jsx(sn,{variant:"body-small",children:s||u})})]}):null},Sn=({children:e})=>We.exports.jsx("div",{className:dn,children:e}),Cn=({primary:t=!1,children:n})=>{let o=0;return We.exports.jsx("div",{className:nt(un,{[pn]:t}),children:e.Children.map(n,(t=>{const n=t;return n.type===jn?(o++,e.cloneElement(n,{index:o-1})):n}))})};var En=({title:t,items:n,children:o})=>{const[r]=tn("lg");return We.exports.jsxs(kn.Provider,{value:n,children:[We.exports.jsx("div",{className:nt(an,{[ln]:r}),style:{"--rows":n.length+1,"--columns":e.Children.toArray(o).length+1},children:We.exports.jsxs("div",{className:cn,children:[We.exports.jsx(sn,{variant:"headline-small",children:t}),r&&n.map(((e,t)=>We.exports.jsxs("div",{className:nt(mn,{[hn]:t===n.length-1}),children:[We.exports.jsx(sn,{variant:"body-small",children:We.exports.jsx("strong",{children:e.name})}),e.tooltipInfo&&We.exports.jsx(Nt,{title:e.tooltipTitle,iconClassName:vn,className:bn,placement:"bottom-end",iconSize:14,offset:4,children:We.exports.jsx(sn,{variant:"body-small",children:e.tooltipInfo})})]},t))),o]})}),We.exports.jsx("div",{className:wn,children:We.exports.jsx(sn,{className:$n,variant:"body-small",children:xn})})]})},Ln="style-module_container__jrXbh",Pn="style-module_price-container__qGz5g",zn="style-module_price__qrEDy",Bn="style-module_is-not-off-price__DHfVe",Mn="style-module_footer__MxgY7",Nn="style-module_legend__VEoOG",Tn="style-module_promo-label__R4VmI",On="style-module_symbol__llav7";const Rn=({value:e,currency:t,isOff:n,hidePriceFraction:o})=>{const r=nt(zn,"product-price_price",{[Bn]:!n}),{symbol:s,integer:i,fraction:a}=Rt(e,t),c=!o||!a.endsWith("00");return We.exports.jsxs(sn,{className:r,variant:"headline-medium",component:"p",children:[We.exports.jsx(sn,{className:On,component:"sup",variant:"title-medium",children:s}),i,c&&We.exports.jsx(sn,{component:"sup",variant:"body-small","data-testid":"PriceFraction",children:We.exports.jsx("strong",{children:a})})]})};var An=({price:e,offPrice:n,currency:o="",showNotOffPrice:r=!0,hideDiscountLabel:s=!0,promoLabel:i="",legend:a=t.__("/month, paid yearly","jetpack"),isNotConvenientPrice:c=!1,hidePriceFraction:l=!1,children:u})=>{if(null==e&&null==n||!o)return null;r=r&&null!=n;const p=void 0!==e&&void 0!==n?Math.floor((e-n)/e*100):0,d=!s&&p&&p>0?p+t.__("% off","jetpack"):null;return We.exports.jsxs(We.exports.Fragment,{children:[We.exports.jsx("div",{className:Ln,children:We.exports.jsxs("div",{className:nt(Pn,"product-price_container"),children:[We.exports.jsx(Rn,{value:n??e,currency:o,isOff:!c,hidePriceFraction:l}),r&&We.exports.jsx(Rn,{value:e,currency:o,isOff:!1,hidePriceFraction:l})]})}),We.exports.jsxs("div",{className:Mn,children:[u||We.exports.jsx(sn,{className:nt(Nn,"product-price_legend"),children:a}),i&&We.exports.jsx(sn,{className:nt(Tn,"product-price_promo_label"),children:i}),d&&We.exports.jsx(sn,{className:nt(Tn,"product-price_promo_label"),children:d})]})]})};const In=[];function Vn(e,t){return{subscribe:Dn(e,t).subscribe}}function Dn(e,t=a){let n;const o=new Set;function r(t){if(h(e,t)&&(e=t,n)){const t=!In.length;for(const t of o)t[1](),In.push(t,e);if(t){for(let e=0;e<In.length;e+=2)In[e][0](In[e+1]);In.length=0}}}return{set:r,update:function(t){r(t(e))},subscribe:function(s,i=a){const c=[s,i];return o.add(c),1===o.size&&(n=t(r)||a),s(e),()=>{o.delete(c),0===o.size&&(n(),n=null)}}}}function Fn(e,t,n){const o=!Array.isArray(e),r=o?[e]:e,s=t.length<2;return Vn(n,(e=>{let n=!1;const i=[];let c=0,l=a;const u=()=>{if(c)return;l();const n=t(o?i[0]:i,e);s?e(n):l=m(n)?n:a},p=r.map(((e,t)=>f(e,(e=>{i[t]=e,c&=~(1<<t),n&&u()}),(()=>{c|=1<<t}))));return n=!0,u(),function(){d(p),l()}}))}function Hn(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("rect"),o=F("g"),r=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,viewBox:!0});var s=Y(t);n=X(s,"rect",{x:!0,fill:!0,width:!0,height:!0}),Y(n).forEach(I),o=X(s,"g",{});var i=Y(o);r=X(i,"path",{d:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(n,"x","0"),K(n,"fill","none"),K(n,"width","24"),K(n,"height","24"),K(r,"d","M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(t,o),O(o,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Jn(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Wn extends Je{constructor(e){super(),He(this,e,Jn,Hn,h,{})}}const Un="undefined"==typeof window;const Gn={1:"Link",2:"Route",3:"Router",4:"useFocus",5:"useLocation",6:"useMatch",7:"useNavigate",8:"useParams",9:"useResolvable",10:"useResolve",11:"navigate"},Kn=e=>Gn[e];function qn(e,t,n,o){const r=n&&function(e,t){let n;return 2===e?n=t.path?`path="${t.path}"`:"default":1===e?n=`to="${t.to}"`:3===e&&(n=`basepath="${t.basepath||""}"`),`<${Kn(e)} ${n||""} />`}(o||e,n),s=r?`\n\nOccurred in: ${r}`:"",i=Kn(e);return`<${i}> ${"function"==typeof t?t(i):t}${s}`}const Yn=(Xn=console.warn,(...e)=>Xn(qn(...e)));var Xn;const Zn=e=>1===e.length?"":e;function Qn(e){const t=e.indexOf("?"),n=e.indexOf("#"),o=-1!==t,r=-1!==n,s=r?Zn(e.substr(n)):"",i=r?e.substr(0,n):e,a=o?Zn(i.substr(t)):"";return{pathname:o?i.substr(0,t):i,search:a,hash:s}}const eo="POP";function to(e){return{...e.location,pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"}}function no(e){let t=[],n=to(e),o=eo;const r=(e=t)=>e.forEach((e=>e({location:n,action:o})));return{get location(){return n},listen(s){t.push(s);r([s]);const i=function(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}(e,"popstate",(()=>{n=to(e),o=eo,r([s])}));return()=>{i(),t=t.filter((e=>e!==s))}},navigate(t,s){const{state:i={},replace:a=!1}=s||{};if(o=a?"REPLACE":"PUSH","number"==typeof t)s&&Yn(11,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),o=eo,e.history.go(t);else{const n={...i,_key:Math.random().toString(36).substring(2)};try{e.history[a?"replaceState":"pushState"](n,"",t)}catch(n){e.location[a?"replace":"assign"](t)}}n=to(e),r()}}}function oo(e,t){return{...Qn(t),state:e}}const ro=!(Un||!window.document||!window.document.createElement),so=!Un&&"null"===window.location.origin;var io;no(ro&&!so?window:function(e="/"){let t=0,n=[oo(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(e,o,r){t++,n=n.slice(0,t),n.push(oo(e,r))},replaceState(e,o,r){n[t]=oo(e,r)},go(e){const o=t+e;o<0||o>n.length-1||(t=o)}}}}()),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(io||(io={}));var ao="beforeunload";function co(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,o=n.history;function r(){var e=mo(n.location.hash.substr(1)),t=e.pathname,r=void 0===t?"/":t,s=e.search,i=void 0===s?"":s,a=e.hash,c=void 0===a?"":a,l=o.state||{};return[l.idx,{pathname:r,search:i,hash:c,state:l.usr||null,key:l.key||"default"}]}var s=null;function i(){if(s)d.call(s),s=null;else{var e=io.Pop,t=r(),n=t[0],o=t[1];if(d.length){if(null!=n){var i=l-n;i&&(s={action:e,location:o,retry:function(){y(-1*i)}},y(i))}}else _(e)}}n.addEventListener("popstate",i),n.addEventListener("hashchange",(function(){po(r()[1])!==po(u)&&i()}));var a=io.Pop,c=r(),l=c[0],u=c[1],p=uo(),d=uo();function m(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var o=n.location.href,r=o.indexOf("#");t=-1===r?o:o.slice(0,r)}return t}()+"#"+("string"==typeof e?e:po(e))}function h(e,t){return void 0===t&&(t=null),Vt({pathname:u.pathname,hash:"",search:""},"string"==typeof e?mo(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function g(e,t){return[{usr:e.state,key:e.key,idx:t},m(e)]}function f(e,t,n){return!d.length||(d.call({action:e,location:t,retry:n}),!1)}function _(e){a=e;var t=r();l=t[0],u=t[1],p.call({action:a,location:u})}function y(e){o.go(e)}null==l&&(l=0,o.replaceState(Vt({},o.state,{idx:l}),""));var b={get action(){return a},get location(){return u},createHref:m,push:function e(t,r){var s=io.Push,i=h(t,r);if(f(s,i,(function(){e(t,r)}))){var a=g(i,l+1),c=a[0],u=a[1];try{o.pushState(c,"",u)}catch(e){n.location.assign(u)}_(s)}},replace:function e(t,n){var r=io.Replace,s=h(t,n);if(f(r,s,(function(){e(t,n)}))){var i=g(s,l),a=i[0],c=i[1];o.replaceState(a,"",c),_(r)}},go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(e){return p.push(e)},block:function(e){var t=d.push(e);return 1===d.length&&n.addEventListener(ao,lo),function(){t(),d.length||n.removeEventListener(ao,lo)}}};return b}function lo(e){e.preventDefault(),e.returnValue=""}function uo(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function po(e){var t=e.pathname,n=void 0===t?"/":t,o=e.search,r=void 0===o?"":o,s=e.hash,i=void 0===s?"":s;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}function mo(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}var ho=no(function(){const e=co();let t=[];return e.listen((n=>{"POP"===e.action&&t.forEach((e=>e(n)))})),{get location(){return e.location},addEventListener(e,n){"popstate"===e&&t.push(n)},removeEventListener(e,n){"popstate"===e&&(t=t.filter((e=>e!==n)))},history:{get state(){return e.location.state},pushState(t,n,o){e.push(o,t)},replaceState(t,n,o){e.replace(o,t)},go(t){e.go(t)}}}}());function go(e){let n,o,r,s,i,c,l,u=t.__("Go back","jetpack-boost")+"";return o=new Wn({}),{c(){n=D("button"),Ve(o.$$.fragment),r=J(),s=H(u),K(n,"class","components-button components-button--back is-link close")},m(t,a){R(t,n,a),De(o,n,null),M(n,r),M(n,s),i=!0,c||(l=U(n,"click",e[2]),c=!0)},p:a,i(e){i||(Me(o.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),c=!1,l()}}}function fo(e,t,n){const{navigate:o}=ho;let{route:r=-1}=t;return e.$$set=e=>{"route"in e&&n(0,r=e.route)},[r,o,()=>o(r)]}class _o extends Je{constructor(e){super(),He(this,e,fo,go,h,{route:0})}}function yo(e){let t;return{c(){t=D("div")},m(n,o){R(n,t,o),e[1](t)},p:a,i:a,o:a,d(n){n&&I(t),e[1](null)}}}function bo(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};let r;var a;return a=()=>{const{this:e,children:n}=t,a=o(t,["this","children"]);i.default.render(s.default.createElement(e,a,n),r)},ce().$$.after_update.push(a),ue((()=>{i.default.unmountComponentAtNode(r)})),e.$$set=e=>{n(3,t=l(l({},t),k(e)))},t=k(t),[r,function(e){fe[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class vo extends Je{constructor(e){super(),He(this,e,bo,yo,h,{})}}function $o(e,t){return"string"==typeof e?e:e&&e.toString instanceof Function?e.toString():t}function wo(e){return!!e&&e instanceof Object&&!(e instanceof Array)}class xo extends Error{httpCode;body;parseError;constructor(e,t,n){super(),this.httpCode=e,this.body=t,this.parseError=n}get message(){switch(this.httpCode){case 403:return this.getRestApiErrorMessage();case 200:if(this.parseError)return t.sprintf(t.__("Received invalid response while communicating with your WordPress site: %s","jetpack-boost"),this.parseError.message)}return t.sprintf(t.__("HTTP %d error received while communicating with the server.","jetpack-boost"),this.httpCode)}getDisplayBody(){return wo(this.body)?JSON.stringify(this.body,null," "):$o(this.body,"").substring(0,1e3)}getRestApiErrorMessage(){return t.__("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-boost")}}async function ko(e,n,o=null){const r={method:e,mode:"cors",headers:{"X-WP-Nonce":wpApiSettings.nonce}};"post"!==e&&"delete"!==e||!o||(r.body=JSON.stringify(o),r.headers["Content-Type"]="application/json");const s=function(e){return wpApiSettings.root+Jetpack_Boost.api.namespace+Jetpack_Boost.api.prefix+e}(n);let i;try{i=await fetch(s,r)}catch(e){const n=r;delete n.body,delete n.headers["X-WP-Nonce"];const o={requestInitiator:window.location.href,requestUrl:s,requestArgs:n,originalErrorMessage:e.toString()};throw new Error(t.sprintf(t.__("An error occurred while trying to communicate with the site REST API. Extra debug info: %s","jetpack-boost"),JSON.stringify(o)))}return i}async function jo(e,t,n=null){const o=await ko(e,t,n);let r,s;try{r=await o.text()}catch(e){throw new xo(o.status,null,e)}try{s=JSON.parse(r)}catch(e){throw new xo(o.status,r,e)}if(!o.ok)throw new xo(o.status,s,null);return s}var So={get:function(e){return jo("get",e)},post:function(e,t=null){return jo("post",e,t)},delete:function(e,t=null){return jo("delete",e,t)}};const{subscribe:Co,update:Eo}=Dn(Jetpack_Boost);const Lo=Dn(Jetpack_Boost.dismissedScorePrompts),Po={subscribe:Lo.subscribe,dismiss:e=>{Lo.update((t=>[...t,e]))}},zo=()=>(Eo((e=>({...e,site:{...e.site,getStarted:!1}}))),async function(){return So.post("/get-started")}());var Bo={subscribe:Co,refresh:async function(){const e=await So.get("/configuration");Eo((t=>({...t,...e})))}};function Mo(e){let t,n,o=[{width:"32"},{height:"32"},{viewBox:"0 0 32 32"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var o=Y(t);n=X(o,"path",{"fill-rule":!0,"clip-rule":!0,d:!0,fill:!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"fill-rule","evenodd"),K(n,"clip-rule","evenodd"),K(n,"d","M32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16345 7.16344 0 16 0C24.8366 0 32 7.16345 32 16ZM15.1756 18.6566V3.17569L7.20612 18.6566H15.1756ZM16.794 13.3134V28.8248L24.794 13.3134H16.794Z"),K(n,"fill","#069E08"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{width:"32"},{height:"32"},{viewBox:"0 0 32 32"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function No(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class To extends Je{constructor(e){super(),He(this,e,No,Mo,h,{})}}async function Oo(e,t){return!("boost_version"in t)&&"version"in Jetpack_Boost&&(t.boost_version=Jetpack_Boost.version),new Promise(((n,o)=>{"undefined"!=typeof jpTracksAJAX&&"function"==typeof jpTracksAJAX.record_ajax_event?jpTracksAJAX.record_ajax_event(`boost_${e}`,"click",t).done((e=>{const t={success:"success"in e&&!0===e.success};n(t)})).fail((t=>{console.log(`Recording event 'boost_${e}' failed with error: ${t.responseText}`),o(t.responseText)})):o("Invalid jpTracksAJAX object.")}))}function Ro(e){const t=_(Bo).site.url;return t&&(e=e+"&site="+encodeURIComponent(t)),e}function Ao(){const e=_(Bo).site.domain,t=new URL(window.location.href);t.hash="#/purchase-successful";const n=new URL(`https://wordpress.com/checkout/${e}/jetpack_boost_yearly`);return n.searchParams.set("redirect_to",t.toString()),n.searchParams.set("site",e),n.searchParams.set("unlinked","1"),n.toString()}function Io(e){let n,o;return n=new vo({props:{this:It,title:"Jetpack Boost",icon:`${window.Jetpack_Boost.site.assetPath}../static/images/forward.svg`,priceBefore:e[0].yearly.priceBefore/12,priceAfter:e[0].yearly.priceAfter/12,priceDetails:t.__("/month, paid yearly","jetpack-boost"),currencyCode:e[0].yearly.currencyCode,ctaText:t.__("Upgrade Jetpack Boost","jetpack-boost"),onCtaClick:e[1],infoText:e[2]}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};1&t&&(o.priceBefore=e[0].yearly.priceBefore/12),1&t&&(o.priceAfter=e[0].yearly.priceAfter/12),1&t&&(o.currencyCode=e[0].yearly.currencyCode),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Vo(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,y,b,v,$,w,x,k;r=new _o({}),c=new To({props:{class:"my-2"}});let j="yearly"in e[0]&&Io(e);return{c(){n=D("div"),o=D("div"),Ve(r.$$.fragment),s=J(),i=D("div"),a=D("div"),Ve(c.$$.fragment),l=J(),u=D("h1"),u.textContent=`${t.__("Optimize your website's performance","jetpack-boost")}`,p=J(),d=D("p"),d.textContent=`${t.__("Remove the need to manually regenerate critical CSS after site changes with automated critical CSS.","jetpack-boost")}`,m=J(),h=D("ul"),g=D("li"),g.textContent=`${t.__("Automatic critical CSS regeneration","jetpack-boost")}`,f=J(),_=D("li"),_.textContent=`${t.__("Performance scores are recalculated after each change","jetpack-boost")}`,y=J(),b=D("li"),b.textContent=`${t.__("Dedicated email support","jetpack-boost")}`,v=J(),$=D("div"),j&&j.c(),w=J(),x=D("footer"),x.textContent=`${t.__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-boost")}`,K(u,"class","my-2"),K(d,"class","jb-card__summary my-2"),K(h,"class","jb-checklist my-2"),K(a,"class","jb-card__content"),K($,"class","jb-card__cta px-2 my-4"),K(i,"class","jb-card"),K(x,"class","jb-footer-note"),K(o,"class","jb-container jb-container--fixed mt-2"),K(n,"id","jb-settings"),K(n,"class","jb-settings")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(o,s),M(o,i),M(i,a),De(c,a,null),M(a,l),M(a,u),M(a,p),M(a,d),M(a,m),M(a,h),M(h,g),M(h,f),M(h,_),M(h,y),M(h,b),M(i,v),M(i,$),j&&j.m($,null),M(o,w),M(o,x),k=!0},p(e,[t]){"yearly"in e[0]?j?(j.p(e,t),1&t&&Me(j,1)):(j=Io(e),j.c(),Me(j,1),j.m($,null)):j&&(ze(),Ne(j,1,1,(()=>{j=null})),Be())},i(e){k||(Me(r.$$.fragment,e),Me(c.$$.fragment,e),Me(j),k=!0)},o(e){Ne(r.$$.fragment,e),Ne(c.$$.fragment,e),Ne(j),k=!1},d(e){e&&I(n),Fe(r),Fe(c),j&&j.d()}}}function Do(e,n,o){let r;async function i(){await Oo("checkout_from_pricing_page_in_plugin",{}),window.location.href=Ao()}let{location:a,navigate:c}=n;const l=gt(t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareLink>share details</shareLink> with WordPress.com.","jetpack-boost"),{tosLink:s.default.createElement("a",{href:Ro("https://jetpack.com/redirect/?source=wpcom-tos"),target:"_blank"}),shareLink:s.default.createElement("a",{href:Ro("https://jetpack.com/redirect/?source=jetpack-support-what-data-does-jetpack-sync"),target:"_blank"})}),u=Fn(Bo,(e=>e.pricing));return y(e,u,(e=>o(0,r=e))),"yearly"in r||i(),e.$$set=e=>{"location"in e&&o(4,a=e.location),"navigate"in e&&o(5,c=e.navigate)},[r,i,l,u,a,c]}class Fo extends Je{constructor(e){super(),He(this,e,Do,Vo,h,{location:4,navigate:5})}}function Ho(e){let t,n,o,r=[{version:"1.1"},{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{x:"0px"},{y:"0px"},{viewBox:"0 0 24 24"},{style:"enable-background:new 0 0 24 24;"},{"xml:space":"preserve"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{version:!0,xmlns:!0,"xmlns:xlink":!0,x:!0,y:!0,viewBox:!0,style:!0,"xml:space":!0});var r=Y(t);n=X(r,"g",{id:!0});var s=Y(n);o=X(s,"path",{style:!0,d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){Q(o,"fill","#d63638"),K(o,"d","M12,4c4.411,0,8,3.589,8,8s-3.589,8-8,8s-8-3.589-8-8S7.589,4,12,4 M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10 s10-4.477,10-10S17.523,2,12,2L12,2z M13,15h-2v2h2V15z M11,13h2l0.5-6h-3L11,13z"),K(n,"id","notice-outline"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{version:"1.1"},{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{x:"0px"},{y:"0px"},{viewBox:"0 0 24 24"},{style:"enable-background:new 0 0 24 24;"},{"xml:space":"preserve"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Jo(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Wo extends Je{constructor(e){super(),He(this,e,Jo,Ho,h,{})}}function Uo(e,t="action"){return{[t]:["a",{class:"action",onclick:t=>{t.preventDefault(),e(t.target.getAttribute("name"))},href:"#"}]}}function Go(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))}function Ko(e,t="link"){return{[t]:["a",{href:e,target:"_blank",rel:"noopener noreferrer"}]}}function qo(e="support"){return Ko("https://wordpress.org/support/plugin/jetpack-boost/",e)}function Yo(e,t,n){for(const o of Array.from(e.childNodes)){let e;if(n[o.nodeName]){const[t,r,s]=n[o.nodeName];e=Zo(t,r,s),Xo(o,e)}else o.tagName?(e=document.createElement(o.tagName),Xo(o,e)):e=o.cloneNode();t.appendChild(e),Yo(o,e,n)}}function Xo(e,t){for(let n=0;n<e.attributes.length;n++){const o=e.attributes.item(n);t.setAttribute(o.name,o.value)}}function Zo(e,t,n){const o=document.createElement(e);for(const[e,n]of Object.entries(t))e.startsWith("on")&&n instanceof Function?o.addEventListener(e.substring(2),n):o.setAttribute(e,n.toString());return n&&o.append(n),o}function Qo(e){let t;return{c(){t=D("span")},m(n,o){R(n,t,o),e[3](t)},p:a,i:a,o:a,d(n){n&&I(t),e[3](null)}}}function er(e,t,n){let o,{template:r}=t,{vars:s}=t;return le((()=>{Yo(function(e){const t="<PseudoHTML>"+e+"</PseudoHTML>";return(new DOMParser).parseFromString(t,"application/xml").childNodes[0]}(r),o,s)})),e.$$set=e=>{"template"in e&&n(1,r=e.template),"vars"in e&&n(2,s=e.vars)},[o,r,s,function(e){fe[e?"unshift":"push"]((()=>{o=e,n(0,o)}))}]}class tr extends Je{constructor(e){super(),He(this,e,er,Qo,h,{template:1,vars:2})}}const nr=e=>({}),or=e=>({});function rr(e){let t,n;return{c(){t=D("pre"),n=H(e[0]),K(t,"class","data")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},d(e){e&&I(t)}}}function sr(e){let t,n,o;return n=new tr({props:{template:e[2],vars:e[4]}}),{c(){t=D("p"),Ve(n.$$.fragment),K(t,"class","suggestion")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};4&t&&(o.template=e[2]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function ir(e){let t,n,o,r,s,i,c,l,u,p,d,m,h;n=new Wo({props:{class:"icon"}});const g=e[8].default,f=b(g,e,e[7],null),_=f||function(e){let t;return{c(){t=D("p"),t.textContent=`${e[3]}`},m(e,n){R(e,t,n)},p:a,d(e){e&&I(t)}}}(e);let y=e[0]&&rr(e),v=e[2]&&sr(e);const k=e[8].actionButton,j=b(k,e,e[7],or);return{c(){t=D("div"),Ve(n.$$.fragment),o=J(),r=D("div"),s=D("div"),i=H(e[1]),c=J(),l=D("div"),_&&_.c(),u=J(),y&&y.c(),p=J(),v&&v.c(),d=J(),m=D("div"),j&&j.c(),K(s,"class","jb-error__description"),K(l,"class","jb-error__message"),K(r,"class","jb-error__main-content"),K(m,"class","jb-error__main-action"),K(t,"class","jb-error")},m(e,a){R(e,t,a),De(n,t,null),M(t,o),M(t,r),M(r,s),M(s,i),M(r,c),M(r,l),_&&_.m(l,null),M(l,u),y&&y.m(l,null),M(l,p),v&&v.m(l,null),M(t,d),M(t,m),j&&j.m(m,null),h=!0},p(e,[t]){(!h||2&t)&&Z(i,e[1]),f&&f.p&&(!h||128&t)&&w(f,g,e,e[7],h?$(g,e[7],t,null):x(e[7]),null),e[0]?y?y.p(e,t):(y=rr(e),y.c(),y.m(l,p)):y&&(y.d(1),y=null),e[2]?v?(v.p(e,t),4&t&&Me(v,1)):(v=sr(e),v.c(),Me(v,1),v.m(l,null)):v&&(ze(),Ne(v,1,1,(()=>{v=null})),Be()),j&&j.p&&(!h||128&t)&&w(j,k,e,e[7],h?$(k,e[7],t,nr):x(e[7]),or)},i(e){h||(Me(n.$$.fragment,e),Me(_,e),Me(v),Me(j,e),h=!0)},o(e){Ne(n.$$.fragment,e),Ne(_,e),Ne(v),Ne(j,e),h=!1},d(e){e&&I(t),Fe(n),_&&_.d(e),y&&y.d(),v&&v.d(),j&&j.d(e)}}}function ar(e,t,n){let{$$slots:o={},$$scope:r}=t,{title:s}=t,{error:i=new Error(s)}=t,{data:a}=t,{suggestion:c}=t,{vars:l={}}=t;const u=Go(i).message;!a&&i instanceof xo&&(a=i.getDisplayBody());const p=pe();const d={...qo(),...Uo((function(e){p(e),p("action",e)}),"action"),...l};return e.$$set=e=>{"title"in e&&n(1,s=e.title),"error"in e&&n(5,i=e.error),"data"in e&&n(0,a=e.data),"suggestion"in e&&n(2,c=e.suggestion),"vars"in e&&n(6,l=e.vars),"$$scope"in e&&n(7,r=e.$$scope)},[a,s,c,u,d,i,l,r,o]}class cr extends Je{constructor(e){super(),He(this,e,ar,ir,h,{title:1,error:5,data:0,suggestion:2,vars:6})}}function lr(e){let t,n,o,r,s,i,c=[{width:"177"},{height:"7"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],u={};for(let e=0;e<c.length;e+=1)u=l(u,c[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),r=F("defs"),s=F("clipPath"),i=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,fill:!0,xmlns:!0});var a=Y(t);n=X(a,"g",{"clip-path":!0,fill:!0,"fill-opacity":!0});var c=Y(n);o=X(c,"path",{d:!0}),Y(o).forEach(I),c.forEach(I),r=X(a,"defs",{});var l=Y(r);s=X(l,"clipPath",{id:!0});var u=Y(s);i=X(u,"path",{fill:!0,d:!0}),Y(i).forEach(I),u.forEach(I),l.forEach(I),a.forEach(I),this.h()},h(){K(o,"d","M59.878 7c-2.38 0-3.909-1.668-3.909-3.39v-.22c0-1.76 1.548-3.39 3.909-3.39 2.379 0 3.927 1.63 3.927 3.39v.22c0 1.722-1.548 3.39-3.927 3.39zm2.662-3.592c0-1.264-.944-2.382-2.662-2.382-1.719 0-2.644 1.118-2.644 2.382v.165c0 1.265.944 2.4 2.644 2.4 1.7 0 2.662-1.135 2.662-2.4v-.165zM33.045 6.743l-.887-1.612H28.21l-.85 1.612H26.04L29.646.238h1.039l3.682 6.505h-1.322zm-2.889-5.24l-1.454 2.73h2.965l-1.511-2.73zM40.107 7c-2.398 0-3.53-1.264-3.53-2.969V.238h1.245v3.83c0 1.21.813 1.924 2.36 1.924 1.587 0 2.248-.715 2.248-1.924V.238h1.265v3.793C43.695 5.644 42.638 7 40.107 7zM50.72 1.246v5.497h-1.266V1.246h-2.926V.238h7.118v1.008H50.72zm24.302 5.497V1.594l-.34.568-2.814 4.581h-.623l-2.776-4.58-.34-.569v5.15h-1.227V.237h1.737l2.644 4.471.321.55.321-.55L74.55.24h1.718v6.504h-1.246zm10.782 0l-.887-1.612H80.97l-.85 1.612h-1.322L82.425.238h1.039l3.682 6.505h-1.34zm-2.889-5.24l-1.454 2.73h2.965l-1.511-2.73zm9.31-.257v5.497h-1.266V1.246h-2.927V.238h7.12v1.008h-2.928zm9.233 0v5.497h-1.265V1.246h-2.927V.238h7.119v1.008h-2.927zm6.043 5.497v-5.9c.509 0 .698-.257.698-.623h.529v6.505l-1.227.018zm11.084-4.672c-.604-.532-1.492-1.045-2.682-1.045-1.793 0-2.794 1.191-2.794 2.437v.129c0 1.227 1.019 2.382 2.889 2.382 1.114 0 2.039-.513 2.625-1.045l.755.77c-.737.696-1.983 1.301-3.456 1.301-2.53 0-4.078-1.594-4.078-3.353v-.22c0-1.76 1.68-3.427 4.135-3.427 1.416 0 2.7.568 3.399 1.301l-.793.77zm-57.876.201c.226.147.283.44.15.66l-1.151 1.722a.501.501 0 01-.68.147.486.486 0 01-.151-.66l1.152-1.722a.485.485 0 01.68-.147zM7.081 6.725l-.887-1.63H2.209l-.868 1.63H0L3.663.147h1.058l3.72 6.578H7.08zM4.154 1.43L2.681 4.196h3.003L4.154 1.43zm11.481 5.296l-4.4-4.398-.434-.458v4.875H9.536V.147h1.227l4.268 4.398.434.476V.147h1.265v6.578h-1.095zM135.938 6.78l-.907-1.63h-3.984l-.868 1.63h-1.341L132.52.183h1.058l3.738 6.597h-1.378zm-2.927-5.314l-1.473 2.767h3.003l-1.53-2.767zm5.401 5.314V.183h1.284V6.78h-1.284zm9.063 0c-.34 0-.491-.458-.547-1.063l-.038-.678c-.038-.66-.321-.934-1.586-.934h-2.417V6.78h-1.265V.183h3.701c2.039 0 2.964.788 2.964 1.814 0 .715-.377 1.411-1.699 1.65 1.322.091 1.605.678 1.624 1.447l.019.55c.019.458.094.788.415 1.118v.018h-1.171zm-.472-4.618c0-.476-.396-.934-1.491-.934h-2.606v1.979h2.719c.944 0 1.378-.44 1.378-.953v-.092zm3.078 4.618V.183h1.284v5.57h5.325V6.78h-6.609zm7.912 0V.183h1.284V6.78h-1.284zm9.347 0l-4.418-4.416-.435-.458V6.78h-1.284V.183h1.228l4.286 4.416.434.477V.183h1.284V6.78h-1.095zm3.04 0V.183h6.175V1.21h-4.91v1.686h3.777v1.008h-3.777v1.85h4.91V6.78h-6.175z"),K(n,"clip-path","url(#footer-automattic_svg__clip0)"),K(n,"fill","#000"),K(n,"fill-opacity","0.8"),K(i,"fill","#fff"),K(i,"d","M0 0h176.556v7H0z"),K(s,"id","footer-automattic_svg__clip0"),q(t,u)},m(e,a){A(e,t,a),O(t,n),O(n,o),O(t,r),O(r,s),O(s,i)},p(e,[n]){q(t,u=Ae(c,[{width:"177"},{height:"7"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function ur(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class pr extends Je{constructor(e){super(),He(this,e,ur,lr,h,{})}}function dr(e){let t,n,o=[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"none"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,width:!0,height:!0,fill:!0});var o=Y(t);n=X(o,"path",{d:!0,fill:!0,"fill-opacity":!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"d","M8 0C3.588 0 0 3.588 0 8s3.588 8 8 8 8-3.588 8-8-3.588-8-8-8zm-.412 9.328H3.603l3.985-7.755v7.755zm.809 5.084V6.656h3.985l-3.985 7.756z"),K(n,"fill","#000"),K(n,"fill-opacity","0.7"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{xmlns:"http://www.w3.org/2000/svg"},{width:"16"},{height:"16"},{fill:"none"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function mr(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class hr extends Je{constructor(e){super(),He(this,e,mr,dr,h,{})}}function gr(e){let n,o,r,s,i,c,l,u,p,d,m=t.__("Jetpack Boost","jetpack-boost")+"";return r=new hr({}),p=new pr({}),{c(){n=D("footer"),o=D("div"),Ve(r.$$.fragment),s=J(),i=H(m),c=J(),l=D("div"),u=D("a"),Ve(p.$$.fragment),K(o,"class","jb-signature--jetpack"),K(u,"href","https://automattic.com"),K(u,"aria-label",t.__("An Automattic Airline","jetpack-boost")),K(l,"class","jb-signature--automattic"),K(n,"class","jb-settings-footer")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(o,s),M(o,i),M(n,c),M(n,l),M(l,u),De(p,u,null),d=!0},p:a,i(e){d||(Me(r.$$.fragment,e),Me(p.$$.fragment,e),d=!0)},o(e){Ne(r.$$.fragment,e),Ne(p.$$.fragment,e),d=!1},d(e){e&&I(n),Fe(r),Fe(p)}}}class fr extends Je{constructor(e){super(),He(this,e,null,gr,h,{})}}function _r(e){let t,n,o,r,s,i,c,u,p,d,m,h,g,f,_,y,b,v=[{fill:"none"},{height:"50"},{viewBox:"0 0 280 50"},{width:"280"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],$={};for(let e=0;e<v.length;e+=1)$=l($,v[e]);return{c(){t=F("svg"),n=F("path"),o=F("path"),r=F("path"),s=F("path"),i=F("path"),c=F("path"),u=F("path"),p=F("path"),d=F("g"),m=F("path"),h=F("path"),g=F("path"),f=F("path"),_=F("path"),y=F("path"),b=F("path"),this.h()},l(e){t=X(e,"svg",{fill:!0,height:!0,viewBox:!0,width:!0,xmlns:!0});var a=Y(t);n=X(a,"path",{d:!0,fill:!0}),Y(n).forEach(I),o=X(a,"path",{d:!0,fill:!0}),Y(o).forEach(I),r=X(a,"path",{d:!0,fill:!0}),Y(r).forEach(I),s=X(a,"path",{d:!0,fill:!0}),Y(s).forEach(I),i=X(a,"path",{d:!0,fill:!0}),Y(i).forEach(I),c=X(a,"path",{d:!0,fill:!0}),Y(c).forEach(I),u=X(a,"path",{d:!0,fill:!0}),Y(u).forEach(I),p=X(a,"path",{d:!0,fill:!0}),Y(p).forEach(I),d=X(a,"g",{fill:!0});var l=Y(d);m=X(l,"path",{d:!0}),Y(m).forEach(I),h=X(l,"path",{d:!0}),Y(h).forEach(I),g=X(l,"path",{d:!0}),Y(g).forEach(I),f=X(l,"path",{d:!0}),Y(f).forEach(I),_=X(l,"path",{d:!0}),Y(_).forEach(I),y=X(l,"path",{d:!0}),Y(y).forEach(I),b=X(l,"path",{d:!0}),Y(b).forEach(I),l.forEach(I),a.forEach(I),this.h()},h(){K(n,"d","m207.34 21.2106c.764.1108 1.447.3141 2.051.6099.616.2957 1.14.6776 1.571 1.1458.444.4559.782 1.0042 1.017 1.6449.234.6284.351 1.3492.351 2.1624 0 .5791-.087 1.189-.259 1.8297-.173.6284-.462 1.2444-.869 1.8482-.394.5914-.918 1.1397-1.571 1.6449-.64.5051-1.441.9179-2.402 1.2383-.74.2464-1.559.4189-2.458.5174-.9.0986-1.978.1479-3.235.1479h-6.394v-24.72872h6.173c.566 0 1.078.01232 1.534.03696.468.01232.893.03697 1.275.07393.394.03696.758.08625 1.09.14785.333.04929.647.1109.943.18482.776.20946 1.478.49906 2.107.86866.64.3573 1.183.7885 1.626 1.2937.444.5052.783 1.0781 1.017 1.7188.246.6407.369 1.3369.369 2.0885 0 .6037-.074 1.1828-.222 1.7373-.135.5544-.363 1.0658-.683 1.534-.308.4682-.715.8871-1.22 1.2567-.493.3697-1.097.6777-1.811.9241zm-4.602-1.2383c.591 0 1.102-.0247 1.534-.074.431-.0616.819-.1478 1.164-.2587.924-.308 1.596-.7886 2.015-1.4416.431-.653.646-1.4231.646-2.3102 0-.9118-.221-1.6572-.665-2.2363s-1.14-1.0104-2.088-1.2938c-.469-.1355-1.011-.2279-1.627-.2772-.616-.0616-1.343-.0924-2.181-.0924h-3.382v7.9842zm-4.584 2.7168v8.5941h3.641c.863 0 1.663-.037 2.403-.1109.739-.0863 1.367-.2156 1.885-.3881.567-.1849 1.047-.419 1.441-.7024.395-.2957.709-.616.943-.961.246-.3573.419-.7331.518-1.1274.11-.3943.166-.7947.166-1.2013 0-.4682-.056-.9056-.166-1.3122-.111-.419-.296-.7886-.555-1.1089-.246-.3327-.579-.6223-.998-.8687-.407-.2464-.918-.4374-1.534-.5729-.37-.0863-.795-.1479-1.275-.1849-.468-.0369-1.054-.0554-1.756-.0554z"),K(n,"fill","#000"),K(o,"d","m229.338 25.2396c0-1.0843-.135-2.0453-.406-2.8832-.259-.8501-.629-1.5648-1.109-2.1439-.469-.5914-1.029-1.0349-1.682-1.3307-.653-.308-1.368-.462-2.144-.462s-1.491.154-2.144.462c-.653.2958-1.22.7393-1.7 1.3307-.468.5791-.838 1.2938-1.109 2.1439-.259.8379-.388 1.7989-.388 2.8832 0 1.0719.129 2.033.388 2.8832.271.8378.647 1.5463 1.127 2.1254.481.5791 1.048 1.0226 1.701 1.3307.653.2957 1.367.4435 2.143.4435.777 0 1.485-.1478 2.126-.4435.653-.3081 1.213-.7516 1.682-1.3307.48-.5791.85-1.2876 1.109-2.1254.271-.8502.406-1.8113.406-2.8832zm2.994 0c0 1.38-.197 2.6367-.591 3.7703-.394 1.1335-.955 2.1069-1.682 2.9201-.715.8009-1.583 1.4231-2.606 1.8667s-2.168.6653-3.438.6653c-1.306 0-2.476-.2217-3.511-.6653-1.023-.4436-1.898-1.0658-2.625-1.8667-.714-.8132-1.262-1.7866-1.644-2.9201-.382-1.1336-.573-2.3903-.573-3.7703 0-1.3923.197-2.6552.591-3.7888.394-1.1335.949-2.1069 1.663-2.9201.727-.8132 1.602-1.4416 2.625-1.8852 1.035-.4435 2.187-.6653 3.456-.6653 1.294 0 2.458.2218 3.493.6653 1.035.4436 1.91 1.072 2.624 1.8852.715.8132 1.263 1.7866 1.645 2.9201.382 1.1336.573 2.3965.573 3.7888z"),K(o,"fill","#000"),K(r,"d","m248.953 25.2396c0-1.0843-.136-2.0453-.407-2.8832-.259-.8501-.628-1.5648-1.109-2.1439-.468-.5914-1.029-1.0349-1.682-1.3307-.653-.308-1.367-.462-2.144-.462-.776 0-1.491.154-2.144.462-.653.2958-1.219.7393-1.7 1.3307-.468.5791-.838 1.2938-1.109 2.1439-.259.8379-.388 1.7989-.388 2.8832 0 1.0719.129 2.033.388 2.8832.271.8378.647 1.5463 1.128 2.1254.48.5791 1.047 1.0226 1.7 1.3307.653.2957 1.368.4435 2.144.4435s1.485-.1478 2.125-.4435c.653-.3081 1.214-.7516 1.682-1.3307.481-.5791.85-1.2876 1.109-2.1254.271-.8502.407-1.8113.407-2.8832zm2.994 0c0 1.38-.197 2.6367-.592 3.7703-.394 1.1335-.955 2.1069-1.682 2.9201-.714.8009-1.583 1.4231-2.606 1.8667-1.022.4436-2.168.6653-3.437.6653-1.306 0-2.477-.2217-3.512-.6653-1.022-.4436-1.897-1.0658-2.624-1.8667-.715-.8132-1.263-1.7866-1.645-2.9201-.382-1.1336-.573-2.3903-.573-3.7703 0-1.3923.197-2.6552.591-3.7888.395-1.1335.949-2.1069 1.664-2.9201.727-.8132 1.602-1.4416 2.624-1.8852 1.035-.4435 2.187-.6653 3.456-.6653 1.294 0 2.458.2218 3.493.6653 1.035.4436 1.91 1.072 2.625 1.8852.714.8132 1.263 1.7866 1.645 2.9201.382 1.1336.573 2.3965.573 3.7888z"),K(r,"fill","#000"),K(s,"d","m257.755 21.1181c0 .4806.105.8749.314 1.1829.21.308.487.5606.832.7577.357.1849.764.3389 1.22.4621.468.1232.949.2341 1.441.3327.678.1478 1.319.3142 1.923.499.603.1725 1.158.4374 1.663.7947.517.3573.93.844 1.238 1.4601.321.6037.481 1.3923.481 2.3656 0 .8872-.173 1.6757-.518 2.3657-.345.6777-.831 1.2506-1.46 1.7188-.628.4559-1.38.8009-2.255 1.035-.874.2464-1.835.3696-2.883.3696-.641 0-1.226-.0369-1.756-.1108-.517-.0617-.979-.1479-1.386-.2588-.394-.0986-.733-.2033-1.016-.3142-.284-.1109-.518-.2156-.703-.3142v-2.4026c.74.2957 1.473.5298 2.2.7023s1.528.2587 2.402.2587c.69 0 1.313-.0616 1.867-.1848.555-.1232 1.029-.3018 1.423-.536.407-.2464.715-.5482.924-.9056.222-.3696.333-.7947.333-1.2752 0-.4929-.099-.8995-.296-1.2198-.197-.3204-.462-.5853-.794-.7947-.333-.2095-.721-.382-1.165-.5175-.431-.1356-.887-.2588-1.367-.3697-.629-.1355-1.27-.2957-1.923-.4805-.64-.1848-1.226-.4436-1.755-.7762-.53-.3327-.961-.7824-1.294-1.3492-.32-.5791-.481-1.3184-.481-2.2178 0-.9241.167-1.725.499-2.4027.333-.6776.783-1.2383 1.35-1.6818.566-.4436 1.226-.7763 1.977-.998.752-.2218 1.546-.3327 2.384-.3327.974 0 1.873.0924 2.699.2772.837.1848 1.595.4189 2.273.7023v2.4396c-.739-.2834-1.491-.5113-2.255-.6838-.751-.1848-1.528-.2834-2.329-.2957-.677 0-1.256.0678-1.737.2033-.48.1355-.875.3265-1.183.5729-.308.2341-.536.5175-.684.8502-.135.3204-.203.6777-.203 1.0719z"),K(s,"fill","#000"),K(i,"d","m279.902 34.037c-.247.0985-.623.1909-1.128.2772-.505.0862-1.109.1355-1.811.1478-.924 0-1.725-.117-2.403-.3511-.677-.2218-1.244-.5421-1.7-.9611-.444-.4312-.776-.9487-.998-1.5524-.222-.6038-.333-1.2753-.333-2.0146v-10.6825h-3.382v-2.4581h3.382v-4.8052h2.865v4.8052h5.249v2.4581h-5.249v10.239c0 .4066.055.7824.166 1.1274.124.345.308.6468.555.9056.259.2464.585.4435.979.5914.395.1355.869.2033 1.423.2033.382 0 .783-.0308 1.202-.0924.431-.0616.825-.1417 1.183-.2403z"),K(i,"fill","#000"),K(c,"d","m24.9855 49.9692c13.799 0 24.9855-11.1865 24.9855-24.9855 0-13.7991-11.1865-24.9837-24.9855-24.9837s-24.9855 11.1865-24.9855 24.9855 11.1865 24.9837 24.9855 24.9837z"),K(c,"fill","#069e08"),K(u,"d","m26.2256 20.7892v24.2213l12.4927-24.2213z"),K(u,"fill","#fff"),K(p,"d","m23.6976 29.1337v-24.17511l-12.4447 24.17511z"),K(p,"fill","#fff"),K(m,"d","m64.512 41.4821c-.7161-1.0972-1.3822-2.1925-2.0501-3.2416 3.5284-2.1462 4.72-3.8614 4.72-7.1048v-18.7392h-4.1483v-3.57462h8.8219v21.36092c0 5.436-1.5727 8.487-7.3435 11.2993z"),K(h,"d","m101.467 28.7045c0 1.8113 1.287 2.0019 2.146 2.0019.858 0 2.098-.2868 3.051-.5717v3.3378c-1.336.4293-2.718.7623-4.626.7623-2.2885 0-4.9584-.8585-4.9584-4.8643v-9.8228h-2.4312v-3.386h2.4312v-5.0048h4.3874v5.0067h5.53v3.3859h-5.53z"),K(g,"d","m110.621 43.151v-27.0355h4.196v1.6208c1.669-1.2878 3.529-2.0982 5.818-2.0982 3.957 0 7.104 2.7661 7.104 8.7257 0 5.9133-3.432 9.8229-9.106 9.8229-1.383 0-2.48-.1906-3.625-.4293v9.3455h-4.387zm8.868-23.8883c-1.288 0-2.908.6198-4.435 1.9557v9.2031c.953.1905 1.956.333 3.29.333 3.099 0 4.864-1.9557 4.864-6.0558 0-3.7671-1.288-5.436-3.719-5.436z"),K(f,"d","m144.998 33.8055h-4.1v-1.9557h-.096c-1.43 1.0972-3.195 2.2888-5.817 2.2888-2.289 0-4.768-1.6689-4.768-5.0549 0-4.5293 3.861-5.3878 6.579-5.769l3.862-.5236v-.5236c0-2.385-.953-3.1472-3.196-3.1472-1.097 0-3.671.333-5.769 1.1915l-.381-3.5284c1.908-.6679 4.529-1.1434 6.724-1.1434 4.291 0 7.057 1.717 7.057 6.8181v11.3474zm-4.387-8.2483-3.624.5717c-1.097.1425-2.241.8104-2.241 2.4312 0 1.4303.811 2.2407 2.002 2.2407 1.288 0 2.67-.7623 3.862-1.6208v-3.6228z"),K(_,"d","m163.118 33.2338c-1.812.6198-3.432 1.001-5.484 1.001-6.58 0-9.203-3.7671-9.203-9.2493 0-5.769 3.624-9.3455 9.488-9.3455 2.192 0 3.528.3811 5.006.8585v3.7189c-1.287-.4773-3.147-1.0009-4.958-1.0009-2.67 0-4.959 1.4302-4.959 5.5303 0 4.5294 2.289 5.9133 5.197 5.9133 1.383 0 2.909-.2867 4.959-1.0971v3.6708z"),K(y,"d","m171.415 23.7458c.381-.4292.668-.8585 6.198-7.5822h5.721l-7.153 8.3926 7.819 9.2974h-5.721l-6.818-8.3926v8.3926h-4.385v-25.03173h4.387v14.92393z"),K(b,"d","m91.3568 33.2338c-2.2887.716-4.2444 1.001-6.5332 1.001-5.6265 0-9.1068-2.8124-9.1068-9.3936 0-4.8162 2.9567-9.2031 8.6295-9.2031 5.6265 0 7.5822 3.9096 7.5822 7.6285 0 1.2397-.0962 1.9076-.1425 2.6218h-11.3474c.0962 3.8614 2.2887 4.768 5.5784 4.768 1.8114 0 3.4322-.4292 5.2935-1.0972v3.6709h.0463zm-4.0039-10.2521c0-2.1463-.716-4.0058-3.051-4.0058-2.1926 0-3.5284 1.5727-3.8152 4.0058z"),K(d,"fill","#000"),q(t,$)},m(e,a){A(e,t,a),O(t,n),O(t,o),O(t,r),O(t,s),O(t,i),O(t,c),O(t,u),O(t,p),O(t,d),O(d,m),O(d,h),O(d,g),O(d,f),O(d,_),O(d,y),O(d,b)},p(e,[n]){q(t,$=Ae(v,[{fill:"none"},{height:"50"},{viewBox:"0 0 280 50"},{width:"280"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function yr(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class br extends Je{constructor(e){super(),He(this,e,yr,_r,h,{})}}function vr(e){let t,n,o,r;return o=new br({}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),K(n,"class","jb-settings-header__logo"),K(t,"class","jb-settings-header")},m(e,s){R(e,t,s),M(t,n),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(t),Fe(o)}}}class $r extends Je{constructor(e){super(),He(this,e,null,vr,h,{})}}const{subscribe:wr,update:xr,set:kr}=Dn(Sr(_(Bo).optimizations));let jr;function Sr(e){const t={};for(const[n,o]of Object.entries(e))t[n]={enabled:o};return t}async function Cr(e,n){if(void 0===jr[e])return!1;const o=jr[e]&&jr[e].enabled;let r=n;Er(e,n);try{r=await async function(e,n){const o=await So.post(`/module/${e}/status`,{status:n});if(!0!==o&&!1!==o){const e=JSON.stringify(o);throw new Error(t.sprintf(t.__("Unexpected data received from WordPress: %s","jetpack-boost"),e))}return o!==n?!n:o}(e,n),Er(e,r,!0)}catch(t){throw Er(e,o,!0),t}return r}function Er(e,t,n=!1){xr((o=>({...o,[e]:{...o[e],enabled:t,synced:n}})))}wr((e=>jr=e));const Lr={subscribe:wr,updateModuleState:Cr},Pr=e=>Fn(Lr,(t=>t[e]&&t[e].enabled)),zr=e=>Fn(Lr,(t=>void 0!==t[e])),Br="success",Mr="fail",Nr="requesting",Tr={progress:0,success_count:0,retried_show_stopper:!1,status:"not_generated"},Or=Dn(Jetpack_Boost.criticalCssStatus||Tr),{subscribe:Rr,update:Ar}=Or;let Ir;function Vr(){return Ir}Rr((e=>Ir=e));const Dr=Fn({subscribe:Rr},(e=>e.providers_errors?Object.keys(e.providers_errors).length:0)),Fr=Fn({subscribe:Rr},(e=>[Br,Mr].includes(e.status))),Hr=Fn({subscribe:Rr},(e=>"error"===e.status||"success"===e.status&&0===e.success_count)),Jr=Fn([Or,Lr],(([e,t])=>{const n=Nr===e.status,o=t["critical-css"]&&t["critical-css"].enabled,r=t["cloud-css"]&&t["cloud-css"].enabled;return n&&(o||r)}));async function Wr(e,t,n){const o=await So[e](t,n);if("module-unavailable"===o.status)return!1;if(o.status!==Br)throw new Error(o.code||o.message||o.error||JSON.stringify(o));return Ar((e=>({...e,...o.status_update}))),o.status_update}function Ur(e){return Ar((t=>({...t,...e})))}async function Gr(e,t,n){return Wr("post",`/critical-css/${e}/${t}`,n)}const Kr={subscribe:Rr};async function qr(){Ar((e=>({...e,...Tr,status:Nr}))),await Xr()}async function Yr(){Ar((e=>({...e,...Tr,status:Nr,retried_show_stopper:!0}))),await Xr()}async function Xr(){try{await So.post("/cloud-css/request-generate")}catch(e){if(200!==e.httpCode)return Ar((e=>({...e,status:"error"}))),void ts()}es()}let Zr=null;function Qr(e){return e.progress<100?5e3:12e4}function es(){let e=Vr();const t=Qr(Vr());ts(),Zr=setInterval((async()=>{e=await So.get("/cloud-css/status"),Ur(e),t!==Qr(e)&&es()}),t)}function ts(){null!==Zr&&(clearInterval(Zr),Zr=null)}const ns=Jetpack_Boost.connection,{subscribe:os,update:rs}=Dn(ns);function ss(e){rs((t=>({...t,...e})))}const is={subscribe:os,initialize:async function(){ss({isConnecting:!0});try{const e=await So.post("/connection");e.connected&&await async function(){kr(Sr(await So.get("/optimizations/status")))}(),await async function(){await Bo.refresh(),_(Pr("cloud-css"))&&await qr()}(),ss(e)}catch(e){ss({isConnecting:!1,error:e})}},refresh:async function(){ss(await So.get("/connection"))}};function as(e){let t,n,o,r=[{class:"gridicon gridicons-checkmark-circle"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-checkmark-circle"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function cs(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class ls extends Je{constructor(e){super(),He(this,e,cs,as,h,{})}}function us(e,t,n){const o=e.slice();return o[2]=t[n],o}function ps(e){let t,n,o,r,s,i,c,l=e[2]+"";return n=new ls({}),{c(){t=D("div"),Ve(n.$$.fragment),o=J(),r=D("span"),s=H(l),i=J(),K(t,"class","checklist__item")},m(e,a){R(e,t,a),De(n,t,null),M(t,o),M(t,r),M(r,s),M(t,i),c=!0},p:a,i(e){c||(Me(n.$$.fragment,e),c=!0)},o(e){Ne(n.$$.fragment,e),c=!1},d(e){e&&I(t),Fe(n)}}}function ds(e){let n,o;return n=new cr({props:{title:t.__("Failed to connect to WordPress.com","jetpack-boost"),suggestion:t.__("If you need further assistance, contact <support>Jetpack Boost Support</support>.","jetpack-boost"),error:e[0].error}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};1&t&&(o.error=e[0].error),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function ms(e){let n,o=t.__("Get Started","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function hs(e){let n,o=t.__("Connecting to WordPress.com","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function gs(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,y,b,v,$,w,x,k,j,S;r=new $r({});let C=e[1],E=[];for(let t=0;t<C.length;t+=1)E[t]=ps(us(e,C,t));const L=e=>Ne(E[e],1,1,(()=>{E[e]=null}));let P=e[0].error&&ds(e);function z(e,t){return e[0].isConnecting?hs:ms}let B=z(e),N=B(e);return $=new tr({props:{template:t.__("By clicking the button above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareLink>share details</shareLink> with WordPress.com.","jetpack-boost"),vars:{...Ko(Ro("https://jetpack.com/redirect/?source=wpcom-tos"),"tosLink"),...Ko(Ro("https://jetpack.com/redirect/?source=jetpack-support-what-data-does-jetpack-sync"),"shareLink")}}}),x=new fr({}),{c(){n=D("div"),o=D("div"),Ve(r.$$.fragment),s=J(),i=D("div"),a=D("div"),c=D("div"),l=D("h1"),l.textContent=`${t.__("Get faster loading times with Jetpack Boost","jetpack-boost")}`,u=J(),p=D("p"),p.textContent=`${t.__("Connect Jetpack Boost and we will make your site faster in no time.","jetpack-boost")}`,d=J(),m=D("div");for(let e=0;e<E.length;e+=1)E[e].c();h=J(),P&&P.c(),g=J(),f=D("button"),N.c(),y=J(),b=D("div"),v=D("p"),Ve($.$$.fragment),w=J(),Ve(x.$$.fragment),K(o,"class","jb-container"),K(l,"class","jb-connection__title"),K(p,"class","jb-connection__description"),K(c,"class","jb-connection__header"),K(m,"class","checklist"),K(f,"type","button"),K(f,"class","components-button is-jb-primary"),f.disabled=_=e[0].isConnecting,K(b,"class","jb-connection-overlay"),K(a,"class","jb-connection"),K(i,"class","jb-section__inner connection"),K(n,"id","jb-settings"),K(n,"class","jb-settings jb-settings--main")},m(e,t){R(e,n,t),M(n,o),De(r,o,null),M(n,s),M(n,i),M(i,a),M(a,c),M(c,l),M(c,u),M(c,p),M(a,d),M(a,m);for(let e=0;e<E.length;e+=1)E[e].m(m,null);M(a,h),P&&P.m(a,null),M(a,g),M(a,f),N.m(f,null),M(a,y),M(a,b),M(b,v),De($,v,null),M(n,w),De(x,n,null),k=!0,j||(S=U(f,"click",is.initialize),j=!0)},p(e,[t]){if(2&t){let n;for(C=e[1],n=0;n<C.length;n+=1){const o=us(e,C,n);E[n]?(E[n].p(o,t),Me(E[n],1)):(E[n]=ps(o),E[n].c(),Me(E[n],1),E[n].m(m,null))}for(ze(),n=C.length;n<E.length;n+=1)L(n);Be()}e[0].error?P?(P.p(e,t),1&t&&Me(P,1)):(P=ds(e),P.c(),Me(P,1),P.m(a,g)):P&&(ze(),Ne(P,1,1,(()=>{P=null})),Be()),B===(B=z(e))&&N?N.p(e,t):(N.d(1),N=B(e),N&&(N.c(),N.m(f,null))),(!k||1&t&&_!==(_=e[0].isConnecting))&&(f.disabled=_)},i(e){if(!k){Me(r.$$.fragment,e);for(let e=0;e<C.length;e+=1)Me(E[e]);Me(P),Me($.$$.fragment,e),Me(x.$$.fragment,e),k=!0}},o(e){Ne(r.$$.fragment,e),E=E.filter(Boolean);for(let e=0;e<E.length;e+=1)Ne(E[e]);Ne(P),Ne($.$$.fragment,e),Ne(x.$$.fragment,e),k=!1},d(e){e&&I(n),Fe(r),V(E,e),P&&P.d(),N.d(),Fe($),Fe(x),j=!1,S()}}}function fs(e,n,o){let r;y(e,is,(e=>o(0,r=e)));const s=[t.__("Speed up your site load time","jetpack-boost"),t.__("Decrease bounce rate of your visitors","jetpack-boost"),t.__("Improve your SEO ranking","jetpack-boost"),t.__("Sell more stuff","jetpack-boost")];return[r,s]}class _s extends Je{constructor(e){super(),He(this,e,fs,gs,h,{})}}const ys=t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as Critical CSS.","jetpack-boost"),bs=t.__("Run non-essential JavaScript after the page has loaded so that styles and images can load more quickly. Read more on <link>web.dev</link>.","jetpack-boost"),vs=gt(bs,{link:We.exports.jsx("a",{href:ot("jetpack-boost-defer-js"),target:"_blank",rel:"noreferrer"})}),$s=t.__("Improve page loading speed by only loading images when they are required. Read more on <link>web.dev</link>.","jetpack-boost"),ws=gt($s,{link:We.exports.jsx("a",{href:ot("jetpack-boost-lazy-load"),target:"_blank",rel:"noreferrer"})}),xs=t.__("Paid customers get dedicated email support from our world-class Happiness Engineers to help with any issue.<br><br>All other questions are handled by our team as quickly as we are able to go through the WordPress support forum.","jetpack-boost"),ks=({pricing:n,onPremiumCTA:o,onFreeCTA:r})=>{const[s,i]=e.useState(!1),[a,c]=e.useState(!1),l=n.yearly.isIntroductoryOffer?t.__("First Year Discount","jetpack-boost"):"";return We.exports.jsxs(En,{title:t.__("The easiest speed optimization plugin for WordPress","jetpack-boost"),items:[{name:t.__("Optimize CSS Loading","jetpack-boost"),tooltipInfo:ys},{name:t.__("Defer non-essential JavaScript","jetpack-boost"),tooltipInfo:vs},{name:t.__("Lazy image loading","jetpack-boost"),tooltipInfo:ws},{name:t.__("Dedicated support","jetpack-boost"),tooltipInfo:We.exports.jsx("span",{dangerouslySetInnerHTML:{__html:xs}})}],children:[We.exports.jsxs(Cn,{primary:!0,children:[We.exports.jsxs(Sn,{children:[We.exports.jsx(An,{price:n.yearly.priceBefore/12,offPrice:n.yearly.priceAfter/12,currency:n.yearly.currencyCode,hideDiscountLabel:!1,promoLabel:l}),We.exports.jsx(Bt,{onClick:()=>{i(!0),o()},isLoading:s,disabled:a||s,fullWidth:!0,children:t.__("Get Boost","jetpack-boost")})]}),We.exports.jsx(jn,{isIncluded:!0,label:t.__("Automatic Critical CSS Generation","jetpack-boost")}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0})]}),We.exports.jsxs(Cn,{children:[We.exports.jsxs(Sn,{children:[We.exports.jsx(An,{price:0,legend:"",currency:n.yearly.currencyCode,hidePriceFraction:!0}),We.exports.jsx(Bt,{onClick:()=>{c(!0),r()},isLoading:a,disabled:a||s,fullWidth:!0,variant:"secondary",children:t.__("Start for free","jetpack-boost")})]}),We.exports.jsx(jn,{isIncluded:!1,label:t.__("Manual Critical CSS Generation","jetpack-boost")}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!0}),We.exports.jsx(jn,{isIncluded:!1,label:t.__("No dedicated support","jetpack-boost")})]})]})};function js(e){let t,n,o,r;return o=new vo({props:{this:ks,pricing:e[0],onPremiumCTA:e[2],onFreeCTA:e[1]}}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),K(n,"class","jb-container"),K(t,"class","jb-section jb-section--alt")},m(e,s){R(e,t,s),M(t,n),De(o,n,null),r=!0},p(e,t){const n={};1&t&&(n.pricing=e[0]),o.$set(n)},i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(t),Fe(o)}}}function Ss(e){let t,n,o,r,s;o=new $r({});let i=e[0].yearly&&js(e);return{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),i&&i.c(),K(n,"class","jb-container"),K(t,"id","jb-settings"),K(t,"class","jb-settings jb-settings--main")},m(e,a){R(e,t,a),M(t,n),De(o,n,null),M(t,r),i&&i.m(t,null),s=!0},p(e,[n]){e[0].yearly?i?(i.p(e,n),1&n&&Me(i,1)):(i=js(e),i.c(),Me(i,1),i.m(t,null)):i&&(ze(),Ne(i,1,1,(()=>{i=null})),Be())},i(e){s||(Me(o.$$.fragment,e),Me(i),s=!0)},o(e){Ne(o.$$.fragment,e),Ne(i),s=!1},d(e){e&&I(t),Fe(o),i&&i.d()}}}function Cs(e,t,n){let o,r;y(e,Bo,(e=>n(5,r=e)));let{navigate:s,location:i}=t;return le((()=>{void 0===o.yearly&&(zo(),s("/",{replace:!0}))})),e.$$set=e=>{"navigate"in e&&n(3,s=e.navigate),"location"in e&&n(4,i=e.location)},e.$$.update=()=>{32&e.$$.dirty&&n(0,o=r.pricing)},[o,async()=>{zo(),await Cr("critical-css",!0),s("/")},async()=>{await Oo("premium_cta_from_getting_started_page_in_plugin",{}),window.location.href=Ao()},s,i,r]}class Es extends Je{constructor(e){super(),He(this,e,Cs,Ss,h,{navigate:3,location:4})}}function Ls(e){let n,r,s,i,a,c,l,u,p,d,m,h,f,_,y,b,v,$,w,x,k,j,S,C,E;return s=new _o({}),l=new To({props:{class:"my-2"}}),x=new vo({props:{this:o.Button,label:t.__("Continue","jetpack-boost"),onClick:e[2],className:"jp-action-button--button jb-button jb-button--primary mt-3",children:t.__("Continue","jetpack-boost")}}),{c(){var e,o;n=D("div"),r=D("div"),Ve(s.$$.fragment),i=J(),a=D("div"),c=D("div"),Ve(l.$$.fragment),u=J(),p=D("h1"),p.textContent=`${t.__("Your Jetpack Boost has been upgraded!","jetpack-boost")}`,d=J(),m=D("p"),m.textContent=`${t.__("When you update your site, it will now be optimized automatically with automated critical CSS","jetpack-boost")}`,h=J(),f=D("ul"),_=D("li"),_.textContent=`${t.__("Automatic critical CSS regeneration","jetpack-boost")}`,y=J(),b=D("li"),b.textContent=`${t.__("Performance scores are recalculated after each change","jetpack-boost")}`,v=J(),$=D("li"),$.textContent=`${t.__("Dedicated email support","jetpack-boost")}`,w=J(),Ve(x.$$.fragment),k=J(),j=D("div"),S=D("img"),K(p,"class","my-2"),K(m,"class","jb-card__summary my-2"),K(f,"class","jb-checklist my-2"),K(c,"class","jb-card__content"),e=S.src,o=C=`${window.Jetpack_Boost.site.assetPath}../static/images/boost.png`,g||(g=document.createElement("a")),g.href=o,e!==g.href&&K(S,"src",C),K(S,"alt",t.__("Optimize with Jetpack Boost","jetpack-boost")),K(j,"class","jb-card__cta px-1 py-4"),K(a,"class","jb-card"),K(r,"class","jb-container jb-container--fixed mt-2"),K(n,"id","jb-settings"),K(n,"class","jb-settings")},m(e,t){R(e,n,t),M(n,r),De(s,r,null),M(r,i),M(r,a),M(a,c),De(l,c,null),M(c,u),M(c,p),M(c,d),M(c,m),M(c,h),M(c,f),M(f,_),M(f,y),M(f,b),M(f,v),M(f,$),M(c,w),De(x,c,null),M(a,k),M(a,j),M(j,S),E=!0},p(e,[t]){const n={};1&t&&(n.onClick=e[2]),x.$set(n)},i(e){E||(Me(s.$$.fragment,e),Me(l.$$.fragment,e),Me(x.$$.fragment,e),E=!0)},o(e){Ne(s.$$.fragment,e),Ne(l.$$.fragment,e),Ne(x.$$.fragment,e),E=!1},d(e){e&&I(n),Fe(s),Fe(l),Fe(x)}}}function Ps(e,t,n){let{location:o,navigate:r}=t;le((async()=>{await Cr("cloud-css",!0),await qr()}));return e.$$set=e=>{"location"in e&&n(1,o=e.location),"navigate"in e&&n(0,r=e.navigate)},[r,o,()=>r("/")]}class zs extends Je{constructor(e){super(),He(this,e,Ps,Ls,h,{location:1,navigate:0})}}const Bs=e=>`@@svnav-ctx__${e}`,Ms=Bs("LOCATION"),Ns=Bs("ROUTER"),Ts=Bs("ROUTE"),Os=Bs("ROUTE_PARAMS"),Rs=Bs("FOCUS_ELEM"),As=/^:(.+)/,Is=(e,t)=>e.substr(0,t.length)===t,Vs=e=>"*"===e[0],Ds=e=>e.replace(/(^\/+|\/+$)/g,"");function Fs(e,t=!1){const n=Ds(e).split("/");return t?n.filter(Boolean):n}const Hs=(e,t)=>e+(t?`?${t}`:""),Js=e=>`/${Ds(e)}`;function Ws(...e){const t=e.map((e=>Fs(e,!0).join("/"))).join("/");return Js(t)}const Us=e=>void 0===e,Gs=e=>"number"==typeof e;function Ks(){let e=0;return()=>e++}const qs="undefined"==typeof window;function Ys(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}const Xs={1:"Link",2:"Route",3:"Router",4:"useFocus",5:"useLocation",6:"useMatch",7:"useNavigate",8:"useParams",9:"useResolvable",10:"useResolve",11:"navigate"},Zs=e=>Xs[e];function Qs(e,t,n,o){const r=n&&function(e,t){let n;return 2===e?n=t.path?`path="${t.path}"`:"default":1===e?n=`to="${t.to}"`:3===e&&(n=`basepath="${t.basepath||""}"`),`<${Zs(e)} ${n||""} />`}(o||e,n),s=r?`\n\nOccurred in: ${r}`:"",i=Zs(e);return`<${i}> ${"function"==typeof t?t(i):t}${s}`}const ei=e=>(...t)=>e(Qs(...t)),ti=ei((e=>{throw new Error(e)})),ni=ei(console.warn);function oi(e,t){return{route:e,score:e.default?0:Fs(e.fullPath).reduce(((e,t)=>{let n=e;return n+=4,(e=>""===e)(t)?n+=1:(e=>As.test(e))(t)?n+=2:Vs(t)?n-=5:n+=3,n}),0),index:t}}function ri(e,t){let n,o;const[r]=t.split("?"),s=Fs(r),i=""===s[0],a=function(e){return e.map(oi).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index))}(e);for(let e=0,r=a.length;e<r;e++){const{route:r}=a[e];let c=!1;const l={},u=e=>({...r,params:l,uri:e});if(r.default){o=u(t);continue}const p=Fs(r.fullPath),d=Math.max(s.length,p.length);let m=0;for(;m<d;m++){const e=p[m],t=s[m];if(!Us(e)&&Vs(e)){const t="*"===e?"*":e.slice(1);l[t]=s.slice(m).map(decodeURIComponent).join("/");break}if(Us(t)){c=!0;break}const n=As.exec(e);if(n&&!i){const e=decodeURIComponent(t);l[n[1]]=e}else if(e!==t){c=!0;break}}if(!c){n=u(Ws(...s.slice(0,m)));break}}return n||o||null}function si(e,t){return ri([e],t)}function ii(e,t){const{pathname:n,hash:o="",search:r="",state:s}=e,i=Fs(t,!0),a=Fs(n,!0);for(;i.length;)i[0]!==a[0]&&ti(3,`Invalid state: All locations must begin with the basepath "${t}", found "${n}"`),i.shift(),a.shift();return{pathname:Ws(...a),hash:o,search:r,state:s}}const ai=e=>1===e.length?"":e;function ci(e){const t=e.indexOf("?"),n=e.indexOf("#"),o=-1!==t,r=-1!==n,s=r?ai(e.substr(n)):"",i=r?e.substr(0,n):e,a=o?ai(i.substr(t)):"";return{pathname:o?i.substr(0,t):i,search:a,hash:s}}function li(e,t,n){return Ws(n,function(e,t){if(Is(e,"/"))return e;const[n,o]=e.split("?"),[r]=t.split("?"),s=Fs(n),i=Fs(r);if(""===s[0])return Hs(r,o);if(!Is(s[0],".")){const e=i.concat(s).join("/");return Hs(("/"===r?"":"/")+e,o)}const a=i.concat(s),c=[];return a.forEach((e=>{".."===e?c.pop():"."!==e&&c.push(e)})),Hs(`/${c.join("/")}`,o)}(e,t))}function ui(e,t){const n=Js(e.replace(/\*.*$/,""));const o=Fs(n,!0),r=si({fullPath:n},Ws(...Fs(t,!0).slice(0,o.length)));return r&&r.uri}function pi(e,t,n=Ns,o=3){me(n)||ti(e,(e=>`You cannot use ${e} outside of a ${Zs(o)}.`),t)}function di(){return pi(5),(e=>{const{subscribe:t}=me(e);return{subscribe:t}})(Ms)}function mi(){const e=me(Ts);return e?Fn(e,(e=>e.base)):Dn("/")}function hi(){pi(7);const e=function(){pi(10);const e=mi(),{basepath:t}=me(Ns);return n=>li(n,_(e),t)}(),{navigate:t}=function(){const{history:e}=me(Ns);return e}();return(n,o)=>{const r=Gs(n)?n:e(n);return t(r,o)}}const gi="POP";function fi(e){return{...e.location,pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"}}function _i(e,t){return{...ci(t),state:e}}const yi=!(qs||!window.document||!window.document.createElement),bi=!qs&&"null"===window.location.origin,vi=function(e){let t=[],n=fi(e),o=gi;const r=(e=t)=>e.forEach((e=>e({location:n,action:o})));return{get location(){return n},listen(s){t.push(s);r([s]);const i=Ys(e,"popstate",(()=>{n=fi(e),o=gi,r([s])}));return()=>{i(),t=t.filter((e=>e!==s))}},navigate(t,s){const{state:i={},replace:a=!1}=s||{};if(o=a?"REPLACE":"PUSH",Gs(t))s&&ni(11,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),o=gi,e.history.go(t);else{const n={...i,_key:Math.random().toString(36).substring(2)};try{e.history[a?"replaceState":"pushState"](n,"",t)}catch(n){e.location[a?"replace":"assign"](t)}}n=fi(e),r()}}}(yi&&!bi?window:function(e="/"){let t=0,n=[_i(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(e,o,r){t++,n=n.slice(0,t),n.push(_i(e,r))},replaceState(e,o,r){n[t]=_i(e,r)},go(e){const o=t+e;o<0||o>n.length-1||(t=o)}}}}());let $i=null,wi=!0;function xi(e){(!$i||e.level>$i.level||e.level===$i.level&&function(e,t){const n=document.querySelectorAll("[data-svnav-router]");for(let o=0;o<n.length;o++){const r=n[o],s=Number(r.dataset.svnavRouter);if(s===e)return!0;if(s===t)return!1}return!1}(e.routerId,$i.routerId))&&($i=e)}function ki(e){if(!e)return!1;const t="tabindex";try{if(!e.hasAttribute(t)){let n;e.setAttribute(t,"-1");const o=()=>{e.removeAttribute(t),n()};n=Ys(e,"blur",o)}return e.focus(),document.activeElement===e}catch(e){return!1}}function ji(e,t){return Number(e.dataset.svnavRouteEnd)===t}function Si(e,t=document){return t.querySelector(e)}function Ci(e){Promise.resolve(_(e.focusElement)).then((t=>{const n=t||function(e){let t=Si(`[data-svnav-route-start="${e}"]`).nextElementSibling;for(;!ji(t,e);){if(/^H[1-6]$/i.test(t.tagName))return t;const e=Si("h1,h2,h3,h4,h5,h6",t);if(e)return e;t=t.nextElementSibling}return null}(e.id);n||ni(3,'Could not find an element to focus. You should always render a header for accessibility reasons, or set a custom focus element via the "useFocus" hook. If you don\'t want this Route or Router to manage focus, pass "primary={false}" to it.',e,2);ki(n)||ki(document.documentElement)}))}const Ei=(e,t,n)=>(o,r)=>($e(),be).then((()=>{if($i&&!wi){if(o&&Ci($i.route),e.announcements&&r){const{path:o,fullPath:r,meta:s,params:i,uri:a}=$i.route,c=e.createAnnouncement({path:o,fullPath:r,meta:s,params:i,uri:a},_(n));Promise.resolve(c).then((e=>{t.set(e)}))}$i=null}else wi=!1}));function Li(e){let t,n,o,r,s;const i=e[20].default,a=b(i,e,e[19],null);let c=e[2]&&e[4]&&e[1].announcements&&function(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"role","status"),K(t,"aria-atomic","true"),K(t,"aria-live","polite"),K(t,"style","position:fixed;top:-1px;left:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t[0]&&Z(n,e[0])},d(e){e&&I(t)}}}(e);return{c(){t=D("div"),n=J(),a&&a.c(),o=J(),c&&c.c(),r=W(),Q(t,"display","none"),K(t,"aria-hidden","true"),K(t,"data-svnav-router",e[3])},m(e,i){R(e,t,i),R(e,n,i),a&&a.m(e,i),R(e,o,i),c&&c.m(e,i),R(e,r,i),s=!0},p(e,t){a&&a.p&&(!s||524288&t[0])&&w(a,i,e,e[19],s?$(i,e[19],t,null):x(e[19]),null),e[2]&&e[4]&&e[1].announcements&&c.p(e,t)},i(e){s||(Me(a,e),s=!0)},o(e){Ne(a,e),s=!1},d(e){e&&I(t),e&&I(n),a&&a.d(e),e&&I(o),c&&c.d(e),e&&I(r)}}}const Pi=Ks(),zi="/";function Bi(e,t,n){let o,r,s,i,a,{$$slots:c={},$$scope:l}=t,{basepath:u=zi}=t,{url:p=null}=t,{history:d=vi}=t,{primary:m=!0}=t,{a11y:h={}}=t;const g={createAnnouncement:e=>`Navigated to ${e.uri}`,announcements:!0,...h},f=u,_=Js(u),b=me(Ms),v=me(Ns),$=!b,w=Pi(),x=m&&!(v&&!v.manageFocus),k=Dn("");y(e,k,(e=>n(0,a=e)));const j=Dn([]);y(e,j,(e=>n(18,i=e)));const S=Dn(null);y(e,S,(e=>n(16,r=e)));let C=!1;const E=$?0:v.level+1,L=$?Dn(ii(qs?ci(p):d.location,_)):b;y(e,L,(e=>n(15,o=e)));const P=Dn(o);y(e,P,(e=>n(17,s=e)));const z=Ei(g,k,L),B=e=>t=>t.filter((t=>t.id!==e));return $||u===zi||ni(3,'Only top-level Routers can have a "basepath" prop. It is ignored.',{basepath:u}),$&&(le((()=>d.listen((e=>{const t=ii(e.location,_);P.set(o),L.set(t)})))),de(Ms,L)),de(Ns,{activeRoute:S,registerRoute:function(e){if(qs){if(C)return;const t=si(e,o.pathname);if(t)return C=!0,t}else j.update((t=>{const n=B(e.id)(t);return n.push(e),n}))},unregisterRoute:function(e){j.update(B(e))},manageFocus:x,level:E,id:w,history:$?d:v.history,basepath:$?_:v.basepath}),e.$$set=e=>{"basepath"in e&&n(10,u=e.basepath),"url"in e&&n(11,p=e.url),"history"in e&&n(12,d=e.history),"primary"in e&&n(13,m=e.primary),"a11y"in e&&n(14,h=e.a11y),"$$scope"in e&&n(19,l=e.$$scope)},e.$$.update=()=>{if(1024&e.$$.dirty[0]&&u!==f&&ni(3,'You cannot change the "basepath" prop. It is ignored.'),294912&e.$$.dirty[0]){const e=ri(i,o.pathname);S.set(e)}if(163840&e.$$.dirty[0]&&$){const e=!!o.hash,t=!e&&x,n=!e||o.pathname!==s.pathname;z(t,n)}65536&e.$$.dirty[0]&&x&&r&&r.primary&&xi({level:E,routerId:w,route:r})},[a,g,$,w,x,k,j,S,L,P,u,p,d,m,h,o,r,s,i,l,c]}var Mi=class extends Je{constructor(e){super(),He(this,e,Bi,Li,h,{basepath:10,url:11,history:12,primary:13,a11y:14},null,[-1,-1])}};const Ni=e=>({params:16&e,location:8&e}),Ti=e=>({params:qs?_(e[9]):e[4],location:e[3],navigate:e[10]});function Oi(e){let t,n;return t=new Mi({props:{primary:e[1],$$slots:{default:[Ii]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};2&n&&(o.primary=e[1]),264217&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Ri(e){let t;const n=e[17].default,o=b(n,e,e[18],Ti);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||262168&r)&&w(o,n,e,e[18],t?$(n,e[18],r,Ni):x(e[18]),Ti)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function Ai(e){let t,n,o;const r=[{location:e[3]},{navigate:e[10]},qs?_(e[9]):e[4],e[11]];var s=e[0];function i(e){let t={};for(let e=0;e<r.length;e+=1)t=l(t,r[e]);return{props:t}}return s&&(t=new s(i())),{c(){t&&Ve(t.$$.fragment),n=W()},m(e,r){t&&De(t,e,r),R(e,n,r),o=!0},p(e,o){const a=3608&o?Ae(r,[8&o&&{location:e[3]},1024&o&&{navigate:e[10]},528&o&&Ie(qs?_(e[9]):e[4]),2048&o&&Ie(e[11])]):{};if(s!==(s=e[0])){if(t){ze();const e=t;Ne(e.$$.fragment,1,0,(()=>{Fe(e,1)})),Be()}s?(t=new s(i()),Ve(t.$$.fragment),Me(t.$$.fragment,1),De(t,n.parentNode,n)):t=null}else s&&t.$set(a)},i(e){o||(t&&Me(t.$$.fragment,e),o=!0)},o(e){t&&Ne(t.$$.fragment,e),o=!1},d(e){e&&I(n),t&&Fe(t,e)}}}function Ii(e){let t,n,o,r;const s=[Ai,Ri],i=[];function a(e,t){return null!==e[0]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,r){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Vi(e){let t,n,o,r,s,i=e[2]&&Oi(e);return{c(){t=D("div"),n=J(),i&&i.c(),o=J(),r=D("div"),Q(t,"display","none"),K(t,"aria-hidden","true"),K(t,"data-svnav-route-start",e[5]),Q(r,"display","none"),K(r,"aria-hidden","true"),K(r,"data-svnav-route-end",e[5])},m(e,a){R(e,t,a),R(e,n,a),i&&i.m(e,a),R(e,o,a),R(e,r,a),s=!0},p(e,[t]){e[2]?i?(i.p(e,t),4&t&&Me(i,1)):(i=Oi(e),i.c(),Me(i,1),i.m(o.parentNode,o)):i&&(ze(),Ne(i,1,1,(()=>{i=null})),Be())},i(e){s||(Me(i),s=!0)},o(e){Ne(i),s=!1},d(e){e&&I(t),e&&I(n),i&&i.d(e),e&&I(o),e&&I(r)}}}const Di=Ks();function Fi(e,t,n){let o;const r=["path","component","meta","primary"];let s,i,a,c,u=j(t,r),{$$slots:p={},$$scope:d}=t,{path:m=""}=t,{component:h=null}=t,{meta:g={}}=t,{primary:f=!0}=t;pi(2,t);const _=Di(),{registerRoute:b,unregisterRoute:v,activeRoute:$}=me(Ns);y(e,$,(e=>n(15,s=e)));const w=mi();y(e,w,(e=>n(16,a=e)));const x=di();y(e,x,(e=>n(3,i=e)));const S=Dn(null);let C;const E=Dn(),L=Dn({});y(e,L,(e=>n(4,c=e))),de(Ts,E),de(Os,L),de(Rs,S);const P=hi();return qs||ue((()=>v(_))),e.$$set=e=>{n(23,t=l(l({},t),k(e))),n(11,u=j(t,r)),"path"in e&&n(12,m=e.path),"component"in e&&n(0,h=e.component),"meta"in e&&n(13,g=e.meta),"primary"in e&&n(1,f=e.primary),"$$scope"in e&&n(18,d=e.$$scope)},e.$$.update=()=>{if(77834&e.$$.dirty){const e=""===m,t=Ws(a,m),o={id:_,path:m,meta:g,default:e,fullPath:e?"":t,base:e?a:ui(t,i.pathname),primary:f,focusElement:S};E.set(o),n(14,C=b(o))}if(49152&e.$$.dirty&&n(2,o=!!(C||s&&s.id===_)),49156&e.$$.dirty&&o){const{params:e}=C||s;L.set(e)}},t=k(t),[h,f,o,i,c,_,$,w,x,L,P,u,m,g,C,s,a,p,d]}var Hi=class extends Je{constructor(e){super(),He(this,e,Fi,Vi,h,{path:12,component:0,meta:13,primary:1})}};function Ji(e){return e<.5?4*e*e*e:.5*Math.pow(2*e-2,3)+1}function Wi(e){const t=e-1;return t*t*t+1}function Ui(e,{delay:t=0,duration:n=400,easing:o=Wi}={}){const r=getComputedStyle(e),s=+r.opacity,i=parseFloat(r.height),a=parseFloat(r.paddingTop),c=parseFloat(r.paddingBottom),l=parseFloat(r.marginTop),u=parseFloat(r.marginBottom),p=parseFloat(r.borderTopWidth),d=parseFloat(r.borderBottomWidth);return{delay:t,duration:n,easing:o,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*s};height: ${e*i}px;padding-top: ${e*a}px;padding-bottom: ${e*c}px;margin-top: ${e*l}px;margin-bottom: ${e*u}px;border-top-width: ${e*p}px;border-bottom-width: ${e*d}px;`}}function Gi(e){let n,o,r,s;return{c(){n=D("a"),o=D("span"),o.textContent=`${t.__("Dismiss","jetpack-boost")}`,K(o,"class","screen-reader-text"),K(n,"href","#"),K(n,"class","cross-close")},m(t,i){R(t,n,i),M(n,o),r||(s=U(n,"click",G(e[0])),r=!0)},p:a,i:a,o:a,d(e){e&&I(n),r=!1,s()}}}function Ki(e){return[function(t){he.call(this,e,t)}]}class qi extends Je{constructor(e){super(),He(this,e,Ki,Gi,h,{})}}const Yi=["core_front_page","core_posts_page","singular_page","singular_post"],Xi=Dn(Jetpack_Boost.criticalCssDismissedRecommendations||[]),Zi=Fn(Kr,(e=>e.providers_errors?Object.entries(e.providers_errors).map((([t,n])=>({key:t,label:e.provider_key_labels[t]||t,errors:sa(n)}))):[])),Qi={subscribe:Xi.subscribe},ea=Fn([Zi,Qi],(([e,t])=>e.filter((e=>!t.includes(e.key))))),ta=Fn(Zi,(e=>{for(const t of Yi){const n=e.find((e=>e.key===t));if(n)return n.errors[0]}})),na=Dn(null);function oa(e,t){na.set({title:e,error:t})}async function ra(){await So.post("/recommendations/reset",{nonce:Jetpack_Boost.nonces["recommendations/reset"]}),Xi.set([])}function sa(e){return function(e){const t=e.reduce(((e,t)=>(e[t]=(e[t]||0)+1,e)),{});return Object.keys(t).sort(((e,n)=>t[e]>t[n]?1:-1))}(Object.values(e).map(ia)).map((t=>{const n=(o=e,r=e=>ia(e)===t,Object.entries(o).reduce(((e,[t,n])=>(r(n,t)&&(e[t]=n),e)),{}));var o,r;const s=n[Object.keys(n)[0]];return{type:s.type,firstMeta:s.meta,byUrl:n}}))}function ia(e){return"HttpError"===e.type?e.type+"-"+$o(e.meta.code,""):"UnknownError"===e.type?e.type+"-"+e.message:e.type}function aa(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("rect"),o=F("g"),r=F("path"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,viewBox:!0});var s=Y(t);n=X(s,"rect",{x:!0,fill:!0,width:!0,height:!0}),Y(n).forEach(I),o=X(s,"g",{});var i=Y(o);r=X(i,"path",{d:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(n,"x","0"),K(n,"fill","none"),K(n,"width","24"),K(n,"height","24"),K(r,"d","M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(t,o),O(o,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function ca(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class la extends Je{constructor(e){super(),He(this,e,ca,aa,h,{})}}function ua(e,t){if("number"==typeof e)return e;if("string"==typeof e){const t=parseFloat(e);if(!isNaN(t))return t}return t}let pa;class da extends Error{constructor(e){super(e),this.name="AdminAjaxError"}}async function ma(e){const n={method:"post",body:new URLSearchParams(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}},o=await fetch(ajaxurl,n);if(!o.ok)throw new da(t.sprintf(t.__("Received HTTP %d while communicating with your WordPress site","jetpack-boost"),o.status));return o}let ha=!1;async function ga(){if(!ha)return fa(!1)}async function fa(e=!0,n=!1){ha=!0;let o=!1;try{e&&(await ra(),Ur({status:"requesting",progress:0}));const r=await async function(e,t){return Ar((e=>({...e,retried_show_stopper:t}))),Wr("post","/critical-css/request-generate",{reset:e})}(e,n);if(!r||"requesting"!==r.status)return;Ur({status:"requesting",progress:0}),await async function(){return pa||(pa=new Promise(((e,n)=>{const o=Jetpack_Boost.site.assetPath+"/critical-css-gen.js?ver="+Jetpack_Boost.version,r=document.createElement("script");r.src=o,r.addEventListener("error",(()=>n(new Error(t.sprintf(t.__("Failed to load Critical CSS library at %s","jetpack-boost"),o)))));const s=setTimeout((()=>{n(new Error(t.sprintf(t.__("Timeout while loading Critical CSS library at %s","jetpack-boost"),o)))}),6e4);r.addEventListener("load",(()=>{clearTimeout(s),e()})),document.body.appendChild(r)})),pa)}();const s=function(e,t){return(n,o,r,s)=>{const i=100/Math.max(1,o+e),a=r/Math.max(1,s);t((n+e+a)*i)}}(r.success_count||0,(e=>{if(!_(Pr("critical-css")))throw o=!0,new Error(t.__("Operation cancelled","jetpack-boost"));Ur({status:"requesting",progress:e})})),i={"jb-generate-critical-css":r.generation_nonce};Ur({status:"requesting",progress:0}),console.log("%cGenerating Critical CSS will often leave errors in your console. Most of them are nothing to worry about - just the sounds of your browser complaining about our strict security settings. Check out the following page for more information: https://jetpack.com/support/performance/jetpack-boost/jetpack-boost-console-error/","font-size: 1rem;line-height:1.6;"),await async function(e,t,n,o,r,s,i){const a=Object.keys(e).length+1;let c=0;const l=Date.now();let u=0,p=0,d=0,m=0;for(const[h,g]of Object.entries(e)){r(++c,a,0,0);try{const[e,l]=await CriticalCSSGenerator.generateCriticalCSS({browserInterface:_a(t,i),urls:g,viewports:n,progressCallback:(e,t)=>{r(c,a,e,t)},filters:{atRules:ya,properties:ba},successRatio:s[h]});if(!1===await Gr(h,"success",{data:e,warnings:l.map((e=>e.toString())),passthrough:o}))return;p++,u+=e.length,m=e.length>m?e.length:m}catch(e){if(!e.isSuccessTargetError){await Gr(h,"error",{data:{show_stopper:!0,error:e.message},passthrough:o});return void Oo("critical_css_failure",{time:Date.now()-l,provider_key:h,error_message:e.message,error_type:e.type||e.constructor&&e.constructor.name||"unknown"})}{await Gr(h,"error",{data:{show_stopper:!1,provider_key:h,urls:e.urlErrors},passthrough:o}),d++;const t=e.urlErrors;for(const[e,n]of Object.entries(t)){const t={url:e,provider_key:h,error_message:n.message,error_type:n.type};"HttpError"===n.type&&(t.error_meta=ua(n.meta.code)),Oo("critical_css_url_error",t)}}}}if(0===p){Oo("critical_css_failure",{time:Date.now()-l,error_message:"Critical CSS Generation failed for all the provider keys.",error_type:"allProvidersError"})}else{Oo("critical_css_success",{time:Date.now()-l,block_count:p,error_count:d,average_size:u/Math.max(1,p),max_size:m,provider_keys:Object.keys(e).join(",")})}Ur({status:"success",progress:0})}(r.pending_provider_keys,i,r.viewports,r.callback_passthrough,s,r.provider_success_ratio,r.proxy_nonce)}catch(e){o||(r=e,Ar((e=>({...e,status:"error",status_error:r}))))}finally{Ur({status:"success",progress:0})}var r}function _a(e,t){return new class extends CriticalCSSGenerator.BrowserInterfaceIframe{constructor(){super({requestGetParameters:e,verifyPage:va,allowScripts:!1})}fetch(e,n,o){return"css"!==o||function(e){return new URL(e).origin===window.location.origin}(e)?fetch(e,n):ma({action:"boost_proxy_css",proxy_url:e,nonce:t})}}}function ya(e){return!e.endsWith("keyframes")}function ba(e,t){const n=function(e){for(const t of["-webkit-","-moz-","-ms-","-o-"])if(e.startsWith(t))return e.substring(t.length);return e}(e);return!n.startsWith("animation")}function va(e,t,n){return!!n.querySelector('meta[name="jb-generate-critical-css"]')}function $a(e){let t;const n=e[4].default,o=b(n,e,e[3],null);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||8&r)&&w(o,n,e,e[3],t?$(n,e[3],r,null):x(e[3]),null)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function wa(e){let t,n,o,r,s,i,a,c=(e[0]?e[2]:e[1])+"",l=e[0]&&$a(e);return{c(){t=D("button"),n=H(c),o=J(),l&&l.c(),r=W(),K(t,"class","components-button is-link foldable-element-control"),ee(t,"visible",e[0])},m(c,u){R(c,t,u),M(t,n),R(c,o,u),l&&l.m(c,u),R(c,r,u),s=!0,i||(a=U(t,"click",e[5]),i=!0)},p(e,[o]){(!s||7&o)&&c!==(c=(e[0]?e[2]:e[1])+"")&&Z(n,c),1&o&&ee(t,"visible",e[0]),e[0]?l?(l.p(e,o),1&o&&Me(l,1)):(l=$a(e),l.c(),Me(l,1),l.m(r.parentNode,r)):l&&(ze(),Ne(l,1,1,(()=>{l=null})),Be())},i(e){s||(Me(l),s=!0)},o(e){Ne(l),s=!1},d(e){e&&I(t),e&&I(o),l&&l.d(e),e&&I(r),i=!1,a()}}}function xa(e,t,n){let{$$slots:o={},$$scope:r}=t,{showLabel:s}=t,{hideLabel:i}=t,{visible:a=!1}=t;return e.$$set=e=>{"showLabel"in e&&n(1,s=e.showLabel),"hideLabel"in e&&n(2,i=e.hideLabel),"visible"in e&&n(0,a=e.visible),"$$scope"in e&&n(3,r=e.$$scope)},[a,s,i,r,o,()=>n(0,a=!a)]}Lr.subscribe((e=>{e["critical-css"]&&e["critical-css"].enabled||(ha=!1)}));class ka extends Je{constructor(e){super(),He(this,e,xa,wa,h,{showLabel:1,hideLabel:2,visible:0})}}function ja(e,t,n){const o=e.slice();return o[6]=t[n],o}const Sa=e=>({entry:7&e}),Ca=e=>({entry:e[6]});function Ea(e){let t,n,o;const r=e[5].default,s=b(r,e,e[4],Ca);return{c(){t=D("li"),s&&s.c()},m(e,n){R(e,t,n),s&&s.m(t,null),o=!0},p(e,t){s&&s.p&&(!o||23&t)&&w(s,r,e,e[4],o?$(r,e[4],t,Sa):x(e[4]),Ca)},i(e){o||(Me(s,e),e&&we((()=>{n||(n=Oe(t,Ui,{},!0)),n.run(1)})),o=!0)},o(e){Ne(s,e),e&&(n||(n=Oe(t,Ui,{},!1)),n.run(0)),o=!1},d(e){e&&I(t),s&&s.d(e),e&&n&&n.end()}}}function La(e){let n,o,r,s,i,a,c,l=t.sprintf(t.__("…and %d more","jetpack-boost"),e[0].length-e[1])+"";return{c(){n=D("a"),o=H(l),K(n,"href",r="#")},m(t,r){R(t,n,r),M(n,o),i=!0,a||(c=U(n,"click",G(e[3])),a=!0)},p(e,n){(!i||3&n)&&l!==(l=t.sprintf(t.__("…and %d more","jetpack-boost"),e[0].length-e[1])+"")&&Z(o,l)},i(e){i||(e&&we((()=>{s||(s=Oe(n,Ui,{},!0)),s.run(1)})),i=!0)},o(e){e&&(s||(s=Oe(n,Ui,{},!1)),s.run(0)),i=!1},d(e){e&&I(n),e&&s&&s.end(),a=!1,c()}}}function Pa(e){let t,n,o,r=e[2]?e[0]:e[0].slice(0,e[1]),s=[];for(let t=0;t<r.length;t+=1)s[t]=Ea(ja(e,r,t));const i=e=>Ne(s[e],1,1,(()=>{s[e]=null}));let a=!e[2]&&e[0].length>e[1]&&La(e);return{c(){t=D("ul");for(let e=0;e<s.length;e+=1)s[e].c();n=J(),a&&a.c()},m(e,r){R(e,t,r);for(let e=0;e<s.length;e+=1)s[e].m(t,null);M(t,n),a&&a.m(t,null),o=!0},p(e,[o]){if(23&o){let a;for(r=e[2]?e[0]:e[0].slice(0,e[1]),a=0;a<r.length;a+=1){const i=ja(e,r,a);s[a]?(s[a].p(i,o),Me(s[a],1)):(s[a]=Ea(i),s[a].c(),Me(s[a],1),s[a].m(t,n))}for(ze(),a=r.length;a<s.length;a+=1)i(a);Be()}!e[2]&&e[0].length>e[1]?a?(a.p(e,o),7&o&&Me(a,1)):(a=La(e),a.c(),Me(a,1),a.m(t,null)):a&&(ze(),Ne(a,1,1,(()=>{a=null})),Be())},i(e){if(!o){for(let e=0;e<r.length;e+=1)Me(s[e]);Me(a),o=!0}},o(e){s=s.filter(Boolean);for(let e=0;e<s.length;e+=1)Ne(s[e]);Ne(a),o=!1},d(e){e&&I(t),V(s,e),a&&a.d()}}}function za(e,t,n){let{$$slots:o={},$$scope:r}=t,{entries:s=[]}=t,{showLimit:i=2}=t,a=!1;return e.$$set=e=>{"entries"in e&&n(0,s=e.entries),"showLimit"in e&&n(1,i=e.showLimit),"$$scope"in e&&n(4,r=e.$$scope)},[s,i,a,function(){n(2,a=!a)},r,o]}class Ba extends Je{constructor(e){super(),He(this,e,za,Pa,h,{entries:0,showLimit:1})}}function Ma(e,t,n){const o=e.slice();return o[2]=t[n],o[4]=n,o}function Na(e){let t,n,o,r,s,i,a,c,l=e[4]+1+"";return i=new tr({props:{template:e[2],vars:e[1]}}),{c(){t=D("li"),n=D("span"),o=H(l),r=J(),s=D("span"),Ve(i.$$.fragment),a=J(),K(n,"class","index"),K(s,"class","text")},m(e,l){R(e,t,l),M(t,n),M(n,o),M(t,r),M(t,s),De(i,s,null),M(t,a),c=!0},p(e,t){const n={};1&t&&(n.template=e[2]),2&t&&(n.vars=e[1]),i.$set(n)},i(e){c||(Me(i.$$.fragment,e),c=!0)},o(e){Ne(i.$$.fragment,e),c=!1},d(e){e&&I(t),Fe(i)}}}function Ta(e){let t,n,o=e[0],r=[];for(let t=0;t<o.length;t+=1)r[t]=Na(Ma(e,o,t));const s=e=>Ne(r[e],1,1,(()=>{r[e]=null}));return{c(){t=D("ol");for(let e=0;e<r.length;e+=1)r[e].c();K(t,"class","numbered-list")},m(e,o){R(e,t,o);for(let e=0;e<r.length;e+=1)r[e].m(t,null);n=!0},p(e,[n]){if(3&n){let i;for(o=e[0],i=0;i<o.length;i+=1){const s=Ma(e,o,i);r[i]?(r[i].p(s,n),Me(r[i],1)):(r[i]=Na(s),r[i].c(),Me(r[i],1),r[i].m(t,null))}for(ze(),i=o.length;i<r.length;i+=1)s(i);Be()}},i(e){if(!n){for(let e=0;e<o.length;e+=1)Me(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let e=0;e<r.length;e+=1)Ne(r[e]);n=!1},d(e){e&&I(t),V(r,e)}}}function Oa(e,t,n){let{items:o}=t,{vars:r}=t;return e.$$set=e=>{"items"in e&&n(0,o=e.items),"vars"in e&&n(1,r=e.vars)},[o,r]}class Ra extends Je{constructor(e){super(),He(this,e,Oa,Ta,h,{items:0,vars:1})}}function Aa(e){let n,o,r,s,i,c,l,u,p,d,m,h,g,f,_,y;return{c(){n=D("div"),o=D("div"),r=D("div"),r.textContent=`${t.__("Protocol","jetpack-boost")}`,s=J(),i=D("div"),c=J(),l=H(e[0]),u=J(),p=D("div"),p.textContent="://",d=J(),m=D("div"),h=D("div"),h.textContent=`${t.__("Host name","jetpack-boost")}`,g=J(),f=D("div"),_=J(),y=H(e[1]),K(r,"class","label"),K(i,"class","arrows"),K(o,"class","segment"),K(p,"class","segment"),K(h,"class","label"),K(f,"class","arrows"),K(m,"class","segment"),K(n,"class","url-container")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(o,s),M(o,i),M(o,c),M(o,l),M(n,u),M(n,p),M(n,d),M(n,m),M(m,h),M(m,g),M(m,f),M(m,_),M(m,y)},p:a,i:a,o:a,d(e){e&&I(n)}}}function Ia(e){return[window.location.protocol.split(":")[0],window.location.hostname]}class Va extends Je{constructor(e){super(),He(this,e,Ia,Aa,h,{})}}function Da(e){return Ga(e.type).describeSet(e)}function Fa(e){const t=Ga(e.type);return t.suggestion?t.suggestion(e):{paragraph:""}}function Ha(e){const t=Ga(e.type);return t.footerComponent?t.footerComponent():null}function Ja(e){const t=Ga(e.type);return t.rawError?t.rawError(e):""}function Wa(e){return Object.keys(e.byUrl).length}const Ua={HttpError:{describeSet:e=>t.sprintf(t._n("Boost received HTTP error <b>%d</b> on the following page:","Boost received HTTP error <b>%d</b> on the following pages:",Wa(e),"jetpack-boost"),e.firstMeta.code),suggestion:e=>function(e,n){switch(e){case 401:case 403:return{paragraph:t.sprintf(t._n("%d means there is a permission issue in your WordPress site. Please follow these troubleshooting steps for the page:","%d means there is a permission issue in your WordPress site. Please follow these troubleshooting steps for each of the pages:",n,"jetpack-boost"),e),list:[t.__("Check your WordPress settings, or contact your hosting provider to ask why the above URL is unavailable.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")],closingParagraph:t.__("If this is a private page and not supposed to be viewed publicly, you can safely ignore this message.","jetpack-boost")};case 404:return{paragraph:t._n("Your WordPress site has reported that the above page does not exist. Please ensure that the URL is correct, and <retry>try again</retry>.","Your WordPress site has reported that the above pages do not exist. Please ensure that the URLs are correct, and <retry>try again</retry>.",n,"jetpack-boost"),list:[t.__("Visit the link, and confirm that the page you landed on loads successfully.","jetpack-boost"),t.__("If the page shows an error, please verify that the page should be a part of your WordPress site.","jetpack-boost"),t.__('Try visiting the link using "Incognito Mode" or "Private Browsing" in your browser to check if the error occurs when you are not logged in.',"jetpack-boost"),t.__('If you see an error only when not logged into your WordPress site (i.e.: in "Incognito Mode"), then check for plugins which might be enforcing access permissions on your pages. For example, a plugin which only allows authenticated users to view specific areas of your site.',"jetpack-boost")],closingParagraph:t.__("If the page is only accessible to users who are logged in to your WordPress site, or should not be a part of your site then it is safe to ignore this error.","jetpack-boost")};case 418:return{paragraph:t.__("Your WordPress site returned a 418 error which many web hosts use to indicate they rejected your request due to security rules. Please contact your hosting provider for more information.","jetpack-boost"),list:[t.__('Contact your hosting provider, with details of this issue. Please let them know it is an "HTTP 418" error, which URL(s) are affected, and the time it occurred.',"jetpack-boost"),t.__("Your hosting provider should be able to advise you on next steps.","jetpack-boost"),t.__("If you manage to sort the issue out with your hosting provider, please <retry>try again</retry> to regenerate your Critical CSS.","jetpack-boost")]};case 500:return{paragraph:t._n("Your WordPress site encountered an error while trying to load the above page.","Your WordPress site encountered errors while trying to load the above pages.",n,"jetpack-boost"),list:[t.__('Learn about the error and common solutions by <a target="_blank" href="https://wordpress.org/support/article/common-wordpress-errors/#internal-server-error">clicking here</a>.',"jetpack-boost"),t.__("If the issue is still not resolved, check your server logs or contact your hosting provider for help to investigate the issue.","jetpack-boost"),t.__("Once you have resolved the issue which caused the 500 error, you can <retry>try again</retry>.","jetpack-boost")]};default:return{paragraph:t._n("Please verify the link is valid and <retry>try again</retry>. We recommend the following:","Please verify each link is valid and <retry>try again</retry>. For each link, we recommend the following:",n,"jetpack-boost"),list:[t.__("Visit the link and check for an error.","jetpack-boost"),t.__("<retry>Try to generate Critical CSS again<retry>, in case the error was intermittent.","jetpack-boost"),t.sprintf(t.__("Check your server logs for information about the HTTP %d error, or contact your hosting provider for help with investigating the problem.","jetpack-boost"),e),t.__("Once you have resolved the error, please <retry>try again</retry>.","jetpack-boost"),t.__("If you need help understanding the error, or investigating what went wrong please contact <support>Jetpack Boost Support</support>.","jetpack-boost")]}}}(ua(e.firstMeta.code),Wa(e))},RedirectError:{describeSet:e=>t._n("This URL is redirecting to a different page:","These URLs are redirecting to different pages:",Wa(e),"jetpack-boost"),suggestion:e=>({paragraph:t.__("This may indicate that a WordPress plugin is redirecting users who are not logged in to a different location, or it may indicate that your hosting provider is redirecting your WordPress site to a different URL.","jetpack-boost"),list:[t.__('Try visiting the link using "Incognito Mode" or "Private Browsing" in your browser and note if the page is being redirected.',"jetpack-boost"),t.__("If it is redirecting, check if a plugin could potentially create the redirection and fix it if appropriate. Otherwise, contact your hosting provider for assistance to fix the URL redirection.","jetpack-boost"),t.__("If you believe the issue is resolved, please <retry>try again</retry>.","jetpack-boost")],closingParagraph:t.__("If you think that the redirection is valid, then it is safe to ignore this issue.","jetpack-boost")})},CrossDomainError:{describeSet:e=>t._n("It looks like this URL doesn't match:","It looks like these URLs don't match:",Wa(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Visit the page and complete the following troubleshooting steps.","Visit each page and complete the following troubleshooting steps.",Wa(e),"jetpack-boost"),list:[t.__('Visit the page and look at the protocol and host name to ensure it matches the one in your <a target="_blank" href="https://wordpress.org/support/article/administration-screens/">WordPress Administration Screen</a>.',"jetpack-boost"),t.__("If not, then please reach out to your hosting provider and ask why.","jetpack-boost"),t.__("If you believe the issue is resolved, please <retry>try again</retry>.","jetpack-boost")]}),footerComponent:()=>Va},LoadTimeoutError:{describeSet:e=>t._n("This page timed out:","These pages timed out:",Wa(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("The page timed out during load. There could be various reasons but most likely a plugin is causing this issue. Please complete the following steps.","The pages timed out during load. There could be various reasons but most likely a plugin is causing this issue. Please complete the following steps for each of the pages.",Wa(e),"jetpack-boost"),list:[t.__("Clear the cache in your browser.","jetpack-boost"),t.__("Visit the page while not logged into WordPress.","jetpack-boost"),t.__("See how long it takes to load compared to other pages on your site.","jetpack-boost"),t.__("If this page is slower than the others, check what plugins are working on that page.","jetpack-boost"),t.__("Deactivate any plugin that you believe are making the page slow.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})},UrlVerifyError:{describeSet:e=>t._n("Jetpack Boost couldn't verify this page:","Jetpack Boost couldn't verify these pages:",Wa(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Wa(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify that the content displayed is a part of your WordPress site, and not an external page managed by a different system.","jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})},EmptyCSSError:{describeSet:e=>t._n("It looks like this page does not contain any relevant CSS in its external style sheet(s):","It looks like these pages do not contain any relevant CSS in their external style sheet(s):",Wa(e),"jetpack-boost"),suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Wa(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify its styles load correctly, and <retry>try again</retry>.","jetpack-boost")],closingParagraph:t.__("If you are using a plugin which embeds your CSS styles directly into your pages, or your site does not use external CSS style sheets, then it is safe to ignore this issue as Critical CSS can only speed up pages which use external styles.","jetpack-boost")})},UnknownError:{describeSet:e=>t._n("Something went wrong, which Jetpack Boost did not anticipate. An unexpected error occurred while trying to generate Critical CSS for the following page:","Something went wrong, which Jetpack Boost did not anticipate. An unexpected error occurred while trying to generate Critical CSS for the following pages:",Wa(e),"jetpack-boost"),rawError:e=>Object.values(e.byUrl)[0].message,suggestion:e=>({paragraph:t._n("Please follow the troubleshooting steps below for the page.","Please follow the troubleshooting steps below for each of the pages.",Wa(e),"jetpack-boost"),list:[t.__("Visit the page.","jetpack-boost"),t.__("Verify that the page loads correctly.","jetpack-boost"),t.__("If it does, <retry>try again</retry> to generate the Critical CSS.","jetpack-boost"),t.__("If the error still persist please contact <support>Jetpack Boost Support</support> with a copy of your error message.","jetpack-boost")]})},XFrameDenyError:{describeSet:e=>t._n("Jetpack Boost couldn't load the following page due to its X-Frame-Options configuration:","Jetpack Boost couldn't load the following page due to their X-Frame-Options configuration:",Wa(e),"jetpack-boost"),rawError:e=>Object.values(e.byUrl)[0].message,suggestion:e=>({paragraph:t.__('Jetpack Boost uses iframes while generating your Critical CSS. Unfortunately, your site has a special configuration header which prevents it from loading inside an iframe. The header is called "X-Frame-Options: DENY". This can be added to a WordPress site either by using a plugin, or by server configuration.',"jetpack-boost"),list:[t.__("Check that you are not using any plugins which add extra HTTP headers to your WordPress site, and deactivate them if you are.","jetpack-boost"),t.__('If you are unsure of what these headers are, or where they come from please contact your hosting provider and ask them to remove the "X-Frame-Options" header from your site',"jetpack-boost"),t.__("<retry>Try again</retry> to generate the Critical CSS.","jetpack-boost")]})}};function Ga(e){return Ua[e]||Ua.UnknownError}function Ka(e){let t,n,o,r=e[7].label+"";return{c(){t=D("a"),n=H(r),K(t,"href",o=e[7].href),K(t,"target","_blank")},m(e,o){R(e,t,o),M(t,n)},p(e,s){128&s&&r!==(r=e[7].label+"")&&Z(n,r),128&s&&o!==(o=e[7].href)&&K(t,"href",o)},d(e){e&&I(t)}}}function qa(e){let n,o,r,s,i,a,c,l,u,p,d=Fa(e[3]).list,m=e[2]&&Fa(e[3]).closingParagraph;s=new tr({props:{template:Fa(e[3]).paragraph,vars:e[5]}});let h=d&&Ya(e),g=m&&Xa(e);var f=Ha(e[3]);return f&&(l=new f({})),{c(){n=D("h5"),n.textContent=`${t.__("What to do","jetpack-boost")}`,o=J(),r=D("p"),Ve(s.$$.fragment),i=J(),h&&h.c(),a=J(),g&&g.c(),c=J(),l&&Ve(l.$$.fragment),u=W(),K(r,"class","suggestion")},m(e,t){R(e,n,t),R(e,o,t),R(e,r,t),De(s,r,null),M(r,i),h&&h.m(r,null),R(e,a,t),g&&g.m(e,t),R(e,c,t),l&&De(l,e,t),R(e,u,t),p=!0},p(e,t){const n={};if(8&t&&(n.template=Fa(e[3]).paragraph),s.$set(n),8&t&&(d=Fa(e[3]).list),d?h?(h.p(e,t),8&t&&Me(h,1)):(h=Ya(e),h.c(),Me(h,1),h.m(r,null)):h&&(ze(),Ne(h,1,1,(()=>{h=null})),Be()),12&t&&(m=e[2]&&Fa(e[3]).closingParagraph),m?g?(g.p(e,t),12&t&&Me(g,1)):(g=Xa(e),g.c(),Me(g,1),g.m(c.parentNode,c)):g&&(ze(),Ne(g,1,1,(()=>{g=null})),Be()),f!==(f=Ha(e[3]))){if(l){ze();const e=l;Ne(e.$$.fragment,1,0,(()=>{Fe(e,1)})),Be()}f?(l=new f({}),Ve(l.$$.fragment),Me(l.$$.fragment,1),De(l,u.parentNode,u)):l=null}},i(e){p||(Me(s.$$.fragment,e),Me(h),Me(g),l&&Me(l.$$.fragment,e),p=!0)},o(e){Ne(s.$$.fragment,e),Ne(h),Ne(g),l&&Ne(l.$$.fragment,e),p=!1},d(e){e&&I(n),e&&I(o),e&&I(r),Fe(s),h&&h.d(),e&&I(a),g&&g.d(e),e&&I(c),e&&I(u),l&&Fe(l,e)}}}function Ya(e){let t,n;return t=new Ra({props:{items:Fa(e[3]).list,vars:e[5]}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.items=Fa(e[3]).list),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Xa(e){let t,n,o;return n=new tr({props:{template:Fa(e[3]).closingParagraph,vars:e[5]}}),{c(){t=D("p"),Ve(n.$$.fragment),K(t,"class","suggestion-closing")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};8&t&&(o.template=Fa(e[3]).closingParagraph),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function Za(e){let t,n,o,r;const s=[ec,Qa],i=[];function a(e,t){return e[1]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,r){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Qa(e){let t,n,o,r,s=Ja(e[3])+"";return{c(){t=D("p"),n=H(s),K(t,"class","raw-error")},m(e,o){R(e,t,o),M(t,n),r=!0},p(e,t){(!r||8&t)&&s!==(s=Ja(e[3])+"")&&Z(n,s)},i(e){r||(e&&we((()=>{o||(o=Oe(t,Ui,{},!0)),o.run(1)})),r=!0)},o(e){e&&(o||(o=Oe(t,Ui,{},!1)),o.run(0)),r=!1},d(e){e&&I(t),e&&o&&o.end()}}}function ec(e){let n,o;return n=new ka({props:{showLabel:t.__("See error message","jetpack-boost"),hideLabel:t.__("Hide error message","jetpack-boost"),$$slots:{default:[tc]},$$scope:{ctx:e}}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};264&t&&(o.$$scope={dirty:t,ctx:e}),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function tc(e){let t,n,o,r,s=Ja(e[3])+"";return{c(){t=D("p"),n=H(s),K(t,"class","raw-error")},m(e,o){R(e,t,o),M(t,n),r=!0},p(e,t){(!r||8&t)&&s!==(s=Ja(e[3])+"")&&Z(n,s)},i(e){r||(e&&we((()=>{o||(o=Oe(t,Ui,{},!0)),o.run(1)})),r=!0)},o(e){e&&(o||(o=Oe(t,Ui,{},!1)),o.run(0)),r=!1},d(e){e&&I(t),e&&o&&o.end()}}}function nc(e){let t,n,o,r,s,i,a,c,l=Ja(e[3]);o=new tr({props:{template:Da(e[3]),vars:{templateVars:e[5]}}}),s=new Ba({props:{entries:e[4],$$slots:{default:[Ka,({entry:e})=>({7:e}),({entry:e})=>e?128:0]},$$scope:{ctx:e}}});let u=e[0]&&qa(e),p=l&&Za(e);return{c(){t=D("div"),n=D("span"),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),u&&u.c(),a=J(),p&&p.c(),K(n,"class","error-description"),K(t,"class","jb-critical-css__error-description")},m(e,l){R(e,t,l),M(t,n),De(o,n,null),M(t,r),De(s,t,null),M(t,i),u&&u.m(t,null),M(t,a),p&&p.m(t,null),c=!0},p(e,[n]){const r={};8&n&&(r.template=Da(e[3])),o.$set(r);const i={};16&n&&(i.entries=e[4]),384&n&&(i.$$scope={dirty:n,ctx:e}),s.$set(i),e[0]?u?(u.p(e,n),1&n&&Me(u,1)):(u=qa(e),u.c(),Me(u,1),u.m(t,a)):u&&(ze(),Ne(u,1,1,(()=>{u=null})),Be()),8&n&&(l=Ja(e[3])),l?p?(p.p(e,n),8&n&&Me(p,1)):(p=Za(e),p.c(),Me(p,1),p.m(t,null)):p&&(ze(),Ne(p,1,1,(()=>{p=null})),Be())},i(e){c||(Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(u),Me(p),c=!0)},o(e){Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(u),Ne(p),c=!1},d(e){e&&I(t),Fe(o),Fe(s),u&&u.d(),p&&p.d()}}}function oc(e,t,n){const o=pe();let{showSuggestion:r=!0}=t,{foldRawErrors:s=!0}=t,{showClosingParagraph:i=!0}=t,{errorSet:a}=t,c=[];const l={...Uo((()=>o("retry")),"retry"),...qo()};return e.$$set=e=>{"showSuggestion"in e&&n(0,r=e.showSuggestion),"foldRawErrors"in e&&n(1,s=e.foldRawErrors),"showClosingParagraph"in e&&n(2,i=e.showClosingParagraph),"errorSet"in e&&n(3,a=e.errorSet)},e.$$.update=()=>{8&e.$$.dirty&&n(4,c=Object.entries(a.byUrl).map((([e,t])=>({href:t.meta.url?t.meta.url:e,label:e}))))},[r,s,i,a,c,l]}class rc extends Je{constructor(e){super(),He(this,e,oc,nc,h,{showSuggestion:0,foldRawErrors:1,showClosingParagraph:2,errorSet:3})}}function sc(e,t,n){const o=e.slice();return o[10]=t[n],o}function ic(e,t,n){const o=e.slice();return o[13]=t[n],o}function ac(e){let n,o,r,s,i,a=t.sprintf(t._n("Show %d hidden recommendation.","Show %d hidden recommendations.",e[2].length,"jetpack-boost"),e[2].length)+"";return{c(){n=D("p"),o=D("button"),r=H(a),K(o,"class","components-button is-link")},m(t,a){R(t,n,a),M(n,o),M(o,r),s||(i=U(o,"click",e[6]),s=!0)},p(e,n){4&n&&a!==(a=t.sprintf(t._n("Show %d hidden recommendation.","Show %d hidden recommendations.",e[2].length,"jetpack-boost"),e[2].length)+"")&&Z(r,a)},d(e){e&&I(n),s=!1,i()}}}function cc(e){let t,n,o,r,s,i,a=e[2].length>0&&ac(e);return{c(){t=D("section"),n=D("p"),o=H(e[1]),r=J(),a&&a.c()},m(e,s){R(e,t,s),M(t,n),M(n,o),M(t,r),a&&a.m(t,null),i=!0},p(e,n){(!i||2&n)&&Z(o,e[1]),e[2].length>0?a?a.p(e,n):(a=ac(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},i(e){i||(e&&we((()=>{s||(s=Oe(t,Ui,{},!0)),s.run(1)})),i=!0)},o(e){e&&(s||(s=Oe(t,Ui,{},!1)),s.run(0)),i=!1},d(e){e&&I(t),a&&a.d(),e&&s&&s.end()}}}function lc(e){let t,n;return t=new cr({props:{title:e[3].title,error:e[3].error}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.title=e[3].title),8&n&&(o.error=e[3].error),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function uc(e){let t,n,o;return n=new rc({props:{errorSet:e[13]}}),n.$on("retry",e[4]),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"class","problem")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p(e,t){const o={};1&t&&(o.errorSet=e[13]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function pc(e,t){let n,o,r,s,i,a,c,l,u,p,d,m=t[10].label+"";o=new qi({}),o.$on("click",(function(){return t[8](t[10])})),i=new la({});let h=[t[10].errors[0]],g=[];for(let e=0;e<1;e+=1)g[e]=uc(ic(t,h,e));const f=e=>Ne(g[e],1,1,(()=>{g[e]=null}));return{key:e,first:null,c(){n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h4"),Ve(i.$$.fragment),a=J(),c=H(m),l=J();for(let e=0;e<1;e+=1)g[e].c();u=J(),K(n,"class","panel"),this.first=n},m(e,t){R(e,n,t),De(o,n,null),M(n,r),M(n,s),De(i,s,null),M(s,a),M(s,c),M(n,l);for(let e=0;e<1;e+=1)g[e].m(n,null);M(n,u),d=!0},p(e,o){if(t=e,(!d||1&o)&&m!==(m=t[10].label+"")&&Z(c,m),17&o){let e;for(h=[t[10].errors[0]],e=0;e<1;e+=1){const r=ic(t,h,e);g[e]?(g[e].p(r,o),Me(g[e],1)):(g[e]=uc(r),g[e].c(),Me(g[e],1),g[e].m(n,u))}for(ze(),e=1;e<1;e+=1)f(e);Be()}},i(e){if(!d){Me(o.$$.fragment,e),Me(i.$$.fragment,e);for(let e=0;e<1;e+=1)Me(g[e]);e&&we((()=>{p||(p=Oe(n,Ui,{},!0)),p.run(1)})),d=!0}},o(e){Ne(o.$$.fragment,e),Ne(i.$$.fragment,e),g=g.filter(Boolean);for(let e=0;e<1;e+=1)Ne(g[e]);e&&(p||(p=Oe(n,Ui,{},!1)),p.run(0)),d=!1},d(e){e&&I(n),Fe(o),Fe(i),V(g,e),e&&p&&p.end()}}}function dc(e){let n,o,r,s,i,c,l,u,p=e[1],d=[],m=new Map;o=new _o({});let g=cc(e),f=e[3]&&lc(e),_=e[0];const y=e=>e[10].key;for(let t=0;t<_.length;t+=1){let n=sc(e,_,t),o=y(n);m.set(o,d[t]=pc(o,n))}return{c(){n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h3"),s.textContent=`${t.__("Critical CSS advanced recommendations","jetpack-boost")}`,i=J(),g.c(),c=J(),f&&f.c(),l=J();for(let e=0;e<d.length;e+=1)d[e].c();K(n,"class","jb-container--narrow jb-critical-css__advanced")},m(e,t){R(e,n,t),De(o,n,null),M(n,r),M(n,s),M(n,i),g.m(n,null),M(n,c),f&&f.m(n,null),M(n,l);for(let e=0;e<d.length;e+=1)d[e].m(n,null);u=!0},p(e,[t]){2&t&&h(p,p=e[1])?(ze(),Ne(g,1,1,a),Be(),g=cc(e),g.c(),Me(g,1),g.m(n,c)):g.p(e,t),e[3]?f?(f.p(e,t),8&t&&Me(f,1)):(f=lc(e),f.c(),Me(f,1),f.m(n,l)):f&&(ze(),Ne(f,1,1,(()=>{f=null})),Be()),49&t&&(_=e[0],ze(),d=function(e,t,n,o,r,s,i,a,c,l,u,p){let d=e.length,m=s.length,h=d;const g={};for(;h--;)g[e[h].key]=h;const f=[],_=new Map,y=new Map;for(h=m;h--;){const e=p(r,s,h),a=n(e);let c=i.get(a);c?o&&c.p(e,t):(c=l(a,e),c.c()),_.set(a,f[h]=c),a in g&&y.set(a,Math.abs(h-g[a]))}const b=new Set,v=new Set;function $(e){Me(e,1),e.m(a,u),i.set(e.key,e),u=e.first,m--}for(;d&&m;){const t=f[m-1],n=e[d-1],o=t.key,r=n.key;t===n?(u=t.first,d--,m--):_.has(r)?!i.has(o)||b.has(o)?$(t):v.has(r)?d--:y.get(o)>y.get(r)?(v.add(o),$(t)):(b.add(r),d--):(c(n,i),d--)}for(;d--;){const t=e[d];_.has(t.key)||c(t,i)}for(;m;)$(f[m-1]);return f}(d,t,y,1,e,_,m,n,Re,pc,null,sc),Be())},i(e){if(!u){Me(o.$$.fragment,e),Me(g),Me(f);for(let e=0;e<_.length;e+=1)Me(d[e]);u=!0}},o(e){Ne(o.$$.fragment,e),Ne(g),Ne(f);for(let e=0;e<d.length;e+=1)Ne(d[e]);u=!1},d(e){e&&I(n),Fe(o),g.d(e),f&&f.d();for(let e=0;e<d.length;e+=1)d[e].d()}}}function mc(e,n,o){let r,s,i,a;y(e,Fr,(e=>o(7,r=e))),y(e,ea,(e=>o(0,s=e))),y(e,Qi,(e=>o(2,i=e))),y(e,na,(e=>o(3,a=e)));const{navigate:c}=ho;async function l(e){try{await async function(e){await So.post("/recommendations/dismiss",{providerKey:e,nonce:Jetpack_Boost.nonces["recommendations/dismiss"]}),Xi.update((t=>[...t,e]))}(e)}catch(e){oa(t.__("Failed to dismiss recommendation","jetpack-boost"),e)}}let u;return e.$$.update=()=>{1&e.$$.dirty&&o(1,u=0===s.length?t.__("Congratulations, you have dealt with all the recommendations.","jetpack-boost"):t.__("While Jetpack Boost has been able to automatically generate optimized CSS for most of your important files & sections, we have identified a few more that require your attention.","jetpack-boost")),128&e.$$.dirty&&(r||c(-1))},[s,u,i,a,function(){fa(),c(-1)},l,async function(){try{await ra()}catch(e){oa(t.__("Failed to show the dismissed recommendations","jetpack-boost"),e)}},r,e=>l(e.key)]}class hc extends Je{constructor(e){super(),He(this,e,mc,dc,h,{})}}function gc(e){let n,o;return n=new ka({props:{showLabel:t.__("See error message","jetpack-boost"),hideLabel:t.__("Hide error message","jetpack-boost"),$$slots:{default:[yc]},$$scope:{ctx:e}}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};142&t&&(o.$$scope={dirty:t,ctx:e}),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function fc(e){let t,n=e[1].status_error+"";return{c(){t=H(n)},m(e,n){R(e,t,n)},p(e,o){2&o&&n!==(n=e[1].status_error+"")&&Z(t,n)},i:a,o:a,d(e){e&&I(t)}}}function _c(e){let t,n;return t=new rc({props:{errorSet:e[2],showSuggestion:!0,showClosingParagraph:!1,foldRawErrors:!1}}),t.$on("retry",e[5]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};4&n&&(o.errorSet=e[2]),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function yc(e){let t,n,o,r,s;const i=[_c,fc],a=[];function c(e,t){return e[3]?0:1}return n=c(e),o=a[n]=i[n](e),{c(){t=D("div"),o.c(),K(t,"class","raw-error")},m(e,o){R(e,t,o),a[n].m(t,null),s=!0},p(e,r){let s=n;n=c(e),n===s?a[n].p(e,r):(ze(),Ne(a[s],1,1,(()=>{a[s]=null})),Be(),o=a[n],o?o.p(e,r):(o=a[n]=i[n](e),o.c()),Me(o,1),o.m(t,null))},i(e){s||(Me(o),e&&we((()=>{r||(r=Oe(t,Ui,{},!0)),r.run(1)})),s=!0)},o(e){Ne(o),e&&(r||(r=Oe(t,Ui,{},!1)),r.run(0)),s=!1},d(e){e&&I(t),a[n].d(),e&&r&&r.end()}}}function bc(e){let n,o,r,s,i,a=(e[1].retried_show_stopper?t.__("Hmm, looks like something went wrong. We're still seeing an unexpected error. Please reach out to our support to get help.","jetpack-boost"):t.__("An unexpected error has occurred. As this error may be temporary, please try and refresh the Critical CSS.","jetpack-boost"))+"",c=(e[3]||e[1].status_error)&&gc(e);return{c(){n=D("p"),o=H(a),r=J(),c&&c.c(),s=W()},m(e,t){R(e,n,t),M(n,o),R(e,r,t),c&&c.m(e,t),R(e,s,t),i=!0},p(e,n){(!i||2&n)&&a!==(a=(e[1].retried_show_stopper?t.__("Hmm, looks like something went wrong. We're still seeing an unexpected error. Please reach out to our support to get help.","jetpack-boost"):t.__("An unexpected error has occurred. As this error may be temporary, please try and refresh the Critical CSS.","jetpack-boost"))+"")&&Z(o,a),e[3]||e[1].status_error?c?(c.p(e,n),10&n&&Me(c,1)):(c=gc(e),c.c(),Me(c,1),c.m(s.parentNode,s)):c&&(ze(),Ne(c,1,1,(()=>{c=null})),Be())},i(e){i||(Me(c),i=!0)},o(e){Ne(c),i=!1},d(e){e&&I(n),e&&I(r),c&&c.d(e),e&&I(s)}}}function vc(e){let n,o,r;return{c(){n=D("button"),n.textContent=`${t.__("Refresh","jetpack-boost")}`,K(n,"class","secondary")},m(t,s){R(t,n,s),o||(r=U(n,"click",e[5]),o=!0)},p:a,d(e){e&&I(n),o=!1,r()}}}function $c(e){let n,o,r=t.__("Contact Support","jetpack-boost")+"";return{c(){n=D("a"),o=H(r),K(n,"class","button button-secondary"),K(n,"href",e[0]),K(n,"target","_blank")},m(e,t){R(e,n,t),M(n,o)},p(e,t){1&t&&K(n,"href",e[0])},d(e){e&&I(n)}}}function wc(e){let t;function n(e,t){return e[1].retried_show_stopper?$c:vc}let o=n(e),r=o(e);return{c(){t=D("div"),r.c(),K(t,"slot","actionButton")},m(e,n){R(e,t,n),r.m(t,null)},p(e,s){o===(o=n(e))&&r?r.p(e,s):(r.d(1),r=o(e),r&&(r.c(),r.m(t,null)))},d(e){e&&I(t),r.d()}}}function xc(e){let t,n;return t=new cr({props:{title:e[4],$$slots:{actionButton:[wc],default:[bc]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,[n]){const o={};143&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function kc(e,n,o){let r,s;y(e,Kr,(e=>o(1,r=e))),y(e,ta,(e=>o(2,s=e)));let{supportLink:i="https://wordpress.org/support/plugin/jetpack-boost/"}=n,a=!1;const c=t.__("Failed to generate Critical CSS","jetpack-boost"),l=pe();return e.$$set=e=>{"supportLink"in e&&o(0,i=e.supportLink)},e.$$.update=()=>{6&e.$$.dirty&&o(3,a=s&&"success"===r.status)},[i,r,s,a,c,function(){l("retry")}]}class jc extends Je{constructor(e){super(),He(this,e,kc,xc,h,{supportLink:0})}}const Sc=6e4,Cc=36e5,Ec=24*Cc;function Lc(e){const n=Date.now()-e.getTime();if(n<Sc)return t.__("a few moments ago","jetpack-boost");if(n<Cc){const e=Math.floor(n/Sc);return t.sprintf(t._n("%d minute ago","%d minutes ago",e,"jetpack-boost"),e)}if(n<Ec){const e=Math.floor(n/Cc);return t.sprintf(t._n("%d hour ago","%d hours ago",e,"jetpack-boost"),e)}if(n<12096e5){const e=Math.floor(n/Ec);return t.sprintf(t._n("%d day ago","%d days ago",e,"jetpack-boost"),e)}const o={month:"short",day:"numeric",year:(new Date).getFullYear()===e.getFullYear()?void 0:"numeric"};return t.sprintf(t.__("on %s","jetpack-boost"),e.toLocaleDateString(navigator.language,o))}function Pc(e){let t,n,o;return{c(){t=D("span"),n=H(e[1]),K(t,"title",o=e[0].toLocaleString()),K(t,"class","time-ago")},m(e,o){R(e,t,o),M(t,n)},p(e,[r]){2&r&&Z(n,e[1]),1&r&&o!==(o=e[0].toLocaleString())&&K(t,"title",o)},i:a,o:a,d(e){e&&I(t)}}}function zc(e,t,n){let o,{time:r}=t;const s=Vn(Lc(r),(e=>{const t=setInterval((()=>{e(Lc(r))}),1e4);return()=>clearInterval(t)}));return y(e,s,(e=>n(1,o=e))),e.$$set=e=>{"time"in e&&n(0,r=e.time)},[r,o,s]}class Bc extends Je{constructor(e){super(),He(this,e,zc,Pc,h,{time:0})}}function Mc(e){let t,n,o,r=[{class:"gridicon gridicons-refresh"},{height:"15"},{width:"15"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-refresh"},{height:"15"},{width:"15"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Nc(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Tc extends Je{constructor(e){super(),He(this,e,Nc,Mc,h,{})}}function Oc(e){let n,o,r,s,i,a,c,l,u=t.sprintf(t._n("%d file generated","%d files generated",e[2].success_count,"jetpack-boost"),e[2].success_count)+"";s=new Bc({props:{time:new Date(1e3*e[2].updated)}});let p=e[2].progress<100&&Ac(e),d="requesting"!==e[2].status&&e[3]>0&&Ic(e);return{c(){n=D("div"),o=H(u),r=J(),Ve(s.$$.fragment),i=H(".\n\t\t\t\t"),p&&p.c(),a=J(),d&&d.c(),c=W(),K(n,"class","successes")},m(e,t){R(e,n,t),M(n,o),M(n,r),De(s,n,null),M(n,i),p&&p.m(n,null),R(e,a,t),d&&d.m(e,t),R(e,c,t),l=!0},p(e,r){(!l||4&r)&&u!==(u=t.sprintf(t._n("%d file generated","%d files generated",e[2].success_count,"jetpack-boost"),e[2].success_count)+"")&&Z(o,u);const i={};4&r&&(i.time=new Date(1e3*e[2].updated)),s.$set(i),e[2].progress<100?p?p.p(e,r):(p=Ac(e),p.c(),p.m(n,null)):p&&(p.d(1),p=null),"requesting"!==e[2].status&&e[3]>0?d?(d.p(e,r),12&r&&Me(d,1)):(d=Ic(e),d.c(),Me(d,1),d.m(c.parentNode,c)):d&&(ze(),Ne(d,1,1,(()=>{d=null})),Be())},i(e){l||(Me(s.$$.fragment,e),Me(d),l=!0)},o(e){Ne(s.$$.fragment,e),Ne(d),l=!1},d(e){e&&I(n),Fe(s),p&&p.d(),e&&I(a),d&&d.d(e),e&&I(c)}}}function Rc(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"class","generating")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},i:a,o:a,d(e){e&&I(t)}}}function Ac(e){let t,n;return{c(){t=D("span"),n=H(e[1])},m(e,o){R(e,t,o),M(t,n)},p(e,t){2&t&&Z(n,e[1])},d(e){e&&I(t)}}}function Ic(e){let n,o,r,s,i;return o=new la({}),s=new tr({props:{template:t.sprintf(t._n("%d file could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize this file.","%d files could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize these files.",e[3],"jetpack-boost"),e[3]),vars:{...Uo(e[6],"advanced")}}}),{c(){n=D("div"),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),K(n,"class","failures")},m(e,t){R(e,n,t),De(o,n,null),M(n,r),De(s,n,null),i=!0},p(e,n){const o={};8&n&&(o.template=t.sprintf(t._n("%d file could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize this file.","%d files could not be automatically generated. Visit the <advanced>advanced recommendations page</advanced> to optimize these files.",e[3],"jetpack-boost"),e[3])),s.$set(o)},i(e){i||(Me(o.$$.fragment,e),Me(s.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),Fe(s)}}}function Vc(e){let n,o,r,s,i,c,l,u=t.__("Regenerate","jetpack-boost")+"";return o=new Tc({}),{c(){n=D("button"),Ve(o.$$.fragment),r=J(),s=H(u),K(n,"type","button"),K(n,"class","components-button is-link")},m(t,a){R(t,n,a),De(o,n,null),M(n,r),M(n,s),i=!0,c||(l=U(n,"click",e[7]),c=!0)},p:a,i(e){i||(Me(o.$$.fragment,e),i=!0)},o(e){Ne(o.$$.fragment,e),i=!1},d(e){e&&I(n),Fe(o),c=!1,l()}}}function Dc(e){let t,n,o,r,s,i;const a=[Rc,Oc],c=[];function l(e,t){return 0===e[2].success_count?0:1}o=l(e),r=c[o]=a[o](e);let u="requesting"!==e[2].status&&Vc(e);return{c(){t=D("div"),n=D("div"),r.c(),s=J(),u&&u.c(),K(n,"class","summary"),K(t,"class","jb-critical-css__meta")},m(e,r){R(e,t,r),M(t,n),c[o].m(n,null),M(t,s),u&&u.m(t,null),i=!0},p(e,[s]){let i=o;o=l(e),o===i?c[o].p(e,s):(ze(),Ne(c[i],1,1,(()=>{c[i]=null})),Be(),r=c[o],r?r.p(e,s):(r=c[o]=a[o](e),r.c()),Me(r,1),r.m(n,null)),"requesting"!==e[2].status?u?(u.p(e,s),4&s&&Me(u,1)):(u=Vc(e),u.c(),Me(u,1),u.m(t,null)):u&&(ze(),Ne(u,1,1,(()=>{u=null})),Be())},i(e){i||(Me(r),Me(u),i=!0)},o(e){Ne(r),Ne(u),i=!1},d(e){e&&I(t),c[o].d(),u&&u.d()}}}function Fc(e,t,n){let o,r;y(e,Kr,(e=>n(2,o=e))),y(e,Dr,(e=>n(3,r=e)));let{generateText:s=""}=t,{generateMoreText:i=""}=t;const a=pe(),{navigate:c}=ho;return e.$$set=e=>{"generateText"in e&&n(0,s=e.generateText),"generateMoreText"in e&&n(1,i=e.generateMoreText)},[s,i,o,r,a,c,()=>c("critical-css-advanced"),()=>a("retry")]}class Hc extends Je{constructor(e){super(),He(this,e,Fc,Dc,h,{generateText:0,generateMoreText:1})}}function Jc(e){let n,o;return n=new Hc({props:{generateText:t.__("Jetpack Boost will generate Critical CSS for you automatically.","jetpack-boost"),generateMoreText:t.__("Jetpack Boost is generating more Critical CSS.","jetpack-boost")}}),n.$on("retry",qr),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Wc(e){let t,n;return t=new jc({props:{supportLink:"https://jetpackme.wordpress.com/contact-support/"}}),t.$on("retry",Yr),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Uc(e){let t,n,o,r;const s=[Wc,Jc],i=[];function a(e,t){return e[0]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Gc(e,t,n){let o;return y(e,Hr,(e=>n(0,o=e))),[o]}class Kc extends Je{constructor(e){super(),He(this,e,Gc,Uc,h,{})}}function qc(e){let t,n;return t=new Hc({}),t.$on("retry",fa),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Yc(e){let t,n;return t=new jc({}),t.$on("retry",e[2]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Xc(e){let n,o,r,s,i,c,l;return{c(){n=D("div"),o=D("span"),o.textContent=`${t.__("Generating Critical CSS. Please don’t leave this page until completed.","jetpack-boost")}`,r=J(),s=D("div"),i=D("div"),K(o,"class","jb-critical-css-progress__label"),K(i,"class","jb-progress-bar__filler"),K(i,"aria-hidden","true"),K(i,"style",c=`width: ${e[0].progress}%;`),K(s,"role","progressbar"),K(s,"aria-valuemax","100"),K(s,"aria-valuemin","0"),K(s,"aria-valuenow",l=e[0].progress),K(s,"class","jb-progress-bar"),K(n,"class","jb-critical-css-progress")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s),M(s,i)},p(e,t){1&t&&c!==(c=`width: ${e[0].progress}%;`)&&K(i,"style",c),1&t&&l!==(l=e[0].progress)&&K(s,"aria-valuenow",l)},i:a,o:a,d(e){e&&I(n)}}}function Zc(e){let t,n,o,r;const s=[Xc,Yc,qc],i=[];function a(e,t){return"requesting"===e[0].status?0:e[1]?1:2}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Qc(e,t,n){let o,r;y(e,Kr,(e=>n(0,o=e))),y(e,Hr,(e=>n(1,r=e)));return[o,r,()=>fa(!0,!0)]}class el extends Je{constructor(e){super(),He(this,e,Qc,Zc,h,{})}}function tl(e){let t,n,o,r,s,i,c,l,u,p,m;return{c(){t=D("div"),n=D("div"),o=D("span"),r=D("input"),s=J(),i=D("span"),c=J(),l=D("span"),u=D("label"),K(r,"id",e[1]),K(r,"class","components-form-toggle__input"),K(r,"type","checkbox"),r.disabled=e[2],K(i,"class","components-form-toggle__track"),K(l,"class","components-form-toggle__thumb"),K(o,"class","components-form-toggle"),ee(o,"is-checked",e[0]),K(u,"for",e[1]),K(u,"class","components-toggle-control__label"),K(n,"class","components-base-control__field"),K(t,"class","components-base-control components-toggle-control")},m(a,d){R(a,t,d),M(t,n),M(n,o),M(o,r),r.checked=e[0],M(o,s),M(o,i),M(o,c),M(o,l),M(n,u),p||(m=[U(r,"click",e[3]),U(r,"change",e[4])],p=!0)},p(e,[t]){2&t&&K(r,"id",e[1]),4&t&&(r.disabled=e[2]),1&t&&(r.checked=e[0]),1&t&&ee(o,"is-checked",e[0]),2&t&&K(u,"for",e[1])},i:a,o:a,d(e){e&&I(t),p=!1,d(m)}}}function nl(e,t,n){let{id:o}=t,{checked:r=!1}=t,{disabled:s=!1}=t;return e.$$set=e=>{"id"in e&&n(1,o=e.id),"checked"in e&&n(0,r=e.checked),"disabled"in e&&n(2,s=e.disabled)},[r,o,s,function(t){he.call(this,e,t)},function(){r=this.checked,n(0,r)}]}class ol extends Je{constructor(e){super(),He(this,e,nl,tl,h,{id:1,checked:0,disabled:2})}}const rl=e=>({}),sl=e=>({}),il=e=>({}),al=e=>({}),cl=e=>({}),ll=e=>({});function ul(e){let t,n,o,r,s,i,a,c,l,u,p,d,m;function h(t){e[10](t)}let g={id:`jb-feature-toggle-${e[0]}`,checked:e[3]};void 0!==e[2]&&(g.disabled=e[2]),o=new ol({props:g}),fe.push((()=>function(e,t,n){const o=e.$$.props[t];void 0!==o&&(e.$$.bound[o]=n,n(e.$$.ctx[o]))}(o,"disabled",h))),o.$on("click",e[7]);const f=e[9].title,_=b(f,e,e[8],ll),y=e[9].description,v=b(y,e,e[8],al),k=e[9].default,j=b(k,e,e[8],null);let S=e[1]&&pl(e),C=e[3]&&dl(e);return{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),s=J(),i=D("div"),_&&_.c(),a=J(),c=D("div"),v&&v.c(),l=J(),u=D("div"),j&&j.c(),p=J(),S&&S.c(),d=J(),C&&C.c(),K(n,"class","jb-feature-toggle__toggle"),K(c,"class","jb-feature-toggle__text"),K(u,"class","jb-feature-toggle__content"),K(i,"class","jb-feature-toggle__content"),K(t,"class","jb-feature-toggle")},m(e,r){R(e,t,r),M(t,n),De(o,n,null),M(t,s),M(t,i),_&&_.m(i,null),M(i,a),M(i,c),v&&v.m(c,null),M(i,l),M(i,u),j&&j.m(u,null),M(u,p),S&&S.m(u,null),M(u,d),C&&C.m(u,null),m=!0},p(e,t){const n={};var s;1&t&&(n.id=`jb-feature-toggle-${e[0]}`),8&t&&(n.checked=e[3]),!r&&4&t&&(r=!0,n.disabled=e[2],s=()=>r=!1,ye.push(s)),o.$set(n),_&&_.p&&(!m||256&t)&&w(_,f,e,e[8],m?$(f,e[8],t,cl):x(e[8]),ll),v&&v.p&&(!m||256&t)&&w(v,y,e,e[8],m?$(y,e[8],t,il):x(e[8]),al),j&&j.p&&(!m||256&t)&&w(j,k,e,e[8],m?$(k,e[8],t,null):x(e[8]),null),e[1]?S?(S.p(e,t),2&t&&Me(S,1)):(S=pl(e),S.c(),Me(S,1),S.m(u,d)):S&&(ze(),Ne(S,1,1,(()=>{S=null})),Be()),e[3]?C?(C.p(e,t),8&t&&Me(C,1)):(C=dl(e),C.c(),Me(C,1),C.m(u,null)):C&&(ze(),Ne(C,1,1,(()=>{C=null})),Be())},i(e){m||(Me(o.$$.fragment,e),Me(_,e),Me(v,e),Me(j,e),Me(S),Me(C),m=!0)},o(e){Ne(o.$$.fragment,e),Ne(_,e),Ne(v,e),Ne(j,e),Ne(S),Ne(C),m=!1},d(e){e&&I(t),Fe(o),_&&_.d(e),v&&v.d(e),j&&j.d(e),S&&S.d(),C&&C.d()}}}function pl(e){let n,o;return n=new cr({props:{title:t.__("Failed to toggle feature","jetpack-boost"),error:e[1]}}),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};2&t&&(o.error=e[1]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function dl(e){let t;const n=e[9].meta,o=b(n,e,e[8],sl);return{c(){o&&o.c()},m(e,n){o&&o.m(e,n),t=!0},p(e,r){o&&o.p&&(!t||256&r)&&w(o,n,e,e[8],t?$(n,e[8],r,rl):x(e[8]),sl)},i(e){t||(Me(o,e),t=!0)},o(e){Ne(o,e),t=!1},d(e){o&&o.d(e)}}}function ml(e){let t,n,o=e[4]&&ul(e);return{c(){o&&o.c(),t=W()},m(e,r){o&&o.m(e,r),R(e,t,r),n=!0},p(e,[n]){e[4]?o?(o.p(e,n),16&n&&Me(o,1)):(o=ul(e),o.c(),Me(o,1),o.m(t.parentNode,t)):o&&(ze(),Ne(o,1,1,(()=>{o=null})),Be())},i(e){n||(Me(o),n=!0)},o(e){Ne(o),n=!1},d(e){o&&o.d(e),e&&I(t)}}}function hl(e,t,n){let o,r,{$$slots:s={},$$scope:i}=t,{slug:a}=t;const c=pe(),l=Pr(a);y(e,l,(e=>n(3,o=e)));const u=zr(a);y(e,u,(e=>n(4,r=e)));let p=null,d=!1;return le((async()=>{o&&c("mountEnabled")})),e.$$set=e=>{"slug"in e&&n(0,a=e.slug),"$$scope"in e&&n(8,i=e.$$scope)},[a,p,d,o,r,l,u,async function(){if(!d){n(1,p=null),n(2,d=!0);try{await Cr(a,!o)?c("enabled"):c("disabled")}catch(e){n(1,p=e)}n(2,d=!1)}},i,s,function(e){d=e,n(2,d)}]}class gl extends Je{constructor(e){super(),He(this,e,hl,ml,h,{slug:0})}}function fl(e){let t,n,o=[{width:"19"},{height:"17"},{viewBox:"0 0 19 17"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},e[0]],r={};for(let e=0;e<o.length;e+=1)r=l(r,o[e]);return{c(){t=F("svg"),n=F("path"),this.h()},l(e){t=X(e,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var o=Y(t);n=X(o,"path",{d:!0}),Y(n).forEach(I),o.forEach(I),this.h()},h(){K(n,"d","M10.6953 16.3906L18.4062 8.60938L10.6953 0.828125L8.63281 2.98438L12.8516 7.10938H0.699219V10.1094H12.8516L8.63281 14.2344L10.6953 16.3906Z"),q(t,r)},m(e,o){A(e,t,o),O(t,n)},p(e,[n]){q(t,r=Ae(o,[{width:"19"},{height:"17"},{viewBox:"0 0 19 17"},{fill:"none"},{xmlns:"http://www.w3.org/2000/svg"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function _l(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class yl extends Je{constructor(e){super(),He(this,e,_l,fl,h,{})}}function bl(e){let n,o,r,s,i,c,l,u,p,d,m;return u=new yl({}),{c(){n=D("div"),o=D("div"),r=D("p"),r.textContent=`${t.__("Save time by automatically regenerating critical CSS","jetpack-boost")}`,s=J(),i=D("p"),i.textContent=`${t.__("Upgrade Jetpack Boost","jetpack-boost")}`,c=J(),l=D("div"),Ve(u.$$.fragment),K(i,"class","jb-premium-cta__action-line"),K(o,"class","jb-premium-cta__content"),K(l,"class","jb-premium-cta__icon"),K(n,"class","jb-premium-cta")},m(t,a){R(t,n,a),M(n,o),M(o,r),M(o,s),M(o,i),M(n,c),M(n,l),De(u,l,null),p=!0,d||(m=U(n,"click",e[0]),d=!0)},p:a,i(e){p||(Me(u.$$.fragment,e),p=!0)},o(e){Ne(u.$$.fragment,e),p=!1},d(e){e&&I(n),Fe(u),d=!1,m()}}}function vl(e){const{navigate:t}=ho;return[function(){Oo("upsell_cta_from_settings_page_in_plugin",{}),t("/upgrade")}]}class $l extends Je{constructor(e){super(),He(this,e,vl,bl,h,{})}}function wl(e){let t,n;return t=new $l({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function xl(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Optimize CSS Loading","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function kl(e){let n,o,r;return o=new tr({props:{template:t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as <link>Critical CSS</link>.","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function jl(e){let t,n,o;return n=new el({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"slot","meta")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function Sl(e){let n,o,r,s,i=t.__("Automatically Optimize CSS Loading","jetpack-boost")+"";return{c(){n=D("h3"),o=H(i),r=J(),s=D("span"),s.textContent="Upgraded",K(s,"class","jb-badge"),K(n,"slot","title")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s)},p:a,d(e){e&&I(n)}}}function Cl(e){let n,o,r;return o=new tr({props:{template:t.__("Move important styling information to the start of the page, which helps pages display your content sooner, so your users don’t have to wait for the entire page to load. Commonly referred to as <link>critical CSS</link> which now generates automatically.","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function El(e){let t,n,o;return n=new Kc({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"slot","meta"),K(t,"class","jb-feature-toggle__meta")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function Ll(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Defer Non-Essential JavaScript","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Pl(e){let n,o,r;return o=new tr({props:{template:t.__("Run non-essential JavaScript after the page has loaded so that styles and images can load more quickly. Read more on <link>web.dev</link>.","jetpack-boost"),vars:Ko(e[2])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function zl(e){let n;return{c(){n=D("h3"),n.textContent=`${t.__("Lazy Image Loading","jetpack-boost")}`,K(n,"slot","title")},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Bl(e){let n,o,r;return o=new tr({props:{template:t.__("Improve page loading speed by only loading images when they are required. Read more on <link>web.dev</link>.","jetpack-boost"),vars:Ko(e[3])}}),{c(){n=D("p"),Ve(o.$$.fragment),K(n,"slot","description")},m(e,t){R(e,n,t),De(o,n,null),r=!0},p:a,i(e){r||(Me(o.$$.fragment,e),r=!0)},o(e){Ne(o.$$.fragment,e),r=!1},d(e){e&&I(n),Fe(o)}}}function Ml(e){let t,n,o,r,s,i,a,c,l,u,p=!e[0]&&wl();return o=new gl({props:{slug:"critical-css",$$slots:{meta:[jl],description:[kl],title:[xl]},$$scope:{ctx:e}}}),o.$on("enabled",ga),o.$on("mountEnabled",ga),s=new gl({props:{slug:"cloud-css",$$slots:{meta:[El],description:[Cl],title:[Sl]},$$scope:{ctx:e}}}),s.$on("enabled",qr),s.$on("disabled",ts),s.$on("mountEnabled",es),a=new gl({props:{slug:"render-blocking-js",$$slots:{description:[Pl],title:[Ll]},$$scope:{ctx:e}}}),l=new gl({props:{slug:"lazy-images",$$slots:{description:[Bl],title:[zl]},$$scope:{ctx:e}}}),{c(){t=D("div"),p&&p.c(),n=J(),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),Ve(a.$$.fragment),c=J(),Ve(l.$$.fragment),K(t,"class","jb-container--narrow")},m(e,d){R(e,t,d),p&&p.m(t,null),M(t,n),De(o,t,null),M(t,r),De(s,t,null),M(t,i),De(a,t,null),M(t,c),De(l,t,null),u=!0},p(e,[r]){e[0]?p&&(ze(),Ne(p,1,1,(()=>{p=null})),Be()):p?1&r&&Me(p,1):(p=wl(),p.c(),Me(p,1),p.m(t,n));const i={};128&r&&(i.$$scope={dirty:r,ctx:e}),o.$set(i);const c={};128&r&&(c.$$scope={dirty:r,ctx:e}),s.$set(c);const u={};128&r&&(u.$$scope={dirty:r,ctx:e}),a.$set(u);const d={};128&r&&(d.$$scope={dirty:r,ctx:e}),l.$set(d)},i(e){u||(Me(p),Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(a.$$.fragment,e),Me(l.$$.fragment,e),u=!0)},o(e){Ne(p),Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(a.$$.fragment,e),Ne(l.$$.fragment,e),u=!1},d(e){e&&I(t),p&&p.d(),Fe(o),Fe(s),Fe(a),Fe(l)}}}function Nl(e,t,n){let o,r;y(e,Lr,(e=>n(6,r=e)));const s=ot("jetpack-boost-critical-css"),i=ot("jetpack-boost-defer-js"),a=ot("jetpack-boost-lazy-load");let{location:c,navigate:l}=t;return e.$$set=e=>{"location"in e&&n(4,c=e.location),"navigate"in e&&n(5,l=e.navigate)},e.$$.update=()=>{64&e.$$.dirty&&n(0,o=!!r["cloud-css"])},[o,s,i,a,c,l,r]}class Tl extends Je{constructor(e){super(),He(this,e,Nl,Ml,h,{location:4,navigate:5})}}const Ol=Fn(Bo,(e=>e.preferences.prioritySupport)),Rl=()=>{window.open("https://jetpackme.wordpress.com/contact-support/","_blank")},Al=function(){if(Ol)return"https://jetpackme.wordpress.com/contact-support/";return"https://wordpress.org/support/plugin/jetpack-boost/#new-topic-0"}();const Il=12e4;async function Vl(e=!1){const n=Dl(await So.post(e?"/speed-scores/refresh":"/speed-scores",{url:Jetpack_Boost.site.url}));return n.scores?n.scores:await async function(){return async function({interval:e,callback:n,timeout:o,timeoutError:r}){let s,i;return new Promise(((a,c)=>{s=setTimeout((()=>{c(new Error(r||t.__("Timed out","jetpack-boost")))}),o||12e4),i=setInterval((async()=>{try{await Promise.resolve(n(a))}catch(e){c(e)}}),e)})).finally((()=>{clearTimeout(s),clearInterval(i)}))}({timeout:Il,interval:5e3,timeoutError:t.__("Timed out while waiting for speed-score.","jetpack-boost"),callback:async e=>{const t=Dl(await So.post("/speed-scores",{url:Jetpack_Boost.site.url}));t.scores&&e(t.scores)}})}()}function Dl(e){if(e.error){const n=t.__("An unknown error occurred while requesting metrics","jetpack-boost");throw Go(e.error,n)}if(wo(e.scores))return{status:"success",scores:{current:wo(e.scores.current)?{mobile:ua(e.scores.current.mobile,0),desktop:ua(e.scores.current.desktop,0)}:{mobile:0,desktop:0},noBoost:wo(e.scores.noBoost)?{mobile:ua(e.scores.noBoost.mobile,0),desktop:ua(e.scores.noBoost.desktop,0)}:null,isStale:!!e.scores.isStale}};const n=$o(e.status);if(!n)throw new Error(t.__("Invalid response while requesting metrics","jetpack-boost"));return{status:n}}function Fl(e){const n=function(e){const t=e.current,n=e.noBoost;let o=0,r=0;if(null!==t&&null!==n){o=e.current.mobile+e.current.desktop,r=e.noBoost.mobile+e.noBoost.desktop;const t=o/r-1;return Math.round(100*t)}return 0}(e);return n>5?{id:"score-increase",title:t.__("Your site got faster","jetpack-boost"),message:t.__("That great! If you’re happy, why not rate Boost?","jetpack-boost"),cta:t.__("Rate the Plugin","jetpack-boost"),ctaLink:"https://wordpress.org/support/plugin/jetpack-boost/reviews/#new-post"}:n<-5?{id:"score-decrease",title:t.__("Speed score has fallen","jetpack-boost"),message:t.__("Jetpack Boost should not slow down your site. Try refreshing your score. If the problem persists please contact support","jetpack-boost"),cta:t.__("Contact Support","jetpack-boost"),ctaLink:Al}:void 0}function Hl(e){let t,n,o,r=[{class:"gridicon gridicons-computer"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-computer"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Jl(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Wl extends Je{constructor(e){super(),He(this,e,Jl,Hl,h,{})}}function Ul(e){let t,n,o,r=[{class:"gridicon gridicons-phone"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},e[0]],s={};for(let e=0;e<r.length;e+=1)s=l(s,r[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),this.h()},l(e){t=X(e,"svg",{class:!0,height:!0,width:!0,xmlns:!0,viewBox:!0});var r=Y(t);n=X(r,"g",{});var s=Y(n);o=X(s,"path",{d:!0}),Y(o).forEach(I),s.forEach(I),r.forEach(I),this.h()},h(){K(o,"d","M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"),q(t,s)},m(e,r){A(e,t,r),O(t,n),O(n,o)},p(e,[n]){q(t,s=Ae(r,[{class:"gridicon gridicons-phone"},{height:"24"},{width:"24"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 24 24"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function Gl(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class Kl extends Je{constructor(e){super(),He(this,e,Gl,Ul,h,{})}}var ql,Yl,Xl,Zl,Ql;ql={},function(){var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(e){return o(s(e),arguments)}function n(e,n){return t.apply(null,[e].concat(n||[]))}function o(n,o){var r,s,i,a,c,l,u,p,d,m=1,h=n.length,g="";for(s=0;s<h;s++)if("string"==typeof n[s])g+=n[s];else if("object"==typeof n[s]){if((a=n[s]).keys)for(r=o[m],i=0;i<a.keys.length;i++){if(null==r)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[i],a.keys[i-1]));r=r[a.keys[i]]}else r=a.param_no?o[a.param_no]:o[m++];if(e.not_type.test(a.type)&&e.not_primitive.test(a.type)&&r instanceof Function&&(r=r()),e.numeric_arg.test(a.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(t("[sprintf] expecting number but found %T",r));switch(e.number.test(a.type)&&(p=r>=0),a.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,a.width?parseInt(a.width):0);break;case"e":r=a.precision?parseFloat(r).toExponential(a.precision):parseFloat(r).toExponential();break;case"f":r=a.precision?parseFloat(r).toFixed(a.precision):parseFloat(r);break;case"g":r=a.precision?String(Number(r.toPrecision(a.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=a.precision?r.substring(0,a.precision):r;break;case"t":r=String(!!r),r=a.precision?r.substring(0,a.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=a.precision?r.substring(0,a.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=a.precision?r.substring(0,a.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}e.json.test(a.type)?g+=r:(!e.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",r=r.toString().replace(e.sign,"")),l=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+r).length,c=a.width&&u>0?l.repeat(u):"",g+=a.align?d+r+c:"0"===l?d+c+r:c+d+r)}return g}var r=Object.create(null);function s(t){if(r[t])return r[t];for(var n,o=t,s=[],i=0;o;){if(null!==(n=e.text.exec(o)))s.push(n[0]);else if(null!==(n=e.modulo.exec(o)))s.push("%");else{if(null===(n=e.placeholder.exec(o)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){i|=1;var a=[],c=n[2],l=[];if(null===(l=e.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(c=c.substring(l[0].length));)if(null!==(l=e.key_access.exec(c)))a.push(l[1]);else{if(null===(l=e.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}n[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");s.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}o=o.substring(n[0].length)}return r[t]=s}ql.sprintf=t,ql.vsprintf=n,"undefined"!=typeof window&&(window.sprintf=t,window.vsprintf=n)}(),Yl={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Xl=["(","?"],Zl={")":["("],":":["?","?:"]},Ql=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var eu={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function tu(e){var t=function(e){for(var t,n,o,r,s=[],i=[];t=e.match(Ql);){for(n=t[0],(o=e.substr(0,t.index).trim())&&s.push(o);r=i.pop();){if(Zl[n]){if(Zl[n][0]===r){n=Zl[n][1]||n;break}}else if(Xl.indexOf(r)>=0||Yl[r]<Yl[n]){i.push(r);break}s.push(r)}Zl[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&s.push(e),s.concat(i.reverse())}(e);return function(e){return function(e,t){var n,o,r,s,i,a,c=[];for(n=0;n<e.length;n++){if(i=e[n],s=eu[i]){for(o=s.length,r=Array(o);o--;)r[o]=c.pop();try{a=s.apply(null,r)}catch(e){return e}}else a=t.hasOwnProperty(i)?t[i]:+i;c.push(a)}return c[0]}(t,e)}}var nu={contextDelimiter:"",onMissingKey:null};function ou(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},nu)this.options[n]=void 0!==t&&n in t?t[n]:nu[n]}ou.prototype.getPluralForm=function(e,t){var n,o,r,s=this.pluralForms[e];return s||("function"!=typeof(r=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,o;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(o=t[n].trim()).indexOf("plural="))return o.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=function(e){var t=tu(e);return function(e){return+t({n:e})}}(o)),s=this.pluralForms[e]=r),s(t)},ou.prototype.dcnpgettext=function(e,t,n,o,r){var s,i,a;return s=void 0===r?0:this.getPluralForm(e,r),i=n,t&&(i=t+this.options.contextDelimiter+n),(a=this.data[e][i])&&a[s]?a[s]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===s?n:o)};const ru={plural_forms:e=>1===e?0:1},su=/^i18n\.(n?gettext|has_translation)(_|$)/,iu=((e,t,n)=>{const o=new ou({}),r=new Set,s=()=>{r.forEach((e=>e()))},i=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";o.data[n]={...o.data[n],...e},o.data[n][""]={...ru,...null===(t=o.data[n])||void 0===t?void 0:t[""]},delete o.pluralForms[n]},a=(e,t)=>{i(e,t),s()},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;return o.data[e]||i(void 0,e),o.dcnpgettext(e,t,n,r,s)},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},u=(e,t,o)=>{let r=c(o,t,e);return n?(r=n.applyFilters("i18n.gettext_with_context",r,e,t,o),n.applyFilters("i18n.gettext_with_context_"+l(o),r,e,t,o)):r};if(e&&a(e,t),n){const e=e=>{su.test(e)&&s()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return o.data[e]},setLocaleData:a,addLocaleData:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";o.data[n]={...o.data[n],...e,"":{...ru,...null===(t=o.data[n])||void 0===t?void 0:t[""],...null==e?void 0:e[""]}},delete o.pluralForms[n],s()},resetLocaleData:(e,t)=>{o.data={},o.pluralForms={},a(e,t)},subscribe:e=>(r.add(e),()=>r.delete(e)),__:(e,t)=>{let o=c(t,void 0,e);return n?(o=n.applyFilters("i18n.gettext",o,e,t),n.applyFilters("i18n.gettext_"+l(t),o,e,t)):o},_x:u,_n:(e,t,o,r)=>{let s=c(r,void 0,e,t,o);return n?(s=n.applyFilters("i18n.ngettext",s,e,t,o,r),n.applyFilters("i18n.ngettext_"+l(r),s,e,t,o,r)):s},_nx:(e,t,o,r,s)=>{let i=c(s,r,e,t,o);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,o,r,s),n.applyFilters("i18n.ngettext_with_context_"+l(s),i,e,t,o,r,s)):i},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,r)=>{var s,i;const a=t?t+""+e:e;let c=!(null===(s=o.data)||void 0===s||null===(i=s[null!=r?r:"default"])||void 0===i||!i[a]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,r),c=n.applyFilters("i18n.has_translation_"+l(r),c,e,t,r)),c}}})(void 0,void 0,Xt);iu.getLocaleData.bind(iu),iu.setLocaleData.bind(iu),iu.resetLocaleData.bind(iu),iu.subscribe.bind(iu);const au=iu.__.bind(iu);function cu(e,t){const n=getComputedStyle(e).transform.replace("none","");return{delay:t.delay||0,duration:t.duration||2e3,easing:t.easing||Ji,css:(e,t)=>`transform: ${n} translateX(${100*t}%)`}}function lu(e){let t,n,o,r,s,i,a,c,l,u,p,m,h,g,f,_,y,b,v,$=au("Do not show me again","jetpack-boost")+"";return o=new qi({}),o.$on("click",e[8]),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),s=D("h3"),i=H(e[1]),a=J(),c=D("p"),l=H(e[2]),u=J(),p=D("a"),m=H(e[4]),h=J(),g=D("a"),f=H($),K(s,"class","jb-rating-card__headline"),K(c,"class","jb-rating-card__paragraph"),K(p,"class","jb-button--primary"),K(p,"href",e[3]),K(p,"target","_blank"),K(g,"class","jb-link"),K(g,"href",e[3]),K(g,"target","_blank"),K(n,"class","jb-rating-card"),K(t,"class","jb-rating-card__wrapper")},m(d,_){R(d,t,_),M(t,n),De(o,n,null),M(n,r),M(n,s),M(s,i),M(n,a),M(n,c),M(c,l),M(n,u),M(n,p),M(p,m),M(n,h),M(n,g),M(g,f),y=!0,b||(v=[U(p,"click",e[9]),U(g,"click",G(e[10]))],b=!0)},p(e,t){(!y||2&t)&&Z(i,e[1]),(!y||4&t)&&Z(l,e[2]),(!y||16&t)&&Z(m,e[4]),(!y||8&t)&&K(p,"href",e[3]),(!y||8&t)&&K(g,"href",e[3])},i(e){y||(Me(o.$$.fragment,e),we((()=>{_||(_=Oe(n,cu,{},!0)),_.run(1)})),y=!0)},o(e){Ne(o.$$.fragment,e),_||(_=Oe(n,cu,{},!1)),_.run(0),y=!1},d(e){e&&I(t),Fe(o),e&&_&&_.end(),b=!1,d(v)}}}function uu(e){let t,n,o=!e[5].includes(e[0]),r=o&&lu(e);return{c(){r&&r.c(),t=W()},m(e,o){r&&r.m(e,o),R(e,t,o),n=!0},p(e,[n]){33&n&&(o=!e[5].includes(e[0])),o?r?(r.p(e,n),33&n&&Me(r,1)):(r=lu(e),r.c(),Me(r,1),r.m(t.parentNode,t)):r&&(ze(),Ne(r,1,1,(()=>{r=null})),Be())},i(e){n||(Me(r),n=!0)},o(e){Ne(r),n=!1},d(e){r&&r.d(e),e&&I(t)}}}function pu(e,n,o){let r;y(e,Po,(e=>o(5,r=e)));let{id:s=""}=n,{title:i=""}=n,{message:a=""}=n,{ctaLink:c=""}=n,{cta:l=""}=n,u="";const p=pe();async function d(){u={action:"set_show_score_prompt",id:s,value:!1,nonce:Jetpack_Boost.showScorePromptNonce},await async function(e){const n=await ma(e);let o;try{o=await n.json()}catch(e){throw new da(t.sprintf(t.__("Received invalid response while communicating with your WordPress site: %s","jetpack-boost"),e.message))}if(!n.ok)throw new da(t.sprintf(t.__("HTTP %d error received while communicating with the server.","jetpack-boost"),n.status));return o}(u),Po.dismiss(s),p("dismiss")}return e.$$set=e=>{"id"in e&&o(0,s=e.id),"title"in e&&o(1,i=e.title),"message"in e&&o(2,a=e.message),"ctaLink"in e&&o(3,c=e.ctaLink),"cta"in e&&o(4,l=e.cta)},[s,i,a,c,l,r,p,d,()=>p("dismiss"),()=>{d()},()=>{d()}]}iu._x.bind(iu),iu._n.bind(iu),iu._nx.bind(iu),iu.isRTL.bind(iu),iu.hasTranslation.bind(iu);class du extends Je{constructor(e){super(),He(this,e,pu,uu,h,{id:0,title:1,message:2,ctaLink:3,cta:4})}}function mu(e){let t,n,o,r,s=[{xmlns:"http://www.w3.org/2000/svg"},{width:"24"},{height:"24"},{viewBox:"0 0 128 128"},e[0]],i={};for(let e=0;e<s.length;e+=1)i=l(i,s[e]);return{c(){t=F("svg"),n=F("g"),o=F("path"),r=F("animateTransform"),this.h()},l(e){t=X(e,"svg",{xmlns:!0,width:!0,height:!0,viewBox:!0});var s=Y(t);n=X(s,"g",{});var i=Y(n);o=X(i,"path",{d:!0}),Y(o).forEach(I),r=X(i,"animateTransform",{attributeName:!0,type:!0,values:!0,calcMode:!0,dur:!0,repeatCount:!0}),Y(r).forEach(I),i.forEach(I),s.forEach(I),this.h()},h(){K(o,"d","M64 0a7 7 0 11-7 7 7 7 0 017-7zm29.86 12.2a2.8 2.8 0 11-3.83 1.02 2.8 2.8 0 013.83-1.02zm22.16 21.68a3.15 3.15 0 11-4.3-1.15 3.15 3.15 0 014.3 1.15zm.87 60.53a4.2 4.2 0 11-1.57-5.7 4.2 4.2 0 011.54 5.73zm7.8-30.5a3.85 3.85 0 11-3.85-3.85 3.85 3.85 0 013.85 3.84zm-30 53.2a4.55 4.55 0 111.66-6.23 4.55 4.55 0 01-1.67 6.22zM64 125.9a4.9 4.9 0 114.9-4.9 4.9 4.9 0 01-4.9 4.9zm-31.06-8.22a5.25 5.25 0 117.17-1.93 5.25 5.25 0 01-7.14 1.93zM9.9 95.1a5.6 5.6 0 117.65 2.06A5.6 5.6 0 019.9 95.1zM1.18 63.9a5.95 5.95 0 115.95 5.94 5.95 5.95 0 01-5.96-5.94zm8.1-31.6a6.3 6.3 0 112.32 8.6 6.3 6.3 0 01-2.3-8.6zM32.25 8.87a6.65 6.65 0 11-2.44 9.1 6.65 6.65 0 012.46-9.1z"),K(r,"attributeName","transform"),K(r,"type","rotate"),K(r,"values","0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64"),K(r,"calcMode","discrete"),K(r,"dur","1080ms"),K(r,"repeatCount","indefinite"),q(t,i)},m(e,s){A(e,t,s),O(t,n),O(n,o),O(n,r)},p(e,[n]){q(t,i=Ae(s,[{xmlns:"http://www.w3.org/2000/svg"},{width:"24"},{height:"24"},{viewBox:"0 0 128 128"},1&n&&e[0]]))},i:a,o:a,d(e){e&&I(t)}}}function hu(e,t,n){return e.$$set=e=>{n(0,t=l(l({},t),k(e)))},[t=k(t)]}class gu extends Je{constructor(e){super(),He(this,e,hu,mu,h,{})}}function fu(e){let t,n,o,r,s,i;const a=[yu,_u],c=[];function l(e,t){return e[1]?0:1}n=l(e),o=c[n]=a[n](e);let u=e[2]&&e[4]&&e[4]<e[0]&&bu(e);return{c(){t=D("div"),o.c(),r=J(),u&&u.c(),K(t,"class",s="jb-score-bar__filler "+e[6]),Q(t,"width",e[0]+"%")},m(e,o){R(e,t,o),c[n].m(t,null),M(t,r),u&&u.m(t,null),i=!0},p(e,p){let d=n;n=l(e),n===d?c[n].p(e,p):(ze(),Ne(c[d],1,1,(()=>{c[d]=null})),Be(),o=c[n],o?o.p(e,p):(o=c[n]=a[n](e),o.c()),Me(o,1),o.m(t,r)),e[2]&&e[4]&&e[4]<e[0]?u?u.p(e,p):(u=bu(e),u.c(),u.m(t,null)):u&&(u.d(1),u=null),(!i||64&p&&s!==(s="jb-score-bar__filler "+e[6]))&&K(t,"class",s),(!i||1&p)&&Q(t,"width",e[0]+"%")},i(e){i||(Me(o),i=!0)},o(e){Ne(o),i=!1},d(e){e&&I(t),c[n].d(),u&&u.d()}}}function _u(e){let t,n;return{c(){t=D("div"),n=H(e[0]),K(t,"class","jb-score-bar__score")},m(e,o){R(e,t,o),M(t,n)},p(e,t){1&t&&Z(n,e[0])},i:a,o:a,d(e){e&&I(t)}}}function yu(e){let t,n,o;return n=new gu({}),{c(){t=D("div"),Ve(n.$$.fragment),K(t,"class","jb-score-bar__loading")},m(e,r){R(e,t,r),De(n,t,null),o=!0},p:a,i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){e&&I(t),Fe(n)}}}function bu(e){let t,n,o,r=e[5]&&vu(e);return{c(){t=D("div"),n=H(e[4]),o=J(),r&&r.c(),K(t,"class","jb-score-bar__no_boost_score"),Q(t,"left","min("+e[7]+"%, calc(100% - var(--clearance-space))")},m(e,s){R(e,t,s),M(t,n),M(t,o),r&&r.m(t,null)},p(e,o){16&o&&Z(n,e[4]),e[5]?r?r.p(e,o):(r=vu(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null),128&o&&Q(t,"left","min("+e[7]+"%, calc(100% - var(--clearance-space))")},d(e){e&&I(t),r&&r.d()}}}function vu(e){let t,n;return{c(){t=D("div"),n=H(e[5]),K(t,"class","jb-score-bar__no_boost_score_tooltip")},m(e,o){R(e,t,o),M(t,n)},p(e,t){32&t&&Z(n,e[5])},d(e){e&&I(t)}}}function $u(e){let t,n,o=e[3]&&fu(e);return{c(){t=D("div"),o&&o.c(),K(t,"class","jb-score-bar__bounds")},m(e,r){R(e,t,r),o&&o.m(t,null),n=!0},p(e,[n]){e[3]?o?(o.p(e,n),8&n&&Me(o,1)):(o=fu(e),o.c(),Me(o,1),o.m(t,null)):o&&(ze(),Ne(o,1,1,(()=>{o=null})),Be())},i(e){n||(Me(o),n=!0)},o(e){Ne(o),n=!1},d(e){e&&I(t),o&&o.d()}}}function wu(e,t,n){let o,r,{score:s=0}=t,{isLoading:i=!0}=t,{showPrevScores:a=!1}=t,{active:c=!0}=t,{prevScore:l=0}=t,{noBoostScoreTooltip:u=null}=t;return e.$$set=e=>{"score"in e&&n(0,s=e.score),"isLoading"in e&&n(1,i=e.isLoading),"showPrevScores"in e&&n(2,a=e.showPrevScores),"active"in e&&n(3,c=e.active),"prevScore"in e&&n(4,l=e.prevScore),"noBoostScoreTooltip"in e&&n(5,u=e.noBoostScoreTooltip)},e.$$.update=()=>{var t;17&e.$$.dirty&&(n(6,(t=s,o=i?"fill-loading":t>70?"fill-good":t>50?"fill-mediocre":t?"fill-bad":void 0)),n(7,r=l/s*100))},[s,i,a,c,l,u,o,r]}class xu extends Je{constructor(e){super(),He(this,e,wu,$u,h,{score:0,isLoading:1,showPrevScores:2,active:3,prevScore:4,noBoostScoreTooltip:5})}}function ku(e){let n,o,r,s,i,c,l,u,p,d,m;return{c(){n=D("div"),o=D("span"),o.textContent="i",r=J(),s=D("div"),i=D("p"),i.textContent=`${t.__("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-boost")}`,c=J(),l=D("table"),l.innerHTML="<tr><th>A</th> \n\t\t\t\t<td>90+</td></tr> \n\t\t\t<tr><th>B</th> \n\t\t\t\t<td>75 - 90</td></tr> \n\t\t\t<tr><th>C</th> \n\t\t\t\t<td>50 - 75</td></tr>",u=J(),p=D("table"),p.innerHTML="<tr><th>D</th> \n\t\t\t\t<td>35 - 50</td></tr> \n\t\t\t<tr><th>E</th> \n\t\t\t\t<td>25 - 35</td></tr> \n\t\t\t<tr><th>F</th> \n\t\t\t\t<td>0 - 25</td></tr>",d=J(),m=D("i"),K(o,"class","jb-score-context__info-icon"),K(s,"class","jb-score-context__info-container"),K(n,"class","jb-score-context")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s),M(s,i),M(s,c),M(s,l),M(s,u),M(s,p),M(s,d),M(s,m)},p:a,i:a,o:a,d(e){e&&I(n)}}}class ju extends Je{constructor(e){super(),He(this,e,null,ku,h,{})}}function Su(e){let n,o,r,s;return{c(){n=D("div"),o=D("h2"),o.textContent=`${t.__("Website Offline","jetpack-boost")}`,r=J(),s=D("p"),s.textContent=`${t.__("All Jetpack Boost features are still available, but to get a performance score you would first have to make your website available online.","jetpack-boost")}`,K(n,"class","jb-site-score__offline")},m(e,t){R(e,n,t),M(n,o),M(n,r),M(n,s)},p:a,i:a,o:a,d(e){e&&I(n)}}}function Cu(e){let n,o,r,s,i,a,c,l,u,p,d,m=t.__("Refresh","jetpack-boost")+"";function h(e,t){return e[1]?Pu:e[2]?Lu:Eu}let g=h(e),f=g(e),_=!e[1]&&!e[2]&&zu();return a=new Tc({}),{c(){n=D("div"),o=D("h2"),f.c(),r=J(),_&&_.c(),s=J(),i=D("button"),Ve(a.$$.fragment),c=J(),l=H(m),K(i,"type","button"),K(i,"class","components-button is-link"),i.disabled=e[1],K(n,"class","jb-site-score__top")},m(t,m){R(t,n,m),M(n,o),f.m(o,null),M(n,r),_&&_.m(n,null),M(n,s),M(n,i),De(a,i,null),M(i,c),M(i,l),u=!0,p||(d=U(i,"click",e[14]),p=!0)},p(e,t){g===(g=h(e))&&f?f.p(e,t):(f.d(1),f=g(e),f&&(f.c(),f.m(o,null))),e[1]||e[2]?_&&(ze(),Ne(_,1,1,(()=>{_=null})),Be()):_?6&t&&Me(_,1):(_=zu(),_.c(),Me(_,1),_.m(n,s)),(!u||2&t)&&(i.disabled=e[1])},i(e){u||(Me(_),Me(a.$$.fragment,e),u=!0)},o(e){Ne(_),Ne(a.$$.fragment,e),u=!1},d(e){e&&I(n),f.d(),_&&_.d(),Fe(a),p=!1,d()}}}function Eu(e){let n,o,r,s=t.__("Overall score","jetpack-boost")+"";return{c(){n=H(s),o=H(": "),r=H(e[4])},m(e,t){R(e,n,t),R(e,o,t),R(e,r,t)},p(e,t){16&t&&Z(r,e[4])},d(e){e&&I(n),e&&I(o),e&&I(r)}}}function Lu(e){let n,o=t.__("Whoops, something went wrong","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function Pu(e){let n,o=t.__("Loading…","jetpack-boost")+"";return{c(){n=H(o)},m(e,t){R(e,n,t)},p:a,d(e){e&&I(n)}}}function zu(e){let t,n;return t=new ju({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Bu(e){let n,o;return n=new cr({props:{title:t.__("Failed to load Speed Scores","jetpack-boost"),error:e[2],suggestion:t.__('<action name="retry">Try again</action>',"jetpack-boost")}}),n.$on("retry",e[15]),{c(){Ve(n.$$.fragment)},m(e,t){De(n,e,t),o=!0},p(e,t){const o={};4&t&&(o.error=e[2]),n.$set(o)},i(e){o||(Me(n.$$.fragment,e),o=!0)},o(e){Ne(n.$$.fragment,e),o=!1},d(e){Fe(n,e)}}}function Mu(e){let t,n;return t=new du({props:{id:e[5].id,title:e[5].title,message:e[5].message,ctaLink:e[5].ctaLink,cta:e[5].cta}}),t.$on("dismiss",e[16]),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};32&n&&(o.id=e[5].id),32&n&&(o.title=e[5].title),32&n&&(o.message=e[5].message),32&n&&(o.ctaLink=e[5].ctaLink),32&n&&(o.cta=e[5].cta),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Nu(e){let n,o,r,s,i,a,c,l,u,p,d,m,h,g,f,_,y,b,v,$,w,x,k,j;const S=[Cu,Su],C=[];r=function(e,t){return e[6]?0:1}(e),s=C[r]=S[r](e);let E=e[2]&&Bu(e);u=new Kl({}),h=new xu({props:{prevScore:e[0].noBoost?.mobile,score:e[0].current.mobile,active:e[6],isLoading:e[1],showPrevScores:e[3],noBoostScoreTooltip:t.__("Your mobile score without Boost","jetpack-boost")}}),y=new Wl({}),w=new xu({props:{prevScore:e[0].noBoost?.desktop,score:e[0].current.desktop,active:e[6],isLoading:e[1],showPrevScores:e[3],noBoostScoreTooltip:t.__("Your desktop score without Boost","jetpack-boost")}});let L=e[5]&&Mu(e);return{c(){n=D("div"),o=D("div"),s.c(),i=J(),E&&E.c(),a=J(),c=D("div"),l=D("div"),Ve(u.$$.fragment),p=J(),d=D("div"),d.textContent=`${t.__("Mobile score","jetpack-boost")}`,m=J(),Ve(h.$$.fragment),g=J(),f=D("div"),_=D("div"),Ve(y.$$.fragment),b=J(),v=D("div"),v.textContent=`${t.__("Desktop score","jetpack-boost")}`,$=J(),Ve(w.$$.fragment),x=J(),L&&L.c(),k=W(),K(l,"class","jb-score-bar__label"),K(c,"class","jb-score-bar jb-score-bar--mobile"),K(_,"class","jb-score-bar__label"),K(f,"class","jb-score-bar jb-score-bar--desktop"),K(o,"class","jb-site-score"),ee(o,"loading",e[1]),K(n,"class","jb-container")},m(e,t){R(e,n,t),M(n,o),C[r].m(o,null),M(o,i),E&&E.m(o,null),M(o,a),M(o,c),M(c,l),De(u,l,null),M(l,p),M(l,d),M(c,m),De(h,c,null),M(o,g),M(o,f),M(f,_),De(y,_,null),M(_,b),M(_,v),M(f,$),De(w,f,null),R(e,x,t),L&&L.m(e,t),R(e,k,t),j=!0},p(e,[t]){s.p(e,t),e[2]?E?(E.p(e,t),4&t&&Me(E,1)):(E=Bu(e),E.c(),Me(E,1),E.m(o,a)):E&&(ze(),Ne(E,1,1,(()=>{E=null})),Be());const n={};1&t&&(n.prevScore=e[0].noBoost?.mobile),1&t&&(n.score=e[0].current.mobile),2&t&&(n.isLoading=e[1]),8&t&&(n.showPrevScores=e[3]),h.$set(n);const r={};1&t&&(r.prevScore=e[0].noBoost?.desktop),1&t&&(r.score=e[0].current.desktop),2&t&&(r.isLoading=e[1]),8&t&&(r.showPrevScores=e[3]),w.$set(r),2&t&&ee(o,"loading",e[1]),e[5]?L?(L.p(e,t),32&t&&Me(L,1)):(L=Mu(e),L.c(),Me(L,1),L.m(k.parentNode,k)):L&&(ze(),Ne(L,1,1,(()=>{L=null})),Be())},i(e){j||(Me(s),Me(E),Me(u.$$.fragment,e),Me(h.$$.fragment,e),Me(y.$$.fragment,e),Me(w.$$.fragment,e),Me(L),j=!0)},o(e){Ne(s),Ne(E),Ne(u.$$.fragment,e),Ne(h.$$.fragment,e),Ne(y.$$.fragment,e),Ne(w.$$.fragment,e),Ne(L),j=!1},d(e){e&&I(n),C[r].d(),E&&E.d(),Fe(u),Fe(h),Fe(y),Fe(w),e&&I(x),L&&L.d(e),e&&I(k)}}}function Tu(e,t,n){let o,r,s,i,a;const c=Jetpack_Boost.site.online;let l,u,p="";const d=Dn(c);y(e,d,(e=>n(1,i=e)));const m=Dn({current:{mobile:0,desktop:0},noBoost:null,isStale:!1});y(e,m,(e=>n(0,s=e))),_(!1);const h=Fn(Lr,(e=>!Object.values(e).some((e=>!1===e.synced)))),g=Fn([Lr,Kr],(([e,t])=>JSON.stringify({modules:e,criticalCss:{created:t.created}})));y(e,g,(e=>n(18,a=e)));let f=a;async function _(e=!1){if(c){d.set(!0),n(2,l=void 0);try{m.set(await Vl(e)),n(4,p=function(e,t){const n=(e+t)/2;return n>90?"A":n>75?"B":n>50?"C":n>35?"D":n>25?"E":"F"}(s.current.mobile,s.current.desktop)),n(3,u=function(e){const t=e.current,n=e.noBoost;return null!=t&&null!=n&&(t.mobile!==n.mobile||t.desktop!==n.desktop)}(s)&&!s.isStale),f=a}catch(e){console.log(e),n(2,l=e)}finally{d.set(!1)}}}const b=Fn([Jr,h,g,m],(([e,t,n,o])=>!e&&t&&(n!==f||o.isStale)));y(e,b,(e=>n(13,r=e)));const v=function(e,t){let n;return function(...o){clearTimeout(n),n=setTimeout((()=>e.apply(this,o)),t)}}((e=>{r&&_(e)}),2e3);function $(){n(5,o=!1)}return e.$$.update=()=>{3&e.$$.dirty&&n(5,o=!i&&!s.isStale&&Fl(s)),8192&e.$$.dirty&&r&&v(!0)},[s,i,l,u,p,o,c,d,m,g,_,b,$,r,()=>_(!0),()=>_(!0),()=>$()]}class Ou extends Je{constructor(e){super(),He(this,e,Tu,Nu,h,{})}}function Ru(e){let n,o,r,s,i,c,l,u,p,d,m,h;return{c(){n=D("div"),o=D("div"),r=D("div"),s=D("div"),i=D("h3"),i.textContent=`${t.__("We're here to help","jetpack-boost")}`,c=J(),l=D("p"),l.textContent=`${t.__("Your paid plan gives you access to prioritized Jetpack Boost support","jetpack-boost")}`,u=J(),p=D("div"),d=D("button"),d.textContent=`${t.__("Contact Us","jetpack-boost")}`,K(i,"class","jb-support__title"),K(l,"class","jb-support__description"),K(s,"class","jb-support__content"),K(d,"class","components-button jb-button jb-button--outline"),K(d,"type","button"),K(p,"class","jb-support__cta"),K(r,"class","jb-support"),K(o,"class","jb-container--narrow"),K(n,"class","jb-section")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(r,s),M(s,i),M(s,c),M(s,l),M(r,u),M(r,p),M(p,d),m||(h=U(d,"click",Rl),m=!0)},p:a,d(e){e&&I(n),m=!1,h()}}}function Au(e){let t,n=e[0]&&Ru();return{c(){n&&n.c(),t=W()},m(e,o){n&&n.m(e,o),R(e,t,o)},p(e,[o]){e[0]?n?n.p(e,o):(n=Ru(),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:a,o:a,d(e){n&&n.d(e),e&&I(t)}}}function Iu(e,t,n){let o;return y(e,Ol,(e=>n(0,o=e))),[o]}class Vu extends Je{constructor(e){super(),He(this,e,Iu,Au,h,{})}}function Du(e){let n,o,r,s,i,c,l,u,p,d,m,h,g,f,_,y,b,v;return m=new tr({props:{template:t.__("Pages that take over 3 seconds to load have 4x the bounce rate of pages that load in 2 seconds or less. (source: <link>Pingdom</link>).","jetpack-boost"),vars:Ko(e[0])}}),b=new tr({props:{template:t.__("A one-second delay in loading times can reduce conversion rates by 20%. (source: <link>Google</link>).","jetpack-boost"),vars:Ko(e[1])}}),{c(){n=D("div"),o=D("div"),r=D("div"),s=D("h3"),s.textContent=`${t.__("Did you know?","jetpack-boost")}`,i=J(),c=D("div"),l=D("div"),u=D("div"),u.textContent="4x",p=J(),d=D("div"),Ve(m.$$.fragment),h=J(),g=D("div"),f=D("div"),f.textContent="20%",_=J(),y=D("div"),Ve(b.$$.fragment),K(s,"class","jb-tips__title"),K(u,"class","item__rate"),K(d,"class","item__description"),K(l,"class","item"),K(f,"class","item__rate"),K(y,"class","item__description"),K(g,"class","item"),K(c,"class","jb-tips__items"),K(r,"class","jb-tips"),K(o,"class","jb-container--narrow"),K(n,"class","jb-section jb-section--alt")},m(e,t){R(e,n,t),M(n,o),M(o,r),M(r,s),M(r,i),M(r,c),M(c,l),M(l,u),M(l,p),M(l,d),De(m,d,null),M(c,h),M(c,g),M(g,f),M(g,_),M(g,y),De(b,y,null),v=!0},p:a,i(e){v||(Me(m.$$.fragment,e),Me(b.$$.fragment,e),v=!0)},o(e){Ne(m.$$.fragment,e),Ne(b.$$.fragment,e),v=!1},d(e){e&&I(n),Fe(m),Fe(b)}}}function Fu(e){return[ot("jetpack-boost-pingdom"),ot("jetpack-boost-why-speed")]}class Hu extends Je{constructor(e){super(),He(this,e,Fu,Du,h,{})}}function Ju(e){let t,n,o,r,s;return n=new Hi({props:{path:"critical-css-advanced",component:hc}}),r=new Hi({props:{path:"/",component:Tl}}),{c(){t=D("div"),Ve(n.$$.fragment),o=J(),Ve(r.$$.fragment),K(t,"class","jb-section jb-section--main")},m(e,i){R(e,t,i),De(n,t,null),M(t,o),De(r,t,null),s=!0},p:a,i(e){s||(Me(n.$$.fragment,e),Me(r.$$.fragment,e),s=!0)},o(e){Ne(n.$$.fragment,e),Ne(r.$$.fragment,e),s=!1},d(e){e&&I(t),Fe(n),Fe(r)}}}function Wu(e){let t,n,o,r,s,i,a,c,l,u,p,d,m,h,g;return o=new $r({}),i=new Ou({}),c=new Mi({props:{$$slots:{default:[Ju]},$$scope:{ctx:e}}}),u=new Hu({}),d=new Vu({}),h=new fr({}),{c(){t=D("div"),n=D("div"),Ve(o.$$.fragment),r=J(),s=D("div"),Ve(i.$$.fragment),a=J(),Ve(c.$$.fragment),l=J(),Ve(u.$$.fragment),p=J(),Ve(d.$$.fragment),m=J(),Ve(h.$$.fragment),K(n,"class","jb-container"),K(s,"class","jb-section jb-section--alt jb-section--scores"),K(t,"id","jb-settings"),K(t,"class","jb-settings jb-settings--main")},m(e,f){R(e,t,f),M(t,n),De(o,n,null),M(t,r),M(t,s),De(i,s,null),M(t,a),De(c,t,null),M(t,l),De(u,t,null),M(t,p),De(d,t,null),M(t,m),De(h,t,null),g=!0},p(e,[t]){const n={};32&t&&(n.$$scope={dirty:t,ctx:e}),c.$set(n)},i(e){g||(Me(o.$$.fragment,e),Me(i.$$.fragment,e),Me(c.$$.fragment,e),Me(u.$$.fragment,e),Me(d.$$.fragment,e),Me(h.$$.fragment,e),g=!0)},o(e){Ne(o.$$.fragment,e),Ne(i.$$.fragment,e),Ne(c.$$.fragment,e),Ne(u.$$.fragment,e),Ne(d.$$.fragment,e),Ne(h.$$.fragment,e),g=!1},d(e){e&&I(t),Fe(o),Fe(i),Fe(c),Fe(u),Fe(d),Fe(h)}}}function Uu(e,t,n){let o,r;y(e,Bo,(e=>n(4,r=e)));let{location:s,navigate:i}=t;const a=zr("cloud-css");return y(e,a,(e=>n(3,o=e))),e.$$set=e=>{"location"in e&&n(1,s=e.location),"navigate"in e&&n(2,i=e.navigate)},e.$$.update=()=>{28&e.$$.dirty&&r.site.getStarted&&!o&&i("/getting-started")},[a,s,i,o,r]}class Gu extends Je{constructor(e){super(),He(this,e,Uu,Wu,h,{location:1,navigate:2})}}function Ku(e){let t,n;return t=new _s({}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p:a,i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function qu(e){let t,n;return t=new Mi({props:{history:ho,$$slots:{default:[Yu]},$$scope:{ctx:e}}}),{c(){Ve(t.$$.fragment)},m(e,o){De(t,e,o),n=!0},p(e,n){const o={};4&n&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){n||(Me(t.$$.fragment,e),n=!0)},o(e){Ne(t.$$.fragment,e),n=!1},d(e){Fe(t,e)}}}function Yu(e){let t,n,o,r,s,i,c,l;return t=new Hi({props:{path:"upgrade",component:Fo}}),o=new Hi({props:{path:"purchase-successful",component:zs}}),s=new Hi({props:{path:"getting-started",component:Es}}),c=new Hi({props:{component:Gu}}),{c(){Ve(t.$$.fragment),n=J(),Ve(o.$$.fragment),r=J(),Ve(s.$$.fragment),i=J(),Ve(c.$$.fragment)},m(e,a){De(t,e,a),R(e,n,a),De(o,e,a),R(e,r,a),De(s,e,a),R(e,i,a),De(c,e,a),l=!0},p:a,i(e){l||(Me(t.$$.fragment,e),Me(o.$$.fragment,e),Me(s.$$.fragment,e),Me(c.$$.fragment,e),l=!0)},o(e){Ne(t.$$.fragment,e),Ne(o.$$.fragment,e),Ne(s.$$.fragment,e),Ne(c.$$.fragment,e),l=!1},d(e){Fe(t,e),e&&I(n),Fe(o,e),e&&I(r),Fe(s,e),e&&I(i),Fe(c,e)}}}function Xu(e){let t,n,o,r;const s=[qu,Ku],i=[];function a(e,t){return e[0].connected||!e[1].site.online?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),o=W()},m(e,n){i[t].m(e,n),R(e,o,n),r=!0},p(e,[r]){let c=t;t=a(e),t===c?i[t].p(e,r):(ze(),Ne(i[c],1,1,(()=>{i[c]=null})),Be(),n=i[t],n?n.p(e,r):(n=i[t]=s[t](e),n.c()),Me(n,1),n.m(o.parentNode,o))},i(e){r||(Me(n),r=!0)},o(e){Ne(n),r=!1},d(e){i[t].d(e),e&&I(o)}}}function Zu(e,t,n){let o,r;return y(e,is,(e=>n(0,o=e))),y(e,Bo,(e=>n(1,r=e))),[o,r]}const Qu=document.getElementById("jb-admin-settings");return new class extends Je{constructor(e){super(),He(this,e,Zu,Xu,h,{})}}({target:Qu})}(window.React,wp.i18n,window.ReactDOM,wp.components);
app/lib/Premium_Pricing.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace Automattic\Jetpack_Boost\Lib;
4
 
5
  use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
 
6
 
7
  class Premium_Pricing {
8
  const PRODUCT_SLUG_BASE = 'jetpack_boost';
@@ -17,7 +18,10 @@ class Premium_Pricing {
17
  $yearly_pricing = Wpcom_Products::get_product_pricing( $yearly_pricing_slug );
18
 
19
  if ( empty( $yearly_pricing ) ) {
20
- Analytics::record_user_event( 'upgrade_price_missing', array( 'error_message' => 'Missing pricing information on benefits interstitial page.' ) );
 
 
 
21
  return $constants;
22
  }
23
 
3
  namespace Automattic\Jetpack_Boost\Lib;
4
 
5
  use Automattic\Jetpack\My_Jetpack\Wpcom_Products;
6
+ use Automattic\Jetpack\Status;
7
 
8
  class Premium_Pricing {
9
  const PRODUCT_SLUG_BASE = 'jetpack_boost';
18
  $yearly_pricing = Wpcom_Products::get_product_pricing( $yearly_pricing_slug );
19
 
20
  if ( empty( $yearly_pricing ) ) {
21
+ // In offline mode, we don't have access to the pricing data and it's not an error.
22
+ if ( ! ( new Status() )->is_offline_mode() ) {
23
+ Analytics::record_user_event( 'upgrade_price_missing', array( 'error_message' => 'Missing pricing information on benefits interstitial page.' ) );
24
+ }
25
  return $constants;
26
  }
27
 
composer.json CHANGED
@@ -3,7 +3,7 @@
3
  "description": "Boost your WordPress site's performance, from the creators of Jetpack",
4
  "type": "library",
5
  "license": "GPL-2.0-or-later",
6
- "version": "1.5.3",
7
  "authors": [
8
  {
9
  "name": "Automattic, Inc.",
@@ -69,7 +69,7 @@
69
  "platform": {
70
  "ext-intl": "0.0.0"
71
  },
72
- "autoloader-suffix": "b1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3",
73
  "allow-plugins": {
74
  "roots/wordpress-core-installer": true,
75
  "automattic/jetpack-autoloader": true,
3
  "description": "Boost your WordPress site's performance, from the creators of Jetpack",
4
  "type": "library",
5
  "license": "GPL-2.0-or-later",
6
+ "version": "1.5.4",
7
  "authors": [
8
  {
9
  "name": "Automattic, Inc.",
69
  "platform": {
70
  "ext-intl": "0.0.0"
71
  },
72
+ "autoloader-suffix": "b1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4",
73
  "allow-plugins": {
74
  "roots/wordpress-core-installer": true,
75
  "automattic/jetpack-autoloader": true,
jetpack-boost.php CHANGED
@@ -9,9 +9,9 @@
9
  * Plugin Name: Jetpack Boost
10
  * Plugin URI: https://jetpack.com/boost
11
  * Description: Boost your WordPress site's performance, from the creators of Jetpack
12
- * Version: 1.5.3
13
- * Author: Automattic - Website Speed and Performance team
14
- * Author URI: https://automattic.com
15
  * License: GPL-2.0+
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
17
  * Text Domain: jetpack-boost
@@ -29,7 +29,7 @@ if ( ! defined( 'WPINC' ) ) {
29
  die;
30
  }
31
 
32
- define( 'JETPACK_BOOST_VERSION', '1.5.3' );
33
  define( 'JETPACK_BOOST_SLUG', 'jetpack-boost' );
34
 
35
  if ( ! defined( 'JETPACK_BOOST_CLIENT_NAME' ) ) {
9
  * Plugin Name: Jetpack Boost
10
  * Plugin URI: https://jetpack.com/boost
11
  * Description: Boost your WordPress site's performance, from the creators of Jetpack
12
+ * Version: 1.5.4
13
+ * Author: Automattic - Jetpack Site Speed team
14
+ * Author URI: https://jetpack.com/boost/
15
  * License: GPL-2.0+
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
17
  * Text Domain: jetpack-boost
29
  die;
30
  }
31
 
32
+ define( 'JETPACK_BOOST_VERSION', '1.5.4' );
33
  define( 'JETPACK_BOOST_SLUG', 'jetpack-boost' );
34
 
35
  if ( ! defined( 'JETPACK_BOOST_CLIENT_NAME' ) ) {
jetpack_vendor/automattic/jetpack-logo/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
 
 
 
 
8
  ## [1.5.17] - 2022-07-26
9
  ### Changed
10
  - Updated package dependencies. [#25158]
@@ -126,6 +130,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
126
 
127
  - Packages: Add a basic Jetpack Logo package
128
 
 
129
  [1.5.17]: https://github.com/Automattic/jetpack-logo/compare/v1.5.16...v1.5.17
130
  [1.5.16]: https://github.com/Automattic/jetpack-logo/compare/v1.5.15...v1.5.16
131
  [1.5.15]: https://github.com/Automattic/jetpack-logo/compare/v1.5.14...v1.5.15
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
8
+ ## [1.5.18] - 2022-11-07
9
+ ### Changed
10
+ - Updated package dependencies.
11
+
12
  ## [1.5.17] - 2022-07-26
13
  ### Changed
14
  - Updated package dependencies. [#25158]
130
 
131
  - Packages: Add a basic Jetpack Logo package
132
 
133
+ [1.5.18]: https://github.com/Automattic/jetpack-logo/compare/v1.5.17...v1.5.18
134
  [1.5.17]: https://github.com/Automattic/jetpack-logo/compare/v1.5.16...v1.5.17
135
  [1.5.16]: https://github.com/Automattic/jetpack-logo/compare/v1.5.15...v1.5.16
136
  [1.5.15]: https://github.com/Automattic/jetpack-logo/compare/v1.5.14...v1.5.15
jetpack_vendor/automattic/jetpack-redirect/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
 
 
 
 
8
  ## [1.7.18] - 2022-07-26
9
  ### Changed
10
  - Updated package dependencies. [#25158]
@@ -152,6 +156,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
152
 
153
  - Create Jetpack Redirect package
154
 
 
155
  [1.7.18]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.17...v1.7.18
156
  [1.7.17]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.16...v1.7.17
157
  [1.7.16]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.15...v1.7.16
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
8
+ ## [1.7.19] - 2022-11-07
9
+ ### Changed
10
+ - Updated package dependencies. [#27278]
11
+
12
  ## [1.7.18] - 2022-07-26
13
  ### Changed
14
  - Updated package dependencies. [#25158]
156
 
157
  - Create Jetpack Redirect package
158
 
159
+ [1.7.19]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.18...v1.7.19
160
  [1.7.18]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.17...v1.7.18
161
  [1.7.17]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.16...v1.7.17
162
  [1.7.16]: https://github.com/Automattic/jetpack-redirect/compare/v1.7.15...v1.7.16
jetpack_vendor/automattic/jetpack-redirect/composer.json CHANGED
@@ -4,7 +4,7 @@
4
  "type": "jetpack-library",
5
  "license": "GPL-2.0-or-later",
6
  "require": {
7
- "automattic/jetpack-status": "^1.14"
8
  },
9
  "require-dev": {
10
  "brain/monkey": "2.6.1",
4
  "type": "jetpack-library",
5
  "license": "GPL-2.0-or-later",
6
  "require": {
7
+ "automattic/jetpack-status": "^1.15"
8
  },
9
  "require-dev": {
10
  "brain/monkey": "2.6.1",
jetpack_vendor/automattic/jetpack-status/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
 
 
 
 
8
  ## [1.14.3] - 2022-07-26
9
  ### Changed
10
  - Updated package dependencies. [#25158]
@@ -208,6 +212,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
208
 
209
  - Packages: Introduce a status package
210
 
 
211
  [1.14.3]: https://github.com/Automattic/jetpack-status/compare/v1.14.2...v1.14.3
212
  [1.14.2]: https://github.com/Automattic/jetpack-status/compare/v1.14.1...v1.14.2
213
  [1.14.1]: https://github.com/Automattic/jetpack-status/compare/v1.14.0...v1.14.1
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
 
8
+ ## [1.15.0] - 2022-11-07
9
+ ### Added
10
+ - WordPress.com: add checks for Simple or either Simple/WoA. [#27278]
11
+
12
  ## [1.14.3] - 2022-07-26
13
  ### Changed
14
  - Updated package dependencies. [#25158]
212
 
213
  - Packages: Introduce a status package
214
 
215
+ [1.15.0]: https://github.com/Automattic/jetpack-status/compare/v1.14.3...v1.15.0
216
  [1.14.3]: https://github.com/Automattic/jetpack-status/compare/v1.14.2...v1.14.3
217
  [1.14.2]: https://github.com/Automattic/jetpack-status/compare/v1.14.1...v1.14.2
218
  [1.14.1]: https://github.com/Automattic/jetpack-status/compare/v1.14.0...v1.14.1
jetpack_vendor/automattic/jetpack-status/composer.json CHANGED
@@ -36,7 +36,7 @@
36
  "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
37
  },
38
  "branch-alias": {
39
- "dev-trunk": "1.14.x-dev"
40
  }
41
  }
42
  }
36
  "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
37
  },
38
  "branch-alias": {
39
+ "dev-trunk": "1.15.x-dev"
40
  }
41
  }
42
  }
jetpack_vendor/automattic/jetpack-status/src/class-host.php CHANGED
@@ -58,6 +58,26 @@ class Host {
58
  return Constants::is_defined( 'WPCOM_IS_VIP_ENV' ) && true === Constants::get_constant( 'WPCOM_IS_VIP_ENV' );
59
  }
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  /**
62
  * Add all wordpress.com environments to the safe redirect allowed list.
63
  *
58
  return Constants::is_defined( 'WPCOM_IS_VIP_ENV' ) && true === Constants::get_constant( 'WPCOM_IS_VIP_ENV' );
59
  }
60
 
61
+ /**
62
+ * Determine if this is a Simple platform site.
63
+ *
64
+ * @return bool
65
+ */
66
+ public function is_wpcom_simple() {
67
+ return Constants::is_defined( 'IS_WPCOM' ) && true === Constants::get_constant( 'IS_WPCOM' );
68
+ }
69
+
70
+ /**
71
+ * Determine if this is a WordPress.com site.
72
+ *
73
+ * Includes both Simple and WoA platforms.
74
+ *
75
+ * @return bool
76
+ */
77
+ public function is_wpcom_platform() {
78
+ return $this->is_wpcom_simple() || $this->is_woa_site();
79
+ }
80
+
81
  /**
82
  * Add all wordpress.com environments to the safe redirect allowed list.
83
  *
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: performance, speed, pagespeed, web vitals, critical css, optimize, defer
5
  Requires at least: 5.5
6
  Tested up to: 6.1
7
  Requires PHP: 7.0
8
- Stable tag: 1.5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -176,20 +176,9 @@ If you run into compatibility issues, please do let us know. You can drop us a l
176
  2. Jetpack Boost Speed Improvement
177
 
178
  == Changelog ==
179
-
180
- ### 1.5.3 - 2022-10-25
181
-
182
- #### Added
183
- - Compatibility: Added a compatibility module for WP Super Cache.
184
- - Compatibility: Tested with v6.1 of WordPress.
185
- - General: Added tracking to purchase flows.
186
- - User Experience: Added a flow for first-time users.
187
-
188
  #### Fixed
189
- - Critical CSS: Keep Critical CSS and Cloud CSS status in sync.
190
- - Deferred JS: Fix detection of application/json scripts to auto-exclude them from deferral.
191
- - Lazy Loading: Fix desynchronization of Lazy Loading features between Boost and Jetpack.
192
- - Speed Scores: Fixed issues dismissing notifications on speed score improvements.
193
 
194
  --------
195
 
5
  Requires at least: 5.5
6
  Tested up to: 6.1
7
  Requires PHP: 7.0
8
+ Stable tag: 1.5.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
176
  2. Jetpack Boost Speed Improvement
177
 
178
  == Changelog ==
179
+ ### 1.5.4 - 2022-11-09
 
 
 
 
 
 
 
 
180
  #### Fixed
181
+ - Fixed an issue that caused boost to break on offline sites
 
 
 
182
 
183
  --------
184
 
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3
6
  {
7
  private static $loader;
8
 
@@ -24,19 +24,19 @@ class ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
- $includeFiles = \Composer\Autoload\ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
- composerRequireb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
@@ -48,7 +48,7 @@ class ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5
48
  * @param string $file
49
  * @return void
50
  */
51
- function composerRequireb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3($fileIdentifier, $file)
52
  {
53
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
54
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::getInitializer($loader));
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
+ $includeFiles = \Composer\Autoload\ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::$files;
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
+ composerRequireb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
48
  * @param string $file
49
  * @return void
50
  */
51
+ function composerRequireb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4($fileIdentifier, $file)
52
  {
53
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
54
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3
8
  {
9
  public static $files = array (
10
  '3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
@@ -208,10 +208,10 @@ class ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3
208
  public static function getInitializer(ClassLoader $loader)
209
  {
210
  return \Closure::bind(function () use ($loader) {
211
- $loader->prefixLengthsPsr4 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::$prefixLengthsPsr4;
212
- $loader->prefixDirsPsr4 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::$prefixDirsPsr4;
213
- $loader->prefixesPsr0 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::$prefixesPsr0;
214
- $loader->classMap = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3::$classMap;
215
 
216
  }, null, ClassLoader::class);
217
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4
8
  {
9
  public static $files = array (
10
  '3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
208
  public static function getInitializer(ClassLoader $loader)
209
  {
210
  return \Closure::bind(function () use ($loader) {
211
+ $loader->prefixLengthsPsr4 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::$prefixLengthsPsr4;
212
+ $loader->prefixDirsPsr4 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::$prefixDirsPsr4;
213
+ $loader->prefixesPsr0 = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::$prefixesPsr0;
214
+ $loader->classMap = ComposerStaticInitb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4::$classMap;
215
 
216
  }, null, ClassLoader::class);
217
  }
vendor/composer/installed.json CHANGED
@@ -636,24 +636,24 @@
636
  },
637
  {
638
  "name": "automattic/jetpack-logo",
639
- "version": "v1.5.17",
640
- "version_normalized": "1.5.17.0",
641
  "source": {
642
  "type": "git",
643
  "url": "https://github.com/Automattic/jetpack-logo.git",
644
- "reference": "5364da3e13e9d730c3b7570e106f128e310969ff"
645
  },
646
  "dist": {
647
  "type": "zip",
648
- "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/5364da3e13e9d730c3b7570e106f128e310969ff",
649
- "reference": "5364da3e13e9d730c3b7570e106f128e310969ff",
650
  "shasum": ""
651
  },
652
  "require-dev": {
653
  "automattic/jetpack-changelogger": "^3.2",
654
  "yoast/phpunit-polyfills": "1.0.3"
655
  },
656
- "time": "2022-07-26T13:41:07+00:00",
657
  "type": "jetpack-library",
658
  "extra": {
659
  "autotagger": true,
@@ -677,7 +677,7 @@
677
  ],
678
  "description": "A logo for Jetpack",
679
  "support": {
680
- "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.17"
681
  },
682
  "install-path": "../../jetpack_vendor/automattic/jetpack-logo"
683
  },
@@ -850,28 +850,28 @@
850
  },
851
  {
852
  "name": "automattic/jetpack-redirect",
853
- "version": "v1.7.18",
854
- "version_normalized": "1.7.18.0",
855
  "source": {
856
  "type": "git",
857
  "url": "https://github.com/Automattic/jetpack-redirect.git",
858
- "reference": "b65fd37cda2623843dbfb3c2e40673a7aaa30a04"
859
  },
860
  "dist": {
861
  "type": "zip",
862
- "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/b65fd37cda2623843dbfb3c2e40673a7aaa30a04",
863
- "reference": "b65fd37cda2623843dbfb3c2e40673a7aaa30a04",
864
  "shasum": ""
865
  },
866
  "require": {
867
- "automattic/jetpack-status": "^1.14"
868
  },
869
  "require-dev": {
870
  "automattic/jetpack-changelogger": "^3.2",
871
  "brain/monkey": "2.6.1",
872
  "yoast/phpunit-polyfills": "1.0.3"
873
  },
874
- "time": "2022-07-26T13:41:44+00:00",
875
  "type": "jetpack-library",
876
  "extra": {
877
  "autotagger": true,
@@ -895,7 +895,7 @@
895
  ],
896
  "description": "Utilities to build URLs to the jetpack.com/redirect/ service",
897
  "support": {
898
- "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.18"
899
  },
900
  "install-path": "../../jetpack_vendor/automattic/jetpack-redirect"
901
  },
@@ -949,17 +949,17 @@
949
  },
950
  {
951
  "name": "automattic/jetpack-status",
952
- "version": "v1.14.3",
953
- "version_normalized": "1.14.3.0",
954
  "source": {
955
  "type": "git",
956
  "url": "https://github.com/Automattic/jetpack-status.git",
957
- "reference": "087dcc5ff3c50ad942a15fc57dd3e4cfca1a63db"
958
  },
959
  "dist": {
960
  "type": "zip",
961
- "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/087dcc5ff3c50ad942a15fc57dd3e4cfca1a63db",
962
- "reference": "087dcc5ff3c50ad942a15fc57dd3e4cfca1a63db",
963
  "shasum": ""
964
  },
965
  "require": {
@@ -970,7 +970,7 @@
970
  "brain/monkey": "2.6.1",
971
  "yoast/phpunit-polyfills": "1.0.3"
972
  },
973
- "time": "2022-07-26T13:41:42+00:00",
974
  "type": "jetpack-library",
975
  "extra": {
976
  "autotagger": true,
@@ -979,7 +979,7 @@
979
  "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
980
  },
981
  "branch-alias": {
982
- "dev-trunk": "1.14.x-dev"
983
  }
984
  },
985
  "installation-source": "dist",
@@ -994,7 +994,7 @@
994
  ],
995
  "description": "Used to retrieve information about the current status of Jetpack and the site overall.",
996
  "support": {
997
- "source": "https://github.com/Automattic/jetpack-status/tree/v1.14.3"
998
  },
999
  "install-path": "../../jetpack_vendor/automattic/jetpack-status"
1000
  },
636
  },
637
  {
638
  "name": "automattic/jetpack-logo",
639
+ "version": "v1.5.18",
640
+ "version_normalized": "1.5.18.0",
641
  "source": {
642
  "type": "git",
643
  "url": "https://github.com/Automattic/jetpack-logo.git",
644
+ "reference": "aa36dab5e936eff1ac47617c7ab772839fb29212"
645
  },
646
  "dist": {
647
  "type": "zip",
648
+ "url": "https://api.github.com/repos/Automattic/jetpack-logo/zipball/aa36dab5e936eff1ac47617c7ab772839fb29212",
649
+ "reference": "aa36dab5e936eff1ac47617c7ab772839fb29212",
650
  "shasum": ""
651
  },
652
  "require-dev": {
653
  "automattic/jetpack-changelogger": "^3.2",
654
  "yoast/phpunit-polyfills": "1.0.3"
655
  },
656
+ "time": "2022-11-07T21:20:38+00:00",
657
  "type": "jetpack-library",
658
  "extra": {
659
  "autotagger": true,
677
  ],
678
  "description": "A logo for Jetpack",
679
  "support": {
680
+ "source": "https://github.com/Automattic/jetpack-logo/tree/v1.5.18"
681
  },
682
  "install-path": "../../jetpack_vendor/automattic/jetpack-logo"
683
  },
850
  },
851
  {
852
  "name": "automattic/jetpack-redirect",
853
+ "version": "v1.7.19",
854
+ "version_normalized": "1.7.19.0",
855
  "source": {
856
  "type": "git",
857
  "url": "https://github.com/Automattic/jetpack-redirect.git",
858
+ "reference": "b9ebaf3e0f120ff98a39b4265b7b8a58483f2647"
859
  },
860
  "dist": {
861
  "type": "zip",
862
+ "url": "https://api.github.com/repos/Automattic/jetpack-redirect/zipball/b9ebaf3e0f120ff98a39b4265b7b8a58483f2647",
863
+ "reference": "b9ebaf3e0f120ff98a39b4265b7b8a58483f2647",
864
  "shasum": ""
865
  },
866
  "require": {
867
+ "automattic/jetpack-status": "^1.15"
868
  },
869
  "require-dev": {
870
  "automattic/jetpack-changelogger": "^3.2",
871
  "brain/monkey": "2.6.1",
872
  "yoast/phpunit-polyfills": "1.0.3"
873
  },
874
+ "time": "2022-11-07T21:21:04+00:00",
875
  "type": "jetpack-library",
876
  "extra": {
877
  "autotagger": true,
895
  ],
896
  "description": "Utilities to build URLs to the jetpack.com/redirect/ service",
897
  "support": {
898
+ "source": "https://github.com/Automattic/jetpack-redirect/tree/v1.7.19"
899
  },
900
  "install-path": "../../jetpack_vendor/automattic/jetpack-redirect"
901
  },
949
  },
950
  {
951
  "name": "automattic/jetpack-status",
952
+ "version": "v1.15.0",
953
+ "version_normalized": "1.15.0.0",
954
  "source": {
955
  "type": "git",
956
  "url": "https://github.com/Automattic/jetpack-status.git",
957
+ "reference": "af3483246f08394380887e35f413ffd21799d570"
958
  },
959
  "dist": {
960
  "type": "zip",
961
+ "url": "https://api.github.com/repos/Automattic/jetpack-status/zipball/af3483246f08394380887e35f413ffd21799d570",
962
+ "reference": "af3483246f08394380887e35f413ffd21799d570",
963
  "shasum": ""
964
  },
965
  "require": {
970
  "brain/monkey": "2.6.1",
971
  "yoast/phpunit-polyfills": "1.0.3"
972
  },
973
+ "time": "2022-11-07T21:21:02+00:00",
974
  "type": "jetpack-library",
975
  "extra": {
976
  "autotagger": true,
979
  "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}"
980
  },
981
  "branch-alias": {
982
+ "dev-trunk": "1.15.x-dev"
983
  }
984
  },
985
  "installation-source": "dist",
994
  ],
995
  "description": "Used to retrieve information about the current status of Jetpack and the site overall.",
996
  "support": {
997
+ "source": "https://github.com/Automattic/jetpack-status/tree/v1.15.0"
998
  },
999
  "install-path": "../../jetpack_vendor/automattic/jetpack-status"
1000
  },
vendor/composer/installed.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => '1.5.3',
4
- 'version' => '1.5.3.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
@@ -47,8 +47,8 @@
47
  'dev_requirement' => false,
48
  ),
49
  'automattic/jetpack-boost' => array(
50
- 'pretty_version' => '1.5.3',
51
- 'version' => '1.5.3.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../../',
54
  'aliases' => array(),
@@ -128,12 +128,12 @@
128
  'dev_requirement' => false,
129
  ),
130
  'automattic/jetpack-logo' => array(
131
- 'pretty_version' => 'v1.5.17',
132
- 'version' => '1.5.17.0',
133
  'type' => 'jetpack-library',
134
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo',
135
  'aliases' => array(),
136
- 'reference' => '5364da3e13e9d730c3b7570e106f128e310969ff',
137
  'dev_requirement' => false,
138
  ),
139
  'automattic/jetpack-my-jetpack' => array(
@@ -164,12 +164,12 @@
164
  'dev_requirement' => false,
165
  ),
166
  'automattic/jetpack-redirect' => array(
167
- 'pretty_version' => 'v1.7.18',
168
- 'version' => '1.7.18.0',
169
  'type' => 'jetpack-library',
170
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect',
171
  'aliases' => array(),
172
- 'reference' => 'b65fd37cda2623843dbfb3c2e40673a7aaa30a04',
173
  'dev_requirement' => false,
174
  ),
175
  'automattic/jetpack-roles' => array(
@@ -182,12 +182,12 @@
182
  'dev_requirement' => false,
183
  ),
184
  'automattic/jetpack-status' => array(
185
- 'pretty_version' => 'v1.14.3',
186
- 'version' => '1.14.3.0',
187
  'type' => 'jetpack-library',
188
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status',
189
  'aliases' => array(),
190
- 'reference' => '087dcc5ff3c50ad942a15fc57dd3e4cfca1a63db',
191
  'dev_requirement' => false,
192
  ),
193
  'tedivm/jshrink' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => '1.5.4',
4
+ 'version' => '1.5.4.0',
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
47
  'dev_requirement' => false,
48
  ),
49
  'automattic/jetpack-boost' => array(
50
+ 'pretty_version' => '1.5.4',
51
+ 'version' => '1.5.4.0',
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../../',
54
  'aliases' => array(),
128
  'dev_requirement' => false,
129
  ),
130
  'automattic/jetpack-logo' => array(
131
+ 'pretty_version' => 'v1.5.18',
132
+ 'version' => '1.5.18.0',
133
  'type' => 'jetpack-library',
134
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo',
135
  'aliases' => array(),
136
+ 'reference' => 'aa36dab5e936eff1ac47617c7ab772839fb29212',
137
  'dev_requirement' => false,
138
  ),
139
  'automattic/jetpack-my-jetpack' => array(
164
  'dev_requirement' => false,
165
  ),
166
  'automattic/jetpack-redirect' => array(
167
+ 'pretty_version' => 'v1.7.19',
168
+ 'version' => '1.7.19.0',
169
  'type' => 'jetpack-library',
170
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect',
171
  'aliases' => array(),
172
+ 'reference' => 'b9ebaf3e0f120ff98a39b4265b7b8a58483f2647',
173
  'dev_requirement' => false,
174
  ),
175
  'automattic/jetpack-roles' => array(
182
  'dev_requirement' => false,
183
  ),
184
  'automattic/jetpack-status' => array(
185
+ 'pretty_version' => 'v1.15.0',
186
+ 'version' => '1.15.0.0',
187
  'type' => 'jetpack-library',
188
  'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status',
189
  'aliases' => array(),
190
+ 'reference' => 'af3483246f08394380887e35f413ffd21799d570',
191
  'dev_requirement' => false,
192
  ),
193
  'tedivm/jshrink' => array(
vendor/composer/jetpack_autoload_classmap.php CHANGED
@@ -19,7 +19,7 @@ return array(
19
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php'
20
  ),
21
  'Automattic\\Jetpack\\Assets\\Logo' => array(
22
- 'version' => '1.5.17.0',
23
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-logo/src/class-logo.php'
24
  ),
25
  'Automattic\\Jetpack\\Assets\\Semver' => array(
@@ -151,7 +151,7 @@ return array(
151
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php'
152
  ),
153
  'Automattic\\Jetpack\\CookieState' => array(
154
- 'version' => '1.14.3.0',
155
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php'
156
  ),
157
  'Automattic\\Jetpack\\Device_Detection' => array(
@@ -163,11 +163,11 @@ return array(
163
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php'
164
  ),
165
  'Automattic\\Jetpack\\Errors' => array(
166
- 'version' => '1.14.3.0',
167
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php'
168
  ),
169
  'Automattic\\Jetpack\\Files' => array(
170
- 'version' => '1.14.3.0',
171
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php'
172
  ),
173
  'Automattic\\Jetpack\\Heartbeat' => array(
@@ -203,7 +203,7 @@ return array(
203
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php'
204
  ),
205
  'Automattic\\Jetpack\\Modules' => array(
206
- 'version' => '1.14.3.0',
207
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php'
208
  ),
209
  'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array(
@@ -295,7 +295,7 @@ return array(
295
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php'
296
  ),
297
  'Automattic\\Jetpack\\Paths' => array(
298
- 'version' => '1.14.3.0',
299
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php'
300
  ),
301
  'Automattic\\Jetpack\\Plugins_Installer' => array(
@@ -303,7 +303,7 @@ return array(
303
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php'
304
  ),
305
  'Automattic\\Jetpack\\Redirect' => array(
306
- 'version' => '1.7.18.0',
307
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php'
308
  ),
309
  'Automattic\\Jetpack\\Roles' => array(
@@ -311,19 +311,19 @@ return array(
311
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php'
312
  ),
313
  'Automattic\\Jetpack\\Status' => array(
314
- 'version' => '1.14.3.0',
315
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php'
316
  ),
317
  'Automattic\\Jetpack\\Status\\Cache' => array(
318
- 'version' => '1.14.3.0',
319
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php'
320
  ),
321
  'Automattic\\Jetpack\\Status\\Host' => array(
322
- 'version' => '1.14.3.0',
323
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php'
324
  ),
325
  'Automattic\\Jetpack\\Status\\Visitor' => array(
326
- 'version' => '1.14.3.0',
327
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php'
328
  ),
329
  'Automattic\\Jetpack\\Terms_Of_Service' => array(
@@ -335,335 +335,335 @@ return array(
335
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php'
336
  ),
337
  'Automattic\\Jetpack_Boost\\Admin\\Admin' => array(
338
- 'version' => '1.5.3.0',
339
  'path' => $baseDir . '/app/admin/class-admin.php'
340
  ),
341
  'Automattic\\Jetpack_Boost\\Admin\\Config' => array(
342
- 'version' => '1.5.3.0',
343
  'path' => $baseDir . '/app/admin/class-config.php'
344
  ),
345
  'Automattic\\Jetpack_Boost\\Admin\\Regenerate_Admin_Notice' => array(
346
- 'version' => '1.5.3.0',
347
  'path' => $baseDir . '/app/admin/class-regenerate-admin-notice.php'
348
  ),
349
  'Automattic\\Jetpack_Boost\\Contracts\\Boost_API_Client' => array(
350
- 'version' => '1.5.3.0',
351
  'path' => $baseDir . '/app/contracts/Boost_API_Client.php'
352
  ),
353
  'Automattic\\Jetpack_Boost\\Contracts\\Feature' => array(
354
- 'version' => '1.5.3.0',
355
  'path' => $baseDir . '/app/contracts/Feature.php'
356
  ),
357
  'Automattic\\Jetpack_Boost\\Contracts\\Has_Setup' => array(
358
- 'version' => '1.5.3.0',
359
  'path' => $baseDir . '/app/contracts/Has_Setup.php'
360
  ),
361
  'Automattic\\Jetpack_Boost\\Contracts\\Has_Slug' => array(
362
- 'version' => '1.5.3.0',
363
  'path' => $baseDir . '/app/contracts/Has_Slug.php'
364
  ),
365
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS' => array(
366
- 'version' => '1.5.3.0',
367
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS.php'
368
  ),
369
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS_Cron' => array(
370
- 'version' => '1.5.3.0',
371
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS_Cron.php'
372
  ),
373
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS_Request' => array(
374
- 'version' => '1.5.3.0',
375
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS_Request.php'
376
  ),
377
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\CSS_Proxy' => array(
378
- 'version' => '1.5.3.0',
379
  'path' => $baseDir . '/app/features/optimizations/critical-css/CSS_Proxy.php'
380
  ),
381
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\Critical_CSS' => array(
382
- 'version' => '1.5.3.0',
383
  'path' => $baseDir . '/app/features/optimizations/critical-css/Critical_CSS.php'
384
  ),
385
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\Generator' => array(
386
- 'version' => '1.5.3.0',
387
  'path' => $baseDir . '/app/features/optimizations/critical-css/Generator.php'
388
  ),
389
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Lazy_Images\\Lazy_Images' => array(
390
- 'version' => '1.5.3.0',
391
  'path' => $baseDir . '/app/features/optimizations/lazy-images/class-lazy-images.php'
392
  ),
393
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Optimization' => array(
394
- 'version' => '1.5.3.0',
395
  'path' => $baseDir . '/app/features/optimizations/Optimization.php'
396
  ),
397
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Optimizations' => array(
398
- 'version' => '1.5.3.0',
399
  'path' => $baseDir . '/app/features/optimizations/Optimizations.php'
400
  ),
401
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Render_Blocking_JS\\Render_Blocking_JS' => array(
402
- 'version' => '1.5.3.0',
403
  'path' => $baseDir . '/app/features/optimizations/render-blocking-js/class-render-blocking-js.php'
404
  ),
405
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score' => array(
406
- 'version' => '1.5.3.0',
407
  'path' => $baseDir . '/app/features/speed-score/Speed_Score.php'
408
  ),
409
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score_History' => array(
410
- 'version' => '1.5.3.0',
411
  'path' => $baseDir . '/app/features/speed-score/Speed_Score_History.php'
412
  ),
413
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score_Request' => array(
414
- 'version' => '1.5.3.0',
415
  'path' => $baseDir . '/app/features/speed-score/Speed_Score_Request.php'
416
  ),
417
  'Automattic\\Jetpack_Boost\\Jetpack_Boost' => array(
418
- 'version' => '1.5.3.0',
419
  'path' => $baseDir . '/app/class-jetpack-boost.php'
420
  ),
421
  'Automattic\\Jetpack_Boost\\Lib\\Analytics' => array(
422
- 'version' => '1.5.3.0',
423
  'path' => $baseDir . '/app/lib/class-analytics.php'
424
  ),
425
  'Automattic\\Jetpack_Boost\\Lib\\Assets' => array(
426
- 'version' => '1.5.3.0',
427
  'path' => $baseDir . '/app/lib/class-assets.php'
428
  ),
429
  'Automattic\\Jetpack_Boost\\Lib\\Boost_API' => array(
430
- 'version' => '1.5.3.0',
431
  'path' => $baseDir . '/app/lib/Boost_API.php'
432
  ),
433
  'Automattic\\Jetpack_Boost\\Lib\\CLI' => array(
434
- 'version' => '1.5.3.0',
435
  'path' => $baseDir . '/app/lib/class-cli.php'
436
  ),
437
  'Automattic\\Jetpack_Boost\\Lib\\Cacheable' => array(
438
- 'version' => '1.5.3.0',
439
  'path' => $baseDir . '/app/lib/class-cacheable.php'
440
  ),
441
  'Automattic\\Jetpack_Boost\\Lib\\Collection' => array(
442
- 'version' => '1.5.3.0',
443
  'path' => $baseDir . '/app/lib/class-collection.php'
444
  ),
445
  'Automattic\\Jetpack_Boost\\Lib\\Connection' => array(
446
- 'version' => '1.5.3.0',
447
  'path' => $baseDir . '/app/lib/class-connection.php'
448
  ),
449
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Admin_Bar_Compatibility' => array(
450
- 'version' => '1.5.3.0',
451
  'path' => $baseDir . '/app/lib/critical-css/Admin_Bar_Compatibilty.php'
452
  ),
453
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_Invalidator' => array(
454
- 'version' => '1.5.3.0',
455
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_Invalidator.php'
456
  ),
457
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_State' => array(
458
- 'version' => '1.5.3.0',
459
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_State.php'
460
  ),
461
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_Storage' => array(
462
- 'version' => '1.5.3.0',
463
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_Storage.php'
464
  ),
465
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Display_Critical_CSS' => array(
466
- 'version' => '1.5.3.0',
467
  'path' => $baseDir . '/app/lib/critical-css/Display_Critical_CSS.php'
468
  ),
469
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Recommendations' => array(
470
- 'version' => '1.5.3.0',
471
  'path' => $baseDir . '/app/lib/critical-css/Recommendations.php'
472
  ),
473
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Archive_Provider' => array(
474
- 'version' => '1.5.3.0',
475
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Archive_Provider.php'
476
  ),
477
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Post_ID_Provider' => array(
478
- 'version' => '1.5.3.0',
479
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Post_ID_Provider.php'
480
  ),
481
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Provider' => array(
482
- 'version' => '1.5.3.0',
483
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Provider.php'
484
  ),
485
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Singular_Post_Provider' => array(
486
- 'version' => '1.5.3.0',
487
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Singular_Post_Provider.php'
488
  ),
489
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Taxonomy_Provider' => array(
490
- 'version' => '1.5.3.0',
491
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Taxonomy_Provider.php'
492
  ),
493
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\WP_Core_Provider' => array(
494
- 'version' => '1.5.3.0',
495
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/WP_Core_Provider.php'
496
  ),
497
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Source_Providers' => array(
498
- 'version' => '1.5.3.0',
499
  'path' => $baseDir . '/app/lib/critical-css/source-providers/Source_Providers.php'
500
  ),
501
  'Automattic\\Jetpack_Boost\\Lib\\Debug' => array(
502
- 'version' => '1.5.3.0',
503
  'path' => $baseDir . '/app/lib/class-debug.php'
504
  ),
505
  'Automattic\\Jetpack_Boost\\Lib\\Environment_Change_Detector' => array(
506
- 'version' => '1.5.3.0',
507
  'path' => $baseDir . '/app/lib/class-environment-change-detector.php'
508
  ),
509
  'Automattic\\Jetpack_Boost\\Lib\\Minify' => array(
510
- 'version' => '1.5.3.0',
511
  'path' => $baseDir . '/app/lib/class-minify.php'
512
  ),
513
  'Automattic\\Jetpack_Boost\\Lib\\Nonce' => array(
514
- 'version' => '1.5.3.0',
515
  'path' => $baseDir . '/app/lib/class-nonce.php'
516
  ),
517
  'Automattic\\Jetpack_Boost\\Lib\\Output_Filter' => array(
518
- 'version' => '1.5.3.0',
519
  'path' => $baseDir . '/app/lib/class-output-filter.php'
520
  ),
521
  'Automattic\\Jetpack_Boost\\Lib\\Premium_Features' => array(
522
- 'version' => '1.5.3.0',
523
  'path' => $baseDir . '/app/lib/Premium_Features.php'
524
  ),
525
  'Automattic\\Jetpack_Boost\\Lib\\Premium_Pricing' => array(
526
- 'version' => '1.5.3.0',
527
  'path' => $baseDir . '/app/lib/Premium_Pricing.php'
528
  ),
529
  'Automattic\\Jetpack_Boost\\Lib\\Setup' => array(
530
- 'version' => '1.5.3.0',
531
  'path' => $baseDir . '/app/lib/Setup.php'
532
  ),
533
  'Automattic\\Jetpack_Boost\\Lib\\Status' => array(
534
- 'version' => '1.5.3.0',
535
  'path' => $baseDir . '/app/lib/Status.php'
536
  ),
537
  'Automattic\\Jetpack_Boost\\Lib\\Storage_Post_Type' => array(
538
- 'version' => '1.5.3.0',
539
  'path' => $baseDir . '/app/lib/class-storage-post-type.php'
540
  ),
541
  'Automattic\\Jetpack_Boost\\Lib\\Transient' => array(
542
- 'version' => '1.5.3.0',
543
  'path' => $baseDir . '/app/lib/class-transient.php'
544
  ),
545
  'Automattic\\Jetpack_Boost\\Lib\\Url' => array(
546
- 'version' => '1.5.3.0',
547
  'path' => $baseDir . '/app/lib/class-url.php'
548
  ),
549
  'Automattic\\Jetpack_Boost\\Lib\\Utils' => array(
550
- 'version' => '1.5.3.0',
551
  'path' => $baseDir . '/app/lib/class-utils.php'
552
  ),
553
  'Automattic\\Jetpack_Boost\\Lib\\Viewport' => array(
554
- 'version' => '1.5.3.0',
555
  'path' => $baseDir . '/app/lib/class-viewport.php'
556
  ),
557
  'Automattic\\Jetpack_Boost\\Lib\\WPCOM_Boost_API_Client' => array(
558
- 'version' => '1.5.3.0',
559
  'path' => $baseDir . '/app/lib/WPCOM_Boost_API_Client.php'
560
  ),
561
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Endpoint' => array(
562
- 'version' => '1.5.3.0',
563
  'path' => $baseDir . '/app/rest-api/contracts/Endpoint.php'
564
  ),
565
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Has_Endpoints' => array(
566
- 'version' => '1.5.3.0',
567
  'path' => $baseDir . '/app/rest-api/contracts/Has_Endpoints.php'
568
  ),
569
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Permission' => array(
570
- 'version' => '1.5.3.0',
571
  'path' => $baseDir . '/app/rest-api/contracts/Permission.php'
572
  ),
573
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Cloud_CSS_Status' => array(
574
- 'version' => '1.5.3.0',
575
  'path' => $baseDir . '/app/rest-api/endpoints/Cloud_CSS_Status.php'
576
  ),
577
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Config_State' => array(
578
- 'version' => '1.5.3.0',
579
  'path' => $baseDir . '/app/rest-api/endpoints/Config_State.php'
580
  ),
581
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Error' => array(
582
- 'version' => '1.5.3.0',
583
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Error.php'
584
  ),
585
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Request' => array(
586
- 'version' => '1.5.3.0',
587
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Request.php'
588
  ),
589
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Status' => array(
590
- 'version' => '1.5.3.0',
591
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Status.php'
592
  ),
593
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Success' => array(
594
- 'version' => '1.5.3.0',
595
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Success.php'
596
  ),
597
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Get_Started' => array(
598
- 'version' => '1.5.3.0',
599
  'path' => $baseDir . '/app/rest-api/endpoints/Get_Started.php'
600
  ),
601
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Optimization_Status' => array(
602
- 'version' => '1.5.3.0',
603
  'path' => $baseDir . '/app/rest-api/endpoints/Optimization_Status.php'
604
  ),
605
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Optimizations_Status' => array(
606
- 'version' => '1.5.3.0',
607
  'path' => $baseDir . '/app/rest-api/endpoints/Optimizations_Status.php'
608
  ),
609
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Recommendations_Dismiss' => array(
610
- 'version' => '1.5.3.0',
611
  'path' => $baseDir . '/app/rest-api/endpoints/Recommendations_Dismiss.php'
612
  ),
613
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Recommendations_Reset' => array(
614
- 'version' => '1.5.3.0',
615
  'path' => $baseDir . '/app/rest-api/endpoints/Recommendations_Reset.php'
616
  ),
617
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Request_Cloud_CSS' => array(
618
- 'version' => '1.5.3.0',
619
  'path' => $baseDir . '/app/rest-api/endpoints/Request_Cloud_CSS.php'
620
  ),
621
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Update_Cloud_CSS' => array(
622
- 'version' => '1.5.3.0',
623
  'path' => $baseDir . '/app/rest-api/endpoints/Update_Cloud_CSS.php'
624
  ),
625
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Current_User_Admin' => array(
626
- 'version' => '1.5.3.0',
627
  'path' => $baseDir . '/app/rest-api/permissions/Current_User_Admin.php'
628
  ),
629
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Nonce' => array(
630
- 'version' => '1.5.3.0',
631
  'path' => $baseDir . '/app/rest-api/permissions/Nonce.php'
632
  ),
633
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Signed_With_Blog_Token' => array(
634
- 'version' => '1.5.3.0',
635
  'path' => $baseDir . '/app/rest-api/permissions/Signed_With_Blog_Token.php'
636
  ),
637
  'Automattic\\Jetpack_Boost\\REST_API\\REST_API' => array(
638
- 'version' => '1.5.3.0',
639
  'path' => $baseDir . '/app/rest-api/REST_API.php'
640
  ),
641
  'Automattic\\Jetpack_Boost\\REST_API\\Route' => array(
642
- 'version' => '1.5.3.0',
643
  'path' => $baseDir . '/app/rest-api/Route.php'
644
  ),
645
  'Automattic\\Jetpack_Boost\\Tests\\Base_Test_Case' => array(
646
- 'version' => '1.5.3.0',
647
  'path' => $baseDir . '/tests/php/class-base-test-case.php'
648
  ),
649
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Analytics' => array(
650
- 'version' => '1.5.3.0',
651
  'path' => $baseDir . '/tests/php/lib/test-class-analytics.php'
652
  ),
653
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Minify' => array(
654
- 'version' => '1.5.3.0',
655
  'path' => $baseDir . '/tests/php/lib/test-class-minify.php'
656
  ),
657
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Speed_Score_History' => array(
658
- 'version' => '1.5.3.0',
659
  'path' => $baseDir . '/tests/php/lib/test-class-speed-score-history.php'
660
  ),
661
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Url' => array(
662
- 'version' => '1.5.3.0',
663
  'path' => $baseDir . '/tests/php/lib/test-class-url.php'
664
  ),
665
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Viewport' => array(
666
- 'version' => '1.5.3.0',
667
  'path' => $baseDir . '/tests/php/lib/test-class-viewport.php'
668
  ),
669
  'JShrink\\Minifier' => array(
19
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php'
20
  ),
21
  'Automattic\\Jetpack\\Assets\\Logo' => array(
22
+ 'version' => '1.5.18.0',
23
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-logo/src/class-logo.php'
24
  ),
25
  'Automattic\\Jetpack\\Assets\\Semver' => array(
151
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php'
152
  ),
153
  'Automattic\\Jetpack\\CookieState' => array(
154
+ 'version' => '1.15.0.0',
155
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php'
156
  ),
157
  'Automattic\\Jetpack\\Device_Detection' => array(
163
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php'
164
  ),
165
  'Automattic\\Jetpack\\Errors' => array(
166
+ 'version' => '1.15.0.0',
167
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php'
168
  ),
169
  'Automattic\\Jetpack\\Files' => array(
170
+ 'version' => '1.15.0.0',
171
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php'
172
  ),
173
  'Automattic\\Jetpack\\Heartbeat' => array(
203
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php'
204
  ),
205
  'Automattic\\Jetpack\\Modules' => array(
206
+ 'version' => '1.15.0.0',
207
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php'
208
  ),
209
  'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array(
295
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php'
296
  ),
297
  'Automattic\\Jetpack\\Paths' => array(
298
+ 'version' => '1.15.0.0',
299
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php'
300
  ),
301
  'Automattic\\Jetpack\\Plugins_Installer' => array(
303
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php'
304
  ),
305
  'Automattic\\Jetpack\\Redirect' => array(
306
+ 'version' => '1.7.19.0',
307
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php'
308
  ),
309
  'Automattic\\Jetpack\\Roles' => array(
311
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php'
312
  ),
313
  'Automattic\\Jetpack\\Status' => array(
314
+ 'version' => '1.15.0.0',
315
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php'
316
  ),
317
  'Automattic\\Jetpack\\Status\\Cache' => array(
318
+ 'version' => '1.15.0.0',
319
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php'
320
  ),
321
  'Automattic\\Jetpack\\Status\\Host' => array(
322
+ 'version' => '1.15.0.0',
323
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php'
324
  ),
325
  'Automattic\\Jetpack\\Status\\Visitor' => array(
326
+ 'version' => '1.15.0.0',
327
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php'
328
  ),
329
  'Automattic\\Jetpack\\Terms_Of_Service' => array(
335
  'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php'
336
  ),
337
  'Automattic\\Jetpack_Boost\\Admin\\Admin' => array(
338
+ 'version' => '1.5.4.0',
339
  'path' => $baseDir . '/app/admin/class-admin.php'
340
  ),
341
  'Automattic\\Jetpack_Boost\\Admin\\Config' => array(
342
+ 'version' => '1.5.4.0',
343
  'path' => $baseDir . '/app/admin/class-config.php'
344
  ),
345
  'Automattic\\Jetpack_Boost\\Admin\\Regenerate_Admin_Notice' => array(
346
+ 'version' => '1.5.4.0',
347
  'path' => $baseDir . '/app/admin/class-regenerate-admin-notice.php'
348
  ),
349
  'Automattic\\Jetpack_Boost\\Contracts\\Boost_API_Client' => array(
350
+ 'version' => '1.5.4.0',
351
  'path' => $baseDir . '/app/contracts/Boost_API_Client.php'
352
  ),
353
  'Automattic\\Jetpack_Boost\\Contracts\\Feature' => array(
354
+ 'version' => '1.5.4.0',
355
  'path' => $baseDir . '/app/contracts/Feature.php'
356
  ),
357
  'Automattic\\Jetpack_Boost\\Contracts\\Has_Setup' => array(
358
+ 'version' => '1.5.4.0',
359
  'path' => $baseDir . '/app/contracts/Has_Setup.php'
360
  ),
361
  'Automattic\\Jetpack_Boost\\Contracts\\Has_Slug' => array(
362
+ 'version' => '1.5.4.0',
363
  'path' => $baseDir . '/app/contracts/Has_Slug.php'
364
  ),
365
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS' => array(
366
+ 'version' => '1.5.4.0',
367
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS.php'
368
  ),
369
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS_Cron' => array(
370
+ 'version' => '1.5.4.0',
371
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS_Cron.php'
372
  ),
373
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Cloud_CSS\\Cloud_CSS_Request' => array(
374
+ 'version' => '1.5.4.0',
375
  'path' => $baseDir . '/app/features/optimizations/cloud-css/Cloud_CSS_Request.php'
376
  ),
377
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\CSS_Proxy' => array(
378
+ 'version' => '1.5.4.0',
379
  'path' => $baseDir . '/app/features/optimizations/critical-css/CSS_Proxy.php'
380
  ),
381
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\Critical_CSS' => array(
382
+ 'version' => '1.5.4.0',
383
  'path' => $baseDir . '/app/features/optimizations/critical-css/Critical_CSS.php'
384
  ),
385
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Critical_CSS\\Generator' => array(
386
+ 'version' => '1.5.4.0',
387
  'path' => $baseDir . '/app/features/optimizations/critical-css/Generator.php'
388
  ),
389
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Lazy_Images\\Lazy_Images' => array(
390
+ 'version' => '1.5.4.0',
391
  'path' => $baseDir . '/app/features/optimizations/lazy-images/class-lazy-images.php'
392
  ),
393
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Optimization' => array(
394
+ 'version' => '1.5.4.0',
395
  'path' => $baseDir . '/app/features/optimizations/Optimization.php'
396
  ),
397
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Optimizations' => array(
398
+ 'version' => '1.5.4.0',
399
  'path' => $baseDir . '/app/features/optimizations/Optimizations.php'
400
  ),
401
  'Automattic\\Jetpack_Boost\\Features\\Optimizations\\Render_Blocking_JS\\Render_Blocking_JS' => array(
402
+ 'version' => '1.5.4.0',
403
  'path' => $baseDir . '/app/features/optimizations/render-blocking-js/class-render-blocking-js.php'
404
  ),
405
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score' => array(
406
+ 'version' => '1.5.4.0',
407
  'path' => $baseDir . '/app/features/speed-score/Speed_Score.php'
408
  ),
409
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score_History' => array(
410
+ 'version' => '1.5.4.0',
411
  'path' => $baseDir . '/app/features/speed-score/Speed_Score_History.php'
412
  ),
413
  'Automattic\\Jetpack_Boost\\Features\\Speed_Score\\Speed_Score_Request' => array(
414
+ 'version' => '1.5.4.0',
415
  'path' => $baseDir . '/app/features/speed-score/Speed_Score_Request.php'
416
  ),
417
  'Automattic\\Jetpack_Boost\\Jetpack_Boost' => array(
418
+ 'version' => '1.5.4.0',
419
  'path' => $baseDir . '/app/class-jetpack-boost.php'
420
  ),
421
  'Automattic\\Jetpack_Boost\\Lib\\Analytics' => array(
422
+ 'version' => '1.5.4.0',
423
  'path' => $baseDir . '/app/lib/class-analytics.php'
424
  ),
425
  'Automattic\\Jetpack_Boost\\Lib\\Assets' => array(
426
+ 'version' => '1.5.4.0',
427
  'path' => $baseDir . '/app/lib/class-assets.php'
428
  ),
429
  'Automattic\\Jetpack_Boost\\Lib\\Boost_API' => array(
430
+ 'version' => '1.5.4.0',
431
  'path' => $baseDir . '/app/lib/Boost_API.php'
432
  ),
433
  'Automattic\\Jetpack_Boost\\Lib\\CLI' => array(
434
+ 'version' => '1.5.4.0',
435
  'path' => $baseDir . '/app/lib/class-cli.php'
436
  ),
437
  'Automattic\\Jetpack_Boost\\Lib\\Cacheable' => array(
438
+ 'version' => '1.5.4.0',
439
  'path' => $baseDir . '/app/lib/class-cacheable.php'
440
  ),
441
  'Automattic\\Jetpack_Boost\\Lib\\Collection' => array(
442
+ 'version' => '1.5.4.0',
443
  'path' => $baseDir . '/app/lib/class-collection.php'
444
  ),
445
  'Automattic\\Jetpack_Boost\\Lib\\Connection' => array(
446
+ 'version' => '1.5.4.0',
447
  'path' => $baseDir . '/app/lib/class-connection.php'
448
  ),
449
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Admin_Bar_Compatibility' => array(
450
+ 'version' => '1.5.4.0',
451
  'path' => $baseDir . '/app/lib/critical-css/Admin_Bar_Compatibilty.php'
452
  ),
453
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_Invalidator' => array(
454
+ 'version' => '1.5.4.0',
455
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_Invalidator.php'
456
  ),
457
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_State' => array(
458
+ 'version' => '1.5.4.0',
459
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_State.php'
460
  ),
461
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Critical_CSS_Storage' => array(
462
+ 'version' => '1.5.4.0',
463
  'path' => $baseDir . '/app/lib/critical-css/Critical_CSS_Storage.php'
464
  ),
465
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Display_Critical_CSS' => array(
466
+ 'version' => '1.5.4.0',
467
  'path' => $baseDir . '/app/lib/critical-css/Display_Critical_CSS.php'
468
  ),
469
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Recommendations' => array(
470
+ 'version' => '1.5.4.0',
471
  'path' => $baseDir . '/app/lib/critical-css/Recommendations.php'
472
  ),
473
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Archive_Provider' => array(
474
+ 'version' => '1.5.4.0',
475
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Archive_Provider.php'
476
  ),
477
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Post_ID_Provider' => array(
478
+ 'version' => '1.5.4.0',
479
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Post_ID_Provider.php'
480
  ),
481
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Provider' => array(
482
+ 'version' => '1.5.4.0',
483
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Provider.php'
484
  ),
485
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Singular_Post_Provider' => array(
486
+ 'version' => '1.5.4.0',
487
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Singular_Post_Provider.php'
488
  ),
489
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\Taxonomy_Provider' => array(
490
+ 'version' => '1.5.4.0',
491
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/Taxonomy_Provider.php'
492
  ),
493
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Providers\\WP_Core_Provider' => array(
494
+ 'version' => '1.5.4.0',
495
  'path' => $baseDir . '/app/lib/critical-css/source-providers/providers/WP_Core_Provider.php'
496
  ),
497
  'Automattic\\Jetpack_Boost\\Lib\\Critical_CSS\\Source_Providers\\Source_Providers' => array(
498
+ 'version' => '1.5.4.0',
499
  'path' => $baseDir . '/app/lib/critical-css/source-providers/Source_Providers.php'
500
  ),
501
  'Automattic\\Jetpack_Boost\\Lib\\Debug' => array(
502
+ 'version' => '1.5.4.0',
503
  'path' => $baseDir . '/app/lib/class-debug.php'
504
  ),
505
  'Automattic\\Jetpack_Boost\\Lib\\Environment_Change_Detector' => array(
506
+ 'version' => '1.5.4.0',
507
  'path' => $baseDir . '/app/lib/class-environment-change-detector.php'
508
  ),
509
  'Automattic\\Jetpack_Boost\\Lib\\Minify' => array(
510
+ 'version' => '1.5.4.0',
511
  'path' => $baseDir . '/app/lib/class-minify.php'
512
  ),
513
  'Automattic\\Jetpack_Boost\\Lib\\Nonce' => array(
514
+ 'version' => '1.5.4.0',
515
  'path' => $baseDir . '/app/lib/class-nonce.php'
516
  ),
517
  'Automattic\\Jetpack_Boost\\Lib\\Output_Filter' => array(
518
+ 'version' => '1.5.4.0',
519
  'path' => $baseDir . '/app/lib/class-output-filter.php'
520
  ),
521
  'Automattic\\Jetpack_Boost\\Lib\\Premium_Features' => array(
522
+ 'version' => '1.5.4.0',
523
  'path' => $baseDir . '/app/lib/Premium_Features.php'
524
  ),
525
  'Automattic\\Jetpack_Boost\\Lib\\Premium_Pricing' => array(
526
+ 'version' => '1.5.4.0',
527
  'path' => $baseDir . '/app/lib/Premium_Pricing.php'
528
  ),
529
  'Automattic\\Jetpack_Boost\\Lib\\Setup' => array(
530
+ 'version' => '1.5.4.0',
531
  'path' => $baseDir . '/app/lib/Setup.php'
532
  ),
533
  'Automattic\\Jetpack_Boost\\Lib\\Status' => array(
534
+ 'version' => '1.5.4.0',
535
  'path' => $baseDir . '/app/lib/Status.php'
536
  ),
537
  'Automattic\\Jetpack_Boost\\Lib\\Storage_Post_Type' => array(
538
+ 'version' => '1.5.4.0',
539
  'path' => $baseDir . '/app/lib/class-storage-post-type.php'
540
  ),
541
  'Automattic\\Jetpack_Boost\\Lib\\Transient' => array(
542
+ 'version' => '1.5.4.0',
543
  'path' => $baseDir . '/app/lib/class-transient.php'
544
  ),
545
  'Automattic\\Jetpack_Boost\\Lib\\Url' => array(
546
+ 'version' => '1.5.4.0',
547
  'path' => $baseDir . '/app/lib/class-url.php'
548
  ),
549
  'Automattic\\Jetpack_Boost\\Lib\\Utils' => array(
550
+ 'version' => '1.5.4.0',
551
  'path' => $baseDir . '/app/lib/class-utils.php'
552
  ),
553
  'Automattic\\Jetpack_Boost\\Lib\\Viewport' => array(
554
+ 'version' => '1.5.4.0',
555
  'path' => $baseDir . '/app/lib/class-viewport.php'
556
  ),
557
  'Automattic\\Jetpack_Boost\\Lib\\WPCOM_Boost_API_Client' => array(
558
+ 'version' => '1.5.4.0',
559
  'path' => $baseDir . '/app/lib/WPCOM_Boost_API_Client.php'
560
  ),
561
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Endpoint' => array(
562
+ 'version' => '1.5.4.0',
563
  'path' => $baseDir . '/app/rest-api/contracts/Endpoint.php'
564
  ),
565
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Has_Endpoints' => array(
566
+ 'version' => '1.5.4.0',
567
  'path' => $baseDir . '/app/rest-api/contracts/Has_Endpoints.php'
568
  ),
569
  'Automattic\\Jetpack_Boost\\REST_API\\Contracts\\Permission' => array(
570
+ 'version' => '1.5.4.0',
571
  'path' => $baseDir . '/app/rest-api/contracts/Permission.php'
572
  ),
573
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Cloud_CSS_Status' => array(
574
+ 'version' => '1.5.4.0',
575
  'path' => $baseDir . '/app/rest-api/endpoints/Cloud_CSS_Status.php'
576
  ),
577
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Config_State' => array(
578
+ 'version' => '1.5.4.0',
579
  'path' => $baseDir . '/app/rest-api/endpoints/Config_State.php'
580
  ),
581
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Error' => array(
582
+ 'version' => '1.5.4.0',
583
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Error.php'
584
  ),
585
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Request' => array(
586
+ 'version' => '1.5.4.0',
587
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Request.php'
588
  ),
589
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Status' => array(
590
+ 'version' => '1.5.4.0',
591
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Status.php'
592
  ),
593
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Generator_Success' => array(
594
+ 'version' => '1.5.4.0',
595
  'path' => $baseDir . '/app/rest-api/endpoints/Generator_Success.php'
596
  ),
597
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Get_Started' => array(
598
+ 'version' => '1.5.4.0',
599
  'path' => $baseDir . '/app/rest-api/endpoints/Get_Started.php'
600
  ),
601
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Optimization_Status' => array(
602
+ 'version' => '1.5.4.0',
603
  'path' => $baseDir . '/app/rest-api/endpoints/Optimization_Status.php'
604
  ),
605
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Optimizations_Status' => array(
606
+ 'version' => '1.5.4.0',
607
  'path' => $baseDir . '/app/rest-api/endpoints/Optimizations_Status.php'
608
  ),
609
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Recommendations_Dismiss' => array(
610
+ 'version' => '1.5.4.0',
611
  'path' => $baseDir . '/app/rest-api/endpoints/Recommendations_Dismiss.php'
612
  ),
613
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Recommendations_Reset' => array(
614
+ 'version' => '1.5.4.0',
615
  'path' => $baseDir . '/app/rest-api/endpoints/Recommendations_Reset.php'
616
  ),
617
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Request_Cloud_CSS' => array(
618
+ 'version' => '1.5.4.0',
619
  'path' => $baseDir . '/app/rest-api/endpoints/Request_Cloud_CSS.php'
620
  ),
621
  'Automattic\\Jetpack_Boost\\REST_API\\Endpoints\\Update_Cloud_CSS' => array(
622
+ 'version' => '1.5.4.0',
623
  'path' => $baseDir . '/app/rest-api/endpoints/Update_Cloud_CSS.php'
624
  ),
625
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Current_User_Admin' => array(
626
+ 'version' => '1.5.4.0',
627
  'path' => $baseDir . '/app/rest-api/permissions/Current_User_Admin.php'
628
  ),
629
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Nonce' => array(
630
+ 'version' => '1.5.4.0',
631
  'path' => $baseDir . '/app/rest-api/permissions/Nonce.php'
632
  ),
633
  'Automattic\\Jetpack_Boost\\REST_API\\Permissions\\Signed_With_Blog_Token' => array(
634
+ 'version' => '1.5.4.0',
635
  'path' => $baseDir . '/app/rest-api/permissions/Signed_With_Blog_Token.php'
636
  ),
637
  'Automattic\\Jetpack_Boost\\REST_API\\REST_API' => array(
638
+ 'version' => '1.5.4.0',
639
  'path' => $baseDir . '/app/rest-api/REST_API.php'
640
  ),
641
  'Automattic\\Jetpack_Boost\\REST_API\\Route' => array(
642
+ 'version' => '1.5.4.0',
643
  'path' => $baseDir . '/app/rest-api/Route.php'
644
  ),
645
  'Automattic\\Jetpack_Boost\\Tests\\Base_Test_Case' => array(
646
+ 'version' => '1.5.4.0',
647
  'path' => $baseDir . '/tests/php/class-base-test-case.php'
648
  ),
649
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Analytics' => array(
650
+ 'version' => '1.5.4.0',
651
  'path' => $baseDir . '/tests/php/lib/test-class-analytics.php'
652
  ),
653
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Minify' => array(
654
+ 'version' => '1.5.4.0',
655
  'path' => $baseDir . '/tests/php/lib/test-class-minify.php'
656
  ),
657
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Speed_Score_History' => array(
658
+ 'version' => '1.5.4.0',
659
  'path' => $baseDir . '/tests/php/lib/test-class-speed-score-history.php'
660
  ),
661
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Url' => array(
662
+ 'version' => '1.5.4.0',
663
  'path' => $baseDir . '/tests/php/lib/test-class-url.php'
664
  ),
665
  'Automattic\\Jetpack_Boost\\Tests\\Lib\\WP_Test_Viewport' => array(
666
+ 'version' => '1.5.4.0',
667
  'path' => $baseDir . '/tests/php/lib/test-class-viewport.php'
668
  ),
669
  'JShrink\\Minifier' => array(
vendor/jetpack-autoloader/class-autoloader-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-container.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-hook-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-latest-autoloader-guard.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-manifest-reader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-path-processor.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-php-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugin-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugins-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-shutdown-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-loader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-selector.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_3;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpb1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ1_5_4;
9
 
10
  // phpcs:ignore
11