芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.9/templates/administrator/atum/js/template-es5.min.js
!function(){"use strict";if(!Joomla)throw new Error("Joomla API is not initialized");var e=function(){return document.cookie.length&&document.cookie.split("; ").find((function(e){return e.startsWith("atumSidebarState=")})).split("=")[1]},t=window.matchMedia("(max-width: 992px)"),o=window.matchMedia("(max-width: 575.98px)"),s=window.matchMedia("(min-width: 576px) and (max-width:991.98px)"),n=document.querySelector(".sidebar-menu"),c=[].slice.call(document.querySelectorAll(".sidebar-nav")),a=document.querySelector("#subhead-container"),i=document.querySelector(".wrapper"),l=document.querySelector(".sidebar-wrapper"),d=document.querySelector(".logo"),r=document.querySelector("body.com_login"),m=document.getElementById("menu-collapse-icon"),u=document.querySelectorAll('.nav-item.dropdown span[class*="icon-angle-"]'),L=document.querySelector("#header .header-title"),h=document.querySelector("#header .header-items"),p=[].slice.call(h.children).filter((function(e){return e.classList.contains("header-item")})),g=document.getElementById("header-more-items"),w=[].slice.call(g.querySelectorAll(".header-dd-item")),v=L.getBoundingClientRect().width,f=p.map((function(e){return e.getBoundingClientRect().width}));g.classList.remove("d-none"),g.paddingTop;var y=g.getBoundingClientRect().width;function S(t){d&&!r&&(o.matches?d.classList.add("small"):("closed"===(t||e())?d.classList.add("small"):d.classList.remove("small"),m&&(i.classList.contains("closed")?(m.classList.add("icon-toggle-on"),m.classList.remove("icon-toggle-off")):(m.classList.remove("icon-toggle-on"),m.classList.add("icon-toggle-off")))))}function b(e){var t=e?"icon-angle-up":"icon-angle-down",o=e?"icon-angle-down":"icon-angle-up";u&&u.forEach((function(e){e.classList.remove(t),e.classList.add(o)}))}g.classList.add("d-none");var q=function(e){return e.reduce((function(e,t){return Number(e)+Number(t)}),0)};function E(){var e=(v=L.getBoundingClientRect().width)+y,t=50+q(f);v+t
0?a.classList.add("shadow-sm"):a.classList.remove("shadow-sm")})),t.matches&&(S("closed"),a&&(a.classList.remove("show"),a.classList.add("collapse"))),navigator.cookieEnabled||Joomla.renderMessages({error:[Joomla.Text._("JGLOBAL_WARNCOOKIES")]},void 0,!1,6e3),window.addEventListener("joomla:menu-toggle",(function(e){E(),document.cookie="atumSidebarState="+e.detail+";",t.matches?S("closed"):S(e.detail)}))}();