text: var initJqueryPlugin = function () {
      "use strict";
      $(function () {
          $(".preloader").fadeOut();
      });
  
      var i = function () {
          (window.innerWidth > 0 ? window.innerWidth : this.screen.width) < 1170 ? ($("body").addClass("mini-sidebar"),
              $(".navbar-brand span").hide(), $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"),
              $(".sidebartoggler i").addClass("ti-menu")) : ($("body").removeClass("mini-sidebar"),
                  $(".navbar-brand span").show());
          var i = (window.innerHeight > 0 ? window.innerHeight : this.screen.height) - 1;
          (i -= 70) < 1 && (i = 1), i > 70 && $(".page-wrapper").css("min-height", i + "px");
      };
  
      $(window).ready(i);
      $(window).on("resize", i);
      $(".sidebartoggler").on("click", function () {
          $("body").hasClass("mini-sidebar") ? ($("body").trigger("resize"), $(".scroll-sidebar, .slimScrollDiv").css("overflow", "hidden").parent().css("overflow", "visible"),
              $("body").removeClass("mini-sidebar"), $(".navbar-brand span").show()) : ($("body").trigger("resize"),
                  $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"),
                  $("body").addClass("mini-sidebar"), $(".navbar-brand span").hide());
      });
  
      $(".fix-header .header").length && $(".fix-header .header").stick_in_parent({}), $(".nav-toggler").click(function () {
          $("body").toggleClass("show-sidebar"), $(".nav-toggler i").toggleClass("mdi mdi-menu"),
              $(".nav-toggler i").addClass("mdi mdi-close");
      });
  
      $(".floating-labels .form-control").on("focus blur", function(i) {
          $(this).parents(".form-group").toggleClass("focused", "focus" === i.type || this.value.length > 0);
      }).trigger("blur"), $(function() {
          for (var i = window.location, o = $("ul#sidebarnav a").filter(function() {
                  return this.href == i;
              }).addClass("actives").parent().addClass("actives");;) {
              if (!o.is("li")) break;
              o = o.parent().addClass("in").parent().addClass("actives");
          }
      }),
      $.fn.slimScroll && $(".scroll-sidebar").slimScroll({
          position: "left",
          size: "5px",
          height: "100%",
          color: "#dcdcdc"
      });
  
      $("#sidebarnav").length && $(function () {
          $("#sidebarnav").metisMenu();
      });
  };
  