Looking for something? Use OneSearch! Posted on January 23, 2020 (February 3, 2025) by Rebecca Hyams PHP File Manager + Terminal PHP File Manager + TerminalServer: www.bmcc.cuny.eduSoftware: Apache/2.4.62 (Debian)Current directory: //var/www/html/library/wp-content/themes/coldbox/assets/js/min Upload Create File Create Folder Execute Editing: /var/www/html/library/wp-content/themes/coldbox/assets/js/min/scripts.js!function(){var e={523:function(e){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var o,n=e.HTMLElement||e.Element,i=468,s={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||l,scrollIntoView:n.prototype.scrollIntoView},r=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=(o=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?p.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):s.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?s.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):p.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var e=arguments[0].left,t=arguments[0].top;p.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");s.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):s.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var o=function(e){for(;e!==t.body&&!1===f(e);)e=e.parentNode||e.host;return e}(this),n=o.getBoundingClientRect(),i=this.getBoundingClientRect();o!==t.body?(p.call(this,o,o.scrollLeft+i.left-n.left,o.scrollTop+i.top-n.top),"fixed"!==e.getComputedStyle(o).position&&e.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else s.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function d(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function u(t,o){var n=e.getComputedStyle(t,null)["overflow"+o];return"auto"===n||"scroll"===n}function f(e){var t=d(e,"Y")&&u(e,"Y"),o=d(e,"X")&&u(e,"X");return t||o}function m(t){var o,n,s,a,l=(r()-t.startTime)/i;a=l=l>1?1:l,o=.5*(1-Math.cos(Math.PI*a)),n=t.startX+(t.x-t.startX)*o,s=t.startY+(t.y-t.startY)*o,t.method.call(t.scrollable,n,s),n===t.x&&s===t.y||e.requestAnimationFrame(m.bind(e,t))}function p(o,n,i){var a,c,d,u,f=r();o===t.body?(a=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,u=s.scroll):(a=o,c=o.scrollLeft,d=o.scrollTop,u=l),m({scrollable:a,method:u,startTime:f,startX:c,startY:d,x:n,y:i})}}}}()}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=o(523);function t(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){var o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=i(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,l=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return a=e.done,e},e:function(e){l=!0,r=e},f:function(){try{a||null==o.return||o.return()}finally{if(l)throw r}}}}function i(e,t){if(e){if("string"==typeof e)return s(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}o.n(e)().polyfill(),document.addEventListener("DOMContentLoaded",(function(){var e=document.body,o=document.getElementById("wpadminbar"),i=document.getElementById("header"),s=document.getElementById("header-menu"),r=document.querySelector("#header .site-info"),a=document.querySelector(".header-inner .search-toggle"),l=document.querySelectorAll(".entry img");if(l){var c,d=n(l);try{for(d.s();!(c=d.n()).done;){var u=c.value.parentNode;"A"===u.tagName&&(u.style.boxShadow="none")}}catch(e){d.e(e)}finally{d.f()}}var f=document.querySelector("#sidebar-s1 .sidebar-inner"),m=document.querySelectorAll("#sidebar-s1 .widget");if(m){var p=function(){if(window.matchMedia("(max-width: 980px) and (min-width: 641px)").matches||document.body.classList.contains("bottom-sidebar-s1")){new Masonry(f,{itemSelector:".widget",percentPosition:!0,isAnimated:!0});if(m){var e,t=n(m);try{for(t.s();!(e=t.n()).done;){e.value.style.position="absolute"}}catch(e){t.e(e)}finally{t.f()}}}else if(m){var o,i=n(m);try{for(i.s();!(o=i.n()).done;){var s=o.value;s.style.position="",s.style.top="",s.style.left=""}}catch(e){i.e(e)}finally{i.f()}}};window.addEventListener("load",p),window.addEventListener("resize",p)}var h=document.getElementById("back-to-top");if(h){window.addEventListener("scroll",(function(){window.pageYOffset>100?(h.style.display="block",h.classList.remove("is-hidden"),h.classList.add("is-shown")):(h.classList.add("is-hidden"),h.classList.remove("is-shown"),setTimeout((function(){h.classList.remove("clicked")}),400))}));h.addEventListener("click",(function(e){e.preventDefault(),e.target.classList.contains("is-hidden")||(window.scroll({top:0,behavior:"smooth"}),h.classList.add("clicked"))}));window.addEventListener("scroll",(function(){var t=e.scrollHeight,o=window.pageYOffset+window.innerHeight,n=document.getElementById("footer").clientHeight;t-o<n?(h.style.bottom="".concat(n+5,"px"),h.classList.add("abs")):(h.style.bottom="",h.classList.remove("abs"))}))}var v,y=document.querySelector("#header .header-inner"),g=function(t){var n=t.target.getAttribute("href"),i=n.split("#")[0];if(i===location.href.split("#")[0]||""===i){t.preventDefault();var r=("#"===(n=n.split("#").pop())||""===n?document.documentElement:document.getElementById(n)).getBoundingClientRect(),a=window.pageYOffset+r.top;window.matchMedia("(min-width: 767px)").matches&&(e.classList.contains("admin-bar")&&"fixed"===window.getComputedStyle(o).getPropertyValue("position")&&(a-=o.clientHeight),e.classList.contains("sticky-header")&&e.classList.contains("header-row")?a-=y.clientHeight:e.classList.contains("sticky-header")&&e.classList.contains("header-column")&&e.classList.contains("header-menu-enabled")&&(a-=s.clientHeight)),window.scroll({top:a,behavior:"smooth"})}},L=n(document.querySelectorAll('a[href*="#"]:not(.noscroll)'));try{for(L.s();!(v=L.n()).done;){v.value.addEventListener("click",g)}}catch(e){L.e(e)}finally{L.f()}if(e.classList.contains("sticky-header")){var w=function(){var t=r.offsetHeight,n=window.pageYOffset;if(window.matchMedia("(min-width: 767px)").matches||(i.classList.remove("sticky"),e.style.paddingTop="",i.style.top="",a.style.top="",a.style.height=""),e.classList.contains("header-row")){if(!window.matchMedia("(min-width: 767px)").matches)return;n>0?(i.classList.add("sticky"),e.style.paddingTop="".concat(i.clientHeight,"px")):(i.classList.remove("sticky"),e.style.paddingTop="")}else if(e.classList.contains("header-column")){if(!window.matchMedia("(min-width: 767px)").matches)return;if(e.classList.contains("header-menu-enabled"))if(n>0){var l=s.clientHeight;a.style.top="".concat(t,"px"),a.style.height="".concat(l,"px")}else a.style.top=n,a.style.height="";n>t?(i.classList.add("sticky"),e.style.paddingTop="".concat(i.clientHeight,"px"),e.classList.contains("admin-bar")?i.style.top="".concat(-t+o.clientHeight,"px"):i.style.top="".concat(-t,"px")):(i.classList.remove("sticky"),e.style.paddingTop="",i.style.top="")}};w(),window.addEventListener("resize",w),window.addEventListener("scroll",w)}var b=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=r.offsetHeight;return e.classList.contains("admin-bar")&&t&&(n+=o.clientHeight),n},E=document.getElementById("header-nav");if(E){var x=function(){e.classList.contains("header-menu-enabled")&&window.matchMedia("(max-width: 767px)").matches?E.style.paddingTop="".concat(b(),"px"):E.style.paddingTop="0"};x(),window.addEventListener("resize",x)}var S=document.querySelector(".modal-search-form .close-toggle"),A=document.getElementById("modal-search-form");if(a){a.addEventListener("click",(function(){if(!0){if(a.classList.add("open"),e.classList.add("modal-search-open"),e.classList.remove("modal-search-closed"),!A.querySelector("#modal-search-backdrop")){var t=document.createElement("div");t.setAttribute("id","modal-search-backdrop"),t.setAttribute("tabindex","0"),A.appendChild(t);t.addEventListener("focus",(function(){document.querySelector(".modal-search-form .search-inner").focus()}))}if(!A.querySelector("#modal-search-forward-focus-trap")){var o=document.createElement("div");o.setAttribute("id","modal-search-forward-focus-trap"),o.setAttribute("tabindex","0"),A.insertBefore(o,A.childNodes[0]);o.addEventListener("focus",(function(){document.querySelector(".modal-search-form .search-inner").focus()}))}e.classList.contains("modal-search-open")&&setTimeout((function(){document.querySelector(".modal-search-form .search-inner").focus()}),160)}}));S.addEventListener("click",(function(){!1||(a.classList.remove("open"),e.classList.remove("modal-search-open"),e.classList.add("modal-search-closed"),a.focus())})),document.onkeydown=function(t){27===(t=t||window.event).keyCode&&(!1||(a.classList.remove("open"),e.classList.remove("modal-search-open"),e.classList.add("modal-search-closed")))}}var B=0,T=document.querySelector(".nav-toggle.header-menu"),k=document.getElementById("close-mobile-menu");if(T){var q=document.createElement("div");q.classList.add("menu-overlay"),s&&s.insertBefore(q,null);T.addEventListener("click",(function(){var t=0;++B%2==1?(T.classList.add("open"),s.classList.add("open"),e.classList.remove("header-menu-closed"),e.classList.contains("admin-bar")&&(t+=o.clientHeight),T.style.position="fixed",T.style.top="".concat(t,"px"),T.style.height="".concat(b(!1),"px")):B%2==0&&(T.classList.remove("open"),s.classList.remove("open"),e.classList.add("header-menu-closed"),T.style.position="relative",T.style.top="auto",T.style.height="auto")}));var N=function(){T.classList.remove("open"),s.classList.remove("open"),s.classList.add("closed"),T.classList.add("closed"),e.classList.add("header-menu-closed"),T.style.position="relative",T.style.top="auto",T.style.height="auto"};q.addEventListener("click",N),k.addEventListener("click",N);var I=function(){window.matchMedia("(min-width: 768px)").matches?T.setAttribute("aria-hidden","true"):T.removeAttribute("aria-hidden")};window.addEventListener("resize",I),I()}var O=function(){var e=document.querySelector("#header > .header-inner");if(window.matchMedia("(max-width: 767px)").matches)"header-menu"===e.childNodes[3].id&&e.insertBefore(e.childNodes[3],e.childNodes[e.childNodes.length-1]);else for(var t=0,o=[3,4,5,6];t<o.length;t++){var n=o[t];if(!e.childNodes[n])return;e.childNodes[n].classList&&e.childNodes[n].classList.contains("search-toggle")&&e.insertBefore(e.childNodes[n],e.childNodes[e.childNodes.length-1])}};O(),window.addEventListener("resize",O);var H=function e(t){var o=t.parentElement;return o.classList.contains("menu-container")?t:e(o)},Y=function e(t){return!(t.parentElement.classList.contains("menu-container")||!t.parentElement)&&(t.parentElement.classList.contains("menu-item-has-children")?t.parentElement:e(t.parentElement))};document.querySelectorAll(".menu-container li").forEach((function(e){var o=function(e){var t=[],o=e;do{(o=Y(o))&&t.push(o)}while(o);return t}(e),n=H(e).querySelectorAll("a");t(e.children).filter((function(e){return"A"===e.tagName||"a"===e.tagName})).forEach((function(e){e.addEventListener("focusin",(function(){t(n).includes(document.activeElement)&&o.forEach((function(e){e.classList.add("is-sub-menu-shown")}))})),e.addEventListener("blur",(function(){t(n).includes(document.activeElement)||o.forEach((function(e){e.classList.remove("is-sub-menu-shown")}))}))}))}));var M=document.querySelector("ul.page-numbers"),X=document.querySelectorAll("ul.page-numbers li"),j=document.querySelector("ul.page-numbers .current");if(M){var C=j.parentNode,_=document.createElement("li");_.classList.add("action-bar-wrapper");var W=document.createElement("span");W.classList.add("action-bar"),W.style.width="".concat(C.offsetWidth,"px"),W.style.left="".concat(C.offsetLeft,"px"),_.appendChild(W),M.insertBefore(_,null),j.style.borderBottom=0;var P,V=function(e){W.style.width="".concat(e.target.parentNode.offsetWidth,"px"),W.style.left="".concat(e.target.parentNode.offsetLeft,"px")},z=function(){W.style.width="".concat(C.offsetWidth,"px"),W.style.left="".concat(C.offsetLeft,"px")},D=n(X);try{for(D.s();!(P=D.n()).done;){var R=P.value;R.addEventListener("mouseover",V),R.addEventListener("mouseout",z)}}catch(e){D.e(e)}finally{D.f()}}var F=document.querySelector("#comments .comment-tabmenu"),U=document.querySelectorAll("#comments .tabitem"),$=document.createElement("span"),G=document.getElementById("ping-list"),J=document.getElementById("comment-list");F&&($.classList.add("action-bar"),F.insertBefore($,null),$.style.width="".concat(U[0].clientWidth,"px")),G&&(G.style.display="none");var K,Q=function(e){e.preventDefault();var t=e.target;t.parentNode.classList.contains("active")||(t.getAttribute("href").includes("#comment")?(t.parentNode.classList.add("active"),U[1].classList.remove("active"),J&&(J.classList.add("active"),J.style.display="block"),G&&(G.classList.remove("active"),G.style.display="none")):t.getAttribute("href").includes("#ping")&&(t.parentNode.classList.add("active"),U[0].classList.remove("active"),G&&(G.classList.add("active"),G.style.display="block"),J&&(J.classList.remove("active"),J.style.display="none")),$.style.width="".concat(t.offsetWidth,"px"),$.style.left="".concat(t.parentNode.offsetLeft,"px"))},Z=n(U);try{for(Z.s();!(K=Z.n()).done;){K.value.addEventListener("click",Q)}}catch(e){Z.e(e)}finally{Z.f()}var ee=document.querySelectorAll(".widget_recent_entries .post-date");if(ee){var te,oe=n(ee);try{for(oe.s();!(te=oe.n()).done;){var ne=te.value;if("A"===ne.previousElementSibling.tagName){var ie=ne.previousElementSibling;ie.innerHTML='<span class="recent_entries_post-title">'.concat(ie.textContent,"</span>");var se=ne.previousElementSibling.children[0];ie.insertBefore(ne,se)}}}catch(e){oe.e(e)}finally{oe.f()}}}))}()}();Save