text: "use strict";var Popover=function(){var t=$('[data-toggle="popover"]');t.length&&t.each(function(){!function(t){var o="";t.data("color")&&(o=" popover-"+t.data("color"));var i={trigger:"focus",template:'<div class="popover'+o+'" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'};t.popover(i)}($(this))})}(),Tooltip=function(){var t=$('[data-toggle="tooltip"]');t.length&&t.tooltip()}(),CopyType=function(){var t,o=".btn-type-clipboard",i=$(o);i.length&&((t=i).tooltip().on("mouseleave",function(){t.tooltip("hide")}),new ClipboardJS(o).on("success",function(t){$(t.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),t.clearSelection()}))}(),FormControl=function(){var t=$(".form-control"),o=$('[data-toggle="indeterminate"]');t.length&&t.on("focus blur",function(t){$(this).parents(".form-group").toggleClass("focused","focus"===t.type)}).trigger("blur"),o.length&&o.each(function(){$(this).prop("indeterminate",!0)})}(),CustomInputFile=function(){var t=$(".custom-input-file");t.length&&t.each(function(){var a=$(this);a.on("change",function(t){var o,i,e,l,n;o=this,i=t,l=a.next("label"),n=l.html(),o&&1<o.files.length?e=(o.getAttribute("data-multiple-caption")||"").replace("{count}",o.files.length):i.target.value&&(e=i.target.value.split("\\").pop()),e?l.find("span").html(e):l.html(n)}),a.on("focus",function(){a.addClass("has-focus")}).on("blur",function(){a.removeClass("has-focus")})})}(),NavbarSticky=function(){var e,l=$(".navbar-sticky"),n=!1;l.length&&(e=l.offset().top,$(window).on({scroll:function(){n=!0,setInterval(function(){var t,o,i;n&&(n=!1,t=l,o=$(window).scrollTop(),i=t.outerHeight(),e+200<o?(t.addClass("sticky"),$("body").css("padding-top",i+"px")):(t.removeClass("sticky"),$("body").css("padding-top","0")))},250)}}))}(),Highlight=void $(".highlight").each(function(t,o){!function(t){$(t).before('<button class="action-item btn-clipboard" title="Copy to clipboard"><i data-feather="copy"></i></button>'),$(".btn-clipboard").tooltip().on("mouseleave",function(){$(this).tooltip("hide")});var o=new ClipboardJS(".btn-clipboard",{target:function(t){return t.nextElementSibling}});o.on("success",function(t){$(t.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),t.clearSelection()}),o.on("error",function(t){var o="Press "+(/Mac/i.test(navigator.userAgent)?"⌘":"Ctrl-")+"C to copy";$(t.trigger).attr("title",o).tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle")}),hljs.highlightBlock(t)}(o)});