PageSourceSearch

https://orentreich.com/wp-content/plugins/smart-post-show-pro/public/assets/js/sps-lazyload.min.js?ver=4.0.5

js orentreich.com collected 2026-09-25 06:01:57 UTC 3,304 bytes, 1 lines download raw bytes

1!function(e,t,o,n){var r=e(t);e.fn.sps_lazyload=function(i){var f,l=this,a={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"sps_src",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function h(){var t=0;l.each(function(){var o=e(this);if(!a.skip_invisible||o.is(":visible")){if(e.abovethetop(this,a)||e.leftofbegin(this,a));else if(e.belowthefold(this,a)||e.rightoffold(this,a)){if(++t>a.failure_limit)return!1}else o.trigger("appear"),t=0}})}return i&&(n!==i.failurelimit&&(i.failure_limit=i.failurelimit,delete i.failurelimit),n!==i.effectspeed&&(i.effect_speed=i.effectspeed,delete i.effectspeed),e.extend(a,i)),f=n===a.container||a.container===t?r:e(a.container),0===a.event.indexOf("scroll")&&f.on(a.event,function(){return h()}),this.each(function(){var t=this,o=e(t);t.loaded=!1,(n===o.attr("src")||!1===o.attr("src"))&&o.is("img")&&o.attr("src",a.placeholder),o.one("appear",function(){if(!this.loaded){if(a.appear){var n=l.length;a.appear.call(t,n,a)}e("<img />").on("load",function(){var n=o.attr("data-"+a.data_attribute);o.hide(),o.is("img")?o.attr("src",n):o.css("background-image","url('"+n+"')"),o[a.effect](a.effect_speed),t.loaded=!0;var r=e.grep(l,function(e){return!e.loaded});if(l=e(r),a.load){var i=l.length;a.load.call(t,i,a)}}).attr("src",o.attr("data-"+a.data_attribute))}}),0!==a.event.indexOf("scroll")&&o.on(a.event,function(){t.loaded||o.trigger("appear")})}),r.on("resize",function(){h()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.on("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(o).ready(function(){h()}),this},e.belowthefold=function(o,i){var f;return(f=n===i.container||i.container===t?(t.innerHeight?t.innerHeight:r.height())+r.scrollTop():e(i.container).offset().top+e(i.container).height())<=e(o).offset().top-i.threshold},e.rightoffold=function(o,i){var f;return(f=n===i.container||i.container===t?r.width()+r.scrollLeft():e(i.container).offset().left+e(i.container).width())<=e(o).offset().left-i.threshold},e.abovethetop=function(o,i){var f;return(f=n===i.container||i.container===t?r.scrollTop():e(i.container).offset().top)>=e(o).offset().top+i.threshold+e(o).height()},e.leftofbegin=function(o,i){var f;return(f=n===i.container||i.container===t?r.scrollLeft():e(i.container).offset().left)>=e(o).offset().left+i.threshold+e(o).width()},e.inviewport=function(t,o){return!e.rightoffold(t,o)&&!e.leftofbegin(t,o)&&!e.belowthefold(t,o)&&!e.abovethetop(t,o)},e.extend(e.expr.pseudos,{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return e.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!e.rightoffold(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!e.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return e.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!e.rightoffold(t,{threshold:0})}})}(jQuery,window,document);

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.