CoreFiles by mySites.guru
template-es5.min.js1 lines, 3,267 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
f7afb11d080945f3a5eba24cb698aaec
sha1
67d5879e72c5dcbb8eabdf6790dfe9ade71a09b5
sha256
e38788dabba09eebb72b8fdf88c0ca1e8361ee2356a93202f27753febc9f396a
!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)"),n=window.matchMedia("(min-width: 576px) and (max-width:991.98px)"),s=document.querySelector(".sidebar-menu"),c=document.querySelector(".sidebar-nav"),i=document.querySelector(".subhead"),a=document.querySelector(".wrapper"),d=document.querySelector(".sidebar-wrapper"),l=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"),g=document.querySelector("#header .header-items"),h=[].slice.call(g.children).filter((function(e){return e.classList.contains("header-item")})),p=document.getElementById("header-more-items"),w=[].slice.call(p.querySelectorAll(".header-dd-item")),v=L.getBoundingClientRect().width,f=h.map((function(e){return e.getBoundingClientRect().width}));p.classList.remove("d-none"),p.paddingTop;var y=p.getBoundingClientRect().width;function S(t){l&&!r&&("closed"===(t||e())?l.classList.add("small"):l.classList.remove("small"),m&&(a.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)}))}p.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<document.body.getBoundingClientRect().width?(h.map((function(e){return e.classList.remove("d-none")})),p.classList.add("d-none")):(p.classList.remove("d-none"),w.map((function(e){return e.classList.add("d-none")})),p.classList.remove("d-none"),f.forEach((function(t,o){var n=f.slice(o,f.length);e+q(n)<document.body.getBoundingClientRect().width||h[o].children&&!h[o].children[0].classList.contains("dropdown")&&(h[o].classList.add("d-none"),w[o].classList.remove("d-none"))})))}E(),window.addEventListener("resize",(function(){t.matches?(o.matches?(b(),s&&a.classList.remove("closed")):b("top"),n.matches&&s&&a.classList.add("closed"),o.matches?(c&&c.classList.add("collapse"),i&&i.classList.add("collapse"),d&&d.classList.add("collapse")):(c&&c.classList.remove("collapse"),i&&i.classList.remove("collapse"),d&&d.classList.remove("collapse")),S("closed")):(d?(S(e()||"open"),d.classList.remove("collapse")):S("closed"),c&&c.classList.remove("collapse"),i&&i.classList.remove("collapse"),b("top")),E()})),i&&document.addEventListener("scroll",(function(){window.scrollY>0?i.classList.add("shadow-sm"):i.classList.remove("shadow-sm")})),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+";",S(e.detail)}))}();

No other release has this exact content. See every version of this file.