"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n});var S_J_CHECK=!1;function sappend(e,t,n,o){elChild=document.createElement(t),void 0!==n&&(elChild.innerHTML=n),void 0!==o&&saddClass(elChild,o),e.appendChild(elChild)}function sappendHtml(e,t){var n=document.createElement("div");for(n.innerHTML=t;0{setTimeout(e,t)})}document.addEventListener("test",function(){},opts),window.addEventListener("DOMContentLoaded",function(){S_J_CHECK=!0}),function(o){"use strict";o.loadCSS||(o.loadCSS=function(){});var e,i=loadCSS.relpreload={};i.support=function(){var t;try{t=o.document.createElement("link").relList.supports("preload")}catch(e){t=!1}return function(){return t}}(),i.bindMediaToggle=function(e){var t=e.media||"all";function n(){e.addEventListener?e.removeEventListener("load",n):e.attachEvent&&e.detachEvent("onload",n),e.setAttribute("onload",null),e.media=t}e.addEventListener?e.addEventListener("load",n):e.attachEvent&&e.attachEvent("onload",n),setTimeout(function(){e.rel="stylesheet",e.media="only x"}),setTimeout(n,3e3)},i.poly=function(){if(!i.support())for(var e=o.document.getElementsByTagName("link"),t=0;t{console.error("Promised failed"),console.error(e)}),window.s_tab_active=!0,document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?window.s_tab_active=!0:window.s_tab_active=!1}),window.s_is_bot="no",window.s_headless=!1,void 0!==navigator.webdriver&&navigator.webdriver&&(window.s_headless=!0,window.s_is_bot="yes"),window.supportsImport=!1;try{new Function('import("")'),window.supportsImport=!0}catch(e){window.supportsImport=!1}window.addEventListener("load",e=>{if(window.supportsImport&&""==document.referrer&&!window.s_headless){const t=import("https://openfpcdn.io/botd/v1").then(e=>e.load());t.then(e=>e.detect()).then(e=>{console.log(e),e.bot&&(window.s_is_bot="yes")}).catch(e=>console.error(e))}});