PageSourceSearch

https://www.tenantcloud.com/nitropack_static/KrCXSTaLSXxFJRoYnKOgX…d39b3d1bdd68d103a.sticky-scroll-features.js

js tenantcloud.com collected 2026-09-24 09:24:15 UTC 3,859 bytes, 1 lines download raw bytes

1(function(){"use strict";var e="(min-width: 768px)";var t=300;var n=.4;var r=false;function o(){return window.matchMedia(e).matches}function i(e,t){Array.prototype.forEach.call(e,function(e){var n=e.getAttribute("data-tc-sf-index");var r=n!==null?parseInt(n,10):NaN;if(isNaN(r)){return}var o=r===t;e.classList.toggle("is-active",o);e.setAttribute("aria-hidden",o?"false":"true")})}function c(e){var t=e.querySelector(".tc-sf-desktop");if(!t){return[]}return t.querySelectorAll(".tc-sf-section")}function f(e){var t=e.querySelector(".tc-sf-desktop");if(!t){return[]}return t.querySelectorAll(".tc-sf-layer")}function l(e){var t=[];var n=new Set;function r(e){if(e&&!n.has(e)){n.add(e);t.push(e)}}r(window);var o=e.parentElement;while(o&&o.nodeType===1){var i=window.getComputedStyle(o);var c=i.overflowX;var f=i.overflowY;var l=/^(auto|scroll|overlay)$/.test(c)||/^(auto|scroll|overlay)$/.test(f);if(l&&(o.scrollHeight>o.clientHeight+1||o.scrollWidth>o.clientWidth+1)){r(o)}if(o===document.body){break}o=o.parentElement}return t}function s(e){var r=c(e);var s=f(e);if(!r.length||!s.length){return function(){}}var a=-1;function d(){if(!o()){return}var e=window.innerHeight*n;var c=0;Array.prototype.forEach.call(r,function(t,n){var r=t.getBoundingClientRect();if(r.top<=e){c=n}});var f=window.scrollY+window.innerHeight;var l=document.documentElement.scrollHeight;if(l-f<t){c=r.length-1}if(c===a){return}a=c;i(s,c)}var u=d;var v=l(e);e._tcSfScrollTargets=v;e._tcSfScrollHandler=u;v.forEach(function(e){e.addEventListener("scroll",u,{passive:true})});var S=null;if(typeof IntersectionObserver!=="undefined"){S=new IntersectionObserver(u,{root:null,rootMargin:"0px",threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});Array.prototype.forEach.call(r,function(e){S.observe(e)});e._tcSfIo=S}d();requestAnimationFrame(d);return function(){if(e._tcSfIo){e._tcSfIo.disconnect();e._tcSfIo=null}if(e._tcSfScrollTargets&&e._tcSfScrollHandler){e._tcSfScrollTargets.forEach(function(t){t.removeEventListener("scroll",e._tcSfScrollHandler)})}e._tcSfScrollTargets=null;e._tcSfScrollHandler=null}}function a(e){var t=e.querySelector(".tc-sf-desktop .tc-sf-col--text");var n=e.querySelector(".tc-sf-desktop .tc-sf-col--media");if(!t||!n){return function(){}}function r(){if(!o()){n.style.minHeight="";return}n.style.minHeight=t.offsetHeight+"px"}var i=null;if(typeof ResizeObserver!=="undefined"){i=new ResizeObserver(r);i.observe(t)}var c=r;window.addEventListener("resize",c,{passive:true});r();requestAnimationFrame(r);return function(){if(i){i.disconnect()}window.removeEventListener("resize",c);n.style.minHeight=""}}function d(e){if(e._tcSfUnbindColumns){e._tcSfUnbindColumns();e._tcSfUnbindColumns=null}if(e._tcSfUnbind){e._tcSfUnbind();e._tcSfUnbind=null}if(e._tcSfOnResize){window.removeEventListener("resize",e._tcSfOnResize);e._tcSfOnResize=null}}function u(e){if(!e||!e.classList||!e.classList.contains("tc-sf-root")){return}d(e);var t=f(e);if(!t.length){return}e._tcSfUnbind=s(e);e._tcSfUnbindColumns=a(e);e._tcSfOnResize=function(){d(e);u(e)};window.addEventListener("resize",e._tcSfOnResize)}function v(){document.querySelectorAll(".tc-sf-root").forEach(u)}function S(){if(typeof window.elementorFrontend==="undefined"||!window.elementorFrontend.hooks){return}if(!r){r=true;window.elementorFrontend.hooks.addAction("frontend/element_ready/tc-sticky-scroll-features.default",function(e){var t=e[0]&&e[0].querySelector(".tc-sf-root");if(t){u(t)}})}v()}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",v)}else{v()}window.addEventListener("load",function(){v();if(typeof window.elementorFrontend!=="undefined"){S()}});if(typeof jQuery!=="undefined"){jQuery(function(){S();jQuery(window).on("elementor/frontend/init",S)})}else{S();if(typeof window.addEventListener==="function"){window.addEventListener("elementor/frontend/init",S)}}})();

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.