var src,srcset,wnw_windowWidth,wnw_windowHeight,critical2,critical3,cls_css,lazyBackground,lazyIframe,lazyPoster,lazyLoadVideo,lazybg,lazybg2,s,i,flag=1,external_single_loaded=1;document.addEventListener("DOMContentLoaded",function(){wnw_windowWidth=screen.width,wnw_windowHeight=screen.height,lazyLoadImg2(),lazyLoadBackground2(),window.addEventListener("scroll",function(){wnw_init()}),window.addEventListener("mousemove",function(){wnw_init()}),window.addEventListener("touchstart",function(){wnw_init()}),setTimeout(function(){wnw_init()},8e3)});function wnw_init(){cls_css=document.querySelectorAll(".cls_css"),cls_css.forEach(function(a){a.remove()}),lazyLoadCss(),lazyLoadStyle(),lazyLoadImg(),lazyLoadBackground(),lazyLoadVideo(),lazyLoadIframe(),lazyLoadPoster(),flag&&(flag=0,load_all_js())}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function lazyLoadImg(){var imgs=document.querySelectorAll("img.lazy2");for(i=0;i-1||window.location.href.indexOf("/checkout")>-1?console.log("No-optimization"):(console.log("Yes-optimization"),setTimeout(function(){wnwAnalytics(),wnwBoomerang()},100),setTimeout(function(){var wnw_load_event=document.createEvent("Event");wnw_load_event.initEvent("wnw_load",!0,!0),window.document.dispatchEvent(wnw_load_event)},500),setTimeout(function(){var DOMContentLoaded2_event=document.createEvent("Event");DOMContentLoaded2_event.initEvent("DOMContentLoaded2",!0,!0),window.document.dispatchEvent(DOMContentLoaded2_event)},5e3)),lazyLoadScripts(),setTimeout(function(){critical2=document.querySelectorAll(".critical2"),critical2.forEach(function(a){a.remove()})},9999),setTimeout(function(){critical3=document.querySelectorAll(".critical3"),critical3.forEach(function(a){a.remove()})},3e3),setInterval(function(){lazyLoadImg(),lazyLoadIframe()})}function fullJSLoadedCB(){setTimeout(function(){})} //# sourceMappingURL=/cdn/shop/t/34/assets/wnw-optimization.js.map?v=11926884377070610441699943137