PageSourceSearch

https://mariettaohio.org/wp-content/themes/mta1242/public/app.8ae867.js

js mariettaohio.org collected 2026-09-26 04:01:45 UTC 6,541 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksage=self.webpackChunksage||[]).push([[143],{683:function(t,e,n){n(138);const i=async t=>{t&&console.error(t);let e,n=document.getElementById("search-btn"),i=document.getElementById("search-input"),o=document.getElementById("menu-search"),r=document.getElementById("mainSearch");n.addEventListener("click",(function(){clearTimeout(e),i.classList.toggle("active"),o.classList.toggle("active"),o.classList.contains("active")&&(e=setTimeout((function(){r.focus()}),800))}));const a=document.getElementById("banner");let s=1,c=document.querySelectorAll(".banner-img");const l=document.getElementById("bannerText"),u=document.getElementById("bannerLoc");let d=1;function m(t){let e=c[t].getAttribute("data-text"),n=c[t].getAttribute("data-href"),i=c[t].getAttribute("data-loc"),o=document.createElement("a");o.setAttribute("href",n),o.textContent=e,l.innerHTML="",l.appendChild(o),u.textContent=i}let h=()=>{1==d&&a.classList.add("loaded"),d=2,c.length<=0?s=0:(s%=c.length,c[(c.length+s-1)%c.length].classList.remove("imgShow"),m(s),c[s].classList.add("imgShow"),++s)};if(a&&c.length>0){let t=a.getAttribute("data-interval");(!t||t<2||t>60)&&(t=8),m(0),setInterval(h,1e3*t)}let f=document.querySelectorAll(".mta-circle");f.length>0&&f.forEach((function(t){function e(t){t.forEach((function(t){t.classList.remove("goright","goleft","bumpleft","bumpright")}))}let n=0,i=t.querySelector(".mta-circle-right"),o=t.querySelector(".mta-circle-left"),r=t.querySelectorAll(".mta-circle-bg"),a=t.querySelectorAll(".mta-circle-detail"),s=t.querySelector(".count");if(s){let t=1;s.innerText=t.toString()+" of "+a.length.toString()}i.addEventListener("click",(function(){var t;if(e(r),n<a.length-1){if(r[n].classList.add("goright"),a[n].classList.remove("show"),r[n].classList.remove("show"),n+=1,a[n].classList.add("show"),r[n].classList.add("show"),s){let t=n+1;s.innerText=t.toString()+" of "+a.length.toString()}}else clearTimeout(t),r[n].classList.add("bumpright"),t=setTimeout((function(){e(r)}),600)})),o.addEventListener("click",(function(){var t;if(e(r),n>0){if(r[n].classList.add("goleft"),a[n].classList.remove("show"),r[n].classList.remove("show"),n-=1,a[n].classList.add("show"),r[n].classList.add("show"),s){let t=n+1;s.innerText=t.toString()+" of "+a.length.toString()}}else clearTimeout(t),r[n].classList.add("bumpleft"),t=setTimeout((function(){e(r)}),600)}))})),document.querySelectorAll(".mta-print").forEach((function(t){t.addEventListener("click",(function(){let t=this.getAttribute("data-print");if(t){let e=document.getElementById(t).innerHTML,n=window.open(self.location.href);n.document.write("<!DOCTYPE html><html lang='en-US'><head><meta charset='utf-8'/><meta name='viewport' content='width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no'><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><meta name='HandheldFriendly' content='true'/>"),n.document.write("<style>@media print{"),n.document.write(".print-hide{display:none;}body {z-index:100!important;visibility:visible!important;position:relative!important;display:block!important;background-color:lightgray!important;height:297mm!important;width:211mm!important;position:relative!important;padding:0;top:0!important;left:0!important;margin:0!important;orphans:0!important;widows:0!important;overflow:visible!important;page-break-after:always}"),n.document.write("body h1{font-size:1em; font-family:Verdana;} a.marked{color:black; text-decoration:none} .pagebreak { page-break-before: always; } "),n.document.write("@page{size:A4; margin:2em; orphans:0!important;widows:0!important}}</style></head><body>"),n.document.write(e),n.document.write("</body></html>"),n.focus(),setTimeout((function(){n.print()}),2e3)}}))})),"undefined"!=typeof mtaMenuCurrent&&Object.keys(mtaMenuCurrent).forEach((function(t){t&&mtaMenuCurrent[t]&&document.querySelectorAll("."+t).forEach((function(e){e.classList.add(mtaMenuCurrent[t])}))}))};(0,n(194).domReady)(i),document.addEventListener("DOMContentLoaded",(function(){var t;if("IntersectionObserver"in window){t=document.querySelectorAll(".mta-lazy");var e=new IntersectionObserver((function(t,n){t.forEach((function(t){if(t.isIntersecting){var n=t.target,i=n.getAttribute("data-image");i&&(n.style.backgroundImage="url("+i+")"),n.closest(".mta-circle").classList.add("loaded"),n.classList.remove("mta-lazy"),e.unobserve(n)}}))}));t.forEach((function(t){e.observe(t)}))}else{var n;function e(){n&&clearTimeout(n),n=setTimeout((function(){var n=window.pageYOffset;t.forEach((function(t){if(t.offsetTop<window.innerHeight+n){var e=t.getAttribute("data-image");e&&(t.style.backgroundImage="url("+e+")"),t.closest(".mta-circle").classList.add("loaded"),t.classList.remove("mta-lazy")}})),0==t.length&&(document.removeEventListener("scroll",e),window.removeEventListener("resize",e),window.removeEventListener("orientationChange",e))}),20)}t=document.querySelectorAll(".mta-lazy"),document.addEventListener("scroll",e),window.addEventListener("resize",e),window.addEventListener("orientationChange",e)}}));var o=function(){function t(t){this.xDown=null,this.yDown=null,this.element="string"==typeof t?document.querySelector(t):t,this.element.addEventListener("touchstart",function(t){this.xDown=t.touches[0].clientX,this.yDown=t.touches[0].clientY}.bind(this),!1)}return t.prototype.onLeft=function(t){return this.onLeft=t,this},t.prototype.onRight=function(t){return this.onRight=t,this},t.prototype.onUp=function(t){return this.onUp=t,this},t.prototype.onDown=function(t){return this.onDown=t,this},t.prototype.handleTouchMove=function(t){if(this.xDown&&this.yDown){var e=t.touches[0].clientX,n=t.touches[0].clientY;this.xDiff=this.xDown-e,this.yDiff=this.yDown-n,0!==Math.abs(this.xDiff)&&(this.xDiff>10?"function"==typeof this.onLeft&&this.onLeft():this.xDiff<-10&&"function"==typeof this.onRight&&this.onRight()),0!==Math.abs(this.yDiff)&&(this.yDiff>10?"function"==typeof this.onUp&&this.onUp():this.yDiff<-10&&"function"==typeof this.onDown&&this.onDown()),this.xDown=null,this.yDown=null}},t.prototype.run=function(){this.element.addEventListener("touchmove",function(t){this.handleTouchMove(t)}.bind(this),!1)},t}(),r=document.querySelectorAll(".mta-square");r&&r.forEach((function(t){var e=new o(t);let n=t.querySelector(".mta-circle-right"),i=t.querySelector(".mta-circle-left");e.onLeft((function(){i.click()})),e.onRight((function(){n.click()})),e.run()}))},190:function(){}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[329],(function(){return e(683),e(190)})),t.O()}]);

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.