PageSourceSearch

https://cdn.fantasyfootballscout.co.uk/wp-content/themes/football-fantastico/js/min/scripts-min.js?ver=1.2.0

js fantasyfootballscout.co.uk collected 2026-10-01 11:27:23 UTC 127,759 bytes, 10 lines download raw bytes

1!function(i){i.fn.liteTabs=function(d){return this.each(function(){var s=i.extend({},{borders:!1,boxed:!1,fadeIn:!1,height:"auto",hideHash:!0,rounded:!1,selectedTab:1,width:500},d),e=i(this),t=e.children("ul").find("a"),a=i("> div",e);e.addClass("liteTabs").width(s.width),a.css({height:s.height,width:s.width-(parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"))),position:"absolute",left:-9999}),t.click(function(e){var d=a.removeClass("selected").filter('[name="'+this.hash+'"]');t.removeClass("selected").filter(this).addClass("selected"),s.fadeIn?d.hide().addClass("selected").fadeIn():d.addClass("selected"),s.hideHash&&e.preventDefault()}),s.selectedTab&&t.eq(s.selectedTab-1).click(),s.rounded&&e.addClass("rounded"),s.borders&&e.addClass("borders")&&a.width(a.width()-(parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width")))),s.boxed&&e.addClass("boxed")})}}(jQuery);
2!function(t,i,n){var e=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=n(e):"function"==typeof define&&define.amd?define(function(){return i[t]=n(e)}):i[t]=n(e)}("enquire",this,function(e){"use strict";function s(t,i){for(var n=0,e=t.length;n<e&&!1!==i(t[n],n);n++);}function o(t){return"function"==typeof t}function i(t){(this.options=t).deferSetup||this.setup()}function r(t,i){this.query=t,this.isUnconditional=i,this.handlers=[],this.mql=e(t);var n=this;this.listener=function(t){n.mql=t,n.assess()},this.mql.addListener(this.listener)}
2function t(){if(!e)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!e("only all").matches}return i.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},r.prototype={addHandler:function(t){t=new i(t);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(n){var e=this.handlers;s(e,function(t,i){return t.equals(n)?(t.destroy(),!e.splice(i,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){s(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";s(this.handlers,function(t){t[i]()})}},t.prototype={register:function(i,t,n){var e=this.queries,n=n&&this.browserIsIncapable;return e[i]||(e[i]=new r(i,n)),o(t)&&(t={match:t}),n=t,s(t="[object Array]"!==Object.prototype.toString.apply(n)?[t]:t,function(t){o(t)&&(t={match:t}),e[i].addHandler(t)}),this},unregister:function(t,i){var n=this.queries[t];return n&&(i?n.removeHandler(i):(n.clear(),delete this.queries[t])),this}},new t});
3!function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,d=void 0===n?function(){}:function(t){n.error(t)};function s(l,h,c){(c=c||e||t.jQuery)&&(h.prototype.option||(h.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),c.fn[l]=function(t){var e,n,s,o,r,a;return"string"==typeof t?(e=i.call(arguments,1),s=e,r="$()."+l+'("'+(n=t)+'")',(e=this).each(function(t,e){var i,e=c.data(e,l);e?(i=e[n])&&"_"!=n.charAt(0)?(i=i.apply(e,s),o=void 0===o?i:o):d(r+" is not a valid method"):d(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==o?o:e):(a=t,this.each(function(t,e){var i=c.data(e,l);i?(i.option(a),i._init()):(i=new h(e,a),c.data(e,l,i))}),this)},o(c))}function o(t){t&&!t.bridget&&(t.bridget=s)}return o(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;if(t&&e)return-1==(i=(i=this._events=this._events||{})[t]=i[t]||[]).indexOf(e)&&i.push(e),this},e.once=function(t,e){var i;if(t&&e)return this.on(t,e),((i=this._onceEvents=this._onceEvents||{})[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],s=0;s<i.length;s++){var o=i[s];n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function m(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var E,S=!1;function C(t){if(S||(S=!0,(c=document.createElement("div")).style.width="200px",c.style.padding="1px 2px 3px 4px",c.style.borderStyle="solid",c.style.borderWidth="1px 2px 3px 4px",c.style.boxSizing="border-box",(h=document.body||document.documentElement).appendChild(c),o=b(c),E=200==Math.round(m(o.width)),C.isBoxSizeOuter=E,h.removeChild(c)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=b(t);if("none"==e.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<y;n++)i[v[n]]=0;return i}for(var s={},o=(s.width=t.offsetWidth,s.height=t.offsetHeight,s.isBorderBox="border-box"==e.boxSizing),r=0;r<y;r++){var a=v[r],l=e[a],l=parseFloat(l);s[a]=isNaN(l)?0:l}var h=s.paddingLeft+s.paddingRight,c=s.paddingTop+s.paddingBottom,t=s.marginLeft+s.marginRight,d=s.marginTop+s.marginBottom,u=s.borderLeftWidth+s.borderRightWidth,p=s.borderTopWidth+s.borderBottomWidth,f=o&&E,g=m(e.width),g=(!1!==g&&(s.width=g+(f?0:h+u)),m(e.height));return!1!==g&&(s.height=g+(f?0:c+p)),s.innerWidth=s.width-(h+u),s.innerHeight=s.height-(c+p),s.outerWidth=s.width+t,s.outerHeight=s.height+d,s}}return C}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
3sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(i,o){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,h=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,o(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,n){t=l.makeArray(t);var s=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){o(t,n)&&s.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)s.push(e[i])}else s.push(t)}),s},l.debounceMethod=function(t,e,n){n=n||100;var s=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o],e=(clearTimeout(t),arguments),i=this;this[o]=setTimeout(function(){s.apply(i,e),delete i[o]},n)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(r,a){l.docReady(function(){var t=l.toDashed(a),n="data-"+t,e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),s=n+"-options",o=i.jQuery;e.forEach(function(t){var e=t.getAttribute(n)||t.getAttribute(s);try{i=e&&JSON.parse(e)}catch(e){return void(h&&h.error("Error parsing "+n+" on "+t.className+": "+e))}var i=new r(t,i);o&&o.data(t,a,i)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(t){return e(0,t)}):"object"==typeof module&&module.exports?module.exports=e(0,require("get-size")):(t.Flickity=t.Flickity||{},t.Flickity.Cell=e(0,t.getSize))}(window,function(t,e){function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/slide",e):"object"==typeof module&&module.exports?module.exports=e():(t.Flickity=t.Flickity||{},t.Flickity.Slide=e())}(window,function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){var e;this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length&&(this.x=t.x,e=this.isOriginLeft?"marginLeft":"marginRight",this.firstMargin=t.size[e])},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),e=e?e.size[t]:0,t=this.outerWidth-(this.firstMargin+e);this.target=this.x+this.firstMargin+t*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]}
3,e.select=function(){this.cells.forEach(function(t){t.select()})},e.unselect=function(){this.cells.forEach(function(t){t.unselect()})},e.getCellElements=function(){return this.cells.map(function(t){return t.element})},t}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(t){return e(0,t)}):"object"==typeof module&&module.exports?module.exports=e(0,require("fizzy-ui-utils")):(t.Flickity=t.Flickity||{},t.Flickity.animatePrototype=e(0,t.fizzyUIUtils))}(window,function(t,e){var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t,e=this.x;this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating&&(t=this,requestAnimationFrame(function(){t.animate()}))},positionSlider:function(){var t=this.x;this.options.wrapAround&&1<this.cells.length&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;t=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+t+",0,0)":"translateX("+t+")"},dispatchScrollEvent:function(){var t,e=this.slides[0];e&&(t=(e=-this.x-e.target)/this.slidesWidth,this.dispatchEvent("scroll",null,[t,e]))},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*t)||this.restingFrames++,2<this.restingFrames&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t,e=(this._shiftCells(this.beforeShiftCells,e,-1),this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition));this._shiftCells(this.afterShiftCells,e,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var s=t[n];s.wrapShift(0<e?i:0),e-=s.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){var t;this.isDraggable&&this.isPointerDown&&(t=this.dragX-this.x-this.velocity,this.applyForce(t))},applySelectedAttraction:function(){var t;this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length||(t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction,this.applyForce(t))}};return i}),function(r,a){var t;"function"==typeof define&&define.amd?define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(t,e,i,n,s,o){return a(r,t,e,i,n,s,o)}):"object"==typeof module&&module.exports?module.exports=a(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./sli
3de"),require("./animate")):(t=r.Flickity,r.Flickity=a(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,t.Cell,t.Slide,t.animatePrototype))}(window,function(n,t,e,r,i,a,s){var o=n.jQuery,l=n.getComputedStyle,h=n.console;function c(t,e){for(t=r.makeArray(t);t.length;)e.appendChild(t.shift())}var d=0,u={};function p(t,e){var i,n=r.getQueryElement(t);if(n){if(this.element=n,this.element.flickityGUID)return(i=u[this.element.flickityGUID])&&i.option(e),i;o&&(this.$element=o(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e),this._create()}else h&&h.error("Bad element for Flickity: "+(n||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype,g=(r.extend(f,t.prototype),f._create=function(){var t,e=this.guid=++d;for(t in this.element.flickityGUID=e,(u[e]=this).selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&n.addEventListener("resize",this),this.options.on){var i=this.options.on[t];this.on(t,i)}p.createMethods.forEach(function(t){this[t]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){r.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),c(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return r.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map(function(t){return new i(t,this)},this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){this.maxCellHeight=(t=t||0)&&this.maxCellHeight||0;for(var e,i=0,n=(0<t&&(i=(e=this.cells[t-1]).x+e.size.outerWidth),this.cells.length),s=t;s<n;s++){var o=this.cells[s];o.setPosition(i),i+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=i,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach(function(t){t.getSize()})},f.updateSlides=function(){var n,s,o;this.slides=[],this.cells.length&&(n=new a(this),this.slides.push(n),s="left"==this.originSide?"marginRight":"marginLeft",o=this._getCanCellFit(),this.cells.forEach(function(t,e){var i;n.cells.length&&(i=n.outerWidth-n.firstMargin+(t.size.outerWidth-t.size[s]),o.call(this,e,i)||(n.updateTarget(),n=new a(this),this.slides.push(n))),n.addCell(t)},this),n.updateTarget(),this.updateSelectedSlide())},f._getCanCellFit=function(){var e,i,t=this.options.groupCells;return t?"number"==typeof t?(e=parseInt(t,10),function(t){return t%e!=0}):(t="string"==typeof t&&t.match(/^(\d+)%$/),i=t?parseInt(t[1],10)/100:1,function(t,e){return e<=(this.size.innerWidth+1)*i}):function(){return!1}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=e(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign},{center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}});return f.setCellAlign=function(){var t=g[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){var t;this.options.setGallerySize&&(t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight,this.viewport.style.height=t+"px")},f._getWrapShiftCells=function(){var t,e;this.options.wrapAround&&(this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells),t=this.cursorPosition,e=this.cells.length-1,this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1))}
3,f._getGapCells=function(t,e,i){for(var n=[];0<t;){var s=this.cells[e];if(!s)break;n.push(s),e+=i,t-=s.size.outerWidth}return n},f._containSlides=function(){var t,e,i,n,s,o;this.options.contain&&!this.options.wrapAround&&this.cells.length&&(t=(e=this.options.rightToLeft)?"marginRight":"marginLeft",e=e?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i<this.size.innerWidth,s=this.cursorPosition+this.cells[0].size[t],o=i-this.size.innerWidth*(1-this.cellAlign),this.slides.forEach(function(t){n?t.target=i*this.cellAlign:(t.target=Math.max(t.target,s),t.target=Math.min(t.target,o))},this))},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),o&&this.$element&&(n=t+=this.options.namespaceJQueryEvents?".flickity":"",e&&((e=new o.Event(e)).type=t,n=e),this.$element.trigger(n,i))},f.select=function(t,e,i){this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=r.modulo(t,this.slides.length)),this.slides[t])&&(e=this.selectedIndex,this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=e&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect"))},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&1<e))return t;var i=r.modulo(t,e),n=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),i=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s<n?t+=e:!this.isDragSelect&&i<n&&(t-=e),t<0?this.x-=this.slideableWidth:e<=t&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),(this.selectedSlide=t).select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t)if(this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,i){var t=this.queryCell(t);t&&(t=this.getCellSlideIndex(t),this.select(t,e,i))},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=r.makeArray(t);var e=[];return t.forEach(function(t){t=this.getCell(t);t&&e.push(t)},this),e},f.getCellElements=function(){return this.cells.map(function(t){return t.element})},f.getParentCell=function(t){var e=this.getCell(t);return e||(t=r.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(i<=1+2*t)return this.getCellElements();for(var n=[],s=e-t;s<=e+t;s++){var o=this.options.wrapAround?r.modulo(s,i):s,o=this.slides[o];o&&(n=n.concat(o.getCellElements()))}return n},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},r.debounceMethod(p,"onresize",150),f.resize=function(){var t;this.isActive&&(this.getSize(),this.options.wrapAround&&(this.x=r.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize"),t=this.selectedElements&&this.selectedElements[0],this.selectCell(t,!1,!0))},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;this.options.accessibility&&!e&&(e=p.keyboardHandlers[t.keyCode])&&e.call(this)},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}}
3,f.focus=function(){var t=n.pageYOffset;this.element.focus({preventScroll:!0}),n.pageYOffset!=t&&n.scrollTo(n.pageXOffset,t)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),c(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),n.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),o&&this.$element&&o.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},r.extend(f,s),p.data=function(t){t=(t=r.getQueryElement(t))&&t.flickityGUID;return t&&u[t]},r.htmlInit(p,"flickity"),o&&o.bridget&&o.bridget("flickity",p),p.setJQuery=function(t){o=t},p.Cell=i,p.Slide=a,p}),function(e,i){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.Unipointer=i(e,e.EvEmitter)}(window,function(n,t){function e(){}var t=e.prototype=Object.create(t.prototype),i=(t.bindStartEvent=function(t){this._bindStartEvent(t,!0)},t.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},t._bindStartEvent=function(t,e){var e=(e=void 0===e||e)?"addEventListener":"removeEventListener",i="mousedown";n.PointerEvent?i="pointerdown":"ontouchstart"in n&&(i="touchstart"),t[e](i,this)},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},t.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},t.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},t.onpointerdown=function(t){this._pointerDown(t,t)},t._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},t.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])},{mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]});return t._bindPostStartEvents=function(t){t&&((t=i[t.type]).forEach(function(t){n.addEventListener(t,this)},this),this._boundPointerEvents=t)},t._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){n.removeEventListener(t,this)},this),delete this._boundPointerEvents)},t.onmousemove=function(t){this._pointerMove(t,t)},t.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},t.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},t._pointerMove=function(t,e){this.pointerMove(t,e)},t.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},t.onmouseup=function(t){this._pointerUp(t,t)},t.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},t.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},t._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},t.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},t._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},t._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},t.pointerDone=function(){},t.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},t.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},t._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},t.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},e.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},e}),function(e,i){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("unipointer")):e.Unidragger=i(e,e.Unipointer)}(window,function(o,t){function e(){}var i=e.prototype=Object.create(t.prototype),n=(i.bindHandles=function(){this._bindHandles(!0)},i.unbindHandles=function(){this._bindHandles(!1)},i._bindHandles=function(t){for(var e=(t=void 0===t||t)?"addEventListener":"removeEventListener",i=t?this._touchActionValue:"",n=0;n<this.handles.length;n++){var s=this.handles[n];this._bindStartEvent(s,t),s[e]("click",this),o.PointerEvent&&(s.style.touchAction=i)}},i._touchActionValue="none",i.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))},{TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0}),s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return i.okayPointerDown=function(t){var e=n[t.target.nodeName],t=s[t.target.type],e=!e||t;
vendor: 1,086 bytes, line 3
3return e||this._pointerReset(),e},i.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},i.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},i._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},i.hasDragStarted=function(t){return 3<Math.abs(t.x)||3<Math.abs(t.y)},i.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},i._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},i._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},i.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},i._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},i.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},i._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventing
3Clicks}.bind(this)),this.dragEnd(t,e)},i.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},i.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},i._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},i.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},e.getPointerPoint=t.getPointerPoint,e}),function(n,s){"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(t,e,i){return s(n,t,e,i)}):"object"==typeof module&&module.exports?module.exports=s(n,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):n.Flickity=s(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)}(window,function(i,t,e,o){o.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var n=t.prototype,s=(o.extend(n,e.prototype),n._touchActionValue="pan-y","createTouch"in document),r=!1,a=(n._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),s&&!r&&(i.addEventListener("touchmove",function(){}),r=!0)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=1<this.slides.length:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},n.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},n.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.pointerDown=function(t,e){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=l(),i.addEventListener("scroll",this),this._pointerDownDefault(t,e)):this._pointerDownDefault(t,e)},n._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])},{INPUT:!0,TEXTAREA:!0,SELECT:!0});function l(){return{x:i.pageXOffset,y:i.pageYOffset}}return n.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},n._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[t.target.nodeName];e||i||n||t.preventDefault()},n.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},n.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},n.pointerDone=function(){i.removeEventListener("scroll",this),delete this.pointerDownScroll},n.dragStart=function(t,e){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),i.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[e]))},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},n.dragMove=function(t,e,i){var n,s;this.isDraggable&&(t.preventDefault(),this.previousDragX=this.dragX,n=this.options.rightToLeft?-1:1,this.options.wrapAround&&(i.x%=this.slideableWidth),n=this.dragStartPosition+i.x*n,!this.options.wrapAround&&this.slides.length&&(n=(n=(s=Math.max(-this.slides[0].target,this.dragStartPosition))<n?.5*(n+s):n)<(s=Math.min(-this.getLastSlide().target,this.dragStartPosition))?.5*(n+s):n),this.dragX=n,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i]))},n.dragEnd=function(t,e){var i,n;this.isDraggable&&(this.options.freeScroll&&(this.isFreeScrolling=!0),i=this.dragEndRestingSelect(),this.options.freeScroll&&!this.options.wrapAround?(n=this.getRestingPosition(),this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target):this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect()),delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e]))},n.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),t=this._getClosestResting(t,e,-1);return(i.distance<t.distance?i:t).index}
3,n._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,s=1/0,o=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};o(e,s)&&(s=e,null!==(e=this.getSlideDistance(-t,n+=i)));)e=Math.abs(e);return{distance:s,index:n-i}},n.getSlideDistance=function(t,e){var i=this.slides.length,n=this.options.wrapAround&&1<i,s=n?o.modulo(e,i):e,s=this.slides[s];return s?(n=n?this.slideableWidth*Math.floor(e/i):0,t-(s.target+n)):null},n.dragEndBoostSelect=function(){var t,e;return void 0===this.previousDragX||!this.dragMoveTime||100<new Date-this.dragMoveTime?0:(t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX,0<t&&0<e?1:t<0&&e<0?-1:0)},n.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,i=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,i])},n.onscroll=function(){var t=l(),e=this.pointerDownScroll.x-t.x,t=this.pointerDownScroll.y-t.y;(3<Math.abs(e)||3<Math.abs(t))&&this._pointerDone()},t}),function(t,n){"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,i){return n(0,t,e,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,t.Flickity,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";var s="http://www.w3.org/2000/svg";function o(t,e){this.direction=t,this.parent=e,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1,t=(this.isLeft=this.direction==t,this.element=document.createElement("button")),e=(t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next"),this.createSVG());t.appendChild(e),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg"),e=(t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100"),document.createElementNS(s,"path")),i="string"!=typeof(i=this.parent.options.arrowShape)?"M "+i.x0+",50 L "+i.x1+","+(i.y1+50)+" L "+i.x2+","+(i.y2+50)+" L "+i.x3+",50  L "+i.x2+","+(50-i.y2)+" L "+i.x1+","+(50-i.y1)+" Z":i;return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){var t;this.isEnabled&&(this.parent.uiChange(),t=this.isPrevious?"previous":"next",this.parent[t]())},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.parent.slides;this.parent.options.wrapAround&&1<t.length?this.enable():(t=t.length?t.length-1:0,t=this.isPrevious?0:t,this[this.parent.selectedIndex==t?"disable":"enable"]())},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");i=e.prototype;return i._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},i.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,n){"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,
3i){return n(0,t,e,i)}):"object"==typeof module&&module.exports?module.exports=n(0,require("./flickity"),require("unipointer"),require("fizzy-ui-utils")):n(0,t.Flickity,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function s(t){this.parent=t,this._create()}(s.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},s.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},s.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;0<t?this.addDots(t):t<0&&this.removeDots(-t)},s.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,s=n+t,o=n;o<s;o++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(o+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},s.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach(function(t){this.holder.removeChild(t)},this)},s.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},s.prototype.onTap=s.prototype.onClick=function(t){var t=t.target;"LI"==t.nodeName&&(this.parent.uiChange(),t=this.dots.indexOf(t),this.parent.select(t))},s.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=s,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");i=e.prototype;return i._createPageDots=function(){this.options.pageDots&&(this.pageDots=new s(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},i.activatePageDots=function(){this.pageDots.activate()},i.updateSelectedPageDots=function(){this.pageDots.updateSelected()},i.updatePageDots=function(){this.pageDots.setDots()},i.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=s,e}),function(t,e){"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):e(t.EvEmitter,t.fizzyUIUtils,t.Flickity)}(window,function(t,e,i){function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}(n.prototype=Object.create(t.prototype)).play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){var t,e;"playing"==this.state&&(t="number"==typeof(t=this.parent.options.autoPlay)?t:3e3,(e=this).clear(),this.timeout=setTimeout(function(){e.parent.next(!0),e.tick()},t))},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");t=i.prototype;return t._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},t.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},t.playPlayer=function(){this.player.play()},t.stopPlayer=function(){this.player.stop()},t.pausePlayer=function(){this.player.pause()},t.unpausePlayer=function(){this.player.unpause()},t.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},t.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},t.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}),function(t,i){"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,t.Flickity,t.fizzyUIUtils)}(window,function(t,e,n){var i=e.prototype;return i.insert=function(t,e){var i,n,s,o,r,t=this._makeCells(t);t&&t.length&&(i=this.cells.length,e=void 0===e?i:e,r=t,n=document.createDocumentFragment(),r.forEach(function(t){n.appendChild(t.element)}),r=n,(s=e==i)?this.slider.appendChild(r):(o=this.cells[e].element,this.slider.insertBefore(r,o)),0===e?this.cells=t.concat(this.cells):s?this.cells=this.cells.concat(t):(r=this.cells.splice(e,i-e),this.cells=this.cells.concat(t).concat(r)),this._sizeCells(t),this.cellChange(e,!0))},i.append=function(t){this.insert(t,this.cells.length)},i.prepend=function(t){this.insert(t,0)},i.remove=function(t){var i,t=this.getCells(t);t&&t.length&&(i=this.cells.length-1,t.forEach(function(t){t.remove();var e=this.cells.indexOf(t);i=Math.min(e,i),n.removeFrom(this.cells,t)},this),this.cellChange(i,!0))},i.cellSizeChange=function(t){var t=this.getCell(t);t&&(t.getSize(),t=this.cells.indexOf(t),this.cellChange(t))},i.cellChange=function(t,e){var i=this.selectedElement,i=(this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize(),this.getCell(i));i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}),function(t,i){"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("./flickity"),require("fizzy-ui-utils")):i(0,t.Flickity,t.fizzyUIUtils)}(window,function(t,e,s){"use strict";e.createMethods.push("_createLazyload");var i=e.prototype;function n(t,e){this.img=t,this.flickity=e,this.load()}return i._createLazyload=function(){this.on("select",this.lazyLoad)},i.lazyLoad=function(){var e,t=this.options.lazyLoad;t&&(t=this.getAdjacentCellElements("number"==typeof t?t:0),e=[],t.forEach(function(t){t=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),i=t.getAttribute("data-flickity-lazyload-src"),n=t.getAttribute("data-flickity-lazyload-srcset");if(e||i||n)return[t]}e=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return s.makeArray(e)}(t);e=e.concat(t)}),e.forEach(function(t){new n(t,this)},this))},n.prototype.handleEvent=s.handleEvent,n.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},n.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},n.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},n.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),i=i&&i.element;this.flickity.cellSizeChange(i),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,i)},e.LazyLoader=n,e}),function(t){"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],t):"object"==typeof module&&module.exports&&(module.exports=t(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}((window,function(t){return t})),function(t,e){"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickity"),require("fizzy-ui-utils")):t.Flickity=e(t.Flickity,t.fizzyUIUtils)}(window,function(i,n){i.createMethods.push("_createAsNavFor");var t=i.prototype;return t._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t,e=this.options.asNavFor;e&&(t=this,setTimeout(function(){t.setNavCompanion(e)}))},t.setNavCompanion=function(t){t=n.getQueryElement(t);var e,t=i.data(t);t&&t!=this&&(this.navCompanion=t,(e=this).onNavCompanionSelect=function(){e.navCompanionSelect()},t.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0))},t.navCompanionSelect=function(t){var e,i,n=this.navCompanion&&this.navCompanion.selectedCells;n&&(e=n[0],e=this.navCompanion.cells.indexOf(e),n=e+n.length-1,i=Math.floor((i=this.navCompanion.cellAlign,(n-e)*i+e)),this.selectCell(i,!1,t),this.removeNavSelectedElements(),i>=this.cells.length||(t=this.cells.slice(e,1+n),this.navSelectedElements=t.map(function(t){return t.element}),this.changeNavSelectedClass("add")))},t.changeNavSelectedClass=function(e){this.navSelectedElements.forEac
vendor: 4,568 bytes, line 3
3h(function(t){t.classList[e]("is-nav-selected")})},t.activateAsNavFor=function(){this.navCompanionSelect(!0)},t.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},t.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},t.deactivateAsNavFor=function(){this.removeNavSelectedElements()},t.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},i}),function(e,i){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){var o=e.jQuery,r=e.console;function a(t,e){for(var i in e)t[i]=e[i];return t}var l=Array.prototype.slice;function h(t,e,i){if(!(this instanceof h))return new h(t,e,i);var n,s=t;(s="string"==typeof t?document.querySelectorAll(t):s)?(this.elements=(n=s,Array.isArray(n)?n:"object"==typeof n&&"number"==typeof n.length?l.call(n):[n]),this.options=a({},this.options),"function"==typeof e?i=e:a(this.options,e),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(s||t))}(h.prototype=Object.create(t.prototype)).options={},h.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},h.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if("string"==typeof this.options.background)for(var o=t.querySelectorAll(this.options.background),n=0;n<o.length;n++){var r=o[n];this.addElementBackgroundImages(r)}}};var c={1:!0,9:!0,11:!0};function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}return h.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var s=n&&n[2];s&&this.addBackground(s,t),n=i.exec(e.backgroundImage)}},h.prototype.addImage=function(t){t=new i(t);this.images.push(t)},h.prototype.addBackground=function(t,e){t=new n(t,e);this.images.push(t)},h.prototype.check=function(){var n=this;function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},h.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},h.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
3dth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(h.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((o=t).fn.imagesLoaded=function(t,e){return new h(this,t,e).jqDeferred.promise(o(this))})})(),h}),function(t,i){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(t,e){return i(0,t,e)}):"object"==typeof module&&module.exports?module.exports=i(0,require("flickity"),require("imagesloaded")):t.Flickity=i(0,t.Flickity,t.imagesLoaded)}(window,function(t,e,n){"use strict";e.createMethods.push("_createImagesLoaded");var i=e.prototype;return i._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.imagesLoaded=function(){var i;this.options.imagesLoaded&&n((i=this).slider).on("progress",function(t,e){e=i.getParentCell(e.img),i.cellSizeChange(e&&e.element),i.options.freeScroll||i.positionSliderAtSelected()})},e});
4!function(t){var e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Slideout=t())}(function(){return function o(i,s,r){function a(n,t){if(!s[n]){if(!i[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(h)return h(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}e=s[n]={exports:{}};i[n][0].call(e.exports,function(t){var e=i[n][1][t];return a(e||t)},e,e.exports,o,i,s,r)}return s[n].exports}for(var h="function"==typeof require&&require,t=0;t<r.length;t++)a(r[t]);return a}({1:[function(t,e,n){"use strict";var i,s=t("decouple"),t=t("emitter"),r=!1,a=window.document,h=a.documentElement,o=window.navigator.msPointerEnabled,u={start:o?"MSPointerDown":"touchstart",move:o?"MSPointerMove":"touchmove",end:o?"MSPointerUp":"touchend"},l=function(){var t,e=/^(Webkit|Khtml|Moz|ms|O)(?=[A-Z])/,n=a.getElementsByTagName("script")[0].style;for(t in n)if(e.test(t))return"-"+t.match(e)[0].toLowerCase()+"-";return"WebkitOpacity"in n?"-webkit-":"KhtmlOpacity"in n?"-khtml-":""}();function c(t){t=t||{},this._startOffsetX=0,this._currentOffsetX=0,this._opening=!1,this._moved=!1,this._opened=!1,this._preventOpen=!1,this._touch=(void 0===t.touch||t.touch)&&!0,this.panel=t.panel,this.menu=t.menu,-1===this.panel.className.search("slideout-panel")&&(this.panel.className+=" slideout-panel"),-1===this.menu.className.search("slideout-menu")&&(this.menu.className+=" slideout-menu"),this._fx=t.fx||"ease",this._duration=parseInt(t.duration,10)||300,this._tolerance=parseInt(t.tolerance,10)||70,this._padding=this._translateTo=parseInt(t.padding,10)||256,this._orientation="right"===t.side?-1:1,this._translateTo*=this._orientation,this._touch&&this._initTouchEvents()}(c.prototype=function(t,e){for(var n in e)e[n]&&(t[n]=e[n]);return t}(c.prototype||{},t.prototype)).open=function(){var t=this;return this.emit("beforeopen"),-1===h.className.search("slideout-open")&&(h.className+=" slideout-open"),this._setTransition(),this._translateXTo(this._translateTo),this._opened=!0,setTimeout(function(){t.panel.style.transition=t.panel.style["-webkit-transition"]="",t.emit("open")},this._duration+50),this},c.prototype.close=function(){var t=this;return(this.isOpen()||this._opening)&&(this.emit("beforeclose"),this._setTransition(),this._translateXTo(0),this._opened=!1,setTimeout(function(){h.className=h.className.replace(/ slideout-open/,""),t.panel.style.transition=t.panel.style["-webkit-transition"]=t.panel.style[l+"transform"]=t.panel.style.transform="",t.emit("close")},this._duration+50)),this},c.prototype.toggle=function(){return this.isOpen()?this.close():this.open()},c.prototype.isOpen=function(){return this._opened},c.prototype._translateXTo=function(t){return this._currentOffsetX=t,this.panel.style[l+"transform"]=this.panel.style.transform="translateX("+t+"px)",this},c.prototype._setTransition=function(){return this.panel.style[l+"transition"]=this.panel.style.transition=l+"transform "+this._duration+"ms "+this._fx,this},c.prototype._initTouchEvents=function(){var o=this;return this._onScrollFn=s(a,"scroll",function(){o._moved||(clearTimeout(i),r=!0,i=setTimeout(function(){r=!1},250))}),this._preventMove=function(t){o._moved&&t.preventDefault()},a.addEventListener(u.move,this._preventMove),this._resetTouchFn=function(t){void 0!==t.touches&&(o._moved=!1,o._opening=!1,o._startOffsetX=t.touches[0].pageX,o._preventOpen=!o._touch||!o.isOpen()&&0!==o.menu.clientWidth)},this.panel.addEventListener(u.start,this._resetTouchFn),this._onTouchCancelFn=function(){o._moved=!1,o._opening=!1},this.panel.addEventListener("touchcancel",this._onTouchCancelFn),this._onTouchEndFn=function(){o._moved&&(o.emit("translateend"),o._opening&&Math.abs(o._currentOffsetX)>o._tolerance?o.open():o.close()),o._moved=!1},this.panel.addEventListener(u.end,this._onTouchEndFn),this._onTouchMoveFn=function(t){var e,n;r||o._preventOpen||void 0===t.touches||(t=t.touches[0].clientX-o._startOffsetX,e=o._currentOffsetX=t,Math.abs(e)>o._padding)||20<Math.abs(t)&&(o._opening=!0,n=t*o._orientation,o._opened&&0<n||!o._opened&&n<0||(o._moved||o.emit("translatestart"),n<=0&&(e=t+o._padding*o._orientation,o._opening=!1),o._moved||-1!==h.className.search("slideout-open")||(h.className+=" slideout-open"),o.panel.style[l+"transform"]=o.panel.style.transform="translateX("+e+"px)",o.emit
4("translate",e),o._moved=!0))},this.panel.addEventListener(u.move,this._onTouchMoveFn),this},c.prototype.enableTouch=function(){return this._touch=!0,this},c.prototype.disableTouch=function(){return this._touch=!1,this},c.prototype.destroy=function(){return this.close(),a.removeEventListener(u.move,this._preventMove),this.panel.removeEventListener(u.start,this._resetTouchFn),this.panel.removeEventListener("touchcancel",this._onTouchCancelFn),this.panel.removeEventListener(u.end,this._onTouchEndFn),this.panel.removeEventListener(u.move,this._onTouchMoveFn),a.removeEventListener("scroll",this._onScrollFn),this.open=this.close=function(){},this},e.exports=c},{decouple:2,emitter:3}],2:[function(t,e,n){"use strict";var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};e.exports=function(t,e,n){var o,i=!1;function s(t){o=t,i||(a(r),i=!0)}function r(){n.call(t,o),i=!1}return t.addEventListener(e,s,!1),s}},{}],3:[function(t,e,n){"use strict";n.__esModule=!0,i.prototype.on=function(t,e){return this._eventCollection=this._eventCollection||{},this._eventCollection[t]=this._eventCollection[t]||[],this._eventCollection[t].push(e),this},i.prototype.once=function(t,e){var n=this;function o(){n.off(t,o),e.apply(this,arguments)}return o.listener=e,this.on(t,o),this},i.prototype.off=function(t,n){var o=void 0;return this._eventCollection&&(o=this._eventCollection[t])&&(o.forEach(function(t,e){t!==n&&t.listener!==n||o.splice(e,1)}),0===o.length)&&delete this._eventCollection[t],this},i.prototype.emit=function(t){for(var e=this,n=arguments.length,o=Array(1<n?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var s=void 0;return this._eventCollection&&(s=this._eventCollection[t])&&(s=s.slice(0)).forEach(function(t){return t.apply(e,o)}),this};var o=i;function i(){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function")}n.default=o,e.exports=n.default},{}]},{},[1])(1)});
5!function(c){function l(t){return parseFloat(t)||0}function p(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?c.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}function o(t){d._beforeUpdate&&d._beforeUpdate(t,d._groups),c.each(d._groups,function(){d._apply(this.elements,this.options)}),d._afterUpdate&&d._afterUpdate(t,d._groups)}var i=-1,n=-1,d=c.fn.matchHeight=function(t){var a,t=p(t);return t.remove?((a=this).css(t.property,""),c.each(d._groups,function(t,e){e.elements=e.elements.not(a)})):this.length<=1&&!t.target||(d._groups.push({elements:this,options:t}),d._apply(this,t)),this};d._groups=[],d._throttle=80,d._maintainScroll=!1,d._beforeUpdate=null,d._afterUpdate=null,d._apply=function(t,e){var a,o,i,n=p(e),e=c(t),t=[e],r=c(window).scrollTop(),s=c("html").outerHeight(!0),h=e.parents().filter(":hidden");return h.each(function(){var t=c(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),n.byRow&&!n.target&&(e.each(function(){var t=c(this),e=t.css("display");"inline-block"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),a=c(a=e),o=null,i=[],a.each(function(){var t=c(this),e=t.offset().top-l(t.css("margin-top")),a=0<i.length?i[i.length-1]:null;null!==a&&Math.floor(Math.abs(o-e))<=1?i[i.length-1]=a.add(t):i.push(t),o=e}),t=i,e.each(function(){var t=c(this);t.attr("style",t.data("style-cache")||"")})),c.each(t,function(t,e){var e=c(e),a=0;if(n.target)a=n.target.outerHeight(!1);else{if(n.byRow&&e.length<=1)return void e.css(n.property,"");e.each(function(){var t=c(this),e=t.css("display"),e={display:e="inline-block"!==e&&"inline-flex"!==e?"block":e};e[n.property]="",t.css(e),t.outerHeight(!1)>a&&(a=t.outerHeight(!1)),t.css("display","")})}e.each(function(){var t=c(this),e=0;n.target&&t.is(n.target)||("border-box"!==t.css("box-sizing")&&(e=(e+=l(t.css("border-top-width"))+l(t.css("border-bottom-width")))+(l(t.css("padding-top"))+l(t.css("padding-bottom")))),t.css(n.property,a-e+"px"))})}),h.each(function(){var t=c(this);t.attr("style",t.data("style-cache")||null)}),d._maintainScroll&&c(window).scrollTop(r/s*c("html").outerHeight(!0)),this},d._applyDataApi=function(){var a={};c("[data-match-height], [data-mh]").each(function(){var t=c(this),e=t.attr("data-mh")||t.attr("data-match-height");e in a?a[e]=a[e].add(t):a[e]=t}),c.each(a,function(){this.matchHeight(!0)})};d._update=function(t,e){if(e&&"resize"===e.type){var a=c(window).width();if(a===i)return;i=a}t?-1===n&&(n=setTimeout(function(){o(e),n=-1},d._throttle)):o(e)},c(d._applyDataApi),c(window).bind("load",function(t){d._update(!1,t)}),c(window).bind("resize orientationchange",function(t){d._update(!0,t)})}(jQuery);
6!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(a){"use strict";var i,u,r={interval:100,sensitivity:6,timeout:0},d=0,m=function(e){i=e.pageX,u=e.pageY},c=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-u)*(n.pY-u))<o.sensitivity)return t.off("mousemove.hoverIntent"+n.namespace,m),delete n.timeoutId,n.isActive=!0,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=u,n.timeoutId=setTimeout(function(){c(e,t,n,o)},o.interval)};a.fn.hoverIntent=function(e,t,n){function o(e){var i=a.extend({},e),u=a(this),r=((t=u.data("hoverIntent"))||u.data("hoverIntent",t
6={}),t[s]),t=(r||(t[s]=r={id:s}),r.timeoutId&&(r.timeoutId=clearTimeout(r.timeoutId)),r.namespace=".hoverIntent"+s);"mouseenter"===e.type?r.isActive||(r.pX=i.pageX,r.pY=i.pageY,u.on("mousemove.hoverIntent"+t,m),r.timeoutId=setTimeout(function(){c(i,u,r,v)},v.interval)):r.isActive&&(u.off("mousemove.hoverIntent"+t,m),r.timeoutId=setTimeout(function(){var e,t,n,o;e=i,t=u,n=r,o=v.out,delete t.data("hoverIntent")[n.id],o.apply(t[0],[e])},v.timeout))}var s=d++,v=a.extend({},r),v=a.isPlainObject(e)?a.extend(v,e):a.isFunction(t)?a.extend(v,{over:e,out:t,selector:n}):a.extend(v,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},v.selector)}});
7!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(u){var r,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],d=Array.prototype.slice;if(u.event.fixHooks)for(var n=e.length;n;)u.event.fixHooks[e[--n]]=u.event.mouseHooks;var c=u.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;u.data(this,"mousewheel-line-height",c.getLineHeight(this)),u.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;u.removeData(this,"mousewheel-line-height"),u.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var e=u(e),t=e["offsetParent"in u.fn?"offsetParent":"parent"]();return t.length||(t=u("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(e){return u(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=d.call(arguments,1),o=0,l=0,s=0,h=0,a=0;if((e=u.event.fix(n)).type="mousewheel","detail"in n&&(s=-1*n.detail),"wheelDelta"in n&&(s=n.wheelDelta),"wheelDeltaY"in n&&(s=n.wheelDeltaY),"wheelDeltaX"in n&&(l=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(l=-1*s,s=0),o=0===s?l:s,"deltaY"in n&&(o=s=-1*n.deltaY),"deltaX"in n&&(l=n.deltaX,0===s)&&(o=-1*l),0!==s||0!==l)return 1===n.deltaMode?(o*=t=u.data(this,"mousewheel-line-height"),s*=t,l*=t):2===n.deltaMode&&(o*=t=u.data(this,"mousewheel-page-height"),s*=t,l*=t),t=Math.max(Math.abs(s),Math.abs(l)),(!f||t<f)&&g(n,f=t)&&(f/=40),g(n,t)&&(o/=40,l/=40,s/=40),o=Math[1<=o?"floor":"ceil"](o/f),l=Math[1<=l?"floor":"ceil"](l/f),s=Math[1<=s?"floor":"ceil"](s/f),c.settings.normalizeOffset&&this.getBoundingClientRect&&(n=this.getBoundingClientRect(),h=e.clientX-n.left,a=e.clientY-n.top),e.deltaX=l,e.deltaY=s,e.deltaFactor=f,e.offsetX=h,e.offsetY=a,e.deltaMode=0,i.unshift(e,o,l,s),r&&clearTimeout(r),r=setTimeout(m,200),(u.event.dispatch||u.event.handle).apply(this,i)}function m(){f=null}function g(e,t){return c.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}u.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});
8!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(R){var s,W,a,n,O,i,p,A,L,g,h,c,r,d,I,D,E,u,j,Y,X,N,y,V,f,Q,m,x,z,G,J,K,Z,l,H,v,$,ee,te,oe,ae,ne,_,B,w,S,P,U,T,F,t,b,C,q,k,M,ie,e,o,le;e="function"==typeof define&&define.amd,o="undefined"!=typeof module&&module.exports,le="https:"==document.location.protocol?"https:":"http:",e||(o?require("jquery-mousewheel")(R):R.event.special.mousewheel||R("head").append(decodeURI("%3Cscript src="+le+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),s="mCustomScrollbar",W="mCS",a=".mCustomScrollbar",n={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
8:["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}},O=0,i={},p=window.attachEvent&&!window.addEventListener?1:0,A=!1,g=["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"],h={init:function(l){var l=R.extend(!0,{},n,l),e=c.call(this);if(l.live){var t=l.liveSelector||this.selector||a,o=R(t);if("off"===l.live)return void d(t);i[t]=setTimeout(function(){o.mCustomScrollbar(l),"once"===l.live&&o.length&&d(t)},500)}else d(t);return l.setWidth=l.set_width||l.setWidth,l.setHeight=l.set_height||l.setHeight,l.axis=l.horizontalScroll?"x":I(l.axis),l.scrollInertia=0<l.scrollInertia&&l.scrollInertia<17?17:l.scrollInertia,"object"!=typeof l.mouseWheel&&1==l.mouseWheel&&(l.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),l.mouseWheel.scrollAmount=l.mouseWheelPixels||l.mouseWheel.scrollAmount,l.mouseWheel.normalizeDelta=l.advanced.normalizeMouseWheelDelta||l.mouseWheel.normalizeDelta,l.scrollButtons.scrollType=D(l.scrollButtons.scrollType),r(l),R(e).each(function(){var e,t,o,a,n,i=R(this);i.data(W)||(i.data(W,{idx:++O,opt:l,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}}}),t=(e=i.data(W)).opt,o=i.data("mcs-axis"),a=i.data("mcs-scrollbar-position"),n=i.data("mcs-theme"),o&&(t.axis=o),a&&(t.scrollbarPosition=a),n&&(t.theme=n,r(t)),E.call(this),e&&t.callbacks.onCreate&&"function"==typeof t.callbacks.onCreate&&t.callbacks.onCreate.call(this),R("#mCSB_"+e.idx+"_container img:not(."+g[2]+")").addClass(g[2]),h.update.call(null,i))})},update:function(e,l){e=e||c.call(this);return R(e).each(function(){var e,t,o,a,n,i=R(this);i.data(W)&&(t=(e=i.data(W)).opt,o=R("#mCSB_"+e.idx+"_container"),n=R("#mCSB_"+e.idx),a=[R("#mCSB_"+e.idx+"_dragger_vertical"),R("#mCSB_"+e.idx+"_dragger_horizontal")],o.length)&&(e.tweenRunning&&P(i),l&&e&&t.callbacks.onBeforeUpdate&&"function"==typeof t.callbacks.onBeforeUpdate&&t.callbacks.onBeforeUpdate.call(this),i.hasClass(g[3])&&i.removeClass(g[3]),i.hasClass(g[4])&&i.removeClass(g[4]),n.css("max-height","none"),n.height()!==i.height()&&n.css("max-height",i.height()),j.call(this),"y"===t.axis||t.advanced.autoExpandHorizontalScroll||o.css("width",u(o)),e.overflowed=V.call(this),x.call(this),t.autoDraggerLength&&X.call(this),N.call(this),Q.call(this),n=[Math.abs(o[0].offsetTop),Math.abs(o[0].offsetLeft)],"x"!==t.axis&&(e.overflowed[0]?a[0].height()>a[0].parent().height()?f.call(this):(U(i,n[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(f.call(this),"y"===t.axis?m.call(this):"yx"===t.axis&&e.overflowed[1]&&U(i,n[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==t.axis&&(e.overflowed[1]?a[1].width()>a[1].parent().width()?f.call(this):(U(i,n[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(f.call(this),"x"===t.axis?m.call(this):"yx"===t.axis&&e.overflowed[0]&&U(i,n[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),l&&e&&(2===l&&t.callbacks.onImageLoad&&"function"==typeof t.callbacks.onImageLoad?t.callbacks.onImageLoad.call(this):3===l&&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)),S.call(this))})},scrollTo:function(l,r){var e;if(void 0!==l&&null!=l)return e=c.call(this),R(e).each(function(){var e,t,o,a,n,i=R(this);i.data(W)&&(e=i.data(W),n={trigger:"external",scrollInertia:(t=e.opt).scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},o=R.extend(!0,{},n,r),a=B.call(this,l),n=0<o.scrollInertia&&o.scrollInertia<17?17:o.scrollInertia,a[0]=w.call(this,a[0],"y"),a[1]=w.call(this,a[1],"x"),o.moveDragger&&(a[0]*=e.scrollRatio.y,a[1]*=e.scrollRatio.x),o.dur=ie()?0:n,setTimeout(function(){null!==a[0]&&void 0!==a[0]&&"x"!==t.axis&&e.overflowed[0]&&(o.dir="y",o.overwrite="all",U(i,a[0].toString(),o)),null!==a[1]&&void 0!==a[1]&&"y"!==t.axis&&e.overflowed[1]&&(o.dir="x",o.overwrite="none",U(i,a[1].toString(),o))},o.timeout))})},stop:function(){var e=c.call(this);return R(e).each(function(){var e=R(this);e.data(W)&&P(e)})},disable:function(t){var e=c.call(this);return R(e).each(function(){var e=R(this);e.data(W)&&(e.data(W),S.call(this,"remove"),m.call(this),t&&f.call(this),x.call(this,!0),e.addClass(g[3]))})},destroy:function(){var l=c.call(this);return R(l).each(function(){var e,t,o,a,n,i=R(this);i.data(W)&&(t=(e=i.data(W)).opt,o=R("#mCSB_"+e.idx),a=R("#mCSB_"+e.idx+"_container"),n=R(".mCSB_"+e.idx+"_scrollbar"),t.live&&d(t.liveSelector||R(l).selector),S.call(this,"remove"),m.call(this),f.call(this),i.removeData(W),b(this,"mcs"),n.remove(),a.find("img."+g[2]).removeClass(g[2]),o.replaceWith(a.contents()),i.removeClass(s+" _"+W+"_"+e.idx+" "+g[6]+" "+g[7]+" "+g[5]+" "+g[3]).addClass(g[4]))})}},c=function(){return"object"!=typeof R(this)||R(this).length<1?a:this},r=function(e){e.autoDraggerLength=!(-1<R.inArray(e.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"]))&&e.autoDraggerLength,e.autoExpandScrollbar=!(-1<R.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<R.inArray(e.theme,["minimal","minimal-dark"]))&&e.scrollButtons.enable,e.autoHideScrollbar=-1<R.inArray(e.theme,["minimal","minimal-dark"])||e.autoHideScrollbar,e.scrollbarPosition=-1<R.inArray(e.theme,["minimal","minimal-dark"])?"outside":e.scrollbarPosition},d=function(e){i[e]&&(clearTimeout(i[e]),b(i,e))},I=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},D=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},E=function(){var e=R(this),t=e.data(W),o=t.opt,a=o.autoExpandScrollbar?" "+g[1]+"_expand":"",a=["<div id='m
8CSB_"+t.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_vertical"+a+"'><div class='"+g[12]+"'><div id='mCSB_"+t.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+t.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_horizontal"+a+"'><div class='"+g[12]+"'><div id='mCSB_"+t.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],n="yx"===o.axis?"mCSB_vertical_horizontal":"x"===o.axis?"mCSB_horizontal":"mCSB_vertical",a="yx"===o.axis?a[0]+a[1]:"x"===o.axis?a[1]:a[0],i="yx"===o.axis?"<div id='mCSB_"+t.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",l=o.autoHideScrollbar?" "+g[6]:"",r="x"!==o.axis&&"rtl"===t.langDir?" "+g[7]:"",l=(o.setWidth&&e.css("width",o.setWidth),o.setHeight&&e.css("height",o.setHeight),o.setLeft="y"!==o.axis&&"rtl"===t.langDir?"989999px":o.setLeft,e.addClass(s+" _"+W+"_"+t.idx+l+r).wrapInner("<div id='mCSB_"+t.idx+"' class='mCustomScrollBox mCS-"+o.theme+" "+n+"'><div id='mCSB_"+t.idx+"_container' class='mCSB_container' style='position:relative; top:"+o.setTop+"; left:"+o.setLeft+";' dir='"+t.langDir+"' /></div>"),R("#mCSB_"+t.idx)),r=R("#mCSB_"+t.idx+"_container"),n=("y"===o.axis||o.advanced.autoExpandHorizontalScroll||r.css("width",u(r)),"outside"===o.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),l.addClass("mCSB_outside").after(a)):(l.addClass("mCSB_inside").append(a),r.wrap(i)),Y.call(this),[R("#mCSB_"+t.idx+"_dragger_vertical"),R("#mCSB_"+t.idx+"_dragger_horizontal")]);n[0].css("min-height",n[0].height()),n[1].css("min-width",n[1].width())},u=function(e){var t=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return R(this).outerWidth(!0)}).get())],e=e.parent().width();return e<t[0]?t[0]:e<t[1]?t[1]:"100%"},j=function(){var e,t=R(this).data(W),o=t.opt,t=R("#mCSB_"+t.idx+"_container");o.advanced.autoExpandHorizontalScroll&&"y"!==o.axis&&(t.css({width:"auto","min-width":0,"overflow-x":"scroll"}),e=Math.ceil(t[0].scrollWidth),3===o.advanced.autoExpandHorizontalScroll||2!==o.advanced.autoExpandHorizontalScroll&&e>t.parent().width()?t.css({width:e,"min-width":"100%","overflow-x":"inherit"}):t.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(t[0].getBoundingClientRect().right+.4)-Math.floor(t[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},Y=function(){var e=R(this).data(W),t=e.opt,e=R(".mCSB_"+e.idx+"_scrollbar:first"),o=k(t.scrollButtons.tabindex)?"tabindex='"+t.scrollButtons.tabindex+"'":"",o=["<a href='#' class='"+g[13]+"' "+o+" />","<a href='#' class='"+g[14]+"' "+o+" />","<a href='#' class='"+g[15]+"' "+o+" />","<a href='#' class='"+g[16]+"' "+o+" />"],o=["x"===t.axis?o[2]:o[0],"x"===t.axis?o[3]:o[1],o[2],o[3]];t.scrollButtons.enable&&e.prepend(o[0]).append(o[1]).next(".mCSB_scrollTools").prepend(o[2]).append(o[3])},X=function(){var e=R(this).data(W),t=R("#mCSB_"+e.idx),o=R("#mCSB_"+e.idx+"_container"),e=[R("#mCSB_"+e.idx+"_dragger_vertical"),R("#mCSB_"+e.idx+"_dragger_horizontal")],t=[t.height()/o.outerHeight(!1),t.width()/o.outerWidth(!1)],o=[parseInt(e[0].css("min-height")),Math.round(t[0]*e[0].parent().height()),parseInt(e[1].css("min-width")),Math.round(t[1]*e[1].parent().width())],t=p&&o[3]<o[2]?o[2]:o[3];e[0].css({height:p&&o[1]<o[0]?o[0]:o[1],"max-height":e[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":o[0]+"px"}),e[1].css({width:t,"max-width":e[1].parent().width()-10})},N=function(){var e=R(this).data(W),t=R("#mCSB_"+e.idx),o=R("#mCSB_"+e.idx+"_container"),a=[R("#mCSB_"+e.idx+"_dragger_vertical"),R("#mCSB_"+e.idx+"_dragger_horizontal")],o=[o.outerHeight(!1)-t.height(),o.outerWidth(!1)-t.width()],t=[o[0]/(a[0].parent().height()-a[0].height()),o[1]/(a[1].parent().width()-a[1].width())];e.scrollRatio={y:t[0],x:t[1]}},y=function(e,t,o){var o=o?g[0]+"_expanded":"",a=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(g[0]+" "+o),a.toggleClass(g[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(g[0]),a.removeClass(g[1])):(e.addClass(g[0]),a.addClass(g[1])))},V=function(){var e=R(this).data(W),t=R("#mCSB_"+e.idx),o=R("#mCSB_"+e.idx+"_container"),a=null==e.overflowed?o.height():o.outerHeight(!1),e=null==e.overflowed?o.width():o.outerWidth(!1),n=o[0].scrollHeight,o=o[0].scrollWidth;return e<o&&(e=o),[(a=a<n?n:a)>t.height(),e>t.width()]},f=function(){var e=R(this),t=e.data(W),o=t.opt,a=R("#mCSB_"+t.idx),n=R("#mCSB_"+t.idx+"_container"),i=[R("#mCSB_"+t.idx+"_dragger_vertical"),R("#mCSB_"+t.idx+"_dragger_horizontal")];P(e),("x"!==o.axis&&!t.overflowed[0]||"y"===o.axis&&t.overflowed[0])&&(i[0].add(n).css("top",0),U(e,"_resetY")),("y"!==o.axis&&!t.overflowed[1]||"x"===o.axis&&t.overflowed[1])&&(o=dx=0,"rtl"===t.langDir&&(o=a.width()-n.outerWidth(!1),dx=Math.abs(o/t.scrollRatio.x)),n.css("left",o),i[1].css("left",dx),U(e,"_resetX"))},Q=function(){var t,o=R(this),e=o.data(W),a=e.opt;e.bindEvents||(G.call(this),a.contentTouchScroll&&J.call(this),K.call(this),a.mouseWheel.enable&&function e(){t=setTimeout(function(){R.event.special.mousewheel?(clearTimeout(t),Z.call(o[0])):e()},100)}(),ee.call(this),oe.call(this),a.advanced.autoScrollOnFocus&&te.call(this),a.scrollButtons.enable&&ae.call(this),a.keyboard.enable&&ne.call(this),e.bindEvents=!0)}
8,m=function(){var e=R(this),t=e.data(W),o=t.opt,a=W+"_"+t.idx,n=".mCSB_"+t.idx+"_scrollbar",n=R("#mCSB_"+t.idx+",#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,"+n+" ."+g[12]+",#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal,"+n+">a"),i=R("#mCSB_"+t.idx+"_container");o.advanced.releaseDraggableSelectors&&n.add(R(o.advanced.releaseDraggableSelectors)),o.advanced.extraDraggableSelectors&&n.add(R(o.advanced.extraDraggableSelectors)),t.bindEvents&&(R(document).add(R(!H()||top.document)).unbind("."+a),n.each(function(){R(this).unbind("."+a)}),clearTimeout(e[0]._focusTimeout),b(e[0],"_focusTimeout"),clearTimeout(t.sequential.step),b(t.sequential,"step"),clearTimeout(i[0].onCompleteTimeout),b(i[0],"onCompleteTimeout"),t.bindEvents=!1)},x=function(e){var t=R(this),o=t.data(W),a=o.opt,n=R("#mCSB_"+o.idx+"_container_wrapper"),n=n.length?n:R("#mCSB_"+o.idx+"_container"),i=[R("#mCSB_"+o.idx+"_scrollbar_vertical"),R("#mCSB_"+o.idx+"_scrollbar_horizontal")],l=[i[0].find(".mCSB_dragger"),i[1].find(".mCSB_dragger")];"x"!==a.axis&&(o.overflowed[0]&&!e?(i[0].add(l[0]).add(i[0].children("a")).css("display","block"),n.removeClass(g[8]+" "+g[10])):(a.alwaysShowScrollbar?(2!==a.alwaysShowScrollbar&&l[0].css("display","none"),n.removeClass(g[10])):(i[0].css("display","none"),n.addClass(g[10])),n.addClass(g[8]))),"y"!==a.axis&&(o.overflowed[1]&&!e?(i[1].add(l[1]).add(i[1].children("a")).css("display","block"),n.removeClass(g[9]+" "+g[11])):(a.alwaysShowScrollbar?(2!==a.alwaysShowScrollbar&&l[1].css("display","none"),n.removeClass(g[11])):(i[1].css("display","none"),n.addClass(g[11])),n.addClass(g[9]))),o.overflowed[0]||o.overflowed[1]?t.removeClass(g[5]):t.addClass(g[5])},z=function(e){var t=e.type,o=e.target.ownerDocument!==document&&null!==frameElement?[R(frameElement).offset().top,R(frameElement).offset().left]:null,a=H()&&e.target.ownerDocument!==top.document&&null!==frameElement?[R(e.view.frameElement).offset().top,R(e.view.frameElement).offset().left]:[0,0];switch(t){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return o?[e.originalEvent.pageY-o[0]+a[0],e.originalEvent.pageX-o[1]+a[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var n=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[n.screenY,n.screenX,1<i]:[n.pageY,n.pageX,1<i];default:return o?[e.pageY-o[0]+a[0],e.pageX-o[1]+a[1],!1]:[e.pageY,e.pageX,!1]}},G=function(){var i,n,l,r=R(this),s=r.data(W),c=s.opt,e=W+"_"+s.idx,d=["mCSB_"+s.idx+"_dragger_vertical","mCSB_"+s.idx+"_dragger_horizontal"],u=R("#mCSB_"+s.idx+"_container"),t=R("#"+d[0]+",#"+d[1]),o=c.advanced.releaseDraggableSelectors?t.add(R(c.advanced.releaseDraggableSelectors)):t,a=c.advanced.extraDraggableSelectors?R(!H()||top.document).add(R(c.advanced.extraDraggableSelectors)):R(!H()||top.document);function h(e,t,o,a){var n;u[0].idleTimer=c.scrollInertia<233?250:0,t=i.attr("id")===d[1]?(n="x",(i[0].offsetLeft-t+a)*s.scrollRatio.x):(n="y",(i[0].offsetTop-e+o)*s.scrollRatio.y),U(r,t.toString(),{dir:n,drag:!0})}t.bind("contextmenu."+e,function(e){e.preventDefault()}).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){var t,o,a;e.stopImmediatePropagation(),e.preventDefault(),C(e)&&(A=!0,p&&(document.onselectstart=function(){return!1}),v.call(u,!1),P(r),a=(i=R(this)).offset(),t=z(e)[0]-a.top,e=z(e)[1]-a.left,o=i.height()+a.top,a=i.width()+a.left,t<o&&0<t&&e<a&&0<e&&(n=t,l=e),y(i,"active",c.autoExpandScrollbar))}).bind("touchmove."+e,function(e){e.stopImmediatePropagation(),e.preventDefault();var t=i.offset(),o=z(e)[0]-t.top,e=z(e)[1]-t.left;h(n,l,o,e)}),R(document).add(a).bind("mousemove."+e+" pointermove."+e+" MSPointerMove."+e,function(e){var t,o;i&&(t=i.offset(),o=z(e)[0]-t.top,e=z(e)[1]-t.left,n===o&&l===e||h(n,l,o,e))}).add(o).bind("mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(e){i&&(y(i,"active",c.autoExpandScrollbar),i=null),A=!1,p&&(document.onselectstart=null),v.call(u,!0)})}
8,J=function(){var l,r,s,i,c,d,u,h,f,m,p,g,x=R(this),v=x.data(W),_=v.opt,e=W+"_"+v.idx,w=R("#mCSB_"+v.idx),S=R("#mCSB_"+v.idx+"_container"),b=[R("#mCSB_"+v.idx+"_dragger_vertical"),R("#mCSB_"+v.idx+"_dragger_horizontal")],C=[],y=[],B=0,T="yx"===_.axis?"none":"all",k=[],t=S.find("iframe"),o=["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 a(e){var t;!q(e)||A||z(e)[2]?L=0:(g=p=0,l=L=1,x.removeClass("mCS_touch_action"),t=S.offset(),r=z(e)[0]-t.top,s=z(e)[1]-t.left,k=[z(e)[0],z(e)[1]])}function n(e){var t,o,a,n,i;!q(e)||A||z(e)[2]||(_.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),g&&!p)||l&&(u=F(),o=w.offset(),t=z(e)[0]-o.top,o=z(e)[1]-o.left,a="mcsLinearOut",C.push(t),y.push(o),k[2]=Math.abs(z(e)[0]-k[0]),k[3]=Math.abs(z(e)[1]-k[1]),v.overflowed[0]&&(n=b[0].parent().height()-b[0].height(),n=0<r-t&&t-r>-(n*v.scrollRatio.y)&&(2*k[3]<k[2]||"yx"===_.axis)),v.overflowed[1]&&(i=b[1].parent().width()-b[1].width(),i=0<s-o&&o-s>-(i*v.scrollRatio.x)&&(2*k[2]<k[3]||"yx"===_.axis)),n||i?(M||e.preventDefault(),p=1):(g=1,x.addClass("mCS_touch_action")),M&&e.preventDefault(),f="yx"===_.axis?[r-t,s-o]:"x"===_.axis?[null,s-o]:[r-t,null],S[0].idleTimer=250,v.overflowed[0]&&E(f[0],B,a,"y","all",!0),v.overflowed[1])&&E(f[1],B,a,"x",T,!0)}function O(e){var t;!q(e)||A||z(e)[2]?L=0:(L=1,e.stopImmediatePropagation(),P(x),d=F(),t=w.offset(),i=z(e)[0]-t.top,c=z(e)[1]-t.left,C=[],y=[])}function I(e){var t,o,a,n;!q(e)||A||z(e)[2]||(l=0,e.stopImmediatePropagation(),g=p=0,h=F(),t=w.offset(),n=z(e)[0]-t.top,e=z(e)[1]-t.left,30<h-u)||(t="mcsEaseOut",a=(o=(h=1e3/(h-d))<2.5)?[C[C.length-2],y[y.length-2]]:[0,0],m=o?[n-a[0],e-a[1]]:[n-i,e-c],a=[Math.abs(m[0]),Math.abs(m[1])],h=o?[Math.abs(m[0]/4),Math.abs(m[1]/4)]:[h,h],n=[Math.abs(S[0].offsetTop)-m[0]*D(a[0]/h[0],h[0]),Math.abs(S[0].offsetLeft)-m[1]*D(a[1]/h[1],h[1])],f="yx"===_.axis?[n[0],n[1]]:"x"===_.axis?[null,n[1]]:[n[0],null],m=[4*a[0]+_.scrollInertia,4*a[1]+_.scrollInertia],e=parseInt(_.contentTouchScroll)||0,f[0]=e<a[0]?f[0]:0,f[1]=e<a[1]?f[1]:0,v.overflowed[0]&&E(f[0],m[0],t,"y",T,!1),v.overflowed[1]&&E(f[1],m[1],t,"x",T,!1))}function D(e,t){var o=[1.5*t,2*t,t/1.5,t/2];return 90<e?4<t?o[0]:o[3]:60<e?3<t?o[3]:o[2]:30<e?8<t?o[1]:6<t?o[0]:4<t?t:o[2]:8<t?t:o[3]}function E(e,t,o,a,n,i){e&&U(x,e.toString(),{dur:t,scrollEasing:o,dir:a,overwrite:n,drag:i})}S.bind(o[0],function(e){a(e)}).bind(o[1],function(e){n(e)}),w.bind(o[0],function(e){O(e)}).bind(o[2],function(e){I(e)}),t.length&&t.each(function(){R(this).bind("load",function(){H(this)&&R(this.contentDocument||this.contentWindow.document).bind(o[0],function(e){a(e),O(e)}).bind(o[1],function(e){n(e)}).bind(o[2],function(e){I(e)})})})},K=function(){var a,n=R(this),i=n.data(W),l=i.opt,r=i.sequential,e=W+"_"+i.idx,s=R("#mCSB_"+i.idx+"_container"),c=s.parent();function d(e,t,o){r.type=o&&a?"stepped":"stepless",r.scrollAmount=10,_(n,e,t,"mcsLinearOut",o?60:null)}s.bind("mousedown."+e,function(e){L||a||(a=1,A=!0)}).add(document).bind("mousemove."+e,function(e){var t,o;!L&&a&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)&&(t=s.offset(),o=z(e)[0]-t.top+s[0].offsetTop,e=z(e)[1]-t.left+s[0].offsetLeft,0<o&&o<c.height()&&0<e&&e<c.width()?r.step&&d("off",null,"stepped"):("x"!==l.axis&&i.overflowed[0]&&(o<0?d("on",38):o>c.height()&&d("on",40)),"y"!==l.axis&&i.overflowed[1]&&(e<0?d("on",37):e>c.width()&&d("on",39))))}).bind("mouseup."+e+" dragend."+e,function(e){L||(a&&(a=0,d("off",null)),A=!1)})},Z=function(){var d,u,h,e,f,m,t;function o(e,t){var o,a,n,i,l,r,s,c;P(d),$(d,e.target)||(c="auto"!==h.mouseWheel.deltaFactor?parseInt(h.mouseWheel.deltaFactor):!(p&&e.deltaFactor<100)&&e.deltaFactor||100,o=h.scrollInertia,c="x"===h.axis||"x"===h.mouseWheel.axis?(a="x",n=[Math.round(c*u.scrollRatio.x),parseInt(h.mouseWheel.scrollAmount)],i="auto"!==h.mouseWheel.scrollAmount?n[1]:n[0]>=f.width()?.9*f.width():n[0],l=Math.abs(R("#mCSB_"+u.idx+"_container")[0].offsetLeft),r=m[1][0].offsetLeft,s=m[1].parent().width()-m[1].width(),"y"===h.mouseWheel.axis?e.deltaY||t:e.deltaX):(a="y",n=[Math.round(c*u.scrollRatio.y),parseInt(h.mouseWheel.scrollAmount)],i="auto"!==h.mouseWheel.scrollAmount?n[1]:n[0]>=f.height()?.9*f.height():n[0],l=Math.abs(R("#mCSB_"+u.idx+"_container")[0].offsetTop),r=m[0][0].offsetTop,s=m[0].parent().height()-m[0].height(),e.deltaY||t),"y"===a&&!u.overflowed[0])||"x"===a&&!u.overflowed[1]||((h.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(c=-c),(0<(c=h.mouseWheel.normalizeDelta?c<0?-1:1:c)&&0!==r||c<0&&r!==s||h.mou
8seWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!h.mouseWheel.normalizeDelta&&(i=e.deltaFactor,o=17),U(d,(l-c*i).toString(),{dir:a,dur:o}))}R(this).data(W)&&(d=R(this),u=d.data(W),h=u.opt,e=W+"_"+u.idx,f=R("#mCSB_"+u.idx),m=[R("#mCSB_"+u.idx+"_dragger_vertical"),R("#mCSB_"+u.idx+"_dragger_horizontal")],(t=R("#mCSB_"+u.idx+"_container").find("iframe")).length&&t.each(function(){R(this).bind("load",function(){H(this)&&R(this.contentDocument||this.contentWindow.document).bind("mousewheel."+e,function(e,t){o(e,t)})})}),f.bind("mousewheel."+e,function(e,t){o(e,t)}))},l=new Object,H=function(e){var t=!1,o=!1,a=null;if(void 0===e?o="#empty":void 0!==R(e).attr("id")&&(o=R(e).attr("id")),!1!==o&&void 0!==l[o])return l[o];if(e)try{a=(e.contentDocument||e.contentWindow.document).body.innerHTML}catch(e){}else try{a=top.document.body.innerHTML}catch(e){}return t=null!==a,!1!==o&&(l[o]=t),t},v=function(e){var t=this.find("iframe");t.length&&t.css("pointer-events",e?"auto":"none")},$=function(e,t){var o=t.nodeName.toLowerCase(),e=e.data(W).opt.mouseWheel.disableOver;return-1<R.inArray(o,e)&&!(-1<R.inArray(o,["select","textarea"])&&!R(t).is(":focus"))},ee=function(){var l,r=R(this),s=r.data(W),e=W+"_"+s.idx,c=R("#mCSB_"+s.idx+"_container"),d=c.parent();R(".mCSB_"+s.idx+"_scrollbar ."+g[12]).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){A=!0,R(e.target).hasClass("mCSB_dragger")||(l=1)}).bind("touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(e){A=!1}).bind("click."+e,function(e){if(l&&(l=0,R(e.target).hasClass(g[12])||R(e.target).hasClass("mCSB_draggerRail"))){P(r);var t=R(this),o=t.find(".mCSB_dragger");if(0<t.parent(".mCSB_scrollTools_horizontal").length){if(!s.overflowed[1])return;var a="x",n=e.pageX>o.offset().left?-1:1,i=Math.abs(c[0].offsetLeft)-n*(.9*d.width())}else{if(!s.overflowed[0])return;a="y",n=e.pageY>o.offset().top?-1:1,i=Math.abs(c[0].offsetTop)-n*(.9*d.height())}U(r,i.toString(),{dir:a,scrollEasing:"mcsEaseInOut"})}})},te=function(){var n=R(this),e=n.data(W),i=e.opt,t=W+"_"+e.idx,l=R("#mCSB_"+e.idx+"_container"),r=l.parent();l.bind("focusin."+t,function(e){var a=R(document.activeElement),t=l.find(".mCustomScrollBox").length;a.is(i.advanced.autoScrollOnFocus)&&(P(n),clearTimeout(n[0]._focusTimeout),n[0]._focusTimer=t?17*t:0,n[0]._focusTimeout=setTimeout(function(){var e=[M(a)[0],M(a)[1]],t=[l[0].offsetTop,l[0].offsetLeft],t=[0<=t[0]+e[0]&&t[0]+e[0]<r.height()-a.outerHeight(!1),0<=t[1]+e[1]&&t[0]+e[1]<r.width()-a.outerWidth(!1)],o="yx"!==i.axis||t[0]||t[1]?"all":"none";"x"===i.axis||t[0]||U(n,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:o,dur:0}),"y"===i.axis||t[1]||U(n,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:o,dur:0})},n[0]._focusTimer))})},oe=function(){var t=R(this).data(W),e=W+"_"+t.idx,o=R("#mCSB_"+t.idx+"_container").parent();o.bind("scroll."+e,function(e){0===o.scrollTop()&&0===o.scrollLeft()||R(".mCSB_"+t.idx+"_scrollbar").css("visibility","hidden")})},ae=function(){var a=R(this),n=a.data(W),i=n.opt,l=n.sequential,e=W+"_"+n.idx,t=".mCSB_"+n.idx+"_scrollbar";R(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(),C(e)){var t=R(this).attr("class");switch(l.type=i.scrollButtons.scrollType,e.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":"stepped"!==l.type&&(A=!0,n.tweenRunning=!1,o("on",t));break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":"stepped"!==l.type&&(A=!1,l.dir)&&o("off",t);break;case"click":"stepped"!==l.type||n.tweenRunning||o("on",t)}}function o(e,t){l.scrollAmount=i.scrollButtons.scrollAmount,_(a,e,t)}})},ne=function(){var l=R(this),r=l.data(W),s=r.opt,c=r.sequential,e=W+"_"+r.idx,t=R("#mCSB_"+r.idx),d=R("#mCSB_"+r.idx+"_container"),u=d.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",o=d.find("iframe"),a=["blur."+e+" keydown."+e+" keyup."+e];
8function n(e){switch(e.type){case"blur":r.tweenRunning&&c.dir&&i("off",null);break;case"keydown":case"keyup":var t,o,a=e.keyCode||e.which,n="on";if("x"!==s.axis&&(38===a||40===a)||"y"!==s.axis&&(37===a||39===a)){if((38===a||40===a)&&!r.overflowed[0]||(37===a||39===a)&&!r.overflowed[1])return;"keyup"===e.type&&(n="off"),R(document.activeElement).is(h)||(e.preventDefault(),e.stopImmediatePropagation(),i(n,a))}else 33===a||34===a?((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type&&(P(l),n=34===a?-1:1,o="x"===s.axis||"yx"===s.axis&&r.overflowed[1]&&!r.overflowed[0]?(t="x",Math.abs(d[0].offsetLeft)-n*(.9*u.width())):(t="y",Math.abs(d[0].offsetTop)-n*(.9*u.height())),U(l,o.toString(),{dir:t,scrollEasing:"mcsEaseInOut"}))):35!==a&&36!==a||R(document.activeElement).is(h)||((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type&&(o="x"===s.axis||"yx"===s.axis&&r.overflowed[1]&&!r.overflowed[0]?(t="x",35===a?Math.abs(u.width()-d.outerWidth(!1)):0):(t="y",35===a?Math.abs(u.height()-d.outerHeight(!1)):0),U(l,o.toString(),{dir:t,scrollEasing:"mcsEaseInOut"})))}function i(e,t){c.type=s.keyboard.scrollType,c.scrollAmount=s.keyboard.scrollAmount,"stepped"===c.type&&r.tweenRunning||_(l,e,t)}}o.length&&o.each(function(){R(this).bind("load",function(){H(this)&&R(this.contentDocument||this.contentWindow.document).bind(a[0],function(e){n(e)})})}),t.attr("tabindex","0").bind(a[0],function(e){n(e)})},_=function(l,e,t,r,s){var c=l.data(W),d=c.opt,u=c.sequential,h=R("#mCSB_"+c.idx+"_container"),o="stepped"===u.type,f=d.scrollInertia<26?26:d.scrollInertia,m=d.scrollInertia<1?17:d.scrollInertia;switch(e){case"on":u.dir=[t===g[16]||t===g[15]||39===t||37===t?"x":"y",t===g[13]||t===g[15]||38===t||37===t?-1:1],P(l),k(t)&&"stepped"===u.type||p(o);break;case"off":clearTimeout(u.step),b(u,"step"),P(l),(o||c.tweenRunning&&u.dir)&&p(!0)}function p(e){d.snapAmount&&(u.scrollAmount=d.snapAmount instanceof Array?"x"===u.dir[0]?d.snapAmount[1]:d.snapAmount[0]:d.snapAmount);var t="stepped"!==u.type,o=s||(e?t?f/1.5:m:1e3/60),a=e?t?7.5:40:2.5,n=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],i=[10<c.scrollRatio.y?10:c.scrollRatio.y,10<c.scrollRatio.x?10:c.scrollRatio.x],i="x"===u.dir[0]?n[1]+u.dir[1]*(i[1]*a):n[0]+u.dir[1]*(i[0]*a),a="x"===u.dir[0]?n[1]+u.dir[1]*parseInt(u.scrollAmount):n[0]+u.dir[1]*parseInt(u.scrollAmount),a="auto"!==u.scrollAmount?a:i,i=r||(e?t?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),t=!!e;e&&o<17&&(a="x"===u.dir[0]?n[1]:n[0]),U(l,a.toString(),{dir:u.dir[0],scrollEasing:i,dur:o,onComplete:t}),e?u.dir=!1:(clearTimeout(u.step),u.step=setTimeout(function(){p()},o))}},B=function(e){var t=R(this).data(W).opt,o=[];return(e="function"==typeof e?e():e)instanceof Array?o=1<e.length?[e[0],e[1]]:"x"===t.axis?[null,e[0]]:[e[0],null]:(o[0]=e.y||(e.x||"x"===t.axis?null:e),o[1]=e.x||(e.y||"y"===t.axis?null:e)),"function"==typeof o[0]&&(o[0]=o[0]()),"function"==typeof o[1]&&(o[1]=o[1]()),o},w=function(e,t){if(null!=e&&void 0!==e){var o,a,n=R(this),i=n.data(W),l=i.opt,r=R("#mCSB_"+i.idx+"_container"),s=r.parent(),i=typeof e,c="x"===(t=t||("x"===l.axis?"x":"y"))?r.outerWidth(!1)-s.width():r.outerHeight(!1)-s.height(),d="x"===t?r[0].offsetLeft:r[0].offsetTop,u="x"===t?"left":"top";switch(i){case"function":return e();case"object":return(a=e.jquery?e:R(e)).length?"x"===t?M(a)[1]:M(a)[0]:void 0;case"string":case"number":return k(e)?Math.abs(e):-1!==e.indexOf("%")?Math.abs(c*parseInt(e)/100):-1!==e.indexOf("-=")?Math.abs(d-parseInt(e.split("-=")[1])):-1!==e.indexOf("+=")?0<=(o=d+parseInt(e.split("+=")[1]))?0:Math.abs(o):-1!==e.indexOf("px")&&k(e.split("px")[0])?Math.abs(e.split("px")[0]):"top"===e||"left"===e?0:"bottom"===e?Math.abs(s.height()-r.outerHeight(!1)):"right"===e?Math.abs(s.width()-r.outerWidth(!1)):"first"===e||"last"===e?(a=r.find(":"+e),"x"===t?M(a)[1]:M(a)[0]):R(e).length?"x"===t?M(R(e))[1]:M(R(e))[0]:(r.css(u,e),void h.update.call(null,n[0]))}}},S=function(e){var t=R(this),o=t.data(W),a=o.opt,n=R("#mCSB_"+o.idx+"_container");function i(e){var t,o,a;R(e).hasClass(g[2])?r():((t=new Image).onload=(o=t,a=function(){this.onload=null,R(e).addClass(g[2]),r(2)},function(){return a.apply(o,arguments)}),t.src=e.src)}function l(){!0===a.advanced.updateOnSelectorChange&&(a.advanced.updateOnSelectorChange="*");var e=0,t=n.find(a.advanced.updateOnSelectorChange);return a.advanced.updateOnSelectorChange&&0<t.length&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}function r(e){clearTimeout(n[0].autoUpdate),h.update.call(null,t[0],e)}e?(clearTimeout(n[0].autoUpdate),b(n[0],"autoUpdate")):function e(){clearTimeout(n[0].autoUpdate);if(0===t.parents("html").length)return void(t=null);n[0].autoUpdate=setTimeout(function(){a.advanced.updateOnSelectorChange&&(o.poll.change.n=l(),o.poll.change.n!==o.poll.change.o)?(o.poll.change.o=o.poll.change.n,r(3)):a.advanced.updateOnContentResize&&(o.poll.size.n=t[0].scrollHeight+t[0].scrollWidth+n[0].offsetHeight+t[0].offsetHeight+t[0].offsetWidth,o.poll.size.n!==o.poll.size.o)?(o.poll.size.o=o.poll.size.n,r(1)):!a.advanced.updateOnImageLoad||"auto"===a.advanced.updateOnImageLoad&&"y"===a.axis||(o.poll.img.n=n.find("img").length,o.poll.img.n===o.poll.img.o)?(a.advanced.updateOnSelectorChange||a.advanced.updateOnContentResize||a.advanced.updateOnImageLoad)&&e():(o.poll.img.o=o.poll.img.n,n.find("img").each(function(){i(this)}))},a.advanced.autoUpdateTimeout)}()},P=function(e){e=e.data(W);R("#mCSB_"+e.idx+"_container,#mCSB_"+e.idx+"_container_wrapper,#mCSB_"+e.idx+"_dragger_vertical,#mCSB_"+e.idx+"_dragger_horizontal").each(function(){t.call(this)})},U=function(n,e,i){var t,o,a=n.data(W),l=a.opt,r={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},r=[(i=R.extend(r,i)).dur,i.drag?0:i.dur],s=R("#mCSB_"+a.idx),c=R("#mCSB_"+a.idx+"_container"),d=c.parent(),u=l.callbacks.onTotalScrollOffset?B.call(n,l.callbacks.onTotalScrollOffset):[0,0],h=l.callbacks.onTotalScrollBackOffset?B.call(n,l.callbacks.onTotalScrollBackOffset):[0,0];if(a.trigger=i.trigger,0===d.scrollTop()&&0===d.scrollLeft()||(R(".mCSB_"+a.idx+"_scrollbar").css("visibility","visible"),d.scrollTop(0).scrollLeft(0)),"_resetY"!==e||a.contentReset.
8y||(b("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(n[0]),a.contentReset.y=1),"_resetX"!==e||a.contentReset.x||(b("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(n[0]),a.contentReset.x=1),"_resetY"!==e&&"_resetX"!==e){switch(!a.contentReset.y&&n[0].mcs||!a.overflowed[0]||(b("onOverflowY")&&l.callbacks.onOverflowY.call(n[0]),a.contentReset.x=null),!a.contentReset.x&&n[0].mcs||!a.overflowed[1]||(b("onOverflowX")&&l.callbacks.onOverflowX.call(n[0]),a.contentReset.x=null),l.snapAmount&&(d=l.snapAmount instanceof Array?"x"===i.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount,t=e,d=d,o=l.snapOffset,e=Math.round(t/d)*d-o),i.dir){case"x":var f=R("#mCSB_"+a.idx+"_dragger_horizontal"),m="left",p=c[0].offsetLeft,g=[s.width()-c.outerWidth(!1),f.parent().width()-f.width()],x=[e,0===e?0:e/a.scrollRatio.x],v=u[1],_=h[1],w=0<v?v/a.scrollRatio.x:0,S=0<_?_/a.scrollRatio.x:0;break;case"y":f=R("#mCSB_"+a.idx+"_dragger_vertical"),m="top",p=c[0].offsetTop,g=[s.height()-c.outerHeight(!1),f.parent().height()-f.height()],x=[e,0===e?0:e/a.scrollRatio.y],v=u[0],_=h[0],w=0<v?v/a.scrollRatio.y:0,S=0<_?_/a.scrollRatio.y:0}x[1]<0||0===x[0]&&0===x[1]?x=[0,0]:x[1]>=g[1]?x=[g[0],g[1]]:x[0]=-x[0],n[0].mcs||(C(),b("onInit")&&l.callbacks.onInit.call(n[0])),clearTimeout(c[0].onCompleteTimeout),T(f[0],m,Math.round(x[1]),r[1],i.scrollEasing),!a.tweenRunning&&(0===p&&0<=x[0]||p===g[0]&&x[0]<=g[0])||T(c[0],m,Math.round(x[0]),r[0],i.scrollEasing,i.overwrite,{onStart:function(){i.callbacks&&i.onStart&&!a.tweenRunning&&(b("onScrollStart")&&(C(),l.callbacks.onScrollStart.call(n[0])),a.tweenRunning=!0,y(f),a.cbOffsets=[l.callbacks.alwaysTriggerOffsets||p>=g[0]+v,l.callbacks.alwaysTriggerOffsets||p<=-_])},onUpdate:function(){i.callbacks&&i.onUpdate&&b("whileScrolling")&&(C(),l.callbacks.whileScrolling.call(n[0]))},onComplete:function(){var e;i.callbacks&&i.onComplete&&("yx"===l.axis&&clearTimeout(c[0].onCompleteTimeout),e=c[0].idleTimer||0,c[0].onCompleteTimeout=setTimeout(function(){b("onScroll")&&(C(),l.callbacks.onScroll.call(n[0])),b("onTotalScroll")&&x[1]>=g[1]-w&&a.cbOffsets[0]&&(C(),l.callbacks.onTotalScroll.call(n[0])),b("onTotalScrollBack")&&x[1]<=S&&a.cbOffsets[1]&&(C(),l.callbacks.onTotalScrollBack.call(n[0])),a.tweenRunning=!1,c[0].idleTimer=0,y(f,"hide")},e))}})}function b(e){return a&&l.callbacks[e]&&"function"==typeof l.callbacks[e]}function C(){var e=[c[0].offsetTop,c[0].offsetLeft],t=[f[0].offsetTop,f[0].offsetLeft],o=[c.outerHeight(!1),c.outerWidth(!1)],a=[s.height(),s.width()];n[0].mcs={content:c,top:e[0],left:e[1],draggerTop:t[0],draggerLeft:t[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(o[0])-a[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(o[1])-a[1])),direction:i.dir}}},T=function(e,t,o,a,n,i,l){e._mTween||(e._mTween={top:{},left:{}});var r,s,c=(l=l||{}).onStart||function(){},d=l.onUpdate||function(){},u=l.onComplete||function(){},h=F(),f=0,m=e.offsetTop,p=e.style,g=e._mTween[t],x=("left"===t&&(m=e.offsetLeft),o-m);function v(){g.stop||(f||c.call(),f=F()-h,_(),f>=g.time&&(g.time=f>g.time?f+r-(f-g.time):f+r-1,g.time<f+1)&&(g.time=f+1),g.time<a?g.id=s(v):u.call())}function _(){0<a?(g.currVal=function(e,t,o,a,n){switch(n){case"linear":case"mcsLinear":return o*e/a+t;case"mcsLinearOut":return e/=a,e--,o*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return(e/=a/2)<1?o/2*e*e+t:-o/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return(e/=a/2)<1?o/2*Math.pow(2,10*(e-1))+t:(e--,o/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return(e/=a/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=a,-o*(--e*e*e*e-1)+t;case"easeOutStrong":return o*(1-Math.pow(2,-10*e/a))+t;default:var i=(e/=a)*e,l=i*e;return t+o*(.499999999999997*l*i+-2.5*i*i+5.5*l+-6.5*i+4*e)}}(g.time,m,x,a,n),p[t]=Math.round(g.currVal)+"px"):p[t]=o+"px",d.call()}g.stop=0,"none"!==i&&null!=g.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(g.id):clearTimeout(g.id),g.id=null),r=1e3/60,g.time=f+r,s=window.requestAnimationFrame||function(e){return _(),setTimeout(e,.01)},g.id=s(v)},F=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(){for(var e=this,t=(e._mTween||(e._mTween={top:{},left:{}}
8),["top","left"]),o=0;o<t.length;o++){var a=t[o];e._mTween[a].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[a].id):clearTimeout(e._mTween[a].id),e._mTween[a].id=null,e._mTween[a].stop=1)}},b=function(t,o){try{delete t[o]}catch(e){t[o]=null}},C=function(e){return!(e.which&&1!==e.which)},q=function(e){e=e.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},k=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},M=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]},R.fn[s]=function(e){return h[e]?h[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void R.error("Method "+e+" does not exist"):h.init.apply(this,arguments)},R[s]=function(e){return h[e]?h[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void R.error("Method "+e+" does not exist"):h.init.apply(this,arguments)},R[s].defaults=n,window[s]=!0,R(window).bind("load",function(){R(a)[s](),R.extend(R.expr[":"],{mcsInView:R.expr[":"].mcsInView||function(e){var t,e=R(e),o=e.parents(".mCSB_container");if(o.length)return t=o.parent(),0<=(o=[o[0].offsetTop,o[0].offsetLeft])[0]+M(e)[0]&&o[0]+M(e)[0]<t.height()-e.outerHeight(!1)&&0<=o[1]+M(e)[1]&&o[1]+M(e)[1]<t.width()-e.outerWidth(!1)},mcsInSight:R.expr[":"].mcsInSight||function(e,t,o){var a,e=R(e),n=e.parents(".mCSB_container"),o="exact"===o[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(n.length)return a=[e.outerHeight(!1),e.outerWidth(!1)],e=[n[0].offsetTop+M(e)[0],n[0].offsetLeft+M(e)[1]],n=[n.parent()[0].offsetHeight,n.parent()[0].offsetWidth],e[0]-n[0]*(o=[a[0]<n[0]?o[0]:o[1],a[1]<n[1]?o[0]:o[1]])[0][0]<0&&0<=e[0]+a[0]-n[0]*o[0][1]&&e[1]-n[1]*o[1][0]<0&&0<=e[1]+a[1]-n[1]*o[1][1]},mcsOverflow:R.expr[":"].mcsOverflow||function(e){e=R(e).data(W);if(e)return e.overflowed[0]||e.overflowed[1]}})})});
9!function(o){o.fn.SumoSelect=function(e){var n=o.extend({placeholder:"Select Here",csvDispCount:3,captionFormat:"{0} Selected",floatWidth:400,forceCustomRendering:!1,nativeOnDevice:["Android","BlackBerry","iPhone","iPad","iPod","Opera Mini","IEMobile","Silk"],outputAsCSV:!1,csvSepChar:",",okCancelInMulti:!1,triggerChangeCombined:!0,selectAll:!1,selectAlltext:"Select All"},e),e=this.each(function(){var s=this;!this.sumo&&o(this).is("select")&&(this.sumo={E:o(s),is_multi:o(s).attr("multiple"),select:"",caption:"",placeholder:"",optDiv:"",CaptionCont:"",is_floating:!1,is_opened:!1,mob:!1,Pstate:[],createElems:function(){var l=this;l.E.wrap('<div class="SumoSelect" tabindex="0">'),l.select=l.E.parent(),l.caption=o("<span></span>"),l.CaptionCont=o('<p class="CaptionCont"><label><i></i></label></p>').addClass("SlectBox").attr("style",l.E.attr("style")).prepend(l.caption),l.select.append(l.CaptionCont),l.E.attr("disabled")&&l.select.addClass("disabled").removeAttr("tabindex"),n.outputAsCSV&&l.is_multi&&l.E.attr("name")&&(l.select.append(o('<input class="HEMANT123" type="hidden" />').attr("name",l.E.attr("name")).val(l.getSelStr())),l.E.removeAttr("name")),l.isMobile()&&!n.forceCustomRendering?l.setNativeMobile():(l.E.hide(),l.optDiv=o('<div class="optWrapper">'),l.floatingList(),ul=o('<ul class="options">'),l.optDiv.append(ul),n.selectAll&&l.selAll(),o(l.E.children("option")).each(function(e,t){t=o(t),l.createLi(t)}),l.is_multi&&l.multiSelelect(),l.select.append(l.optDiv),l.basicEvents(),l.selAllState())},createLi:function(e,t){var l=this;return e.attr("value")||e.attr("value",e.val()),li=o('<li data-val="'+e.val()+'"><label>'+e.text()+"</label></li>"),l.is_multi&&li.prepend("<span><i></i></span>"),e[0].disabled&&(li=li.addClass("disabled")),l.onOptClick(li),e[0].selected&&li.addClass("selected"),e.attr("class")&&li.addClass(e.attr("class")),ul=l.optDiv.children("ul.options"),void 0===t?ul.append(li):ul.children("li").eq(t).before(li),li},getSelStr:function(){return sopt=[],this.E.children("option:selected").each(function(){sopt.push(o(this).val())}),sopt.join(n.csvSepChar)},multiSelelect:function(){var e=this;e.optDiv.addClass("multiple"),e.okbtn=o('<p class="btnOk">OK</p>').click(function(){n.triggerChangeCombined&&(changed=!1,e.E.children("option:selected").length!=e.Pstate.length?changed=!0:e.E.children("option:selected").each(function(){e.Pstate.indexOf(o(this).val())<0&&(changed=!0)}),changed)&&(e.E.trigger("change").trigger("click"),e.setText()),e.hideOpts()}),e.cancelBtn=o('<p class="btnCancel">Cancel</p>').click(function(){e._cnbtn(),e.hideOpts()}
9),e.optDiv.append(o('<div class="MultiControls">').append(e.okbtn).append(e.cancelBtn))},_cnbtn:function(){var e=this;for(e.E.children("option:selected").each(function(){this.selected=!1}),e.optDiv.find("li.selected").removeClass("selected"),i=0;i<e.Pstate.length;i++)e.E.children('option[value="'+e.Pstate[i]+'"]')[0].selected=!0,e.optDiv.find('li[data-val="'+e.Pstate[i]+'"]').addClass("selected");e.selAllState()},selAll:function(){var l=this;l.is_multi&&(l.chkAll=o("<i>"),l.selAll=o('<p class="select-all"><label>'+n.selectAlltext+"</label></p>").prepend(o("<span></span>").append(l.chkAll)),l.chkAll.on("click",function(){l.selAll.toggleClass("selected"),l.optDiv.find("ul.options li").each(function(e,t){t=o(t),l.selAll.hasClass("selected")?t.hasClass("selected")||t.trigger("click"):t.hasClass("selected")&&t.trigger("click")})}),l.optDiv.prepend(l.selAll))},selAllState:function(){var l,i,e=this;n.selectAll&&(i=l=0,e.optDiv.find("ul.options li").each(function(e,t){o(t).hasClass("selected")&&l++,o(t).hasClass("disabled")||i++}),l==i?e.selAll.removeClass("partial").addClass("selected"):0==l?e.selAll.removeClass("selected partial"):e.selAll.addClass("partial"))},showOpts:function(){var e=this;e.E.attr("disabled")||(e.is_opened=!0,e.optDiv.addClass("open"),e.is_floating&&(H=e.optDiv.children("ul").outerHeight()+2,e.is_multi&&(H+=parseInt(e.optDiv.css("padding-bottom"))),e.optDiv.css("height",H)),e.is_multi&&(e.is_floating||n.okCancelInMulti)&&(e.Pstate=[],e.E.children("option:selected").each(function(){e.Pstate.push(o(this).val())})))},hideOpts:function(){this.is_opened=!1,this.optDiv.removeClass("open").find("ul li.sel").removeClass("sel")},setOnOpen:function(){var e=this;e.optDiv.find("ul li").eq(e.E[0].selectedIndex).addClass("sel"),e.showOpts()},nav:function(e){var t,l,i=this,s=i.optDiv.find("ul li.sel");i.is_opened&&s.length?(e=e?s.prevAll("li:not(.disabled)"):s.nextAll("li:not(.disabled)")).length&&(s.removeClass("sel"),s=e.first().addClass("sel"),t=(e=i.optDiv.find("ul")).scrollTop(),(l=s.position().top+t)>=t+e.height()-s.outerHeight()&&e.scrollTop(l-e.height()+s.outerHeight()),l<t)&&e.scrollTop(l):i.setOnOpen()},basicEvents:function(){var t=this;t.CaptionCont.click(function(e){t.E.trigger("click"),t.is_opened?t.hideOpts():t.showOpts(),e.stopPropagation()}),t.select.on("blur",function(){t.is_opened&&(t.hideOpts(),t.is_multi)&&n.okCancelInMulti&&t._cnbtn()}).on("keydown",function(e){switch(e.which){case 38:t.nav(!0);break;case 40:t.nav(!1);break;case 32:case 13:t.is_opened?t.optDiv.find("ul li.sel").trigger("click"):t.setOnOpen();break;case 27:t.is_multi&&n.okCancelInMulti&&t._cnbtn(),t.hideOpts();break;default:return}e.preventDefault()}),o(window).on("resize.sumo",function(){t.floatingList()})},onOptClick:function(e){var t=this;e.click(function(){var e=o(this);e.hasClass("disabled")||(txt="",t.is_multi?(e.toggleClass("selected"),t.E.children('option[value="'+e.data("val")+'"]')[0].selected=e.hasClass("selected"),t.selAllState()):(e.parent().find("li.selected").removeClass("selected"),e.toggleClass("selected"),t.E.val(e.attr("data-val"))),t.is_multi&&n.triggerChangeCombined&&(t.is_floating||n.okCancelInMulti)||(t.setText(),t.E.trigger("change").trigger("click")),t.is_multi)||t.hideOpts()})},setText:function(){var e=this;if(e.placeholder="",e.is_multi){for(sels=e.E.children(":selected").not(":disabled"),i=0;i<sels.length;i++){if(i>=n.csvDispCount&&n.csvDispCount){e.placeholder=n.captionFormat.replace("{0}",sels.length);break}e.placeholder+=o(sels[i]).text()+", "}e.placeholder=e.placeholder.replace(/,([^,]*)$/,"$1")}else e.placeholder=e.E.children(":selected").not(":disabled").text();return is_placeholder=!1,e.placeholder||(is_placeholder=!0,e.placeholder=e.E.attr("placeholder"),e.placeholder)||(e.placeholder=e.E.children("option:disabled:selected").text()),e.placeholder=e.placeholder||n.placeholder,e.caption.text(e.placeholder),(csvField=e.select.find("input.HEMANT123")).length&&csvField.val(e.getSelStr()),is_placeholder?e.caption.addClass("placeholder"):e.caption.removeClass("placeholder"),e.placeholder},isMobile:function(){for(var e=navigator.userAgent||navigator.vendor||window.opera,t=0;t<n.nativeOnDevice.length;t++)if(0<e.toString().toLowerCase().indexOf(n.nativeOnDevice[t].toLowerCase()))return n.nativeOnDevice[t];return!1},setNativeMobile:function(){var e=this;e.E.addClass("SelectClass"),e.mob=!0,e.E.change(function(){e.setText()})},floatingList:function(){var e=this;e.is_floating=o(window).width()<=n.floatWidth,e.optDiv.toggleClass("isFloating",e.is_floating),e.is_floating||e.optDiv.css("height",""),e.optDiv.toggleClass("okCancelInMulti",n.okCancelInMulti&&!e.is_floating)},vRange:function(e){if((opts=this.E.children("option")).length<=e||e<0)throw"index out of bounds";return this},toggSel:function(e,t){var l=this.vRange(t);l.E.children("option")[t].disabled||(l.E.children("option")[t].selected=e,l.mob||l.optDiv.find("ul.options li").eq(t).toggleClass("selected",e),l.setText())},toggDis:function(e,t){var l=this.vRange(t);(l.E.children("option")[t].disabled=e)&&(l.E.children("option")[t].selected=!1),l.mob||l.optDiv.find("ul.options li").eq(t).toggleClass("disabled",e).removeClass("selected"),l.setText()},toggSumo:function(e){var t=this;return t.enabled=e,t.select.toggleClass("disabled",e),e?(t.E.attr("disabled","disabled"),t.select.removeAttr("tabindex")):(t.E.removeAttr("disabled"),t.select.attr("tabindex","0")),t},toggSelAll:function(l){var i=this;i.E.find("option").each(function(e,t){i.E.find("option")[o(this).index()].disabled||(i.E.find("option")[o(this).index()].selected=l,i.mob||i.optDiv.find("ul.options li").eq(o(this).index()).toggleClass("selected",l),i.setText())}),!i.mob&&n.selectAll&&i.selAll.removeClass("partial").toggleClass("selected",l)},reload:function(){var e=this.unload();return o(e).SumoSelect(n)},unload:function(){var e=this;return e.select.before(e.E),e.E.show(),n.outputAsCSV&&e.is_multi&&e.select.find("input.HEMANT123").length&&e.E.attr("name",e.select.find("input.HEMANT123").attr("name")),e.select.remove(),delete s.sumo,s},add:function(e,t,l){if(void 0===e)throw"No value to add";var i=this;if(opts=i.E.children("option"),"number"==typeof t&&(l=t,t=e),void 0===t&&(t=e),opt=o("<option></option>").val(e).html(t),opts.length<l)throw"index out of bounds";return void 0===l||opts.length==l?(i.E.append(opt),i.mob||i.createLi(opt)):(opts.eq(l).before(opt),i.mob||i.createLi(opt,l)),s},remove:function(e){var t=this.vRange(e);t.E.children("option").eq(e).remove(),t.mob||t.optDiv.find("ul.options li").eq(e).remove(),t.setText()},selectItem:function(e){this.toggSel(!0,e)},unSelectItem:function(e){this.toggSel(!1,e)},selectAll:function(){this.toggSelAll(!0)},unSelectAll:function(){this.toggSelAll(!1)},disableItem:function(e){this.toggDis(!0,e)},enableItem:function(e){this.toggDis(!1,e)},enabled:!0,enable:function(){return this.toggSumo(!1)},disable:function(){return this.toggSumo(!0)},init:function(){return this.createElems(),this.setText(),this}},s.sumo.init())});return 1==e.length?e[0]:e}}(jQuery);
10function opentab(e){for(var s=document.getElementsByClassName("single-tab"),t=0;t<s.length;t++)s[t].style.display="none";document.getElementById(e).style.display="block"}jQuery(document).ready(function(a){var e,i,s;a("#menu .menu li ul").hide().removeClass("fallback"),a("#menu .menu li").hover(function(){a("ul",this).stop().slideDown(100)},function(){a("ul",this).stop().slideUp(100)}),a("#loginform-header #user_login").attr("placeholder","Username"),a("#loginform-header #user_pass").attr("placeholder","Password"),a("#hc_sort_by").on("change keyup",function(){a("#hc_sorter").submit()}),a(".sharer").click(function(){a(".addthis_sharing_toolbox").fadeToggle()}),a("#hc_sort_by").SumoSelect(),enquire.register("screen and (max-width:767px)",{match:function(){a("#footer-one .menu").hide(),a("#footer-one .toggler").click(function(){a("#footer-one .menu").slideToggle(200)}),a("li.menu-item-has-children").unbind(),a("li.menu-item-has-children").click(function(){console.log(a(this).children(".sub-menu")[0].style.display),"block"===a(this).children(".sub-menu")[0].style.display?a(a(this).children(".sub-menu")[0]).css("display","none"):a(a(this).children(".sub-menu")[0]).css("display","block")})},unmatch:function(){a("#footer-one .menu").show()}}),enquire.register("screen and (min-width:768px) and (max-width: 959px)",{match:function(){a("#footer-one .menu").hide(),a("#footer-one .toggler").click(function(){a("#footer-one .menu").slideToggle(200)}),a(".mobile-menu.tabster li").siblings().removeClass("active"),a(".mobile-menu.tabster li.posts").addClass("active"),a(".tablet-watchlist").hide()},unmatch:function(){a("#footer-one .menu").show()}}),enquire.register("screen and (min-width:960px) and (max-width: 1439px)",{match:function(){a(window).on("load",function(){a(".footer-ad").load("/wp-content/themes/football-fantastico/inc/footer-ad.php"),a(".first-call").load("/wp-content/themes/football-fantastico/inc/first-sidebar-advert.php"),a(".second-call").load("/wp-content/themes/football-fantastico/inc/second-sidebar-advert.php"),a(".third-call").load("/wp-content/themes/football-fantastico/inc/third-sidebar-advert.php"),a(".fourth-call").load("/wp-content/themes/football-fantastico/inc/fourth-sidebar-advert.php")})},unmatch:function(){}}),enquire.register("screen and (min-width:768px)",{match:function(){a(".inside.articles article").matchHeight(),a(".search-field").focus(function(){a(this).parents(".search-form").addClass("focus")}),a(".search-field").blur(function(){a(this).parents(".search-form").removeClass("focus")}),a(".login-here.alive").click(function(){a(".toggles #loginform-header").slideToggle(200),a(".toggles .lost-pass-link, .toggles .register-link").toggleClass("show")}),a(".logmeout").click(function(){a(".account-drop").slideToggle(200)})}}),enquire.register("screen and (min-width:1024px)",{match:function(){a("#article-menu-wrap").load("/wp-content/themes/football-fantastico/inc/articles-menu.php",function(){a(".art-wrap").liteTabs({width:"100%",height:390,fadeIn:!0})}),a(".dropdown a").on("click",function(){return!1}),a("html").hasClass("no-touchevents")?(a(".dropdown a").hoverIntent({over:function(){a("#article-menu-wrap").fadeIn(400,function(){}),a("#menu-main-nav").addClass("greyarrows"),a(this).parent("li").addClass("dropper")}}),a(".dropdown a").on("mouseleave",function(e){var s=a(this),s=s.offset().top+s.outerHeight();e.pageY>=s||(a("#article-menu-wrap").fadeOut(400,function(){}),a("#menu-main-nav").removeClass("greyarrows"),a(this).parent("li").removeClass("dropper"))}),a("#article-menu-wrap").on("mouseleave",function(){setTimeout(function(){a(".dropdown").is(":hover")||(a("#article-menu-wrap").delay(500).fadeOut(),a("#menu-main-nav").removeClass("greyarrows"),a(".dropdown").removeClass("dropper"))},5)})):(a("#wrapper").after('<div class="articles-closer"></div>'),a(".dropdown a").on("click",function(){a("#article-menu-wrap").fadeToggle(400,function(){}),a("#menu-main-nav").toggleClass("greyarrows"),a(this).parent("li").toggleClass("dropper"),a(".articles-closer").toggleClass("active")}),a(".articles-closer").on("click",function(){a("#article-menu-wrap").fadeOut(400,function(){}),a("#menu-main-nav").removeClass("greyarrows"),a(".menu .dropdown").removeClass("dropper"),a(this).removeClass("active")}))}
10,unmatch:function(){a(".dropdown a").off("click"),a("#article-menu-wrap").hide(),a("#menu-main-nav").removeClass("greyarrows"),a("#menu-main-nav li").removeClass("dropper")}}),enquire.register("screen and (min-width:1440px)",{match:function(){a(window).on("load",function(){a(".footer-ad").load("/wp-content/themes/football-fantastico/inc/footer-ad.php"),a(".first-call").load("/wp-content/themes/football-fantastico/inc/first-sidebar-advert.php"),a(".second-call").load("/wp-content/themes/football-fantastico/inc/second-sidebar-advert.php"),a(".third-call").load("/wp-content/themes/football-fantastico/inc/third-sidebar-advert.php"),a(".fourth-call").load("/wp-content/themes/football-fantastico/inc/fourth-sidebar-advert.php")})},unmatch:function(){}}),e=a("[data-team]"),a.each(e,function(){var e=a(this);e.prepend('<span class="team-disc '+e.attr("data-team")+'-light"></span>'),e.css("whiteSpace","nowrap")}),a("#tabs").tabs(),a("#profile_tabs").tabs(),e=a('<form class="sticky"></form>'),i=a('<input type="checkbox" id="sticky">'),s=a('<label for="sticky">Show comments replies by default</label>'),"hide"==a.cookie("comments_state")?i.removeAttr("checked"):i.attr("checked","checked"),i.click(function(e){var s=a(".comments-module .show-hide"),t=a(".comments-module .reply");i.attr("checked")?(a.cookie("comments_state","show",{expires:365,path:"/"}),a(".comments-module .comments .children").show(),s.removeClass("show").addClass("hide"),s.find("a").removeClass("expand").addClass("collapse").html("Hide"),t.addClass("selected")):(a.cookie("comments_state","hide",{expires:365,path:"/"}),a(".comments-module .comments .children").hide(),s.removeClass("hide").addClass("show"),s.find("a").removeClass("collapse").addClass("expand").html("Show"),t.removeClass("selected"))}),e.append(i),e.append(s),e.insertBefore(a(".comments")),s=a(".hc-comments li"),i.attr("checked")||a(".hc-comments .hc-children").hide(),window.location.hash&&a(window.location.hash).parents(".children").addClass("expanded").show(),a.each(s,function(){var e,s,t=a(this),o=t.find(".children:first"),n=t.find(".reply:first");0<o.length&&(s=(e=a('<li><div class="show show-hide"><a href="" class="expand cta secondary">Show</a></div></li>')).find("a"),i.attr("checked")&&o.addClass("expanded"),o.hasClass("expanded")&&(s.parent("div").removeClass("show").addClass("hide"),s.removeClass("expand").html("Hide"),n.addClass("selected")),t.find(".replies:first").after(e),o=e.parents(".actions").find("li"),a.each(o,function(){0==a(this).children("div").length&&a(this).html("<div>"+a(this).html()+"</div>")}))}),a(".comments-module div.show-hide a").on("click",function(e){var s=a(this),t=s.parents(".comment:first"),o=t.find(".children:first"),t=t.find(".reply:first");s.hasClass("expand")?(s.parents("div").removeClass("show").addClass("hide"),s.removeClass("expand").addClass("collapse").html("Hide"),t.addClass("selected"),o.slideDown()):(s.parents("div").removeClass("hide").addClass("show"),s.removeClass("collapse").addClass("expand").html("Show"),t.removeClass("selected"),o.slideUp()),e.preventDefault()});function t(){o.attr("content","width=1025"),a("html").addClass("showfullsite"),localStorage.isResponsive="false"}var o=a('meta[name="viewport"]');localStorage.isResponsive=null==localStorage.isResponsive?"true":localStorage.isResponsive;Modernizr.localstorage&&"false"==localStorage.isResponsive&&t(),a("#view-full").on("click",function(){t()}),a("#view-responsive").on("click",function(){localStorage.isResponsive="true",o.attr("content","width=device-width,minimum-scale=1"),a("html").removeClass("showfullsite")})}),jQuery(document).ready(function(e){e(".btn-group").on("click","button",function(){e(this).addClass("active").siblings().removeClass("active")})}),jQuery(document).ready(function(o){function e(){o(".CSS_Poll").each(function(e){var s,t=o(this);t.data("ffs-processed-"+e)||(6<(s=t.find(".css-answer-group").not(".css-see-more-container")).length&&(s.each(function(e,s){6<=e&&o(s).hide()}),0===t.find(".css-see-more-button").length)&&0<(s=s.eq(5)).length&&s.after('<div class="css-answer-group pds-answer-group css-see-more-container"><div class="css-answer-row pds-answer-row"><button class="css-see-more-button pds-see-more-button" type="button" style="width: 100%; padding: 12px; background: #f8f9fa; border: 1px solid #ddd; border-radius: 4px; color: #666; font-size: 14px; cursor: pointer; margin-bottom: -12px; transition: all 0.2s ease;" onmouseover="this.style.background=\'#e9ecef\'; this.style.borderColor=\'#adb5bd\';" onmouseout="this.style.background=\'#f8f9fa\'; this.style.borderColor=\'#ddd\';">See More Options</button></div></div>'),t.data("ffs-processed-"+e,!0))}
10),o(document).off("click",".css-see-more-button").on("click",".css-see-more-button",function(){var e=o(this);e.closest(".CSS_Poll").find(".css-answer-group").not(".css-see-more-container").each(function(e,s){6<=e&&o(s).show()}),e.closest(".css-see-more-container").remove()})}e(),setTimeout(e,1e3),setTimeout(e,3e3)});

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.