PageSourceSearch

https://www.rockyresearch.com/etc.clientlibs/baseline-tenant/clien…oad.min.d386efc3deade2063df9f705b721cfea.js

js rockyresearch.com collected 2026-10-08 09:06:10 UTC 11,502 bytes, 87 lines download raw bytes

1/*
2 jQuery & Zepto Lazy v1.7.9 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2018 Daniel 'Eisbehr' Kern  jQuery & Zepto Lazy - AJAX Plugin - v1.4
3 http://jquery.eisbehr.de/lazy/
4
5 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
6
7 Dual licensed under the MIT and GPL-2.0 licenses:
8 http://www.opensource.org/licenses/mit-license.php
9 http://www.gnu.org/licenses/gpl-2.0.html
10 jQuery & Zepto Lazy - AV Plugin - v1.4
11 http://jquery.eisbehr.de/lazy/
12
13 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
14
15 Dual licensed under the MIT and GPL-2.0 licenses:
16 http://www.opensource.org/licenses/mit-license.php
17 http://www.gnu.org/licenses/gpl-2.0.html
18 jQuery & Zepto Lazy - iFrame Plugin - v1.5
19 http://jquery.eisbehr.de/lazy/
20
21 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
22
23 Dual licensed under the MIT and GPL-2.0 licenses:
24 http://www.opensource.org/licenses/mit-license.php
25 http://www.gnu.org/licenses/gpl-2.0.html
26 jQuery & Zepto Lazy - NOOP Plugin - v1.2
27 http://jquery.eisbehr.de/lazy/
28
29 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
30
31 Dual licensed under the MIT and GPL-2.0 licenses:
32 http://www.opensource.org/licenses/mit-license.php
33 http://www.gnu.org/licenses/gpl-2.0.html
34 jQuery & Zepto Lazy - Picture Plugin - v1.3
35 http://jquery.eisbehr.de/lazy/
36
37 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
38
39 Dual licensed under the MIT and GPL-2.0 licenses:
40 http://www.opensource.org/licenses/mit-license.php
41 http://www.gnu.org/licenses/gpl-2.0.html
42 jQuery & Zepto Lazy - Script Plugin - v1.2
43 http://jquery.eisbehr.de/lazy/
44
45 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
46
47 Dual licensed under the MIT and GPL-2.0 licenses:
48 http://www.opensource.org/licenses/mit-license.php
49 http://www.gnu.org/licenses/gpl-2.0.html
50 jQuery & Zepto Lazy - Vimeo Plugin - v1.1
51 http://jquery.eisbehr.de/lazy/
52
53 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
54
55 Dual licensed under the MIT and GPL-2.0 licenses:
56 http://www.opensource.org/licenses/mit-license.php
57 http://www.gnu.org/licenses/gpl-2.0.html
58 jQuery & Zepto Lazy - YouTube Plugin - v1.5
59 http://jquery.eisbehr.de/lazy/
60
61 Copyright 2012 - 2018, Daniel 'Eisbehr' Kern
62
63 Dual licensed under the MIT and GPL-2.0 licenses:
64 http://www.opensource.org/licenses/mit-license.php
65 http://www.gnu.org/licenses/gpl-2.0.html
66*/
67!function(e,d){function h(g,a,f,k,q){function z(){T=1<e.devicePixelRatio;f=t(f);0<=a.delay&&setTimeout(function(){G(!0)},a.delay);(0>a.delay||a.combined)&&(k.e=V(a.throttle,function(c){"resize"===c.type&&(N=O=-1);G(c.all)}),k.a=function(c){c=t(c);f.push.apply(f,c)},k.g=function(){return f=b(f).filter(function(){return!b(this).data(a.loadedName)})},k.f=function(c){for(var n=0;n<c.length;n++){var p=f.filter(function(){return this===c[n]});p.length&&G(!1,p)}},G(),b(a.appendScroll).on("scroll."+q+" resize."+
68q,k.e))}function t(c){var n=a.defaultImage,p=a.placeholder,r=a.imageBase,y=a.srcsetAttribute,C=a.loaderAttribute,A=a._f||{};c=b(c).filter(function(){var D=b(this),E=this.tagName.toLowerCase();return!D.data(a.handledName)&&(D.attr(a.attribute)||D.attr(y)||D.attr(C)||A[E]!==d)}).data("plugin_"+a.name,g);for(var w=0,x=c.length;w<x;w++){var v=b(c[w]),B=c[w].tagName.toLowerCase(),F=v.attr(a.imageBaseAttribute)||r;B===I&&F&&v.attr(y)&&v.attr(y,W(v.attr(y),F));A[B]===d||v.attr(C)||v.attr(C,A[B]);B===I&&
69n&&!v.attr(H)?v.attr(H,n):B===I||!p||v.css(K)&&"none"!==v.css(K)||v.css(K,"url('"+p+"')")}return c}function G(c,n){if(!f.length)return void(a.autoDestroy&&g.destroy());for(var p=n||f,r=!1,y=a.imageBase||"",C=a.srcsetAttribute,A=a.handledName,w=0;w<p.length;w++)if(c||n||X(p[w])){var x=b(p[w]),v=p[w].tagName.toLowerCase(),B=x.attr(a.attribute),F=x.attr(a.imageBaseAttribute)||y,D=x.attr(a.loaderAttribute);x.data(A)||a.visibleOnly&&!x.is(":visible")||!((B||x.attr(C))&&(v===I&&(F+B!==x.attr(H)||x.attr(C)!==
70x.attr(P))||v!==I&&F+B!==x.css(K))||D)||(r=!0,x.data(A,!0),Y(x,v,F,D))}r&&(f=b(f).filter(function(){return!b(this).data(A)}))}function Y(c,n,p,r){++R;var y=function(){J("onError",c);S();y=b.noop};J("beforeLoad",c);var C=a.attribute,A=a.srcsetAttribute,w=a.sizesAttribute,x=a.retinaAttribute,v=a.removeAttribute,B=a.loadedName,F=c.attr(x);if(r){var D=function(){v&&c.removeAttr(a.loaderAttribute);c.data(B,!0);J(U,c);setTimeout(S,1);D=b.noop};c.off(L).one(L,y).one(M,D);J(r,c,function(Z){Z?(c.off(M),D()):
71(c.off(L),y())})||c.trigger(L)}else{var E=b(new Image);E.one(L,y).one(M,function(){c.hide();n===I?c.attr(Q,E.attr(Q)).attr(P,E.attr(P)).attr(H,E.attr(H)):c.css(K,"url('"+E.attr(H)+"')");c[a.effect](a.effectTime);v&&(c.removeAttr(C+" "+A+" "+x+" "+a.imageBaseAttribute),w!==Q&&c.removeAttr(w));c.data(B,!0);J(U,c);E.remove();S()});r=(T&&F?F:c.attr(C))||"";E.attr(Q,c.attr(w)).attr(P,c.attr(A)).attr(H,r?p+r:null);E.complete&&E.trigger(M)}}function X(c){var n=c.getBoundingClientRect();c=a.scrollDirection;
72var p=a.threshold,r=(0<=O?O:O=b(e).height())+p>n.top&&-p<n.bottom;n=(0<=N?N:N=b(e).width())+p>n.left&&-p<n.right;return"vertical"===c?r:"horizontal"===c?n:r&&n}function W(c,n){if(n){var p=c.split(",");c="";for(var r=0,y=p.length;r<y;r++)c+=n+p[r].trim()+(r!==y-1?",":"")}return c}function V(c,n){var p,r=0;return function(y,C){function A(){r=+new Date;n.call(g,y)}var w=+new Date-r;p&&clearTimeout(p);w>c||!a.enableThrottle||C?A():p=setTimeout(A,c-w)}}function S(){--R;f.length||R||J("onFinishedAll")}
73function J(c,n,p){return!!(c=a[c])&&(c.apply(g,[].slice.call(arguments,1
73)),!0)}var R=0,N=-1,O=-1,T=!1,U="afterLoad",M="load",L="error",I="img",H="src",P="srcset",Q="sizes",K="background-image";"event"===a.bind||u?z():b(e).on(M+"."+q,z)}function l(g,a){var f=this,k=b.extend({},f.config,a),q={},z=k.name+"-"+ ++m;return f.config=function(t,G){return G===d?k[t]:(k[t]=G,f)},f.addItems=function(t){return q.a&&q.a("string"===b.type(t)?b(t):t),f},f.getItems=function(){return q.g?q.g():{}},f.update=function(t){return q.e&&
74q.e({},!t),f},f.force=function(t){return q.f&&q.f("string"===b.type(t)?b(t):t),f},f.loadAll=function(){return q.e&&q.e({all:!0},!0),f},f.destroy=function(){return b(k.appendScroll).off("."+z,q.e),b(e).off("."+z),q={},d},h(f,k,g,q,z),k.chainable?g:f}var b=e.jQuery||e.Zepto,m=0,u=!1;b.fn.Lazy=b.fn.lazy=function(g){return new l(this,g)};b.Lazy=b.lazy=function(g,a,f){if(b.isFunction(a)&&(f=a,a=[]),b.isFunction(f)){g=b.isArray(g)?g:[g];a=b.isArray(a)?a:[a];for(var k=l.prototype.config,q=k._f||(k._f={}),
75z=0,t=g.length;z<t;z++)(k[g[z]]===d||b.isFunction(k[g[z]]))&&(k[g[z]]=f);f=0;for(k=a.length;f<k;f++)q[a[f]]=g[0]}};l.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:e,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",
76loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:d,afterLoad:d,onError:d,onFinishedAll:d};b(e).on("load",function(){u=!0})}(window);
77(function(e){function d(h,l,b,m){m=m?m.toUpperCase():"GET";var u;"POST"!==m&&"PUT"!==m||!h.config("ajaxCreateData")||(u=h.config("ajaxCreateData").apply(h,[l]));e.ajax({url:l.attr("data-src"),type:"POST"===m||"PUT"===m?m:"GET",data:u,dataType:l.attr("data-type")||"html",success:function(g){l.html(g);b(!0);h.config("removeAttribute")&&l.removeAttr("data-src data-method data-type")},error:function(){b(!1)}})}e.lazy("ajax",function(h,l){d(this,h,l,h.attr("data-method"))});e.lazy("get",function(h,l){d(this,
78h,l,"GET")});e.lazy("post",function(h,l){d(this,h,l,"POST")});e.lazy("put",function(h,l){d(this,h,l,"PUT")})})(window.jQuery||window.Zepto);
79(function(e){e.lazy(["av","audio","video"],["audio","video"],function(d,h){var l=d[0].tagName.toLowerCase();if("audio"===l||"video"===l){var b=d.find("data-src");l=d.find("data-track");var m=0,u=function(){++m===b.length&&h(!1)},g=function(){var a=e(this),f=a[0].tagName.toLowerCase(),k=a.prop("attributes"),q=e("data-src"===f?"\x3csource\x3e":"\x3ctrack\x3e");if("data-src"===f)q.one("error",u);e.each(k,function(z,t){q.attr(t.name,t.value)});a.replaceWith(q)};d.one("loadedmetadata",function(){h(!0)}).off("load error").attr("poster",
80d.attr("data-poster"));b.length?b.each(g):d.attr("data-src")?(e.each(d.attr("data-src").split(","),function(a,f){a=f.split("|");d.append(e("\x3csource\x3e").one("error",u).attr({src:a[0].trim(),type:a[1].trim()}))}),this.config("removeAttribute")&&d.removeAttr("data-src")):h(!1);l.length&&l.each(g)}else h(!1)})})(window.jQuery||window.Zepto);
81(function(e){e.lazy(["frame","iframe"],"iframe",function(d,h){var l=this;if("iframe"===d[0].tagName.toLowerCase()){var b=d.attr("data-error-detect");"true"!==b&&"1"!==b?(d.attr("src",d.attr("data-src")),l.config("removeAttribute")&&d.removeAttr("data-src data-error-detect")):e.ajax({url:d.attr("data-src"),dataType:"html",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(m){d.html(m).attr("src",d.attr("data-src"));l.config("removeAttribute")&&d.removeAttr("data-src data-error-detect")},
82error:function(){h(!1)}})}else h(!1)})})(window.jQuery||window.Zepto);(function(e){e.lazy("noop",function(){});e.lazy("noop-success",function(d,h){h(!0)});e.lazy("noop-error",function(d,h){h(!1)})})(window.jQuery||window.Zepto);
83(function(e){function d(b,m,u){var g=b.prop("attributes"),a=e("\x3c"+m+"\x3e");e.each(g,function(f,k){if("srcset"===k.name||"data-src"===k.name)k.value=l(k.value,u);a.attr(k.name,k.value)});b.replaceWith(a);return a}function h(b,m,u){b=e("\x3cimg\x3e").one("load",function(){u(!0)}).one("error",function(){u(!1)}).appendTo(b).attr("src",m);b.complete&&b.load()}function l(b,m){if(m){var u=b.split(",");b="";for(var g=0,a=u.length;g<a;g++)b+=m+u[g].trim()+(g!==a-1?",":"")}return b}e.lazy(["pic","picture"],
84["picture"],function(b,m){if("picture"===b[0].tagName.toLowerCase()){var u=b.find("data-src"),g=b.find("data-img"),a=this.config("imageBase")||"";
84u.length?(u.each(function(){d(e(this),"source",a)}),1===g.length?(g=d(g,"img",a),g.on("load",function(){m(!0)}).on("error",function(){m(!1)}),g.attr("src",g.attr("data-src")),this.config("removeAttribute")&&g.removeAttr("data-src")):b.attr("data-src")?(h(b,a+b.attr("data-src"),m),this.config("removeAttribute")&&b.removeAttr("data-src")):m(!1)):b.attr("data-srcset")?
85(e("\x3csource\x3e").attr({media:b.attr("data-media"),sizes:b.attr("data-sizes"),type:b.attr("data-type"),srcset:l(b.attr("data-srcset"),a)}).appendTo(b),h(b,a+b.attr("data-src"),m),this.config("removeAttribute")&&b.removeAttr("data-src data-srcset data-media data-sizes data-type")):m(!1)}else m(!1)})})(window.jQuery||window.Zepto);
86(function(e){e.lazy(["js","javascript","script"],"script",function(d,h){"script"===d[0].tagName.toLowerCase()?(d.attr("src",d.attr("data-src")),this.config("removeAttribute")&&d.removeAttr("data-src")):h(!1)})})(window.jQuery||window.Zepto);(function(e){e.lazy("vimeo",function(d,h){"iframe"===d[0].tagName.toLowerCase()?(d.attr("src","https://player.vimeo.com/video/"+d.attr("data-src")),this.config("removeAttribute")&&d.removeAttr("data-src")):h(!1)})})(window.jQuery||window.Zepto);
87(function(e){e.lazy(["yt","youtube"],function(d,h){"iframe"===d[0].tagName.toLowerCase()?(/1|true/.test(d.attr("data-nocookie")),d.attr("src",d.attr("data-src")),this.config("removeAttribute")&&d.removeAttr("data-src")):h(!1)})})(window.jQuery||window.Zepto);

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.