uawdijnntqw1x1x1
IP : 3.12.147.168
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
.well-known.1
/
..
/
jannah
/
assets
/
js
/
..
/
js
/
desktop.min.js
/
/
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var a=t||window.event,r=l.call(arguments,1),d=0,u=0,p=0,h=0,f=0,m=0;if(t=e.event.fix(a),t.type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*p,p=0),d=0===p?u:p,"deltaY"in a&&(p=-1*a.deltaY,d=p),"deltaX"in a&&(u=a.deltaX,0===p&&(d=-1*u)),0!==p||0!==u){if(1===a.deltaMode){var v=e.data(this,"mousewheel-line-height");d*=v,p*=v,u*=v}else if(2===a.deltaMode){var g=e.data(this,"mousewheel-page-height");d*=g,p*=g,u*=g}if(h=Math.max(Math.abs(p),Math.abs(u)),(!s||s>h)&&(s=h,o(a,h)&&(s/=40)),o(a,h)&&(d/=40,u/=40,p/=40),d=Math[d>=1?"floor":"ceil"](d/s),u=Math[u>=1?"floor":"ceil"](u/s),p=Math[p>=1?"floor":"ceil"](p/s),c.settings.normalizeOffset&&this.getBoundingClientRect){var w=this.getBoundingClientRect();f=t.clientX-w.left,m=t.clientY-w.top}return t.deltaX=u,t.deltaY=p,t.deltaFactor=s,t.offsetX=f,t.offsetY=m,t.deltaMode=0,r.unshift(t,d,u,p),n&&clearTimeout(n),n=setTimeout(i,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function i(){s=null}function o(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var n,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var d=a.length;d;)e.event.fixHooks[a[--d]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=r.length;i;)this.addEventListener(r[--i],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=r.length;i;)this.removeEventListener(r[--i],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),o=i["offsetParent"in e.fn?"offsetParent":"parent"]();return o.length||(o=e("body")),parseInt(o.css("fontSize"),10)||parseInt(i.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&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var a=t||window.event,r=l.call(arguments,1),d=0,u=0,p=0,h=0,f=0,m=0;if(t=e.event.fix(a),t.type="mousewheel","detail"in a&&(p=-1*a.detail),"wheelDelta"in a&&(p=a.wheelDelta),"wheelDeltaY"in a&&(p=a.wheelDeltaY),"wheelDeltaX"in a&&(u=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(u=-1*p,p=0),d=0===p?u:p,"deltaY"in a&&(p=-1*a.deltaY,d=p),"deltaX"in a&&(u=a.deltaX,0===p&&(d=-1*u)),0!==p||0!==u){if(1===a.deltaMode){var v=e.data(this,"mousewheel-line-height");d*=v,p*=v,u*=v}else if(2===a.deltaMode){var g=e.data(this,"mousewheel-page-height");d*=g,p*=g,u*=g}if(h=Math.max(Math.abs(p),Math.abs(u)),(!s||s>h)&&(s=h,o(a,h)&&(s/=40)),o(a,h)&&(d/=40,u/=40,p/=40),d=Math[d>=1?"floor":"ceil"](d/s),u=Math[u>=1?"floor":"ceil"](u/s),p=Math[p>=1?"floor":"ceil"](p/s),c.settings.normalizeOffset&&this.getBoundingClientRect){var w=this.getBoundingClientRect();f=t.clientX-w.left,m=t.clientY-w.top}return t.deltaX=u,t.deltaY=p,t.deltaFactor=s,t.offsetX=f,t.offsetY=m,t.deltaMode=0,r.unshift(t,d,u,p),n&&clearTimeout(n),n=setTimeout(i,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function i(){s=null}function o(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var n,s,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var d=a.length;d;)e.event.fixHooks[a[--d]]=e.event.mouseHooks;var c=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=r.length;i;)this.addEventListener(r[--i],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",c.getLineHeight(this)),e.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=r.length;i;)this.removeEventListener(r[--i],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),o=i["offsetParent"in e.fn?"offsetParent":"parent"]();return o.length||(o=e("body")),parseInt(o.css("fontSize"),10)||parseInt(i.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&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(e){!function(t){var i="function"==typeof define&&define.amd,o="undefined"!=typeof module&&module.exports,n="https:"==document.location.protocol?"https:":"http:",s="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";i||(o?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+n+"//"+s+"%3E%3C/script%3E"))),t()}(function(){var t,i="mCustomScrollbar",o="mCS",n=".mCustomScrollbar",s={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}},a=0,r={},l=window.attachEvent&&!window.addEventListener?1:0,d=!1,c=["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,{},s,t),i=p.call(this);if(t.live){var l=t.liveSelector||this.selector||n,d=e(l);if("off"===t.live)return void f(l);r[l]=setTimeout(function(){d.mCustomScrollbar(t),"once"===t.live&&d.length&&f(l)},500)}else f(l);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":m(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(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=v(t.scrollButtons.scrollType),h(t),e(i).each(function(){var i=e(this);if(!i.data(o)){i.data(o,{idx:++a,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:i.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var n=i.data(o),s=n.opt,r=i.data("mcs-axis"),l=i.data("mcs-scrollbar-position"),d=i.data("mcs-theme");r&&(s.axis=r),l&&(s.scrollbarPosition=l),d&&(s.theme=d,h(s)),g.call(this),n&&s.callbacks.onCreate&&"function"==typeof s.callbacks.onCreate&&s.callbacks.onCreate.call(this),e("#mCSB_"+n.idx+"_container img:not(."+c[2]+")").addClass(c[2]),u.update.call(null,i)}})},update:function(t,i){var n=t||p.call(this);return e(n).each(function(){var t=e(this);if(t.data(o)){var n=t.data(o),s=n.opt,a=e("#mCSB_"+n.idx+"_container"),r=e("#mCSB_"+n.idx),l=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")];if(!a.length)return;n.tweenRunning&&X(t),i&&n&&s.callbacks.onBeforeUpdate&&"function"==typeof s.callbacks.onBeforeUpdate&&s.callbacks.onBeforeUpdate.call(this),t.hasClass(c[3])&&t.removeClass(c[3]),t.hasClass(c[4])&&t.removeClass(c[4]),r.css("max-height","none"),r.height()!==t.height()&&r.css("max-height",t.height()),y.call(this),"y"===s.axis||s.advanced.autoExpandHorizontalScroll||a.css("width",w(a)),n.overflowed=C.call(this),$.call(this),s.autoDraggerLength&&k.call(this),S.call(this),_.call(this);var d=[Math.abs(a[0].offsetTop),Math.abs(a[0].offsetLeft)];"x"!==s.axis&&(n.overflowed[0]?l[0].height()>l[0].parent().height()?T.call(this):(V(t,d[0].toString(),{dir:"y",dur:0,overwrite:"none"}),n.contentReset.y=null):(T.call(this),"y"===s.axis?j.call(this):"yx"===s.axis&&n.overflowed[1]&&V(t,d[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==s.axis&&(n.overflowed[1]?l[1].width()>l[1].parent().width()?T.call(this):(V(t,d[1].toString(),{dir:"x",dur:0,overwrite:"none"}),n.contentReset.x=null):(T.call(this),"x"===s.axis?j.call(this):"yx"===s.axis&&n.overflowed[0]&&V(t,d[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),i&&n&&(2===i&&s.callbacks.onImageLoad&&"function"==typeof s.callbacks.onImageLoad?s.callbacks.onImageLoad.call(this):3===i&&s.callbacks.onSelectorChange&&"function"==typeof s.callbacks.onSelectorChange?s.callbacks.onSelectorChange.call(this):s.callbacks.onUpdate&&"function"==typeof s.callbacks.onUpdate&&s.callbacks.onUpdate.call(this)),F.call(this)}})},scrollTo:function(t,i){if("undefined"!=typeof t&&null!=t){var n=p.call(this);return e(n).each(function(){var n=e(this);if(n.data(o)){var s=n.data(o),a=s.opt,r={trigger:"external",scrollInertia:a.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=e.extend(!0,{},r,i),d=q.call(this,t),c=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;d[0]=U.call(this,d[0],"y"),d[1]=U.call(this,d[1],"x"),l.moveDragger&&(d[0]*=s.scrollRatio.y,d[1]*=s.scrollRatio.x),l.dur=ne()?0:c,setTimeout(function(){null!==d[0]&&"undefined"!=typeof d[0]&&"x"!==a.axis&&s.overflowed[0]&&(l.dir="y",l.overwrite="all",V(n,d[0].toString(),l)),null!==d[1]&&"undefined"!=typeof d[1]&&"y"!==a.axis&&s.overflowed[1]&&(l.dir="x",l.overwrite="none",V(n,d[1].toString(),l))},l.timeout)}})}},stop:function(){var t=p.call(this);return e(t).each(function(){var t=e(this);t.data(o)&&X(t)})},disable:function(t){var i=p.call(this);return e(i).each(function(){var i=e(this);i.data(o)&&(i.data(o),F.call(this,"remove"),j.call(this),t&&T.call(this),$.call(this,!0),i.addClass(c[3]))})},destroy:function(){var t=p.call(this);return e(t).each(function(){var n=e(this);if(n.data(o)){var s=n.data(o),a=s.opt,r=e("#mCSB_"+s.idx),l=e("#mCSB_"+s.idx+"_container"),d=e(".mCSB_"+s.idx+"_scrollbar");a.live&&f(a.liveSelector||e(t).selector),F.call(this,"remove"),j.call(this),T.call(this),n.removeData(o),Z(this,"mcs"),d.remove(),l.find("img."+c[2]).removeClass(c[2]),r.replaceWith(l.contents()),n.removeClass(i+" _"+o+"_"+s.idx+" "+c[6]+" "+c[7]+" "+c[5]+" "+c[3]).addClass(c[4])}})}},p=function(){return"object"!=typeof e(this)||e(this).length<1?n:this},h=function(t){var i=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],o=["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"],n=["minimal","minimal-dark"],s=["minimal","minimal-dark"],a=["minimal","minimal-dark"];t.autoDraggerLength=e.inArray(t.theme,i)>-1?!1:t.autoDraggerLength,t.autoExpandScrollbar=e.inArray(t.theme,o)>-1?!1:t.autoExpandScrollbar,t.scrollButtons.enable=e.inArray(t.theme,n)>-1?!1:t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,s)>-1?!0:t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,a)>-1?"outside":t.scrollbarPosition},f=function(e){r[e]&&(clearTimeout(r[e]),Z(r,e))},m=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},v=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},g=function(){var t=e(this),n=t.data(o),s=n.opt,a=s.autoExpandScrollbar?" "+c[1]+"_expand":"",r=["<div id='mCSB_"+n.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_vertical"+a+"'><div class='"+c[12]+"'><div id='mCSB_"+n.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+n.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+s.theme+" mCSB_scrollTools_horizontal"+a+"'><div class='"+c[12]+"'><div id='mCSB_"+n.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===s.axis?"mCSB_vertical_horizontal":"x"===s.axis?"mCSB_horizontal":"mCSB_vertical",d="yx"===s.axis?r[0]+r[1]:"x"===s.axis?r[1]:r[0],u="yx"===s.axis?"<div id='mCSB_"+n.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",p=s.autoHideScrollbar?" "+c[6]:"",h="x"!==s.axis&&"rtl"===n.langDir?" "+c[7]:"";s.setWidth&&t.css("width",s.setWidth),s.setHeight&&t.css("height",s.setHeight),s.setLeft="y"!==s.axis&&"rtl"===n.langDir?"989999px":s.setLeft,t.addClass(i+" _"+o+"_"+n.idx+p+h).wrapInner("<div id='mCSB_"+n.idx+"' class='mCustomScrollBox mCS-"+s.theme+" "+l+"'><div id='mCSB_"+n.idx+"_container' class='mCSB_container' style='position:relative; top:"+s.setTop+"; left:"+s.setLeft+";' dir='"+n.langDir+"' /></div>");var f=e("#mCSB_"+n.idx),m=e("#mCSB_"+n.idx+"_container");"y"===s.axis||s.advanced.autoExpandHorizontalScroll||m.css("width",w(m)),"outside"===s.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),f.addClass("mCSB_outside").after(d)):(f.addClass("mCSB_inside").append(d),m.wrap(u)),b.call(this);var v=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")];v[0].css("min-height",v[0].height()),v[1].css("min-width",v[1].width())},w=function(t){var i=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],o=t.parent().width();return i[0]>o?i[0]:i[1]>o?i[1]:"100%"},y=function(){var t=e(this),i=t.data(o),n=i.opt,s=e("#mCSB_"+i.idx+"_container");if(n.advanced.autoExpandHorizontalScroll&&"y"!==n.axis){s.css({width:"auto","min-width":0,"overflow-x":"scroll"});var a=Math.ceil(s[0].scrollWidth);3===n.advanced.autoExpandHorizontalScroll||2!==n.advanced.autoExpandHorizontalScroll&&a>s.parent().width()?s.css({width:a,"min-width":"100%","overflow-x":"inherit"}):s.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(s[0].getBoundingClientRect().right+.4)-Math.floor(s[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},b=function(){var t=e(this),i=t.data(o),n=i.opt,s=e(".mCSB_"+i.idx+"_scrollbar:first"),a=ie(n.scrollButtons.tabindex)?"tabindex='"+n.scrollButtons.tabindex+"'":"",r=["<a href='#' class='"+c[13]+"' "+a+" />","<a href='#' class='"+c[14]+"' "+a+" />","<a href='#' class='"+c[15]+"' "+a+" />","<a href='#' class='"+c[16]+"' "+a+" />"],l=["x"===n.axis?r[2]:r[0],"x"===n.axis?r[3]:r[1],r[2],r[3]];n.scrollButtons.enable&&s.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},k=function(){var t=e(this),i=t.data(o),n=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),a=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")],r=[n.height()/s.outerHeight(!1),n.width()/s.outerWidth(!1)],d=[parseInt(a[0].css("min-height")),Math.round(r[0]*a[0].parent().height()),parseInt(a[1].css("min-width")),Math.round(r[1]*a[1].parent().width())],c=l&&d[1]<d[0]?d[0]:d[1],u=l&&d[3]<d[2]?d[2]:d[3];a[0].css({height:c,"max-height":a[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":d[0]+"px"}),a[1].css({width:u,"max-width":a[1].parent().width()-10})},S=function(){var t=e(this),i=t.data(o),n=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),a=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")],r=[s.outerHeight(!1)-n.height(),s.outerWidth(!1)-n.width()],l=[r[0]/(a[0].parent().height()-a[0].height()),r[1]/(a[1].parent().width()-a[1].width())];i.scrollRatio={y:l[0],x:l[1]}},x=function(e,t,i){var o=i?c[0]+"_expanded":"",n=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(c[0]+" "+o),n.toggleClass(c[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(c[0]),n.removeClass(c[1])):(e.addClass(c[0]),n.addClass(c[1])))},C=function(){var t=e(this),i=t.data(o),n=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),a=null==i.overflowed?s.height():s.outerHeight(!1),r=null==i.overflowed?s.width():s.outerWidth(!1),l=s[0].scrollHeight,d=s[0].scrollWidth;return l>a&&(a=l),d>r&&(r=d),[a>n.height(),r>n.width()]},T=function(){var t=e(this),i=t.data(o),n=i.opt,s=e("#mCSB_"+i.idx),a=e("#mCSB_"+i.idx+"_container"),r=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")];if(X(t),("x"!==n.axis&&!i.overflowed[0]||"y"===n.axis&&i.overflowed[0])&&(r[0].add(a).css("top",0),V(t,"_resetY")),"y"!==n.axis&&!i.overflowed[1]||"x"===n.axis&&i.overflowed[1]){var l=dx=0;"rtl"===i.langDir&&(l=s.width()-a.outerWidth(!1),dx=Math.abs(l/i.scrollRatio.x)),a.css("left",l),r[1].css("left",dx),V(t,"_resetX")}},_=function(){function t(){a=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(a),z.call(i[0])):t()},100)}var i=e(this),n=i.data(o),s=n.opt;if(!n.bindEvents){if(O.call(this),s.contentTouchScroll&&M.call(this),Q.call(this),s.mouseWheel.enable){var a;t()}I.call(this),P.call(this),s.advanced.autoScrollOnFocus&&D.call(this),s.scrollButtons.enable&&W.call(this),s.keyboard.enable&&N.call(this),n.bindEvents=!0}},j=function(){var t=e(this),i=t.data(o),n=i.opt,s=o+"_"+i.idx,a=".mCSB_"+i.idx+"_scrollbar",r=e("#mCSB_"+i.idx+",#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,"+a+" ."+c[12]+",#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal,"+a+">a"),l=e("#mCSB_"+i.idx+"_container");n.advanced.releaseDraggableSelectors&&r.add(e(n.advanced.releaseDraggableSelectors)),n.advanced.extraDraggableSelectors&&r.add(e(n.advanced.extraDraggableSelectors)),i.bindEvents&&(e(document).add(e(!H()||top.document)).unbind("."+s),r.each(function(){e(this).unbind("."+s)}),clearTimeout(t[0]._focusTimeout),Z(t[0],"_focusTimeout"),clearTimeout(i.sequential.step),Z(i.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),Z(l[0],"onCompleteTimeout"),i.bindEvents=!1)},$=function(t){var i=e(this),n=i.data(o),s=n.opt,a=e("#mCSB_"+n.idx+"_container_wrapper"),r=a.length?a:e("#mCSB_"+n.idx+"_container"),l=[e("#mCSB_"+n.idx+"_scrollbar_vertical"),e("#mCSB_"+n.idx+"_scrollbar_horizontal")],d=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==s.axis&&(n.overflowed[0]&&!t?(l[0].add(d[0]).add(l[0].children("a")).css("display","block"),r.removeClass(c[8]+" "+c[10])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&d[0].css("display","none"),r.removeClass(c[10])):(l[0].css("display","none"),r.addClass(c[10])),r.addClass(c[8]))),"y"!==s.axis&&(n.overflowed[1]&&!t?(l[1].add(d[1]).add(l[1].children("a")).css("display","block"),r.removeClass(c[9]+" "+c[11])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&d[1].css("display","none"),r.removeClass(c[11])):(l[1].css("display","none"),r.addClass(c[11])),r.addClass(c[9]))),n.overflowed[0]||n.overflowed[1]?i.removeClass(c[5]):i.addClass(c[5])},A=function(t){var i=t.type,o=t.target.ownerDocument!==document&&null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,n=H()&&t.target.ownerDocument!==top.document&&null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(i){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return o?[t.originalEvent.pageY-o[0]+n[0],t.originalEvent.pageX-o[1]+n[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var s=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],a=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[s.screenY,s.screenX,a>1]:[s.pageY,s.pageX,a>1];default:return o?[t.pageY-o[0]+n[0],t.pageX-o[1]+n[1],!1]:[t.pageY,t.pageX,!1]}},O=function(){function t(e,t,o,n){if(h[0].idleTimer=c.scrollInertia<233?250:0,i.attr("id")===p[1])var s="x",l=(i[0].offsetLeft-t+n)*r.scrollRatio.x;else var s="y",l=(i[0].offsetTop-e+o)*r.scrollRatio.y;V(a,l.toString(),{dir:s,drag:!0})}var i,n,s,a=e(this),r=a.data(o),c=r.opt,u=o+"_"+r.idx,p=["mCSB_"+r.idx+"_dragger_vertical","mCSB_"+r.idx+"_dragger_horizontal"],h=e("#mCSB_"+r.idx+"_container"),f=e("#"+p[0]+",#"+p[1]),m=c.advanced.releaseDraggableSelectors?f.add(e(c.advanced.releaseDraggableSelectors)):f,v=c.advanced.extraDraggableSelectors?e(!H()||top.document).add(e(c.advanced.extraDraggableSelectors)):e(!H()||top.document);f.bind("contextmenu."+u,function(e){e.preventDefault()}).bind("mousedown."+u+" touchstart."+u+" pointerdown."+u+" MSPointerDown."+u,function(t){if(t.stopImmediatePropagation(),t.preventDefault(),ee(t)){d=!0,l&&(document.onselectstart=function(){return!1}),L.call(h,!1),X(a),i=e(this);var o=i.offset(),r=A(t)[0]-o.top,u=A(t)[1]-o.left,p=i.height()+o.top,f=i.width()+o.left;p>r&&r>0&&f>u&&u>0&&(n=r,s=u),x(i,"active",c.autoExpandScrollbar)}}).bind("touchmove."+u,function(e){e.stopImmediatePropagation(),e.preventDefault();var o=i.offset(),a=A(e)[0]-o.top,r=A(e)[1]-o.left;t(n,s,a,r)}),e(document).add(v).bind("mousemove."+u+" pointermove."+u+" MSPointerMove."+u,function(e){if(i){var o=i.offset(),a=A(e)[0]-o.top,r=A(e)[1]-o.left;if(n===a&&s===r)return;t(n,s,a,r)}}).add(m).bind("mouseup."+u+" touchend."+u+" pointerup."+u+" MSPointerUp."+u,function(){i&&(x(i,"active",c.autoExpandScrollbar),i=null),d=!1,l&&(document.onselectstart=null),L.call(h,!0)})},M=function(){function i(e){if(!te(e)||d||A(e)[2])return void(t=0);t=1,S=0,x=0,c=1,C.removeClass("mCS_touch_action");var i=O.offset();u=A(e)[0]-i.top,p=A(e)[1]-i.left,E=[A(e)[0],A(e)[1]]}function n(e){if(te(e)&&!d&&!A(e)[2]&&(_.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!x||S)&&c)){v=J();var t=$.offset(),i=A(e)[0]-t.top,o=A(e)[1]-t.left,n="mcsLinearOut";if(Q.push(i),z.push(o),E[2]=Math.abs(A(e)[0]-E[0]),E[3]=Math.abs(A(e)[1]-E[1]),T.overflowed[0])var s=M[0].parent().height()-M[0].height(),a=u-i>0&&i-u>-(s*T.scrollRatio.y)&&(2*E[3]<E[2]||"yx"===_.axis);if(T.overflowed[1])var r=M[1].parent().width()-M[1].width(),h=p-o>0&&o-p>-(r*T.scrollRatio.x)&&(2*E[2]<E[3]||"yx"===_.axis);a||h?(P||e.preventDefault(),S=1):(x=1,C.addClass("mCS_touch_action")),P&&e.preventDefault(),b="yx"===_.axis?[u-i,p-o]:"x"===_.axis?[null,p-o]:[u-i,null],O[0].idleTimer=250,T.overflowed[0]&&l(b[0],B,n,"y","all",!0),T.overflowed[1]&&l(b[1],B,n,"x",L,!0)}}function s(e){if(!te(e)||d||A(e)[2])return void(t=0);t=1,e.stopImmediatePropagation(),X(C),m=J();var i=$.offset();h=A(e)[0]-i.top,f=A(e)[1]-i.left,Q=[],z=[]}function a(e){if(te(e)&&!d&&!A(e)[2]){c=0,e.stopImmediatePropagation(),S=0,x=0,g=J();var t=$.offset(),i=A(e)[0]-t.top,o=A(e)[1]-t.left;if(!(g-v>30)){y=1e3/(g-m);var n="mcsEaseOut",s=2.5>y,a=s?[Q[Q.length-2],z[z.length-2]]:[0,0];w=s?[i-a[0],o-a[1]]:[i-h,o-f];var u=[Math.abs(w[0]),Math.abs(w[1])];y=s?[Math.abs(w[0]/4),Math.abs(w[1]/4)]:[y,y];var p=[Math.abs(O[0].offsetTop)-w[0]*r(u[0]/y[0],y[0]),Math.abs(O[0].offsetLeft)-w[1]*r(u[1]/y[1],y[1])];b="yx"===_.axis?[p[0],p[1]]:"x"===_.axis?[null,p[1]]:[p[0],null],k=[4*u[0]+_.scrollInertia,4*u[1]+_.scrollInertia];var C=parseInt(_.contentTouchScroll)||0;b[0]=u[0]>C?b[0]:0,b[1]=u[1]>C?b[1]:0,T.overflowed[0]&&l(b[0],k[0],n,"y",L,!1),T.overflowed[1]&&l(b[1],k[1],n,"x",L,!1)}}}function r(e,t){var i=[1.5*t,2*t,t/1.5,t/2];return e>90?t>4?i[0]:i[3]:e>60?t>3?i[3]:i[2]:e>30?t>8?i[1]:t>6?i[0]:t>4?t:i[2]:t>8?t:i[3]}function l(e,t,i,o,n,s){e&&V(C,e.toString(),{dur:t,scrollEasing:i,dir:o,overwrite:n,drag:s})}var c,u,p,h,f,m,v,g,w,y,b,k,S,x,C=e(this),T=C.data(o),_=T.opt,j=o+"_"+T.idx,$=e("#mCSB_"+T.idx),O=e("#mCSB_"+T.idx+"_container"),M=[e("#mCSB_"+T.idx+"_dragger_vertical"),e("#mCSB_"+T.idx+"_dragger_horizontal")],Q=[],z=[],B=0,L="yx"===_.axis?"none":"all",E=[],I=O.find("iframe"),D=["touchstart."+j+" pointerdown."+j+" MSPointerDown."+j,"touchmove."+j+" pointermove."+j+" MSPointerMove."+j,"touchend."+j+" pointerup."+j+" MSPointerUp."+j],P=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;O.bind(D[0],function(e){i(e)}).bind(D[1],function(e){n(e)}),$.bind(D[0],function(e){s(e)}).bind(D[2],function(e){a(e)}),I.length&&I.each(function(){e(this).bind("load",function(){H(this)&&e(this.contentDocument||this.contentWindow.document).bind(D[0],function(e){i(e),s(e)}).bind(D[1],function(e){n(e)}).bind(D[2],function(e){a(e)})})})},Q=function(){function i(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function n(e,t,i){c.type=i&&s?"stepped":"stepless",c.scrollAmount=10,R(a,e,t,"mcsLinearOut",i?60:null)}var s,a=e(this),r=a.data(o),l=r.opt,c=r.sequential,u=o+"_"+r.idx,p=e("#mCSB_"+r.idx+"_container"),h=p.parent();p.bind("mousedown."+u,function(){t||s||(s=1,d=!0)}).add(document).bind("mousemove."+u,function(e){if(!t&&s&&i()){var o=p.offset(),a=A(e)[0]-o.top+p[0].offsetTop,d=A(e)[1]-o.left+p[0].offsetLeft;a>0&&a<h.height()&&d>0&&d<h.width()?c.step&&n("off",null,"stepped"):("x"!==l.axis&&r.overflowed[0]&&(0>a?n("on",38):a>h.height()&&n("on",40)),"y"!==l.axis&&r.overflowed[1]&&(0>d?n("on",37):d>h.width()&&n("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(){t||(s&&(s=0,n("off",null)),d=!1)})},z=function(){function t(t,o){if(X(i),!E(i,t.target)){var a="auto"!==s.mouseWheel.deltaFactor?parseInt(s.mouseWheel.deltaFactor):l&&t.deltaFactor<100?100:t.deltaFactor||100,c=s.scrollInertia;if("x"===s.axis||"x"===s.mouseWheel.axis)var u="x",p=[Math.round(a*n.scrollRatio.x),parseInt(s.mouseWheel.scrollAmount)],h="auto"!==s.mouseWheel.scrollAmount?p[1]:p[0]>=r.width()?.9*r.width():p[0],f=Math.abs(e("#mCSB_"+n.idx+"_container")[0].offsetLeft),m=d[1][0].offsetLeft,v=d[1].parent().width()-d[1].width(),g="y"===s.mouseWheel.axis?t.deltaY||o:t.deltaX;else var u="y",p=[Math.round(a*n.scrollRatio.y),parseInt(s.mouseWheel.scrollAmount)],h="auto"!==s.mouseWheel.scrollAmount?p[1]:p[0]>=r.height()?.9*r.height():p[0],f=Math.abs(e("#mCSB_"+n.idx+"_container")[0].offsetTop),m=d[0][0].offsetTop,v=d[0].parent().height()-d[0].height(),g=t.deltaY||o;"y"===u&&!n.overflowed[0]||"x"===u&&!n.overflowed[1]||((s.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(g=-g),s.mouseWheel.normalizeDelta&&(g=0>g?-1:1),(g>0&&0!==m||0>g&&m!==v||s.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!s.mouseWheel.normalizeDelta&&(h=t.deltaFactor,c=17),V(i,(f-g*h).toString(),{dir:u,dur:c}))}}if(e(this).data(o)){var i=e(this),n=i.data(o),s=n.opt,a=o+"_"+n.idx,r=e("#mCSB_"+n.idx),d=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")],c=e("#mCSB_"+n.idx+"_container").find("iframe");c.length&&c.each(function(){e(this).bind("load",function(){H(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+a,function(e,i){t(e,i)})})}),r.bind("mousewheel."+a,function(e,i){t(e,i)})}},B=new Object,H=function(t){var i=!1,o=!1,n=null;if(void 0===t?o="#empty":void 0!==e(t).attr("id")&&(o=e(t).attr("id")),o!==!1&&void 0!==B[o])return B[o];if(t){try{var s=t.contentDocument||t.contentWindow.document;n=s.body.innerHTML}catch(a){}i=null!==n}else{try{var s=top.document;n=s.body.innerHTML}catch(a){}i=null!==n}return o!==!1&&(B[o]=i),i},L=function(e){var t=this.find("iframe");if(t.length){var i=e?"auto":"none";t.css("pointer-events",i)}},E=function(t,i){var n=i.nodeName.toLowerCase(),s=t.data(o).opt.mouseWheel.disableOver,a=["select","textarea"];return e.inArray(n,s)>-1&&!(e.inArray(n,a)>-1&&!e(i).is(":focus"))},I=function(){var t,i=e(this),n=i.data(o),s=o+"_"+n.idx,a=e("#mCSB_"+n.idx+"_container"),r=a.parent(),l=e(".mCSB_"+n.idx+"_scrollbar ."+c[12]);l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s,function(i){d=!0,e(i.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+s+" pointerup."+s+" MSPointerUp."+s,function(){d=!1}).bind("click."+s,function(o){if(t&&(t=0,e(o.target).hasClass(c[12])||e(o.target).hasClass("mCSB_draggerRail"))){X(i);var s=e(this),l=s.find(".mCSB_dragger");if(s.parent(".mCSB_scrollTools_horizontal").length>0){if(!n.overflowed[1])return;var d="x",u=o.pageX>l.offset().left?-1:1,p=Math.abs(a[0].offsetLeft)-u*(.9*r.width())}else{if(!n.overflowed[0])return;var d="y",u=o.pageY>l.offset().top?-1:1,p=Math.abs(a[0].offsetTop)-u*(.9*r.height())}V(i,p.toString(),{dir:d,scrollEasing:"mcsEaseInOut"})}})},D=function(){var t=e(this),i=t.data(o),n=i.opt,s=o+"_"+i.idx,a=e("#mCSB_"+i.idx+"_container"),r=a.parent();a.bind("focusin."+s,function(){var i=e(document.activeElement),o=a.find(".mCustomScrollBox").length,s=0;i.is(n.advanced.autoScrollOnFocus)&&(X(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=o?(s+17)*o:0,t[0]._focusTimeout=setTimeout(function(){var e=[oe(i)[0],oe(i)[1]],o=[a[0].offsetTop,a[0].offsetLeft],l=[o[0]+e[0]>=0&&o[0]+e[0]<r.height()-i.outerHeight(!1),o[1]+e[1]>=0&&o[0]+e[1]<r.width()-i.outerWidth(!1)],d="yx"!==n.axis||l[0]||l[1]?"all":"none";"x"===n.axis||l[0]||V(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:d,dur:s}),"y"===n.axis||l[1]||V(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:d,dur:s})},t[0]._focusTimer))})},P=function(){var t=e(this),i=t.data(o),n=o+"_"+i.idx,s=e("#mCSB_"+i.idx+"_container").parent();s.bind("scroll."+n,function(){0===s.scrollTop()&&0===s.scrollLeft()||e(".mCSB_"+i.idx+"_scrollbar").css("visibility","hidden")})},W=function(){var t=e(this),i=t.data(o),n=i.opt,s=i.sequential,a=o+"_"+i.idx,r=".mCSB_"+i.idx+"_scrollbar",l=e(r+">a");l.bind("contextmenu."+a,function(e){e.preventDefault()}).bind("mousedown."+a+" touchstart."+a+" pointerdown."+a+" MSPointerDown."+a+" mouseup."+a+" touchend."+a+" pointerup."+a+" MSPointerUp."+a+" mouseout."+a+" pointerout."+a+" MSPointerOut."+a+" click."+a,function(o){function a(e,i){s.scrollAmount=n.scrollButtons.scrollAmount,R(t,e,i)}if(o.preventDefault(),ee(o)){var r=e(this).attr("class");switch(s.type=n.scrollButtons.scrollType,o.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;d=!0,i.tweenRunning=!1,a("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;d=!1,s.dir&&a("off",r);break;case"click":if("stepped"!==s.type||i.tweenRunning)return;a("on",r)}}})},N=function(){function t(t){function o(e,t){a.type=s.keyboard.scrollType,a.scrollAmount=s.keyboard.scrollAmount,"stepped"===a.type&&n.tweenRunning||R(i,e,t)}switch(t.type){case"blur":n.tweenRunning&&a.dir&&o("off",null); break;case"keydown":case"keyup":var r=t.keyCode?t.keyCode:t.which,l="on";if("x"!==s.axis&&(38===r||40===r)||"y"!==s.axis&&(37===r||39===r)){if((38===r||40===r)&&!n.overflowed[0]||(37===r||39===r)&&!n.overflowed[1])return;"keyup"===t.type&&(l="off"),e(document.activeElement).is(u)||(t.preventDefault(),t.stopImmediatePropagation(),o(l,r))}else if(33===r||34===r){if((n.overflowed[0]||n.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){X(i);var p=34===r?-1:1;if("x"===s.axis||"yx"===s.axis&&n.overflowed[1]&&!n.overflowed[0])var h="x",f=Math.abs(d[0].offsetLeft)-p*(.9*c.width());else var h="y",f=Math.abs(d[0].offsetTop)-p*(.9*c.height());V(i,f.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}else if((35===r||36===r)&&!e(document.activeElement).is(u)&&((n.overflowed[0]||n.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===s.axis||"yx"===s.axis&&n.overflowed[1]&&!n.overflowed[0])var h="x",f=35===r?Math.abs(c.width()-d.outerWidth(!1)):0;else var h="y",f=35===r?Math.abs(c.height()-d.outerHeight(!1)):0;V(i,f.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}}var i=e(this),n=i.data(o),s=n.opt,a=n.sequential,r=o+"_"+n.idx,l=e("#mCSB_"+n.idx),d=e("#mCSB_"+n.idx+"_container"),c=d.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",p=d.find("iframe"),h=["blur."+r+" keydown."+r+" keyup."+r];p.length&&p.each(function(){e(this).bind("load",function(){H(this)&&e(this.contentDocument||this.contentWindow.document).bind(h[0],function(e){t(e)})})}),l.attr("tabindex","0").bind(h[0],function(e){t(e)})},R=function(t,i,n,s,a){function r(e){u.snapAmount&&(p.scrollAmount=u.snapAmount instanceof Array?"x"===p.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var i="stepped"!==p.type,o=a?a:e?i?m/1.5:v:1e3/60,n=e?i?7.5:40:2.5,l=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],c=[d.scrollRatio.y>10?10:d.scrollRatio.y,d.scrollRatio.x>10?10:d.scrollRatio.x],f="x"===p.dir[0]?l[1]+p.dir[1]*(c[1]*n):l[0]+p.dir[1]*(c[0]*n),g="x"===p.dir[0]?l[1]+p.dir[1]*parseInt(p.scrollAmount):l[0]+p.dir[1]*parseInt(p.scrollAmount),w="auto"!==p.scrollAmount?g:f,y=s?s:e?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",b=!!e;return e&&17>o&&(w="x"===p.dir[0]?l[1]:l[0]),V(t,w.toString(),{dir:p.dir[0],scrollEasing:y,dur:o,onComplete:b}),e?void(p.dir=!1):(clearTimeout(p.step),void(p.step=setTimeout(function(){r()},o)))}function l(){clearTimeout(p.step),Z(p,"step"),X(t)}var d=t.data(o),u=d.opt,p=d.sequential,h=e("#mCSB_"+d.idx+"_container"),f="stepped"===p.type,m=u.scrollInertia<26?26:u.scrollInertia,v=u.scrollInertia<1?17:u.scrollInertia;switch(i){case"on":if(p.dir=[n===c[16]||n===c[15]||39===n||37===n?"x":"y",n===c[13]||n===c[15]||38===n||37===n?-1:1],X(t),ie(n)&&"stepped"===p.type)return;r(f);break;case"off":l(),(f||d.tweenRunning&&p.dir)&&r(!0)}},q=function(t){var i=e(this).data(o).opt,n=[];return"function"==typeof t&&(t=t()),t instanceof Array?n=t.length>1?[t[0],t[1]]:"x"===i.axis?[null,t[0]]:[t[0],null]:(n[0]=t.y?t.y:t.x||"x"===i.axis?null:t,n[1]=t.x?t.x:t.y||"y"===i.axis?null:t),"function"==typeof n[0]&&(n[0]=n[0]()),"function"==typeof n[1]&&(n[1]=n[1]()),n},U=function(t,i){if(null!=t&&"undefined"!=typeof t){var n=e(this),s=n.data(o),a=s.opt,r=e("#mCSB_"+s.idx+"_container"),l=r.parent(),d=typeof t;i||(i="x"===a.axis?"x":"y");var c="x"===i?r.outerWidth(!1)-l.width():r.outerHeight(!1)-l.height(),p="x"===i?r[0].offsetLeft:r[0].offsetTop,h="x"===i?"left":"top";switch(d){case"function":return t();case"object":var f=t.jquery?t:e(t);if(!f.length)return;return"x"===i?oe(f)[1]:oe(f)[0];case"string":case"number":if(ie(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(c*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(p-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var m=p+parseInt(t.split("+=")[1]);return m>=0?0:Math.abs(m)}if(-1!==t.indexOf("px")&&ie(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(l.height()-r.outerHeight(!1));if("right"===t)return Math.abs(l.width()-r.outerWidth(!1));if("first"===t||"last"===t){var f=r.find(":"+t);return"x"===i?oe(f)[1]:oe(f)[0]}return e(t).length?"x"===i?oe(e(t))[1]:oe(e(t))[0]:(r.css(h,t),void u.update.call(null,n[0]))}}},F=function(t){function i(){return clearTimeout(p[0].autoUpdate),0===r.parents("html").length?void(r=null):void(p[0].autoUpdate=setTimeout(function(){return d.advanced.updateOnSelectorChange&&(l.poll.change.n=s(),l.poll.change.n!==l.poll.change.o)?(l.poll.change.o=l.poll.change.n,void a(3)):d.advanced.updateOnContentResize&&(l.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+p[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,l.poll.size.n!==l.poll.size.o)?(l.poll.size.o=l.poll.size.n,void a(1)):!d.advanced.updateOnImageLoad||"auto"===d.advanced.updateOnImageLoad&&"y"===d.axis||(l.poll.img.n=p.find("img").length,l.poll.img.n===l.poll.img.o)?void((d.advanced.updateOnSelectorChange||d.advanced.updateOnContentResize||d.advanced.updateOnImageLoad)&&i()):(l.poll.img.o=l.poll.img.n,void p.find("img").each(function(){n(this)}))},d.advanced.autoUpdateTimeout))}function n(t){function i(e,t){return function(){return t.apply(e,arguments)}}function o(){this.onload=null,e(t).addClass(c[2]),a(2)}if(e(t).hasClass(c[2]))return void a();var n=new Image;n.onload=i(n,o),n.src=t.src}function s(){d.advanced.updateOnSelectorChange===!0&&(d.advanced.updateOnSelectorChange="*");var e=0,t=p.find(d.advanced.updateOnSelectorChange);return d.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}function a(e){clearTimeout(p[0].autoUpdate),u.update.call(null,r[0],e)}var r=e(this),l=r.data(o),d=l.opt,p=e("#mCSB_"+l.idx+"_container");return t?(clearTimeout(p[0].autoUpdate),void Z(p[0],"autoUpdate")):void i()},Y=function(e,t,i){return Math.round(e/t)*t-i},X=function(t){var i=t.data(o),n=e("#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal");n.each(function(){G.call(this)})},V=function(t,i,n){function s(e){return l&&d.callbacks[e]&&"function"==typeof d.callbacks[e]}function a(){return[d.callbacks.alwaysTriggerOffsets||b>=k[0]+C,d.callbacks.alwaysTriggerOffsets||-T>=b]}function r(){var e=[h[0].offsetTop,h[0].offsetLeft],i=[w[0].offsetTop,w[0].offsetLeft],o=[h.outerHeight(!1),h.outerWidth(!1)],s=[p.height(),p.width()];t[0].mcs={content:h,top:e[0],left:e[1],draggerTop:i[0],draggerLeft:i[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(o[0])-s[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(o[1])-s[1])),direction:n.dir}}var l=t.data(o),d=l.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:d.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},n=e.extend(c,n),u=[n.dur,n.drag?0:n.dur],p=e("#mCSB_"+l.idx),h=e("#mCSB_"+l.idx+"_container"),f=h.parent(),m=d.callbacks.onTotalScrollOffset?q.call(t,d.callbacks.onTotalScrollOffset):[0,0],v=d.callbacks.onTotalScrollBackOffset?q.call(t,d.callbacks.onTotalScrollBackOffset):[0,0];if(l.trigger=n.trigger,0===f.scrollTop()&&0===f.scrollLeft()||(e(".mCSB_"+l.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==i||l.contentReset.y||(s("onOverflowYNone")&&d.callbacks.onOverflowYNone.call(t[0]),l.contentReset.y=1),"_resetX"!==i||l.contentReset.x||(s("onOverflowXNone")&&d.callbacks.onOverflowXNone.call(t[0]),l.contentReset.x=1),"_resetY"!==i&&"_resetX"!==i){if(!l.contentReset.y&&t[0].mcs||!l.overflowed[0]||(s("onOverflowY")&&d.callbacks.onOverflowY.call(t[0]),l.contentReset.x=null),!l.contentReset.x&&t[0].mcs||!l.overflowed[1]||(s("onOverflowX")&&d.callbacks.onOverflowX.call(t[0]),l.contentReset.x=null),d.snapAmount){var g=d.snapAmount instanceof Array?"x"===n.dir?d.snapAmount[1]:d.snapAmount[0]:d.snapAmount;i=Y(i,g,d.snapOffset)}switch(n.dir){case"x":var w=e("#mCSB_"+l.idx+"_dragger_horizontal"),y="left",b=h[0].offsetLeft,k=[p.width()-h.outerWidth(!1),w.parent().width()-w.width()],S=[i,0===i?0:i/l.scrollRatio.x],C=m[1],T=v[1],_=C>0?C/l.scrollRatio.x:0,j=T>0?T/l.scrollRatio.x:0;break;case"y":var w=e("#mCSB_"+l.idx+"_dragger_vertical"),y="top",b=h[0].offsetTop,k=[p.height()-h.outerHeight(!1),w.parent().height()-w.height()],S=[i,0===i?0:i/l.scrollRatio.y],C=m[0],T=v[0],_=C>0?C/l.scrollRatio.y:0,j=T>0?T/l.scrollRatio.y:0}S[1]<0||0===S[0]&&0===S[1]?S=[0,0]:S[1]>=k[1]?S=[k[0],k[1]]:S[0]=-S[0],t[0].mcs||(r(),s("onInit")&&d.callbacks.onInit.call(t[0])),clearTimeout(h[0].onCompleteTimeout),K(w[0],y,Math.round(S[1]),u[1],n.scrollEasing),!l.tweenRunning&&(0===b&&S[0]>=0||b===k[0]&&S[0]<=k[0])||K(h[0],y,Math.round(S[0]),u[0],n.scrollEasing,n.overwrite,{onStart:function(){n.callbacks&&n.onStart&&!l.tweenRunning&&(s("onScrollStart")&&(r(),d.callbacks.onScrollStart.call(t[0])),l.tweenRunning=!0,x(w),l.cbOffsets=a())},onUpdate:function(){n.callbacks&&n.onUpdate&&s("whileScrolling")&&(r(),d.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(n.callbacks&&n.onComplete){"yx"===d.axis&&clearTimeout(h[0].onCompleteTimeout);var e=h[0].idleTimer||0;h[0].onCompleteTimeout=setTimeout(function(){s("onScroll")&&(r(),d.callbacks.onScroll.call(t[0])),s("onTotalScroll")&&S[1]>=k[1]-_&&l.cbOffsets[0]&&(r(),d.callbacks.onTotalScroll.call(t[0])),s("onTotalScrollBack")&&S[1]<=j&&l.cbOffsets[1]&&(r(),d.callbacks.onTotalScrollBack.call(t[0])),l.tweenRunning=!1,h[0].idleTimer=0,x(w,"hide")},e)}}})}},K=function(e,t,i,o,n,s,a){function r(){k.stop||(w||f.call(),w=J()-g,l(),w>=k.time&&(k.time=w>k.time?w+p-(w-k.time):w+p-1,k.time<w+1&&(k.time=w+1)),k.time<o?k.id=h(r):v.call())}function l(){o>0?(k.currVal=u(k.time,y,S,o,n),b[t]=Math.round(k.currVal)+"px"):b[t]=i+"px",m.call()}function d(){p=1e3/60,k.time=w+p,h=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return l(),setTimeout(e,.01)},k.id=h(r)}function c(){null!=k.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(k.id):clearTimeout(k.id),k.id=null)}function u(e,t,i,o,n){switch(n){case"linear":case"mcsLinear":return i*e/o+t;case"mcsLinearOut":return e/=o,e--,i*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return e/=o/2,1>e?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t);case"easeInOutStrong":return e/=o/2,1>e?i/2*Math.pow(2,10*(e-1))+t:(e--,i/2*(-Math.pow(2,-10*e)+2)+t);case"easeInOut":case"mcsEaseInOut":return e/=o/2,1>e?i/2*e*e*e+t:(e-=2,i/2*(e*e*e+2)+t);case"easeOutSmooth":return e/=o,e--,-i*(e*e*e*e-1)+t;case"easeOutStrong":return i*(-Math.pow(2,-10*e/o)+1)+t;case"easeOut":case"mcsEaseOut":default:var s=(e/=o)*e,a=s*e;return t+i*(.499999999999997*a*s+-2.5*s*s+5.5*a+-6.5*s+4*e)}}e._mTween||(e._mTween={top:{},left:{}});var p,h,a=a||{},f=a.onStart||function(){},m=a.onUpdate||function(){},v=a.onComplete||function(){},g=J(),w=0,y=e.offsetTop,b=e.style,k=e._mTween[t];"left"===t&&(y=e.offsetLeft);var S=i-y;k.stop=0,"none"!==s&&c(),d()},J=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},G=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],i=0;i<t.length;i++){var o=t[i];e._mTween[o].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[o].id):clearTimeout(e._mTween[o].id),e._mTween[o].id=null,e._mTween[o].stop=1)}},Z=function(e,t){try{delete e[t]}catch(i){e[t]=null}},ee=function(e){return!(e.which&&1!==e.which)},te=function(e){var t=e.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},ie=function(e){return!isNaN(parseFloat(e))&&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(){function e(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}var t=e();return t?document[t]:!1};e.fn[i]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[i]=function(t){return u[t]?u[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):u.init.apply(this,arguments)},e[i].defaults=s,window[i]=!0,e(window).bind("load",function(){e(n)[i](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var i,o,n=e(t),s=n.parents(".mCSB_container");return s.length?(i=s.parent(),o=[s[0].offsetTop,s[0].offsetLeft],o[0]+oe(n)[0]>=0&&o[0]+oe(n)[0]<i.height()-n.outerHeight(!1)&&o[1]+oe(n)[1]>=0&&o[1]+oe(n)[1]<i.width()-n.outerWidth(!1)):void 0},mcsInSight:e.expr[":"].mcsInSight||function(t,i,o){var n,s,a,r,l=e(t),d=l.parents(".mCSB_container"),c="exact"===o[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];return d.length?(n=[l.outerHeight(!1),l.outerWidth(!1)],a=[d[0].offsetTop+oe(l)[0],d[0].offsetLeft+oe(l)[1]],s=[d.parent()[0].offsetHeight,d.parent()[0].offsetWidth],r=[n[0]<s[0]?c[0]:c[1],n[1]<s[1]?c[0]:c[1]],a[0]-s[0]*r[0][0]<0&&a[0]+n[0]-s[0]*r[0][1]>=0&&a[1]-s[1]*r[1][0]<0&&a[1]+n[1]-s[1]*r[1][1]>=0):void 0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var i=e(t).data(o);return i?i.overflowed[0]||i.overflowed[1]:void 0}})})})}),!function(e,t){function i(e,t){return typeof e===t}function o(){var e,t,o,n,s,a,r;for(var c in d)if(d.hasOwnProperty(c)){if(e=[],t=d[c],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(o=0;o<t.options.aliases.length;o++)e.push(t.options.aliases[o].toLowerCase());for(n=i(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)a=e[s],r=a.split("."),1===r.length?u[r[0]]=n:(!u[r[0]]||u[r[0]]instanceof Boolean||(u[r[0]]=new Boolean(u[r[0]])),u[r[0]][r[1]]=n),l.push((n?"":"no-")+r.join("-"))}}function n(e){var t=h.className,i=u._config.classPrefix||"";if(f&&(t=t.baseVal),u._config.enableJSClass){var o=new RegExp("(^|s)"+i+"no-js(s|$)");t=t.replace(o,"$1"+i+"js$2")}u._config.enableClasses&&(t+=" "+i+e.join(" "+i),f?h.className.baseVal=t:h.className=t)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):f?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function a(){var e=t.body;return e||(e=s(f?"svg":"body"),e.fake=!0),e}function r(e,i,o,n){var r,l,d,c,u="modernizr",p=s("div"),f=a();if(parseInt(o,10))for(;o--;)d=s("div"),d.id=n?n[o]:u+(o+1),p.appendChild(d);return r=s("style"),r.type="text/css",r.id="s"+u,(f.fake?f:p).appendChild(r),f.appendChild(p),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(t.createTextNode(e)),p.id=u,f.fake&&(f.style.background="",f.style.overflow="hidden",c=h.style.overflow,h.style.overflow="hidden",h.appendChild(f)),l=i(p,e),f.fake?(f.parentNode.removeChild(f),h.style.overflow=c,h.offsetHeight):p.parentNode.removeChild(p),!!l}var l=[],d=[],c={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout(function(){t(i[e])},0)},addTest:function(e,t,i){d.push({name:e,fn:t,options:i})},addAsyncTest:function(e){d.push({name:null,fn:e})}},u=function(){};u.prototype=c,u=new u;var p=c._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];c._prefixes=p;var h=t.documentElement,f="svg"===h.nodeName.toLowerCase();c.testStyles=r,o(),n(l),delete c.addTest,delete c.addAsyncTest;for(var m=0;m<u._q.length;m++)u._qm;e.Modernizr=u}(window,document),!function(e){e.fn.theiaStickySidebar=function(t){function i(t,i){return!0===t.initialized||!(e("body").width()<t.minWidth)&&(function(t,i){t.initialized=!0,i.each(function(){function i(){n.fixedScrollTop=0,n.sidebar.removeClass("is-fixed").css({"min-height":"1px"}),n.stickySidebar.css({position:"static",width:"",transform:"none"})}var n={};n.sidebar=e(this),n.options=t||{},n.container=e(n.options.containerSelector),0==n.container.length&&(n.container=n.sidebar.parent()),n.sidebar.css({position:n.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),n.stickySidebar=n.sidebar.find(".theiaStickySidebar"),n.marginBottom=parseInt(n.sidebar.css("margin-bottom")),n.paddingTop=parseInt(n.sidebar.css("padding-top")),n.paddingBottom=parseInt(n.sidebar.css("padding-bottom"));var s=n.stickySidebar.offset().top,a=n.stickySidebar.outerHeight();n.stickySidebar.css("padding-top",1),n.stickySidebar.css("padding-bottom",1),s-=n.stickySidebar.offset().top,a=n.stickySidebar.outerHeight()-a-s,0==s?(n.stickySidebar.css("padding-top",0),n.stickySidebarPaddingTop=0):n.stickySidebarPaddingTop=1,0==a?(n.stickySidebar.css("padding-bottom",0),n.stickySidebarPaddingBottom=0):n.stickySidebarPaddingBottom=1,n.previousScrollTop=null,n.fixedScrollTop=0,i(),n.onScroll=function(n){if(n.stickySidebar.is(":visible"))if(e("body").width()<n.options.minWidth)i();else{if(n.options.disableOnResponsiveLayouts){var s=n.sidebar.outerWidth("none"==n.sidebar.css("float"));if(s+50>n.container.width())return void i()}var a,r,l=e(document).scrollTop(),d="static";if(l>=n.sidebar.offset().top+(n.paddingTop-n.options.additionalMarginTop)){var c,u=n.paddingTop+t.additionalMarginTop,p=n.paddingBottom+n.marginBottom+t.additionalMarginBottom,h=n.sidebar.offset().top,f=n.sidebar.offset().top+(a=n.container,r=a.height(),a.children().each(function(){r=Math.max(r,e(this).height())}),r),m=0+t.additionalMarginTop,v=n.stickySidebar.outerHeight()+u+p<e(window).height();c=v?m+n.stickySidebar.outerHeight():e(window).height()-n.marginBottom-n.paddingBottom-t.additionalMarginBottom;var g=h-l+n.paddingTop,w=f-l-n.paddingBottom-n.marginBottom,y=n.stickySidebar.offset().top-l,b=n.previousScrollTop-l;"fixed"==n.stickySidebar.css("position")&&"modern"==n.options.sidebarBehavior&&(y+=b),"stick-to-top"==n.options.sidebarBehavior&&(y=t.additionalMarginTop),"stick-to-bottom"==n.options.sidebarBehavior&&(y=c-n.stickySidebar.outerHeight()),y=b>0?Math.min(y,m):Math.max(y,c-n.stickySidebar.outerHeight()),y=Math.max(y,g),y=Math.min(y,w-n.stickySidebar.outerHeight());var k=n.container.height()==n.stickySidebar.outerHeight();d=!k&&y==m||!k&&y==c-n.stickySidebar.outerHeight()?"fixed":l+y-n.sidebar.offset().top-n.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==d){var S=e(document).scrollLeft();n.stickySidebar.css({position:"fixed",width:o(n.stickySidebar)+"px",transform:"translateY("+y+"px)",left:n.sidebar.offset().left+parseInt(n.sidebar.css("padding-left"))-S+"px",top:"0px"})}else if("absolute"==d){var x={};"absolute"!=n.stickySidebar.css("position")&&(x.position="absolute",x.transform="translateY("+(l+y-n.sidebar.offset().top-n.stickySidebarPaddingTop-n.stickySidebarPaddingBottom)+"px)",x.top="0px"),x.width=o(n.stickySidebar)+"px",x.left="",n.stickySidebar.css(x)}else"static"==d&&i();"static"!=d&&(1==n.options.updateSidebarHeight&&n.sidebar.addClass("is-fixed").css({"min-height":n.stickySidebar.outerHeight()+n.stickySidebar.offset().top-n.sidebar.offset().top+n.paddingBottom}),tie_animate_element(n.sidebar)),n.previousScrollTop=l}},n.onScroll(n),e(document).on("scroll."+n.options.namespace,function(e){return function(){e.onScroll(e)}}(n)),e(window).on("resize."+n.options.namespace,function(e){return function(){e.stickySidebar.css({position:"static"}),e.onScroll(e)}}(n)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(n.stickySidebar[0],function(e){return function(){e.onScroll(e)}}(n))})}(t,i),!0)}function o(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return void 0===t&&(t=e.width()),t}return(t=e.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0,function(t,o){i(t,o)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),e(document).on("scroll."+t.namespace,function(t,o){return function(n){var s=i(t,o);s&&e(this).unbind(n)}}(t,o)),e(window).on("resize."+t.namespace,function(t,o){return function(n){var s=i(t,o);s&&e(this).unbind(n)}}(t,o)))}(t,this),this}}(jQuery),!function(e){e&&(e.fn.tiesticky=function(t){return this.each(function(){var i=e(this),o=i.data("tiesticky"),n="object"==typeof t&&t;n=e.extend(!0,{},TieSticky.options,n),o||((o=new TieSticky(this,n)).init(),i.data("tiesticky",o)),"string"==typeof t&&(o[t](),"destroy"===t&&i.removeData("tiesticky"))})},e("[data-tiesticky]").each(function(){var t=e(this);t.tiesticky(t.data())}))}(window.jQuery),function(e,t){"use strict";"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.TieSticky=t()}(this,function(){"use strict";function e(e){this.callback=e,this.ticking=!1}function t(e,i){var o;i=function n(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,i,o,s=e||{};for(i=1;i<arguments.length;i++){var a=arguments[i]||{};for(t in a)"object"!=typeof s[t]||(o=s[t])&&"undefined"!=typeof window&&(o===window||o.nodeType)?s[t]=s[t]||a[t]:s[t]=n(s[t],a[t])}return s}(i,t.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=(o=i.tolerance)===Object(o)?o:{down:o,up:o},this.classes=i.classes,this.behaviorMode=i.behaviorMode,this.scroller=i.scroller,this.initialised=!1,this.onPin=i.onPin,this.onUnpin=i.onUnpin,this.onTop=i.onTop,this.onNotTop=i.onNotTop,this.onBottom=i.onBottom,this.onNotBottom=i.onNotBottom,this.offset=i.offset,this.windwidth=i.windwidth,this.offset="default"!=this.behaviorMode?this.offset+this.elem.offsetHeight:this.offset,this.offset=$body.hasClass("admin-bar")?this.offset-i.adminBarH:this.offset,this.offset=$body.hasClass("border-layout")?this.offset-25:this.offset,this.offset=$body.hasClass("border-layout")&&this.windwidth<992?this.offset+25:this.offset,this.menuHeight=i.menuHeight,this.isHightestThanSticky=i.isHightestThanSticky,this.heightDiff=i.heightDiff}var i={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,e.prototype={constructor:e,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},t.prototype={constructor:t,init:function(){return t.cutsTheMustard?("default"==this.behaviorMode&&this.elem.classList.add("default-behavior-mode"),this.debouncer=new e(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var e=this.classes;this.initialised=!0,this.elem.classList.remove(e.unpinned,e.pinned,e.top,e.notTop,e.initial,"fixed-nav"),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop},getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=0>e,i=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||i},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var i=e>this.lastKnownScrollY,o=e>=this.offset;return i&&o&&t},shouldPin:function(e,t){var i=e<this.lastKnownScrollY,o=e<=this.offset;return i&&t||o},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||("default"==this.behaviorMode&&this.isHightestThanSticky&&this.offset<e&&e<this.offset+this.heightDiff?this.elem.classList.add("just-before-sticky"):this.elem.classList.remove("just-before-sticky"),e<=this.offset-this.elem.offsetHeight&&"default"!=this.behaviorMode?(this.top(),this.elem.classList.add("unpinned-no-transition")):e<=this.offset&&"default"==this.behaviorMode?this.top():e>this.offset&&(this.notTop(),"default"==this.behaviorMode&&e<this.offset+100&&jQuery("#autocomplete-suggestions").hide()),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,i)?this.unpin():this.shouldPin(e,i)&&(this.pin(),e>this.offset&&"default"!=this.behaviorMode&&(this.elem.classList.remove("unpinned-no-transition"),jQuery(".autocomplete-suggestions").hide())),this.lastKnownScrollY=e)}},t.options={tolerance:{up:0,down:0},offset:0,behaviorMode:"upwards",scroller:window,classes:{initial:"fixed",pinned:"fixed-pinned",unpinned:"fixed-unpinned",top:"fixed-top",notTop:"fixed-nav",bottom:"fixed-bottom",notBottom:"fixed-not-bottom"}},t.cutsTheMustard=void 0!==i&&i.rAF&&i.bind&&i.classList,t});var megaMenuAjax=!1;jQuery(document).ready(function(){"use strict";function e(e,t,i,o){var n=e.attr("data-id"),s=e.attr("data-icon"),a=7,r=!0;n&&!e.hasClass("is-loaded")&&(e.addClass("is-loaded"),i?(a=o,r=!1):e.hasClass("menu-item-has-children")&&(a=4),megaMenuAjax&&4!=megaMenuAjax.readystate&&megaMenuAjax.abort(),megaMenuAjax=jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_mega_menu_load_ajax",id:n,featured:r,number:a,post_icon:s},beforeSend:function(){t.find(".loader-overlay").length||t.addClass("is-loading").append(tie.ajax_loader)},success:function(e){if(r)var i=jQuery(e);else var i='<ul id="loaded-'+n+'">'+e+"</ul>";t.append(i),t.find("ul").hide();var o=t.find("#loaded-"+n+", .mega-check-also ul").show().find("li"),s=t.find(".mega-recent-post");s.add(o).addClass("tie-animate-slideInUp tie-animate-delay"),tie_animate_element(t)},error:function(){e.removeClass("is-loaded")},complete:function(){t.removeClass("is-loading").find(".loader-overlay").remove()}}))}function t(){if($mainNav.length){var e,t=window.innerWidth;if(t>992){$body.hasClass("admin-bar")&&(e=783>t?46:32,e=601>t?0:e);var i=$mainNav.outerHeight();$mainNav.parent().css({height:i}),$mainNav.tiesticky("destroy"),$mainNav.tiesticky({offset:$mainNav.offset().top,behaviorMode:tie.sticky_behavior,tolerance:{up:0,down:0},windwidth:t,menuHeight:i,heightDiff:i-60,adminBarH:e,isHightestThanSticky:i>60?!0:!1})}}}if($mainNav.on("mouseenter",".mega-recent-featured, .mega-cat",function(){var t=jQuery(this),i=t.find(".mega-ajax-content"),o=!1,n=0;t.hasClass("mega-cat")&&(o=!0,n=5,t.has(".cats-vertical").length&&(n=4)),e(t,i,o,n)}),$mainNav.on("mouseenter",".mega-sub-cat",function(){var t=jQuery(this),i=t.attr("data-id");if(!t.hasClass("is-active")){var o=t.closest(".mega-menu"),n=o.find(".mega-ajax-content"),s=5;if(o.has(".cats-vertical").length&&(s=4),o.find(".mega-sub-cat").removeClass("is-active"),t.addClass("is-active"),n.find("#loaded-"+i).length){n.find("ul").hide();var a=n.find("#loaded-"+i+", .mega-check-also ul").show();return a.find("li").addClass("tie-animate-slideInUp tie-animate-delay"),!1}return t.removeClass("is-loaded"),e(t,n,!0,s),!1}}),tie.sticky_desktop&&(t(),$window.resize(t)),jQuery.fn.theiaStickySidebar){var i=jQuery(".is-sticky",".main-content-row");if(i.length){var o=tie.sticky_desktop?68:0;o="default"!=tie.sticky_behavior?8:o,o=$body.hasClass("admin-bar")?o+32:o,o=$body.hasClass("border-layout")?o+30:o,i.theiaStickySidebar({additionalMarginTop:20,additionalMarginBottom:30,minWidth:990})}}jQuery("nav > ul","#theme-header").on("focus.wparia mouseenter.wparia",'[aria-haspopup="true"]',function(e){jQuery(e.currentTarget).attr("aria-expanded",!0)}),jQuery("nav > ul","#theme-header").on("blur.wparia mouseleave.wparia",'[aria-haspopup="true"]',function(e){jQuery(e.currentTarget).attr("aria-expanded",!1)});var n=navigator.userAgent;n.match(/iPad/i)&&n.search("Safari")>=0&&n.search("Chrome")<0&&jQuery("#main-nav li.menu-item-has-children a, #main-nav li.mega-menu a, .top-bar li.menu-item-has-children a").attr("onclick","return true"),jQuery(".has-custom-scroll").each(function(){var e=jQuery(this),t=e.data("height")?e.data("height"):"auto",i=e.data("padding")?e.data("padding"):0;if(e.mCustomScrollbar("destroy"),"window"==e.data("height")){var o=e.height(),n=$window.height()-i-50;t=n>o?o:n}e.mCustomScrollbar({scrollButtons:{enable:!1},autoHideScrollbar:e.hasClass("show-scroll")?!1:!0,scrollInertia:100,mouseWheel:{enable:!0,scrollAmount:60},set_height:t,advanced:{updateOnContentResize:!0},callbacks:{whileScrolling:function(){tie_animate_element(e)}}})});var s=jQuery("#footer-instagram .tie-insta-photos");s.length&&s.mCustomScrollbar({axis:"x",scrollInertia:100,advanced:{autoExpandHorizontalScroll:!0},horizontalScroll:!0})});
/home/sudancam/public_html/../.trash/.well-known.1/../jannah/assets/js/../js/desktop.min.js