PageSourceSearch

https://liminal.co/wp-content/plugins/max-addons-pro-bricks/assets/js/frontend.min.js?ver=1.18.0

js liminal.co collected 2026-10-02 10:48:06 UTC 4,301 bytes, 1 lines download raw bytes

1var mabFrontend={elements:{},initElement:function(t){if(!bricksIsFrontend)return function(){this.elementCallback(t)}.bind(this);document.addEventListener("DOMContentLoaded",function(e){bricksIsFrontend&&this.elementCallback(t)}.bind(this))},elementCallback:function(r){this.domHelpers.querySelectorAll(".brxe-max-"+r.name).forEach(function(e){var t={element:e},n=e.getAttribute("data-element-id"),o=e.getAttribute("data-settings");!n&&e.id&&(n=e.id.replace("brxe-","")),t.id=n,void 0!==o&&(t.settings=JSON.parse(o)),void 0===this.elements[r.function.name]&&(this.elements[r.function.name]={}),this.elements[r.function.name][n]=new r.function(t)}.bind(this))},domHelpers:{querySelectorAll:function(e){return"undefined"!=typeof bricksQuerySelectorAll?bricksQuerySelectorAll(document,e):Array.prototype.slice.apply(document.querySelectorAll(e))},queryParents:function(e,t){for(var n=[],o=e&&e.parentElement;o;o=o.parentElement)o.matches(t)&&n.push(o);return n},queryNext:function(e,t){e=e.nextElementSibling;return!t||e&&e.matches(t)?e:null},queryPrevious:function(e,t){e=e.previousElementSibling;return!t||e&&e.matches(t)?e:null},queryOffset:function(e){var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset,height:t.height,width:t.width}},isInViewport:function(e){return"undefined"!=typeof BricksIsInViewport?BricksIsInViewport(e):0<=(e=e.getBoundingClientRect()).top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},scrollObserver:function(r){var i=0,e={root:r.root||null,rootMargin:r.offset||"0px",threshold:(e=>{var t,n,o=[];if(0<(e=void 0!==e?e:0)&&e<=100)for(t=100/e,n=0;n<=100;n+=t)o.push(n/100);else o.push(0);return o}
1)(r.sensitivity)};return new IntersectionObserver(function(e){var t=e[0].boundingClientRect.y,n=e[0].isIntersecting,o=t<i?"down":"up",e=Math.abs(parseFloat((100*e[0].intersectionRatio).toFixed(2)));r.callback({sensitivity:r.sensitivity,isInViewport:n,scrollPercentage:e,scrollDirection:o}),i=t},e)},getElementViewportPercentage:function(e,t){var n,o,r;return t=void 0!==t?t:{},r=e.getBoundingClientRect(),n=t.start||0,t=t.end||0,n=window.innerHeight*n/100,t=window.innerHeight*t/100,o=r.top-window.innerHeight,r=r.top+n+mabFrontend.domHelpers.queryOffset(e).height,e=Math.max(0,Math.min((0-o+n)/(r-o+t),1)),parseFloat((100*e).toFixed(2))},getPageScrollPercentage(e,t){var n=(e=void 0!==e?e:{}).start||0,n=(t=(t=void 0!==t?t:void 0)||document.documentElement.scrollHeight-document.documentElement.clientHeight)*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+n)/(t+n+t*(e.end||0)/100)*100},slideUp:function(e){var t=e,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:200;t.style.transitionProperty="height, margin, padding",t.style.transitionDuration="".concat(e,"ms"),t.style.height="".concat(t.offsetHeight,"px"),t.offsetHeight,t.style.overflow="hidden",t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0,t.style.marginTop=0,t.style.marginBottom=0,window.setTimeout(function(){t.style.display="none",t.style.removeProperty("height"),t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property")},e)},slideDown:function(e){var t,n=e,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:200;n.style.removeProperty("display"),"none"===window.getComputedStyle(n).display&&(n.style.display="block"),t=n.offsetHeight,n.style.overflow="hidden",n.style.height=0,n.style.paddingTop=0,n.style.paddingBottom=0,n.style.marginTop=0,n.style.marginBottom=0,n.offsetHeight,n.style.transitionProperty="height, margin, padding",n.style.transitionDuration="".concat(e,"ms"),n.style.height="".concat(t,"px"),n.style.removeProperty("padding-top"),n.style.removeProperty("padding-bottom"),n.style.removeProperty("margin-top"),n.style.removeProperty("margin-bottom"),window.setTimeout(function(){n.style.removeProperty("height"),n.style.removeProperty("overflow"),n.style.removeProperty("transition-duration"),n.style.removeProperty("transition-property")},e)}}};

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.