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