(function() {
const deferStyles = [
'fontawesome',
'elementor-icons',
'jet-elements',
'swiper',
'font-awesome',
'brands',
'solid',
'regular',
'uael',
'welcomebar',
'popup',
'sticky'
];
const links = document.querySelectorAll('link[rel="stylesheet"]');
links.forEach(link => {
const href = link.getAttribute('href') || '';
const shouldDefer = deferStyles.some(style => href.includes(style));
if (shouldDefer && !href.includes('critical')) {
// Convert to preload
link.setAttribute('rel', 'preload');
link.setAttribute('as', 'style');
link.setAttribute('onload', "this.onload=null;this.rel='stylesheet'");
// Fallback dla no-js
const noscript = document.createElement('noscript');
const fallbackLink = document.createElement('link');
fallbackLink.setAttribute('rel', 'stylesheet');
fallbackLink.setAttribute('href', href);
noscript.appendChild(fallbackLink);
link.parentNode.insertBefore(noscript, link.nextSibling);
}
});
})();
var ecs_ajax_params = {"ajaxurl":"https://getzendo.io/wp-admin/admin-ajax.php","posts":"{\"page\":0,\"pagename\":\"product\",\"error\":\"\",\"m\":\"\",\"p\":0,\"post_parent\":\"\",\"subpost\":\"\",\"subpost_id\":\"\",\"attachment\":\"\",\"attachment_id\":0,\"name\":\"product\",\"page_id\":0,\"second\":\"\",\"minute\":\"\",\"hour\":\"\",\"day\":0,\"monthnum\":0,\"year\":0,\"w\":0,\"category_name\":\"\",\"tag\":\"\",\"cat\":\"\",\"tag_id\":\"\",\"author\":\"\",\"author_name\":\"\",\"feed\":\"\",\"tb\":\"\",\"paged\":0,\"meta_key\":\"\",\"meta_value\":\"\",\"preview\":\"\",\"s\":\"\",\"sentence\":\"\",\"title\":\"\",\"fields\":\"all\",\"menu_order\":\"\",\"embed\":\"\",\"category__in\":[],\"category__not_in\":[],\"category__and\":[],\"post__in\":[],\"post__not_in\":[],\"post_name__in\":[],\"tag__in\":[],\"tag__not_in\":[],\"tag__and\":[],\"tag_slug__in\":[],\"tag_slug__and\":[],\"post_parent__in\":[],\"post_parent__not_in\":[],\"author__in\":[],\"author__not_in\":[],\"search_columns\":[],\"ignore_sticky_posts\":false,\"suppress_filters\":false,\"cache_results\":true,\"update_post_term_cache\":true,\"update_menu_item_cache\":false,\"lazy_load_term_meta\":true,\"update_post_meta_cache\":true,\"post_type\":\"\",\"posts_per_page\":6,\"nopaging\":false,\"comments_per_page\":\"50\",\"no_found_rows\":false,\"order\":\"DESC\"}"};
//# sourceURL=ecs_ajax_load-js-extra
setTimeout(() => {
const script = document.createElement('script');
script.async = true;
script.defer = true;
script.src = 'https://www.googleoptimize.com/optimize.js?id=OPT-PFCW55V';
document.head.appendChild(script);
}, 3000);
(() => {
'use strict';
const BLOCKER_CLASS = 'no-auto-focus';
let originalFocus = null;
let originalHTMLElementFocus = null;
const initialize = () => {
if (Element.prototype.focus && !originalFocus) {
originalFocus = Element.prototype.focus;
}
if (HTMLElement.prototype.focus && !originalHTMLElementFocus) {
originalHTMLElementFocus = HTMLElement.prototype.focus;
}
const original = originalFocus || originalHTMLElementFocus;
if (original) {
const customFocus = function(options) {
// Check if element should block focus
if (this.closest?.(`.${BLOCKER_CLASS}`)) {
return;
}
return original.call(this, options);
};
// Apply to available prototypes
if (Element.prototype.focus) {
Element.prototype.focus = customFocus;
}
if (HTMLElement.prototype.focus) {
HTMLElement.prototype.focus = customFocus;
}
return true;
}
return false;
};
const maxAttempts = 10;
let attempts = 0;
const tryInitialize = () => {
attempts++;
if (initialize()) {
return;
}
if (attempts < maxAttempts) {
setTimeout(tryInitialize, 100);
}
else {
document.addEventListener('focusin', (e) => {
if (e.target.closest?.(`.${BLOCKER_CLASS}`)) {
e.preventDefault();
e.stopImmediatePropagation();
}
}, true);
}
};
tryInitialize();
}
)();
setTimeout(() => {(function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');}, 5000);
var script = document.createElement('script');script.async = true; script.type = 'text/javascript';var target = 'https://www.clickcease.com/monitor/stat.js';script.src = target;var elem = document.head;elem.appendChild(script);
setTimeout(()=> {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1342759396255886');
fbq('track', 'PageView');
}, 5000);
setTimeout(() => {window.$crisp=[];window.CRISP_WEBSITE_ID="68ef3284-f555-4c0c-bc50-7c4dd11c3ed8";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();}, 5000);
(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.defer=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document, "clarity", "script", "b2hy384pxk");
( function( w, d, s, l, i ) {
w[l] = w[l] || [];
w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} );
var f = d.getElementsByTagName( s )[0],
j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://getzendo.io/wp-content/uploads/breeze/google/gtm.js?id=' + i + dl;
f.parentNode.insertBefore( j, f );
} )( window, document, 'script', 'dataLayer', 'GTM-W8HNHX9' );
(function() {
// Global page view and session tracking for UAEL Modal Popup feature
try {
// Session tracking: increment if this is a new session
// Check if any popup on this page uses current page tracking
var hasCurrentPageTracking = false;
var currentPagePopups = [];
// Check all modal popups on this page for current page tracking
if (typeof jQuery !== 'undefined') {
jQuery('.uael-modal-parent-wrapper').each(function() {
var scope = jQuery(this).data('page-views-scope');
var enabled = jQuery(this).data('page-views-enabled');
var popupId = jQuery(this).attr('id').replace('-overlay', '');
if (enabled === 'yes' && scope === 'current') {
hasCurrentPageTracking = true;
currentPagePopups.push(popupId);
}
});
}
// Global tracking: ALWAYS increment if ANY popup on the site uses global tracking
// Current page tracking: increment per-page counters
if (hasCurrentPageTracking && currentPagePopups.length > 0) {
var currentUrl = window.location.href;
var urlKey = 'uael_page_views_' + btoa(currentUrl).replace(/[^a-zA-Z0-9]/g, '').substring(0, 50);
var currentPageViews = parseInt(localStorage.getItem(urlKey) || '0');
currentPageViews++;
localStorage.setItem(urlKey, currentPageViews.toString());
// Store URL mapping for each popup
for (var i = 0; i < currentPagePopups.length; i++) {
var popupUrlKey = 'uael_popup_' + currentPagePopups[i] + '_url_key';
localStorage.setItem(popupUrlKey, urlKey);
}
}
} catch (e) {
// Silently fail if localStorage is not available
}
})();
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
setTimeout(()=> {
_linkedin_partner_id = "4666681";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
}, 5000);
setTimeout(()=> {
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
}, 5000);
const EmptyLinks = document.querySelectorAll('a[href="#"]');
EmptyLinks.forEach(EmptyLink => {
EmptyLink.addEventListener('click', Event => {
Event.preventDefault();
});
});
/*
document.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
document.querySelector('.zendo').scrollTop = 0;
}, 1);
});
*/
window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}));