if(!window.hasOwnProperty("frost_click_a")){ console.log("Registering frost_click_a"), window.frost_click_a=!0 ;var prevented=!1,_frostAClick=function(e){ var t=e.target||e.srcElement ;if("A"!==t.tagName&&(t=t.parentNode),"A"!==t.tagName&&(t=t.parentNode), "A"===t.tagName&&!prevented){ var o=t.getAttribute("href") ;console.log("Click Intercept",o),"undefined"!=typeof Frost&&Frost.loadUrl(o)&&(e.stopPropagation(), e.preventDefault()) } },_frostPreventClick=function(){ console.log("Click prevented"),prevented=!0 } ;document.addEventListener("click",_frostAClick,!0) ;var clickTimeout ;document.addEventListener("touchstart",function(e){ clickTimeout=setTimeout(_frostPreventClick,400) },!0),document.addEventListener("touchend",function(e){ prevented=!1,clearTimeout(clickTimeout) },!0) }