File: /home/coopserp/public_html/speedycache-pro.zip
PK �f\� �J J assets/css/admin.cssnu �[��� /*Donut Chart*/
.speedycache-test-notice {
border-left: none;
background-color:white;
color: #0F172A;
border-radius: 8px;
padding: 0px 15px;
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
}
.speedycache-test-notice p{
margin:0px;
padding:0px;
}
.speedycache-test-chart-wrap {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.speedycache-notice-title {
text-align: center;
font-weight: 600;
font-size: 20px;
}
.speedycache-test-donut-text {
font-family: Arial, Helvetica, sans-serif;
fill: #FF6200;
}
.speedycache-donut-wrap {
width: 100%;
max-width: 170px;
font-size: 16px;
animation: donutfade 1s;
text-align: center;
}
.speedycache-donut-segment {
transform-origin: center;
}
.speedycache-donut-percent {
font-size: 0.85em;
line-height: 0.8;
transform: translateY(0.5em);
font-weight: bold;
}
.speedycache-donut-label {
font-size: 1em;
font-weight: 700;
line-height: 1;
transform: translateY(0.25em);
}
.speedycache-test-action{
margin:10px auto;
text-align:center;
font-weight:400;
line-height:2;
font-size:14px;
}
.speedycache-enable-btn{
background-color: #3d5afe;
border: none;
color: #FFF;
outline: none;
border-radius: 4px;
box-shadow: 1px 0 5px 0 #ccc;
padding: 8px 14px;
font-weight: bold;
font-size: 0.9rem;
cursor: pointer;
transition: background-color 0.4s, transform 0.3s;
}
.speedycache-enable-btn:hover{
background-color:#0529f7;
transform: translateY(-1px);
transition: background-color 0.6s, transform 0.4s;
color:#FFF;
}PK �f\V�ӡ � assets/js/instantpage.jsnu �[��� !(function(){let t,e,n,o,i,a=null,s=65,c=new Set;const r=1111;function d(t){o=performance.now();const e=t.target.closest("a");m(e)&&p(e.href,"high")}function u(t){if(performance.now()-o<r)return;if(!("closest"in t.target))return;const e=t.target.closest("a");m(e)&&(e.addEventListener("mouseout",f,{passive:!0}),i=setTimeout(()=>{p(e.href,"high"),i=void 0},s))}function l(t){const e=t.target.closest("a");m(e)&&p(e.href,"high")}function f(t){t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a")||i&&(clearTimeout(i),i=void 0)}function h(t){if(performance.now()-o<r)return;const e=t.target.closest("a");if(t.which>1||t.metaKey||t.ctrlKey)return;if(!e)return;e.addEventListener("click",function(t){1337!=t.detail&&t.preventDefault()},{capture:!0,passive:!1,once:!0});const n=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});e.dispatchEvent(n)}function m(o){if(o&&o.href&&(!n||"instant"in o.dataset)){if(o.origin!=location.origin){if(!(e||"instant"in o.dataset)||!a)return}if(["http:","https:"].includes(o.protocol)&&("http:"!=o.protocol||"https:"!=location.protocol)&&(t||!o.search||"instant"in o.dataset)&&!(o.hash&&o.pathname+o.search==location.pathname+location.search||"noInstant"in o.dataset))return!0}}function p(t,e="auto"){if(c.has(t))return;const n=document.createElement("link");n.rel="prefetch",n.href=t,n.fetchPriority=e,n.as="document",document.head.appendChild(n),c.add(t)}!function(){if(!document.createElement("link").relList.supports("prefetch"))return;const o="instantVaryAccept"in document.body.dataset||"Shopify"in window,i=navigator.userAgent.indexOf("Chrome/");i>-1&&(a=parseInt(navigator.userAgent.substring(i+"Chrome/".length)));if(o&&a&&a<110)return;const c="instantMousedownShortcut"in document.body.dataset;t="instantAllowQueryString"in document.body.dataset,e="instantAllowExternalLinks"in document.body.dataset,n="instantWhitelist"in document.body.dataset;const r={capture:!0,passive:!0};let f=!1,v=!1,g=!1;if("instantIntensity"in document.body.dataset){const t=document.body.dataset.instantIntensity;if(t.startsWith("mousedown"))f=!0,"mousedown-only"==t&&(v=!0);else if(t.startsWith("viewport")){const e=navigator.connection&&navigator.connection.saveData,n=navigator.connection&&navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g");e||n||("viewport"==t?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(g=!0):"viewport-all"==t&&(g=!0))}else{const e=parseInt(t);isNaN(e)||(s=e)}}v||document.addEventListener("touchstart",d,r);f?c||document.addEventListener("mousedown",l,r):document.addEventListener("mouseover",u,r);c&&document.addEventListener("mousedown",h,r);if(g){let t=window.requestIdleCallback;t||(t=(t=>{t()})),t(function(){const t=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){const n=e.target;t.unobserve(n),p(n.href)}})});document.querySelectorAll("a").forEach(e=>{m(e)&&t.observe(e)})},{timeout:1500})}}();})();PK �f\Y�0�� � assets/js/delayjs.min.jsnu �[��� !function(){let t=["mouseover","click","keydown","wheel","touchmove","touchstart"],e=setTimeout(r,1e4);function r(){t.forEach(t=>{window.removeEventListener(t,r,{passive:!0})}),document.querySelectorAll('script[type="speedycache/javascript"]').forEach(async t=>{await new Promise(e=>{var r,a;let c;return r=t,a=e,c=document.createElement("script"),void(r.getAttributeNames().forEach(t=>{"type"!==t&&c.setAttribute("data-src"==t?"src":t,r.getAttribute(t))}),c.setAttribute("type","text/javascript"),r.hasAttribute("data-src")||(c.text=r.text),c.addEventListener("load",a),r.after(c),r.remove())})}),null!=e&&(clearTimeout(e),e=null)}t.forEach(t=>{window.addEventListener(t,r,{passive:!0})})}();PK �f\ �[ [ assets/js/index.htmlnu �[��� <h1>Powered By SpeedyCache</h1>
Go to <a href="https://speedycache.com">SpeedyCache.Com</a>PK �f\(� assets/js/metabox.jsnu �[��� jQuery(document).ready(function() {
jQuery('#speedycache-generate-specific-cache').on('click', function(){
let ccss_disabled = jQuery('#speedycache-disable-critical-css:checked');
if(ccss_disabled.length){
alert('Critical CSS is disabled for this post');
return;
}
jQuery.ajax({
'method': 'POST',
'url': speedycache_metabox.url,
'data': {
'post_id': speedycache_metabox.post_id,
'security': speedycache_metabox.nonce,
'action': 'speedycache_generate_single_ccss',
},
success: function(res){
if(!res.success){
alert(res.data.message ? res.data.message : 'Something went wrong ! Unable to intitiate Critical CSS!');
return;
}
alert(res.data.message);
}
});
});
});PK �f\# �C� � assets/js/lazy-load.jsnu �[��� var speedycache_lazy_load = {
sources: [],
osl: 0,
scroll: false,
init: function(){
speedycache_lazy_load.set_source();
window.addEventListener('load', function(){
let observer = new MutationObserver((mutations) => {
speedycache_lazy_load.osl = speedycache_lazy_load.sources.length;
speedycache_lazy_load.set_source();
if(speedycache_lazy_load.sources.length > speedycache_lazy_load.osl){
speedycache_lazy_load.load_sources(false);
}
});
observer.observe(document.getElementsByTagName('html')[0], {childList: true, attributes: true, subtree: true, attributeFilter: ["src"], attributeOldValue: false, characterDataOldValue: false});
speedycache_lazy_load.load_sources(true);
});
let js_events = ['scroll', 'resize', 'click'];
js_events.forEach((event) => {
window.addEventListener(event, function(){
speedycache_lazy_load.scroll=true;
speedycache_lazy_load.load_sources(false);
});
});
},
c: function(e, pageload){
var winH = document.documentElement.clientHeight || body.clientHeight;
var number = 0;
if(pageload){
number = 0;
}else{
number = (winH > 800) ? 800 : 200;
number = speedycache_lazy_load.scroll ? 800 : number;
}
var elemRect = e.getBoundingClientRect();
var top = 0;
var parentOfE = e.parentNode ? e.parentNode : false;
if(typeof parentOfE.getBoundingClientRect == 'undefined'){
var parentRect = false;
}else{
var parentRect = parentOfE.getBoundingClientRect();
}
if(elemRect.x == 0 && elemRect.y == 0){
for(var i = 0; i < 10; i++){
if(parentOfE){
if(parentRect.x == 0 && parentRect.y == 0){
if(parentOfE.parentNode){
parentOfE = parentOfE.parentNode;
}
if(typeof parentOfE.getBoundingClientRect == 'undefined'){
parentRect = false;
}else{
parentRect = parentOfE.getBoundingClientRect();
}
}else{
top = parentRect.top;
break;
}
}
};
}else{
top = elemRect.top;
}
if(winH - top + number > 0){
return true;
}
return false;
},
r: function(e, pageload){
var self = this;
var originalsrc,originalsrcset;
try{
originalsrc = e.getAttribute('data-speedycache-original-src');
originalsrcset = e.getAttribute('data-speedycache-original-srcset');
originalsizes = e.getAttribute('data-speedycache-original-sizes');
if(self.c(e, pageload)){
if(originalsrc || originalsrcset){
if(e.tagName == 'DIV' || e.tagName == 'A' || e.tagName == 'SPAN'){
e.style.backgroundImage = 'url(' + originalsrc + ')';
e.removeAttribute('data-speedycache-original-src');
e.removeAttribute('data-speedycache-original-srcset');
e.removeAttribute('onload');
}else{
if(originalsrc){
e.setAttribute('src', originalsrc);
}
if(originalsrcset){
e.setAttribute('srcset', originalsrcset);
}
if(originalsizes){
e.setAttribute('sizes', originalsizes);
}
if(e.getAttribute('alt') && e.getAttribute('alt') == 'blank'){
e.removeAttribute('alt');
}
e.removeAttribute('data-speedycache-original-src');
e.removeAttribute('data-speedycache-original-srcset');
e.removeAttribute('data-speedycache-original-sizes');
e.removeAttribute('onload');
if(e.tagName == 'IFRAME'){
var y = "https://www.youtube.com/embed/";
if(navigator.userAgent.match(/\sEdge?\/\d/i)){
e.setAttribute('src',e.getAttribute('src').replace(/.+\/main\/youtube\.html\#/, y));
}
e.onload = function(){
if(typeof window.jQuery != 'undefined'){if(jQuery.fn.fitVids){jQuery(e).parent().fitVids({ customSelector: 'iframe[src]'});}}
var s = e.getAttribute('src').match(/main\/youtube\.html\#(.+)/);
if(s){
try{
var i = e.contentDocument || e.contentWindow;
if(i.location.href == 'about:blank'){
e.setAttribute('src',y+s[1]);
}
}catch(err){
e.setAttribute('src',y+s[1]);
}
}
}
}
}
}else{
if(e.tagName == 'NOSCRIPT'){
if(e.getAttribute('data-type') == 'speedycache'){
e.removeAttribute('data-type');
e.insertAdjacentHTML('afterend', e.innerHTML);
}
}
}
}
}catch(error){
console.log(error);
console.log('==>', e);
}
},
set_source: function(){
var i = [].slice.call(document.getElementsByTagName('img'));
var f = [].slice.call(document.getElementsByTagName('iframe'));
var d = [].slice.call(document.getElementsByTagName('div'));
var a = [].slice.call(document.getElementsByTagName('a'));
var s = [].slice.call(document.getElementsByTagName('span'));
var n = [].slice.call(document.getElementsByTagName('noscript'));
this.sources = i.concat(f).concat(d).concat(a).concat(s).concat(n);
},
load_sources: function(pageload){
var self = this;
[].forEach.call(self.sources, function(e, index) {
self.r(e, pageload);
});
}
};
document.addEventListener('DOMContentLoaded',function(){
speedycache_lazy_load.init();
});PK �f\E�^�
assets/js/delayjs.jsnu �[��� (function(){
let speedycache_js_events = ['mouseover','click','keydown','wheel','touchmove','touchstart'],
speedycache_djs_timeout = setTimeout(speedycache_delay_event, 10000);
speedycache_js_events.forEach((event) => {
window.addEventListener(event, speedycache_delay_event, {passive: true});
});
function speedycache_delay_event(){
speedycache_js_events.forEach((event) => {
window.removeEventListener(event, speedycache_delay_event, {passive: true});
});
document.querySelectorAll('script[type="speedycache/javascript"]').forEach(async e => {
await new Promise(resolve => speedycache_load_js(e, resolve));
});
if(speedycache_djs_timeout != null){
clearTimeout(speedycache_djs_timeout);
speedycache_djs_timeout = null;
}
}
function speedycache_load_js(js, resolve){
let async_js = document.createElement('script');
let attr = js.getAttributeNames();
attr.forEach(name => {
if(name === 'type'){
return;
}
async_js.setAttribute(name == 'data-src' ? 'src' : name, js.getAttribute(name));
});
async_js.setAttribute('type', 'text/javascript');
if(!js.hasAttribute('data-src')){
async_js.text = js.text;
}
async_js.addEventListener('load', resolve);
js.after(async_js);
js.remove();
}
})();
PK �f\T�YdJ J assets/js/admin.jsnu �[��� jQuery(document).ready(function($) {
$('.speedycache-test-notice .speedycache-custom-dismiss').click(function(e) {
e.preventDefault();
$('.speedycache-test-notice').slideUp();
$.ajax({
url: speedycache_pro_ajax.url,
type: 'POST',
data: {
action: 'speedycache_dismiss_test_notice',
security: speedycache_pro_ajax.nonce
}
});
});
$('.speedycache-copy-test-settings').click(function(e){
e.preventDefault();
$.ajax({
method : 'GET',
url : speedycache_pro_ajax.url + '?action=speedycache_copy_test_settings&security='+speedycache_pro_ajax.nonce,
success: function(res){
if(res.success){
alert('The settings has been successfully saved!');
location.reload(true);
return;
}
if(res.data){
alert(res.data);
}
}
});
});
})
PK �f\ assets/js/heartbeat.jsnu �[��� PK �f\���! ! assets/images/no-image.pngnu �[��� �PNG
IHDR <