function swapStyleSheet(t){document.getElementById("pagestyle").setAttribute("href",t)}$(document).ready(function(){function t(){$(".drillcontainer").stop().animate({left:25,width:$("#monitorwrapper").width()+5},400,function(){var t=$(".drillcontainer").height();$("#monitorwrapper").stop().animate({height:t+50})})}function e(){var t=$("#titletd").width()+$("#actiontd").width()+90,e=$("#monitorwrapper").width()-t+30;$(".drillcontainer").stop().animate({left:t,width:e},400,function(){var t=$(".drillcontainer").height();$("#monitorwrapper").stop().animate({height:t+50})})}$(".settings").click(function(){$("#settings").toggleClass("active")}),$(".detailbtn").click(function(){$(".drillcontainer").show();var t=$(".drillcontainer").height(),e=$("#titletd").width()+$("#actiontd").width()+90,i=$("#monitorwrapper").width()-e+30;console.log(e+" | Visualheight: "+t),$("#monitorwrapper").stop().animate({height:t+50},1e3,function(){$(".closeDetail").fadeIn(500,function(){})}),$(".drillcontainer").stop().animate({left:e,width:i},1e3,function(){$(this).show(),$("#monitorwrapper").stop().animate({},300)})}),$(".closeDetail").click(function(){$(".drillcontainer").stop().animate({left:"100%"},400,function(){$(".drillcontainer").hide()}),$("#tablewrapper").stop().animate({width:"100%",height:"auto"},400,function(){$("#tablewrapper").css("overflow-y","hidden")}),$("#monitorwrapper").stop().animate({height:"auto",overflow:"hidden"},300)}),$(".maximize").click(function(){return(this.tog=!this.tog)?t():e()}),$(function(){function t(){var t=screenfull.element;$("#status").text("Is fullscreen: "+screenfull.isFullscreen),t&&$("#element").text("Element: "+t.localName+(t.id?"#"+t.id:"")),screenfull.isFullscreen||($("#external-iframe").remove(),document.body.style.overflow="auto")}if($("#supported").text("Supported/allowed: "+!!screenfull.enabled),!screenfull.enabled)return!1;$("#request").click(function(){screenfull.request($("#container")[0])}),$("#exit").click(function(){screenfull.exit()}),screenfull.on("change",t),t()}),$("#themeswitch").click(function(){$("body").toggleClass("theme-light theme-dark")})});