1(function($) 2{"use strict";$.fn.avia_sc_gallery=function(options) 3{return this.each(function() 4{var gallery=$(this),images=gallery.find('img'),big_prev=gallery.find('.avia-gallery-big');gallery.on('avia_start_animation',function() 5{images.each(function(i) 6{var image=$(this);setTimeout(function(){image.addClass('avia_start_animation')},(i*110));});});if(gallery.hasClass('deactivate_avia_lazyload'))gallery.trigger('avia_start_animation');if(big_prev.length) 7{gallery.on('mouseenter','.avia-gallery-thumb a',function() 8{var _self=this;big_prev.attr('data-onclick',_self.getAttribute("data-onclick"));big_prev.height(big_prev.height());big_prev.attr('href',_self.href) 9var newImg=_self.getAttribute("data-prev-img"),oldImg=big_prev.find('img'),oldImgSrc=oldImg.attr('src');if(newImg!=oldImgSrc) 10{var next_img=new Image();next_img.src=newImg;var $next=$(next_img);if(big_prev.hasClass('avia-gallery-big-no-crop-thumb')) 11{$next.css({'height':big_prev.height(),'width':'auto'});} 12big_prev.stop().animate({opacity:0},function() 13{$next.insertAfter(oldImg);oldImg.remove();big_prev.animate({opacity:1});big_prev.attr('title',$(_self).attr('title'));});}});big_prev.on('click',function() 14{var imagelink=gallery.find('.avia-gallery-thumb a').eq(this.getAttribute("data-onclick")-1);if(imagelink&&!imagelink.hasClass('aviaopeninbrowser')) 15{imagelink.trigger('click');} 16else if(imagelink) 17{var imgurl=imagelink.attr("href");if(imagelink.hasClass('aviablank')&&imgurl!='') 18{window.open(imgurl,'_blank');} 19else if(imgurl!='') 20{window.open(imgurl,'_self');}} 21return false;});$(window).on("debouncedresize",function() 22{big_prev.height('auto');});}});}}(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.