PageSourceSearch

https://uchitel-dag.ru/static/uil/export/project_mo_theme_short_03…/scripts/jquery.lazy.min.js?20260220202336

js uchitel-dag.ru collected 2026-10-02 21:06:21 UTC 3,721 bytes, 2 lines download raw bytes

1/*! jQuery Lazy 0.5.4 - MIT & GPL-2.0 license - Copyright 2012-2015 Daniel 'Eisbehr' Kern */
2!function(t,e,n,r){"use strict";function a(a,i,o,l){function u(){if(L=e.devicePixelRatio>1,null!==i("defaultImage")||null!==i("placeholder"))for(var n=0;n<o.length;n++){var r=t(o[n]),u=o[n].tagName.toLowerCase(),f="background-image";r.data("plugin_"+a.name,a),"img"==u&&i("defaultImage")&&!r.attr("src")?r.attr("src"):"img"==u||!i("placeholder")||r.css(f)&&"none"!=r.css(f)||r.css(f,"url("+i("placeholder")+")")}i("delay")>=0&&setTimeout(function(){c(!0)},i("delay")),(i("delay")<0||i("combined"))&&(c(),l.e=b(i("throttle"),function(t){"resize"===t.type&&(w=E=-1),p(function(){c(t.all)},a,!0)}),t(i("appendScroll")).on("scroll."+a.name+" resize."+a.name,l.e))}function c(e){if(!o.length)return a.destroy();for(var n=!1,r=0; r<o.length; r++)(function(r){if(d(r)||e){var a=t(r),o=r.tagName.toLowerCase();if(a.data(i("handledName")))return;a.attr(i("attribute"))&&("img"==o&&a.attr(i("attribute"))!=a.attr("src")||"img"!=o&&a.attr(i("attribute"))!=a.css("background-image"))&&(a.is(":visible")||!i("visibleOnly"))&&(n=!0,a.data(i("handledName"),!0),p(function(){f(a,o)}))}})(o[r]);n&&p(function(){o=t(o).filter(function(){return!t(this).data(i("handledName"))})})}function f(e,n){var r=t(new Image);++y,r.error(function(){g("onError",e),A()}),r.one("load",function(){e.hide(),"img"==n?e.attr("src"):e.css("background-image","url("+r.attr("src")+")"),e[i("effect")](i("effectTime")),i("removeAttribute")&&e.removeAttr(i("attribute")+" "+i("retinaAttribute")),g("afterLoad",e),r.off("error").remove(),A()}),g("beforeLoad",e),r.attr("src"),r.complete&&r.load()}function d(t){var e=t.getBoundingClientRect(),n=i("threshold"),r=h()+n>e.top&&-n<e.bottom,a=s()+n>e.left&&-n<e.right;return"vertical"==i("scrollDirection")?r:"horizontal"==i("scrollDirection")?a:r&&a}function s(){return w=m(w,"Width")}function h(){return E=m(E,"Height")}function m(t, r){return t>=0?t:e["inner"+r]||(n.documentElement||n.body)["client"+r]||n.body["offset"+r]||i("fallback"+r)}function b(t, e){var n,a=0;return function(o, l){function u(){a=+new Date,e.call(r,o)}var c=+new Date-a;n&&clearTimeout(n),c>t||!i("enableThrottle")||l?u():n=setTimeout(u,t-c)}}function A(){--y,o.size()||y||g("onFinishedAll",null)}function g(t,e){(t=i(t))&&(e?p(function(){t(e)},a):p(t,a))}function v(){T=setTimeout(function(){p(),z.length&&v()},2)}function p(t,n,r){return t?i("enableQueueing")?(r&&I||(z.push([t,n,r]),r&&(I=!0)),void(1==z.length&&v())):void t.call(n||e):void((t=z.shift())&&(t[2]&&(I=!1),t[0].call(t[1]||e)))}var y=0,w=-1,E=-1,L=!1,T=null,z=[],I=!1;!function(){if(i("onError"))for(var n=0;n<o.length;n++)p(function(){t(this).on("error."+a.name,function(){g("onError",t(this))})},o[n]);"event"==i("bind")?u():t(e).load(u)}()}function i(e,n){n&&t.extend(this.configuration,n);var r=this,i=e,o={e:null},l=function(t){return r.configuration[t]};return r.update=function(t){o.e&&o.e({},!t)},r.loadAll=function(){o.e&&o.e({all:!0})},r.destroy=function(){t(l("appendScroll")).off("."+r.name,o.e),i={},o.e=null},a(r,l,i,o),l("chainable")?e:r}t.fn.Lazy=t.fn.lazy=function(t){return new i(this,t)},t.extend(i.prototype,{name:"lazy",configuration:{chainable:!0,bind:"load",threshold:500,fallbackWidth:2e3,fallbackHeight:2e3,visibleOnly:!1,appendScroll:e,scrollDirection:"both",defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",retinaAttribute:"data-retina",removeAttribute:!0,handledName:"handled",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,enableQueueing:!0,beforeLoad:null,afterLoad:null,onError:null,onFinishedAll:null}})}(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.