PageSourceSearch

https://www.digitaltrooper.com/universal/scripts/jquery/plugins/jquery-fancybox.js?fv=1.3.4

js digitaltrooper.com collected 2026-10-08 18:19:36 UTC 18,668 bytes, 18 lines download raw bytes

1/*
2 * FancyBox - jQuery Plugin
3 * Simple and fancy lightbox alternative
4 *
5 * Examples and documentation at: http://fancybox.net
6 *
7 * Copyright (c) 2008 - 2010 Janis Skarnelis
8 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9 *
10 * Version: 1.3.4 (11/11/2010)
11 * Requires: jQuery v1.3+
12 *
13 * Dual licensed under the MIT and GPL licenses:
14 *   http://www.opensource.org/licenses/mit-license.php
15 *   http://www.gnu.org/licenses/gpl.html
16 */
17
18(function($){ var _1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b=0,_c={},_d=[],_e=0,_f={},_10=[],_11=null,_12=new Image(),_13=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,_14=/[^\.]\.(swf)\s*$/i,_15,_16=1,_17=0,_18="",_19,_1a,_1b=false,fx=$.extend($("<div/>")[0],{prop:0}),_1c=$.browser.msie&&$.browser.version<7&&!window.XMLHttpRequest,_1d=function(){ _2.hide(); _12.onerror=_12.onload=null; if(_11){ _11.abort(); } _1.empty(); },_1e=function(){ if(false===_c.onError(_d,_b,_c)){ _2.hide(); _1b=false; return; } _c.titleShow=false; _c.width="auto"; _c.height="auto"; _1.html("<p id=\"fancybox-error\">The requested content cannot be loaded.<br />Please try again later.</p>"); _1f(); },_20=function(){ var obj=_d[_b],_21,_22,_8,str,emb,ret; _1d(); _c=$.extend({},$.fn.fancybox.defaults,(typeof $(obj).data("fancybox")=="undefined"?_c:$(obj).data("fancybox"))); ret=_c.onStart(_d,_b,_c); if(ret===false){ _1b=false; return; }else{ if(typeof ret=="object"){ _c=$.extend(_c,ret); } } _8=_c.title||(obj.nodeName?$(obj).attr("title"):obj.title)||""; if(obj.nodeName&&!_c.orig){ _c.orig=$(obj).children("img:first").length?$(obj).children("img:first"):$(obj); } if(_8===""&&_c.orig&&_c.titleFromAlt){ _8=_c.orig.attr("alt"); } _21=_c.href||(obj.nodeName?$(obj).attr("href"):obj.href)||null; if((/^(?:javascript)/i).test(_21)||_21=="#"){ _21=null; } if(_c.type){ _22=_c.type; if(!_21){ _21=_c.content; } }else{ if(_c.content){ _22="html"; }else{ if(_21){ if(_21.match(_13)){ _22="image"; }else{ if(_21.match(_14)){ _22="swf"; }else{ if($(obj).hasClass("iframe")){ _22="iframe"; }else{ if(_21.indexOf("#")===0){ _22="inline"; }else{ _22="ajax"; } } } } } } } if(!_22){ _1e(); return; } if(_22=="inline"){ obj=_21.substr(_21.indexOf("#")); _22=$(obj).length>0?"inline":"ajax"; } _c.type=_22; _c.href=_21; _c.title=_8; if(_c.autoDimensions){ if(_c.type=="html"||_c.type=="inline"||_c.type=="ajax"){ _c.width="auto"; _c.height="auto"; }else{ _c.autoDimensions=false; } } if(_c.modal){ _c.overlayShow=true; _c.hideOnOverlayClick=false; _c.hideOnContentClick=false; _c.enableEscapeButton=false; _c.showCloseButton=false; } _c.padding=parseInt(_c.padding,10); _c.margin=parseInt(_c.margin,10); _1.css("padding",(_c.padding+_c.margin)); $(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){ $(this).replaceWith(_6.children()); }); switch(_22){ case "html": _1.html(_c.content); _1f(); break; case "inline": if($(obj).parent().is("#fancybox-content")===true){ _1b=false; return; } $("<div class=\"fancybox-inline-tmp\" />").hide().insertBefore($(obj)).bind("fancybox-cleanup",function(){ $(this).replaceWith(_6.children()); }).bind("fancybox-cancel",function(){ $(this).replaceWith(_1.children()); }); $(obj).appendTo(_1); _1f(); break; case "image": _1b=false; $.fancybox.showActivity(); _12=new Image(); _12.onerror=function(){ _1e(); }; _12.onload=function(){ _1b=true; _12.onerror=_12.onload=null; _2b(); }; _12.src=_21; break; case "swf": _c.scrolling="no"; str="<object id=\""+("x"+Math.random()).substring(9)+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+_c.width+"\" height=\""+_c.height+"\"><param name=\"movie\" value=\""+_21+"\"></param>"; emb=""; $.each(_c.swf,function(_23,val){ str+="<param name=\""+_23+"\" value=\""+val+"\"></param>"; emb+=" "+_23+"=\""+val+"\""; }); str+="<embed id=\""+("x"+Math.random()).substring(9)+"\" src=\""+_21+"\" type=\"application/x-shockwave-flash\" width=\""+_c.width+"\" height=\""+_c.height+"\""+emb+"></embed></object>"; _1.html(str); _1f(); break; case "ajax": _1b=false; $.fancybox.showActivity(); _c.ajax.win=_c.ajax.success; _11=$.ajax($.extend({},_c.ajax,{url:_21,data:_c.ajax.data||{},error:function(_24,_25,_26){ if(_24.status>0){ _1e(); } },success:function(_27,_28,_29){ var o=typeof _29=="object"?_29:_11; if(o.status==200){ if(typeof _c.ajax.win=="function"){ ret=_c.ajax.win(_21,_27,_28,_29); if(ret===false){ _2.hide(); return; }else{ if(typeof ret=="string"||typeof ret=="object"){ _27=ret; } } } _1.html(_27); _1f(); } }})); break; case "iframe": _2a(); break; } },_1f=function(){ var w=_c.width,h=_c.height; if(w.toString().indexOf("%")>-1){ w=parseInt(($(window).width()-(_c.margin*2))*parseFloat(w)/100,10)+"px"; }else{ w=w=="auto"?"auto":w+"px"; } if(h.toString().indexOf("%")>-1){ h=parseInt(($(window).height()-(_c.margin*2))*parseFloat(h)/100,10)+"px"; }else{ h=h=="auto"?"auto":h+"px"; } _1.wrapInner("<div style=\"width:"+w+";height:"+h+";overflow: "+(_c.scrolling=="auto"?"auto":(_c.scrolling=="yes"?"scroll":"hidden"))+";position:relative;\"></div>"); _c.width=_1.width(); _c.height=_1.height(); _2a(); },_2b=function(){ _c.width=_12.width; _c.height=_12.height; $("<img />").attr({"id":"fancybox-img","src":_12.src,"alt":_c.title}).appendTo(_1); _2a(); },_2a=function(){ var pos,_2c; _2.hide(); if(_4.is(":visible")&&false===_f.onCleanup(_10,_e,_f)){ $.event.trigger("fancybox-cancel"); _1b=false; return; } _1b=true; $(_6.add(_3)).unbind(); $(window).unbind("resize.fb scroll.fb");
18 $(document).unbind("keydown.fb"); if(_4.is(":visible")&&_f.titlePosition!=="outside"){ _4.css("height",_4.height()); } _10=_d; _e=_b; _f=_c; if(_f.overlayShow){ _3.css({"background-color":_f.overlayColor,"opacity":_f.overlayOpacity,"cursor":_f.hideOnOverlayClick?"pointer":"auto","height":$(document).height()}); if(!_3.is(":visible")){ if(_1c){ $("select:not(#fancybox-tmp select)").filter(function(){ return this.style.visibility!=="hidden"; }).css({"visibility":"hidden"}).one("fancybox-cleanup",function(){ this.style.visibility="inherit"; }); } _3.show(); } }else{ _3.hide(); } _1a=_39(); _33(); if(_4.is(":visible")){ $(_7.add(_9).add(_a)).hide(); pos=_4.position(),_19={top:pos.top,left:pos.left,width:_4.width(),height:_4.height()}; _2c=(_19.width==_1a.width&&_19.height==_1a.height); _6.fadeTo(_f.changeFade,0.3,function(){ var _2d=function(){ _6.html(_1.contents()).fadeTo(_f.changeFade,1,_2e); }; $.event.trigger("fancybox-change"); _6.empty().removeAttr("filter").css({"border-width":_f.padding,"width":_1a.width-_f.padding*2,"height":_c.autoDimensions?"auto":_1a.height-_17-_f.padding*2}); if(_2c){ _2d(); }else{ fx.prop=0; $(fx).animate({prop:1},{duration:_f.changeSpeed,easing:_f.easingChange,step:_2f,complete:_2d}); } }); return; } _4.removeAttr("style"); _6.css("border-width",_f.padding); if(_f.transitionIn=="elastic"){ _19=_30(); _6.html(_1.contents()); _4.show(); if(_f.opacity){ _1a.opacity=0; } fx.prop=0; $(fx).animate({prop:1},{duration:_f.speedIn,easing:_f.easingIn,step:_2f,complete:_2e}); return; } if(_f.titlePosition=="inside"&&_17>0){ _8.show(); } _6.css({"width":_1a.width-_f.padding*2,"height":_c.autoDimensions?"auto":_1a.height-_17-_f.padding*2}).html(_1.contents()); _4.css(_1a).fadeIn(_f.transitionIn=="none"?0:_f.speedIn,_2e); },_31=function(_32){ if(_32&&_32.length){ if(_f.titlePosition=="float"){ return "<table id=\"fancybox-title-float-wrap\" cellpadding=\"0\" cellspacing=\"0\"><tr><td id=\"fancybox-title-float-left\"></td><td id=\"fancybox-title-float-main\">"+_32+"</td><td id=\"fancybox-title-float-right\"></td></tr></table>"; } return "<div id=\"fancybox-title-"+_f.titlePosition+"\">"+_32+"</div>"; } return false; },_33=function(){ _18=_f.title||""; _17=0; _8.empty().removeAttr("style").removeClass(); if(_f.titleShow===false){ _8.hide(); return; } _18=$.isFunction(_f.titleFormat)?_f.titleFormat(_18,_10,_e,_f):_31(_18); if(!_18||_18===""){ _8.hide(); return; } _8.addClass("fancybox-title-"+_f.titlePosition).html(_18).appendTo("body").show(); switch(_f.titlePosition){ case "inside": _8.css({"width":_1a.width-(_f.padding*2),"marginLeft":_f.padding,"marginRight":_f.padding}); _17=_8.outerHeight(true); _8.appendTo(_5); _1a.height+=_17; break; case "over": _8.css({"marginLeft":_f.padding,"width":_1a.width-(_f.padding*2),"bottom":_f.padding}).appendTo(_5); break; case "float": _8.css("left",parseInt((_8.width()-_1a.width-40)/2,10)*-1).appendTo(_4); break; default: _8.css({"width":_1a.width-(_f.padding*2),"paddingLeft":_f.padding,"paddingRight":_f.padding}).appendTo(_4); break; } _8.hide(); },_34=function(){ if(_f.enableEscapeButton||_f.enableKeyboardNav){ $(document).bind("keydown.fb",function(e){ if(e.keyCode==27&&_f.enableEscapeButton){ e.preventDefault(); $.fancybox.close(); }else{ if((e.keyCode==37||e.keyCode==39)&&_f.enableKeyboardNav&&e.target.tagName!=="INPUT"&&e.target.tagName!=="TEXTAREA"&&e.target.tagName!=="SELECT"){ e.preventDefault(); $.fancybox[e.keyCode==37?"prev":"next"](); } } }); } if(!_f.showNavArrows){ _9.hide(); _a.hide(); return; } if((_f.cyclic&&_10.length>1)||_e!==0){ _9.show(); } if((_f.cyclic&&_10.length>1)||_e!=(_10.length-1)){ _a.show(); } },_2e=function(){ if(!$.support.opacity){ _6.get(0).style.removeAttribute("filter"); _4.get(0).style.removeAttribute("filter"); } if(_c.autoDimensions){ _6.css("height","auto"); } _4.css("height","auto"); if(_18&&_18.length){ _8.show(); } if(_f.showCloseButton){ _7.show(); } _34(); if(_f.hideOnContentClick){ _6.bind("click",$.fancybox.close); } if(_f.hideOnOverlayClick){ _3.bind("click",$.fancybox.close); } $(window).bind("resize.fb",$.fancybox.resize); if(_f.centerOnScroll){ $(window).bind("scroll.fb",$.fancybox.center); } if(_f.type=="iframe"){ $("<iframe allowfullscreen id=\"fancybox-frame\" name=\"fancybox-frame"+new Date().getTime()+"\" frameborder=\"0\" hspace=\"0\" "+($.browser.msie?"allowtransparency=\"true\"\"":"")+" scrolling=\""+_c.scrolling+"\" src=\""+_f.href+"\"></iframe>").appendTo(_6); } _4.show(); _1b=false; $.fancybox.center(); _f.onComplete(_10,_e,_f); _35(); },_35=function(){ var _36,_37; if((_10.length-1)>_e){ _36=_10[_e+1].href; if(typeof _36!=="undefined"&&_36.match(_13)){ _37=new Image(); _37.src=_36; } } if(_e>0){ _36=_10[_e-1].href; if(typeof _36!=="undefined"&&_36.match(_13)){ _37=new Image(); _37.src=_36; } } },_2f=function(pos){ var dim={width:parseInt(_19.width+(_1a.width-_19.width)*pos,10),height:parseInt(_19.height+(_1a.height-_19.height)*pos,10),top:parseInt(_19.top+(_1a.top-_19.top)*pos,10),left:parseInt(_19.left+(_1a.left-_19.left)*pos,10)}; if(typeof _1a.opacity!=="undefined"){ dim.opacity=pos<0.5?0.5:pos; } _4.css(dim); _6.css({"width":dim.width-_f.padding*2,"height":dim.height-(_17*pos)-_f.padding*2}); },_38=function(){ return [$(window).width()-(_f.margin*2),$(window).height()-(_f.margin*2),$(document).scrollLeft()+_f.margin,$(document).scrollTop()+_f.margin]; },_39=function(){ var _3a=_38(),to={},_3b=_f.autoScale,_3c=_f.padding*2,_3d; if(_f.width.toString().indexOf("%")>-1){ to.width=parseInt((_3a[0]*parseFloat(_f.width))/100,10); }else{ to.width=_f.width+_3c; } if(_f.height.toString().indexOf("%")>-1){ to.height=parseInt((_3a[1]*parseFloat(_f.height))/100,10); }
18else{ to.height=_f.height+_3c; } if(_3b&&(to.width>_3a[0]||to.height>_3a[1])){ if(_c.type=="image"||_c.type=="swf"){ _3d=(_f.width)/(_f.height); if((to.width)>_3a[0]){ to.width=_3a[0]; to.height=parseInt(((to.width-_3c)/_3d)+_3c,10); } if((to.height)>_3a[1]){ to.height=_3a[1]; to.width=parseInt(((to.height-_3c)*_3d)+_3c,10); } }else{ to.width=Math.min(to.width,_3a[0]); to.height=Math.min(to.height,_3a[1]); } } to.top=parseInt(Math.max(_3a[3]-20,_3a[3]+((_3a[1]-to.height-40)*0.5)),10); to.left=parseInt(Math.max(_3a[2]-20,_3a[2]+((_3a[0]-to.width-40)*0.5)),10); return to; },_3e=function(obj){ var pos=obj.offset(); pos.top+=parseInt(obj.css("paddingTop"),10)||0; pos.left+=parseInt(obj.css("paddingLeft"),10)||0; pos.top+=parseInt(obj.css("border-top-width"),10)||0; pos.left+=parseInt(obj.css("border-left-width"),10)||0; pos.width=obj.width(); pos.height=obj.height(); return pos; },_30=function(){ var _3f=_c.orig?$(_c.orig):false,_40={},pos,_41; if(_3f&&_3f.length){ pos=_3e(_3f); _40={width:pos.width+(_f.padding*2),height:pos.height+(_f.padding*2),top:pos.top-_f.padding-20,left:pos.left-_f.padding-20}; }else{ _41=_38(); _40={width:_f.padding*2,height:_f.padding*2,top:parseInt(_41[3]+_41[1]*0.5,10),left:parseInt(_41[2]+_41[0]*0.5,10)}; } return _40; },_42=function(){ if(!_2.is(":visible")){ clearInterval(_15); return; } $("div",_2).css("top",(_16*-40)+"px"); _16=(_16+1)%12; }; $.fn.fancybox=function(_43){ if(!$(this).length){ return this; } $(this).data("fancybox",$.extend({},_43,($.metadata?$(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(e){ e.preventDefault(); if(_1b){ return; } _1b=true; $(this).blur(); _d=[]; _b=0; var rel=$(this).attr("rel")||""; if(!rel||rel==""||rel==="nofollow"){ _d.push(this); }else{ _d=$("a[rel="+rel+"], area[rel="+rel+"]"); _b=_d.index(this); } _20(); return; }); return this; }; $.fancybox=function(obj){ var _44; if(_1b){ return; } _1b=true; _44=typeof arguments[1]!=="undefined"?arguments[1]:{}; _d=[]; _b=parseInt(_44.index,10)||0; if($.isArray(obj)){ for(var i=0,j=obj.length;i<j;i++){ if(typeof obj[i]=="object"){ $(obj[i]).data("fancybox",$.extend({},_44,obj[i])); }else{ obj[i]=$({}).data("fancybox",$.extend({content:obj[i]},_44)); } } _d=jQuery.merge(_d,obj); }else{ if(typeof obj=="object"){ $(obj).data("fancybox",$.extend({},_44,obj)); }else{ obj=$({}).data("fancybox",$.extend({content:obj},_44)); } _d.push(obj); } if(_b>_d.length||_b<0){ _b=0; } _20(); }; $.fancybox.showActivity=function(){ clearInterval(_15); _2.show(); _15=setInterval(_42,66); }; $.fancybox.hideActivity=function(){ _2.hide(); }; $.fancybox.next=function(){ return $.fancybox.pos(_e+1); }; $.fancybox.prev=function(){ return $.fancybox.pos(_e-1); }; $.fancybox.pos=function(pos){ if(_1b){ return; } pos=parseInt(pos); _d=_10; if(pos>-1&&pos<_10.length){ _b=pos; _20(); }else{ if(_f.cyclic&&_10.length>1){ _b=pos>=_10.length?0:_10.length-1; _20(); } } return; }; $.fancybox.cancel=function(){ if(_1b){ return; } _1b=true; $.event.trigger("fancybox-cancel"); _1d(); _c.onCancel(_d,_b,_c); _1b=false; }; $.fancybox.close=function(){ if(_1b||_4.is(":hidden")){ return; } _1b=true; if(_f&&false===_f.onCleanup(_10,_e,_f)){ _1b=false; return; } _1d(); $(_7.add(_9).add(_a)).hide(); $(_6.add(_3)).unbind(); $(window).unbind("resize.fb scroll.fb"); $(document).unbind("keydown.fb"); _6.find("iframe").attr("src",_1c&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"); if(_f.titlePosition!=="inside"){ _8.empty(); } _4.stop(); function _45(){ _3.fadeOut("fast"); _8.empty().hide(); _4.hide(); $.event.trigger("fancybox-cleanup"); _6.empty(); _f.onClosed(_10,_e,_f); _10=_c=[]; _e=_b=0; _f=_c={}; _1b=false; }; if(_f.transitionOut=="elastic"){ _19=_30(); var pos=_4.position(); _1a={top:pos.top,left:pos.left,width:_4.width(),height:_4.height()}; if(_f.opacity){ _1a.opacity=1; } _8.empty().hide(); fx.prop=1; $(fx).animate({prop:0},{duration:_f.speedOut,easing:_f.easingOut,step:_2f,complete:_45}); }else{ _4.fadeOut(_f.transitionOut=="none"?0:_f.speedOut,_45); } }; $.fancybox.resize=function(){ if(_3.is(":visible")){ _3.css("height",$(document).height()); } $.fancybox.center(true); }; $.fancybox.center=function(){ var _46,_47; if(_1b){ return; } _47=arguments[0]===true?1:0; _46=_38(); if(!_47&&(_4.width()>_46[0]||_4.height()>_46[1])){ return; } _4.stop().animate({"top":parseInt(Math.max(_46[3]-20,_46[3]+((_46[1]-_6.height()-40)*0.5)-_f.padding)),"left":parseInt(Math.max(_46[2]-20,_46[2]+((_46[0]-_6.width()-40)*0.5)-_f.padding))},typeof arguments[0]=="number"?arguments[0]:200); }; $.fancybox.init=function(){ if($("#fancybox-wrap").length){ return; } $("body").append(_1=$("<div id=\"fancybox-tmp\"></div>"),_2=$("<div id=\"fancybox-loading\"><div></div></div>
18"),_3=$("<div id=\"fancybox-overlay\"></div>"),_4=$("<div id=\"fancybox-wrap\"></div>")); _5=$("<div id=\"fancybox-outer\"></div>").append("<div class=\"fancybox-bg\" id=\"fancybox-bg-n\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-ne\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-e\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-se\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-s\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-sw\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-w\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-nw\"></div>").appendTo(_4); _5.append(_6=$("<div id=\"fancybox-content\"></div>"),_7=$("<a id=\"fancybox-close\"></a>"),_8=$("<div id=\"fancybox-title\"></div>"),_9=$("<a href=\"javascript:;\" id=\"fancybox-left\" aria-hidden=\"true\" aria-label=\"Previous Item\"><span class=\"fancy-ico\" id=\"fancybox-left-ico\"></span></a>"),_a=$("<a href=\"javascript:;\" id=\"fancybox-right\" aria-hidden=\"true\" aria-label=\"Previous Item\"><span class=\"fancy-ico\" id=\"fancybox-right-ico\"></span></a>")); _7.click($.fancybox.close); _2.click($.fancybox.cancel); _9.click(function(e){ e.preventDefault(); $.fancybox.prev(); }); _a.click(function(e){ e.preventDefault(); $.fancybox.next(); }); if($.fn.mousewheel){ _4.bind("mousewheel.fb",function(e,_48){ if(_1b){ e.preventDefault(); }else{ if($(e.target).get(0).clientHeight==0||$(e.target).get(0).scrollHeight===$(e.target).get(0).clientHeight){ e.preventDefault(); $.fancybox[_48>0?"prev":"next"](); } } }); } if(!$.support.opacity){ _4.addClass("fancybox-ie"); } if(_1c){ _2.addClass("fancybox-ie6"); _4.addClass("fancybox-ie6"); $("<iframe allowfullscreen id=\"fancybox-hide-sel-frame\" src=\""+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+"\" scrolling=\"no\" border=\"0\" frameborder=\"0\" tabindex=\"-1\"></iframe>").prependTo(_5); } }; $.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){ },onCancel:function(){ },onComplete:function(){ },onCleanup:function(){ },onClosed:function(){ },onError:function(){ }}; $(document).ready(function(){ $.fancybox.init(); }); })(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.