<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(e){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var l=t||window.event,r=s.call(arguments,1),c=0,u=0,h=0,f=0,m=0,p=0;if((t=e.event.fix(l)).type="mousewheel","detail"in l&amp;&amp;(h=-1*l.detail),"wheelDelta"in l&amp;&amp;(h=l.wheelDelta),"wheelDeltaY"in l&amp;&amp;(h=l.wheelDeltaY),"wheelDeltaX"in l&amp;&amp;(u=-1*l.wheelDeltaX),"axis"in l&amp;&amp;l.axis===l.HORIZONTAL_AXIS&amp;&amp;(u=-1*h,h=0),c=0===h?u:h,"deltaY"in l&amp;&amp;(c=h=-1*l.deltaY),"deltaX"in l&amp;&amp;(u=l.deltaX,0===h&amp;&amp;(c=-1*u)),0!==h||0!==u){if(1===l.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,h*=g,u*=g}else if(2===l.deltaMode){var v=e.data(this,"mousewheel-page-height");c*=v,h*=v,u*=v}if(f=Math.max(Math.abs(h),Math.abs(u)),(!i||i&gt;f)&amp;&amp;(i=f,n(l,f)&amp;&amp;(i/=40)),n(l,f)&amp;&amp;(c/=40,u/=40,h/=40),c=Math[c&gt;=1?"floor":"ceil"](c/i),u=Math[u&gt;=1?"floor":"ceil"](u/i),h=Math[h&gt;=1?"floor":"ceil"](h/i),d.settings.normalizeOffset&amp;&amp;this.getBoundingClientRect){var x=this.getBoundingClientRect();m=t.clientX-x.left,p=t.clientY-x.top}return t.deltaX=u,t.deltaY=h,t.deltaFactor=i,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,u,h),a&amp;&amp;clearTimeout(a),a=setTimeout(o,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function o(){i=null}function n(e,t){return d.settings.adjustOldDeltas&amp;&amp;"mousewheel"===e.type&amp;&amp;t%120==0}var a,i,l=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode&gt;=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice;if(e.event.fixHooks)for(var c=l.length;c;)e.event.fixHooks[l[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var o=e(t),n=o["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var l=t||window.event,r=s.call(arguments,1),c=0,u=0,h=0,f=0,m=0,p=0;if((t=e.event.fix(l)).type="mousewheel","detail"in l&amp;&amp;(h=-1*l.detail),"wheelDelta"in l&amp;&amp;(h=l.wheelDelta),"wheelDeltaY"in l&amp;&amp;(h=l.wheelDeltaY),"wheelDeltaX"in l&amp;&amp;(u=-1*l.wheelDeltaX),"axis"in l&amp;&amp;l.axis===l.HORIZONTAL_AXIS&amp;&amp;(u=-1*h,h=0),c=0===h?u:h,"deltaY"in l&amp;&amp;(c=h=-1*l.deltaY),"deltaX"in l&amp;&amp;(u=l.deltaX,0===h&amp;&amp;(c=-1*u)),0!==h||0!==u){if(1===l.deltaMode){var g=e.data(this,"mousewheel-line-height");c*=g,h*=g,u*=g}else if(2===l.deltaMode){var v=e.data(this,"mousewheel-page-height");c*=v,h*=v,u*=v}if(f=Math.max(Math.abs(h),Math.abs(u)),(!i||i&gt;f)&amp;&amp;(i=f,n(l,f)&amp;&amp;(i/=40)),n(l,f)&amp;&amp;(c/=40,u/=40,h/=40),c=Math[c&gt;=1?"floor":"ceil"](c/i),u=Math[u&gt;=1?"floor":"ceil"](u/i),h=Math[h&gt;=1?"floor":"ceil"](h/i),d.settings.normalizeOffset&amp;&amp;this.getBoundingClientRect){var x=this.getBoundingClientRect();m=t.clientX-x.left,p=t.clientY-x.top}return t.deltaX=u,t.deltaY=h,t.deltaFactor=i,t.offsetX=m,t.offsetY=p,t.deltaMode=0,r.unshift(t,c,u,h),a&amp;&amp;clearTimeout(a),a=setTimeout(o,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function o(){i=null}function n(e,t){return d.settings.adjustOldDeltas&amp;&amp;"mousewheel"===e.type&amp;&amp;t%120==0}var a,i,l=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode&gt;=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice;if(e.event.fixHooks)for(var c=l.length;c;)e.event.fixHooks[l[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var o=r.length;o;)this.addEventListener(r[--o],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=r.length;o;)this.removeEventListener(r[--o],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var o=e(t),n=o["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(o.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],e):"undefined"!=typeof module&amp;&amp;module.exports?module.exports=e:e(jQuery,window,document)}(function(e){var t,o,n;t="function"==typeof define&amp;&amp;define.amd,o="undefined"!=typeof module&amp;&amp;module.exports,n="https:"==document.location.protocol?"https:":"http:",t||(o?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+n+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),function(){var t,o="mCustomScrollbar",n="mCS",a=".mCustomScrollbar",i={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},l=0,r={},s=window.attachEvent&amp;&amp;!window.addEventListener?1:0,c=!1,d=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],u={init:function(t){var t=e.extend(!0,{},i,t),o=h.call(this);if(t.live){var s=t.liveSelector||this.selector||a,c=e(s);if("off"===t.live)return void m(s);r[s]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&amp;&amp;c.length&amp;&amp;m(s)},500)}else m(s);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":p(t.axis),t.scrollInertia=t.scrollInertia&gt;0&amp;&amp;t.scrollInertia&lt;17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&amp;&amp;1==t.mouseWheel&amp;&amp;(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=g(t.scrollButtons.scrollType),f(t),e(o).each(function(){var o=e(this);if(!o.data(n)){o.data(n,{idx:++l,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:o.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var a=o.data(n),i=a.opt,r=o.data("mcs-axis"),s=o.data("mcs-scrollbar-position"),c=o.data("mcs-theme");r&amp;&amp;(i.axis=r),s&amp;&amp;(i.scrollbarPosition=s),c&amp;&amp;(i.theme=c,f(i)),v.call(this),a&amp;&amp;i.callbacks.onCreate&amp;&amp;"function"==typeof i.callbacks.onCreate&amp;&amp;i.callbacks.onCreate.call(this),e("#mCSB_"+a.idx+"_container img:not(."+d[2]+")").addClass(d[2]),u.update.call(null,o)}})},update:function(t,o){var a=t||h.call(this);return e(a).each(function(){var t=e(this);if(t.data(n)){var a=t.data(n),i=a.opt,l=e("#mCSB_"+a.idx+"_container"),r=e("#mCSB_"+a.idx),s=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];if(!l.length)return;a.tweenRunning&amp;&amp;V(t),o&amp;&amp;a&amp;&amp;i.callbacks.onBeforeUpdate&amp;&amp;"function"==typeof i.callbacks.onBeforeUpdate&amp;&amp;i.callbacks.onBeforeUpdate.call(this),t.hasClass(d[3])&amp;&amp;t.removeClass(d[3]),t.hasClass(d[4])&amp;&amp;t.removeClass(d[4]),r.css("max-height","none"),r.height()!==t.height()&amp;&amp;r.css("max-height",t.height()),w.call(this),"y"===i.axis||i.advanced.autoExpandHorizontalScroll||l.css("width",x(l)),a.overflowed=y.call(this),k.call(this),i.autoDraggerLength&amp;&amp;S.call(this),b.call(this),T.call(this);var c=[Math.abs(l[0].offsetTop),Math.abs(l[0].offsetLeft)];"x"!==i.axis&amp;&amp;(a.overflowed[0]?s[0].height()&gt;s[0].parent().height()?B.call(this):(Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),a.contentReset.y=null):(B.call(this),"y"===i.axis?M.call(this):"yx"===i.axis&amp;&amp;a.overflowed[1]&amp;&amp;Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==i.axis&amp;&amp;(a.overflowed[1]?s[1].width()&gt;s[1].parent().width()?B.call(this):(Q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),a.contentReset.x=null):(B.call(this),"x"===i.axis?M.call(this):"yx"===i.axis&amp;&amp;a.overflowed[0]&amp;&amp;Q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),o&amp;&amp;a&amp;&amp;(2===o&amp;&amp;i.callbacks.onImageLoad&amp;&amp;"function"==typeof i.callbacks.onImageLoad?i.callbacks.onImageLoad.call(this):3===o&amp;&amp;i.callbacks.onSelectorChange&amp;&amp;"function"==typeof i.callbacks.onSelectorChange?i.callbacks.onSelectorChange.call(this):i.callbacks.onUpdate&amp;&amp;"function"==typeof i.callbacks.onUpdate&amp;&amp;i.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(t,o){if(void 0!==t&amp;&amp;null!=t){var a=h.call(this);return e(a).each(function(){var a=e(this);if(a.data(n)){var i=a.data(n),l=i.opt,r={trigger:"external",scrollInertia:l.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},s=e.extend(!0,{},r,o),c=F.call(this,t),d=s.scrollInertia&gt;0&amp;&amp;s.scrollInertia&lt;17?17:s.scrollInertia;c[0]=q.call(this,c[0],"y"),c[1]=q.call(this,c[1],"x"),s.moveDragger&amp;&amp;(c[0]*=i.scrollRatio.y,c[1]*=i.scrollRatio.x),s.dur=ne()?0:d,setTimeout(function(){null!==c[0]&amp;&amp;void 0!==c[0]&amp;&amp;"x"!==l.axis&amp;&amp;i.overflowed[0]&amp;&amp;(s.dir="y",s.overwrite="all",Q(a,c[0].toString(),s)),null!==c[1]&amp;&amp;void 0!==c[1]&amp;&amp;"y"!==l.axis&amp;&amp;i.overflowed[1]&amp;&amp;(s.dir="x",s.overwrite="none",Q(a,c[1].toString(),s))},s.timeout)}})}},stop:function(){var t=h.call(this);return e(t).each(function(){var t=e(this);t.data(n)&amp;&amp;V(t)})},disable:function(t){var o=h.call(this);return e(o).each(function(){var o=e(this);o.data(n)&amp;&amp;(o.data(n),N.call(this,"remove"),M.call(this),t&amp;&amp;B.call(this),k.call(this,!0),o.addClass(d[3]))})},destroy:function(){var t=h.call(this);return e(t).each(function(){var a=e(this);if(a.data(n)){var i=a.data(n),l=i.opt,r=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),c=e(".mCSB_"+i.idx+"_scrollbar");l.live&amp;&amp;m(l.liveSelector||e(t).selector),N.call(this,"remove"),M.call(this),B.call(this),a.removeData(n),K(this,"mcs"),c.remove(),s.find("img."+d[2]).removeClass(d[2]),r.replaceWith(s.contents()),a.removeClass(o+" _"+n+"_"+i.idx+" "+d[6]+" "+d[7]+" "+d[5]+" "+d[3]).addClass(d[4])}})}},h=function(){return"object"!=typeof e(this)||e(this).length&lt;1?a:this},f=function(t){t.autoDraggerLength=!(e.inArray(t.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])&gt;-1)&amp;&amp;t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,["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"])&gt;-1)&amp;&amp;t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,["minimal","minimal-dark"])&gt;-1)&amp;&amp;t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,["minimal","minimal-dark"])&gt;-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,["minimal","minimal-dark"])&gt;-1?"outside":t.scrollbarPosition},m=function(e){r[e]&amp;&amp;(clearTimeout(r[e]),K(r,e))},p=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},g=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},v=function(){var t=e(this),a=t.data(n),i=a.opt,l=i.autoExpandScrollbar?" "+d[1]+"_expand":"",r=["&lt;div id='mCSB_"+a.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+a.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_vertical"+l+"'&gt;&lt;div class='"+d[12]+"'&gt;&lt;div id='mCSB_"+a.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'&gt;&lt;div class='mCSB_dragger_bar' /&gt;&lt;/div&gt;&lt;div class='mCSB_draggerRail' /&gt;&lt;/div&gt;&lt;/div&gt;","&lt;div id='mCSB_"+a.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+a.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_horizontal"+l+"'&gt;&lt;div class='"+d[12]+"'&gt;&lt;div id='mCSB_"+a.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'&gt;&lt;div class='mCSB_dragger_bar' /&gt;&lt;/div&gt;&lt;div class='mCSB_draggerRail' /&gt;&lt;/div&gt;&lt;/div&gt;"],s="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===i.axis?r[0]+r[1]:"x"===i.axis?r[1]:r[0],u="yx"===i.axis?"&lt;div id='mCSB_"+a.idx+"_container_wrapper' class='mCSB_container_wrapper' /&gt;":"",h=i.autoHideScrollbar?" "+d[6]:"",f="x"!==i.axis&amp;&amp;"rtl"===a.langDir?" "+d[7]:"";i.setWidth&amp;&amp;t.css("width",i.setWidth),i.setHeight&amp;&amp;t.css("height",i.setHeight),i.setLeft="y"!==i.axis&amp;&amp;"rtl"===a.langDir?"989999px":i.setLeft,t.addClass(o+" _"+n+"_"+a.idx+h+f).wrapInner("&lt;div id='mCSB_"+a.idx+"' class='mCustomScrollBox mCS-"+i.theme+" "+s+"'&gt;&lt;div id='mCSB_"+a.idx+"_container' class='mCSB_container' style='position:relative; top:"+i.setTop+"; left:"+i.setLeft+";' dir='"+a.langDir+"' /&gt;&lt;/div&gt;");var m=e("#mCSB_"+a.idx),p=e("#mCSB_"+a.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||p.css("width",x(p)),"outside"===i.scrollbarPosition?("static"===t.css("position")&amp;&amp;t.css("position","relative"),t.css("overflow","visible"),m.addClass("mCSB_outside").after(c)):(m.addClass("mCSB_inside").append(c),p.wrap(u)),_.call(this);var g=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},x=function(t){var o=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],n=t.parent().width();return o[0]&gt;n?o[0]:o[1]&gt;n?o[1]:"100%"},w=function(){var t=e(this),o=t.data(n),a=o.opt,i=e("#mCSB_"+o.idx+"_container");if(a.advanced.autoExpandHorizontalScroll&amp;&amp;"y"!==a.axis){i.css({width:"auto","min-width":0,"overflow-x":"scroll"});var l=Math.ceil(i[0].scrollWidth);3===a.advanced.autoExpandHorizontalScroll||2!==a.advanced.autoExpandHorizontalScroll&amp;&amp;l&gt;i.parent().width()?i.css({width:l,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("&lt;div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' /&gt;").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},_=function(){var t=e(this),o=t.data(n),a=o.opt,i=e(".mCSB_"+o.idx+"_scrollbar:first"),l=te(a.scrollButtons.tabindex)?"tabindex='"+a.scrollButtons.tabindex+"'":"",r=["&lt;a href='#' class='"+d[13]+"' "+l+" /&gt;","&lt;a href='#' class='"+d[14]+"' "+l+" /&gt;","&lt;a href='#' class='"+d[15]+"' "+l+" /&gt;","&lt;a href='#' class='"+d[16]+"' "+l+" /&gt;"],s=["x"===a.axis?r[2]:r[0],"x"===a.axis?r[3]:r[1],r[2],r[3]];a.scrollButtons.enable&amp;&amp;i.prepend(s[0]).append(s[1]).next(".mCSB_scrollTools").prepend(s[2]).append(s[3])},S=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],r=[a.height()/i.outerHeight(!1),a.width()/i.outerWidth(!1)],c=[parseInt(l[0].css("min-height")),Math.round(r[0]*l[0].parent().height()),parseInt(l[1].css("min-width")),Math.round(r[1]*l[1].parent().width())],d=s&amp;&amp;c[1]&lt;c[0]?c[0]:c[1],u=s&amp;&amp;c[3]&lt;c[2]?c[2]:c[3];l[0].css({height:d,"max-height":l[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),l[1].css({width:u,"max-width":l[1].parent().width()-10})},b=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],r=[i.outerHeight(!1)-a.height(),i.outerWidth(!1)-a.width()],s=[r[0]/(l[0].parent().height()-l[0].height()),r[1]/(l[1].parent().width()-l[1].width())];o.scrollRatio={y:s[0],x:s[1]}},C=function(e,t,o){var n=o?d[0]+"_expanded":"",a=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(d[0]+" "+n),a.toggleClass(d[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(d[0]),a.removeClass(d[1])):(e.addClass(d[0]),a.addClass(d[1])))},y=function(){var t=e(this),o=t.data(n),a=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),l=null==o.overflowed?i.height():i.outerHeight(!1),r=null==o.overflowed?i.width():i.outerWidth(!1),s=i[0].scrollHeight,c=i[0].scrollWidth;return s&gt;l&amp;&amp;(l=s),c&gt;r&amp;&amp;(r=c),[l&gt;a.height(),r&gt;a.width()]},B=function(){var t=e(this),o=t.data(n),a=o.opt,i=e("#mCSB_"+o.idx),l=e("#mCSB_"+o.idx+"_container"),r=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(V(t),("x"!==a.axis&amp;&amp;!o.overflowed[0]||"y"===a.axis&amp;&amp;o.overflowed[0])&amp;&amp;(r[0].add(l).css("top",0),Q(t,"_resetY")),"y"!==a.axis&amp;&amp;!o.overflowed[1]||"x"===a.axis&amp;&amp;o.overflowed[1]){var s=dx=0;"rtl"===o.langDir&amp;&amp;(s=i.width()-l.outerWidth(!1),dx=Math.abs(s/o.scrollRatio.x)),l.css("left",s),r[1].css("left",dx),Q(t,"_resetX")}},T=function(){var t,o=e(this),a=o.data(n),i=a.opt;a.bindEvents||(O.call(this),i.contentTouchScroll&amp;&amp;I.call(this),E.call(this),i.mouseWheel.enable&amp;&amp;function n(){t=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(t),L.call(o[0])):n()},100)}(),H.call(this),X.call(this),i.advanced.autoScrollOnFocus&amp;&amp;P.call(this),i.scrollButtons.enable&amp;&amp;Y.call(this),i.keyboard.enable&amp;&amp;j.call(this),a.bindEvents=!0)},M=function(){var t=e(this),o=t.data(n),a=o.opt,i=n+"_"+o.idx,l=".mCSB_"+o.idx+"_scrollbar",r=e("#mCSB_"+o.idx+",#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,"+l+" ."+d[12]+",#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal,"+l+"&gt;a"),s=e("#mCSB_"+o.idx+"_container");a.advanced.releaseDraggableSelectors&amp;&amp;r.add(e(a.advanced.releaseDraggableSelectors)),a.advanced.extraDraggableSelectors&amp;&amp;r.add(e(a.advanced.extraDraggableSelectors)),o.bindEvents&amp;&amp;(e(document).add(e(!A()||top.document)).unbind("."+i),r.each(function(){e(this).unbind("."+i)}),clearTimeout(t[0]._focusTimeout),K(t[0],"_focusTimeout"),clearTimeout(o.sequential.step),K(o.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),K(s[0],"onCompleteTimeout"),o.bindEvents=!1)},k=function(t){var o=e(this),a=o.data(n),i=a.opt,l=e("#mCSB_"+a.idx+"_container_wrapper"),r=l.length?l:e("#mCSB_"+a.idx+"_container"),s=[e("#mCSB_"+a.idx+"_scrollbar_vertical"),e("#mCSB_"+a.idx+"_scrollbar_horizontal")],c=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==i.axis&amp;&amp;(a.overflowed[0]&amp;&amp;!t?(s[0].add(c[0]).add(s[0].children("a")).css("display","block"),r.removeClass(d[8]+" "+d[10])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&amp;&amp;c[0].css("display","none"),r.removeClass(d[10])):(s[0].css("display","none"),r.addClass(d[10])),r.addClass(d[8]))),"y"!==i.axis&amp;&amp;(a.overflowed[1]&amp;&amp;!t?(s[1].add(c[1]).add(s[1].children("a")).css("display","block"),r.removeClass(d[9]+" "+d[11])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&amp;&amp;c[1].css("display","none"),r.removeClass(d[11])):(s[1].css("display","none"),r.addClass(d[11])),r.addClass(d[9]))),a.overflowed[0]||a.overflowed[1]?o.removeClass(d[5]):o.addClass(d[5])},D=function(t){var o=t.type,n=t.target.ownerDocument!==document&amp;&amp;null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,a=A()&amp;&amp;t.target.ownerDocument!==top.document&amp;&amp;null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(o){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return n?[t.originalEvent.pageY-n[0]+a[0],t.originalEvent.pageX-n[1]+a[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],l=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[i.screenY,i.screenX,l&gt;1]:[i.pageY,i.pageX,l&gt;1];default:return n?[t.pageY-n[0]+a[0],t.pageX-n[1]+a[1],!1]:[t.pageY,t.pageX,!1]}},O=function(){function t(e,t,n,a){if(f[0].idleTimer=d.scrollInertia&lt;233?250:0,o.attr("id")===h[1])var i="x",s=(o[0].offsetLeft-t+a)*r.scrollRatio.x;else var i="y",s=(o[0].offsetTop-e+n)*r.scrollRatio.y;Q(l,s.toString(),{dir:i,drag:!0})}var o,a,i,l=e(this),r=l.data(n),d=r.opt,u=n+"_"+r.idx,h=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],f=e("#mCSB_"+r.idx+"_container"),m=e("#"+h[0]+",#"+h[1]),p=d.advanced.releaseDraggableSelectors?m.add(e(d.advanced.releaseDraggableSelectors)):m,g=d.advanced.extraDraggableSelectors?e(!A()||top.document).add(e(d.advanced.extraDraggableSelectors)):e(!A()||top.document);m.bind("contextmenu."+u,function(e){e.preventDefault()}).bind("mousedown."+u+" touchstart."+u+" pointerdown."+u+" MSPointerDown."+u,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),$(t)){c=!0,s&amp;&amp;(document.onselectstart=function(){return!1}),W.call(f,!1),V(l);var n=(o=e(this)).offset(),r=D(t)[0]-n.top,u=D(t)[1]-n.left,h=o.height()+n.top,m=o.width()+n.left;h&gt;r&amp;&amp;r&gt;0&amp;&amp;m&gt;u&amp;&amp;u&gt;0&amp;&amp;(a=r,i=u),C(o,"active",d.autoExpandScrollbar)}}).bind("touchmove."+u,function(e){e.stopImmediatePropagation(),e.preventDefault();var n=o.offset(),l=D(e)[0]-n.top,r=D(e)[1]-n.left;t(a,i,l,r)}),e(document).add(g).bind("mousemove."+u+" pointermove."+u+" MSPointerMove."+u,function(e){if(o){var n=o.offset(),l=D(e)[0]-n.top,r=D(e)[1]-n.left;if(a===l&amp;&amp;i===r)return;t(a,i,l,r)}}).add(p).bind("mouseup."+u+" touchend."+u+" pointerup."+u+" MSPointerUp."+u,function(){o&amp;&amp;(C(o,"active",d.autoExpandScrollbar),o=null),c=!1,s&amp;&amp;(document.onselectstart=null),W.call(f,!0)})},I=function(){function o(e){if(!ee(e)||c||D(e)[2])t=0;else{t=1,b=0,C=0,d=1,y.removeClass("mCS_touch_action");var o=O.offset();u=D(e)[0]-o.top,h=D(e)[1]-o.left,z=[D(e)[0],D(e)[1]]}}function a(e){if(ee(e)&amp;&amp;!c&amp;&amp;!D(e)[2]&amp;&amp;(T.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!C||b)&amp;&amp;d)){g=G();var t=k.offset(),o=D(e)[0]-t.top,n=D(e)[1]-t.left,a="mcsLinearOut";if(E.push(o),L.push(n),z[2]=Math.abs(D(e)[0]-z[0]),z[3]=Math.abs(D(e)[1]-z[1]),B.overflowed[0])var i=I[0].parent().height()-I[0].height(),l=u-o&gt;0&amp;&amp;o-u&gt;-i*B.scrollRatio.y&amp;&amp;(2*z[3]&lt;z[2]||"yx"===T.axis);if(B.overflowed[1])var r=I[1].parent().width()-I[1].width(),f=h-n&gt;0&amp;&amp;n-h&gt;-r*B.scrollRatio.x&amp;&amp;(2*z[2]&lt;z[3]||"yx"===T.axis);l||f?(X||e.preventDefault(),b=1):(C=1,y.addClass("mCS_touch_action")),X&amp;&amp;e.preventDefault(),_="yx"===T.axis?[u-o,h-n]:"x"===T.axis?[null,h-n]:[u-o,null],O[0].idleTimer=250,B.overflowed[0]&amp;&amp;s(_[0],R,a,"y","all",!0),B.overflowed[1]&amp;&amp;s(_[1],R,a,"x",W,!0)}}function i(e){if(!ee(e)||c||D(e)[2])t=0;else{t=1,e.stopImmediatePropagation(),V(y),p=G();var o=k.offset();f=D(e)[0]-o.top,m=D(e)[1]-o.left,E=[],L=[]}}function l(e){if(ee(e)&amp;&amp;!c&amp;&amp;!D(e)[2]){d=0,e.stopImmediatePropagation(),b=0,C=0,v=G();var t=k.offset(),o=D(e)[0]-t.top,n=D(e)[1]-t.left;if(!(v-g&gt;30)){var a="mcsEaseOut",i=2.5&gt;(w=1e3/(v-p)),l=i?[E[E.length-2],L[L.length-2]]:[0,0];x=i?[o-l[0],n-l[1]]:[o-f,n-m];var u=[Math.abs(x[0]),Math.abs(x[1])];w=i?[Math.abs(x[0]/4),Math.abs(x[1]/4)]:[w,w];var h=[Math.abs(O[0].offsetTop)-x[0]*r(u[0]/w[0],w[0]),Math.abs(O[0].offsetLeft)-x[1]*r(u[1]/w[1],w[1])];_="yx"===T.axis?[h[0],h[1]]:"x"===T.axis?[null,h[1]]:[h[0],null],S=[4*u[0]+T.scrollInertia,4*u[1]+T.scrollInertia];var y=parseInt(T.contentTouchScroll)||0;_[0]=u[0]&gt;y?_[0]:0,_[1]=u[1]&gt;y?_[1]:0,B.overflowed[0]&amp;&amp;s(_[0],S[0],a,"y",W,!1),B.overflowed[1]&amp;&amp;s(_[1],S[1],a,"x",W,!1)}}}function r(e,t){var o=[1.5*t,2*t,t/1.5,t/2];return e&gt;90?t&gt;4?o[0]:o[3]:e&gt;60?t&gt;3?o[3]:o[2]:e&gt;30?t&gt;8?o[1]:t&gt;6?o[0]:t&gt;4?t:o[2]:t&gt;8?t:o[3]}function s(e,t,o,n,a,i){e&amp;&amp;Q(y,e.toString(),{dur:t,scrollEasing:o,dir:n,overwrite:a,drag:i})}var d,u,h,f,m,p,g,v,x,w,_,S,b,C,y=e(this),B=y.data(n),T=B.opt,M=n+"_"+B.idx,k=e("#mCSB_"+B.idx),O=e("#mCSB_"+B.idx+"_container"),I=[e("#mCSB_"+B.idx+"_dragger_vertical"),e("#mCSB_"+B.idx+"_dragger_horizontal")],E=[],L=[],R=0,W="yx"===T.axis?"none":"all",z=[],H=O.find("iframe"),P=["touchstart."+M+" pointerdown."+M+" MSPointerDown."+M,"touchmove."+M+" pointermove."+M+" MSPointerMove."+M,"touchend."+M+" pointerup."+M+" MSPointerUp."+M],X=void 0!==document.body.style.touchAction&amp;&amp;""!==document.body.style.touchAction;O.bind(P[0],function(e){o(e)}).bind(P[1],function(e){a(e)}),k.bind(P[0],function(e){i(e)}).bind(P[2],function(e){l(e)}),H.length&amp;&amp;H.each(function(){e(this).bind("load",function(){A(this)&amp;&amp;e(this.contentDocument||this.contentWindow.document).bind(P[0],function(e){o(e),i(e)}).bind(P[1],function(e){a(e)}).bind(P[2],function(e){l(e)})})})},E=function(){function o(e,t,o){s.type=o&amp;&amp;a?"stepped":"stepless",s.scrollAmount=10,U(i,e,t,"mcsLinearOut",o?60:null)}var a,i=e(this),l=i.data(n),r=l.opt,s=l.sequential,d=n+"_"+l.idx,u=e("#mCSB_"+l.idx+"_container"),h=u.parent();u.bind("mousedown."+d,function(){t||a||(a=1,c=!0)}).add(document).bind("mousemove."+d,function(e){if(!t&amp;&amp;a&amp;&amp;(window.getSelection?window.getSelection().toString():document.selection&amp;&amp;"Control"!=document.selection.type&amp;&amp;document.selection.createRange().text)){var n=u.offset(),i=D(e)[0]-n.top+u[0].offsetTop,c=D(e)[1]-n.left+u[0].offsetLeft;i&gt;0&amp;&amp;i&lt;h.height()&amp;&amp;c&gt;0&amp;&amp;c&lt;h.width()?s.step&amp;&amp;o("off",null,"stepped"):("x"!==r.axis&amp;&amp;l.overflowed[0]&amp;&amp;(0&gt;i?o("on",38):i&gt;h.height()&amp;&amp;o("on",40)),"y"!==r.axis&amp;&amp;l.overflowed[1]&amp;&amp;(0&gt;c?o("on",37):c&gt;h.width()&amp;&amp;o("on",39)))}}).bind("mouseup."+d+" dragend."+d,function(){t||(a&amp;&amp;(a=0,o("off",null)),c=!1)})},L=function(){function t(t,n){if(V(o),!z(o,t.target)){var l="auto"!==i.mouseWheel.deltaFactor?parseInt(i.mouseWheel.deltaFactor):s&amp;&amp;t.deltaFactor&lt;100?100:t.deltaFactor||100,d=i.scrollInertia;if("x"===i.axis||"x"===i.mouseWheel.axis)var u="x",h=[Math.round(l*a.scrollRatio.x),parseInt(i.mouseWheel.scrollAmount)],f="auto"!==i.mouseWheel.scrollAmount?h[1]:h[0]&gt;=r.width()?.9*r.width():h[0],m=Math.abs(e("#mCSB_"+a.idx+"_container")[0].offsetLeft),p=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),v="y"===i.mouseWheel.axis?t.deltaY||n:t.deltaX;else var u="y",h=[Math.round(l*a.scrollRatio.y),parseInt(i.mouseWheel.scrollAmount)],f="auto"!==i.mouseWheel.scrollAmount?h[1]:h[0]&gt;=r.height()?.9*r.height():h[0],m=Math.abs(e("#mCSB_"+a.idx+"_container")[0].offsetTop),p=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),v=t.deltaY||n;"y"===u&amp;&amp;!a.overflowed[0]||"x"===u&amp;&amp;!a.overflowed[1]||((i.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&amp;&amp;(v=-v),i.mouseWheel.normalizeDelta&amp;&amp;(v=0&gt;v?-1:1),(v&gt;0&amp;&amp;0!==p||0&gt;v&amp;&amp;p!==g||i.mouseWheel.preventDefault)&amp;&amp;(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor&lt;5&amp;&amp;!i.mouseWheel.normalizeDelta&amp;&amp;(f=t.deltaFactor,d=17),Q(o,(m-v*f).toString(),{dir:u,dur:d}))}}if(e(this).data(n)){var o=e(this),a=o.data(n),i=a.opt,l=n+"_"+a.idx,r=e("#mCSB_"+a.idx),c=[e("#mCSB_"+a.idx+"_dragger_vertical"),e("#mCSB_"+a.idx+"_dragger_horizontal")],d=e("#mCSB_"+a.idx+"_container").find("iframe");d.length&amp;&amp;d.each(function(){e(this).bind("load",function(){A(this)&amp;&amp;e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+l,function(e,o){t(e,o)})})}),r.bind("mousewheel."+l,function(e,o){t(e,o)})}},R=new Object,A=function(t){var o=!1,n=!1,a=null;if(void 0===t?n="#empty":void 0!==e(t).attr("id")&amp;&amp;(n=e(t).attr("id")),!1!==n&amp;&amp;void 0!==R[n])return R[n];if(t){try{var i=t.contentDocument||t.contentWindow.document;a=i.body.innerHTML}catch(e){}o=null!==a}else{try{var i=top.document;a=i.body.innerHTML}catch(e){}o=null!==a}return!1!==n&amp;&amp;(R[n]=o),o},W=function(e){var t=this.find("iframe");if(t.length){var o=e?"auto":"none";t.css("pointer-events",o)}},z=function(t,o){var a=o.nodeName.toLowerCase(),i=t.data(n).opt.mouseWheel.disableOver;return e.inArray(a,i)&gt;-1&amp;&amp;!(e.inArray(a,["select","textarea"])&gt;-1&amp;&amp;!e(o).is(":focus"))},H=function(){var t,o=e(this),a=o.data(n),i=n+"_"+a.idx,l=e("#mCSB_"+a.idx+"_container"),r=l.parent(),s=e(".mCSB_"+a.idx+"_scrollbar ."+d[12]);s.bind("mousedown."+i+" touchstart."+i+" pointerdown."+i+" MSPointerDown."+i,function(o){c=!0,e(o.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+i+" pointerup."+i+" MSPointerUp."+i,function(){c=!1}).bind("click."+i,function(n){if(t&amp;&amp;(t=0,e(n.target).hasClass(d[12])||e(n.target).hasClass("mCSB_draggerRail"))){V(o);var i=e(this),s=i.find(".mCSB_dragger");if(i.parent(".mCSB_scrollTools_horizontal").length&gt;0){if(!a.overflowed[1])return;var c="x",u=n.pageX&gt;s.offset().left?-1:1,h=Math.abs(l[0].offsetLeft)-u*(.9*r.width())}else{if(!a.overflowed[0])return;var c="y",u=n.pageY&gt;s.offset().top?-1:1,h=Math.abs(l[0].offsetTop)-u*(.9*r.height())}Q(o,h.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},P=function(){var t=e(this),o=t.data(n),a=o.opt,i=n+"_"+o.idx,l=e("#mCSB_"+o.idx+"_container"),r=l.parent();l.bind("focusin."+i,function(){var o=e(document.activeElement),n=l.find(".mCustomScrollBox").length;o.is(a.advanced.autoScrollOnFocus)&amp;&amp;(V(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=n?17*n:0,t[0]._focusTimeout=setTimeout(function(){var e=[oe(o)[0],oe(o)[1]],n=[l[0].offsetTop,l[0].offsetLeft],i=[n[0]+e[0]&gt;=0&amp;&amp;n[0]+e[0]&lt;r.height()-o.outerHeight(!1),n[1]+e[1]&gt;=0&amp;&amp;n[0]+e[1]&lt;r.width()-o.outerWidth(!1)],s="yx"!==a.axis||i[0]||i[1]?"all":"none";"x"===a.axis||i[0]||Q(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:s,dur:0}),"y"===a.axis||i[1]||Q(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:s,dur:0})},t[0]._focusTimer))})},X=function(){var t=e(this),o=t.data(n),a=n+"_"+o.idx,i=e("#mCSB_"+o.idx+"_container").parent();i.bind("scroll."+a,function(){0===i.scrollTop()&amp;&amp;0===i.scrollLeft()||e(".mCSB_"+o.idx+"_scrollbar").css("visibility","hidden")})},Y=function(){var t=e(this),o=t.data(n),a=o.opt,i=o.sequential,l=n+"_"+o.idx,r=".mCSB_"+o.idx+"_scrollbar",s=e(r+"&gt;a");s.bind("contextmenu."+l,function(e){e.preventDefault()}).bind("mousedown."+l+" touchstart."+l+" pointerdown."+l+" MSPointerDown."+l+" mouseup."+l+" touchend."+l+" pointerup."+l+" MSPointerUp."+l+" mouseout."+l+" pointerout."+l+" MSPointerOut."+l+" click."+l,function(n){function l(e,o){i.scrollAmount=a.scrollButtons.scrollAmount,U(t,e,o)}if(n.preventDefault(),$(n)){var r=e(this).attr("class");switch(i.type=a.scrollButtons.scrollType,n.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===i.type)return;c=!0,o.tweenRunning=!1,l("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===i.type)return;c=!1,i.dir&amp;&amp;l("off",r);break;case"click":if("stepped"!==i.type||o.tweenRunning)return;l("on",r)}}})},j=function(){function t(t){function n(e,t){l.type=i.keyboard.scrollType,l.scrollAmount=i.keyboard.scrollAmount,"stepped"===l.type&amp;&amp;a.tweenRunning||U(o,e,t)}switch(t.type){case"blur":a.tweenRunning&amp;&amp;l.dir&amp;&amp;n("off",null);break;case"keydown":case"keyup":var r=t.keyCode?t.keyCode:t.which,s="on";if("x"!==i.axis&amp;&amp;(38===r||40===r)||"y"!==i.axis&amp;&amp;(37===r||39===r)){if((38===r||40===r)&amp;&amp;!a.overflowed[0]||(37===r||39===r)&amp;&amp;!a.overflowed[1])return;"keyup"===t.type&amp;&amp;(s="off"),e(document.activeElement).is(u)||(t.preventDefault(),t.stopImmediatePropagation(),n(s,r))}else if(33===r||34===r){if((a.overflowed[0]||a.overflowed[1])&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){V(o);var h=34===r?-1:1;if("x"===i.axis||"yx"===i.axis&amp;&amp;a.overflowed[1]&amp;&amp;!a.overflowed[0])var f="x",m=Math.abs(c[0].offsetLeft)-h*(.9*d.width());else var f="y",m=Math.abs(c[0].offsetTop)-h*(.9*d.height());Q(o,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&amp;&amp;!e(document.activeElement).is(u)&amp;&amp;((a.overflowed[0]||a.overflowed[1])&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===i.axis||"yx"===i.axis&amp;&amp;a.overflowed[1]&amp;&amp;!a.overflowed[0])var f="x",m=35===r?Math.abs(d.width()-c.outerWidth(!1)):0;else var f="y",m=35===r?Math.abs(d.height()-c.outerHeight(!1)):0;Q(o,m.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var o=e(this),a=o.data(n),i=a.opt,l=a.sequential,r=n+"_"+a.idx,s=e("#mCSB_"+a.idx),c=e("#mCSB_"+a.idx+"_container"),d=c.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",h=c.find("iframe"),f=["blur."+r+" keydown."+r+" keyup."+r];h.length&amp;&amp;h.each(function(){e(this).bind("load",function(){A(this)&amp;&amp;e(this.contentDocument||this.contentWindow.document).bind(f[0],function(e){t(e)})})}),s.attr("tabindex","0").bind(f[0],function(e){t(e)})},U=function(t,o,a,i,l){function r(e){c.snapAmount&amp;&amp;(u.scrollAmount=c.snapAmount instanceof Array?"x"===u.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var o="stepped"!==u.type,n=l||(e?o?m/1.5:p:1e3/60),a=e?o?7.5:40:2.5,d=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],f=[s.scrollRatio.y&gt;10?10:s.scrollRatio.y,s.scrollRatio.x&gt;10?10:s.scrollRatio.x],g="x"===u.dir[0]?d[1]+u.dir[1]*(f[1]*a):d[0]+u.dir[1]*(f[0]*a),v="x"===u.dir[0]?d[1]+u.dir[1]*parseInt(u.scrollAmount):d[0]+u.dir[1]*parseInt(u.scrollAmount),x="auto"!==u.scrollAmount?v:g,w=i||(e?o?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),_=!!e;return e&amp;&amp;17&gt;n&amp;&amp;(x="x"===u.dir[0]?d[1]:d[0]),Q(t,x.toString(),{dir:u.dir[0],scrollEasing:w,dur:n,onComplete:_}),e?void(u.dir=!1):(clearTimeout(u.step),void(u.step=setTimeout(function(){r()},n)))}var s=t.data(n),c=s.opt,u=s.sequential,h=e("#mCSB_"+s.idx+"_container"),f="stepped"===u.type,m=c.scrollInertia&lt;26?26:c.scrollInertia,p=c.scrollInertia&lt;1?17:c.scrollInertia;switch(o){case"on":if(u.dir=[a===d[16]||a===d[15]||39===a||37===a?"x":"y",a===d[13]||a===d[15]||38===a||37===a?-1:1],V(t),te(a)&amp;&amp;"stepped"===u.type)return;r(f);break;case"off":clearTimeout(u.step),K(u,"step"),V(t),(f||s.tweenRunning&amp;&amp;u.dir)&amp;&amp;r(!0)}},F=function(t){var o=e(this).data(n).opt,a=[];return"function"==typeof t&amp;&amp;(t=t()),t instanceof Array?a=t.length&gt;1?[t[0],t[1]]:"x"===o.axis?[null,t[0]]:[t[0],null]:(a[0]=t.y?t.y:t.x||"x"===o.axis?null:t,a[1]=t.x?t.x:t.y||"y"===o.axis?null:t),"function"==typeof a[0]&amp;&amp;(a[0]=a[0]()),"function"==typeof a[1]&amp;&amp;(a[1]=a[1]()),a},q=function(t,o){if(null!=t&amp;&amp;void 0!==t){var a=e(this),i=a.data(n),l=i.opt,r=e("#mCSB_"+i.idx+"_container"),s=r.parent(),c=typeof t;o||(o="x"===l.axis?"x":"y");var d="x"===o?r.outerWidth(!1)-s.width():r.outerHeight(!1)-s.height(),h="x"===o?r[0].offsetLeft:r[0].offsetTop,f="x"===o?"left":"top";switch(c){case"function":return t();case"object":var m=t.jquery?t:e(t);if(!m.length)return;return"x"===o?oe(m)[1]:oe(m)[0];case"string":case"number":if(te(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(d*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(h-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var p=h+parseInt(t.split("+=")[1]);return p&gt;=0?0:Math.abs(p)}if(-1!==t.indexOf("px")&amp;&amp;te(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(s.height()-r.outerHeight(!1));if("right"===t)return Math.abs(s.width()-r.outerWidth(!1));if("first"===t||"last"===t){var m=r.find(":"+t);return"x"===o?oe(m)[1]:oe(m)[0]}return e(t).length?"x"===o?oe(e(t))[1]:oe(e(t))[0]:(r.css(f,t),void u.update.call(null,a[0]))}}},N=function(t){function o(e){clearTimeout(r[0].autoUpdate),u.update.call(null,a[0],e)}var a=e(this),i=a.data(n),l=i.opt,r=e("#mCSB_"+i.idx+"_container");return t?(clearTimeout(r[0].autoUpdate),void K(r[0],"autoUpdate")):void function t(){return clearTimeout(r[0].autoUpdate),0===a.parents("html").length?void(a=null):void(r[0].autoUpdate=setTimeout(function(){return l.advanced.updateOnSelectorChange&amp;&amp;(i.poll.change.n=function(){!0===l.advanced.updateOnSelectorChange&amp;&amp;(l.advanced.updateOnSelectorChange="*");var e=0,t=r.find(l.advanced.updateOnSelectorChange);return l.advanced.updateOnSelectorChange&amp;&amp;t.length&gt;0&amp;&amp;t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}(),i.poll.change.n!==i.poll.change.o)?(i.poll.change.o=i.poll.change.n,void o(3)):l.advanced.updateOnContentResize&amp;&amp;(i.poll.size.n=a[0].scrollHeight+a[0].scrollWidth+r[0].offsetHeight+a[0].offsetHeight+a[0].offsetWidth,i.poll.size.n!==i.poll.size.o)?(i.poll.size.o=i.poll.size.n,void o(1)):!l.advanced.updateOnImageLoad||"auto"===l.advanced.updateOnImageLoad&amp;&amp;"y"===l.axis||(i.poll.img.n=r.find("img").length,i.poll.img.n===i.poll.img.o)?void((l.advanced.updateOnSelectorChange||l.advanced.updateOnContentResize||l.advanced.updateOnImageLoad)&amp;&amp;t()):(i.poll.img.o=i.poll.img.n,void r.find("img").each(function(){!function(t){if(e(t).hasClass(d[2]))o();else{var n=new Image;n.onload=function(e,t){return function(){return t.apply(e,arguments)}}(n,function(){this.onload=null,e(t).addClass(d[2]),o(2)}),n.src=t.src}}(this)}))},l.advanced.autoUpdateTimeout))}()},V=function(t){var o=t.data(n),a=e("#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal");a.each(function(){J.call(this)})},Q=function(t,o,a){function i(e){return r&amp;&amp;s.callbacks[e]&amp;&amp;"function"==typeof s.callbacks[e]}function l(){var e=[h[0].offsetTop,h[0].offsetLeft],o=[v[0].offsetTop,v[0].offsetLeft],n=[h.outerHeight(!1),h.outerWidth(!1)],i=[u.height(),u.width()];t[0].mcs={content:h,top:e[0],left:e[1],draggerTop:o[0],draggerLeft:o[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(n[0])-i[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(n[1])-i[1])),direction:a.dir}}var r=t.data(n),s=r.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:s.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},a=e.extend(c,a),d=[a.dur,a.drag?0:a.dur],u=e("#mCSB_"+r.idx),h=e("#mCSB_"+r.idx+"_container"),f=h.parent(),m=s.callbacks.onTotalScrollOffset?F.call(t,s.callbacks.onTotalScrollOffset):[0,0],p=s.callbacks.onTotalScrollBackOffset?F.call(t,s.callbacks.onTotalScrollBackOffset):[0,0];if(r.trigger=a.trigger,0===f.scrollTop()&amp;&amp;0===f.scrollLeft()||(e(".mCSB_"+r.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==o||r.contentReset.y||(i("onOverflowYNone")&amp;&amp;s.callbacks.onOverflowYNone.call(t[0]),r.contentReset.y=1),"_resetX"!==o||r.contentReset.x||(i("onOverflowXNone")&amp;&amp;s.callbacks.onOverflowXNone.call(t[0]),r.contentReset.x=1),"_resetY"!==o&amp;&amp;"_resetX"!==o){if(!r.contentReset.y&amp;&amp;t[0].mcs||!r.overflowed[0]||(i("onOverflowY")&amp;&amp;s.callbacks.onOverflowY.call(t[0]),r.contentReset.x=null),!r.contentReset.x&amp;&amp;t[0].mcs||!r.overflowed[1]||(i("onOverflowX")&amp;&amp;s.callbacks.onOverflowX.call(t[0]),r.contentReset.x=null),s.snapAmount){var g=s.snapAmount instanceof Array?"x"===a.dir?s.snapAmount[1]:s.snapAmount[0]:s.snapAmount;o=function(e,t,o){return Math.round(e/t)*t-o}(o,g,s.snapOffset)}switch(a.dir){case"x":var v=e("#mCSB_"+r.idx+"_dragger_horizontal"),x="left",w=h[0].offsetLeft,_=[u.width()-h.outerWidth(!1),v.parent().width()-v.width()],S=[o,0===o?0:o/r.scrollRatio.x],b=m[1],y=p[1],B=b&gt;0?b/r.scrollRatio.x:0,T=y&gt;0?y/r.scrollRatio.x:0;break;case"y":var v=e("#mCSB_"+r.idx+"_dragger_vertical"),x="top",w=h[0].offsetTop,_=[u.height()-h.outerHeight(!1),v.parent().height()-v.height()],S=[o,0===o?0:o/r.scrollRatio.y],b=m[0],y=p[0],B=b&gt;0?b/r.scrollRatio.y:0,T=y&gt;0?y/r.scrollRatio.y:0}S[1]&lt;0||0===S[0]&amp;&amp;0===S[1]?S=[0,0]:S[1]&gt;=_[1]?S=[_[0],_[1]]:S[0]=-S[0],t[0].mcs||(l(),i("onInit")&amp;&amp;s.callbacks.onInit.call(t[0])),clearTimeout(h[0].onCompleteTimeout),Z(v[0],x,Math.round(S[1]),d[1],a.scrollEasing),!r.tweenRunning&amp;&amp;(0===w&amp;&amp;S[0]&gt;=0||w===_[0]&amp;&amp;S[0]&lt;=_[0])||Z(h[0],x,Math.round(S[0]),d[0],a.scrollEasing,a.overwrite,{onStart:function(){a.callbacks&amp;&amp;a.onStart&amp;&amp;!r.tweenRunning&amp;&amp;(i("onScrollStart")&amp;&amp;(l(),s.callbacks.onScrollStart.call(t[0])),r.tweenRunning=!0,C(v),r.cbOffsets=[s.callbacks.alwaysTriggerOffsets||w&gt;=_[0]+b,s.callbacks.alwaysTriggerOffsets||-y&gt;=w])},onUpdate:function(){a.callbacks&amp;&amp;a.onUpdate&amp;&amp;i("whileScrolling")&amp;&amp;(l(),s.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(a.callbacks&amp;&amp;a.onComplete){"yx"===s.axis&amp;&amp;clearTimeout(h[0].onCompleteTimeout);var e=h[0].idleTimer||0;h[0].onCompleteTimeout=setTimeout(function(){i("onScroll")&amp;&amp;(l(),s.callbacks.onScroll.call(t[0])),i("onTotalScroll")&amp;&amp;S[1]&gt;=_[1]-B&amp;&amp;r.cbOffsets[0]&amp;&amp;(l(),s.callbacks.onTotalScroll.call(t[0])),i("onTotalScrollBack")&amp;&amp;S[1]&lt;=T&amp;&amp;r.cbOffsets[1]&amp;&amp;(l(),s.callbacks.onTotalScrollBack.call(t[0])),r.tweenRunning=!1,h[0].idleTimer=0,C(v,"hide")},e)}}})}},Z=function(e,t,o,n,a,i,l){function r(){x.stop||(p||u.call(),p=G()-m,s(),p&gt;=x.time&amp;&amp;(x.time=p&gt;x.time?p+c-(p-x.time):p+c-1,x.time&lt;p+1&amp;&amp;(x.time=p+1)),x.time&lt;n?x.id=d(r):f.call())}function s(){n&gt;0?(x.currVal=function(e,t,o,n,a){switch(a){case"linear":case"mcsLinear":return o*e/n+t;case"mcsLinearOut":return e/=n,e--,o*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return 1&gt;(e/=n/2)?o/2*e*e+t:-o/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return 1&gt;(e/=n/2)?o/2*Math.pow(2,10*(e-1))+t:(e--,o/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return 1&gt;(e/=n/2)?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=n,-o*(--e*e*e*e-1)+t;case"easeOutStrong":return o*(1-Math.pow(2,-10*e/n))+t;case"easeOut":case"mcsEaseOut":default:var i=(e/=n)*e,l=i*e;return t+o*(.499999999999997*l*i+-2.5*i*i+5.5*l+-6.5*i+4*e)}}(x.time,g,w,n,a),v[t]=Math.round(x.currVal)+"px"):v[t]=o+"px",h.call()}e._mTween||(e._mTween={top:{},left:{}});var c,d,l=l||{},u=l.onStart||function(){},h=l.onUpdate||function(){},f=l.onComplete||function(){},m=G(),p=0,g=e.offsetTop,v=e.style,x=e._mTween[t];"left"===t&amp;&amp;(g=e.offsetLeft);var w=o-g;x.stop=0,"none"!==i&amp;&amp;null!=x.id&amp;&amp;(window.requestAnimationFrame?window.cancelAnimationFrame(x.id):clearTimeout(x.id),x.id=null),c=1e3/60,x.time=p+c,d=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return s(),setTimeout(e,.01)},x.id=d(r)},G=function(){return window.performance&amp;&amp;window.performance.now?window.performance.now():window.performance&amp;&amp;window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},J=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],o=0;o&lt;t.length;o++){var n=t[o];e._mTween[n].id&amp;&amp;(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[n].id):clearTimeout(e._mTween[n].id),e._mTween[n].id=null,e._mTween[n].stop=1)}},K=function(e,t){try{delete e[t]}catch(o){e[t]=null}},$=function(e){return!(e.which&amp;&amp;1!==e.which)},ee=function(e){var t=e.originalEvent.pointerType;return!(t&amp;&amp;"touch"!==t&amp;&amp;2!==t)},te=function(e){return!isNaN(parseFloat(e))&amp;&amp;isFinite(e)},oe=function(e){var t=e.parents(".mCSB_container");return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},ne=function(){var e=function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t&lt;e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}();return!!e&amp;&amp;document[e]};e.fn[o]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&amp;&amp;t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[o]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&amp;&amp;t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[o].defaults=i,window[o]=!0,e(window).bind("load",function(){e(a)[o](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var o,n,a=e(t),i=a.parents(".mCSB_container");if(i.length)return o=i.parent(),(n=[i[0].offsetTop,i[0].offsetLeft])[0]+oe(a)[0]&gt;=0&amp;&amp;n[0]+oe(a)[0]&lt;o.height()-a.outerHeight(!1)&amp;&amp;n[1]+oe(a)[1]&gt;=0&amp;&amp;n[1]+oe(a)[1]&lt;o.width()-a.outerWidth(!1)},mcsInSight:e.expr[":"].mcsInSight||function(t,o,n){var a,i,l,r,s=e(t),c=s.parents(".mCSB_container"),d="exact"===n[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return a=[s.outerHeight(!1),s.outerWidth(!1)],l=[c[0].offsetTop+oe(s)[0],c[0].offsetLeft+oe(s)[1]],i=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],r=[a[0]&lt;i[0]?d[0]:d[1],a[1]&lt;i[1]?d[0]:d[1]],l[0]-i[0]*r[0][0]&lt;0&amp;&amp;l[0]+a[0]-i[0]*r[0][1]&gt;=0&amp;&amp;l[1]-i[1]*r[1][0]&lt;0&amp;&amp;l[1]+a[1]-i[1]*r[1][1]&gt;=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var o=e(t).data(n);if(o)return o.overflowed[0]||o.overflowed[1]}})})}()});</pre></body></html>