1(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)})(function(me){me.fn.jScrollPane=function(o){function i(b,e){var w,y,k,C,T,B,D,te,oe,x,H,P,S,A,W,Y,z,ie,M,t,X,R,I,F,se,L,q,O,E,ne,V,re,G,ae,N=this,s=!0,n=!0,r=!1,a=!1,o=b.clone(!1,!1).empty(),le=me.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";function ce(e){var t,o,i,s,n,r,a,l,c,p,d,u,f,h,j,g=!1,v=!1;if(w=e,void 0===y)i=b.scrollTop(),s=b.scrollLeft(),b.css({overflow:"hidden",padding:0}),k=b.innerWidth()+G,C=b.innerHeight(),b.width(k),y=me('<div class="jspPane" />').css("padding",re).append(b.children()),T=me('<div class="jspContainer" />').css({width:k+"px",height:C+"px"}).append(y).appendTo(b);else{if(b.css("width",""),g=w.stickToBottom&&20<(n=D-C)&&n-_()<10,v=w.stickToRight&&20<(n=B-k)&&n-Z()<10,(n=b.innerWidth()+G!=k||b.outerHeight()!=C)&&(k=b.innerWidth()+G,C=b.innerHeight(),T.css({width:k+"px",height:C+"px"})),!n&&ae==B&&y.outerHeight()==D)return b.width(k);ae=B,y.css("width",""),b.width(k),T.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}function m(){var e=z,t=A;switch(u){case 40:N.scrollByY(w.keyboardSpeed,!1);break;case 38:N.scrollByY(-w.keyboardSpeed,!1);break;case 34:case 32:N.scrollByY(C*w.scrollPagePercent,!1);break;case 33:N.scrollByY(-C*w.scrollPagePercent,!1);break;case 39:N.scrollByX(w.keyboardSpeed,!1);break;case 37:N.scrollByX(-w.keyboardSpeed,!1)}f=e!=z||t!=A}y.css("overflow","auto"),B=e.contentWidth||y.width(),D=y[0].scrollHeight,y.css("overflow",""),x=1<(oe=D/C),(H=1<(te=B/k))||x?(b.addClass("jspScrollable"),(n=w.maintainPosition&&(A||z))&&(t=Z(),o=_()),x&&(T.append(me('<div class="jspVerticalBar" />').append(me('<div class="jspCap jspCapTop" />'),me('<div class="jspTrack" />').append(me('<div class="jspDrag" />').append(me('<div class="jspDragTop" />'),me('<div class="jspDragBottom" />'))),me('<div class="jspCap jspCapBottom" />'))),ie=T.find(">.jspVerticalBar"),M=ie.find(">.jspTrack"),P=M.find(">.jspDrag"),w.showArrows&&(I=me('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",K(0,-1)).bind("click.jsp",ee),F=me('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",K(0,1)).bind("click.jsp",ee),w.arrowScrollOnHover&&(I.bind("mouseover.jsp",K(0,-1,I)),F.bind("mouseover.jsp",K(0,1,F))),ue(M,w.verticalArrowPositions,I,F)),X=C,T.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){X-=me(this).outerHeight()}),P.hover(function(){P.addClass("jspHover")},function(){P.removeClass("jspHover")}).bind("mousedown.jsp",function(e){me("html").bind("dragstart.jsp selectstart.jsp",ee),P.addClass("jspActive");var t=e.pageY-P.position().top;return me("html").bind("mousemove.jsp",function(e){Q(e.pageY-t,!1)}).bind("mouseup.jsp mouseleave.jsp",he),!1}),pe()),H&&(T.append(me('<div class="jspHorizontalBar" />').append(me('<div class="jspCap jspCapLeft" />'),me('<div class="jspTrack" />').append(me('<div class="jspDrag" />').append(me('<div class="jspDragLeft" />'),me('<div class="jspDragRight" />'))),me('<div class="jspCap jspCapRight" />'))),se=T.find(">.jspHorizontalBar"),L=se.find(">.jspTrack"),W=L.find(">.jspDrag"),w.showArrows&&(E=me('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",K(-1,0)).bind("click.jsp",ee),ne=me('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",K(1,0)).bind("click.jsp",ee),w.arrowScrollOnHover&&(E.bind("mouseover.jsp",K(-1,0,E)),ne.bind("mouseover.jsp",K(1,0,ne))),ue(L,w.horizontalArrowPositions,E,ne)),W.hover(function(){W.addClass("jspHover")},function(){W.removeClass("jspHover")}).bind("mousedown.jsp",function(e){me("html").bind("dragstart.jsp selectstart.jsp",ee),W.addClass("jspActive");var t=e.pageX-W.position().left;return me("html").bind("mousemove.jsp",function(e){U(e.pageX-t,!1)}).bind("mouseup.jsp mouseleave.jsp",he),!1}),q=T.innerWidth(),de()),H&&x&&(e=L.outerHeight(),j=M.outerWidth(),X-=e,me(se).find(">.jspCap:visible,>.jspArrow").each(function(){q+=me(this).outerWidth()}),q-=j,C-=j,k-=e,L.parent().append(me('<div class="jspCorner" />').css("width",e+"px")),pe(),de()),H&&y.width(T.outerWidth()-G+"px"),D=y.outerHeight(),oe=D/C,H&&((O=Math.ceil(1/te*q))>w.horizontalDragMaxWidth?O=w.horizontalDragMaxWidth:O<w.horizontalDragMinWidth&&(O=w.horizontalDragMinWidth),W.width(O+"px"),Y=q-O,ge(z)),x&&((R=Math.ceil(1/oe*X))>w.verticalDragMaxHeight?R=w.verticalDragMaxHeight:R<w.verticalDragMinHeight&&(R=w.verticalDragMinHeight),P.height(R+"px"),S=X-R,je(A)),n&&(J(v?B-k:t,!1),$(g?D-C:o,!1)),y.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(e){ve(e.target,!1)}),T.unbind(le).bind(le,function(e,t,o,i){var s=z=z||0,n=A=A||0,e=e.deltaFactor||w.mouseWheelSpeed;return N.scrollBy(o*e,-i*e,!1),s==z&&n==A}
1),d=!1,T.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(e){e=e.originalEvent.touches[0];r=Z(),a=_(),l=e.pageX,c=e.pageY,d=!(p=!1)}).bind("touchmove.jsp",function(e){var t,o;if(d)return e=e.originalEvent.touches[0],t=z,o=A,N.scrollTo(r+l-e.pageX,a+c-e.pageY),p=p||5<Math.abs(l-e.pageX)||5<Math.abs(c-e.pageY),t==z&&o==A}).bind("touchend.jsp",function(e){d=!1}).bind("click.jsp-touchclick",function(e){if(p)return p=!1}),w.enableKeyboardNavigation&&(h=[],H&&h.push(se[0]),x&&h.push(ie[0]),y.bind("focus.jsp",function(){b.focus()}),b.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(e){if(e.target===this||h.length&&me(e.target).closest(h).length){var t=z,o=A;switch(e.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:u=e.keyCode,m();break;case 35:$(D-C),u=null;break;case 36:$(0),u=null}return!(f=e.keyCode==u&&t!=z||o!=A)}}).bind("keypress.jsp",function(e){if(e.keyCode==u&&m(),e.target===this||h.length&&me(e.target).closest(h).length)return!f}),w.hideFocus?(b.css("outline","none"),"hideFocus"in T[0]&&b.attr("hideFocus",!0)):(b.css("outline",""),"hideFocus"in T[0]&&b.attr("hideFocus",!1))),w.clickOnTrack&&(fe(),x&&M.bind("mousedown.jsp",function(i){var s,n,e,r,a,l,c;if(void 0===i.originalTarget||i.originalTarget==i.currentTarget)return e=(n=me(this)).offset(),r=i.pageY-e.top-A,a=!0,c=function(){s&&clearTimeout(s),s=null,me(document).unbind("mouseup.jsp",c)},(l=function(){var e=n.offset(),e=i.pageY-e.top-R/2,t=C*w.scrollPagePercent,o=S*t/(D-C);if(r<0)e<A-o?N.scrollByY(-t):Q(e);else{if(!(0<r))return void c();A+o<e?N.scrollByY(t):Q(e)}s=setTimeout(l,a?w.initialDelay:w.trackClickRepeatFreq),a=!1})(),me(document).bind("mouseup.jsp",c),!1}),H)&&L.bind("mousedown.jsp",function(i){var s,n,e,r,a,l,c;if(void 0===i.originalTarget||i.originalTarget==i.currentTarget)return e=(n=me(this)).offset(),r=i.pageX-e.left-z,a=!0,c=function(){s&&clearTimeout(s),s=null,me(document).unbind("mouseup.jsp",c)},(l=function(){var e=n.offset(),e=i.pageX-e.left-O/2,t=k*w.scrollPagePercent,o=Y*t/(B-k);if(r<0)e<z-o?N.scrollByX(-t):U(e);else{if(!(0<r))return void c();z+o<e?N.scrollByX(t):U(e)}s=setTimeout(l,a?w.initialDelay:w.trackClickRepeatFreq),a=!1})(),me(document).bind("mouseup.jsp",c),!1}),(()=>{if(location.hash&&1<location.hash.length){var e,t,o=escape(location.hash.substr(1));try{e=me("#"+o+', a[name="'+o+'"]')}catch(e){return}e.length&&y.find(o)&&(0===T.scrollTop()?t=setInterval(function(){0<T.scrollTop()&&(ve(e,!0),me(document).scrollTop(T.position().top),clearInterval(t))},50):(ve(e,!0),me(document).scrollTop(T.position().top)))}})(),w.hijackInternalLinks&&!me(document.body).data("jspHijack")&&(me(document.body).data("jspHijack",!0),me(document.body).delegate('a[href*="#"]',"click",function(e){var t,o=this.href.substr(0,this.href.indexOf("#")),i=location.href;if(o===(i=-1!==location.href.indexOf("#")?location.href.substr(0,location.href.indexOf("#")):i)){o=escape(this.href.substr(this.href.indexOf("#")+1));try{t=me("#"+o+', a[name="'+o+'"]')}catch(e){return}t.length&&((i=t.closest(".jspScrollable")).data("jsp").scrollToElement(t,!0),i[0].scrollIntoView&&(o=me(window).scrollTop(),(t=t.offset().top)<o||t>o+me(window).height())&&i[0].scrollIntoView(),e.preventDefault())}}))):(b.removeClass("jspScrollable"),y.css({top:0,left:0,width:T.width()-G}),T.unbind(le),y.find(":input,a").unbind("focus.jsp"),b.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),y.unbind(".jsp"),fe()),w.autoReinitialise&&!V?V=setInterval(function(){ce(w)},w.autoReinitialiseDelay):!w.autoReinitialise&&V&&clearInterval(V),i&&b.scrollTop(0)&&$(i,!1),s&&b.scrollLeft(0)&&J(s,!1),b.trigger("jsp-initialised",[H||x])}function pe(){M.height(X+"px"),A=0,t=w.verticalGutter+M.outerWidth(),y.width(k-t-G);try{0===ie.position().left&&y.css("margin-left",t+"px")}catch(e){}}function de(){T.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){q-=me(this).outerWidth()}),L.width(q+"px"),z=0}function ue(e,t,o,i){var s="before",n="after";(t="os"==t?/Mac/.test(navigator.platform)?"after":"split":t)==s?n=t:t==n&&(s=t,t=o,o=i,i=t),e[s](o)[n](i)}function K(l,c,p){return function(){return e=l,t=c,i=p,o=me(o=this).addClass("jspActive"),r=!0,(a=function(){0!==e&&N.scrollByX(e*w.arrowButtonSpeed),0!==t&&N.scrollByY(t*w.arrowButtonSpeed),n=setTimeout(a,r?w.initialDelay:w.arrowRepeatFreq),r=!1}
vendor: 4,126 bytes, line 1
1)(),s=i?"mouseout.jsp":"mouseup.jsp",(i=i||me("html")).bind(s,function(){o.removeClass("jspActive"),n&&clearTimeout(n),n=null,i.unbind(s)}),this.blur(),!1;var e,t,o,i,s,n,r,a}}function fe(){L&&L.unbind("mousedown.jsp"),M&&M.unbind("mousedown.jsp")}function he(){me("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),P&&P.removeClass("jspActive"),W&&W.removeClass("jspActive")}function Q(e,t){var o,i,s,n;x&&(e<0?e=0:S<e&&(e=S),o=new me.Event("jsp-will-scroll-y"),b.trigger(o,[e]),o.isDefaultPrevented()||(i=0===(o=e||0),s=o==S,n=-e/S*(D-C),(t=void 0===t?w.animateScroll:t)?N.animate(P,"top",e,je,function(){b.trigger("jsp-user-scroll-y",[-n,i,s])}):(P.css("top",e),je(e),b.trigger("jsp-user-scroll-y",[-n,i,s]))))}function je(e){void 0===e&&(e=P.position().top),T.scrollTop(0);var t,o=0===(A=e||0),i=A==S,e=-e/S*(D-C);s==o&&r==i||(s=o,r=i,b.trigger("jsp-arrow-change",[s,r,n,a])),t=i,w.showArrows&&(I[o?"addClass":"removeClass"]("jspDisabled"),F[t?"addClass":"removeClass"]("jspDisabled")),y.css("top",e),b.trigger("jsp-scroll-y",[-e,o,i]).trigger("scroll")}function U(e,t){var o,i,s,n;H&&(e<0?e=0:Y<e&&(e=Y),o=new me.Event("jsp-will-scroll-x"),b.trigger(o,[e]),o.isDefaultPrevented()||(i=0===(o=e||0),s=o==Y,n=-e/Y*(B-k),(t=void 0===t?w.animateScroll:t)?N.animate(W,"left",e,ge,function(){b.trigger("jsp-user-scroll-x",[-n,i,s])}):(W.css("left",e),ge(e),b.trigger("jsp-user-scroll-x",[-n,i,s]))))}function ge(e){void 0===e&&(e=W.position().left),T.scrollTop(0);var t,o=0===(z=e||0),i=z==Y,e=-e/Y*(B-k);n==o&&a==i||(n=o,a=i,b.trigger("jsp-arrow-change",[s,r,n,a])),t=i,w.showArrows&&(E[o?"addClass":"removeClass"]("jspDisabled"),ne[t?"addClass":"removeClass"]("jspDisabled")),y.css("left",e),b.trigger("jsp-scroll-x",[-e,o,i]).trigger("scroll")}function $(e,t){Q(e/(D-C)*S,t)}function J(e,t){U(e/(B-k)*Y,t)}function ve(e,t,o){var i,s,n,r,a,l,c=0,p=0;try{i=me(e)}catch(e){return}for(e=i.outerHeight(),s=i.outerWidth(),T.scrollTop(0),T.scrollLeft(0);!i.is(".jspPane");)if(c+=i.position().top,p+=i.position().left,i=i.offsetParent(),/^body|html$/i.test(i[0].nodeName))return;r=(n=_())+C,c<n||t?a=c-w.horizontalGutter:r<c+e&&(a=c-C+e+w.horizontalGutter),isNaN(a)||$(a,o),r=(n=Z())+k,p<n||t?l=p-w.horizontalGutter:r<p+s&&(l=p-k+s+w.horizontalGutter),isNaN(l)||J(l,o)}function Z(){return-y.position().left}function _(){return-y.position().top}function ee(){return!1}G="border-box"===b.css("box-sizing")?re=0:(re=b.css("paddingTop")+" "+b.css("paddingRight")+" "+b.css("paddingBottom")+" "+b.css("paddingLeft"),(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)),me.extend(N,{reinitialise:function(e){ce(e=me.extend({},w,e))},scrollToElement:function(e,t,o){ve(e,t,o)},scrollTo:function(e,t,o){J(e,o),$(t,o)},scrollToX:function(e,t){J(e,t)},scrollToY:function(e,t){$(e,t)},scrollToPercentX:function(e,t){J(e*(B-k),t)},scrollToPercentY:function(e,t){$(e*(D-C),t)},scrollBy:function(e,t,o){N.scrollByX(e,o),N.scrollByY(t,o)},scrollByX:function(e,t){U((Z()+Math[e<0?"floor":"ceil"](e))/(B-k)*Y,t)},scrollByY:function(e,t){Q((_()+Math[e<0?"floor":"ceil"](e))/(D-C)*S,t)},positionDragX:function(e,t){U(e,t)},positionDragY:function(e,t){Q(e,t)},animate:function(e,t,o,i,s){var n={};n[t]=o,e.animate(n,{duration:w.animateDuration,easing:w.animateEase,queue:!1,step:i,complete:s})},getContentPositionX:Z,getContentPositionY:_,getContentWidth:function(){return B},getContentHeight:function(){return D},getPercentScrolledX:function(){return Z()/(B-k)},getPercentScrolledY:function(){return _()/(D-C)},getIsScrollableH:function(){return H},getIsScrollableV:function(){return x},getContentPane:function(){return y},scrollToBottom:function(e){Q(S,e)},hijackInternalLinks:me.noop,destroy:function(){var e=_(),t=Z();b.removeClass("jspScrollable").unbind(".jsp"),y.unbind(".jsp"),b.replaceWith(o.append(y.children())),o.scrollTop(e),o.scrollLeft(t),V&&clearInterval(V)}}),ce(e)}return o=me.extend({},me.fn.jScrollPane.defaults,o),me.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){o[this]=o[this]||o.speed}),this.each(function(){var e=me(this),t=e.data("jsp");
1t?t.reinitialise(o):(me("script",e).filter('[type="text/javascript"],:not([type])').remove(),t=new i(e,o),e.data("jsp",t))})},me.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}});
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.