1(function($){$.fn.preloadMasonry=function(options){var settings=$.extend({masonryItemElementClass:'.js-masonry-item',placeholderClass:'.js-placeholder',placeholderBackground:'#eee',dataWidth:'width',dataHeight:'height',dataSrc:'src',},options);var $masonry=$(this);var $masonry_item=settings.masonryItemElementClass;var $masonry_placeholder=settings.placeholderClass;var width;var height;var perc_divider;var calcWidth;var calcHeight;$masonry.find($masonry_placeholder).each(function(){width=$(this).data(settings.dataWidth);height=$(this).data(settings.dataHeight);calcWidth=$(this).parents($masonry_item).width();calcHeight=$(this).parents($masonry_item).height();perc_divider=(width/100);perc_divider=(calcWidth/perc_divider);height=(height/100);height=(height*perc_divider);$(this).css({width:calcWidth,height:height,background:settings.placeholderBackground})});$masonry.imagesLoaded(function(){$masonry.masonry({itemSelector:$masonry_item,isFitWidth:!0});var time=0;$($masonry_item).each(function(){var obj=$(this);var el;if(obj.find($masonry_placeholder).length>0){setTimeout(function(){el=obj.find($masonry_placeholder);setTimeout(function(){var imgPath=el.data(settings.dataSrc);var imgEl=$('<img src="'+imgPath+'" />').load(function(){el.css({opacity:0});el.attr('src',imgPath);el.animate({opacity:1},600);el.css({width:'auto',height:'auto'})})},1000)},time) 2time+=150}})})}}(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.