https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/plugins/jetpack-boost-git/app/modules/image-guide/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/plugins/jetpack-boost-git/app/modules/image-guide/dist/guide.js
(()=>{var t={951:(t,e,n)=>{e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(o++,"%c"===t&&(i=o))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=n(741)(e);const{formatters:o}=t.exports;o.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},741:(t,e,n)=>{t.exports=function(t){function e(t){let n,i,r,s=null;function c(...t){if(!c.enabled)return;const o=c,i=Number(new Date),r=i-(n||i);o.diff=r,o.prev=n,o.curr=i,n=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const r=e.formatters[i];if("function"==typeof r){const e=t[s];n=r.call(o,e),t.splice(s,1),s--}return n})),e.formatArgs.call(o,t);(o.log||e.log).apply(o,t)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=o,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==e.namespaces&&(i=e.namespaces,r=e.enabled(t)),r),set:t=>{s=t}}),"function"==typeof e.init&&e.init(c),c}function o(t,n){const o=e(this.namespace+(void 0===n?":":n)+t);return o.log=this.log,o}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(i),...e.skips.map(i).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const o=("string"==typeof t?t:"").split(/[\s,]+/),i=o.length;for(n=0;n<i;n++)o[n]&&("-"===(t=o[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,o;for(n=0,o=e.skips.length;n<o;n++)if(e.skips[n].test(t))return!1;for(n=0,o=e.names.length;n<o;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(171),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},171:t=>{var e=1e3,n=60*e,o=60*n,i=24*o,r=7*i,s=365.25*i;function c(t,e,n,o){var i=e>=1.5*n;return Math.round(t/n)+" "+o+(i?"s":"")}t.exports=function(t,a){a=a||{};var l=typeof t;if("string"===l&&t.length>0)return function(t){if((t=String(t)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"weeks":case"week":case"w":return a*r;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===l&&isFinite(t))return a.long?function(t){var r=Math.abs(t);if(r>=i)return c(t,r,i,"day");if(r>=o)return c(t,r,o,"hour");if(r>=n)return c(t,r,n,"minute");if(r>=e)return c(t,r,e,"second");return t+" ms"}(t):function(t){var r=Math.abs(t);if(r>=i)return Math.round(t/i)+"d";if(r>=o)return Math.round(t/o)+"h";if(r>=n)return Math.round(t/n)+"m";if(r>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},975:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(951);const i=n.n(o)()("dops:analytics");let r,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(t,e,n){c.setUser(t,e),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(t,e=null){this.googleAnalyticsEnabled=t,this.googleAnalyticsKey=e},setMcAnalyticsEnabled:function(t){this.mcAnalyticsEnabled=t},setUser:function(t,e){s={ID:t,username:e}},setSuperProps:function(t){r=t},assignSuperProps:function(t){r=Object.assign(r||{},t)},mc:{bumpStat:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);i("Bumping stats %o",t)}else n="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e),i('Bumping stat "%s" in group "%s"',e,t);return n}(t,e);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(t,e){const n=function(t,e){let n="";if("object"==typeof t){for(const e in t)n+="&"+encodeURIComponent(e)+"="+encodeURIComponent(t[e]);i("Built stats %o",t)}else n="&"+encodeURIComponent(t)+"="+encodeURIComponent(e),i('Built stat "%s" in group "%s"',e,t);return n}(t,e);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(t,e){c.tracks.recordPageView(t),c.ga.recordPageView(t,e)}},purchase:{record:function(t,e,n,o,i,r,s){c.ga.recordPurchase(t,e,n,o,i,r,s)}},tracks:{recordEvent:function(t,e){e=e||{},0===t.indexOf("akismet_")||0===t.indexOf("jetpack_")?(r&&(i("- Super Props: %o",r),e=Object.assign(e,r)),i('Record event "%s" called with props %s',t,JSON.stringify(e)),window._tkq.push(["recordEvent",t,e])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(t){const e="object"==typeof t?t:{target:t};c.tracks.recordEvent("jetpack_wpa_click",e)},recordPageView:function(t){c.tracks.recordEvent("akismet_page_view",{path:t})},setOptOut:function(t){i("Pushing setOptOut: %o",t),window._tkq.push(["setOptOut",t])}},ga:{initialized:!1,initialize:function(){let t={};c.ga.initialized||(s&&(t={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",t),c.ga.initialized=!0)},recordPageView:function(t,e){c.ga.initialize(),i("Recording Page View ~ [URL: "+t+"] [Title: "+e+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",t),window.ga("send",{hitType:"pageview",page:t,title:e}))},recordEvent:function(t,e,n,o){c.ga.initialize();let r="Recording Event ~ [Category: "+t+"] [Action: "+e+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==o&&(r+=" [Option Value: "+o+"]"),i(r),this.googleAnalyticsEnabled&&window.ga("send","event",t,e,n,o)},recordPurchase:function(t,e,n,o,i,r,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:t,revenue:o,currency:s}),window.ga("ecommerce:addItem",{id:t,name:e,sku:n,price:i,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(t){window._tkq.push(["setProperties",t])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=c},392:(t,e,n)=>{"use strict";n.d(e,{Tr:()=>i});var o=n(975);async function i(t,e){e=r(e),o.Z.tracks.recordEvent(`jetpack_boost_${t}`,e)}function r(t){const e={};return"object"==typeof Jetpack_Boost&&(e.boost_version=Jetpack_Boost.version),{...e,...t}}},111:(t,e,n)=>{"use strict";function o(t){return new URL(t).origin===window.location.origin}n.d(e,{u:()=>o})},527:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var o=n(736);const __=o.__;class i extends Error{constructor(t){super(t),this.name="AdminAjaxError"}}async function r(t,e=ajaxurl){const n={method:"post",body:new URLSearchParams(t),headers:{"Content-Type":"application/x-www-form-urlencoded"}},r=await fetch(e,n);if(!r.ok)throw new i((0,o.sprintf)(/* Translators: %d refers to an HTTP error code */
__("Received HTTP %d while communicating with your WordPress site","jetpack-boost"),r.status));return r}},736:t=>{"use strict";t.exports=window.wp.i18n},198:(t,e,n)=>{"use strict";n.d(e,{IT:()=>Xe});class o{constructor(t,e,n=null){this.node=t,this.getURLCallback=e,this.fetch=null!=n?n:window.fetch.bind(window)}getURL(){return this.getURLCallback(this.node)}getSizeOnPage(){const{width:t,height:e}=this.node.getBoundingClientRect();return{width:Math.round(t),height:Math.round(e)}}async getFileSize(t){const[e,{width:n,height:o}]=await Promise.all([this.fetchFileWeight(t),this.fetchFileDimensions(t)]);return{width:n,height:o,weight:e}}getPotentialSavings(t,e){const n=this.getOversizedRatio(t,e);return n<=1?null:Math.round(t.weight-t.weight/n)}getExpectedSize(t){const e=window.devicePixelRatio||1;return{width:Math.round(t.width*e),height:Math.round(t.height*e)}}getOversizedRatio(t,e){if(0===t.width||0===t.height)return 1;const{width:n,height:o}=this.getExpectedSize(e);return 0===n||0===o?1:t.width*t.height/(n*o)}async fetchFileWeight(t){const e=await this.fetch(t);return e.ok?parseInt(e.headers.get("content-length"),10)/1024:(console.log(`Can't get image size for ${t} likely due to a CORS error.`),-1)}async fetchFileDimensions(t){const e=new Image;return e.src=t,new Promise(((t,n)=>{e.onload=()=>{t({width:Math.round(e.width),height:Math.round(e.height)})},e.onerror=()=>{n("Unable to load image.")}}))}async isImageTiny(){try{const t=65,e=await this.fetchFileDimensions(this.getURL());return e.width<t||e.height<t}catch(t){return!0}}}function i(t){return c(t.currentSrc)?t.currentSrc:c(t.src)?t.src:null}function r(t){const e=getComputedStyle(t).backgroundImage.match(/url\(\s*(['"])(.*?)\1\s*\)/i),n=window.location.href.split("#")[0];return e&&e[2]&&e[2]!==n&&c(e[2])?e[2]:null}async function s(t,e=null){return function(t){return t.filter((t=>t instanceof HTMLImageElement||t instanceof HTMLElement&&"none"!==getComputedStyle(t).backgroundImage))}(t).map((t=>t instanceof HTMLImageElement?new o(t,i,e):t instanceof HTMLElement&&r(t)?new o(t,r):null)).filter((t=>null!==t))}function c(t){if(t.startsWith("/"))return!t.split("?")[0].endsWith(".svg");try{const e=new URL(t);return"http:"===e.protocol||"https:"===e.protocol}catch(t){return!1}}function a(){}const l=t=>t;function u(t){return t()}function d(){return Object.create(null)}function f(t){t.forEach(u)}function p(t){return"function"==typeof t}function h(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let g;function m(t,e){return g||(g=document.createElement("a")),g.href=e,t===g.href}function w(t,...e){if(null==t)return a;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function v(t){let e;return w(t,(t=>e=t))(),e}function y(t,e,n){t.$$.on_destroy.push(w(e,n))}function $(t,e,n,o){return t[1]&&o?function(t,e){for(const n in e)t[n]=e[n];return t}(n.ctx.slice(),t[1](o(e))):n.ctx}function b(t){const e="string"==typeof t&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[t,"px"]}const C="undefined"!=typeof window;let k=C?()=>window.performance.now():()=>Date.now(),x=C?t=>requestAnimationFrame(t):a;const _=new Set;function F(t){_.forEach((e=>{e.c(t)||(_.delete(e),e.f())})),0!==_.size&&x(F)}function z(t){let e;return 0===_.size&&x(F),{promise:new Promise((n=>{_.add(e={c:t,f:n})})),abort(){_.delete(e)}}}function E(t,e){t.appendChild(e)}function S(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function j(t){const e=O("style");return function(t,e){E(t.head||t,e),e.sheet}(S(t),e),e.sheet}function I(t,e,n){t.insertBefore(e,n||null)}function P(t){t.parentNode&&t.parentNode.removeChild(t)}function O(t){return document.createElement(t)}function L(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function R(t){return document.createTextNode(t)}function A(){return R(" ")}function T(){return R("")}function M(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function U(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function D(t,e){e=""+e,t.data!==e&&(t.data=e)}function B(t,e,n,o){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,o?"important":"")}function N(t,e,n){t.classList[n?"add":"remove"](e)}function H(t,e,{bubbles:n=!1,cancelable:o=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,o,e),i}const q=new Map;let V,W=0;function G(t,e,n,o,i,r,s,c=0){const a=16.666/o;let l="{\n";for(let t=0;t<=1;t+=a){const o=e+(n-e)*r(t);l+=100*t+`%{${s(o,1-o)}}\n`}const u=l+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${c}`,f=S(t),{stylesheet:p,rules:h}=q.get(f)||function(t,e){const n={stylesheet:j(e),rules:{}};return q.set(t,n),n}(f,t);h[d]||(h[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${d} ${o}ms linear ${i}ms 1 both`,W+=1,d}function Z(t,e){const n=(t.style.animation||"").split(", "),o=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),i=n.length-o.length;i&&(t.style.animation=o.join(", "),W-=i,W||x((()=>{W||(q.forEach((t=>{const{ownerNode:e}=t.stylesheet;e&&P(e)})),q.clear())})))}function J(t){V=t}function K(){if(!V)throw new Error("Function called outside component initialization");return V}function X(t){K().$$.on_mount.push(t)}function Y(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t.call(this,e)))}const Q=[],tt=[];let et=[];const nt=[],ot=Promise.resolve();let it=!1;function rt(t){et.push(t)}const st=new Set;let ct,at=0;function lt(){if(0!==at)return;const t=V;do{try{for(;at<Q.length;){const t=Q[at];at++,J(t),ut(t.$$)}}catch(t){throw Q.length=0,at=0,t}for(J(null),Q.length=0,at=0;tt.length;)tt.pop()();for(let t=0;t<et.length;t+=1){const e=et[t];st.has(e)||(st.add(e),e())}et.length=0}while(Q.length);for(;nt.length;)nt.pop()();it=!1,st.clear(),J(t)}function ut(t){if(null!==t.fragment){t.update(),f(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(rt)}}function dt(){return ct||(ct=Promise.resolve(),ct.then((()=>{ct=null}))),ct}function ft(t,e,n){t.dispatchEvent(H(`${e?"intro":"outro"}${n}`))}const pt=new Set;let ht;function gt(){ht={r:0,c:[],p:ht}}function mt(){ht.r||f(ht.c),ht=ht.p}function wt(t,e){t&&t.i&&(pt.delete(t),t.i(e))}function vt(t,e,n,o){if(t&&t.o){if(pt.has(t))return;pt.add(t),ht.c.push((()=>{pt.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}else o&&o()}const yt={duration:0};function $t(t,e,n){const o={direction:"in"};let i,r,s=e(t,n,o),c=!1,u=0;function d(){i&&Z(t,i)}function f(){const{delay:e=0,duration:n=300,easing:o=l,tick:f=a,css:p}=s||yt;p&&(i=G(t,0,1,n,e,o,p,u++)),f(0,1);const h=k()+e,g=h+n;r&&r.abort(),c=!0,rt((()=>ft(t,!0,"start"))),r=z((e=>{if(c){if(e>=g)return f(1,0),ft(t,!0,"end"),d(),c=!1;if(e>=h){const t=o((e-h)/n);f(t,1-t)}}return c}))}let h=!1;return{start(){h||(h=!0,Z(t),p(s)?(s=s(o),dt().then(f)):f())},invalidate(){h=!1},end(){c&&(d(),c=!1)}}}function bt(t,e,n,o){const i={direction:"both"};let r=e(t,n,i),s=o?0:1,c=null,u=null,d=null;function h(){d&&Z(t,d)}function g(t,e){const n=t.b-s;return e*=Math.abs(n),{a:s,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function m(e){const{delay:n=0,duration:o=300,easing:i=l,tick:p=a,css:m}=r||yt,w={start:k()+n,b:e};e||(w.group=ht,ht.r+=1),c||u?u=w:(m&&(h(),d=G(t,s,e,o,n,i,m)),e&&p(0,1),c=g(w,o),rt((()=>ft(t,e,"start"))),z((e=>{if(u&&e>u.start&&(c=g(u,o),u=null,ft(t,c.b,"start"),m&&(h(),d=G(t,s,c.b,c.duration,0,i,r.css))),c)if(e>=c.end)p(s=c.b,1-s),ft(t,c.b,"end"),u||(c.b?h():--c.group.r||f(c.group.c)),c=null;else if(e>=c.start){const t=e-c.start;s=c.a+c.d*i(t/c.duration),p(s,1-s)}return!(!c&&!u)})))}return{run(t){p(r)?dt().then((()=>{r=r(i),m(t)})):m(t)},end(){h(),c=u=null}}}const Ct="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:window;function kt(t){t&&t.c()}function xt(t,e,n,o){const{fragment:i,after_update:r}=t.$$;i&&i.m(e,n),o||rt((()=>{const e=t.$$.on_mount.map(u).filter(p);t.$$.on_destroy?t.$$.on_destroy.push(...e):f(e),t.$$.on_mount=[]})),r.forEach(rt)}function _t(t,e){const n=t.$$;null!==n.fragment&&(function(t){const e=[],n=[];et.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),et=e}(n.after_update),f(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ft(t,e,n,o,i,r,s,c=[-1]){const l=V;J(t);const u=t.$$={fragment:null,ctx:[],props:r,update:a,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:d(),dirty:c,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let p=!1;if(u.ctx=n?n(t,e.props||{},((e,n,...o)=>{const r=o.length?o[0]:n;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),p&&function(t,e){-1===t.$$.dirty[0]&&(Q.push(t),it||(it=!0,ot.then(lt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}(t,e)),n})):[],u.update(),p=!0,f(u.before_update),u.fragment=!!o&&o(u.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);u.fragment&&u.fragment.l(t),t.forEach(P)}else u.fragment&&u.fragment.c();e.intro&&wt(t.$$.fragment),xt(t,e.target,e.anchor,e.customElement),lt()}J(l)}class zt{$destroy(){_t(this,1),this.$destroy=a}$on(t,e){if(!p(e))return a;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Et=[];function St(t,e=a){let n;const o=new Set;function i(e){if(h(t,e)&&(t=e,n)){const e=!Et.length;for(const e of o)e[1](),Et.push(e,t);if(e){for(let t=0;t<Et.length;t+=2)Et[t][0](Et[t+1]);Et.length=0}}}return{set:i,update:function(e){i(e(t))},subscribe:function(r,s=a){const c=[r,s];return o.add(c),1===o.size&&(n=e(i)||a),r(t),()=>{o.delete(c),0===o.size&&n&&(n(),n=null)}}}}function jt(t,e,n){const o=!Array.isArray(t),i=o?[t]:t,r=e.length<2;return s=t=>{let n=!1;const s=[];let c=0,l=a;const u=()=>{if(c)return;l();const n=e(o?s[0]:s,t);r?t(n):l=p(n)?n:a},d=i.map(((t,e)=>w(t,(t=>{s[e]=t,c&=~(1<<e),n&&u()}),(()=>{c|=1<<e}))));return n=!0,u(),function(){f(d),l(),n=!1}},{subscribe:St(n,s).subscribe};var s}const It="jetpack-boost-guide",Pt={active:"Active",paused:"Paused"};let Ot=localStorage.getItem(It);Ot&&Pt[Ot]||(localStorage.setItem(It,"Active"),Ot="active");const{set:Lt,update:Rt,subscribe:At}=St(Ot);At((t=>{localStorage.setItem(It,t)}));const Tt={subscribe:At,set:Lt,update:Rt,cycle:()=>{Rt((t=>{const e=Object.keys(Pt),n=e.indexOf(t);return e[(n+1)%e.length]}))}},Mt=jt(Tt,(t=>Pt[t]));class Ut{static setTracksCallback(t){Ut.tracksCallback=t}static async trackImageOutcome(t){return new Promise((e=>{t.loading.subscribe((n=>{if(!n){const n=v(t.oversizedRatio),o=function(t){return t>4?"red":t>2.5?"yellow":"green"}(n),i=v(t.fileSize),r=v(t.sizeOnPage),s=v(t.expectedSize),c=v(t.potentialSavings),a=v(t.url),l={severity:o,oversized_ratio:n,file_weight:i.weight,file_width:i.width,file_height:i.height,size_on_page_width:r.width,size_on_page_height:r.height,expected_width:s.width,expected_height:s.height,potential_savings:c,image_url:a};Ut.tracksCallback("image_guide_image_outcome",{...l,window_width:window.innerWidth,window_height:window.innerHeight,device_pixel_ratio:window.devicePixelRatio}),e(l)}}))}))}static async trackPage(t){if(!t.length||Ut.trackingComplete)return;Ut.trackingComplete=!0;const e=t.map(Ut.trackImageOutcome),n=await Promise.all(e),o=n.reduce(((t,e)=>t+(e.potential_savings||0)),0);Ut.tracksCallback("image_guide_page_outcome",{total_potential_savings:o,red_severity_count:n.filter((t=>"red"===t.severity)).length,yellow_severity_count:n.filter((t=>"yellow"===t.severity)).length,green_severity_count:n.filter((t=>"green"===t.severity)).length,window_width:window.innerWidth,window_height:window.innerHeight,device_pixel_ratio:window.devicePixelRatio})}static trackInitialState(){Ut.tracksCallback("image_guide_initial_ui_state",{image_guide_state:v(Tt)})}static trackUIStateChange(){Ut.tracksCallback("image_guide_ui_state_change",{image_guide_state:v(Tt)})}}Ut.trackingComplete=!1;class Dt{constructor(t){this.loading=St(!0),this.currentSrc="",this.image=t,this.node=t.node,this.url=St(t.getURL()),this.fileSize=St({width:0,height:0,weight:0}),this.sizeOnPage=St({width:0,height:0}),this.potentialSavings=this.derivePotentialSavings(),this.oversizedRatio=this.deriveOversizedRatio(),this.expectedSize=this.deriveExpectedSize()}deriveOversizedRatio(){return jt([this.fileSize,this.sizeOnPage],(([t,e])=>this.image.getOversizedRatio(t,e)))}deriveExpectedSize(){return jt(this.sizeOnPage,(t=>this.image.getExpectedSize(t)))}derivePotentialSavings(){return jt([this.fileSize,this.sizeOnPage],(([t,e])=>this.image.getPotentialSavings(t,e)))}async updateDimensions(){const t=this.image.getSizeOnPage();this.sizeOnPage.set(t),await this.maybeUpdateWeight()}async maybeUpdateWeight(){if(this.image.getURL()===this.currentSrc)return;let t;this.loading.set(!0),this.currentSrc=this.image.getURL();try{t=await this.image.getFileSize(this.currentSrc)}catch(e){t={weight:-1,height:-1,width:-1}}this.url.set(this.currentSrc),this.fileSize.set(t),this.loading.set(!1)}}function Bt(t){const e=1.70158;return--t*t*((e+1)*t+e)+1}function Nt(t){const e=t-1;return e*e*e+1}function Ht(t,{delay:e=0,duration:n=400,easing:o=l}={}){const i=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:o,css:t=>"opacity: "+t*i}}function qt(t,{delay:e=0,duration:n=400,easing:o=Nt,x:i=0,y:r=0,opacity:s=0}={}){const c=getComputedStyle(t),a=+c.opacity,l="none"===c.transform?"":c.transform,u=a*(1-s),[d,f]=b(i),[p,h]=b(r);return{delay:e,duration:n,easing:o,css:(t,e)=>`\n\t\t\ttransform: ${l} translate(${(1-t)*d}${f}, ${(1-t)*p}${h});\n\t\t\topacity: ${a-u*e}`}}function Vt(t){let e,n,o,i,r;return{c(){e=O("div"),n=L("svg"),o=L("path"),i=L("path"),r=L("path"),U(o,"d","M55.4 107.8C84.3397 107.8 107.8 84.3397 107.8 55.4C107.8 26.4603 84.3397 3 55.4 3C26.4603 3 3 26.4603 3 55.4C3 84.3397 26.4603 107.8 55.4 107.8Z"),U(o,"fill",t[1]),U(i,"d","M58 46.6V97.4L84.2 46.6H58Z"),U(i,"fill","white"),U(r,"d","M52.7 64.1V13.4L26.6 64.1H52.7Z"),U(r,"fill","white"),U(n,"viewBox","0 0 110 110"),U(n,"fill","none"),U(n,"xmlns","http://www.w3.org/2000/svg"),B(e,"width",t[0]+"px"),B(e,"height",t[0]+"px"),U(e,"class","svelte-f6jc8")},m(t,s){I(t,e,s),E(e,n),E(n,o),E(n,i),E(n,r)},p(t,[n]){2&n&&U(o,"fill",t[1]),1&n&&B(e,"width",t[0]+"px"),1&n&&B(e,"height",t[0]+"px")},i:a,o:a,d(t){t&&P(e)}}}function Wt(t,e,n){let{size:o=16}=e,{bg:i="#069E08"}=e;return t.$$set=t=>{"size"in t&&n(0,o=t.size),"bg"in t&&n(1,i=t.bg)},[o,i]}class Gt extends zt{constructor(t){super(),Ft(this,t,Wt,Vt,h,{size:0,bg:1})}}function Zt(t){let e,n,o,i;return n=new Gt({props:{size:12,bg:"transparent"}}),{c(){e=O("div"),kt(n.$$.fragment),U(e,"class","spinner svelte-2eb8gc")},m(t,o){I(t,e,o),xt(n,e,null),i=!0},p:a,i(t){i||(wt(n.$$.fragment,t),o&&o.end(1),i=!0)},o(t){vt(n.$$.fragment,t),o=function(t,e,n){const o={direction:"out"};let i,r=e(t,{duration:300},o),s=!0;const c=ht;function u(){const{delay:e=0,duration:n=300,easing:o=l,tick:u=a,css:d}=r||yt;d&&(i=G(t,1,0,n,e,o,d));const p=k()+e,h=p+n;rt((()=>ft(t,!1,"start"))),z((e=>{if(s){if(e>=h)return u(0,1),ft(t,!1,"end"),--c.r||f(c.c),!1;if(e>=p){const t=o((e-p)/n);u(1-t,t)}}return s}))}return c.r+=1,p(r)?dt().then((()=>{r=r(o),u()})):u(),{end(e){e&&r.tick&&r.tick(1,0),s&&(i&&Z(t,i),s=!1)}}}(e,Ht),i=!1},d(t){t&&P(e),_t(n),t&&o&&o.end()}}}class Jt extends zt{constructor(t){super(),Ft(this,t,null,Zt,h,{})}}function Kt(t){let e,n;return{c(){e=L("svg"),n=L("path"),U(n,"stroke-linecap","round"),U(n,"stroke-linejoin","round"),U(n,"stroke-width","2"),U(n,"d","M5 13l4 4L19 7"),U(e,"class","w-6 h-6 svelte-jkeb2"),U(e,"fill","none"),U(e,"stroke","white"),U(e,"width","18"),U(e,"height","18"),U(e,"viewBox","0 0 24 24"),U(e,"xmlns","http://www.w3.org/2000/svg")},m(t,o){I(t,e,o),E(e,n)},p:a,i:a,o:a,d(t){t&&P(e)}}}class Xt extends zt{constructor(t){super(),Ft(this,t,null,Kt,h,{})}}function Yt(t){let e,n,o;return n=new Jt({}),{c(){e=O("div"),kt(n.$$.fragment),U(e,"class","bubble-inner svelte-18vhu7m")},m(t,i){I(t,e,i),xt(n,e,null),o=!0},p:a,i(t){o||(wt(n.$$.fragment,t),o=!0)},o(t){vt(n.$$.fragment,t),o=!1},d(t){t&&P(e),_t(n)}}}function Qt(t){let e,n,o,i,r,s;const c=[ne,ee,te],a=[];function l(t,e){return t[0]>9?0:t[0]>.99?1:2}return o=l(t),i=a[o]=c[o](t),{c(){e=O("div"),n=O("div"),i.c(),U(n,"class","label"),U(e,"class","bubble-inner svelte-18vhu7m")},m(t,i){I(t,e,i),E(e,n),a[o].m(n,null),s=!0},p(t,e){let r=o;o=l(t),o===r?a[o].p(t,e):(gt(),vt(a[r],1,1,(()=>{a[r]=null})),mt(),i=a[o],i?i.p(t,e):(i=a[o]=c[o](t),i.c()),wt(i,1),i.m(n,null))},i(t){s||(wt(i),r||rt((()=>{r=$t(n,Ht,{delay:200,duration:300}),r.start()})),s=!0)},o(t){vt(i),s=!1},d(t){t&&P(e),a[o].d()}}}function te(t){let e,n;return{c(){e=O("span"),e.textContent="<",n=R(" 1x"),B(e,"font-size","0.75em")},m(t,o){I(t,e,o),I(t,n,o)},p:a,i:a,o:a,d(t){t&&P(e),t&&P(n)}}}function ee(t){let e,n,o,i;const r=[ie,oe],s=[];function c(t,e){return"normal"===t[1]?0:1}return e=c(t),n=s[e]=r[e](t),{c(){n.c(),o=T()},m(t,n){s[e].m(t,n),I(t,o,n),i=!0},p(t,i){let a=e;e=c(t),e===a?s[e].p(t,i):(gt(),vt(s[a],1,1,(()=>{s[a]=null})),mt(),n=s[e],n?n.p(t,i):(n=s[e]=r[e](t),n.c()),wt(n,1),n.m(o.parentNode,o))},i(t){i||(wt(n),i=!0)},o(t){vt(n),i=!1},d(t){s[e].d(t),t&&P(o)}}}function ne(t){let e,n,o=Math.floor(t[0])+"";return{c(){e=R(o),n=R("x")},m(t,o){I(t,e,o),I(t,n,o)},p(t,n){1&n&&o!==(o=Math.floor(t[0])+"")&&D(e,o)},i:a,o:a,d(t){t&&P(e),t&&P(n)}}}function oe(t){let e,n,o=t[0].toFixed(1)+"";return{c(){e=R(o),n=R("x")},m(t,o){I(t,e,o),I(t,n,o)},p(t,n){1&n&&o!==(o=t[0].toFixed(1)+"")&&D(e,o)},i:a,o:a,d(t){t&&P(e),t&&P(n)}}}function ie(t){let e,n;return e=new Xt({}),{c(){kt(e.$$.fragment)},m(t,o){xt(e,t,o),n=!0},p:a,i(t){n||(wt(e.$$.fragment,t),n=!0)},o(t){vt(e.$$.fragment,t),n=!1},d(t){_t(e,t)}}}function re(t){let e,n,o,i,r,s,c,a,l;const u=[Qt,Yt],d=[];function f(t,e){return!1===t[3]?0:1}return o=f(t),i=d[o]=u[o](t),{c(){e=O("div"),n=O("div"),i.c(),U(n,"class","bubble svelte-18vhu7m"),U(e,"class",r="interaction-area "+t[1]+" svelte-18vhu7m")},m(i,r){I(i,e,r),E(e,n),d[o].m(n,null),t[10](e),c=!0,a||(l=M(e,"mouseenter",t[7]),a=!0)},p(s,[a]){let l=o;o=f(t=s),o===l?d[o].p(t,a):(gt(),vt(d[l],1,1,(()=>{d[l]=null})),mt(),i=d[o],i?i.p(t,a):(i=d[o]=u[o](t),i.c()),wt(i,1),i.m(n,null)),(!c||2&a&&r!==(r="interaction-area "+t[1]+" svelte-18vhu7m"))&&U(e,"class",r)},i(n){c||(wt(i),rt((()=>{c&&(s||(s=bt(e,qt,t[6],!0)),s.run(1))})),c=!0)},o(n){vt(i),s||(s=bt(e,qt,t[6],!1)),s.run(0),c=!1},d(n){n&&P(e),d[o].d(),t[10](null),n&&s&&s.end(),a=!1,l()}}}function se(t,e,n){let o,i,r,{index:s}=e,{store:c}=e;const a=c.oversizedRatio;y(t,a,(t=>n(0,o=t)));const l=c.loading;y(t,l,(t=>n(3,i=t)));const u={delay:150+50*s,duration:250,y:2,easing:Bt};let d;const f=function(){const t=K();return(e,n,{cancelable:o=!1}={})=>{const i=t.$$.callbacks[e];if(i){const r=H(e,n,{cancelable:o});return i.slice().forEach((e=>{e.call(t,r)})),!r.defaultPrevented}return!0}}();return t.$$set=t=>{"index"in t&&n(8,s=t.index),"store"in t&&n(9,c=t.store)},t.$$.update=()=>{1&t.$$.dirty&&n(1,r=o>4?"high":o>2.5?"medium":"normal")},[o,r,d,i,a,l,u,function(){const t=d.getBoundingClientRect();f("hover",{index:s,position:{top:t.top+t.height+10,left:t.left}})},s,c,function(t){tt[t?"unshift":"push"]((()=>{d=t,n(2,d)}))}]}class ce extends zt{constructor(t){super(),Ft(this,t,se,re,h,{index:8,store:9})}}function ae(t){let e,n;const o=t[2].default,i=function(t,e,n,o){if(t){const o=$(t,e,n,null);return t[0](o)}}(o,t,t[1]);return{c(){e=O("div"),i&&i.c(),U(e,"class","jetpack-boost-guide-portal")},m(o,r){I(o,e,r),i&&i.m(e,null),t[3](e),n=!0},p(t,[e]){i&&i.p&&(!n||2&e)&&function(t,e,n,o,i,r){if(i){const r=$(e,n,o,null);t.p(r,i)}}(i,o,t,t[1],n?function(t,e,n,o){return t[2],e.dirty}(o,t[1]):function(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}(t[1]))},i(t){n||(wt(i,t),n=!0)},o(t){vt(i,t),n=!1},d(n){n&&P(e),i&&i.d(n),t[3](null)}}}function le(t,e,n){let o,{$$slots:i={},$$scope:r}=e;var s;return X((()=>{document.body.appendChild(o)})),s=()=>{document.body.removeChild(o)},K().$$.on_destroy.push(s),t.$$set=t=>{"$$scope"in t&&n(1,r=t.$$scope)},[o,r,i,function(t){tt[t?"unshift":"push"]((()=>{o=t,n(0,o)}))}]}class ue extends zt{constructor(t){super(),Ft(this,t,le,ae,h,{})}}function de(t){let e,n;return{c(){e=L("svg"),n=L("path"),U(n,"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"),U(e,"xmlns","http://www.w3.org/2000/svg"),U(e,"viewBox","0 0 24 24"),U(e,"class","svelte-1g2gjwn")},m(t,o){I(t,e,o),E(e,n)},p:a,i:a,o:a,d(t){t&&P(e)}}}class fe extends zt{constructor(t){super(),Ft(this,t,null,de,h,{})}}const{window:pe}=Ct;function he(t){let e,n,o,i,r=t[29]+"";return{c(){e=O("div"),n=R("The image file is "),o=R(r),i=R("x smaller than expected on this screen. This might be\n\t\t\t\t\t\tfine, but you may want to check if the image appears blurry."),U(e,"class","explanation svelte-52p8v6")},m(t,r){I(t,e,r),E(e,n),E(e,o),E(e,i)},p(t,e){8&e&&r!==(r=t[29]+"")&&D(o,r)},d(t){t&&P(e)}}}function ge(t){let e,n,o=t[6]>1&&ve(t);return{c(){e=O("div"),n=R("The image size is very close to the size it appears in the browser.\n\t\t\t\t\t\t"),o&&o.c(),U(e,"class","explanation svelte-52p8v6")},m(t,i){I(t,e,i),E(e,n),o&&o.m(e,null)},p(t,n){t[6]>1?o?o.p(t,n):(o=ve(t),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(t){t&&P(e),o&&o.d()}}}function me(t){let e;return{c(){e=O("div"),e.textContent="The image is exactly the correct size for this screen.",U(e,"class","explanation svelte-52p8v6")},m(t,n){I(t,e,n)},p:a,d(t){t&&P(e)}}}function we(t){let e,n,o,i,r,s,c=t[4].weight>450&&ye();return{c(){e=O("div"),n=R("The image loaded is "),o=O("strong"),i=R(t[6]),r=R("x"),s=R(" larger than it appears in the browser.\n\t\t\t\t\t\t"),c&&c.c(),U(e,"class","explanation svelte-52p8v6")},m(t,a){I(t,e,a),E(e,n),E(e,o),E(o,i),E(o,r),E(e,s),c&&c.m(e,null)},p(t,n){64&n&&D(i,t[6]),t[4].weight>450?c||(c=ye(),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},d(t){t&&P(e),c&&c.d()}}}function ve(t){let e,n,o,i,r;return{c(){e=R("Because there are various screen sizes, it's okay for the image to be\n\t\t\t\t\t\t\t"),n=O("strong"),o=R(t[6]),i=R("x"),r=R(" than it appears on the page.")},m(t,s){I(t,e,s),I(t,n,s),E(n,o),E(n,i),I(t,r,s)},p(t,e){64&e&&D(o,t[6])},d(t){t&&P(e),t&&P(n),t&&P(r)}}}function ye(t){let e;return{c(){e=R("Try using a smaller image or reduce the file size by compressing it.")},m(t,n){I(t,e,n)},d(t){t&&P(e)}}}function $e(t){let e,n;return{c(){e=O("img"),m(e.src,n=t[5])||U(e,"src",n),U(e,"alt",t[8]),B(e,"width",t[2]+"px"),B(e,"height",t[7]+"px"),U(e,"width",t[2]),U(e,"height",t[7]),U(e,"class","svelte-52p8v6")},m(t,n){I(t,e,n)},p(t,o){32&o&&!m(e.src,n=t[5])&&U(e,"src",n),256&o&&U(e,"alt",t[8]),4&o&&B(e,"width",t[2]+"px"),128&o&&B(e,"height",t[7]+"px"),4&o&&U(e,"width",t[2]),128&o&&U(e,"height",t[7])},d(t){t&&P(e)}}}function be(t){let e;function n(t,e){return t[16]?xe:ke}let o=n(t),i=o(t);return{c(){e=O("div"),i.c(),U(e,"class","value")},m(t,n){I(t,e,n),i.m(e,null)},p(t,r){o!==(o=n(t))&&(i.d(1),i=o(t),i&&(i.c(),i.m(e,null)))},d(t){t&&P(e),i.d()}}}function Ce(t){let e,n,o,i,r=t[4].width+"",s=t[4].height+"";return{c(){e=O("div"),n=R(r),o=R(" x "),i=R(s),U(e,"class","value")},m(t,r){I(t,e,r),E(e,n),E(e,o),E(e,i)},p(t,e){16&e&&r!==(r=t[4].width+"")&&D(n,r),16&e&&s!==(s=t[4].height+"")&&D(i,s)},d(t){t&&P(e)}}}function ke(t){let e;return{c(){e=O("em"),e.textContent="Unknown"},m(t,n){I(t,e,n)},d(t){t&&P(e)}}}function xe(t){let e;return{c(){e=R("Loading...")},m(t,n){I(t,e,n)},d(t){t&&P(e)}}}function _e(t){let e;return{c(){e=O("em"),e.textContent="Unknown"},m(t,n){I(t,e,n)},p:a,d(t){t&&P(e)}}}function Fe(t){let e;return{c(){e=R("Loading...")},m(t,n){I(t,e,n)},p:a,d(t){t&&P(e)}}}function ze(t){let e,n,o=Math.round(t[4].weight)+"";return{c(){e=R(o),n=R(" KB")},m(t,o){I(t,e,o),I(t,n,o)},p(t,n){16&n&&o!==(o=Math.round(t[4].weight)+"")&&D(e,o)},d(t){t&&P(e),t&&P(n)}}}function Ee(t){let e;return{c(){e=O("em"),e.textContent="N/A"},m(t,n){I(t,e,n)},p:a,d(t){t&&P(e)}}}function Se(t){let e;return{c(){e=R("Loading...")},m(t,n){I(t,e,n)},p:a,d(t){t&&P(e)}}}function je(t){let e,n,o;return{c(){e=O("strong"),n=R(t[19]),o=R(" KB")},m(t,i){I(t,e,i),E(e,n),E(e,o)},p(t,e){524288&e&&D(n,t[19])},d(t){t&&P(e)}}}function Ie(t){let e,n,o,i,r,s,c,a,l,u,d,f,p,h,g,m,w,v,y,$,b,C,k,x,_,F,z,S,j,L,T,N,H,q,V,W,G,Z,J,K,X,Y,Q,tt,et,nt,ot,it,st,ct,at,lt=t[17].width+"",ut=t[17].height+"",dt=t[18].width+"",ft=t[18].height+"",pt=`${t[0].top}px`,ht=`${t[0].left}px`;function gt(t,e){return t[6]>=1.3?we:1===t[6]?me:t[6]>=.99&&t[6]<1.3?ge:he}function mt(t,e){return e===he?function(t){const e=t.slice(),n=Le(1/e[3]);return e[29]=n,e}(t):t}o=new Gt({props:{size:250}});let yt=gt(t),bt=yt(mt(t,yt)),Ct=t[5]&&$e(t);function Ft(t,e){return t[4].width>0&&t[4].height>0?Ce:be}let zt=Ft(t),Et=zt(t);function St(t,e){return t[4].weight>0?ze:t[16]?Fe:_e}let jt=St(t),It=jt(t);function Pt(t,e){return t[19]>0?je:t[16]?Se:Ee}let Ot=Pt(t),Lt=Ot(t);return ot=new fe({}),{c(){e=O("div"),n=O("div"),kt(o.$$.fragment),i=A(),r=O("div"),s=O("div"),c=O("div"),a=O("a"),l=R(t[8]),u=A(),bt.c(),d=A(),Ct&&Ct.c(),f=A(),p=O("div"),h=O("div"),g=O("div"),g.textContent="Image File Dimensions",m=A(),Et.c(),w=A(),v=O("div"),y=O("div"),y.textContent="Expected Dimensions",$=A(),b=O("div"),C=R(lt),k=R(" x "),x=R(ut),_=A(),F=O("div"),z=O("div"),z.textContent="Size on screen",S=A(),j=O("div"),L=R(dt),T=R(" x "),N=R(ft),H=A(),q=O("div"),V=O("div"),V.textContent="Image Size",W=A(),G=O("div"),It.c(),Z=A(),J=O("div"),K=O("div"),K.textContent="Potential savings",X=A(),Y=O("div"),Lt.c(),Q=A(),tt=O("div"),et=O("a"),nt=R("Learn how to improve site speed by optimizing images "),kt(ot.$$.fragment),U(n,"class","logo svelte-52p8v6"),U(a,"href",t[5]),U(a,"target","_blank noreferrer"),U(a,"class","svelte-52p8v6"),U(c,"class","title svelte-52p8v6"),U(s,"class","description svelte-52p8v6"),U(r,"class","preview svelte-52p8v6"),U(g,"class","label"),U(h,"class","row svelte-52p8v6"),U(y,"class","label"),U(b,"class","value"),U(v,"class","row svelte-52p8v6"),U(z,"class","label"),U(j,"class","value"),U(F,"class","row svelte-52p8v6"),U(V,"class","label"),U(G,"class","value"),U(q,"class","row svelte-52p8v6"),U(K,"class","label"),U(Y,"class","value"),U(J,"class","row svelte-52p8v6"),U(et,"class","documentation svelte-52p8v6"),U(et,"href",Oe),U(et,"target","_blank noreferrer"),U(tt,"class","info svelte-52p8v6"),U(p,"class","meta"),U(e,"class","jetpack-boost-guide-popup keep-guide-open svelte-52p8v6"),B(e,"top",pt),B(e,"left",ht)},m(P,O){I(P,e,O),E(e,n),xt(o,n,null),E(e,i),E(e,r),E(r,s),E(s,c),E(c,a),E(a,l),E(s,u),bt.m(s,null),E(r,d),Ct&&Ct.m(r,null),E(e,f),E(e,p),E(p,h),E(h,g),E(h,m),Et.m(h,null),E(p,w),E(p,v),E(v,y),E(v,$),E(v,b),E(b,C),E(b,k),E(b,x),E(p,_),E(p,F),E(F,z),E(F,S),E(F,j),E(j,L),E(j,T),E(j,N),E(p,H),E(p,q),E(q,V),E(q,W),E(q,G),It.m(G,null),E(p,Z),E(p,J),E(J,K),E(J,X),E(J,Y),Lt.m(Y,null),E(p,Q),E(p,tt),E(tt,et),E(et,nt),xt(ot,et,null),st=!0,ct||(at=M(e,"mouseleave",t[22]),ct=!0)},p(n,o){t=n,(!st||256&o)&&D(l,t[8]),(!st||32&o)&&U(a,"href",t[5]),yt===(yt=gt(t))&&bt?bt.p(mt(t,yt),o):(bt.d(1),bt=yt(mt(t,yt)),bt&&(bt.c(),bt.m(s,null))),t[5]?Ct?Ct.p(t,o):(Ct=$e(t),Ct.c(),Ct.m(r,null)):Ct&&(Ct.d(1),Ct=null),zt===(zt=Ft(t))&&Et?Et.p(t,o):(Et.d(1),Et=zt(t),Et&&(Et.c(),Et.m(h,null))),(!st||131072&o)&&lt!==(lt=t[17].width+"")&&D(C,lt),(!st||131072&o)&&ut!==(ut=t[17].height+"")&&D(x,ut),(!st||262144&o)&&dt!==(dt=t[18].width+"")&&D(L,dt),(!st||262144&o)&&ft!==(ft=t[18].height+"")&&D(N,ft),jt===(jt=St(t))&&It?It.p(t,o):(It.d(1),It=jt(t),It&&(It.c(),It.m(G,null))),Ot===(Ot=Pt(t))&&Lt?Lt.p(t,o):(Lt.d(1),Lt=Ot(t),Lt&&(Lt.c(),Lt.m(Y,null))),1&o&&pt!==(pt=`${t[0].top}px`)&&B(e,"top",pt),1&o&&ht!==(ht=`${t[0].left}px`)&&B(e,"left",ht)},i(t){st||(wt(o.$$.fragment,t),wt(ot.$$.fragment,t),it||rt((()=>{it=$t(e,qt,{duration:150,y:4,easing:Bt}),it.start()})),st=!0)},o(t){vt(o.$$.fragment,t),vt(ot.$$.fragment,t),st=!1},d(t){t&&P(e),_t(o),bt.d(),Ct&&Ct.d(),Et.d(),It.d(),Lt.d(),_t(ot),ct=!1,at()}}}function Pe(t){let e,n,o,i,r,s=!1,c=()=>{s=!1};return rt(t[23]),n=new ue({props:{$$slots:{default:[Ie]},$$scope:{ctx:t}}}),{c(){kt(n.$$.fragment)},m(a,l){xt(n,a,l),o=!0,i||(r=M(pe,"scroll",(()=>{s=!0,clearTimeout(e),e=setTimeout(c,100),t[23]()})),i=!0)},p(t,[o]){2&o&&!s&&(s=!0,clearTimeout(e),scrollTo(pe.pageXOffset,t[1]),e=setTimeout(c,100));const i={};1074725373&o&&(i.$$scope={dirty:o,ctx:t}),n.$set(i)},i(t){o||(wt(n.$$.fragment,t),o=!0)},o(t){vt(n.$$.fragment,t),o=!1},d(t){_t(n,t),i=!1,r()}}}const Oe="https://jetpack.com/support/jetpack-boost/image-performance-guide/";function Le(t){return t%1==0?t:parseFloat(t.toFixed(2))}function Re(t,e,n){let o,i,r,s,c,l,u,d,f,p,h,g,m,v,y,$,b,C,k=a,x=a,_=a,F=a,z=a,E=a,S=a;t.$$.on_destroy.push((()=>k())),t.$$.on_destroy.push((()=>x())),t.$$.on_destroy.push((()=>_())),t.$$.on_destroy.push((()=>F())),t.$$.on_destroy.push((()=>z())),t.$$.on_destroy.push((()=>E())),t.$$.on_destroy.push((()=>S()));let{store:j}=e,{size:I}=e,{position:P}=e,O=0,L=0,R=0;return X((()=>{L=O,R=P.top})),t.$$set=t=>{"store"in t&&n(20,j=t.store),"size"in t&&n(21,I=t.size),"position"in t&&n(0,P=t.position)},t.$$.update=()=>{var e;1048576&t.$$.dirty&&(n(15,o=j.loading),F(),F=w(o,(t=>n(16,y=t)))),1048576&t.$$.dirty&&(n(14,i=j.oversizedRatio),k(),k=w(i,(t=>n(3,g=t)))),1048576&t.$$.dirty&&(n(13,r=j.fileSize),x(),x=w(r,(t=>n(4,m=t)))),1048576&t.$$.dirty&&(n(12,s=j.sizeOnPage),E(),E=w(s,(t=>n(18,b=t)))),1048576&t.$$.dirty&&(n(11,c=j.potentialSavings),S(),S=w(c,(t=>n(19,C=t)))),1048576&t.$$.dirty&&(n(10,l=j.expectedSize),z(),z=w(l,(t=>n(17,$=t)))),1048576&t.$$.dirty&&(n(9,u=j.url),_(),_=w(u,(t=>n(5,v=t)))),32&t.$$.dirty&&n(8,d=v.split("/").pop()),32&t.$$.dirty&&new URL(v).origin,2097152&t.$$.dirty&&n(2,f="normal"===I?100:50),20&t.$$.dirty&&n(7,p=Math.floor(f/(m.width/m.height))),8&t.$$.dirty&&n(6,h=Le(g)),2&t.$$.dirty&&0!==(e=O)&&L!==e&&n(0,P.top=R+(L-e),P)},new URL(window.location.href).origin,[P,O,f,g,m,v,h,p,d,u,l,c,s,r,i,o,y,$,b,C,j,I,function(e){Y.call(this,t,e)},function(){n(1,O=pe.pageYOffset)}]}class Ae extends zt{constructor(t){super(),Ft(this,t,Re,Pe,h,{store:20,size:21,position:0})}}function Te(t,e,n){const o=t.slice();return o[10]=e[n],o[12]=n,o}function Me(t){let e,n,o,i,r,s,c,a=t[0],l=[];for(let e=0;e<a.length;e+=1)l[e]=Ue(Te(t,a,e));const u=t=>vt(l[t],1,1,(()=>{l[t]=null}));let d=!1!==t[1]&&De(t);return{c(){e=O("div"),n=O("div");for(let t=0;t<l.length;t+=1)l[t].c();o=A(),d&&d.c(),U(n,"class","previews svelte-1828btn"),U(e,"class",i="guide "+t[3]+" svelte-1828btn"),N(e,"show",!1!==t[1]),N(e,"keep-guide-open",!1!==t[1])},m(i,a){I(i,e,a),E(e,n);for(let t=0;t<l.length;t+=1)l[t]&&l[t].m(n,null);E(e,o),d&&d.m(e,null),r=!0,s||(c=M(e,"mouseleave",t[5]),s=!0)},p(t,o){if(129&o){let e;for(a=t[0],e=0;e<a.length;e+=1){const i=Te(t,a,e);l[e]?(l[e].p(i,o),wt(l[e],1)):(l[e]=Ue(i),l[e].c(),wt(l[e],1),l[e].m(n,null))}for(gt(),e=a.length;e<l.length;e+=1)u(e);mt()}!1!==t[1]?d?(d.p(t,o),2&o&&wt(d,1)):(d=De(t),d.c(),wt(d,1),d.m(e,null)):d&&(gt(),vt(d,1,1,(()=>{d=null})),mt()),(!r||8&o&&i!==(i="guide "+t[3]+" svelte-1828btn"))&&U(e,"class",i),(!r||10&o)&&N(e,"show",!1!==t[1]),(!r||10&o)&&N(e,"keep-guide-open",!1!==t[1])},i(t){if(!r){for(let t=0;t<a.length;t+=1)wt(l[t]);wt(d),r=!0}},o(t){l=l.filter(Boolean);for(let t=0;t<l.length;t+=1)vt(l[t]);vt(d),r=!1},d(t){t&&P(e),function(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(l,t),d&&d.d(),s=!1,c()}}}function Ue(t){let e,n;return e=new ce({props:{index:t[12],store:t[10]}}),e.$on("hover",t[7]),{c(){kt(e.$$.fragment)},m(t,o){xt(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.store=t[10]),e.$set(o)},i(t){n||(wt(e.$$.fragment,t),n=!0)},o(t){vt(e.$$.fragment,t),n=!1},d(t){_t(e,t)}}}function De(t){let e,n;return e=new Ae({props:{store:t[0][t[1]],size:t[3],position:t[2]}}),e.$on("mouseleave",t[5]),{c(){kt(e.$$.fragment)},m(t,o){xt(e,t,o),n=!0},p(t,n){const o={};3&n&&(o.store=t[0][t[1]]),8&n&&(o.size=t[3]),4&n&&(o.position=t[2]),e.$set(o)},i(t){n||(wt(e.$$.fragment,t),n=!0)},o(t){vt(e.$$.fragment,t),n=!1},d(t){_t(e,t)}}}function Be(t){let e,n,o="active"===t[4]&&Me(t);return{c(){o&&o.c(),e=T()},m(t,i){o&&o.m(t,i),I(t,e,i),n=!0},p(t,[n]){"active"===t[4]?o?(o.p(t,n),16&n&&wt(o,1)):(o=Me(t),o.c(),wt(o,1),o.m(e.parentNode,e)):o&&(gt(),vt(o,1,1,(()=>{o=null})),mt())},i(t){n||(wt(o),n=!0)},o(t){vt(o),n=!1},d(t){o&&o.d(t),t&&P(e)}}}function Ne(t,e,n){let o,i,r;y(t,Tt,(t=>n(4,r=t)));let{stores:s}=e,c=!1;X((()=>{s.forEach((t=>t.updateDimensions()))}));const a=s[0].sizeOnPage;y(t,a,(t=>n(8,i=t)));let l={top:0,left:0};return t.$$set=t=>{"stores"in t&&n(0,s=t.stores)},t.$$.update=()=>{256&t.$$.dirty&&n(3,o=function(t=-1,e=-1){return t<200||e<200?"micro":t<400||e<400?"small":"normal"}(i.width,i.height)),2&t.$$.dirty&&function(t=!1){t?s.forEach((t=>t.node.classList.add("jetpack-boost-guide__backdrop"))):s.forEach((t=>t.node.classList.remove("jetpack-boost-guide__backdrop")))}(!1!==c)},[s,c,l,o,r,function(t){t.relatedTarget&&t.relatedTarget.classList.contains("keep-guide-open")||n(1,c=!1)},a,function(t){const e=t.detail,o=e.index;n(2,l=e.position),n(1,c=o)},i]}class He extends zt{constructor(t){super(),Ft(this,t,Ne,Be,h,{stores:0})}}const qe=[];let Ve;function We(){window.addEventListener("resize",function(){let t;return()=>{t&&clearTimeout(t),t=setTimeout((()=>{qe.forEach((t=>{t.updateDimensions()}))}),500)}}()),Ut.trackInitialState(),Tt.subscribe((async t=>{if("paused"===t)return;const e=await s(Array.from(document.querySelectorAll("body *:not(.jetpack-boost-guide > *):not(.jetpack-boost-guide)")),Ve),n=await Promise.all(e.map((t=>t.isImageTiny())));qe.push(...function(t){const e=t.reduce(((t,e)=>{var n;if(!e.node.parentNode)return console.error("Image has no parent",e.node),t;const o=function(t){const e=t.node;if(!(t.node instanceof HTMLImageElement)&&["static","relative"].includes(getComputedStyle(e).position))return e.classList.contains("jetpack-boost-guide")||(e.classList.add("jetpack-boost-guide","relative"),e.dataset.jetpackBoostGuideId=(++Ge).toString()),e;if(!e.parentNode||!e.parentElement)return;const n=function(t){let e,n=t.parentElement;for(;n&&n instanceof HTMLElement&&n!==document.body;){const t=getComputedStyle(n),o="inline"!==t.display,i="static"===t.position,r="relative"===t.position,s="auto"!==t.zIndex;o&&(!e&&(i||r)||r&&s)&&(e=n),n=n.parentElement}return e}(e);if(null==n?void 0:n.classList.contains("jetpack-boost-guide"))return n;if(n){const e=getComputedStyle(n);if("relative"===e.position){const t=Array.from(n.children).find((t=>t.classList.contains("jetpack-boost-guide")));if(t&&t instanceof HTMLElement)return t}const o=document.createElement("div");return o.classList.add("jetpack-boost-guide"),o.dataset.jetpackBoostGuideId=(++Ge).toString(),"static"===e.position&&(n.style.position="relative"),t.node instanceof HTMLImageElement&&(o.style.top=`${t.node.offsetTop}px`),n.prepend(o),o}return e.parentElement}(e);if(!o)return console.error("Could not find a parent for image",e),t;const i=parseInt(o.dataset.jetpackBoostGuideId||""),r=(null===(n=t[i])||void 0===n?void 0:n.props.stores)||[],s=new Dt(e);return r.push(s),1===r.length&&(t[i]={target:o,intro:!0,props:{stores:r}}),t}),{});return Object.values(e).map((t=>(new He(t),t.props.stores))).flat()}(e.filter(((t,e)=>!n[e])))),Ut.trackPage(qe)}))}let Ge=0;function Ze(t){let e,n,o,i,r,s,c,a,l,u;return n=new Gt({}),{c(){e=O("a"),kt(n.$$.fragment),o=A(),i=O("span"),r=R("Image Guide: "),s=R(t[2]),U(e,"id","jetpack-boost-guide-bar"),U(e,"href",t[0]),U(e,"class",c="ab-item "+t[1]+" svelte-itog5b")},m(c,d){var f;I(c,e,d),xt(n,e,null),E(e,o),E(e,i),E(i,r),E(i,s),a=!0,l||(u=M(e,"click",(f=t[3],function(t){return t.preventDefault(),f.call(this,t)})),l=!0)},p(t,[n]){(!a||4&n)&&D(s,t[2]),(!a||1&n)&&U(e,"href",t[0]),(!a||2&n&&c!==(c="ab-item "+t[1]+" svelte-itog5b"))&&U(e,"class",c)},i(t){a||(wt(n.$$.fragment,t),a=!0)},o(t){vt(n.$$.fragment,t),a=!1},d(t){t&&P(e),_t(n),l=!1,u()}}}function Je(t,e,n){let o,i;y(t,Tt,(t=>n(1,o=t))),y(t,Mt,(t=>n(2,i=t)));let{href:r}=e,{tracksCallback:s}=e;return t.$$set=t=>{"href"in t&&n(0,r=t.href),"tracksCallback"in t&&n(4,s=t.tracksCallback)},t.$$.update=()=>{16&t.$$.dirty&&Ut.setTracksCallback(s)},[r,o,i,function(){Tt.cycle(),Ut.trackUIStateChange()},s]}class Ke extends zt{constructor(t){super(),Ft(this,t,Je,Ze,h,{href:0,tracksCallback:4})}}function Xe(t,{href:e,tracksCallback:n,fetchFunction:o}){return function(t){window.frameElement||(Ve=t,window.addEventListener("load",We))}(o),new Ke({target:t,props:{href:e,tracksCallback:n}})}}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(198),e=n(111),o=n(527),i=n(392),r=n(975);async function s(t){if(!(0,e.u)(t)){const e=await(0,o.G)({action:"boost_proxy_ig",proxy_url:t,nonce:jbImageGuide.proxyNonce},jbImageGuide.ajax_url),n=e.headers.get("content-type");if(n&&-1!==n.indexOf("application/json")){const t=await e.clone().json();if(t&&t.data["content-length"]){const n=new Headers;for(const e in t.data)t.data.hasOwnProperty(e)&&n.set(e,t.data[e]);return new Response(e.body,{status:e.status,statusText:e.statusText,headers:n})}}}return await fetch(t,{method:"HEAD",mode:"no-cors"})}document.addEventListener("DOMContentLoaded",(()=>{r.Z.initialize(jetpackBoostAnalytics.tracksData.userData.userid,jetpackBoostAnalytics.tracksData.userData.username,{blog_id:jetpackBoostAnalytics.tracksData.blogId});const e=(t,e)=>{(0,i.Tr)(t,e)},n=document.getElementById("wp-admin-bar-jetpack-boost-guide"),o=n?.querySelector("a");if(n&&o){const i=o.getAttribute("href");o.remove(),(0,t.IT)(n,{href:i,tracksCallback:e,fetchFunction:s})}}))})()})();

https://t.me/AnonymousX5 - 2025