1!function(t,e,a,i){"use strict";t.fn.simpleLightbox=function(i){i=t.extend({sourceAttr:"href",overlay:!0,spinner:!0,nav:!0,navText:["‹","›"],captions:!0,captionDelay:0,captionSelector:"img",captionType:"attr",captionsData:"title",captionPosition:"bottom",captionClass:"",close:!0,closeText:"×",swipeClose:!0,showCounter:!0,fileExt:"png|jpg|jpeg|gif|webp",animationSlide:!0,animationSpeed:250,preloading:!0,enableKeyboard:!0,loop:!0,rel:!1,docClose:!0,swipeTolerance:50,className:"simple-lightbox",widthRatio:.8,heightRatio:.9,scaleImageToRatio:!1,disableRightClick:!1,disableScroll:!0,alertError:!0,alertErrorMessage:"Image not found, next image will be loaded",additionalHtml:!1,history:!0,throttleInterval:0,doubleTapZoom:2,maxZoom:10,htmlClass:"has-lightbox"},i);var n,s,o="ontouchstart"in e,l=(e.navigator.pointerEnabled||e.navigator.msPointerEnabled,0),r=0,c=t(),p=function(){var t=a.body||a.documentElement;return""===(t=t.style).WebkitTransition?"-webkit-":""===t.MozTransition?"-moz-":""===t.OTransition?"-o-":""===t.transition&&""},h=!1,d=[],u=i.rel&&!1!==i.rel?(s=i.rel,t(this).filter(function(){return t(this).attr("rel")===s})):this,m=u.get()[0].tagName,f=0,g=!1!==(p=p()),v="pushState"in history,x=!1,b=e.location,y=function(){return b.hash.substring(1)},C=y(),w=function(){y();var t="pid="+(Y+1),e=b.href.split("#")[0]+"#"+t;v?history[x?"replaceState":"pushState"]("",a.title,e):x?b.replace(e):b.hash=t,x=!0},T=function(t,e){var a;return function(){var i=arguments;a||(t.apply(this,i),a=!0,setTimeout(function(){return a=!1},e))}},E="simplelb",S=t("<div>").addClass("sl-overlay"),M=t("<button>").addClass("sl-close").html(i.closeText),I=t("<div>").addClass("sl-spinner").html("<div></div>"),k=t("<div>").addClass("sl-navigation").html('<button class="sl-prev">'+i.navText[0]+'</button><button class="sl-next">'+i.navText[1]+"</button>"),q=t("<div>").addClass("sl-counter").html('<span class="sl-current"></span>/<span class="sl-total"></span>'),X=!1,Y=0,D=0,A=t("<div>").addClass("sl-caption "+i.captionClass+" pos-"+i.captionPosition),O=t("<div>").addClass("sl-image"),R=t("<div>").addClass("sl-wrapper").addClass(i.className),W=function(e){e.trigger(t.Event("show.simplelightbox")),i.disableScroll&&(f=$("hide")),i.htmlClass&&""!=i.htmlClass&&t("html").addClass(i.htmlClass),R.appendTo("body"),O.appendTo(R),i.overlay&&S.appendTo(t("body")),X=!0,Y=u.index(e),c=t("<img/>").hide().attr("src",e.attr(i.sourceAttr)).attr("data-scale",1).attr("data-translate-x",0).attr("data-translate-y",0),-1==d.indexOf(e.attr(i.sourceAttr))&&d.push(e.attr(i.sourceAttr)),O.html("").attr("style",""),c.appendTo(O),L(),S.fadeIn("fast"),t(".sl-close").fadeIn("fast"),I.show(),k.fadeIn("fast"),t(".sl-wrapper .sl-counter .sl-current").text(Y+1),q.fadeIn("fast"),F(),i.preloading&&j(),setTimeout(function(){e.trigger(t.Event("shown.simplelightbox"))},i.animationSpeed)},F=function(a){if(c.length){var s=new Image,o=e.innerWidth*i.widthRatio,l=e.innerHeight*i.heightRatio;s.src=c.attr("src"),c.data("scale",1),c.data("translate-x",0),c.data("translate-y",0),Z(0,0,1),t(s).on("error",function(e){u.eq(Y).trigger(t.Event("error.simplelightbox")),X=!1,h=!0,I.hide();var n=1==a||-1==a;D===Y&&n?U():(i.alertError&&alert(i.alertErrorMessage),K(n?a:1))}),s.onload=function(){void 0!==a&&u.eq(Y).trigger(t.Event("changed.simplelightbox")).trigger(t.Event((1===a?"nextDone":"prevDone")+".simplelightbox")),i.history&&(x?n=setTimeout(w,800):w()),-1==d.indexOf(c.attr("src"))&&d.push(c.attr("src"));var r=s.width,p=s.height;if(i.scaleImageToRatio||r>o||p>l){var m=r/p>o/l?r/o:p/l;r/=m,p/=m}t(".sl-image").css({top:(e.innerHeight-p)/2+"px",left:(e.innerWidth-r-f)/2+"px",width:r+"px",height:p+"px"}),I.hide(),c.fadeIn("fast"),h=!0;var v,b="self"==i.captionSelector?u.eq(Y):u.eq(Y).find(i.captionSelector);if(v="data"==i.captionType?b.data(i.captionsData):"text"==i.captionType?b.html():b.prop(i.captionsData),i.loop||(0===Y&&t(".sl-prev").hide(),Y>=u.length-1&&t(".sl-next").hide(),Y>0&&t(".sl-prev").show(),Y<u.length-1&&t(".sl-next").show()),1==u.length&&t(".sl-prev, .sl-next").hide(),1==a||-1==a){var y={opacity:1};i.animationSlide&&(g?(P(0,100*a+"px"),setTimeout(function(){P(i.animationSpeed/1e3,"0px")},50)):y.left=parseInt(t(".sl-image").css("left"))+100*a+"px"),t(".sl-image").animate(y,i.animationSpeed,function(){X=!1,N(v,r)})}else X=!1,N(v,r);
1i.additionalHtml&&0===t(".sl-additional-html").length&&t("<div>").html(i.additionalHtml).addClass("sl-additional-html").appendTo(t(".sl-image"))}}},N=function(e,a){""!==e&&void 0!==e&&i.captions&&A.html(e).css({width:a+"px"}).hide().appendTo(t(".sl-image")).delay(i.captionDelay).fadeIn("fast")},P=function(e,a){var i={};i[p+"transform"]="translateX("+a+")",i[p+"transition"]=p+"transform "+e+"s linear",t(".sl-image").css(i)},Z=function(t,e,a){var i={};i[p+"transform"]="translate("+t+","+e+") scale("+a+")",c.css(i)},z=function(t,e,a){return t<e?e:t>a?a:t},H=function(t,e,a){c.data("scale",t),c.data("translate-x",e),c.data("translate-y",a)},L=function(){t(e).on("resize."+E,F),t(a).on("click.simplelb touchstart."+E,".sl-close",function(t){h&&U()}),i.history&&setTimeout(function(){t(e).on("hashchange."+E,function(){h&&y()===C&&U()})},40),k.on("click."+E,"button",T(function(e){e.preventDefault(),l=0,K(t(this).hasClass("sl-next")?1:-1)},i.throttleInterval));var n,s,p,d,m,f,v,x,b,w,S,M,I,q,X,D,A,R,W,N,L,j,$,B,Q,G,J,V=0,_=0,tt=0,et=0,at=!1,it=!1,nt=0,st=!1,ot=z(1,1,i.maxZoom),lt=!1;O.on("touchstart.simplelb mousedown."+E,function(e){if("A"===e.target.tagName&&"touchstart"==e.type)return!0;if("mousedown"==(e=e.originalEvent).type)b=e.clientX,w=e.clientY,n=O.height(),s=O.width(),m=c.height(),f=c.width(),p=O.position().left,d=O.position().top,v=parseFloat(c.data("translate-x")),x=parseFloat(c.data("translate-y")),st=!0;else{if(J=e.touches.length,b=e.touches[0].clientX,w=e.touches[0].clientY,n=O.height(),s=O.width(),m=c.height(),f=c.width(),p=O.position().left,d=O.position().top,1===J){if(lt)return c.addClass("sl-transition"),at?(H(0,0,ot=1),Z("0px","0px",ot),at=!1):(ot=i.doubleTapZoom,H(0,0,ot),Z("0px","0px",ot),t(".sl-caption").fadeOut(200),at=!0),setTimeout(function(){c.removeClass("sl-transition")},200),!1;lt=!0,setTimeout(function(){lt=!1},300),v=parseFloat(c.data("translate-x")),x=parseFloat(c.data("translate-y"))}else 2===J&&(S=e.touches[1].clientX,M=e.touches[1].clientY,v=parseFloat(c.data("translate-x")),x=parseFloat(c.data("translate-y")),L=(b+S)/2,j=(w+M)/2,I=Math.sqrt((b-S)*(b-S)+(w-M)*(w-M)));st=!0}return!!it||(g&&(nt=parseInt(O.css("left"))),it=!0,l=0,r=0,V=e.pageX||e.touches[0].pageX,tt=e.pageY||e.touches[0].pageY,!1)}).on("touchmove.simplelb mousemove.simplelb MSPointerMove",function(e){if(!it)return!0;if(e.preventDefault(),"touchmove"==(e=e.originalEvent).type){if(!1===st)return!1;q=e.touches[0].clientX,X=e.touches[0].clientY,J=e.touches.length,0,J>1?(D=e.touches[1].clientX,A=e.touches[1].clientY,G=Math.sqrt((q-D)*(q-D)+(X-A)*(X-A)),null===I&&(I=G),Math.abs(I-G)>=1&&(N=z(G/I*ot,1,i.maxZoom),$=(f*N-s)/2,B=(m*N-n)/2,Q=N-ot,R=f*N<=s?0:z(v-(L-p-s/2-v)/(N-Q)*Q,-1*$,$),W=m*N<=n?0:z(x-(j-d-n/2-x)/(N-Q)*Q,-1*B,B),Z(R+"px",W+"px",N),N>1&&(at=!0,t(".sl-caption").fadeOut(200)),I=G,ot=N,v=R,x=W)):($=(f*(N=ot)-s)/2,B=(m*N-n)/2,R=f*N<=s?0:z(q-(b-v),-1*$,$),W=m*N<=n?0:z(X-(w-x),-1*B,B),Math.abs(R)===Math.abs($)&&(v=R,b=q),Math.abs(W)===Math.abs(B)&&(x=W,w=X),H(ot,R,W),Z(R+"px",W+"px",N))}if("mousemove"==e.type&&it){if("touchmove"==e.type)return!0;if(!1===st)return!1;q=e.clientX,X=e.clientY,$=(f*(N=ot)-s)/2,B=(m*N-n)/2,R=f*N<=s?0:z(q-(b-v),-1*$,$),W=m*N<=n?0:z(X-(w-x),-1*B,B),Math.abs(R)===Math.abs($)&&(v=R,b=q),Math.abs(W)===Math.abs(B)&&(x=W,w=X),H(ot,R,W),Z(R+"px",W+"px",N)}at||(_=e.pageX||e.touches[0].pageX,et=e.pageY||e.touches[0].pageY,l=V-_,r=tt-et,i.animationSlide&&(g?P(0,-l+"px"):O.css("left",nt-l+"px")))}).on("touchend.simplelb mouseup.simplelb touchcancel.simplelb mouseleave.simplelb pointerup pointercancel MSPointerUp MSPointerCancel",function(e){if(e=e.originalEvent,o&&"touchend"==e.type&&(0===(J=e.touches.length)?(H(ot,R,W),1==ot&&(at=!1,t(".sl-caption").fadeIn(200)),I=null,st=!1):1===J?(b=e.touches[0].clientX,w=e.touches[0].clientY):J>1&&(I=null)),it){it=!1;var a=!0;i.loop||(0===Y&&l<0&&(a=!1),Y>=u.length-1&&l>0&&(a=!1)),Math.abs(l)>i.swipeTolerance&&a?K(l>0?1:-1):i.animationSlide&&(g?P(i.animationSpeed/1e3,"0px"):O.animate({left:nt+"px"},i.animationSpeed/2)),i.swipeClose&&Math.abs(r)>50&&Math.abs(l)<i.swipeTolerance&&U()}}).on("dblclick",function(e){return b=e.clientX,w=e.clientY,n=O.height(),s=O.width(),m=c.height(),f=c.width(),p=O.position().left,d=O.position().top,c.addClass("sl-transition"),at?(H(0,0,ot=1),Z("0px","0px",ot),at=!1,t(".sl-caption").fadeIn(200)):(ot=i.doubleTapZoom,H(0,0,ot),Z("0px","0px",ot),t(".sl-caption").fadeOut(200),at=!0),setTimeout(function(){c.removeClass("sl-transition")},200),st=!0,!1})},j=function(){var e=Y+1<0?u.length-1:Y+1>=u.length-1?0:Y+1,a=Y-1<0?u.length-1:Y-1>=u.length-1?0:Y-1;t("<img />
1").attr("src",u.eq(e).attr(i.sourceAttr)).on("load",function(){-1==d.indexOf(t(this).attr("src"))&&d.push(t(this).attr("src")),u.eq(Y).trigger(t.Event("nextImageLoaded.simplelightbox"))}),t("<img />").attr("src",u.eq(a).attr(i.sourceAttr)).on("load",function(){-1==d.indexOf(t(this).attr("src"))&&d.push(t(this).attr("src")),u.eq(Y).trigger(t.Event("prevImageLoaded.simplelightbox"))})},K=function(e){u.eq(Y).trigger(t.Event("change.simplelightbox")).trigger(t.Event((1===e?"next":"prev")+".simplelightbox"));var a=Y+e;if(!(X||(a<0||a>=u.length)&&!1===i.loop)){Y=a<0?u.length-1:a>u.length-1?0:a,t(".sl-wrapper .sl-counter .sl-current").text(Y+1);var n={opacity:0};i.animationSlide&&(g?P(i.animationSpeed/1e3,-100*e-l+"px"):n.left=parseInt(t(".sl-image").css("left"))+-100*e+"px"),t(".sl-image").animate(n,i.animationSpeed,function(){setTimeout(function(){var a=u.eq(Y);c.attr("src",a.attr(i.sourceAttr)),-1==d.indexOf(a.attr(i.sourceAttr))&&I.show(),t(".sl-caption").remove(),F(e),i.preloading&&j()},100)})}},U=function(){if(!X){var s=u.eq(Y),o=!1;s.trigger(t.Event("close.simplelightbox")),i.history&&(v?history.pushState("",a.title,b.pathname+b.search):b.hash="",clearTimeout(n)),t(".sl-image img, .sl-overlay, .sl-close, .sl-navigation, .sl-image .sl-caption, .sl-counter").fadeOut("fast",function(){i.disableScroll&&$("show"),i.htmlClass&&""!=i.htmlClass&&t("html").removeClass(i.htmlClass),t(".sl-wrapper, .sl-overlay").remove(),k.off("click","button"),t(a).off("click."+E,".sl-close"),t(e).off("resize."+E),t(e).off("hashchange."+E),o||s.trigger(t.Event("closed.simplelightbox")),o=!0}),c=t(),h=!1,X=!1}},$=function(i){var n=0;if("hide"==i){var s=e.innerWidth;if(!s){var o=a.documentElement.getBoundingClientRect();s=o.right-Math.abs(o.left)}if(a.body.clientWidth<s){var l=a.createElement("div"),r=parseInt(t("body").css("padding-right"),10);l.className="sl-scrollbar-measure",t("body").append(l),n=l.offsetWidth-l.clientWidth,t(a.body)[0].removeChild(l),t("body").data("padding",r),n>0&&t("body").addClass("hidden-scroll").css({"padding-right":r+n})}}else t("body").removeClass("hidden-scroll").css({"padding-right":t("body").data("padding")});return n};return i.close&&M.appendTo(R),i.showCounter&&u.length>1&&(q.appendTo(R),q.find(".sl-total").text(u.length)),i.nav&&k.appendTo(R),i.spinner&&I.appendTo(R),u.on("click."+E,function(e){if(function(e){if(!i.fileExt)return!0;var a=t(e).attr(i.sourceAttr).match(/\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/gim);return a&&t(e).prop("tagName").toUpperCase()==m&&new RegExp(".("+i.fileExt+")$","i").test(a)}(this)){if(e.preventDefault(),X)return!1;var a=t(this);D=u.index(a),W(a)}}),t(a).on("click.simplelb touchstart."+E,function(e){h&&i.docClose&&0===t(e.target).closest(".sl-image").length&&0===t(e.target).closest(".sl-navigation").length&&U()}),i.disableRightClick&&t(a).on("contextmenu",".sl-image img",function(t){return!1}),i.enableKeyboard&&t(a).on("keyup."+E,T(function(t){l=0;var e=t.keyCode;X&&27==e&&(c.attr("src",""),X=!1,U()),h&&(t.preventDefault(),27==e&&U(),37!=e&&39!=t.keyCode||K(39==t.keyCode?1:-1))},i.throttleInterval)),this.open=function(e){e=e||t(this[0]),D=u.index(e),W(e)},this.next=function(){K(1)},this.prev=function(){K(-1)},this.close=function(){U()},this.destroy=function(){t(a).off("click."+E).off("keyup."+E),U(),t(".sl-overlay, .sl-wrapper").remove(),this.off("click")},this.refresh=function(){this.destroy(),t(this).simpleLightbox(i)},this}}(jQuery,window,document);
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.