PageSourceSearch

https://www.sportcareacademy.com/js/plugins/fancybox2/helpers/jquery.fancybox-thumbs.min.js

js sportcareacademy.com collected 2026-09-27 02:58:30 UTC 1,678 bytes, 1 lines download raw bytes

vendor: 1,678 bytes, line 1
1!function(t){t.fancybox.helpers.thumbs={defaults:{width:50,height:50,position:"bottom",source:function(i){var h;return i.element&&(h=t(i.element).find("img").attr("src")),!h&&"image"===i.type&&i.href&&(h=i.href),h}},wrap:null,list:null,width:0,init:function(i,h){var e,s=this,o=i.width,n=i.height,a=i.source;e="";for(var l=0;l<h.group.length;l++)e+='<li><a style="width:'+o+"px;height:"+n+'px;" href="javascript:jQuery.fancybox.jumpto('+l+');"></a></li>';this.wrap=t('<div id="fancybox-thumbs"></div>').addClass(i.position).appendTo("body"),this.list=t("<ul>"+e+"</ul>").appendTo(this.wrap),t.each(h.group,function(i){var e=a(h.group[i]);e&&t("<img />").load(function(){var h,e,a,l=this.width,r=this.height;s.list&&l&&r&&(h=l/o,e=r/n,a=s.list.children().eq(i).find("a"),h>=1&&e>=1&&(h>e?(l=Math.floor(l/e),r=n):(l=o,r=Math.floor(r/h))),t(this).css({width:l,height:r,top:Math.floor(n/2-r/2),left:Math.floor(o/2-l/2)}),a.width(o).height(n),t(this).hide().appendTo(a).fadeIn(300))}).attr("src",e)}),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(h.group.length+1)).css("left",Math.floor(.5*t(window).width()-(h.index*this.width+.5*this.width)))},beforeLoad:function(t,i){i.group.length<2?i.helpers.thumbs=!1:i.margin["top"===t.position?0:2]+=t.height+15},afterShow:function(t,i){this.list?this.onUpdate(t,i):this.init(t,i),this.list.children().removeClass("active").eq(i.index).addClass("active")},onUpdate:function(i,h){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*t(window).width()-(h.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(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.