PageSourceSearch

https://www.mosaicschoolslearningtrust.org/_site/js/min/scripts.min.js?cache=260715

js mosaicschoolslearningtrust.org collected 2026-09-29 11:32:52 UTC 3,854 bytes, 1 lines download raw bytes

1"use strict";function scripts(){function e(){var e=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;document.getElementById("scrollProgressBar").style.width=e+"%"}function t(){1050<=window.innerWidth?a||(a=!0,n.observe(s)):a&&(a=!1,n.disconnect(),o.style.marginTop="0px")}setMenuColumns(),runCustomAccordion(".menu__list",".menu__list__item__button",".menu__list__item__sub",400);var i=document.querySelector(".hero__slideshow");createSwiper(i,!0,{init:!0,allowTouchMove:!1,slidesPerView:1,watchSlidesProgress:!0,watchSlidesVisibility:!0,slideVisibleClass:"swiper-slide-visible",speed:1e3,loop:!0,effect:"fade",autoplay:{delay:6e3,disableOnInteraction:!1}}),e(),window.onscroll=function(){e()};var s=document.querySelector(".header__wrap"),o=document.querySelector(".mason"),a=!1,n=new ResizeObserver(function(){var e=s.offsetHeight+"px";o.style.marginTop=e});if(o.classList.contains("mason--admin")||(t(),window.onresize=t),blnHome){var r=document.querySelector(".schools__triggers__list");if(null!=r)createSwiper(r,!0,{slidesPerView:"auto",spaceBetween:15,watchSlidesProgress:!0,navigation:{nextEl:".schools__triggers__next",prevEl:".schools__triggers__prev"},centeredSlides:!0,centeredSlidesBounds:!0,centerInsufficientSlides:!0})}if(blnInner,blnForm){var c=$(".form__page");1<c.length&&($(".formLayout").before('<div class="form__page__progress"></div>'),c.each(function(e,t){$(this);0==e?$(".form__page__progress").append('<div class="form__page__progress__item active" data-pageindex="'+(e+1)+'"><div class="form__page__progress__item__circle"><span>'+(e+1)+"</span></div></div>"):$(".form__page__progress").append('<div class="form__page__progress__item" data-pageindex="'+(e+1)+'"><div class="form__page__progress__item__circle"><span>'+(e+1)+"</span></div></div>")}),$(document).on("click",".form__page__pagination",function(){var t=$(this).data("page-to");
1setTimeout(function(){var e=$(document).find(".content__form__error");!(e.length<1)||$('.form__page__progress__item[data-pageindex="'+t+'"]').addClass("active").siblings().removeClass("active")},250)}))}}function customScroll(e){}function mapLoaded(e,t){gMap=e,gMarkers=t,mapActive=!0}function onMapMarkerClick(e){var t=gMarkers.indexOf(e),i=gMarkers[t].id,s=contactGrid.width(),o=0;1050<=$(window).width()&&(o=.5*s),updateSelected(i),panMap(gMarkers[t].position,o)}function updateSelected(e){contactGrid.find('[data-id="'+e+'"]').addClass("active").siblings().removeClass("active")}function panMap(e,t){gMap.panTo(e),gMap.setZoom(15)}var gMap,gMarkers;blnAdmin&&($("#related__choose").e4eDialog({diagTitle:"Choose Related Links",buttons:["Save"],buttonClasses:["primary"],buttonFunctions:["updateSelected()"],showClose:!1,resizeable:!1,allowDialogs:!0,width:"1250px",height:"67vh"}),$("#page__options").e4eDialog({diagTitle:"Page Options",buttons:["Save"],buttonClasses:["primary"],buttonFunctions:["saveItem()"],showClose:!1,resizeable:!1,allowDialogs:!0,width:"680",height:"60vh"}),$(".subnav__grid__edit").on("click",function(e){e.preventDefault(),$(this).e4eDialog({diagTitle:"Choose Image",buttons:["Save"],buttonClasses:["primary"],buttonFunctions:["customSave()"],showClose:!1,resizeable:!1,allowDialogs:!0,width:"780",height:"60vh",bind:!1})}));var mapActive=!1,contactGrid=$(".schools__contact");contactGrid.children().first().addClass("active"),$(".schools__triggers__list").children().first().addClass("active"),$(".schools__triggers__item").click(function(){$(".schools__triggers__item").removeClass("active"),$(this).addClass("active");var t=$(this).data("id");if($(".schools__contact__item").removeClass("active"),$(".schools__contact__item[data-id="+t+"]").addClass("active"),mapActive){var e=gMarkers.filter(function(e){return e.id==t});e&&e.length&&onMapMarkerClick(e[0])}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.