PageSourceSearch

https://www.gilbaneco.com/wp-content/themes/gilbane2022/js/footer.js

js gilbaneco.com collected 2026-10-02 04:22:27 UTC 2,442 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgilbane2022=self.webpackChunkgilbane2022||[]).push([[9348],{9482:function(t,e,r){r.r(e),r.d(e,{initFooterReveal:function(){return a}});var o=r(9062),i=r(5671),n=r(4942);r(4916),r(3123),r(2222),r(1249);var s=function t(e){var r=this;(0,i.Z)(this,t),(0,n.Z)(this,"ticking",!1),(0,n.Z)(this,"bind",(function(){r.onScroll=function(){r.ticking||(r.ticking=!0,window.requestAnimationFrame((function(){r.ticking=!1,r.draw()})))},window.addEventListener("scroll",r.onScroll,{passive:!0}),window.addEventListener("resize",r.measure,{passive:!0}),window.addEventListener("orientationchange",r.measure),window.addEventListener("load",r.measure),window.ResizeObserver&&(r.observer=new ResizeObserver(r.measure),r.observer.observe(r.root))})),(0,n.Z)(this,"measure",(function(){r.vh=window.innerHeight,r.width=r.root.offsetWidth,r.height=r.root.offsetHeight,r.offsetX=r.width-r.mask.offsetWidth;var t=getComputedStyle(r.mask).transformOrigin.split(" ");r.originX=parseFloat(t[0])||0,r.originY=parseFloat(t[1])||0,r.photo.style.width="".concat(r.width,"px"),r.photo.style.height="".concat(r.height,"px"),r.draw()})),(0,n.Z)(this,"draw",(function(){var t,e,o=(e=r.reduced?1:(t=(r.vh-r.root.getBoundingClientRect().top)/(.62*r.vh),0,1,Math.min(1,Math.max(0,t))))<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,i=8+-7*o;r.mask.style.transform="scale(".concat(i,")");var n=r.originX*(1-1/i)-r.offsetX/i,s=r.originY*(1-1/i);r.photo.style.transform="translate(".concat(n,"px,").concat(s,"px) scale(").concat(1/i,")"),r.tint&&(r.tint.style.opacity=.32*(1-o)),r.ramp&&(r.ramp.style.opacity=1-o)})),this.root=e,this.mask=e.querySelector(".site-footer__feature-mask"),this.photo=e.querySelector(".site-footer__feature-photo"),this.tint=e.querySelector(".site-footer__feature-tint"),this.ramp=e.querySelector(".site-footer__feature-ramp"),this.mask&&this.photo&&(this.reduced=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.bind(),this.measure(),this.root.classList.add("site-footer--ready"))};function a(){var t=function(t,e,r){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var o=e.length;return function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}(e,void 0!==r&&r<o?r:o)}return t(e,r)}(o.Z,document.querySelectorAll(".site-footer--has-feature"));t.length&&(embark.components.footerReveal=t.map((function(t){return new s(t)})))}a()}}]);
2//# sourceMappingURL=footer.js.map

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.