vendor: 3,963 bytes, line 1
1!function(t){function a(a,r,e,o){var i;"POST"!==(o=o?o.toUpperCase():"GET")&&"PUT"!==o||!a.config("ajaxCreateData")||(i=a.config("ajaxCreateData").apply(a,[r])),t.ajax({url:r.attr("data-src"),type:"POST"===o||"PUT"===o?o:"GET",data:i,dataType:r.attr("data-type")||"html",success:function(t){r.html(t),e(!0),a.config("removeAttribute")&&r.removeAttr("data-src data-method data-type")},error:function(){e(!1)}})}t.lazy("ajax",function(t,r){a(this,t,r,t.attr("data-method"))}),t.lazy("get",function(t,r){a(this,t,r,"GET")}),t.lazy("post",function(t,r){a(this,t,r,"POST")}),t.lazy("put",function(t,r){a(this,t,r,"PUT")})}(window.jQuery||window.Zepto),function(t){t.lazy(["av","audio","video"],["audio","video"],function(a,r){var e=a[0].tagName.toLowerCase();if("audio"===e||"video"===e){var o=a.find("data-src"),i=a.find("data-track"),n=0,c=function(){++n===o.length&&r(!1)},s=function(){var a=t(this),r=a[0].tagName.toLowerCase(),e=a.prop("attributes"),o=t("data-src"===r?"<source>":"<track>");"data-src"===r&&o.one("error",c),t.each(e,function(t,a){o.attr(a.name,a.value)}),a.replaceWith(o)};a.one("loadedmetadata",function(){r(!0)}).off("load error").attr("poster",a.attr("data-poster")),o.length?o.each(s):a.attr("data-src")?(t.each(a.attr("data-src").split(","),function(r,e){var o=e.split("|");a.append(t("<source>").one("error",c).attr({src:o[0].trim(),type:o[1].trim()}))}),this.config("removeAttribute")&&a.removeAttr("data-src")):r(!1),i.length&&i.each(s)}else r(!1)})}(window.jQuery||window.Zepto),function(t){t.lazy(["frame","iframe"],"iframe",function(a,r){var e=this;if("iframe"===a[0].tagName.toLowerCase()){var o=a.attr("data-error-detect");"true"!==o&&"1"!==o?(a.attr("src",a.attr("data-src")),e.config("removeAttribute")&&a.removeAttr("data-src data-error-detect")):t.ajax({url:a.attr("data-src"),dataType:"html",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(t){a.html(t).attr("src",a.attr("data-src")),e.config("removeAttribute")&&a.removeAttr("data-src data-error-detect")},error:function(){r(!1)}})}else r(!1)})}(window.jQuery||window.Zepto),function(t){t.lazy("noop",function(){}),t.lazy("noop-success",function(t,a){a(!0)}),t.lazy("noop-error",function(t,a){a(!1)})}(window.jQuery||window.Zepto),function(t){var a="data-src";function r(r,e,i){var n=r.prop("attributes"),c=t("<"+e+">");return t.each(n,function(t,r){"srcset"!==r.name&&r.name!==a||(r.value=o(r.value,i)),c.attr(r.name,r.value)}),r.replaceWith(c),c}function e(a,r,e){var o=t("<img>").one("load",function(){e(!0)}).one("error",function(){e(!1)}).appendTo(a).attr("src",r);o.complete&&o.load()}function o(t,a){if(a){var r=t.split(",");t="";for(var e=0,o=r.length;e<o;e++)t+=a+r[e].trim()+(e!==o-1?",":"")}return t}t.lazy(["pic","picture"],["picture"],function(i,n){if("picture"===i[0].tagName.toLowerCase()){var c=i.find(a),s=i.find("data-img"),d=this.config("imageBase")||"";c.length?(c.each(function(){r(t(this),"source",d)}),1===s.length?((s=r(s,"img",d)).on("load",function(){n(!0)}).on("error",function(){n(!1)}),s.attr("src",s.attr(a)),this.config("removeAttribute")&&s.removeAttr(a)):i.attr(a)?(e(i,d+i.attr(a),n),this.config("removeAttribute")&&i.removeAttr(a)):n(!1)):i.attr("data-srcset")?(t("<source>").attr({media:i.attr("data-media"),sizes:i.attr("data-sizes"),type:i.attr("data-type"),srcset:o(i.attr("data-srcset"),d)}).appendTo(i),e(i,d+i.attr(a),n),this.config("removeAttribute")&&i.removeAttr(a+" data-srcset data-media data-sizes data-type")):n(!1)}else n(!1)})}(window.jQuery||window.Zepto),(window.jQuery||window.Zepto).lazy(["js","javascript","script"],"script",function(t,a){"script"===t[0].tagName.toLowerCase()?(t.attr("src",t.attr("data-src")),this.config("removeAttribute")&&t.removeAttr("data-src")):a(!1)}),(window.jQuery||window.Zepto).lazy("vimeo",function(t,a){"iframe"===t[0].tagName.toLowerCase()?(t.attr("src","https://player.vimeo.com/video/"+t.attr("data-src")),this.config("removeAttribute")&&t.removeAttr("data-src")):a(!1)});
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.