1/* Time: 9/23/2026 2:00:13 AM */ 2(function(){function j(){if(!h){var i='.resize-triggers { visibility: hidden; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',k=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css";if(l.styleSheet){l.styleSheet.cssText=i}else{l.appendChild(document.createTextNode(i))}k.appendChild(l)}}var a=document.attachEvent,h=false;if(!a){var c=function(){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(k){return window.setTimeout(k,20)};return function(e){return i(e)}}();var f=function(){var i=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(e){return i(e)}}();function b(k){var p=k.__resizeTriggers__,m=p.firstElementChild,o=p.lastElementChild,l=m.firstElementChild;o.scrollLeft=o.scrollWidth;o.scrollTop=o.scrollHeight;l.style.width=m.offsetWidth+1+"px";l.style.height=m.offsetHeight+1+"px";m.scrollLeft=m.scrollWidth;m.scrollTop=m.scrollHeight}function g(i){return i.offsetWidth!=i.__resizeLast__.width||i.offsetHeight!=i.__resizeLast__.height}function d(i){var k=this;b(this);if(this.__resizeRAF__){f(this.__resizeRAF__)}this.__resizeRAF__=c(function(){if(g(k)){k.__resizeLast__.width=k.offsetWidth;k.__resizeLast__.height=k.offsetHeight;k.__resizeListeners__.forEach(function(e){e.call(k,i)})}})}}window.addResizeListener=function(i,e){if(a){i.attachEvent("onresize",e)}else{if(!i.__resizeTriggers__){if(getComputedStyle(i).position=="static"){i.style.position="relative"}j();i.__resizeLast__={};i.__resizeListeners__=[];(i.__resizeTriggers__=document.createElement("div")).className="resize-triggers";i.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';i.appendChild(i.__resizeTriggers__);b(i);i.addEventListener("scroll",d,true)}i.__resizeListeners__.push(e)}};window.removeResizeListener=function(i,e){if(a){i.detachEvent("onresize",e)}else{i.__resizeListeners__.splice(i.__resizeListeners__.indexOf(e),1);if(!i.__resizeListeners__.length){i.removeEventListener("scroll",d);i.__resizeTriggers__=!i.removeChild(i.__resizeTriggers__)}}}})();!function(b){"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof exports?module.exports=b:b(jQuery)}(function(l){function m(a){var c=a||window.event,d=t.call(arguments,1),e=0,f=0,i=0,k=0,w=0,x=0;if(a=l.event.fix(c),a.type="mousewheel","detail" in c&&(i=-1*c.detail),"wheelDelta" in c&&(i=c.wheelDelta),"wheelDeltaY" in c&&(i=c.wheelDeltaY),"wheelDeltaX" in c&&(f=-1*c.wheelDeltaX),"axis" in c&&c.axis===c.HORIZONTAL_AXIS&&(f=-1*i,i=0),e=0===i?f:i,"deltaY" in c&&(i=-1*c.deltaY,e=i),"deltaX" in c&&(f=c.deltaX,0===i&&(e=-1*f)),0!==i||0!==f){if(1===c.deltaMode){var y=l.data(this,"mousewheel-line-height");e*=y,i*=y,f*=y}else{if(2===c.deltaMode){var z=l.data(this,"mousewheel-page-height");e*=z,i*=z,f*=z}}if(k=Math.max(Math.abs(i),Math.abs(f)),(!q||q>k)&&(q=k,o(c,k)&&(q/=40)),o(c,k)&&(e/=40,f/=40,i/=40),e=Math[e>=1?"floor":"ceil"](e/q),f=Math[f>=1?"floor":"ceil"](f/q),i=Math[i>=1?"floor":"ceil"](i/q),v.settings.normalizeOffset&&this.getBoundingClientRect){var A=this.getBoundingClientRect();w=a.clientX-A.left,x=a.clientY-A.top}return a.deltaX=f,a.deltaY=i,a.deltaFactor=q,a.offsetX=w,a.offsetY=x,a.deltaMode=0,d.unshift(a,e,f,i),p&&clearTimeout(p),p=setTimeout(n,200),(l.event.dispatch||l.event.handle).apply(this,d)}}function n(){q=null}function o(c,d){return v.settings.adjustOldDeltas&&"mousewheel"===c.type&&d%120===0}var p,q,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel" in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],t=Array.prototype.slice;if(l.event.fixHooks){for(var u=r.length;u;){l.event.fixHooks[r[--u]]=l.event.mouseHooks}}var v=l.event.special.mousewheel={version:"3.1.11",setup:function(){if(this.addEventListener){for(var a=s.length;a;){this.addEventListener(s[--a],m,!1)}}else{this.onmousewheel=m}l.data(this,"mousewheel-line-height",v.getLineHeight(this)),l.data(this,"mousewheel-page-height",v.getPageHeight(this))},teardown:function(){if(this.removeEventListener){for(var a=s.length;a;){this.removeEventListener(s[--a],m,!1)}}else{this.onmousewheel=null}l.removeData(this,"mousewheel-line-height"),l.removeData(this,"mousewheel-page-height")}
2,getLineHeight:function(a){var d=l(a)["offsetParent" in l.fn?"offsetParent":"parent"]();return d.length||(d=l("body")),parseInt(d.css("fontSize"),10)},getPageHeight:function(a){return l(a).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};l.fn.extend({mousewheel:function(b){return b?this.on("mousewheel",b):this.trigger("mousewheel")},unmousewheel:function(b){return this.off("mousewheel",b)}})});(function(e,d,f){(function(a){a(jQuery)}(function(s){var p="mCustomScrollbar",a="mCS",v=".mCustomScrollbar",q={setWidth:false,setHeight:false,setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:true,autoHideScrollbar:false,autoExpandScrollbar:false,alwaysShowScrollbar:0,snapAmount:null,snapOffset:0,mouseWheel:{enable:true,scrollAmount:"auto",axis:"y",preventDefault:false,deltaFactor:"auto",normalizeDelta:false,invert:false,disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{enable:false,scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:true,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,advanced:{autoExpandHorizontalScroll:false,autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:true,updateOnImageLoad:true,updateOnSelectorChange:false},theme:"light",callbacks:{onScrollStart:false,onScroll:false,onTotalScroll:false,onTotalScrollBack:false,whileScrolling:false,onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:true,onOverflowY:false,onOverflowX:false,onOverflowYNone:false,onOverflowXNone:false},live:false,liveSelector:null},u=0,x={},c=function(g){if(x[g]){clearTimeout(x[g]);r._delete.call(null,x[g])}},t=(e.attachEvent&&!e.addEventListener)?1:0,w=false,b={init:function(h){var h=s.extend(true,{},q,h),g=r._selector.call(this);if(h.live){var j=h.liveSelector||this.selector||v,i=s(j);if(h.live==="off"){c(j);return}x[j]=setTimeout(function(){i.mCustomScrollbar(h);if(h.live==="once"&&i.length){c(j)}},500)}else{c(j)}h.setWidth=(h.set_width)?h.set_width:h.setWidth;h.setHeight=(h.set_height)?h.set_height:h.setHeight;h.axis=(h.horizontalScroll)?"x":r._findAxis.call(null,h.axis);h.scrollInertia=h.scrollInertia>0&&h.scrollInertia<17?17:h.scrollInertia;if(typeof h.mouseWheel!=="object"&&h.mouseWheel==true){h.mouseWheel={enable:true,scrollAmount:"auto",axis:"y",preventDefault:false,deltaFactor:"auto",normalizeDelta:false,invert:false}}h.mouseWheel.scrollAmount=!h.mouseWheelPixels?h.mouseWheel.scrollAmount:h.mouseWheelPixels;h.mouseWheel.normalizeDelta=!h.advanced.normalizeMouseWheelDelta?h.mouseWheel.normalizeDelta:h.advanced.normalizeMouseWheelDelta;h.scrollButtons.scrollType=r._findScrollButtonsType.call(null,h.scrollButtons.scrollType);r._theme.call(null,h);return s(g).each(function(){var l=s(this);if(!l.data(a)){l.data(a,{idx:++u,opt:h,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:false,tweenRunning:false,sequential:{},langDir:l.css("direction"),cbOffsets:null,trigger:null});var n=l.data(a).opt,m=l.data("mcs-axis"),k=l.data("mcs-scrollbar-position"),o=l.data("mcs-theme");if(m){n.axis=m}if(k){n.scrollbarPosition=k}if(o){n.theme=o;r._theme.call(null,n)}r._pluginMarkup.call(this);b.update.call(null,l)}})},update:function(h){var g=h||r._selector.call(this);return s(g).each(function(){var k=s(this);if(k.data(a)){var m=k.data(a),l=m.opt,i=s("#mCSB_"+m.idx+"_container"),j=[s("#mCSB_"+m.idx+"_dragger_vertical"),s("#mCSB_"+m.idx+"_dragger_horizontal")];if(!i.length){return}if(m.tweenRunning){r._stop.call(null,k)}if(k.hasClass("mCS_disabled")){k.removeClass("mCS_disabled")}if(k.hasClass("mCS_destroyed")){k.removeClass("mCS_destroyed")}r._maxHeight.call(this);r._expandContentHorizontally.call(this);if(l.axis!=="y"&&!l.advanced.autoExpandHorizontalScroll){i.css("width",r._contentWidth(i.children()))}m.overflowed=r._overflowed.call(this);r._scrollbarVisibility.call(this);if(l.autoDraggerLength){r._setDraggerLength.call(this)}r._scrollRatio.call(this);r._bindEvents.call(this);var n=[Math.abs(i[0].offsetTop),Math.abs(i[0].offsetLeft)];if(l.axis!=="x"){if(!m.overflowed[0]){r._resetContentPosition.call(this);if(l.axis==="y"){r._unbindEvents.call(this)}else{if(l.axis==="yx"&&m.overflowed[1]){r._scrollTo.call(this,k,n[1].toString(),{dir:"x",dur:0,overwrite:"none"})}}}else{if(j[0].height()>j[0].parent().height()){r._resetContentPosition.call(this)}else{r._scrollTo.call(this,k,n[0].toString(),{dir:"y",dur:0,overwrite:"none"});
2m.contentReset.y=null}}}if(l.axis!=="y"){if(!m.overflowed[1]){r._resetContentPosition.call(this);if(l.axis==="x"){r._unbindEvents.call(this)}else{if(l.axis==="yx"&&m.overflowed[0]){r._scrollTo.call(this,k,n[0].toString(),{dir:"y",dur:0,overwrite:"none"})}}}else{if(j[1].width()>j[1].parent().width()){r._resetContentPosition.call(this)}else{r._scrollTo.call(this,k,n[1].toString(),{dir:"x",dur:0,overwrite:"none"});m.contentReset.x=null}}}r._autoUpdate.call(this)}})},scrollTo:function(i,h){if(typeof i=="undefined"||i==null){return}var g=r._selector.call(this);return s(g).each(function(){var l=s(this);if(l.data(a)){var o=l.data(a),n=o.opt,m={trigger:"external",scrollInertia:n.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:false,timeout:60,callbacks:true,onStart:true,onUpdate:true,onComplete:true},j=s.extend(true,{},m,h),z=r._arr.call(this,i),k=j.scrollInertia>0&&j.scrollInertia<17?17:j.scrollInertia;z[0]=r._to.call(this,z[0],"y");z[1]=r._to.call(this,z[1],"x");if(j.moveDragger){z[0]*=o.scrollRatio.y;z[1]*=o.scrollRatio.x}j.dur=k;setTimeout(function(){if(z[0]!==null&&typeof z[0]!=="undefined"&&n.axis!=="x"&&o.overflowed[0]){j.dir="y";j.overwrite="all";r._scrollTo.call(this,l,z[0].toString(),j)}if(z[1]!==null&&typeof z[1]!=="undefined"&&n.axis!=="y"&&o.overflowed[1]){j.dir="x";j.overwrite="none";r._scrollTo.call(this,l,z[1].toString(),j)}},j.timeout)}})},stop:function(){var g=r._selector.call(this);return s(g).each(function(){var h=s(this);if(h.data(a)){r._stop.call(null,h)}})},disable:function(h){var g=r._selector.call(this);return s(g).each(function(){var i=s(this);if(i.data(a)){var k=i.data(a),j=k.opt;r._autoUpdate.call(this,"remove");r._unbindEvents.call(this);if(h){r._resetContentPosition.call(this)}r._scrollbarVisibility.call(this,true);i.addClass("mCS_disabled")}})},destroy:function(){var g=r._selector.call(this);return s(g).each(function(){var j=s(this);if(j.data(a)){var l=j.data(a),k=l.opt,h=s("#mCSB_"+l.idx),i=s("#mCSB_"+l.idx+"_container"),m=s(".mCSB_"+l.idx+"_scrollbar");
2if(k.live){c(g)}r._autoUpdate.call(this,"remove");r._unbindEvents.call(this);r._resetContentPosition.call(this);j.removeData(a);r._delete.call(null,this.mcs);m.remove();h.replaceWith(i.contents());j.removeClass(p+" _"+a+"_"+l.idx+" mCS-autoHide mCS-dir-rtl mCS_no_scrollbar mCS_disabled").addClass("mCS_destroyed")}})}},r={_selector:function(){return(typeof s(this)!=="object"||s(this).length<1)?v:this},_theme:function(j){var i=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],h=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],g=["minimal","minimal-dark"],l=["minimal","minimal-dark"],k=["minimal","minimal-dark"];j.autoDraggerLength=s.inArray(j.theme,i)>-1?false:j.autoDraggerLength;j.autoExpandScrollbar=s.inArray(j.theme,h)>-1?false:j.autoExpandScrollbar;j.scrollButtons.enable=s.inArray(j.theme,g)>-1?false:j.scrollButtons.enable;j.autoHideScrollbar=s.inArray(j.theme,l)>-1?true:j.autoHideScrollbar;j.scrollbarPosition=s.inArray(j.theme,k)>-1?"outside":j.scrollbarPosition},_findAxis:function(g){return(g==="yx"||g==="xy"||g==="auto")?"yx":(g==="x"||g==="horizontal")?"x":"y"},_findScrollButtonsType:function(g){return(g==="stepped"||g==="pixels"||g==="step"||g==="click")?"stepped":"stepless"},_pluginMarkup:function(){var E=s(this),D=E.data(a),k=D.opt,m=k.autoExpandScrollbar?" mCSB_scrollTools_onDrag_expand":"",h=["<div id='mCSB_"+D.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+D.idx+"_scrollbar mCS-"+k.theme+" mCSB_scrollTools_vertical"+m+"'><div class='mCSB_draggerContainer'><div id='mCSB_"+D.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+D.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+D.idx+"_scrollbar mCS-"+k.theme+" mCSB_scrollTools_horizontal"+m+"'><div class='mCSB_draggerContainer'><div id='mCSB_"+D.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],n=k.axis==="yx"?"mCSB_vertical_horizontal":k.axis==="x"?"mCSB_horizontal":"mCSB_vertical",C=k.axis==="yx"?h[0]+h[1]:k.axis==="x"?h[1]:h[0],o=k.axis==="yx"?"<div id='mCSB_"+D.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",l=k.autoHideScrollbar?" mCS-autoHide":"",i=(k.axis!=="x"&&D.langDir==="rtl")?" mCS-dir-rtl":"";if(k.setWidth){E.css("width",k.setWidth)}if(k.setHeight){E.css("height",k.setHeight)}k.setLeft=(k.axis!=="y"&&D.langDir==="rtl")?"989999px":k.setLeft;E.addClass(p+" _"+a+"_"+D.idx+l+i).wrapInner("<div id='mCSB_"+D.idx+"' class='mCustomScrollBox mCS-"+k.theme+" "+n+"'><div id='mCSB_"+D.idx+"_container' class='mCSB_container' style='position:relative; top:"+k.setTop+"; left:"+k.setLeft+";' dir="+D.langDir+" /></div>");var j=s("#mCSB_"+D.idx),F=s("#mCSB_"+D.idx+"_container");if(k.axis!=="y"&&!k.advanced.autoExpandHorizontalScroll){F.css("width",r._contentWidth(F.children()))}if(k.scrollbarPosition==="outside"){if(E.css("position")==="static"){E.css("position","relative")}E.css("overflow","visible");j.addClass("mCSB_outside").after(C)}else{j.addClass("mCSB_inside").append(C);F.wrap(o)}r._scrollButtons.call(this);var g=[s("#mCSB_"+D.idx+"_dragger_vertical"),s("#mCSB_"+D.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height());g[1].css("min-width",g[1].width())},_contentWidth:function(g){return Math.max.apply(Math,g.map(function(){return s(this).outerWidth(true)}).get())},_expandContentHorizontally:function(){var h=s(this),j=h.data(a),i=j.opt,g=s("#mCSB_"+j.idx+"_container");if(i.advanced.autoExpandHorizontalScroll&&i.axis!=="y"){g.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:(Math.ceil(g[0].getBoundingClientRect().right+0.4)-Math.floor(g[0].getBoundingClientRect().left)),position:"relative"}).unwrap()}},_scrollButtons:function(){var j=s(this),l=j.data(a),k=l.opt,h=s(".mCSB_"+l.idx+"_scrollbar:first"),i=["<a href='#' class='mCSB_buttonUp' oncontextmenu='return false;' />","<a href='#' class='mCSB_buttonDown' oncontextmenu='return false;' />","<a href='#' class='mCSB_buttonLeft' oncontextmenu='return false;' />","<a href='#' class='mCSB_buttonRight' oncontextmenu='return false;' />"],g=[(k.axis==="x"?i[2]:i[0]),(k.axis==="x"?i[3]:i[1]),i[2],i[3]];if(k.scrollButtons.enable){h.prepend(g[0]).append(g[1]).next(".mCSB_scrollTools").prepend(g[2]).append(g[3])}},_maxHeight:function(){var k=s(this),n=k.data(a),m=n.opt,i=s("#mCSB_"+n.idx),h=k.css("max-height"),j=h.indexOf("%")!==-1,g=k.css("box-sizing");if(h!=="none"){var l=j?k.parent().height()*parseInt(h)/100:parseInt(h);if(g==="border-box"){l-=((k.innerHeight()-k.height())+(k.outerHeight()-k.innerHeight()))}i.css("max-height",Math.round(l))}},_setDraggerLength:function(){var l=s(this),j=l.data(a),g=s("#mCSB_"+j.idx),m=s("#mCSB_"+j.idx+"_container"),o=[s("#mCSB_"+j.idx+"_dragger_vertical"),s("#mCSB_"+j.idx+"_dragger_horizontal")],k=[g.height()/m.outerHeight(false),g.width()/m.outerWidth(false)],h=[parseInt(o[0].css("min-height")),Math.round(k[0]*o[0].parent().height()),parseInt(o[1].css("min-width")),Math.round(k[1]*o[1].parent().width())],i=t&&(h[1]<h[0])?h[0]:h[1],n=t&&(h[3]<h[2])?h[2]:h[3];o[0].css({height:i,"max-height":(o[0].parent().height()-10)}).find(".mCSB_dragger_bar").css({"line-height":h[0]+"px"});o[1].css({width:n,"max-width":(o[1].parent().width()-10)})},_scrollRatio:function(){var k=s(this),m=k.data(a),h=s("#mCSB_"+m.idx),i=s("#mCSB_"+m.idx+"_container"),j=[s("#mCSB_"+m.idx+"_dragger_vertical"),s("#mCSB_"+m.idx+"_dragger_horizontal")],l=[i.outerHeight(false)-h.height(),i.outerWidth(false)-h.width()],g=[l[0]/(j[0].parent().height()-j[0].height()),l[1]/(j[1].parent().width()-j[1].width())];m.scrollRatio={y:g[0],x:g[1]}},_onDragClasses:function(i,k,h){var j=h?"mCSB_dragger_onDrag_expanded":"",g=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag"],l=i.closest(".mCSB_scrollTools");if(k==="active"){i.toggleClass(g[0]+" "+j);l.toggleClass(g[1]);i[0]._draggable=i[0]._draggable?0:1}else{if(!i[0]._draggable){if(k==="hide"){i.removeClass(g[0]);l.removeClass(g[1])}else{i.addClass(g[0]);l.addClass(g[1])}}}},_overflowed:function(){var k=s(this),l=k.data(a),h=s("#mCSB_"+l.idx),j=s("#mCSB_"+l.idx+"_container"),i=l.overflowed==null?j.height():j.outerHeight(false),g=l.overflowed==null?j.width():j.outerWidth(false);return[i>h.height(),g>h.width()]},_resetContentPosition:function(){var k=s(this),m=k.data(a),l=m.opt,h=s("#mCSB_"+m.idx),i=s("#mCSB_"+m.idx+"_container"),j=[s("#mCSB_"+m.idx+"_dragger_vertical"),s("#mCSB_"+m.idx+"_dragger_horizontal")];r._stop(k);if((l.axis!=="x"&&!m.overflowed[0])||(l.axis==="y"&&m.overflowed[0])){j[0].add(i).css("top",0);r._scrollTo(k,"_resetY")}if((l.axis!=="y"&&!m.overflowed[1])||(l.axis==="x"&&m.overflowed[1])){var g=dx=0;if(m.langDir==="rtl"){g=h.width()-i.outerWidth(false);dx=Math.abs(g/m.scrollRatio.x)}i.css("left",g);j[1].css("left",dx);r._scrollTo(k,"_resetX")}},_bindEvents:function(){var i=s(this),k=i.data(a),j=k.opt;if(!k.bindEvents){r._draggable.call(this);if(j.contentTouchScroll){r._contentDraggable.call(this)}if(j.mouseWheel.enable){function h(){g=setTimeout(function(){if(!s.event.special.mousewheel){h()}else{clearTimeout(g);
2r._mousewheel.call(i[0])}},1000)}var g;h()}r._draggerRail.call(this);r._wrapperScroll.call(this);if(j.advanced.autoScrollOnFocus){r._focus.call(this)}if(j.scrollButtons.enable){r._buttons.call(this)}if(j.keyboard.enable){r._keyboard.call(this)}k.bindEvents=true}},_unbindEvents:function(){var j=s(this),k=j.data(a),g=a+"_"+k.idx,l=".mCSB_"+k.idx+"_scrollbar",i=s("#mCSB_"+k.idx+",#mCSB_"+k.idx+"_container,#mCSB_"+k.idx+"_container_wrapper,"+l+" .mCSB_draggerContainer,#mCSB_"+k.idx+"_dragger_vertical,#mCSB_"+k.idx+"_dragger_horizontal,"+l+">a"),h=s("#mCSB_"+k.idx+"_container");if(k.bindEvents){s(d).off("."+g);i.each(function(){s(this).off("."+g)});clearTimeout(j[0]._focusTimeout);r._delete.call(null,j[0]._focusTimeout);clearTimeout(k.sequential.step);r._delete.call(null,k.sequential.step);clearTimeout(h[0].onCompleteTimeout);r._delete.call(null,h[0].onCompleteTimeout);k.bindEvents=false}},_scrollbarVisibility:function(h){var k=s(this),m=k.data(a),l=m.opt,g=s("#mCSB_"+m.idx+"_container_wrapper"),i=g.length?g:s("#mCSB_"+m.idx+"_container"),n=[s("#mCSB_"+m.idx+"_scrollbar_vertical"),s("#mCSB_"+m.idx+"_scrollbar_horizontal")],j=[n[0].find(".mCSB_dragger"),n[1].find(".mCSB_dragger")];if(l.axis!=="x"){if(m.overflowed[0]&&!h){n[0].add(j[0]).add(n[0].children("a")).css("display","block");i.removeClass("mCS_no_scrollbar_y mCS_y_hidden")}else{if(l.alwaysShowScrollbar){if(l.alwaysShowScrollbar!==2){j[0].add(n[0].children("a")).css("display","none")}i.removeClass("mCS_y_hidden")}else{n[0].css("display","none");i.addClass("mCS_y_hidden")}i.addClass("mCS_no_scrollbar_y")}}if(l.axis!=="y"){if(m.overflowed[1]&&!h){n[1].add(j[1]).add(n[1].children("a")).css("display","block");i.removeClass("mCS_no_scrollbar_x mCS_x_hidden")}else{if(l.alwaysShowScrollbar){if(l.alwaysShowScrollbar!==2){j[1].add(n[1].children("a")).css("display","none")}i.removeClass("mCS_x_hidden")}else{n[1].css("display","none");i.addClass("mCS_x_hidden")}i.addClass("mCS_no_scrollbar_x")}}if(!m.overflowed[0]&&!m.overflowed[1]){k.addClass("mCS_no_scrollbar")}else{k.removeClass("mCS_no_scrollbar")}},_coordinates:function(h){var g=h.type;switch(g){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return[h.originalEvent.pageY,h.originalEvent.pageX];break;case"touchstart":case"touchmove":case"touchend":var i=h.originalEvent.touches[0]||h.originalEvent.changedTouches[0];return[i.pageY,i.pageX];break;default:return[h.pageY,h.pageX]}},_draggable:function(){var m=s(this),k=m.data(a),h=k.opt,j=a+"_"+k.idx,l=["mCSB_"+k.idx+"_dragger_vertical","mCSB_"+k.idx+"_dragger_horizontal"],n=s("#mCSB_"+k.idx+"_container"),o=s("#"+l[0]+",#"+l[1]),g,C,D;o.on("mousedown."+j+" touchstart."+j+" pointerdown."+j+" MSPointerDown."+j,function(H){H.stopImmediatePropagation();H.preventDefault();if(!r._mouseBtnLeft(H)){return}w=true;if(t){d.onselectstart=function(){return false}}B(false);r._stop(m);g=s(this);var I=g.offset(),J=r._coordinates(H)[0]-I.top,y=r._coordinates(H)[1]-I.left,A=g.height()+I.top,z=g.width()+I.left;if(J<A&&J>0&&y<z&&y>0){C=J;D=y}r._onDragClasses(g,"active",h.autoExpandScrollbar)}).on("touchmove."+j,function(z){z.stopImmediatePropagation();z.preventDefault();var A=g.offset(),F=r._coordinates(z)[0]-A.top,y=r._coordinates(z)[1]-A.left;i(C,D,F,y)});s(d).on("mousemove."+j+" pointermove."+j+" MSPointerMove."+j,function(z){if(g){var A=g.offset(),F=r._coordinates(z)[0]-A.top,y=r._coordinates(z)[1]-A.left;if(C===F){return}i(C,D,F,y)}}).add(o).on("mouseup."+j+" touchend."+j+" pointerup."+j+" MSPointerUp."+j,function(y){if(g){r._onDragClasses(g,"active",h.autoExpandScrollbar);g=null}w=false;if(t){d.onselectstart=null}B(true)});function B(y){var z=n.find("iframe");if(!z.length){return}var A=!y?"none":"auto";z.css("pointer-events",A)}function i(A,H,J,y){n[0].idleTimer=h.scrollInertia<233?250:0;if(g.attr("id")===l[1]){var z="x",I=((g[0].offsetLeft-H)+y)*k.scrollRatio.x}else{var z="y",I=((g[0].offsetTop-A)+J)*k.scrollRatio.y}r._scrollTo(m,I.toString(),{dir:z,drag:true})}},_contentDraggable:function(){var aa=s(this),O=aa.data(a),o=O.opt,l=a+"_"+O.idx,X=s("#mCSB_"+O.idx),ab=s("#mCSB_"+O.idx+"_container"),Y=[s("#mCSB_"+O.idx+"_dragger_vertical"),s("#mCSB_"+O.idx+"_dragger_horizontal")],k,m,P,Q,i=[],j=[],n,g,W,V,N,Z,T=0,S,U=o.axis==="yx"?"none":"all";ab.on("touchstart."+l+" pointerdown."+l+" MSPointerDown."+l,function(y){if(!r._pointerTouch(y)||w){return}var z=ab.offset();k=r._coordinates(y)[0]-z.top;m=r._coordinates(y)[1]-z.left}).on("touchmove."+l+" pointermove."+l+" MSPointerMove."+l,function(B){if(!r._pointerTouch(B)||w){return}B.stopImmediatePropagation();g=r._getTime();var A=X.offset(),D=r._coordinates(B)[0]-A.top,F=r._coordinates(B)[1]-A.left,C="mcsLinearOut";i.push(D);j.push(F);if(O.overflowed[0]){var z=Y[0].parent().height()-Y[0].height(),E=((k-D)>0&&(D-k)>-(z*O.scrollRatio.y))}if(O.overflowed[1]){var y=Y[1].parent().width()-Y[1].width(),G=((m-F)>0&&(F-m)>-(y*O.scrollRatio.x))}if(E||G){B.preventDefault()}
2Z=o.axis==="yx"?[(k-D),(m-F)]:o.axis==="x"?[null,(m-F)]:[(k-D),null];ab[0].idleTimer=250;if(O.overflowed[0]){h(Z[0],T,C,"y","all",true)}if(O.overflowed[1]){h(Z[1],T,C,"x",U,true)}});X.on("touchstart."+l+" pointerdown."+l+" MSPointerDown."+l,function(y){if(!r._pointerTouch(y)||w){return}y.stopImmediatePropagation();r._stop(aa);n=r._getTime();var z=X.offset();P=r._coordinates(y)[0]-z.top;Q=r._coordinates(y)[1]-z.left;i=[];j=[]}).on("touchend."+l+" pointerup."+l+" MSPointerUp."+l,function(A){if(!r._pointerTouch(A)||w){return}A.stopImmediatePropagation();W=r._getTime();var y=X.offset(),E=r._coordinates(A)[0]-y.top,G=r._coordinates(A)[1]-y.left;if((W-g)>30){return}N=1000/(W-n);var B="mcsEaseOut",C=N<2.5,H=C?[i[i.length-2],j[j.length-2]]:[0,0];V=C?[(E-H[0]),(G-H[1])]:[E-P,G-Q];var z=[Math.abs(V[0]),Math.abs(V[1])];N=C?[Math.abs(V[0]/4),Math.abs(V[1]/4)]:[N,N];var F=[Math.abs(ab[0].offsetTop)-(V[0]*R((z[0]/N[0]),N[0])),Math.abs(ab[0].offsetLeft)-(V[1]*R((z[1]/N[1]),N[1]))];Z=o.axis==="yx"?[F[0],F[1]]:o.axis==="x"?[null,F[1]]:[F[0],null];S=[(z[0]*4)+o.scrollInertia,(z[1]*4)+o.scrollInertia];var D=parseInt(o.contentTouchScroll)||0;Z[0]=z[0]>D?Z[0]:0;Z[1]=z[1]>D?Z[1]:0;if(O.overflowed[0]){h(Z[0],S[0],B,"y",U,false)}if(O.overflowed[1]){h(Z[1],S[1],B,"x",U,false)}});function R(A,y){var z=[y*1.5,y*2,y/1.5,y/2];if(A>90){return y>4?z[0]:z[3]}else{if(A>60){return y>3?z[3]:z[2]}else{if(A>30){return y>8?z[1]:y>6?z[0]:y>4?y:z[2]}else{return y>8?y:z[3]}}}}function h(A,C,D,z,y,B){if(!A){return}r._scrollTo(aa,A.toString(),{dur:C,scrollEasing:D,dir:z,overwrite:y,drag:B})}},_mousewheel:function(){var n=s(this),m=n.data(a);if(m){var g=m.opt,j=a+"_"+m.idx,h=s("#mCSB_"+m.idx),o=[s("#mCSB_"+m.idx+"_dragger_vertical"),s("#mCSB_"+m.idx+"_dragger_horizontal")],k=s("#mCSB_"+m.idx+"_container").find("iframe"),i=h;if(k.length){k.each(function(){var z=this;if(l(z)){i=i.add(s(z).contents().find("body"))}})}i.on("mousewheel."+j,function(K,O){r._stop(n);if(r._disableMousewheel(n,K.target)){return}var M=g.mouseWheel.deltaFactor!=="auto"?parseInt(g.mouseWheel.deltaFactor):(t&&K.deltaFactor<100)?100:K.deltaFactor||100;if(g.axis==="x"||g.mouseWheel.axis==="x"){var R="x",N=[Math.round(M*m.scrollRatio.x),parseInt(g.mouseWheel.scrollAmount)],J=g.mouseWheel.scrollAmount!=="auto"?N[1]:N[0]>=h.width()?h.width()*0.9:N[0],P=Math.abs(s("#mCSB_"+m.idx+"_container")[0].offsetLeft),L=o[1][0].offsetLeft,I=o[1].parent().width()-o[1].width(),Q=K.deltaX||K.deltaY||O}else{var R="y",N=[Math.round(M*m.scrollRatio.y),parseInt(g.mouseWheel.scrollAmount)],J=g.mouseWheel.scrollAmount!=="auto"?N[1]:N[0]>=h.height()?h.height()*0.9:N[0],P=Math.abs(s("#mCSB_"+m.idx+"_container")[0].offsetTop),L=o[0][0].offsetTop,I=o[0].parent().height()-o[0].height(),Q=K.deltaY||O}if((R==="y"&&!m.overflowed[0])||(R==="x"&&!m.overflowed[1])){return}if(g.mouseWheel.invert){Q=-Q}if(g.mouseWheel.normalizeDelta){Q=Q<0?-1:1}if((Q>0&&L!==0)||(Q<0&&L!==I)||g.mouseWheel.preventDefault){K.stopImmediatePropagation();K.preventDefault()}r._scrollTo(n,(P-(Q*J)).toString(),{dir:R})})}function l(F){var E=null;try{var D=F.contentDocument||F.contentWindow.document;E=D.body.innerHTML}catch(C){}return(E!==null)}},_disableMousewheel:function(i,k){var g=k.nodeName.toLowerCase(),h=i.data(a).opt.mouseWheel.disableOver,j=["select","textarea"];return s.inArray(g,h)>-1&&!(s.inArray(g,j)>-1&&!s(k).is(":focus"))},_draggerRail:function(){var j=s(this),k=j.data(a),h=a+"_"+k.idx,i=s("#mCSB_"+k.idx+"_container"),l=i.parent(),g=s(".mCSB_"+k.idx+"_scrollbar .mCSB_draggerContainer");g.on("touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(m){w=true}).on("touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(m){w=false}).on("click."+h,function(D){if(s(D.target).hasClass("mCSB_draggerContainer")||s(D.target).hasClass("mCSB_draggerRail")){r._stop(j);var o=s(this),C=o.find(".mCSB_dragger");if(o.parent(".mCSB_scrollTools_horizontal").length>0){if(!k.overflowed[1]){return}var n="x",B=D.pageX>C.offset().left?-1:1,m=Math.abs(i[0].offsetLeft)-(B*(l.width()*0.9))}else{if(!k.overflowed[0]){return}var n="y",B=D.pageY>C.offset().top?-1:1,m=Math.abs(i[0].offsetTop)-(B*(l.height()*0.9))}r._scrollTo(j,m.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}})},_focus:function(){var i=s(this),k=i.data(a),j=k.opt,g=a+"_"+k.idx,h=s("#mCSB_"+k.idx+"_container"),l=h.parent();h.on("focusin."+g,function(o){var n=s(d.activeElement),z=h.find(".mCustomScrollBox").length,m=0;if(!n.is(j.advanced.autoScrollOnFocus)){return}r._stop(i);clearTimeout(i[0]._focusTimeout);i[0]._focusTimer=z?(m+17)*z:0;i[0]._focusTimeout=setTimeout(function(){var E=[n.offset().top-h.offset().top,n.offset().left-h.offset().left],D=[h[0].offsetTop,h[0].offsetLeft],F=[(D[0]+E[0]>=0&&D[0]+E[0]<l.height()-n.outerHeight(false)),(D[1]+E[1]>=0&&D[0]+E[1]<l.width()-n.outerWidth(false))],y=(j.axis==="yx"&&!F[0]&&
2!F[1])?"none":"all";if(j.axis!=="x"&&!F[0]){r._scrollTo(i,E[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:y,dur:m})}if(j.axis!=="y"&&!F[1]){r._scrollTo(i,E[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:y,dur:m})}},i[0]._focusTimer)})},_wrapperScroll:function(){var h=s(this),i=h.data(a),g=a+"_"+i.idx,j=s("#mCSB_"+i.idx+"_container").parent();j.on("scroll."+g,function(k){j.scrollTop(0).scrollLeft(0)})},_buttons:function(){var l=s(this),n=l.data(a),m=n.opt,g=n.sequential,i=a+"_"+n.idx,k=s("#mCSB_"+n.idx+"_container"),j=".mCSB_"+n.idx+"_scrollbar",h=s(j+">a");h.on("mousedown."+i+" touchstart."+i+" pointerdown."+i+" MSPointerDown."+i+" mouseup."+i+" touchend."+i+" pointerup."+i+" MSPointerUp."+i+" mouseout."+i+" pointerout."+i+" MSPointerOut."+i+" click."+i,function(B){B.preventDefault();if(!r._mouseBtnLeft(B)){return}var A=s(this).attr("class");g.type=m.scrollButtons.scrollType;switch(B.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if(g.type==="stepped"){return}w=true;n.tweenRunning=false;o("on",A);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if(g.type==="stepped"){return}w=false;if(g.dir){o("off",A)}break;case"click":if(g.type!=="stepped"||n.tweenRunning){return}o("on",A);break}function o(y,z){g.scrollAmount=m.snapAmount||m.scrollButtons.scrollAmount;r._sequentialScroll.call(this,l,y,z)}})},_keyboard:function(){var l=s(this),k=l.data(a),h=k.opt,o=k.sequential,j=a+"_"+k.idx,i=s("#mCSB_"+k.idx),n=s("#mCSB_"+k.idx+"_container"),g=n.parent(),m="input,textarea,select,datalist,keygen,[contenteditable='true']";i.attr("tabindex","0").on("blur."+j+" keydown."+j+" keyup."+j,function(I){switch(I.type){case"blur":if(k.tweenRunning&&o.dir){K("off",null)}break;case"keydown":case"keyup":var F=I.keyCode?I.keyCode:I.which,G="on";if((h.axis!=="x"&&(F===38||F===40))||(h.axis!=="y"&&(F===37||F===39))){if(((F===38||F===40)&&!k.overflowed[0])||((F===37||F===39)&&!k.overflowed[1])){return}if(I.type==="keyup"){G="off"}if(!s(d.activeElement).is(m)){I.preventDefault();I.stopImmediatePropagation();K(G,F)}}else{if(F===33||F===34){if(k.overflowed[0]||k.overflowed[1]){I.preventDefault();I.stopImmediatePropagation()}if(I.type==="keyup"){r._stop(l);var H=F===34?-1:1;if(h.axis==="x"||(h.axis==="yx"&&k.overflowed[1]&&!k.overflowed[0])){var L="x",J=Math.abs(n[0].offsetLeft)-(H*(g.width()*0.9))}else{var L="y",J=Math.abs(n[0].offsetTop)-(H*(g.height()*0.9))}r._scrollTo(l,J.toString(),{dir:L,scrollEasing:"mcsEaseInOut"})}}else{if(F===35||F===36){if(!s(d.activeElement).is(m)){if(k.overflowed[0]||k.overflowed[1]){I.preventDefault();I.stopImmediatePropagation()}if(I.type==="keyup"){if(h.axis==="x"||(h.axis==="yx"&&k.overflowed[1]&&!k.overflowed[0])){var L="x",J=F===35?Math.abs(g.width()-n.outerWidth(false)):0}else{var L="y",J=F===35?Math.abs(g.height()-n.outerHeight(false)):0}r._scrollTo(l,J.toString(),{dir:L,scrollEasing:"mcsEaseInOut"})}}}}}break}function K(y,z){o.type=h.keyboard.scrollType;o.scrollAmount=h.snapAmount||h.keyboard.scrollAmount;if(o.type==="stepped"&&k.tweenRunning){return}r._sequentialScroll.call(this,l,y,z)}})},_sequentialScroll:function(i,l,j){var n=i.data(a),h=n.opt,z=n.sequential,o=s("#mCSB_"+n.idx+"_container"),g=z.type==="stepped"?true:false;switch(l){case"on":z.dir=[(j==="mCSB_buttonRight"||j==="mCSB_buttonLeft"||j===39||j===37?"x":"y"),(j==="mCSB_buttonUp"||j==="mCSB_buttonLeft"||j===38||j===37?-1:1)];r._stop(i);if(r._isNumeric(j)&&z.type==="stepped"){return}k(g);break;case"off":m();if(g||(n.tweenRunning&&z.dir)){k(true)}break}function k(T){var O=z.type!=="stepped",S=!T?1000/60:O?h.scrollInertia/1.5:h.scrollInertia,K=!T?2.5:O?7.5:40,R=[Math.abs(o[0].offsetTop),Math.abs(o[0].offsetLeft)],N=[n.scrollRatio.y>10?10:n.scrollRatio.y,n.scrollRatio.x>10?10:n.scrollRatio.x],L=z.dir[0]==="x"?R[1]+(z.dir[1]*(N[1]*K)):R[0]+(z.dir[1]*(N[0]*K)),Q=z.dir[0]==="x"?R[1]+(z.dir[1]*parseInt(z.scrollAmount)):R[0]+(z.dir[1]*parseInt(z.scrollAmount)),P=z.scrollAmount!=="auto"?Q:L,M=!T?"mcsLinear":O?"mcsLinearOut":"mcsEaseInOut",y=!T?false:true;if(T&&S<17){P=z.dir[0]==="x"?R[1]:R[0]}r._scrollTo(i,P.toString(),{dir:z.dir[0],scrollEasing:M,dur:S,onComplete:y});if(T){z.dir=false;return}clearTimeout(z.step);z.step=setTimeout(function(){k()},S)}function m(){clearTimeout(z.step);r._stop(i)}},_arr:function(i){var h=s(this).data(a).opt,g=[];if(typeof i==="function"){i=i()}if(!(i instanceof Array)){g[0]=i.y?i.y:i.x||h.axis==="x"?null:i;g[1]=i.x?i.x:i.y||h.axis==="y"?null:i}else{g=i.length>
21?[i[0],i[1]]:h.axis==="x"?[null,i[0]]:[i[0],null]}if(typeof g[0]==="function"){g[0]=g[0]()}if(typeof g[1]==="function"){g[1]=g[1]()}return g},_to:function(H,I){if(H==null||typeof H=="undefined"){return}var i=s(this),h=i.data(a),G=h.opt,j=s("#mCSB_"+h.idx+"_container"),n=j.parent(),l=typeof H;if(!I){I=G.axis==="x"?"x":"y"}var m=I==="x"?j.outerWidth(false):j.outerHeight(false),J=I==="x"?j.offset().left:j.offset().top,k=I==="x"?j[0].offsetLeft:j[0].offsetTop,L=I==="x"?"left":"top";switch(l){case"function":return H();break;case"object":if(H.nodeType){var g=I==="x"?s(H).offset().left:s(H).offset().top}else{if(H.jquery){if(!H.length){return}var g=I==="x"?H.offset().left:H.offset().top}}return g-J;break;case"string":case"number":if(r._isNumeric.call(null,H)){return Math.abs(H)}else{if(H.indexOf("%")!==-1){return Math.abs(m*parseInt(H)/100)}else{if(H.indexOf("-=")!==-1){return Math.abs(k-parseInt(H.split("-=")[1]))}else{if(H.indexOf("+=")!==-1){var o=(k+parseInt(H.split("+=")[1]));return o>=0?0:Math.abs(o)}else{if(H.indexOf("px")!==-1&&r._isNumeric.call(null,H.split("px")[0])){return Math.abs(H.split("px")[0])}else{if(H==="top"||H==="left"){return 0}else{if(H==="bottom"){return Math.abs(n.height()-j.outerHeight(false))}else{if(H==="right"){return Math.abs(n.width()-j.outerWidth(false))}else{if(H==="first"||H==="last"){var K=j.find(":"+H),g=I==="x"?s(K).offset().left:s(K).offset().top;return g-J}else{if(s(H).length){var g=I==="x"?s(H).offset().left:s(H).offset().top;return g-J}else{j.css(L,H);b.update.call(null,i[0]);return}}}}}}}}}}break}},_autoUpdate:function(I){var L=s(this),l=L.data(a),R=l.opt,N=s("#mCSB_"+l.idx+"_container");if(I){clearTimeout(N[0].autoUpdate);r._delete.call(null,N[0].autoUpdate);return}var K=N.parent(),o=[s("#mCSB_"+l.idx+"_scrollbar_vertical"),s("#mCSB_"+l.idx+"_scrollbar_horizontal")],j=function(){return[o[0].is(":visible")?o[0].outerHeight(true):0,o[1].is(":visible")?o[1].outerWidth(true):0]},k=Q(),P,M=[N.outerHeight(false),N.outerWidth(false),K.height(),K.width(),j()[0],j()[1]],n,h=m(),O;i();function i(){clearTimeout(N[0].autoUpdate);N[0].autoUpdate=setTimeout(function(){if(R.advanced.updateOnSelectorChange){P=Q();if(P!==k){J();k=P;return}}if(R.advanced.updateOnContentResize){n=[N.outerHeight(false),N.outerWidth(false),K.height(),K.width(),j()[0],j()[1]];if(n[0]!==M[0]||n[1]!==M[1]||n[2]!==M[2]||n[3]!==M[3]||n[4]!==M[4]||n[5]!==M[5]){J();M=n}}if(R.advanced.updateOnImageLoad){O=m();if(O!==h){N.find("img").each(function(){g(this.src)});h=O}}if(R.advanced.updateOnSelectorChange||R.advanced.updateOnContentResize||R.advanced.updateOnImageLoad){i()}},60)}function m(){var y=0;if(R.advanced.updateOnImageLoad){y=N.find("img").length}return y}function g(B){var y=new Image();function A(C,D){return function(){return D.apply(C,arguments)}}function z(){this.onload=null;J()}y.onload=A(y,z);y.src=B}function Q(){if(R.advanced.updateOnSelectorChange===true){R.advanced.updateOnSelectorChange="*"}var y=0,z=N.find(R.advanced.updateOnSelectorChange);if(R.advanced.updateOnSelectorChange&&z.length>0){z.each(function(){y+=s(this).height()+s(this).width()})}return y}function J(){clearTimeout(N[0].autoUpdate);b.update.call(null,L[0])}},_snapAmount:function(i,g,h){return(Math.round(i/g)*g-h)},_stop:function(g){var i=g.data(a),h=s("#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal");h.each(function(){r._stopTween.call(this)})},_scrollTo:function(Q,S,U){var o=Q.data(a),k=o.opt,j={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:false,dur:k.scrollInertia,overwrite:"all",callbacks:true,onStart:true,onUpdate:true,onComplete:true},U=s.extend(j,U),m=[U.dur,(U.drag?0:U.dur)],V=s("#mCSB_"+o.idx),h=s("#mCSB_"+o.idx+"_container"),N=k.callbacks.onTotalScrollOffset?r._arr.call(Q,k.callbacks.onTotalScrollOffset):[0,0],P=k.callbacks.onTotalScrollBackOffset?r._arr.call(Q,k.callbacks.onTotalScrollBackOffset):[0,0];o.trigger=U.trigger;if(S==="_resetY"&&!o.contentReset.y){if(T("onOverflowYNone")){k.callbacks.onOverflowYNone.call(Q[0])}o.contentReset.y=1}
2if(S==="_resetX"&&!o.contentReset.x){if(T("onOverflowXNone")){k.callbacks.onOverflowXNone.call(Q[0])}o.contentReset.x=1}if(S==="_resetY"||S==="_resetX"){return}if((o.contentReset.y||!Q[0].mcs)&&o.overflowed[0]){if(T("onOverflowY")){k.callbacks.onOverflowY.call(Q[0])}o.contentReset.x=null}if((o.contentReset.x||!Q[0].mcs)&&o.overflowed[1]){if(T("onOverflowX")){k.callbacks.onOverflowX.call(Q[0])}o.contentReset.x=null}if(k.snapAmount){S=r._snapAmount(S,k.snapAmount,k.snapOffset)}switch(U.dir){case"x":var X=s("#mCSB_"+o.idx+"_dragger_horizontal"),Z="left",i=h[0].offsetLeft,n=[V.width()-h.outerWidth(false),X.parent().width()-X.width()],R=[S,S===0?0:(S/o.scrollRatio.x)],O=N[1],M=P[1],g=O>0?O/o.scrollRatio.x:0,W=M>0?M/o.scrollRatio.x:0;break;case"y":var X=s("#mCSB_"+o.idx+"_dragger_vertical"),Z="top",i=h[0].offsetTop,n=[V.height()-h.outerHeight(false),X.parent().height()-X.height()],R=[S,S===0?0:(S/o.scrollRatio.y)],O=N[0],M=P[0],g=O>0?O/o.scrollRatio.y:0,W=M>0?M/o.scrollRatio.y:0;break}if(R[1]<0||(R[0]===0&&R[1]===0)){R=[0,0]}else{if(R[1]>=n[1]){R=[n[0],n[1]]}else{R[0]=-R[0]}}if(!Q[0].mcs){l()}clearTimeout(h[0].onCompleteTimeout);if(!o.tweenRunning&&((i===0&&R[0]>=0)||(i===n[0]&&R[0]<=n[0]))){return}r._tweenTo.call(null,X[0],Z,Math.round(R[1]),m[1],U.scrollEasing);r._tweenTo.call(null,h[0],Z,Math.round(R[0]),m[0],U.scrollEasing,U.overwrite,{onStart:function(){if(U.callbacks&&U.onStart&&!o.tweenRunning){if(T("onScrollStart")){l();k.callbacks.onScrollStart.call(Q[0])}o.tweenRunning=true;r._onDragClasses(X);o.cbOffsets=Y()}},onUpdate:function(){if(U.callbacks&&U.onUpdate){if(T("whileScrolling")){l();k.callbacks.whileScrolling.call(Q[0])}}},onComplete:function(){if(U.callbacks&&U.onComplete){if(k.axis==="yx"){clearTimeout(h[0].onCompleteTimeout)}var y=h[0].idleTimer||0;h[0].onCompleteTimeout=setTimeout(function(){if(T("onScroll")){l();k.callbacks.onScroll.call(Q[0])}if(T("onTotalScroll")&&R[1]>=n[1]-g&&o.cbOffsets[0]){l();k.callbacks.onTotalScroll.call(Q[0])}if(T("onTotalScrollBack")&&R[1]<=W&&o.cbOffsets[1]){l();k.callbacks.onTotalScrollBack.call(Q[0])}o.tweenRunning=false;h[0].idleTimer=0;r._onDragClasses(X,"hide")},y)}}});function T(y){return o&&k.callbacks[y]&&typeof k.callbacks[y]==="function"}function Y(){return[k.callbacks.alwaysTriggerOffsets||i>=n[0]+O,k.callbacks.alwaysTriggerOffsets||i<=-M]}function l(){var A=[h[0].offsetTop,h[0].offsetLeft],B=[X[0].offsetTop,X[0].offsetLeft],y=[h.outerHeight(false),h.outerWidth(false)],z=[V.height(),V.width()];Q[0].mcs={content:h,top:A[0],left:A[1],draggerTop:B[0],draggerLeft:B[1],topPct:Math.round((100*Math.abs(A[0]))/(Math.abs(y[0])-z[0])),leftPct:Math.round((100*Math.abs(A[1]))/(Math.abs(y[1])-z[1])),direction:U.dir}}},_tweenTo:function(P,S,Q,O,h,R,M){var M=M||{},n=M.onStart||function(){},i=M.onUpdate||function(){},o=M.onComplete||function(){},X=r._getTime(),V,T=0,k=P.offsetTop,l=P.style,g;if(S==="left"){k=P.offsetLeft}var W=Q-k;P._mcsstop=0;if(R!=="none"){j()}N();function L(){if(P._mcsstop){return}if(!T){n.call()}T=r._getTime()-X;m();if(T>=P._mcstime){P._mcstime=(T>P._mcstime)?T+V-(T-P._mcstime):T+V-1;if(P._mcstime<T+1){P._mcstime=T+1}}if(P._mcstime<O){P._mcsid=g(L)}else{o.call()}}function m(){if(O>0){P._mcscurrVal=U(P._mcstime,k,W,O,h);l[S]=Math.round(P._mcscurrVal)+"px"}else{l[S]=Q+"px"}i.call()}function N(){V=1000/60;P._mcstime=T+V;g=(!e.requestAnimationFrame)?function(y){m();return setTimeout(y,0.01)}:e.requestAnimationFrame;P._mcsid=g(L)}function j(){if(P._mcsid==null){return}if(!e.requestAnimationFrame){clearTimeout(P._mcsid)}else{e.cancelAnimationFrame(P._mcsid)}P._mcsid=null}function U(A,z,E,D,B){switch(B){case"linear":case"mcsLinear":return E*A/D+z;break;case"mcsLinearOut":A/=D;A--;return E*Math.sqrt(1-A*A)+z;break;case"easeInOutSmooth":A/=D/2;if(A<1){return E/2*A*A+z}A--;return -E/2*(A*(A-2)-1)+z;break;case"easeInOutStrong":A/=D/2;if(A<1){return E/2*Math.pow(2,10*(A-1))+z}A--;return E/2*(-Math.pow(2,-10*A)+2)+z;break;case"easeInOut":case"mcsEaseInOut":A/=D/2;if(A<1){return E/2*A*A*A+z}A-=2;return E/2*(A*A*A+2)+z;break;case"easeOutSmooth":A/=D;A--;return -E*(A*A*A*A-1)+z;break;case"easeOutStrong":return E*(-Math.pow(2,-10*A/D)+1)+z;break;case"easeOut":case"mcsEaseOut":default:var C=(A/=D)*A,y=C*A;return z+E*(0.499999999999997*y*C+-2.5*C*C+5.5*y+-6.5*C+4*A)}}},_getTime:function(){if(e.performance&&e.performance.now){return e.performance.now()}else{if(e.performance&&e.performance.webkitNow){return e.performance.webkitNow()}else{if(Date.now){return Date.now()}else{return new Date().getTime()}}}},_stopTween:function(){var g=this;if(g._mcsid==null){return}if(!e.requestAnimationFrame){clearTimeout(g._mcsid)}else{e.cancelAnimationFrame(g._mcsid)}g._mcsid=null;g._mcsstop=1},_delete:function(h){try{delete h}catch(g){h=null}},_mouseBtnLeft:function(g){return !(g.which&&g.which!==1)},_pointerTouch:function(h){var g=h.originalEvent.pointerType;return !(g&&g!=="touch"&&g!==2)},_isNumeric:function(g){return !isNaN(parseFloat(g))&&isFinite(g)}};s.fn[p]=function(g){if(b[g]){return b[g].apply(this,Array.prototype.slice.call(arguments,1
2))}else{if(typeof g==="object"||!g){return b.init.apply(this,arguments)}else{s.error("Method "+g+" does not exist")}}};s[p]=function(g){if(b[g]){return b[g].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof g==="object"||!g){return b.init.apply(this,arguments)}else{s.error("Method "+g+" does not exist")}}};s[p].defaults=q;e[p]=true;s(e).on("load",function(){s(v)[p]()})}))}(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.