PageSourceSearch

https://westyspressurewashing.com.au/wp-content/plugins/bricksextr…/js/beforeafterimage.min.js?ver=1.7.6

js westyspressurewashing.com.au collected 2026-10-07 04:52:19 UTC 2,324 bytes, 1 lines download raw bytes

1function xBeforeAfterImage(){if(document.querySelector("body > .brx-body.iframe"))return;let e=function(e){e.querySelectorAll(".x-before-after").forEach(e=>{var t;let r=e.getAttribute("data-x-before-after"),o=r?JSON.parse(r):{},n=e.querySelector(".x-before-after_slider"),i=null!==e.querySelector(".brxe-ximagehotspots"),l=()=>{if(!i)return;let t=parseFloat(getComputedStyle(e).getPropertyValue("--x-before-after-position")),r=e.querySelector(".x-before-after_container > .x-before-after-image_block:nth-of-type(1)"),n=e.querySelector(".x-before-after_container > .x-before-after-image_block:nth-of-type(2)");if(!r||!n)return;let l=r.querySelectorAll('button, a, input, select, textarea, [role="button"], [tabindex]:not([tabindex="-1"]), .x-marker_marker, [data-brx-filter]'),a=n.querySelectorAll('button, a, input, select, textarea, [role="button"], [tabindex]:not([tabindex="-1"]), .x-marker_marker, [data-brx-filter]');l.forEach(r=>{let n=r.getBoundingClientRect(),i=e.getBoundingClientRect(),l=!1;if("horizontal"===o.direction){let a=n.right,f=i.left+i.width*(t/100);l=a<=f}else{let c=n.bottom,u=i.top+i.height*(t/100);l=c<=u}l?r.style.zIndex="2":r.style.zIndex=""}),a.forEach(r=>{let n=r.getBoundingClientRect(),i=e.getBoundingClientRect(),l=!1;if("horizontal"===o.direction){let a=n.left,f=i.left+i.width*(t/100);l=a>=f}else{let c=n.top,u=i.top+i.height*(t/100);l=c>=u}l?r.style.zIndex="2":r.style.zIndex=""})},a,f=(t=l,function(){let e=arguments;a||(t.apply(this,e),a=!0,setTimeout(()=>a=!1,30))});n.addEventListener("input",t=>{e.style.setProperty("--x-before-after-position",`${t.target.value}%`),f()}),setTimeout(()=>{l()},20),o.maybeMouseMove&&e.querySelector(".x-before-after_slider-container").addEventListener("mousemove",function(t){e.style.setProperty("--x-before-after-position",`${function t(r){let n=e.querySelector(".x-before-after_slider-container"),i=n.getBoundingClientRect();return"horizontal"===o.direction?r.clientX<=i.left?0:r.clientX>=i.right?100:(r.clientX-i.left)/i.width*100:r.clientY<=i.top?0:r.clientY>=i.bottom?100:(r.clientY-i.top)/i.height*100}(t)}%`),f()})})};e(document),xExtrasRegisterAJAXHandler("doExtrasBeforeAfterImage",!0,".brxe-xbeforeafterimage"),window.doExtrasBeforeAfterImage=e}document.addEventListener("DOMContentLoaded",function(e){bricksIsFrontend&&xBeforeAfterImage()});

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.