PageSourceSearch

http://americanmigrainefoundation.org/wp-content/plugins/awsm-team-pro/js/team.min.js?ver=1.10.2

js americanmigrainefoundation.org collected 2026-10-02 03:12:58 UTC 56,896 bytes, 1 lines download raw bytes

1"use strict";!function(p){var e;window.console=window.console||((e={}).log=e.warn=e.debug=e.info=e.error=e.time=e.dir=e.profile=e.clear=e.exception=e.trace=e.assert=function(){},e),p.fn.extend(p.easing,{easeInOutExpo:function(e,t,a,n,o){return 0===t?a:t===o?a+n:(t/=o/2)<1?n/2*Math.pow(2,10*(t-1))+a:n/2*(2-Math.pow(2,-10*--t))+a}}),p(document).on("keydown",function(e){var t=e.keyCode,a=p(document).find(".current-grid"),n=a.find(".awsm-grid-show");a.length&&(37===t&&(n.prev().prev().trigger("click"),e.preventDefault()),39===t&&(n.next().trigger("click"),e.preventDefault()))}),p.fn.gridderExpander=function(e){var i,t,s=p.extend({},p.fn.gridderExpander.defaults,e),r=null,l=null,d=null,o=p(this),c=!1,n=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;function m(e){var t,a=p(".awsm-grid-list .awsm-grid-list-item").first().data("info");void 0!==a&&a&&(t="",0<(a=p(".awsm-filter-btn.awsm-active-filter")).length&&(void 0!==(a=a.data("info"))&&a&&"#all"!==a&&(t=a)),window.history.replaceState({},"",n+t)),s.scroll&&p("html, body").animate({scrollTop:e.find(".awsm-expanded").offset().top-s.scrollOffset},{duration:200,easing:s.animationEasing}),o.removeClass("has-awsm-expanded"),c=!1,e.find(".awsm-expanded").removeClass("awsm-expanded"),e.find(".awsm-grid-show").slideUp(s.animationSpeed,s.animationEasing,function(){u(),e.find(".awsm-grid-show").remove(),s.onClosed(e)}),p(".current-grid").removeClass("current-grid")}function u(){var e;null!==l&&null!==d&&null!==r&&l&&d&&r&&((e=l.find("#"+r).next(".awsm-grid-show").find(".awsm-grid-expanded-content").children()).find(".awsm-personal-details").mCustomScrollbar("destroy"),e.appendTo(d),r=d=l=null)}function f(t){p(".current-grid").removeClass("current-grid");var e,a,n=t.parent(".awsm-grid");n.addClass("current-grid"),t.hasClass("awsm-expanded")?m(n):((e=t.parent(".awsm-grid")).find(".awsm-expanded").removeClass("awsm-expanded"),t.addClass("awsm-expanded"),0<(e=p(".awsm-grid-show").parent(".awsm-grid").not(e)).length&&e.each(function(){var e=p(this).parents(".awsm-grid-wrapper"),t=e.find(".awsm-grid-show"),a=t.prev(".awsm-grid-list"),n=t.find(".awsm-grid-expanded-content").children();n.find(".awsm-personal-details").mCustomScrollbar("destroy");var o=a.data("griddercontent");a.removeClass("awsm-expanded"),d=e.find(o),n.appendTo(d),t.remove()}),u(),n.find(".awsm-grid-show").remove(),o.hasClass("has-awsm-expanded")||o.addClass("has-awsm-expanded"),n=p('<div class="awsm-grid-show loading"></div>'),i=n.insertAfter(t),a="",0===t.data("griddercontent").indexOf("#")?h(t,!1):p.ajax({type:"GET",url:t.data("griddercontent"),success:function(e){h(t,a=e)},error:function(e){a=e.responseText,h(t,a)}}))}function h(e,t){var a,n='<div class="awsm-grid-padding">';s.showNav&&(a=p(".awsm-expanded").prev(),o=p(".awsm-expanded").next().next(),n+='<div class="awsm-grid-navigation">',n+='<span class="awsm-team-link-control awsm-grid-control awsm-grid-close">'+s.closeText+"</span>",n+='<span class="awsm-team-link-control awsm-grid-control awsm-grid-nav prev '+(a.length?"":"disabled")+'">'+s.prevText+"</span>",n+='<span class="awsm-team-link-control awsm-grid-control awsm-grid-nav next '+(o.length?"":"disabled")+'">'+s.nextText+"</span>",n+="</div>"),n+='<div class="awsm-grid-expanded-content">',n+=t||"",n+="</div>",n+="</div>",r=e.attr("id");var o=e.data("griddercontent");l=e.parents(".awsm-grid-wrapper");o=(d=l.find(o)).children();c?(i.hide().html(n),t||o.appendTo(i.find(".awsm-grid-expanded-content")),i.fadeIn(s.animationSpeed,function(){c=!0,p.isFunction(s.onContent)&&s.onContent(i)})):(i.hide().append(n),t||o.appendTo(i.find(".awsm-grid-expanded-content")),i.slideDown(s.animationSpeed,s.animationEasing,function(){c=!0,p.isFunction(s.onContent)&&s.onContent(i)})),s.scroll&&(e="panel"===s.scrollTo?e.offset().top+e.height()-s.scrollOffset:e.offset().top-s.scrollOffset,p("html, body").animate({scrollTop:e},{duration:s.animationSpeed,easing:s.animationEasing})),i.removeClass("loading")}s.onStart(o),"enable"===awsmTeamPublic.deep_linking.enable&&0<p(".awsm-grid").length&&window.location.hash&&(t=window.location.hash.substring(1),e=awsmTeamPublic.deep_linking.member.prefix,-1!==t.indexOf(e+"-")&&(void 0===(e=t.replace(e,"").split("-")[1])||0<(e=p(".awsm-grid-list .awsm-grid-list-item-"+e)).length&&f(e.parents(".awsm-grid-list")))),p(document).on("click",".awsm-grid-list .awsm-grid-list-item",function(e){e.preventDefault(),e.stopImmediatePropagation();var t=p(this),a=t.parents(".awsm-grid-list");"enable"!==awsmTeamPublic.deep_linking.enable||void 0!==(e=t.data("info"))&&e&&(t="#"+awsmTeamPublic.deep_linking.member.prefix+"-"+e,0<(e=awsmTeamPublic.deep_linking.member.suffix).trim().length&&(t+="-"+e),window.history.replaceState({},"",n+t)),f(a)}),p(document).on("click",".awsm-grid-nav.next",function(e){e.preventDefault(),p(this).parents(".awsm-grid-show").next().trigger("click")}),p(document).on("click",".awsm-grid-nav.prev",function(e){e.preventDefault(),p(this).parents(".awsm-grid-show").prev().prev().trigger("click")}),p(document).on("click",".awsm-grid-close",function(e){e.preventDefault(),m(p(this).parents(".awsm-grid"))})},p.fn.gridderExpander.defaults={scroll:!0,scrollOffset:30,scrollTo:"panel",animationSpeed:400,animationEasing:"easeInOutExpo",showNav:!0,nextText:"Next",prevText:"Previous",closeText:"Close",onStart:function(){},onContent:function(){},onClosed:function(){}}}(jQuery);var AwsmDrawer=function(t){var e=function(){t(".drawer-style").gridderExpander({scrollOffset:60,scrollTo:"listitem",animationSpeed:400,closeText:"",animationEasing:"easeInOutExpo",onContent:function(e){650<t(window).width()?t(e).find(".awsm-personal-details").mCustomScrollbar({theme:"dark",scrollInertia:400}):t(e).find(".awsm-personal-details").mCustomScrollbar("destroy")}})};return{init:function(){e()}}}(jQuery);jQuery,AwsmDrawer.init(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(c){var m,u,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],f=Array.prototype.slice;if(c.event.fixHooks)for(var a=e.length;a;)c.event.fixHooks[e[--a]]=c.event.mouseHooks;var h=c.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],n,!1);else this.onmousewheel=n;c.data(this,"mousewheel-line-height",h.getLineHeight(this)),c.data(this,"mousewheel-page-height",h.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],n,!1);else this.onmousewheel=null;c.removeData(this,"mousewheel-line-height"),c.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=c(e),e=t["offsetParent"in c.fn?"offsetParent":"parent"]();return e.length||(e=c("body")),parseInt(e.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return c(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};
1function n(e){var t,a=e||window.event,n=f.call(arguments,1),o=0,i=0,s=0,r=0,l=0,d=0;if(e=c.event.fix(a),e.type="mousewheel","detail"in a&&(s=-1*a.detail),"wheelDelta"in a&&(s=a.wheelDelta),"wheelDeltaY"in a&&(s=a.wheelDeltaY),"wheelDeltaX"in a&&(i=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(i=-1*s,s=0),o=0===s?i:s,"deltaY"in a&&(o=s=-1*a.deltaY),"deltaX"in a&&(i=a.deltaX,0===s&&(o=-1*i)),0!==s||0!==i)return 1===a.deltaMode?(o*=t=c.data(this,"mousewheel-line-height"),s*=t,i*=t):2===a.deltaMode&&(o*=t=c.data(this,"mousewheel-page-height"),s*=t,i*=t),r=Math.max(Math.abs(s),Math.abs(i)),(!u||r<u)&&w(a,u=r)&&(u/=40),w(a,r)&&(o/=40,i/=40,s/=40),o=Math[1<=o?"floor":"ceil"](o/u),i=Math[1<=i?"floor":"ceil"](i/u),s=Math[1<=s?"floor":"ceil"](s/u),h.settings.normalizeOffset&&this.getBoundingClientRect&&(r=this.getBoundingClientRect(),l=e.clientX-r.left,d=e.clientY-r.top),e.deltaX=i,e.deltaY=s,e.deltaFactor=u,e.offsetX=l,e.offsetY=d,e.deltaMode=0,n.unshift(e,o,i,s),m&&clearTimeout(m),m=setTimeout(p,200),(c.event.dispatch||c.event.handle).apply(this,n)}function p(){u=null}function w(e,t){return h.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}c.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(A){var l,P,n,o,r,i,p,R,L,w,u,d,c,m,f,h,g,v,x,_,C,b,y,S,T,B,k,M,W,s,O,D,I,E,z,H,j,U,X,Y,F,q,N,Q,V,G,J,Z,$,K,t,ee,te,ae,ne,oe,ie,e,a,se;e="function"==typeof define&&define.amd,a="undefined"!=typeof module&&module.exports,se=awsmTeamPublic.scripts_src+"/jquery.mousewheel.min.js",e||(a?require("jquery-mousewheel")(A):A.event.special.mousewheel||A("head").append(decodeURI("%3Cscript src="+se+"%3E%3C/script%3E"))),l="mCustomScrollbar",P="mCS",n=".mCustomScrollbar",o={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}},r=0,i={},p=window.attachEvent&&!window.addEventListener?1:0,R=!1,w=["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(s){var s=A.extend(!0,{},o,s),e=d.call(this);if(s.live){var t=s.liveSelector||this.selector||n,a=A(t);if("off"===s.live)return void m(t);i[t]=setTimeout(function(){a.mCustomScrollbar(s),"once"===s.live&&a.length&&m(t)},500)}else m(t);return s.setWidth=s.set_width||s.setWidth,s.setHeight=s.set_height||s.setHeight,s.axis=s.horizontalScroll?"x":f(s.axis),s.scrollInertia=0<s.scrollInertia&&s.scrollInertia<17?17:s.scrollInertia,"object"!=typeof s.mouseWheel&&1==s.mouseWheel&&(s.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),s.mouseWheel.scrollAmount=s.mouseWheelPixels||s.mouseWheel.scrollAmount,s.mouseWheel.normalizeDelta=s.advanced.normalizeMouseWheelDelta||s.mouseWheel.normalizeDelta,s.scrollButtons.scrollType=h(s.scrollButtons.scrollType),c(s),A(e).each(function(){var e,t,a,n,o,i=A(this);i.data(P)||(i.data(P,{idx:++r,opt:s,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}
1,img:{o:0,n:0},change:{o:0,n:0}}}),t=(e=i.data(P)).opt,a=i.data("mcs-axis"),n=i.data("mcs-scrollbar-position"),o=i.data("mcs-theme"),a&&(t.axis=a),n&&(t.scrollbarPosition=n),o&&(t.theme=o,c(t)),g.call(this),e&&t.callbacks.onCreate&&"function"==typeof t.callbacks.onCreate&&t.callbacks.onCreate.call(this),A("#mCSB_"+e.idx+"_container img:not(."+w[2]+")").addClass(w[2]),u.update.call(null,i))})},update:function(e,s){e=e||d.call(this);return A(e).each(function(){var e,t,a,n,o,i=A(this);i.data(P)&&(t=(e=i.data(P)).opt,o=A("#mCSB_"+e.idx+"_container"),a=A("#mCSB_"+e.idx),n=[A("#mCSB_"+e.idx+"_dragger_vertical"),A("#mCSB_"+e.idx+"_dragger_horizontal")],o.length&&(e.tweenRunning&&J(i),s&&e&&t.callbacks.onBeforeUpdate&&"function"==typeof t.callbacks.onBeforeUpdate&&t.callbacks.onBeforeUpdate.call(this),i.hasClass(w[3])&&i.removeClass(w[3]),i.hasClass(w[4])&&i.removeClass(w[4]),a.css("max-height","none"),a.height()!==i.height()&&a.css("max-height",i.height()),x.call(this),"y"===t.axis||t.advanced.autoExpandHorizontalScroll||o.css("width",v(o)),e.overflowed=S.call(this),M.call(this),t.autoDraggerLength&&C.call(this),b.call(this),B.call(this),o=[Math.abs(o[0].offsetTop),Math.abs(o[0].offsetLeft)],"x"!==t.axis&&(e.overflowed[0]?n[0].height()>n[0].parent().height()?T.call(this):(Z(i,o[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(T.call(this),"y"===t.axis?k.call(this):"yx"===t.axis&&e.overflowed[1]&&Z(i,o[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==t.axis&&(e.overflowed[1]?n[1].width()>n[1].parent().width()?T.call(this):(Z(i,o[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(T.call(this),"x"===t.axis?k.call(this):"yx"===t.axis&&e.overflowed[0]&&Z(i,o[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),s&&e&&(2===s&&t.callbacks.onImageLoad&&"function"==typeof t.callbacks.onImageLoad?t.callbacks.onImageLoad.call(this):3===s&&t.callbacks.onSelectorChange&&"function"==typeof t.callbacks.onSelectorChange?t.callbacks.onSelectorChange.call(this):t.callbacks.onUpdate&&"function"==typeof t.callbacks.onUpdate&&t.callbacks.onUpdate.call(this)),G.call(this)))})},scrollTo:function(s,r){if(void 0!==s&&null!=s){var e=d.call(this);return A(e).each(function(){var e,t,a,n,o,i=A(this);i.data(P)&&(e=i.data(P),o={trigger:"external",scrollInertia:(t=e.opt).scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},a=A.extend(!0,{},o,r),n=Q.call(this,s),o=0<a.scrollInertia&&a.scrollInertia<17?17:a.scrollInertia,n[0]=V.call(this,n[0],"y"),n[1]=V.call(this,n[1],"x"),a.moveDragger&&(n[0]*=e.scrollRatio.y,n[1]*=e.scrollRatio.x),a.dur=ie()?0:o,setTimeout(function(){null!==n[0]&&void 0!==n[0]&&"x"!==t.axis&&e.overflowed[0]&&(a.dir="y",a.overwrite="all",Z(i,n[0].toString(),a)),null!==n[1]&&void 0!==n[1]&&"y"!==t.axis&&e.overflowed[1]&&(a.dir="x",a.overwrite="none",Z(i,n[1].toString(),a))},a.timeout))})}},stop:function(){var e=d.call(this);return A(e).each(function(){var e=A(this);e.data(P)&&J(e)})},disable:function(t){var e=d.call(this);return A(e).each(function(){var e=A(this);e.data(P)&&(e.data(P),G.call(this,"remove"),k.call(this),t&&T.call(this),M.call(this,!0),e.addClass(w[3]))})},destroy:function(){var s=d.call(this);return A(s).each(function(){var e,t,a,n,o,i=A(this);i.data(P)&&(t=(e=i.data(P)).opt,a=A("#mCSB_"+e.idx),n=A("#mCSB_"+e.idx+"_container"),o=A(".mCSB_"+e.idx+"_scrollbar"),t.live&&m(t.liveSelector||A(s).selector),G.call(this,"remove"),k.call(this),T.call(this),i.removeData(P),ee(this,"mcs"),o.remove(),n.find("img."+w[2]).removeClass(w[2]),a.replaceWith(n.contents()),i.removeClass(l+" _"+P+"_"+e.idx+" "+w[6]+" "+w[7]+" "+w[5]+" "+w[3]).addClass(w[4]))})}},d=function(){return"object"!=typeof A(this)||A(this).length<1?n:this},c=function(e){e.autoDraggerLength=!(-1<A.inArray(e.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"]))&&e.autoDraggerLength,e.autoExpandScrollbar=!(-1<A.inArray(e.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"]))&&e.autoExpandScrollbar,e.scrollButtons.enable=!(-1<A.inArray(e.theme,["minimal","minimal-dark"]))&&e.scrollButtons.enable,e.autoHideScrollbar=-1<A.inArray(e.theme,["minimal","minimal-dark"])||e.autoHideScrollbar,e.scrollbarPosition=-1<A.inArray(e.theme,["minimal","minimal-dark"])?"outside":e.scrollbarPosition},m=function(e){i[e]&&(clearTimeout(i[e]),ee(i,e))},f=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},h=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},g=function(){var e=A(this),t=e.data(P),a=t.opt,n=a.autoExpandScrollbar?" "+w[1]+"_expand":"",o=["<div id='m
1CSB_"+t.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+a.theme+" mCSB_scrollTools_vertical"+n+"'><div class='"+w[12]+"'><div id='mCSB_"+t.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div></div><div class='mCSB_draggerRail' /></div>","<div id='mCSB_"+t.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+a.theme+" mCSB_scrollTools_horizontal"+n+"'><div class='"+w[12]+"'><div id='mCSB_"+t.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div></div><div class='mCSB_draggerRail' /></div>"],i="yx"===a.axis?"mCSB_vertical_horizontal":"x"===a.axis?"mCSB_horizontal":"mCSB_vertical",s="yx"===a.axis?o[0]+o[1]:"x"===a.axis?o[1]:o[0],r="yx"===a.axis?"<div id='mCSB_"+t.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",n=a.autoHideScrollbar?" "+w[6]:"",o="x"!==a.axis&&"rtl"===t.langDir?" "+w[7]:"";a.setWidth&&e.css("width",a.setWidth),a.setHeight&&e.css("height",a.setHeight),a.setLeft="y"!==a.axis&&"rtl"===t.langDir?"989999px":a.set
vendor: 8,756 bytes, line 1
1Left,e.addClass(l+" _"+P+"_"+t.idx+n+o).wrapInner("<div id='mCSB_"+t.idx+"' class='mCustomScrollBox mCS-"+a.theme+" "+i+"'><div id='mCSB_"+t.idx+"_container' class='mCSB_container' style='position:relative; top:"+a.setTop+"; left:"+a.setLeft+";' dir='"+t.langDir+"' /></div>");o=A("#mCSB_"+t.idx),i=A("#mCSB_"+t.idx+"_container");"y"===a.axis||a.advanced.autoExpandHorizontalScroll||i.css("width",v(i)),"outside"===a.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),o.addClass("mCSB_outside").after(s)):(o.addClass("mCSB_inside").append(s),i.wrap(r)),_.call(this);t=[A("#mCSB_"+t.idx+"_dragger_vertical"),A("#mCSB_"+t.idx+"_dragger_horizontal")];t[0].css("min-height",t[0].height()),t[1].css("min-width",t[1].width())},v=function(e){var t=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return A(this).outerWidth(!0)}).get())],e=e.parent().width();return e<t[0]?t[0]:e<t[1]?t[1]:"100%"},x=function(){var e=A(this).data(P),t=e.opt,a=A("#mCSB_"+e.idx+"_container");t.advanced.autoExpandHorizontalScroll&&"y"!==t.axis&&(a.css({width:"auto","min-width":0,"overflow-x":"scroll"}),e=Math.ceil(a[0].scrollWidth),3===t.advanced.autoExpandHorizontalScroll||2!==t.advanced.autoExpandHorizontalScroll&&e>a.parent().width()?a.css({width:e,"min-width":"100%","overflow-x":"inherit"}):a.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(a[0].getBoundingClientRect().right+.4)-Math.floor(a[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},_=function(){var e=A(this).data(P),t=e.opt,a=A(".mCSB_"+e.idx+"_scrollbar:first"),e=ne(t.scrollButtons.tabindex)?"tabindex='"+t.scrollButtons.tabindex+"'":"",e=["<a href='#' class='"+w[13]+"' "+e+" />","<a href='#' class='"+w[14]+"' "+e+" />","<a href='#' class='"+w[15]+"' "+e+" />","<a href='#' class='"+w[16]+"' "+e+" />"],e=["x"===t.axis?e[2]:e[0],"x"===t.axis?e[3]:e[1],e[2],e[3]];t.scrollButtons.enable&&a.prepend(e[0]).append(e[1]).next(".mCSB_scrollTools").prepend(e[2]).append(e[3])},C=function(){var e=A(this).data(P),t=A("#mCSB_"+e.idx),a=A("#mCSB_"+e.idx+"_container"),n=[A("#mCSB_"+e.idx+"_dragger_vertical"),A("#mCSB_"+e.idx+"_dragger_horizontal")],e=[t.height()/a.outerHeight(!1),t.width()/a.outerWidth(!1)],t=[parseInt(n[0].css("min-height")),Math.round(e[0]*n[0].parent().height()),parseInt(n[1].css("min-width")),Math.round(e[1]*n[1].parent().width())],a=p&&t[1]<t[0]?t[0]:t[1],e=p&&t[3]<t[2]?t[2]:t[3];n[0].css({height:a,"max-height":n[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":t[0]+"px"}),n[1].css({width:e,"max-width":n[1].parent().width()-10})},b=function(){var e=A(this).data(P),t=A("#mCSB_"+e.idx),a=A("#mCSB_"+e.idx+"_container"),n=[A("#mCSB_"+e.idx+"_dragger_vertical"),A("#mCSB_"+e.idx+"_dragger_horizontal")],t=[a.outerHeight(!1)-t.height(),a.outerWidth(!1)-t.width()],n=[t[0]/(n[0].parent().height()-n[0].height()),t[1]/(n[1].parent().width()-n[1].width())];e.scrollRatio={y:n[0],x:n[1]}},y=function(e,t,a){var n=a?w[0]+"_expanded":"",a=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(w[0]+" "+n),a.toggleClass(w[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(w[0]),a.removeClass(w[1])):(e.addClass(w[0]),a.addClass(w[1])))},S=function(){var e=A(this).data(P),t=A("#mCSB_"+e.idx),a=A("#mCSB_"+e.idx+"_container"),n=null==e.overflowed?a.height():a.outerHeight(!1),o=null==e.overflowed?a.width():a.outerWidth(!1),e=a[0].scrollHeight,a=a[0].scrollWidth;return n<e&&(n=e),o<a&&(o=a),[n>t.height(),o>t.width()]},T=function(){var e,t=A(this),a=t.data(P),n=a.opt,o=A("#mCSB_"+a.idx),i=A("#mCSB_"+a.idx+"_container"),s=[A("#mCSB_"+a.idx+"_dragger_vertical"),A("#mCSB_"+a.idx+"_dragger_horizontal")];J(t),("x"!==n.axis&&!a.overflowed[0]||"y"===n.axis&&a.overflowed[0])&&(s[0].add(i).css("top",0),Z(t,"_resetY")),("y"!==n.axis&&!a.overflowed[1]||"x"===n.axis&&a.overflowed[1])&&(n=e=0,"rtl"===a.langDir&&(n=o.width()-i.outerWidth(!1),e=Math.abs(n/a.scrollRatio.x)),i.css("left",n),s[1].css("left",e),Z(t,"_resetX"))},B=function(){var e,t,a=A(this),n=a.data(P),o=n.opt;n.bindEvents||(s.call(this),o.contentTouchScroll&&O.call(this),D.call(this),o.mouseWheel.enable&&(e=function(){t=setTimeout(function(){A.event.special.mousewheel?(clearTimeout(t),I.call(a[0])):e()},100)})(),U.call(this),Y.call(this),o.advanced.autoScrollOnFocus&&X.call(this),o.scrollButtons.enable&&F.call(this),o.keyboard.enable&&q.call(this),n.bindEvents=!0)},k=function(){var e=A(this),t=e.data(P),a=t.opt,n="mCS_"+t.idx,o=".mCSB_"+t.idx+"_scrollbar",i=A("#mCSB_"+t.idx+",#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,"+o+" ."+w[12]+",#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal,"+o+">a"),o=A("#mCSB_"+t.idx+"_container");a.advanced.releaseDraggableSelectors&&i.add(A(a.advanced.releaseDraggableSelectors)),a.advanced.extraDraggableSelectors&&i.add(A(a.advanced.extraDraggableSelectors)),t.bindEvents&&(a=z()?top.document:document,A(document).add(A(a)).unbind("."+n),i.each(function(){A(this).unbind("."+n)}),clearTimeout(e[0]._focusTimeout),ee(e[0],"_focusTimeout"),clearTimeout(t.sequential.step),ee(t.sequential,"step"),clearTimeout(o[0].onCompleteTimeout),ee(o[0],"onCompleteTimeout"),t.bindEvents=!1)},M=function(e){var t=A(this),a=t.data(P),n=a.opt,o=A("#mCSB_"+a.idx+"_container_wrapper"),i=o.length?o:A("#mCSB_"+a.idx+"_container"),s=[A("#mCSB_"+a.idx+"_scrollbar_vertical"),A("#mCSB_"+a.idx+"_scrollbar_horizontal")],o=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==n.axis&&(a.overflowed[0]&&!e?(s[0].add(o[0]).add(s[0].children("a")).css("display","block"),i.removeClass(w[8]+" "+w[10])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&o[0].css("display","none"),i.removeClass(w[10])):(s[0].css("display","none"),i.addClass(w[10])),i.addClass(w[8]))),"y"!==n.axis&&(a.overflowed[1]&&!e?(s[1].add(o[1]).add(s[1].children("a")).css("display","block"),i.removeClass(w[9]+" "+w[11])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&o[1].css("display","none"),i.removeClass(w[11])):(s[1].css("display","none"),i.addClass(w[11])),i.addClass(w[9]))),a.overflowed[0]||a.overflowed[1]?t.removeClass(w[5]):t.addClass(w[5])},W=function(e){var t=e.type,a=e.target.ownerDocument!==document&&null!==frameElement?[A(frameElement).offset().top,A(frameElement).offset().left]:null,n=z()&&e.target.ownerDocument!==top.document&&null!==frameElement?[A(e.view.frameElement).offset().top,A(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]+n[0],e.originalEvent.pageX-a[1]+n[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var o=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[o.screenY,o.screenX,1<i]:[o.pageY,o.pageX,1<i];default:return a?[e.pageY-a[0]+n[0],e.pageX-a[1]+n[1],!1]:[e.pageY,e.pageX,!1]}},s=function(){var i,o,s,r=A(this),l=r.data(P),d=l.opt,e="mCS_"+l.idx,c=["mCSB_"+l.idx+"_dragger_vertical","mCSB_"+l.idx+"_dragger_horizontal"],m=A("#mCSB_"+l.idx+"_container"),t=A("#"+c[0]+",#"+c[1]),a=d.advanced.releaseDraggableSelectors?t.add(A(d.advanced.releaseDraggableSelectors)):t,n=z()?top.document:document,n=d.advanced.extraDraggableSelectors?A(n).add(A(d.advanced.extraDraggableSelectors)):A(n);function u(e,t,a,n){var o;m[0].idleTimer=d.scrollInertia<233?250:0,a=i.attr("id")===c[1]?(o="x",(i[0].offsetLeft-t+n)*l.scrollRatio.x):(o="y",(i[0].offsetTop-e+a)*l.scrollRatio.y),Z(r,a.toString(),{dir:o,drag:!0})}t.bind("contextmenu."+e,function(e){e.preventDefault()}).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){var t,a,n;e.stopImmediatePropagation(),e.preventDefault(),te(e)&&(R=!0,p&&(document.onselectstart=function(){return!1}),H.call(m,!1),J(r),n=(i=A(this)).offset(),t=W(e)[0]-n.top,a=W(e)[1]-n.left,e=i.height()+n.top,n=i.width()+n.left,t<e&&0<t&&a<n&&0<a&&(o=t,s=a),y(i,"active",d.autoExpandScrollbar))}).bind("touchmove."+e,function(e){e.stopImmediatePropagation(),e.preventDefault();var t=i.offset(),a=W(e)[0]-t.top,t=W(e)[1]-t.left;u(o,s,a,t)}),A(document).add(n).bind("mousemove."+e+" pointermove."+e+" MSPointerMove."+e,function(e){var t,a;i&&(a=i.offset(),t=W(e)[0]-a.top,a=W(e)[1]-a.left,o===t&&s===a||u(o,s,t,a))}).add(a).bind("mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(e){i&&(y(i,"active",d.autoExpandScrollbar),i=null),R=!1,p&&(document.onselectstart=null),H.
1call(m,!0)})},O=function(){var s,r,l,i,d,c,m,u,f,h,p,w,g=A(this),v=g.data(P),x=v.opt,e="mCS_"+v.idx,_=A("#mCSB_"+v.idx),C=A("#mCSB_"+v.idx+"_container"),b=[A("#mCSB_"+v.idx+"_dragger_vertical"),A("#mCSB_"+v.idx+"_dragger_horizontal")],S=[],y=[],T=0,B="yx"===x.axis?"none":"all",k=[],t=C.find("iframe"),a=["touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,"touchmove."+e+" pointermove."+e+" MSPointerMove."+e,"touchend."+e+" pointerup."+e+" MSPointerUp."+e],M=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;function n(e){var t;!ae(e)||R||W(e)[2]?L=0:(w=p=0,s=L=1,g.removeClass("mCS_touch_action"),t=C.offset(),r=W(e)[0]-t.top,l=W(e)[1]-t.left,k=[W(e)[0],W(e)[1]])}function o(e){var t,a,n,o,i;!ae(e)||R||W(e)[2]||(x.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),w&&!p||s&&(m=K(),n=_.offset(),t=W(e)[0]-n.top,a=W(e)[1]-n.left,n="mcsLinearOut",S.push(t),y.push(a),k[2]=Math.abs(W(e)[0]-k[0]),k[3]=Math.abs(W(e)[1]-k[1]),v.overflowed[0]&&(o=b[0].parent().height()-b[0].height(),o=0<r-t&&t-r>-(o*v.scrollRatio.y)&&(2*k[3]<k[2]||"yx"===x.axis)),v.overflowed[1]&&(i=b[1].parent().width()-b[1].width(),i=0<l-a&&a-l>-(i*v.scrollRatio.x)&&(2*k[2]<k[3]||"yx"===x.axis)),o||i?(M||e.preventDefault(),p=1):(w=1,g.addClass("mCS_touch_action")),M&&e.preventDefault(),f="yx"===x.axis?[r-t,l-a]:"x"===x.axis?[null,l-a]:[r-t,null],C[0].idleTimer=250,v.overflowed[0]&&E(f[0],T,n,"y","all",!0),v.overflowed[1]&&E(f[1],T,n,"x",B,!0)))}function O(e){var t;!ae(e)||R||W(e)[2]?L=0:(L=1,e.stopImmediatePropagation(),J(g),c=K(),t=_.offset(),i=W(e)[0]-t.top,d=W(e)[1]-t.left,S=[],y=[])}function D(e){var t,a,n,o;!ae(e)||R||W(e)[2]||(s=0,e.stopImmediatePropagation(),w=p=0,u=K(),n=_.offset(),t=W(e)[0]-n.top,o=W(e)[1]-n.left,30<u-m||(a="mcsEaseOut",n=(e=(h=1e3/(u-c))<2.5)?[S[S.length-2],y[y.length-2]]:[0,0],u=e?[t-n[0],o-n[1]]:[t-i,o-d],o=[Math.abs(u[0]),Math.abs(u[1])],h=e?[Math.abs(u[0]/4),Math.abs(u[1]/4)]:[h,h],e=[Math.abs(C[0].offsetTop)-u[0]*I(o[0]/h[0],h[0]),Math.abs(C[0].offsetLeft)-u[1]*I(o[1]/h[1],h[1])],f="yx"===x.axis?[e[0],e[1]]:"x"===x.axis?[null,e[1]]:[e[0],null],h=[4*o[0]+x.scrollInertia,4*o[1]+x.scrollInertia],e=parseInt(x.contentTouchScroll)||0,f[0]=e<o[0]?f[0]:0,f[1]=e<o[1]?f[1]:0,v.overflowed[0]&&E(f[0],h[0],a,"y",B,!1),v.overflowed[1]&&E(f[1],h[1],a,"x",B,!1)))}function I(e,t){var a=[1.5*t,2*t,t/1.5,t/2];return 90<e?4<t?a[0]:a[3]:60<e?3<t?a[3]:a[2]:30<e?8<t?a[1]:6<t?a[0]:4<t?t:a[2]:8<t?t:a[3]}function E(e,t,a,n,o,i){e&&Z(g,e.toString(),{dur:t,scrollEasing:a,dir:n,overwrite:o,drag:i})}C.bind(a[0],function(e){n(e)}).bind(a[1],function(e){o(e)}),_.bind(a[0],function(e){O(e)}).bind(a[2],function(e){D(e)}),t.length&&t.each(function(){A(this).bind("load",function(){z(this)&&A(this.contentDocument||this.contentWindow.document).bind(a[0],function(e){n(e),O(e)}).bind(a[1],function(e){o(e)}).bind(a[2],function(e){D(e)})})})},D=function(){var n,o=A(this),i=o.data(P),s=i.opt,r=i.sequential,e="mCS_"+i.idx,l=A("#mCSB_"+i.idx+"_container"),d=l.parent();function c(e,t,a){r.type=a&&n?"stepped":"stepless",r.scrollAmount=10,N(o,e,t,"mcsLinearOut",a?60:null)}l.bind("mousedown."+e,function(e){L||n||(n=1,R=!0)}).add(document).bind("mousemove."+e,function(e){var t,a;!L&&n&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)&&(a=l.offset(),t=W(e)[0]-a.top+l[0].offsetTop,a=W(e)[1]-a.left+l[0].offsetLeft,0<t&&t<d.height()&&0<a&&a<d.width()?r.step&&c("off",null,"stepped"):("x"!==s.axis&&i.overflowed[0]&&(t<0?c("on",38):t>d.height()&&c("on",40)),"y"!==s.axis&&i.overflowed[1]&&(a<0?c("on",37):a>d.width()&&c("on",39))))}).bind("mouseup."+e+" dragend."+e,function(e){L||(n&&(n=0,c("off",null)),R=!1)})},I=function(){var c,m,u,e,f,h,t;function a(e,t){var a,n,o,i,s,r,l,d;J(c),j(c,e.target)||(a="auto"!==u.mouseWheel.deltaFactor?parseInt(u.mouseWheel.deltaFactor):!(p&&e.deltaFactor<100)&&e.deltaFactor||100,n=u.scrollInertia,t="x"===u.axis||"x"===u.mouseWheel.axis?(o="x",i=[Math.round(a*m.scrollRatio.x),parseInt(u.mouseWheel.scrollAmount)],s="auto"!==u.mouseWheel.scrollAmount?i[1]:i[0]>
1=f.width()?.9*f.width():i[0],r=Math.abs(A("#mCSB_"+m.idx+"_container")[0].offsetLeft),l=h[1][0].offsetLeft,d=h[1].parent().width()-h[1].width(),"y"===u.mouseWheel.axis?e.deltaY||t:e.deltaX):(o="y",i=[Math.round(a*m.scrollRatio.y),parseInt(u.mouseWheel.scrollAmount)],s="auto"!==u.mouseWheel.scrollAmount?i[1]:i[0]>=f.height()?.9*f.height():i[0],r=Math.abs(A("#mCSB_"+m.idx+"_container")[0].offsetTop),l=h[0][0].offsetTop,d=h[0].parent().height()-h[0].height(),e.deltaY||t),"y"===o&&!m.overflowed[0]||"x"===o&&!m.overflowed[1]||((u.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(t=-t),u.mouseWheel.normalizeDelta&&(t=t<0?-1:1),(0<t&&0!==l||t<0&&l!==d||u.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!u.mouseWheel.normalizeDelta&&(s=e.deltaFactor,n=17),Z(c,(r-t*s).toString(),{dir:o,dur:n})))}A(this).data(P)&&(c=A(this),m=c.data(P),u=m.opt,e="mCS_"+m.idx,f=A("#mCSB_"+m.idx),h=[A("#mCSB_"+m.idx+"_dragger_vertical"),A("#mCSB_"+m.idx+"_dragger_horizontal")],(t=A("#mCSB_"+m.idx+"_container").find("iframe")).length&&t.each(function(){A(this).bind("load",function(){z(this)&&A(this.contentDocument||this.contentWindow.document).bind("mousewheel."+e,function(e,t){a(e,t)})})}),f.bind("mousewheel."+e,function(e,t){a(e,t)}))},E=new Object,z=function(e){var t=!1,a=!1,n=null;if(void 0===e?a="#empty":void 0!==A(e).attr("id")&&(a=A(e).attr("id")),!1!==a&&void 0!==E[a])return E[a];if(e){try{n=(e.contentDocument||e.contentWindow.document).body.innerHTML}catch(e){}t=null!==n}else{try{n=top.document.body.innerHTML}catch(e){}t=null!==n}return!1!==a&&(E[a]=t),t},H=function(e){var t=this.find("iframe");t.length&&(e=e?"auto":"none",t.css("pointer-events",e))},j=function(e,t){var a=t.nodeName.toLowerCase(),e=e.data(P).opt.mouseWheel.disableOver;return-1<A.inArray(a,e)&&!(-1<A.inArray(a,["select","textarea"])&&!A(t).is(":focus"))},U=function(){var s,r=A(this),l=r.data(P),e="mCS_"+l.idx,d=A("#mCSB_"+l.idx+"_container"),c=d.parent();A(".mCSB_"+l.idx+"_scrollbar ."+w[12]).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){R=!0,A(e.target).hasClass("mCSB_dragger")||(s=1)}).bind("touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(e){R=!1}).bind("click."+e,function(e){if(s&&(s=0,A(e.target).hasClass(w[12])||A(e.target).hasClass("mCSB_draggerRail"))){J(r);var t=A(this),a=t.find(".mCSB_dragger");if(0<t.parent(".mCSB_scrollTools_horizontal").length){if(!l.overflowed[1])return;var n="x",o=e.pageX>a.offset().left?-1:1,i=Math.abs(d[0].offsetLeft)-o*(.9*c.width())}else{if(!l.overflowed[0])return;n="y",o=e.pageY>a.offset().top?-1:1,i=Math.abs(d[0].offsetTop)-o*(.9*c.height())}Z(r,i.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}})},X=function(){var o=A(this),e=o.data(P),i=e.opt,t="mCS_"+e.idx,s=A("#mCSB_"+e.idx+"_container"),r=s.parent();s.bind("focusin."+t,function(e){var n=A(document.activeElement),t=s.find(".mCustomScrollBox").length;n.is(i.advanced.autoScrollOnFocus)&&(J(o),clearTimeout(o[0]._focusTimeout),o[0]._focusTimer=t?17*t:0,o[0]._focusTimeout=setTimeout(function(){var e=[oe(n)[0],oe(n)[1]],t=[s[0].offsetTop,s[0].offsetLeft],a=[0<=t[0]+e[0]&&t[0]+e[0]<r.height()-n.outerHeight(!1),0<=t[1]+e[1]&&t[0]+e[1]<r.width()-n.outerWidth(!1)],t="yx"!==i.axis||a[0]||a[1]?"all":"none";"x"===i.axis||a[0]||Z(o,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:t,dur:0}),"y"===i.axis||a[1]||Z(o,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:t,dur:0})},o[0]._focusTimer))})},Y=function(){var t=A(this).data(P),e="mCS_"+t.idx,a=A("#mCSB_"+t.idx+"_container").parent();a.bind("scroll."+e,function(e){0===a.scrollTop()&&0===a.scrollLeft()||A(".mCSB_"+t.idx+"_scrollbar").css("visibility","hidden")})},F=function(){var n=A(this),o=n.data(P),i=o.opt,s=o.sequential,e="mCS_"+o.idx,t=".mCSB_"+o.idx+"_scrollbar";A(t+">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){if(e.preventDefault(),te(e)){var t=A(this).attr("class");switch(s.type=i.scrollButtons.scrollType,e.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;R=!0,o.tweenRunning=!1,a("on",t);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;R=!1,s.dir&&a("off",t);break;case"click":if("stepped"!==s.type||o.tweenRunning)return;a("on",t)}}function a(e,t){s.scrollAmount=i.scrollButtons.scrollAmount,N(n,e,t)}})},q=function(){var s=A(this),r=s.data(P),l=r.opt,d=r.sequential,e="mCS_"+r.idx,t=A("#mCSB_"+r.idx),c=A("#mCSB_"+r.idx+"_container"),m=c.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",a=c.find("iframe"),n=["blur."+e+" keydown."+e+" keyup."+e];
1function o(e){switch(e.type){case"blur":r.tweenRunning&&d.dir&&i("off",null);break;case"keydown":case"keyup":var t,a,n=e.keyCode||e.which,o="on";if("x"!==l.axis&&(38===n||40===n)||"y"!==l.axis&&(37===n||39===n)){if((38===n||40===n)&&!r.overflowed[0]||(37===n||39===n)&&!r.overflowed[1])return;"keyup"===e.type&&(o="off"),A(document.activeElement).is(u)||(e.preventDefault(),e.stopImmediatePropagation(),i(o,n))}else 33===n||34===n?((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type&&(J(s),a=34===n?-1:1,a="x"===l.axis||"yx"===l.axis&&r.overflowed[1]&&!r.overflowed[0]?(t="x",Math.abs(c[0].offsetLeft)-a*(.9*m.width())):(t="y",Math.abs(c[0].offsetTop)-a*(.9*m.height())),Z(s,a.toString(),{dir:t,scrollEasing:"mcsEaseInOut"}))):35!==n&&36!==n||A(document.activeElement).is(u)||((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type&&(a="x"===l.axis||"yx"===l.axis&&r.overflowed[1]&&!r.overflowed[0]?(t="x",35===n?Math.abs(m.width()-c.outerWidth(!1)):0):(t="y",35===n?Math.abs(m.height()-c.outerHeight(!1)):0),Z(s,a.toString(),{dir:t,scrollEasing:"mcsEaseInOut"})))}function i(e,t){d.type=l.keyboard.scrollType,d.scrollAmount=l.keyboard.scrollAmount,"stepped"===d.type&&r.tweenRunning||N(s,e,t)}}a.length&&a.each(function(){A(this).bind("load",function(){z(this)&&A(this.contentDocument||this.contentWindow.document).bind(n[0],function(e){o(e)})})}),t.attr("tabindex","0").bind(n[0],function(e){o(e)})},N=function(s,e,t,r,l){var d=s.data(P),c=d.opt,m=d.sequential,u=A("#mCSB_"+d.idx+"_container"),a="stepped"===m.type,f=c.scrollInertia<26?26:c.scrollInertia,h=c.scrollInertia<1?17:c.scrollInertia;switch(e){case"on":if(m.dir=[t===w[16]||t===w[15]||39===t||37===t?"x":"y",t===w[13]||t===w[15]||38===t||37===t?-1:1],J(s),ne(t)&&"stepped"===m.type)return;p(a);break;case"off":clearTimeout(m.step),ee(m,"step"),J(s),(a||d.tweenRunning&&m.dir)&&p(!0)}function p(e){c.snapAmount&&(m.scrollAmount=c.snapAmount instanceof Array?"x"===m.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var t="stepped"!==m.type,a=l||(e?t?f/1.5:h:1e3/60),n=e?t?7.5:40:2.5,o=[Math.abs(u[0].offsetTop),Math.abs(u[0].offsetLeft)],i=[10<d.scrollRatio.y?10:d.scrollRatio.y,10<d.scrollRatio.x?10:d.scrollRatio.x],i="x"===m.dir[0]?o[1]+m.dir[1]*(i[1]*n):o[0]+m.dir[1]*(i[0]*n),n="x"===m.dir[0]?o[1]+m.dir[1]*parseInt(m.scrollAmount):o[0]+m.dir[1]*parseInt(m.scrollAmount),n="auto"!==m.scrollAmount?n:i,i=r||(e?t?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),t=!!e;e&&a<17&&(n="x"===m.dir[0]?o[1]:o[0]),Z(s,n.toString(),{dir:m.dir[0],scrollEasing:i,dur:a,onComplete:t}),e?m.dir=!1:(clearTimeout(m.step),m.step=setTimeout(function(){p()},a))}},Q=function(e){var t=A(this).data(P).opt,a=[];return"function"==typeof e&&(e=e()),e instanceof Array?a=1<e.length?[e[0],e[1]]:"x"===t.axis?[null,e[0]]:[e[0],null]:(a[0]=e.y||(e.x||"x"===t.axis?null:e),a[1]=e.x||(e.y||"y"===t.axis?null:e)),"function"==typeof a[0]&&(a[0]=a[0]()),"function"==typeof a[1]&&(a[1]=a[1]()),a},V=function(e,t){if(null!=e&&void 0!==e){var a=A(this),n=a.data(P),o=n.opt,i=A("#mCSB_"+n.idx+"_container"),s=i.parent(),n=typeof e,r="x"===(t=t||("x"===o.axis?"x":"y"))?i.outerWidth(!1)-s.width():i.outerHeight(!1)-s.height(),l="x"===t?i[0].offsetLeft:i[0].offsetTop,d="x"===t?"left":"top";switch(n){case"function":return e();case"object":return(m=e.jquery?e:A(e)).length?"x"===t?oe(m)[1]:oe(m)[0]:void 0;case"string":case"number":if(ne(e))return Math.abs(e);if(-1!==e.indexOf("%"))return Math.abs(r*parseInt(e)/100);if(-1!==e.indexOf("-="))return Math.abs(l-parseInt(e.split("-=")[1]));if(-1!==e.indexOf("+=")){var c=l+parseInt(e.split("+=")[1]);return 0<=c?0:Math.abs(c)}if(-1!==e.indexOf("px")&&ne(e.split("px")[0]))return Math.abs(e.split("px")[0]);if("top"===e||"left"===e)return 0;if("bottom"===e)return Math.abs(s.height()-i.outerHeight(!1));if("right"===e)return Math.abs(s.width()-i.outerWidth(!1));if("first"!==e&&"last"!==e)return A(e).length?"x"===t?oe(A(e))[1]:oe(A(e))[0]:(i.css(d,e),void u.update.call(null,a[0]));var m=i.find(":"+e);return"x"===t?oe(m)[1]:oe(m)[0]}}},G=function(e){var t=A(this),a=t.data(P),n=a.opt,o=A("#mCSB_"+a.idx+"_container");if(e)return clearTimeout(o[0].autoUpdate),void ee(o[0],"autoUpdate");function i(e){var t,a,n;A(e).hasClass(w[2])?r():((t=new Image).onload=(a=t,n=function(){this.onload=null,A(e).addClass(w[2]),r(2)},function(){return n.apply(a,arguments)}),t.src=e.src)}function s(){!0===n.advanced.updateOnSelectorChange&&(n.advanced.updateOnSelectorChange="*");var e=0,t=o.find(n.advanced.updateOnSelectorChange);return n.advanced.updateOnSelectorChange&&0<t.length&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}function r(e){clearTimeout(o[0].autoUpdate),u.update.call(null,t[0],e)}!function e(){clearTimeout(o[0].autoUpdate);if(0===t.parents("html").length)return void(t=null);o[0].autoUpdate=setTimeout(function(){return n.advanced.updateOnSelectorChange&&(a.poll.change.n=s(),a.poll.change.n!==a.poll.change.o)?(a.poll.change.o=a.poll.change.n,void r(3)):n.advanced.updateOnContentResize&&(a.poll.size.n=t[0].scrollHeight+t[0].scrollWidth+o[0].offsetHeight+t[0].offsetHeight+t[0].offsetWidth,a.poll.size.n!==a.poll.size.o)?(a.poll.size.o=a.poll.size.n,void r(1)):!n.advanced.updateOnImageLoad||"auto"===n.advanced.updateOnImageLoad&&"y"===n.axis||(a.poll.img.n=o.find("img").length,a.poll.img.n===a.poll.img.o)?void((n.advanced.updateOnSelectorChange||n.advanced.updateOnContentResize||n.advanced.updateOnImageLoad)&&e()):(a.poll.img.o=a.poll.img.n,void o.find("img").each(function(){i(this)}))},n.advanced.autoUpdateTimeout)}()},J=function(e){e=e.data(P);A("#mCSB_"+e.idx+"_container,#mCSB_"+e.idx+"_container_wrapper,#mCSB_"+e.idx+"_dragger_vertical,#mCSB_"+e.idx+"_dragger_horizontal").each(function(){t.call(this)})},Z=function(o,e,i){var t,a=o.data(P),n=a.opt,s={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:n.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},r=[(i=A.extend(s,i)).dur,i.drag?0:i.dur],l=A("#mCSB_"+a.idx),d=A("#mCSB_"+a.idx+"_container"),c=d.parent(),m=n.callbacks.onTotalScrollOffset?Q.call(o,n.callbacks.onTotalScrollOffset):[0,0],u=n.callbacks.onTotalScrollBackOffset?Q.call(o,n.callbacks.onTotalScrollBackOffset):[0,0];if(a.trigger=i.trigger,0===c.scrollTop()&&0===c.scrollLeft()||(A(".mCSB_"+a.idx+"_scrollbar").css("visibility","visible"),c.scrollTop(0).scrollLeft(0)),"_resetY"!==e||a.contentReset.
1y||(b("onOverflowYNone")&&n.callbacks.onOverflowYNone.call(o[0]),a.contentReset.y=1),"_resetX"!==e||a.contentReset.x||(b("onOverflowXNone")&&n.callbacks.onOverflowXNone.call(o[0]),a.contentReset.x=1),"_resetY"!==e&&"_resetX"!==e){switch(!a.contentReset.y&&o[0].mcs||!a.overflowed[0]||(b("onOverflowY")&&n.callbacks.onOverflowY.call(o[0]),a.contentReset.x=null),!a.contentReset.x&&o[0].mcs||!a.overflowed[1]||(b("onOverflowX")&&n.callbacks.onOverflowX.call(o[0]),a.contentReset.x=null),n.snapAmount&&(t=n.snapAmount instanceof Array?"x"===i.dir?n.snapAmount[1]:n.snapAmount[0]:n.snapAmount,s=e,c=t,t=n.snapOffset,e=Math.round(s/c)*c-t),i.dir){case"x":var f=A("#mCSB_"+a.idx+"_dragger_horizontal"),h="left",p=d[0].offsetLeft,w=[l.width()-d.outerWidth(!1),f.parent().width()-f.width()],g=[e,0===e?0:e/a.scrollRatio.x],v=m[1],x=u[1],_=0<v?v/a.scrollRatio.x:0,C=0<x?x/a.scrollRatio.x:0;break;case"y":f=A("#mCSB_"+a.idx+"_dragger_vertical"),h="top",p=d[0].offsetTop,w=[l.height()-d.outerHeight(!1),f.parent().height()-f.height()],g=[e,0===e?0:e/a.scrollRatio.y],v=m[0],x=u[0],_=0<v?v/a.scrollRatio.y:0,C=0<x?x/a.scrollRatio.y:0}g[1]<0||0===g[0]&&0===g[1]?g=[0,0]:g[1]>=w[1]?g=[w[0],w[1]]:g[0]=-g[0],o[0].mcs||(S(),b("onInit")&&n.callbacks.onInit.call(o[0])),clearTimeout(d[0].onCompleteTimeout),$(f[0],h,Math.round(g[1]),r[1],i.scrollEasing),!a.tweenRunning&&(0===p&&0<=g[0]||p===w[0]&&g[0]<=w[0])||$(d[0],h,Math.round(g[0]),r[0],i.scrollEasing,i.overwrite,{onStart:function(){i.callbacks&&i.onStart&&!a.tweenRunning&&(b("onScrollStart")&&(S(),n.callbacks.onScrollStart.call(o[0])),a.tweenRunning=!0,y(f),a.cbOffsets=[n.callbacks.alwaysTriggerOffsets||p>=w[0]+v,n.callbacks.alwaysTriggerOffsets||p<=-x])},onUpdate:function(){i.callbacks&&i.onUpdate&&b("whileScrolling")&&(S(),n.callbacks.whileScrolling.call(o[0]))},onComplete:function(){var e;i.callbacks&&i.onComplete&&("yx"===n.axis&&clearTimeout(d[0].onCompleteTimeout),e=d[0].idleTimer||0,d[0].onCompleteTimeout=setTimeout(function(){b("onScroll")&&(S(),n.callbacks.onScroll.call(o[0])),b("onTotalScroll")&&g[1]>=w[1]-_&&a.cbOffsets[0]&&(S(),n.callbacks.onTotalScroll.call(o[0])),b("onTotalScrollBack")&&g[1]<=C&&a.cbOffsets[1]&&(S(),n.callbacks.onTotalScrollBack.call(o[0])),a.tweenRunning=!1,d[0].idleTimer=0,y(f,"hide")},e))}})}function b(e){return a&&n.callbacks[e]&&"function"==typeof n.callbacks[e]}function S(){var e=[d[0].offsetTop,d[0].offsetLeft],t=[f[0].offsetTop,f[0].offsetLeft],a=[d.outerHeight(!1),d.outerWidth(!1)],n=[l.height(),l.width()];o[0].mcs={content:d,top:e[0],left:e[1],draggerTop:t[0],draggerLeft:t[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(a[0])-n[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(a[1])-n[1])),direction:i.dir}}},$=function(e,t,a,n,o,i,s){e._mTween||(e._mTween={top:{},left:{}});var r,l,d=(s=s||{}).onStart||function(){},c=s.onUpdate||function(){},m=s.onComplete||function(){},u=K(),f=0,h=e.offsetTop,p=e.style,w=e._mTween[t];"left"===t&&(h=e.offsetLeft);var g=a-h;function v(){w.stop||(f||d.call(),f=K()-u,x(),f>=w.time&&(w.time=f>w.time?f+r-(f-w.time):f+r-1,w.time<f+1&&(w.time=f+1)),w.time<n?w.id=l(v):m.call())}function x(){0<n?(w.currVal=function(e,t,a,n,o){switch(o){case"linear":case"mcsLinear":return a*e/n+t;case"mcsLinearOut":return e/=n,e--,a*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return(e/=n/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return(e/=n/2)<1?a/2*Math.pow(2,10*(e-1))+t:(e--,a/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return(e/=n/2)<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=n,-a*(--e*e*e*e-1)+t;case"easeOutStrong":return a*(1-Math.pow(2,-10*e/n))+t;case"easeOut":case"mcsEaseOut":default:var i=(e/=n)*e,s=i*e;return t+a*(.499999999999997*s*i+-2.5*i*i+5.5*s+-6.5*i+4*e)}}(w.time,h,g,n,o),p[t]=Math.round(w.currVal)+"px"):p[t]=a+"px",c.call()}w.stop=0,"none"===i||null!=w.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(w.id):clearTimeout(w.id),w.id=null),r=1e3/60,w.time=f+r,l=window.requestAnimationFrame||function(e){return x(),setTimeout(e,.01)},w.id=l(v)},K=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()},t=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],a=0;a<t.length;a++){var n=t[a];e._mTween[n].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[n].id):clearTimeout(e._mTween[n].id),e._mTween[n].id=null,e._mTween[n].stop=1)}},ee=function(t,a){try{delete t[a]}catch(e){t[a]=null}},te=function(e){return!(e.which&&1!==e.which)},ae=function(e){e=e.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},ne=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]},ie=function(){var e=function(){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}();return!!e&&document[e]},A.fn[l]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1
1)):"object"!=typeof e&&e?void A.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},A[l]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void A.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},A[l].defaults=o,window[l]=!0,A(window).bind("load",function(){A(n)[l](),A.extend(A.expr[":"],{mcsInView:A.expr[":"].mcsInView||function(e){var t=A(e),a=t.parents(".mCSB_container");if(a.length)return e=a.parent(),0<=(a=[a[0].offsetTop,a[0].offsetLeft])[0]+oe(t)[0]&&a[0]+oe(t)[0]<e.height()-t.outerHeight(!1)&&0<=a[1]+oe(t)[1]&&a[1]+oe(t)[1]<e.width()-t.outerWidth(!1)},mcsInSight:A.expr[":"].mcsInSight||function(e,t,a){var n=A(e),o=n.parents(".mCSB_container"),e="exact"===a[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(o.length)return a=[n.outerHeight(!1),n.outerWidth(!1)],n=[o[0].offsetTop+oe(n)[0],o[0].offsetLeft+oe(n)[1]],o=[o.parent()[0].offsetHeight,o.parent()[0].offsetWidth],n[0]-o[0]*(e=[a[0]<o[0]?e[0]:e[1],a[1]<o[1]?e[0]:e[1]])[0][0]<0&&0<=n[0]+a[0]-o[0]*e[0][1]&&n[1]-o[1]*e[1][0]<0&&0<=n[1]+a[1]-o[1]*e[1][1]},mcsOverflow:A.expr[":"].mcsOverflow||function(e){e=A(e).data(P);if(e)return e.overflowed[0]||e.overflowed[1]}})})});var AwsmModel=function(n){n(".awsm-modal").find(".awsm-grid-modal"),n(".awsm-modal").find(".awsm-modal-items"),n(".awsm-modal").find(".awsm-modal-item");function s(e){0<n(".modal-style.style-1").length&&(830<n(window).width()?0<e.parents(".modal-style.style-1").length&&e.find(".awsm-modal-content").mCustomScrollbar({theme:"dark",scrollInertia:400}):n(".modal-style.style-1 .awsm-modal-content").mCustomScrollbar("destroy"))}function r(e){var t;"enable"!==awsmTeamPublic.deep_linking.enable||void 0!==(t=e.data("info"))&&t&&(e="#"+awsmTeamPublic.deep_linking.member.prefix+"-"+t,0<(t=awsmTeamPublic.deep_linking.member.suffix).trim().length&&(e+="-"+t),window.history.replaceState({},"",a+e))}function l(e){e.removeClass("awsm-modal-open").addClass("awsm-modal-closing").delay(500).queue(function(){n(this).removeClass("awsm-modal-closing").addClass("awsm-modal-hidden"),n(this).dequeue(),c=!0})}var d=n(".awsm-modal"),a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=!0,e=function(){n(document).on("click",".awsm-modal-close",m),n(document).on("click",".awsm-modal-trigger",i),n(document).on("click",".awsm-nav-item",f),n(document).on("click",".awsm-grid-wrapper .awsm-modal-items",t),n(document).keyup(h)},t=function(e){e.target==this&&m(e)},o=function(){var e,t;"enable"===awsmTeamPublic.deep_linking.enable&&0<n(".awsm-modal-trigger").length&&window.location.hash&&(e=window.location.hash.substring(1),t=awsmTeamPublic.deep_linking.member.prefix,-1!==e.indexOf(t+"-")&&(void 0===(t=e.replace(t,"").split("-")[1])||0<(t=n(".awsm-modal-trigger-"+t)).length&&t.last().trigger("click")))},i=function(e){e.preventDefault(),e.stopImmediatePropagation();var t=n(this),a=(d=t.parents(".awsm-modal")).find(t.data("trigger")),e=a.parents(".awsm-modal-items");e.find(".awsm-modal-item").addClass("awsm-modal-hidden"),e.addClass("awsm-modal-on"),d.find(".awsm-nav-item").removeClass("awsm-nav-disabled"),1===e.find(".awsm-modal-item."+u()).length&&d.find(".awsm-nav-item").addClass("awsm-nav-disabled"),a.stop(!0).removeClass("awsm-modal-hidden").addClass("awsm-modal-open"),n("html").addClass("awsm-popup-on awsm-popup-open"),s(a),r(t)},m=function(e){var t;e.preventDefault(),e.stopImmediatePropagation(),n(".awsm-modal-items").removeClass("awsm-modal-on"),l(n(".awsm-modal-item")),n("html").removeClass("awsm-popup-on"),setTimeout(function(){n("html").removeClass("awsm-popup-open")},600),void 0!==(t=n(".awsm-modal-trigger").first().data("info"))&&t&&(e="",0<(t=n(".awsm-filter-btn.awsm-active-filter")).length&&(void 0!==(t=t.data("info"))&&t&&"#all"!==t&&(e=t)),window.history.replaceState({},"",a+e))},u=function(){var e=d.parents(".awsm-grid-wrapper"),t=e.find(".awsm-filter-btn.awsm-active-filter").data("rel");return void 0!==t&&0!==t.length||(t="awsm-all"),0<e.find(".awsm-team-search-wrap.awsm-team-search-active").length&&(t+=".awsm-modal-search-item"),t},f=function(e){e.preventDefault(),e.stopImmediatePropagation();e="forward";n(this).hasClass("awsm-nav-left")&&(e="rewind"),p(e)},h=function(e){switch(e.keyCode){case 27:m(e);break;case 39:p("forward");break;case 37:p("rewind")}},p=function(e){var t,a,n,o,i;!d.find(".awsm-nav-item").first().hasClass("awsm-nav-disabled")&&c&&(c=!1,t=".awsm-modal-item."+u(),a=d.find(".awsm-modal-open").first(),n=d.find(t),o=a.prevAll(t).first(),i=n.last(),"forward"==e&&(o=a.nextAll(t).first(),i=n.first()),0==o.length?(i.stop(!0).removeClass("awsm-modal-hidden").addClass("awsm-modal-open"),s(i),r(i)):(o.stop(!0).removeClass("awsm-modal-hidden").addClass("awsm-modal-open"),s(o),r(o)),l(a))};return{init:function(){e(),o()}}}(jQuery);jQuery,AwsmModel.init();var AwsmCustom=function(t){function e(){return"ontouchstart"in window||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints}var a=function(){t(document).on({mouseover:function(){e()||n()},touchstart:function(){n(!0)}}),t(document).on("touchend",".awsm-grid > .awsm-grid-card > figure",function(e){t(e.target).is(".awsm-grid > .awsm-grid-card > figure a")||t(e.target).is(".awsm-grid > .awsm-grid-card > figure a *")||(e.preventDefault(),t(this).toggleClass("cs-hover"))})},n=function(e){(e=void 0!==e&&e)||t(".awsm-grid-wrapper").addClass("no-touchevents"),-1!=window.navigator.userAgent.indexOf("Windows NT 10.0")&&t(".awsm-grid-wrapper").addClass("no-touchevents")};return{isTouchDevice:e,init:function(){a()}}}(jQuery);!function(r){var e,l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,d=awsmTeamPublic.deep_linking.enable,t=awsmTeamPublic.deep_linking.team.prefix;function a(e,t){var a,n,o,i,s;t=void 0===t||t,e.hasClass("awsm-active-filter")||(a=e.attr("data-rel"),n=e.parents(".awsm-grid-wrapper"),o=!1,i=a.replace("awsm-",""),n.find('.awsm-team-search-wrap input[name="awsm_team_filter"]').val(i),0<n.find(".awsm-team-search-wrap.awsm-team-search-active").length&&(o=!0),e.parent().find(".awsm-filter-btn").removeClass("awsm-active-filter"),e.addClass("awsm-active-filter"),n.find(".awsm-grid").stop().fadeTo(100,.5),n.find(".awsm-grid div.awsm-team-item.awsm-scale-anm").removeClass("awsm-scale-anm").stop().fadeOut(500).promise().done(function(){var e="."+a;o&&(e+=".awsm-modal-search-item");e=n.find(e);0<e.length?(e.stop().fadeIn().addClass("awsm-scale-anm"),n.find(".awsm-team-search-no-results").addClass("awsm-team-hide")):(n.find(".awsm-grid div.awsm-team-item").addClass("awsm-scale-anm"),o&&n.find(".awsm-team-search-no-results").removeClass("awsm-team-hide")),n.find(".awsm-grid").stop().fadeTo(300,1)}),e.parent().parent().find(".awsm-modal-item:not(."+a+")").hide(),r(".current-grid").removeClass("current-grid"),n.find(".awsm-grid-show").hide(),(s=n.find(".awsm-grid")).removeClass("has-awsm-expanded"),s.find(".awsm-expanded").removeClass("awsm-expanded"),s.find(".awsm-grid-show").slide
1Up(function(){s.find(".awsm-grid-show").each(function(){var e=r(this),t=e.find(".awsm-grid-expanded-content").children();t.find(".awsm-personal-details").mCustomScrollbar("destroy");e=e.prev(".awsm-grid-list").data("griddercontent");t.appendTo(n.find(e))}),s.find(".awsm-grid-show").remove()}),t&&(e=e.data("info"),"enable"===d&&void 0!==e&&e&&("#all"!==e?window.history.replaceState({},"",l+e):window.history.replaceState({},"",l))))}AwsmCustom.init(),0<r(".awsm-filter-btn").length&&window.location.hash&&(-1===(e=window.location.hash.substring(1)).indexOf(t+"-")||0<(e=r('.awsm-filter-btn[data-info="#'+e+'"]')).length&&(a(e,!1),r("html, body").animate({scrollTop:e.parents(".awsm-team-filter-wrap").offset().top},1400))),r(document).on("click",".awsm-filter-btn",function(){AwsmCustom.isTouchDevice()&&r(".awsm-grid > .awsm-grid-card > figure").removeClass("cs-hover"),a(r(this))});var o=".awsm-grid-wrapper";function i(n){var o=n.find(".awsm-grid"),i=n.find(".awsm-team-search-wrap"),e=i.find("form"),t=e.serializeArray(),s=i.data("team");r.ajax({url:awsmTeamPublic.ajaxurl,beforeSend:function(){o.addClass("awsm-team-loading")},data:t,dataType:"JSON",type:e.attr("method")}).done(function(e){i.addClass("awsm-team-search-active"),o.find(".awsm-team-item").removeClass("awsm-scale-anm").hide(),n.find(".awsm-team-filter-wrap").removeClass("awsm-team-hide"),o.find(".awsm-team-search-no-results").addClass("awsm-team-hide");var t=e.ids;if(0<t.length)for(var a in n.find(".awsm-modal-item").removeClass("awsm-modal-search-item"),t)n.find("#awsm-member-"+s+"-"+t[a]).addClass("awsm-scale-anm awsm-modal-search-item").show(),n.find("#modal-style-"+s+"-"+t[a]).addClass("awsm-modal-search-item");else n.find(".awsm-team-filter-wrap").addClass("awsm-team-hide"),o.find(".awsm-team-search-no-results").removeClass("awsm-team-hide");e=n.find(".awsm-team-search-control");0<e.length&&(0<e.val().length?(n.find(".awsm-team-search-btn").addClass("awsm-team-hide"),n.find(".awsm-team-search-close-btn").removeClass("awsm-team-hide")):n.find(".awsm-team-search-btn").removeClass("awsm-team-hide"))}).fail(function(e){}).always(function(){o.removeClass("awsm-team-loading")})}function n(e){var t=e.parents(o),a=t.find(".awsm-team-search-control").val();0===a.length&&t.find(".awsm-team-search-icon-wrapper").addClass("awsm-team-hide"),i(t);var n=t.find(".awsm-team-search-wrap").data("query");void 0!==n&&1===Number(n)&&(e="mq",t=a,n=document.location.search,t="?"+(a=e+"="+t),n&&(e=new RegExp("([?&])"+e+"[^&]*"),t=null!==n.match(e)?n.replace(e,"$1"+a):n+"&"+a),window.history.replaceState({},"",l+t))}0<r(o).length&&r(o).each(function(){var e=r(this),t=e.find(".awsm-team-search-wrap form");0<t.length&&0<t.find(".awsm-team-search-control").val().length&&i(e)}),r(".awsm-team-search .awsm-team-search-btn").on("click",function(){n(r(this))}),r(".awsm-team-search .awsm-team-search-close-btn").on("click",function(){var e=r(this);e.parents(o).find(".awsm-team-search-control").val(""),n(e)}),r(".awsm-team-search .awsm-team-search-control").on("keypress",function(e){13==e.which&&(e.preventDefault(),n(r(this)))})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.