(script) var preloadRequests=0;var remainingCount={};var baseURI="";self.onmessage=function(e){switch(e.data.cmd){case"RESOURCE_PRELOAD":var a=e.data.requestId;remainingCount[a]=0;e.data.resources.forEach(function(o){preload(o,function(e){return function(){console.log(e+" DONE: "+o);if(--remainingCount[e]==0){self.postMessage({cmd:"RESOURCE_PRELOAD",requestId:e})}}}(a));remainingCount[a]++});break;case"SET_BASEURI":baseURI=e.data.uri;break}};async function preload(o,a){if(typeof URL!=="undefined"&&baseURI){try{var e=new URL(o,baseURI);o=e.href}catch(e){console.log("Worker error: "+e.message)}}console.log("Preloading "+o);try{var n=new Request(o,{mode:"no-cors",redirect:"follow"});await fetch(n);a()}catch(e){console.log(e);var r=new XMLHttpRequest;r.responseType="blob";r.onload=a;r.onerror=a;r.open("GET",o,true);r.send()}}(script) (function(e){var t=e.prototype;t.after||(t.after=function(){var e,t=arguments,n=t.length,r=0,i=this,o=i.parentNode,a=Node,c=String,u=document;if(o!==null){while(r=u){NPh.documentReadyState=NPh.ogReadyState;A(function(){i.triggerNitroEvent(t)})}}});i.addEventListener(t+"Nitro",function(e){if(["load","DOMContentLoaded"].indexOf(t)!=-1){if(!a){e.preventDefault();e.stopImmediatePropagation()}else{}c=true}else if(t=="readystatechange"){c=NPh.documentReadyState=="interactive"?1:2;if(u)?$/gm,"$1")],{type:"text/javascript"}))}catch(e){var n="data:text/javascript;base64,"+btoa(t.replace(/^(?:)?$/gm,"$1"))}return n};var K=function(){NPh.documentReadyState="interactive";document.triggerNitroEvent("readystatechange");document.triggerNitroEvent("DOMContentLoaded");if(window.pageYOffset||window.pageXOffset){window.dispatchEvent(new Event("scroll"))}U=true;A(function(){if(s==0){A(Q)}A(J)})};var Q=function(){if(!U||D)return;D=true;E.disconnect();Z();NPh.documentReadyState="complete";document.triggerNitroEvent("readystatechange");window.triggerNitroEvent("load",document);window.triggerNitroEvent("pageshow",document);if(window.pageYOffset||window.pageXOffset||location.hash){let e=typeof history.scrollRestoration!=="undefined"&&history.scrollRestoration=="auto";if(e&&typeof NPSH!=="undefined"&&NPSH.getScrollPos()>0){window.scrollTo(0,NPSH.getScrollPos())}else if(location.hash){try{let e=document.querySelector(location.hash);if(e){e.scrollIntoView()}}catch(e){}}}var e=null;if(n==1){e=M}else{e=re}A(e)};var A=function(e){setTimeout(e,0)};var O=function(e){if(e.type=="touchend"||e.type=="click"){a=e}};var J=function(){if(a){setTimeout(function(r){return function(){var e=function(e,t,n){var r=new Event(e,{bubbles:true,cancelable:true});if(e=="click"){r.clientX=t;r.clientY=n}else{r.touches=[{clientX:t,clientY:n}]}return r};var t;if(r.type=="touchend"){var n=r.changedTouches[0];t=document.elementFromPoint(n.clientX,n.clientY);t.dispatchEvent(e("touchstart"),n.clientX,n.clientY);t.dispatchEvent(e("touchend"),n.clientX,n.clientY);t.dispatchEvent(e("click"),n.clientX,n.clientY)}else if(r.type=="click"){t=document.elementFromPoint(r.clientX,r.clientY);t.dispatchEvent(e("click"),r.clientX,r.clientY)}}}(a),150);a=null}};var I=function(e){if(e.tagName=="SCRIPT"&&!e.hasAttribute("data-nitro-for-id")&&!e.hasAttribute("nitro-document-write")||e.tagName=="IMG"&&(e.hasAttribute("src")||e.hasAttribute("srcset"))||e.tagName=="IFRAME"&&e.hasAttribute("src")||e.tagName=="LINK"&&e.hasAttribute("href")&&e.hasAttribute("rel")&&e.getAttribute("rel")=="stylesheet"){var t="";switch(e.tagName){case"LINK":t=e.href;break;case"IMG":if(b.indexOf(e)>-1)return;t=e.srcset||e.src;break;default:t=e.src;break}var n=e.getAttribute("type");if(!t&&e.tagName!=="SCRIPT")return;if((e.tagName=="IMG"||e.tagName=="LINK")&&(t.indexOf("data:")===0||t.indexOf("blob:")===0))return;if(e.tagName=="SCRIPT"&&n&&n!=="text/javascript"&&n!=="application/javascript"){if(n!=="module"||!w)return}if(e.tagName==="SCRIPT"){if(b.indexOf(e)>-1)return;if(e.noModule&&w){return}if(!e.src){if(e.textContent.length>0){e.textContent+="\n;if(document.currentScript.nitroTimeout) {clearTimeout(document.currentScript.nitroTimeout);}; setTimeout(function() { this.dispatchEvent(new Event('load')); }.bind(document.currentScript), 0);"}else{return}}b.push(e)}if(!e.hasOwnProperty("nitroTimeout")){s++;e.addEventListener("load",T,true);e.addEventListener("error",T,true);e.addEventListener("nitroTimeout",T,true);e.nitroTimeout=setTimeout(function(){console.log("Resource timed out",e);e.dispatchEvent(new Event("nitroTimeout"))},5e3)}}};var $=function(e){if(e.hasOwnProperty("nitroTimeout")&&e.nitroTimeout){clearTimeout(e.nitroTimeout);e.nitroTimeout=null;e.dispatchEvent(new Event("nitroTimeout"))}};document.documentElement.addEventListener("load",function(e){if(e.target.tagName=="SCRIPT"||e.target.tagName=="IMG"){b.push(e.target)}},true);document.documentElement.addEventListener("error",function(e){if(e.target.tagName=="SCRIPT"||e.target.tagName=="IMG"){b.push(e.target)}},true);var V=["appendChild","replaceChild","insertBefore","prepend","append","before","after","replaceWith","insertAdjacentElement"];var z=function(){V.forEach(function(t){HTMLElement.prototype["og"+t]=HTMLElement.prototype[t];HTMLElement.prototype[t]=function(...e){if(this.parentNode||this===document.documentElement){switch(t){case"replaceChild":case"insertBefore":e.pop();break;case"insertAdjacentElement":e.shift();break}e.forEach(function(e){if(!e)return;if(e.tagName=="SCRIPT"){I(e)}else{if(e.children&&e.children.length>0){e.querySelectorAll("script").forEach(I)}}})}return this["og"+t].apply(this,arguments)}})};var Z=function(){V.forEach(function(e){HTMLElement.prototype[e]=HTMLElement.prototype["og"+e]})};var C=async function(){if(f){j(v);j(O);if(m){clearTimeout(m);m=null}}if(g===1){H=true;return}else if(g===0){g=-1}NPh.startedScriptLoading=true;Object.defineProperty(document,"readyState",{get:function(){return NPh.documentReadyState},set:function(){}});var e=document.documentElement;var t={attributes:true,attributeFilter:["src"],childList:true,subtree:true};E=new MutationObserver(function(e,t){e.forEach(function(e){if(e.type=="childList"&&e.addedNodes.length>0){e.addedNodes.forEach(function(e){if(!document.documentElement.contains(e))return;if(e.tagName=="IMG"||e.tagName=="IFRAME"||e.tagName=="LINK"){I(e)}})}if(e.type=="childList"&&e.removedNodes.length>0){e.removedNodes.forEach(function(e){if(e.tagName=="IFRAME"||e.tagName=="LINK"){$(e)}})}if(e.type=="attributes"){var t=e.target;if(!document.documentElement.contains(t))return;if(t.tagName=="IFRAME"||t.tagName=="LINK"||t.tagName=="IMG"||t.tagName=="SCRIPT"){I(t)}}})});E.observe(e,t);z();await Promise.all(_);var n=p.shift();var r=null;var i=false;while(n){var o;var a=JSON.parse(atob(n.meta));var c=a.delay;if(n.type=="inline"){var u=document.getElementById(n.id);if(u){u.remove()}else{n=p.shift();continue}o=X(u);if(o===false){n=p.shift();continue}}else{o=n.src}if(!i&&n.type!="inline"&&(typeof a.attributes.async!="undefined"||typeof a.attributes.defer!="undefined")){if(r===null){r=n}else if(r===n){i=true}if(!i){p.push(n);n=p.shift();continue}}var d=document.createElement("script");d.src=o;d.setAttribute("data-nitro-for-id",n.id);for(var s in a.attributes){try{if(a.attributes[s]===false){d.setAttribute(s,"")}else{d.setAttribute(s,a.attributes[s])}}catch(e){console.log("Error while setting script attribute",d,e)}}d.async=false;if(c){setTimeout(function(e,t){var n=document.querySelector("[data-nitro-marker-id='"+t+"']");if(n){n.after(e)}else{document.head.appendChild(e)}}.bind(null,d,n.id),c)}else{d.addEventListener("load",W);d.addEventListener("error",W);if(!d.noModule||!w){h++}var l=document.querySelector("[data-nitro-marker-id='"+n.id+"']");if(l){A(function(e,t){return function(){e.after(t)}}(l,d))}else{A(function(e){return function(){document.head.appendChild(e)}}(d))}}n=p.shift()}};var ee=function(){var e=document.getElementById("nitro-deferred-styles");var t=document.createElement("div");t.innerHTML=e.textContent;return t};var M=async function(e){isPreload=e&&e.type=="NitroPreload";if(!isPreload){g=-1;u=false;if(f){j(v);j(O);if(m){clearTimeout(m);m=null}}}if(d===false){var t=ee();let e=t.querySelectorAll('style,link[rel="stylesheet"]');d=e.length;if(d){let e=document.getElementById("nitro-deferred-styles-marker");e.replaceWith.apply(e,t.childNodes)}else if(isPreload){A(k)}else{x()}}else if(d===0&&!isPreload){x()}};var te=function(){var e=ee();var t=e.childNodes;var n;var r=[];for(var i=0;idocument.documentElement.clientHeight*.5;if(location.hash||l){f=false}i=c.default.concat(c.touch);o=setTimeout(NPRL.loadQueuedResources,1500);ie(O);if(l){NPRL.loadQueuedResources()}else{window.addEventListener("load",NPRL.loadQueuedResources)}},addPrerequisite:function(e){_.push(e)}}}();var NPh,NitroPackHelper;NPh=NitroPackHelper=function(){var a=document.write;return{documentWrite:function(e,t){if(e&&e.hasAttribute("nitro-exclude")){return a.call(document,t)}var n=null;if(e.documentWriteContainer){n=e.documentWriteContainer}else{n=document.createElement("span");e.documentWriteContainer=n}var r=null;if(e){if(e.hasAttribute("data-nitro-for-id")){r=document.querySelector('template[data-nitro-marker-id="'+e.getAttribute("data-nitro-for-id")+'"]')}else{r=e}}n.innerHTML+=t;n.querySelectorAll("script").forEach(function(e){e.setAttribute("nitro-document-write","")});if(!n.parentNode){if(r){r.parentNode.insertBefore(n,r)}else{document.body.appendChild(n)}}var i=document.createElement("span");i.innerHTML=t;var o=i.querySelectorAll("script");if(o.length){o.forEach(function(t){var e=t.getAttributeNames();var n=document.createElement("script");e.forEach(function(e){n.setAttribute(e,t.getAttribute(e))});n.async=false;if(!t.src&&t.textContent){n.textContent=t.textContent}NPRL.loadJs(n,r)})}},TrustLogo:function(e,t){var n=document.getElementById(e);var r=document.createElement("img");r.src=t;n.parentNode.insertBefore(r,n)},documentReadyState:"loading",ogReadyState:document.readyState,startedScriptLoading:false,loadScriptDelayed:function(t,e){setTimeout(function(){var e=document.createElement("script");e.src=t;document.head.appendChild(e)},e)}}}();document.write=function(e){NPh.documentWrite(document.currentScript,e)};document.writeln=function(e){NPh.documentWrite(document.currentScript,e+"\n")}; (script) {"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://stewcam.com/#website","url":"https://stewcam.com/","name":"StewCam","description":"We smash you with the information that will make your life easier. Really.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://stewcam.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"CollectionPage","@id":"https://stewcam.com/#webpage","url":"https://stewcam.com/","name":"StewCam - We smash you with the information that will make your life easier. Really.","isPartOf":{"@id":"https://stewcam.com/#website"},"description":"We smash you with the information that will make your life easier. Really.","breadcrumb":{"@id":"https://stewcam.com/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://stewcam.com/"]}]},{"@type":"BreadcrumbList","@id":"https://stewcam.com/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home"}]}]} (script) (script) window.IS_NITROPACK=!0;window.NITROPACK_STATE='FRESH';(script) /*! lazysizes - v5.1.2 */ !function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}("undefined"!=typeof window?window:{},function(a,b){"use strict";var c,d;if(function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};d=a.nitro_lazySizesConfig||a.nitro_lazysizesConfig||{};for(b in c)b in d||(d[b]=c[b])}(),!b||!b.getElementsByClassName)return{init:function(){},cfg:d,noSupport:!0};var e=b.documentElement,f=a.Date,g=a.HTMLPictureElement,h="addEventListener",i="getAttribute",j=a[h],k=a.setTimeout,l=a.requestAnimationFrame||k,m=a.requestIdleCallback,n=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],p={},q=Array.prototype.forEach,r=function(a,b){return p[b]||(p[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),p[b].test(a[i]("class")||"")&&p[b]},s=function(a,b){r(a,b)||a.setAttribute("class",(a[i]("class")||"").trim()+" "+b)},t=function(a,b){var c;(c=r(a,b))&&a.setAttribute("class",(a[i]("class")||"").replace(c," "))},u=function(a,b,c){var d=c?h:"removeEventListener";c&&u(a,b),o.forEach(function(c){a[d](c,b)})},v=function(a,d,e,f,g){var h=b.createEvent("Event");return e||(e={}),e.instance=c,h.initEvent(d,!f,!g),h.detail=e,a.dispatchEvent(h),h},w=function(b,c){var e;!g&&(e=a.picturefill||d.pf)?(c&&c.src&&!b[i]("srcset")&&b.setAttribute("srcset",c.src),e({reevaluate:!0,elements:[b]})):c&&c.src&&(b.src=c.src)},x=function(a,b){return(getComputedStyle(a,null)||{})[b]},y=function(a,b,c){for(c=c||a.offsetWidth;c49?function(){m(h,{timeout:g}),g!==d.ricTimeout&&(g=d.ricTimeout)}:A(function(){k(h)},!0);return function(a){var d;(a=!0===a)&&(g=33),b||(b=!0,d=e-(f.now()-c),d<0&&(d=0),a||d<9?i():k(i,d))}},C=function(a){var b,c,d=99,e=function(){b=null,a()},g=function(){var a=f.now()-c;a0)&&"visible"!=x(f,"overflow")&&(d=f.getBoundingClientRect(),g=H>d.left&&Gd.top-1&&F500&&e.clientWidth>500?500:370:d.expand,c._defEx=r,s=r*d.expFactor,t=d.hFac,J=null,O2&&o>2&&!b.hidden?(O=s,Q=0):O=o>1&&Q>1&&P<6?r:N),q!==m&&(y=innerWidth+m*t,D=innerHeight+m,n=-1*m,q=m),h=u[f].getBoundingClientRect(),(I=h.bottom)>=n&&(F=h.top)<=D&&(H=h.right)>=n*t&&(G=h.left)<=y&&(I||H||G||F)&&(d.loadHidden||S(u[f]))&&(l&&P<3&&!p&&(o<3||Q<4)||T(u[f],m))){if(aa(u[f]),k=!0,P>9)break}else!k&&l&&!j&&P<4&&Q<4&&o>2&&(g[0]||d.preloadAfterLoad)&&(g[0]||!p&&(I||H||G||F||"auto"!=u[f][i](d.sizesAttr)))&&(j=g[0]||u[f]);j&&!k&&aa(j)}},V=B(U),W=function(a){var b=a.target;if(b._lazyCache)return void delete b._lazyCache;R(a),s(b,d.loadedClass),t(b,d.loadingClass),u(b,Y),v(b,"lazyloaded")},X=A(W),Y=function(a){X({target:a.target})},Z=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},$=function(a){var b,c=a[i](d.srcsetAttr);(b=d.customMedia[a[i]("data-media")||a[i]("media")])&&a.setAttribute("media",b),c&&a.setAttribute("srcset",c)},_=A(function(a,b,c,e,f){var g,h,j,l,o,p;(o=v(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(c?s(a,d.autosizesClass):a.setAttribute("sizes",e)),h=a[i](d.srcsetAttr),g=a[i](d.srcAttr),f&&(j=a.parentNode,l=j&&n.test(j.nodeName||"")),p=b.firesLoad||"src"in a&&(h||g||l),o={target:a},s(a,d.loadingClass),p&&(clearTimeout(m),m=k(R,2500),u(a,Y,!0)),l&&q.call(j.getElementsByTagName("source"),$),h?a.setAttribute("srcset",h):g&&!l&&(L.test(a.nodeName)?Z(a,g):a.src=g),f&&(h||l)&&w(a,{src:g})),a._lazyRace&&delete a._lazyRace,t(a,d.lazyClass),z(function(){var b=a.complete&&a.naturalWidth>1;p&&!b||(b&&s(a,"ls-is-cached"),W(o),a._lazyCache=!0,k(function(){"_lazyCache"in a&&delete a._lazyCache},9)),"lazy"==a.loading&&P--},!0)}),aa=function(a){if(!a._lazyRace){var b,c=K.test(a.nodeName),e=c&&(a[i](d.sizesAttr)||a[i]("sizes")),f="auto"==e;(!f&&l||!c||!a[i]("src")&&!a.srcset||a.complete||r(a,d.errorClass)||!r(a,d.lazyClass))&&(b=v(a,"lazyunveilread").detail,f&&E.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,P++,_(a,b,f,e,c))}},ba=C(function(){d.loadMode=3,V()}),ca=function(){3==d.loadMode&&(d.loadMode=2),ba()},da=function(){if(!l){if(f.now()-p<999)return void k(da,999);l=!0,d.loadMode=3,V(),j("scroll",ca,!0)}};return{_:function(){p=f.now(),c.elements=b.getElementsByClassName(d.lazyClass),g=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass),j("scroll",V,!0),j("resize",V,!0),a.MutationObserver?new MutationObserver(V).observe(e,{childList:!0,subtree:!0,attributes:!0}):(e[h]("DOMNodeInserted",V,!0),e[h]("DOMAttrModified",V,!0),setInterval(V,999)),j("hashchange",V,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(a){b[h](a,V,!0)}),/d$|^c/.test(b.readyState)?da():(j("load",da),b[h]("DOMContentLoaded",V),k(da,2e4)),c.elements.length?(U(),z._lsFlush()):V()},checkElems:V,unveil:aa,_aLSL:ca}}(),E=function(){var a,c=A(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),n.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;f(script) window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/stewcam.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.0"}}; /*! This file is auto-generated */ !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode,e=(p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0),i.toDataURL());return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r(script) jQuery(document).ready(function(){jQuery(".af74b48ca7116bb2b331da2fcb5a782f").click(function(){jQuery.post("https://stewcam.com/wp-admin/admin-ajax.php",{action:"quick_adsense_onpost_ad_click",quick_adsense_onpost_ad_index:jQuery(this).attr("data-index"),quick_adsense_nonce:"8e201eaaf8"},function(a){})})});(script) var rovlex_loadmore_params = {"ajaxurl":"https:\/\/stewcam.com\/wp-admin\/admin-ajax.php","posts":"[]","current_page":"1","max_page":"0"}; (script) function fetch(){if(jQuery("#keyword").val()!==""){jQuery.ajax({url:"https://stewcam.com/wp-admin/admin-ajax.php",type:"post",data:{action:"data_fetch",keyword:jQuery("#keyword").val()},success:function(e){jQuery("#datafetch").html(e)}})}else{jQuery("#datafetch").html("Search results will appear here")}}(script) var wpcf7 = {"api":{"root":"https:\/\/stewcam.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"}; (script) (function(){const e=document.createElement("link");if(!(e.relList&&e.relList.supports&&e.relList.supports("prefetch"))){return}let n=document.cookie.includes("9d63262f59cd9b3378f01392c");let c={initNP_PPL:function(){if(window.NP_PPL!==undefined)return;window.NP_PPL={prefetches:[],lcpEvents:[],other:[]}},logPrefetch:function(e,t){if(!n)return;window.NP_PPL.prefetches.push({url:e,initiator:t,timestamp:performance.now()})},logLcpEvent:function(e,t=null){if(!n)return;window.NP_PPL.lcpEvents.push({message:e,data:t,timestamp:performance.now()})},logOther:function(e,t=null){if(!n)return;window.NP_PPL.other.push({message:e,data:t,timestamp:performance.now()})}};if(n){c.initNP_PPL()}let o=0;const t=300;let r=".stewcam.com";let l=new RegExp(r+"$");function a(){return performance.now()-o>t}function u(){let n;let r=performance.now();const e={capture:true,passive:true};document.addEventListener("touchstart",t,e);document.addEventListener("mouseover",o,e);function t(e){r=performance.now();const t=e.target.closest("a");if(!t||!s(t)){return}m(t.href,"ON_TOUCH")}function o(e){c.logOther("mouseoverListener() called",e);if(performance.now()-r<1111){return}const t=e.target.closest("a");if(!t||!s(t)){return}t.addEventListener("mouseout",l,{passive:true});n=setTimeout(function(){c.logOther("mouseoverTimer CALLBACK called",e);m(t.href,"ON_TOUCH");n=undefined},85)}function l(e){if(e.relatedTarget&&e.target.closest("a")==e.relatedTarget.closest("a")){return}if(n){clearTimeout(n);n=undefined}}}function f(){if(!PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")){c.logLcpEvent("PerformanceObserver does not support LCP events in this browser.");return}let e=new PerformanceObserver(e=>{c.logLcpEvent("LCP_DETECTED",e.getEntries().at(-1).element);_=e.getEntries().at(-1).element});let t=function(e){T=window.requestIdleCallback(w);window.removeEventListener("load",t)};k.forEach(e=>{window.addEventListener(e,E,{once:true})});e.observe({type:"largest-contentful-paint",buffered:true});window.addEventListener("load",t)}function s(t){if(!t){c.logOther("Link Not Prefetchable: empty link element.",t);return false}if(!t.href){c.logOther("Link Not Prefetchable: empty href attribute.",t);return false}let e=t.href;let n=null;try{n=new URL(e)}catch(e){c.logOther("Link Not Prefetchable: "+e,t);return false}let r="."+n.hostname.replace("www.","");if(!["http:","https:"].includes(t.protocol)){c.logOther("Link Not Prefetchable: missing protocol in the URL.",t);return false}if(t.protocol=="http:"&&location.protocol=="https:"){c.logOther("Link Not Prefetchable: URL is HTTP but the current page is HTTPS.",t);return false}if(t.getAttribute("href").charAt(0)=="#"||t.hash&&t.pathname+t.search==location.pathname+location.search){c.logOther("Link Not Prefetchable: URL is the current location but with a hash.",t);return false}if(l.exec(r)===null){c.logOther("Link Not Prefetchable: Different domain.",t);return false}for(i=0;ir},timeRemaining:function(){return Math.max(0,n+(performance.now()-o))}})},n)}}if(!window.cancelIdleCallback){window.cancelIdleCallback=function(e){clearTimeout(e)}}let p=function(e,t){c.logLcpEvent("MUTATION_DETECTED",e);clearTimeout(D);D=setTimeout(P,500,e)};let m=function(e,t="",n=false){if(O.indexOf(e)>-1){c.logOther("Prefetch skipped: URL is already prefetched.",e);return}if(O.length>15){c.logOther("Prefetch skipped: Maximum prefetches threshold reached.");return}if(!n&&!a()){c.logOther("Prefetch skipped: on cooldown",e);return}if(d()){c.logOther("Prefetch skipped: limited connection",e);return}const r=document.createElement("link");r.rel="prefetch";r.type="text/html";r.href=e;document.head.appendChild(r);O.push(e);o=performance.now();c.logPrefetch(e,t);return true};function g(t){let e=document.querySelector("body");while(t!=e){if(L(t)){t=t.parentElement;c.logOther("Skipping LCP container level: Inside a