text: $(document).ready(function(){
      const url = window.location;
  
      
  
      // $('ul.nav-treeview a').filter(function() {
      //     return this.href == url;
      // }).addClass('active');
  
      // $('li.has-treeview a').filter(function() {
      //     return this.href == url;
      // }).addClass('active');
  
      $('ul.nav-treeview a').filter(function() {
          return this.href == url;
      }).parentsUntil(".sidebar-menu > .nav-treeview").addClass('menu-open');
  
      // for sidebar menu entirely but not cover treeview
      $('ul.nav-sidebar a').filter(function() {
          return this.href == url;
      }).addClass('active');
  
  
  
      toastr.options = {
          "closeButton": false,
          "debug": false,
          "newestOnTop": false,
          "progressBar": true,
          "positionClass": "toast-top-right",
          "preventDuplicates": true,
          "onclick": null,
          "showDuration": "300",
          "hideDuration": "1000",
          "timeOut": "5000",
          "extendedTimeOut": "1000",
          "showEasing": "swing",
          "hideEasing": "linear",
          "showMethod": "fadeIn",
          "hideMethod": "fadeOut"
      }
  
  });