")[0]:window.getSelection().toString().length?(n=window.getSelection().getRangeAt(0),setTimeout((function(){window.getSelection().addRange(n)})),e("
")[0]):(a="Copied to clipboard",e(".debug-noti").html(a).addClass("animate").closest(".debug-noti-wrap").show(),t)}})}}],pa=1,fa.reverse(),1===document.getElementsByTagName("body")[0].childElementCount?la(fa):la(fa,!0),ua=setInterval((function(){la(fa,10===pa),(0===fa.length||20===pa)&&clearInterval(ua),pa++}),500),e.fn.debugEnhance=function(t,n,a){switch(t){case"sidebar":return function(e,t){"add"===t?je(e):"open"===t?De(e):"close"===t&&Ae(e);return e}(this,n);case"buildChannelList":return Se(n,a,arguments[3]);case"collapse":return this.each((function(){Ie(e(this),n)}));case"expand":return this.each((function(){Ne(e(this))}));case"init":return function(t,n){t.data("config",ha),ha.set(t.eq(0).data("options")||{}),"object"==typeof n&&ha.set(n);ze(t),ha.get("tooltip")&&function(t){Qn(t[0],{target:".fa-hashtag, [title]",delay:[200,null],allowHTML:!0,maxWidth:"none",appendTo:function(t){return e(t).closest(".group-body, .debug")[0]},content:Zn,onHide:ea,onMount:ta,onShow:na})}(t);M(t),Fe(t),function(){if(ga)return;e("body").on("animationend",".debug-noti",(function(){e(this).removeClass("animate").closest(".debug-noti-wrap").hide()})),e(".debug").on("mousedown",".debug a",(function(){var e=window.onbeforeunload;window.onbeforeunload=null,window.setTimeout((function(){window.onbeforeunload=e}),500)})),ga=!0}(),Le(t),ha.get("drawer")||t.debugEnhance();return t}(this,n);case"setConfig":return function(e,t){if("object"!=typeof t)return e;return ha.set(t),e.find(".debug-log.enhanced").closest(".debug").add(e).trigger("config.debug.updated","linkFilesTemplate"),e}(this,n);default:return this.each((function(){var t=e(this),n={};if(t.hasClass("debug"))return t.find(".debug-menu-bar > nav, .tab-panes").show(),t.find(".tab-pane.active").find(".m_alert, .debug-log-summary, .debug-log").debugEnhance(),void t.trigger("refresh.debug");t.hasClass("filter-hidden")&&!1===t.hasClass("m_group")||(t.hasClass("group-body")?P(t):t.is("li, div")&&null!==t.prop("class").match(/\bm_/)?H(t):t.prop("class").match(/\bt_/)&&(n=t.parents("li").filter((function(){return null!==e(this).prop("class").match(/\bm_/)})),F(t,n)))}))}},e((function(){e(".debug").each((function(){e(this).debugEnhance("init")}))}))}(window.jQuery);