PageSourceSearch

https://idt.by/wp-content/themes/idtby/assets/dist/js/isInViewPort.min.js?ver=2

js idt.by collected 2026-10-06 04:58:37 UTC 740 bytes, 1 lines download raw bytes

1!function(n){"use strict";function s(t,i,e){return this.$el=n(t),this.cb=i,this.offset=e,this.previousIsInState=!1,this.check(),this.watch(),this}s.prototype={isIn:function(){var t=n(window),i=this.$el.offset().top-this.offset,e=i+this.$el.outerHeight(),s=t.scrollTop(),t=s+t.height();return s<e&&i<t},watch:function(){n(window).on("resize scroll",this.check.bind(this))},check:function(){var t=this;t.isIn()&&!1===t.previousIsInState&&(t.cb.call(t.$el,"entered"),t.previousIsInState=!0),!0!==t.previousIsInState||t.isIn()||(t.cb.call(t.$el,"leaved"),t.previousIsInState=!1)}},n.fn.isInViewport=function(i,e){return e=e||0,this.each(function(){var t=n(this);t.data("isInViewport")||t.data("isInViewport",new s(this,i,e))})}}(window.jQuery);

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.