1!function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i=window.webpackJsonp;window.webpackJsonp=function(r,s){for(var a,l,c=0,u=[];c<r.length;c++)l=r[c],o[l]&&u.push.apply(u,o[l]),o[l]=0;for(a in s)t[a]=s[a];for(i&&i(r,s);u.length;)u.shift().call(null,e);if(s[0])return n[0]=0,e(0)};var n={},o={10:0};return e.e=function(t,i){if(0===o[t])return i.call(null,e);if(void 0!==o[t])o[t].push(i);else{o[t]=[i];var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.src=e.p+""+t+".js/"+({9:"main"}[t]||t)+".min.js",n.appendChild(r)}},e.m=t,e.c=n,e.p="",e(0)}({0:function(t,e,i){(function(t){"use strict";i(548),i(549),i(550),i(551)(t),i(553),i(554),i(555),i(556),i(557),i(558),i(559),i(504),i(560)}).call(e,i(1))},1:function(t,e){t.exports=jQuery},504:function(t,e,i){var n,o;/*! 2 * ScrollMagic v2.0.5 (2015-04-29) 3 * The javascript library for magical scroll interactions. 4 * (c) 2015 Jan Paepke (@janpaepke) 5 * Project Website: http://scrollmagic.io 6 * 7 * @version 2.0.5 8 * @license Dual licensed under MIT license and GPL. 9 * @author Jan Paepke - [email protected] 10 * 11 * @file ScrollMagic main library. 12 */ 13!function(r,s){n=s,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o))}(this,function(){"use strict";var t=function(){o.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};t.version="2.0.5",window.addEventListener("mousewheel",function(){});var e="data-scrollmagic-pin-spacer";t.Controller=function(n){var r,s,a="ScrollMagic.Controller",l="FORWARD",c="REVERSE",u="PAUSED",d=i.defaults,p=this,f=o.extend({},d,n),h=[],m=!1,g=0,v=u,y=!0,w=0,b=!0,S=function(){for(var e in f)d.hasOwnProperty(e)||(O(2,'WARNING: Unknown option "'+e+'"'),delete f[e]);if(f.container=o.get.elements(f.container)[0],!f.container)throw O(1,"ERROR creating object "+a+": No valid scroll container supplied"),a+" init failed.";y=f.container===window||f.container===document.body||!document.body.contains(f.container),y&&(f.container=window),w=T(),f.container.addEventListener("resize",E),f.container.addEventListener("scroll",E),f.refreshInterval=parseInt(f.refreshInterval)||d.refreshInterval,x(),O(3,"added new "+a+" controller (v"+t.version+")")},x=function(){f.refreshInterval>0&&(s=window.setTimeout(I,f.refreshInterval))},C=function(){return f.vertical?o.get.scrollTop(f.container):o.get.scrollLeft(f.container)},T=function(){return f.vertical?o.get.height(f.container):o.get.width(f.container)},k=this._setScrollPos=function(t){f.vertical?y?window.scrollTo(o.get.scrollLeft(),t):f.container.scrollTop=t:y?window.scrollTo(t,o.get.scrollTop()):f.container.scrollLeft=t},_=function(){if(b&&m){var t=o.type.Array(m)?m:h.slice(0);m=!1;var e=g;g=p.scrollPos();var i=g-e;0!==i&&(v=i>0?l:c),v===c&&t.reverse(),t.forEach(function(e,i){O(3,"updating Scene "+(i+1)+"/"+t.length+" ("+h.length+" total)"),e.update(!0)}),0===t.length&&f.loglevel>=3&&O(3,"updating 0 Scenes (nothing added to controller)")}},P=function(){r=o.rAF(_)},E=function(t){O(3,"event fired causing an update:",t.type),"resize"==t.type&&(w=T(),v=u),m!==!0&&(m=!0,P())},I=function(){if(!y&&w!=T()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){t=document.createEvent("Event"),t.initEvent("resize",!1,!1)}f.container.dispatchEvent(t)}h.forEach(function(t,e){t.refresh()}),x()},O=this._log=function(t,e){f.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->
13"),o.log.apply(window,arguments))};this._options=f;var L=function(t){if(t.length<=1)return t;var e=t.slice(0);return e.sort(function(t,e){return t.scrollOffset()>e.scrollOffset()?1:-1}),e};return this.addScene=function(e){if(o.type.Array(e))e.forEach(function(t,e){p.addScene(t)});else if(e instanceof t.Scene){if(e.controller()!==p)e.addTo(p);else if(h.indexOf(e)<0){h.push(e),h=L(h),e.on("shift.controller_sort",function(){h=L(h)});for(var i in f.globalSceneOptions)e[i]&&e[i].call(e,f.globalSceneOptions[i]);O(3,"adding Scene (now "+h.length+" total)")}}else O(1,"ERROR: invalid argument supplied for '.addScene()'");return p},this.removeScene=function(t){if(o.type.Array(t))t.forEach(function(t,e){p.removeScene(t)});else{var e=h.indexOf(t);e>-1&&(t.off("shift.controller_sort"),h.splice(e,1),O(3,"removing Scene (now "+h.length+" left)"),t.remove())}return p},this.updateScene=function(e,i){return o.type.Array(e)?e.forEach(function(t,e){p.updateScene(t,i)}):i?e.update(!0):m!==!0&&e instanceof t.Scene&&(m=m||[],m.indexOf(e)==-1&&m.push(e),m=L(m),P()),p},this.update=function(t){return E({type:"resize"}),t&&_(),p},this.scrollTo=function(i,n){if(o.type.Number(i))k.call(f.container,i,n);else if(i instanceof t.Scene)i.controller()===p?p.scrollTo(i.scrollOffset(),n):O(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",i);else if(o.type.Function(i))k=i;else{var r=o.get.elements(i)[0];if(r){for(;r.parentNode.hasAttribute(e);)r=r.parentNode;var s=f.vertical?"top":"left",a=o.get.offset(f.container),l=o.get.offset(r);y||(a[s]-=p.scrollPos()),p.scrollTo(l[s]-a[s],n)}else O(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",i)}return p},this.scrollPos=function(t){return arguments.length?(o.type.Function(t)?C=t:O(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),p):C.call(p)},this.info=function(t){var e={size:w,vertical:f.vertical,scrollPos:g,scrollDirection:v,container:f.container,isDocument:y};return arguments.length?void 0!==e[t]?e[t]:void O(1,'ERROR: option "'+t+'" is not available'):e},this.loglevel=function(t){return arguments.length?(f.loglevel!=t&&(f.loglevel=t),p):f.loglevel},this.enabled=function(t){return arguments.length?(b!=t&&(b=!!t,p.updateScene(h,!0)),p):b},this.destroy=function(t){window.clearTimeout(s);for(var e=h.length;e--;)h[e].destroy(t);return f.container.removeEventListener("resize",E),f.container.removeEventListener("scroll",E),o.cAF(r),O(3,"destroyed "+a+" (reset: "+(t?"true":"false")+")"),null},S(),p};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};t.Controller.addOption=function(t,e){i.defaults[t]=e},t.Controller.extend=function(e){var i=this;t.Controller=function(){return i.apply(this,arguments),this.$super=o.extend({},this),e.apply(this,arguments)||this},o.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(i){var r,s,a="ScrollMagic.Scene",l="BEFORE",c="DURING",u="AFTER",d=n.defaults,p=this,f=o.extend({},d,i),h=l,m=0,g={start:0,end:0},v=0,y=!0,w=function(){for(var t in f)d.hasOwnProperty(t)||(S(2,'WARNING: Unknown option "'+t+'"'),delete f[t]);for(var e in d)I(e);P()},b={};this.on=function(t,e){return o.type.Function(e)?(t=t.trim().split(" "),t.forEach(function(t){var i=t.split("."),n=i[0],o=i[1];"*"!=n&&(b[n]||(b[n]=[]),b[n].push({namespace:o||"",callback:e}))})):S(1,"ERROR when calling '.on()': Supplied callback for '"+t+"' is not a valid function!"),p},this.off=function(t,e){return t?(t=t.trim().split(" "),t.forEach(function(t,i){var n=t.split("."),o=n[0],r=n[1]||"",s="*"===o?Object.keys(b):[o];s.forEach(function(t){for(var i=b[t]||[],n=i.length;n--;){var o=i[n];!o||r!==o.namespace&&"*"!==r||e&&e!=o.callback||i.splice(n,1)}i.length||delete b[t]})}),p):(S(1,"ERROR: Invalid event name supplied."),p)},this.trigger=function(e,i){if(e){var n=e.trim().split("."),o=n[0],r=n[1],s=b[o];S(3,"event fired:",o,i?"->":"",i||""),s&&s.forEach(function(e,n){r&&r!==e.namespace||e.callback.call(p,new t.Event(o,e.namespace,p,i))})}
13else S(1,"ERROR: Invalid event name supplied.");return p},p.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?T():"reverse"===t.what&&p.update())}).on("shift.internal",function(t){x(),p.update()});var S=this._log=function(t,e){f.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),o.log.apply(window,arguments))};this.addTo=function(e){return e instanceof t.Controller?s!=e&&(s&&s.removeScene(p),s=e,P(),C(!0),T(!0),x(),s.info("container").addEventListener("resize",k),e.addScene(p),p.trigger("add",{controller:s}),S(3,"added "+a+" to controller"),p.update()):S(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),p},this.enabled=function(t){return arguments.length?(y!=t&&(y=!!t,p.update(!0)),p):y},this.remove=function(){if(s){s.info("container").removeEventListener("resize",k);var t=s;s=void 0,t.removeScene(p),p.trigger("remove"),S(3,"removed "+a+" from controller")}return p},this.destroy=function(t){return p.trigger("destroy",{reset:t}),p.remove(),p.off("*.*"),S(3,"destroyed "+a+" (reset: "+(t?"true":"false")+")"),null},this.update=function(t){if(s)if(t)if(s.enabled()&&y){var e,i=s.info("scrollPos");e=f.duration>0?(i-g.start)/(g.end-g.start):i>=g.start?1:0,p.trigger("update",{startPos:g.start,endPos:g.end,scrollPos:i}),p.progress(e)}else O&&h===c&&A(!0);else s.updateScene(p,!1);return p},this.refresh=function(){return C(),T(),p},this.progress=function(t){if(arguments.length){var e=!1,i=h,n=s?s.info("scrollDirection"):"PAUSED",o=f.reverse||t>=m;if(0===f.duration?(e=m!=t,m=t<1&&o?0:1,h=0===m?l:c):t<0&&h!==l&&o?(m=0,h=l,e=!0):t>=0&&t<1&&o?(m=t,h=c,e=!0):t>=1&&h!==u?(m=1,h=u,e=!0):h!==c||o||A(),e){var r={progress:m,state:h,scrollDirection:n},a=h!=i,d=function(t){p.trigger(t,r)};a&&i!==c&&(d("enter"),d(i===l?"start":"end")),d("progress"),a&&h!==c&&(d(h===l?"start":"end"),d("leave"))}return p}return m};var x=function(){g={start:v+f.offset},s&&f.triggerElement&&(g.start-=s.info("size")*f.triggerHook),g.end=g.start+f.duration},C=function(t){if(r){var e="duration";E(e,r.call(p))&&!t&&(p.trigger("change",{what:e,newval:f[e]}),p.trigger("shift",{reason:e}))}},T=function(t){var i=0,n=f.triggerElement;if(s&&n){for(var r=s.info(),a=o.get.offset(r.container),l=r.vertical?"top":"left";n.parentNode.hasAttribute(e);)n=n.parentNode;var c=o.get.offset(n);r.isDocument||(a[l]-=s.scrollPos()),i=c[l]-a[l]}var u=i!=v;v=i,u&&!t&&p.trigger("shift",{reason:"triggerElementPosition"})},k=function(t){f.triggerHook>0&&p.trigger("shift",{reason:"containerResize"})},_=o.extend(n.validate,{duration:function(t){if(o.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return s?s.info("size")*e:0}}if(o.type.Function(t)){r=t;try{t=parseFloat(r())}catch(i){t=-1}}if(t=parseFloat(t),!o.type.Number(t)||t<0)throw r?(r=void 0,['Invalid return value of supplied function for option "duration":',t]):['Invalid value for option "duration":',t];return t}}),P=function(t){t=arguments.length?[t]:Object.keys(_),t.forEach(function(t,e){var i;if(_[t])try{i=_[t](f[t])}catch(n){i=d[t];var r=o.type.String(n)?[n]:n;o.type.Array(r)?(r[0]="ERROR: "+r[0],r.unshift(1),S.apply(this,r)):S(1,"ERROR: Problem executing validation callback for option '"+t+"':",n.message)}finally{f[t]=i}})},E=function(t,e){var i=!1,n=f[t];return f[t]!=e&&(f[t]=e,P(t),i=n!=f[t]),i},I=function(t){p[t]||(p[t]=function(e){return arguments.length?("duration"===t&&(r=void 0),E(t,e)&&(p.trigger("change",{what:t,newval:f[t]}),n.shifts.indexOf(t)>-1&&p.trigger("shift",{reason:t})),p):f[t]})};this.controller=function(){return s},this.state=function(){return h},this.scrollOffset=function(){return g.start},this.triggerPosition=function(){var t=f.offset;return s&&(t+=f.triggerElement?v:s.info("size")*p.triggerHook()),t};var O,L;p.on("shift.internal",function(t){var e="duration"===t.reason;(h===u&&e||h===c&&0===f.duration)&&A(),e&&z()}).on("progress.internal",function(t){A()}).on("add.internal",function(t){z()}).on("destroy.internal",function(t){p.removePin(t.reset)});var A=function(t){if(O&&s){var e=s.info(),i=L.spacer.firstChild;if(t||h!==c){var n={position:L.inFlow?"relative":"absolute",top:0,left:0}
13,r=o.css(i,"position")!=n.position;L.pushFollowers?f.duration>0&&(h===u&&0===parseFloat(o.css(L.spacer,"padding-top"))?r=!0:h===l&&0===parseFloat(o.css(L.spacer,"padding-bottom"))&&(r=!0)):n[e.vertical?"top":"left"]=f.duration*m,o.css(i,n),r&&z()}else{"fixed"!=o.css(i,"position")&&(o.css(i,{position:"fixed"}),z());var a=o.get.offset(L.spacer,!0),d=f.reverse||0===f.duration?e.scrollPos-g.start:Math.round(m*f.duration*10)/10;a[e.vertical?"top":"left"]+=d,o.css(L.spacer.firstChild,{top:a.top,left:a.left})}}},z=function(){if(O&&s&&L.inFlow){var t=h===c,e=s.info("vertical"),i=L.spacer.firstChild,n=o.isMarginCollapseType(o.css(L.spacer,"display")),r={};L.relSize.width||L.relSize.autoFullWidth?t?o.css(O,{width:o.get.width(L.spacer)}):o.css(O,{width:"100%"}):(r["min-width"]=o.get.width(e?O:i,!0,!0),r.width=t?r["min-width"]:"auto"),L.relSize.height?t?o.css(O,{height:o.get.height(L.spacer)-(L.pushFollowers?f.duration:0)}):o.css(O,{height:"100%"}):(r["min-height"]=o.get.height(e?i:O,!0,!n),r.height=t?r["min-height"]:"auto"),L.pushFollowers&&(r["padding"+(e?"Top":"Left")]=f.duration*m,r["padding"+(e?"Bottom":"Right")]=f.duration*(1-m)),o.css(L.spacer,r)}},M=function(){s&&O&&h===c&&!s.info("isDocument")&&A()},R=function(){s&&O&&h===c&&((L.relSize.width||L.relSize.autoFullWidth)&&o.get.width(window)!=o.get.width(L.spacer.parentNode)||L.relSize.height&&o.get.height(window)!=o.get.height(L.spacer.parentNode))&&z()},D=function(t){s&&O&&h===c&&!s.info("isDocument")&&(t.preventDefault(),s._setScrollPos(s.info("scrollPos")-((t.wheelDelta||t[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-t.detail)))};this.setPin=function(t,i){var n={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"};if(i=o.extend({},n,i),t=o.get.elements(t)[0],!t)return S(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),p;if("fixed"===o.css(t,"position"))return S(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),p;if(O){if(O===t)return p;p.removePin()}O=t;var r=O.parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];O.parentNode.style.display="none";var a="absolute"!=o.css(O,"position"),l=o.css(O,s.concat(["display"])),c=o.css(O,["width","height"]);O.parentNode.style.display=r,!a&&i.pushFollowers&&(S(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),i.pushFollowers=!1),window.setTimeout(function(){O&&0===f.duration&&i.pushFollowers&&S(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var u=O.parentNode.insertBefore(document.createElement("div"),O),d=o.extend(l,{position:a?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(a||o.extend(d,o.css(O,["width","height"])),o.css(u,d),u.setAttribute(e,""),o.addClass(u,i.spacerClass),L={spacer:u,relSize:{width:"%"===c.width.slice(-1),height:"%"===c.height.slice(-1),autoFullWidth:"auto"===c.width&&a&&o.isMarginCollapseType(l.display)},pushFollowers:i.pushFollowers,inFlow:a},!O.___origStyle){O.___origStyle={};var h=O.style,m=s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]);m.forEach(function(t){O.___origStyle[t]=h[t]||""})}return L.relSize.width&&o.css(u,{width:c.width}),L.relSize.height&&o.css(u,{height:c.height}),u.appendChild(O),o.css(O,{position:a?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(L.relSize.width||L.relSize.autoFullWidth)&&o.css(O,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",M),window.addEventListener("resize",M),window.addEventListener("resize",R),O.addEventListener("mousewheel",D),O.addEventListener("DOMMouseScroll",D),S(3,"added pin"),A(),p},this.removePin=function(t){if(O){if(h===c&&A(!0),t||!s){var i=L.spacer.firstChild;if(i.hasAttribute(e)){var n=L.spacer.style,r=["margin","marginLeft","marginRight","marginTop","marginBottom"];margins={},r.forEach(function(t){margins[t]=n[t]||""}),o.css(i,margins)}L.spacer.parentNode.insertBefore(i,L.spacer),L.spacer.parentNode.removeChild(L.spacer),O.parentNode.hasAttribute(e)||(o.css(O,O.___origStyle),delete O.___origStyle)}window.removeEventListener("scroll",M),window.removeEventListener("resize",M),window.removeEventListener("resize",R),O.removeEventListener("mousewheel",D),O.removeEventListener("DOMMouseScroll",D),O=void 0,S(3,"removed pin (reset: "+(t?"true":"false")+")")}return p};var $,B=[];return p.on("destroy.internal",function(t){p.removeClassToggle(t.reset)}),this.setClassToggle=function(t,e){var i=o.get.elements(t);return 0!==i.length&&o.type.String(e)?(B.length>
130&&p.removeClassToggle(),$=e,B=i,p.on("enter.internal_class leave.internal_class",function(t){var e="enter"===t.type?o.addClass:o.removeClass;B.forEach(function(t,i){e(t,$)})}),p):(S(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),p)},this.removeClassToggle=function(t){return t&&B.forEach(function(t,e){o.removeClass(t,$)}),p.off("start.internal_class end.internal_class"),$=void 0,B=[],p},w(),p};var n={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!o.type.Number(t))throw['Invalid value for option "offset":',t];return t},triggerElement:function(t){if(t=t||void 0){var e=o.get.elements(t)[0];if(!e)throw['Element defined in option "triggerElement" was not found:',t];t=e}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(o.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else{if(!(t in e))throw['Invalid value for option "triggerHook": ',t];t=e[t]}return t},reverse:function(t){return!!t},loglevel:function(t){if(t=parseInt(t),!o.type.Number(t)||t<0||t>3)throw['Invalid value for option "loglevel":',t];return t}},shifts:["duration","offset","triggerHook"]};t.Scene.addOption=function(e,i,o,r){e in n.defaults?t._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(n.defaults[e]=i,n.validate[e]=o,r&&n.shifts.push(e))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=o.extend({},this),e.apply(this,arguments)||this},o.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,n){n=n||{};for(var o in n)this[o]=n[o];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var o=t._util=function(t){var e,i={},n=function(t){return parseFloat(t)||0},o=function(e){return e.currentStyle?e.currentStyle:t.getComputedStyle(e)},r=function(e,i,r,s){if(i=i===document?t:i,i===t)s=!1;else if(!h.DomElement(i))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var a=(r?i["offset"+e]||i["outer"+e]:i["client"+e]||i["inner"+e])||0;if(r&&s){var l=o(i);a+="Height"===e?n(l.marginTop)+n(l.marginBottom):n(l.marginLeft)+n(l.marginRight)}return a},s=function(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})};i.extend=function(t){for(t=t||{},e=1;e<arguments.length;e++)if(arguments[e])for(var i in arguments[e])arguments[e].hasOwnProperty(i)&&(t[i]=arguments[e][i]);return t},i.isMarginCollapseType=function(t){return["block","flex","list-item","table","-webkit-box"].indexOf(t)>-1};var a=0,l=["ms","moz","webkit","o"],c=t.requestAnimationFrame,u=t.cancelAnimationFrame;for(e=0;!c&&e<l.length;++e)c=t[l[e]+"RequestAnimationFrame"],u=t[l[e]+"CancelAnimationFrame"]||t[l[e]+"CancelRequestAnimationFrame"];c||(c=function(e){var i=(new Date).getTime(),n=Math.max(0,16-(i-a)),o=t.setTimeout(function(){e(i+n)},n);return a=i+n,o}),u||(u=function(e){t.clearTimeout(e)}),i.rAF=c.bind(t),i.cAF=u.bind(t);var d=["error","warn","log"],p=t.console||{};for(p.log=p.log||function(){},e=0;e<d.length;e++){var f=d[e];p[f]||(p[f]=p.log)}i.log=function(t){(t>d.length||t<=0)&&(t=d.length);var e=new Date,i=("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)+":"+("00"+e.getMilliseconds()).slice(-3),n=d[t-1],o=Array.prototype.splice.call(arguments,1),r=Function.prototype.bind.call(p[n],p);o.unshift(i),r.apply(p,o)};var h=i.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};h.String=function(t){return"string"===h(t)},h.Function=function(t){return"function"===h(t)},h.Array=function(t){return Array.isArray(t)},h.Number=function(t){return!h.Array(t)&&t-parseFloat(t)+1>=0},h.DomElement=function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};var m=i.get={};return m.elements=function(e){var i=[];if(h.String(e))try{e=document.querySelectorAll(e)}catch(n){return i}if("nodelist"===h(e)||h.Array(e))for(var o=0,r=i.length=e.length;o<r;o++){var s=e[o];i[o]=h.DomElement(s)?s:m.elements(s)}else(h.DomElement(e)||e===document||e===t)&&(i=[e]);return i},m.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:t.pageYOffset||0},m.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:t.pageXOffset||0}
13,m.width=function(t,e,i){return r("width",t,e,i)},m.height=function(t,e,i){return r("height",t,e,i)},m.offset=function(t,e){var i={top:0,left:0};if(t&&t.getBoundingClientRect){var n=t.getBoundingClientRect();i.top=n.top,i.left=n.left,e||(i.top+=m.scrollTop(),i.left+=m.scrollLeft())}return i},i.addClass=function(t,e){e&&(t.classList?t.classList.add(e):t.className+=" "+e)},i.removeClass=function(t,e){e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(t,e){if(h.String(e))return o(t)[s(e)];if(h.Array(e)){var i={},n=o(t);return e.forEach(function(t,e){i[t]=n[s(t)]}),i}for(var r in e){var a=e[r];a==parseFloat(a)&&(a+="px"),t.style[s(r)]=a}},i}(window||{});return t.Scene.prototype.addIndicators=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.removeIndicators=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.setTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.removeTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.setVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t.Scene.prototype.removeVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t})},548:function(t,e,i){var n,o,r,s,n,a;/*! 14 * imagesLoaded PACKAGED v3.1.8 15 * JavaScript is all like "You images are done yet or what?" 16 * MIT License 17 */ 18/*! 19 * EventEmitter v4.2.6 - git.io/ee 20 * Oliver Caldwell 21 * MIT license 22 * @preserve 23 */ 24(function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var r=t.prototype,s=this,a=s.EventEmitter;r.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},r.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},r.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},r.addListener=function(t,i){var n,o=this.getListenersAsObject(t),r="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&e(o[n],i)===-1&&o[n].push(r?i:{listener:i,once:!1});return this},r.on=i("addListener"),r.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},r.once=i("addOnceListener"),r.defineEvent=function(t){return this.getListeners(t),this},r.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},r.removeListener=function(t,i){var n,o,r=this.getListenersAsObject(t);for(o in r)r.hasOwnProperty(o)&&(n=e(r[o],i),n!==-1&&r[o].splice(n,1));return this},r.off=i("removeListener"),r.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},r.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},r.manipulateListeners=function(t,e,i){var n,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?r.call(this,n,o):s.call(this,n,o));return this},r.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},r.removeAllListeners=i("removeEvent"),r.emitEvent=function(t,e){var i,n,o,r,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)i=s[o][n],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},r.trigger=i("emitEvent"),r.emit=function(t){var e=Array.prototype.slice.call(arguments,1
24);return this.emitEvent(t,e)},r.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},r._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},r._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return s.EventEmitter=a,t},n=[],!(o=function(){return t}.apply(s,n))}).call(this),/*! 25 * eventie v1.0.4 26 * event binding helper 27 * eventie.bind( elem, 'click', myFn ) 28 * eventie.unbind( elem, 'click', myFn ) 29 */ 30function(n){function o(t){var e=n.event;return e.target=e.target||e.srcElement||t,e}var a=document.documentElement,l=function(){};a.addEventListener?l=function(t,e,i){t.addEventListener(e,i,!1)}:a.attachEvent&&(l=function(t,e,i){t[e+i]=i.handleEvent?function(){var e=o(t);i.handleEvent.call(i,e)}:function(){var e=o(t);i.call(t,e)},t.attachEvent("on"+e,t[e+i])});var c=function(){};a.removeEventListener?c=function(t,e,i){t.removeEventListener(e,i,!1)}:a.detachEvent&&(c=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var u={bind:l,unbind:c};r=u,!(s="function"==typeof r?r.call(e,i,e,t):r)}(this),/*! 31 * imagesLoaded v3.1.8 32 * JavaScript is all like "You images are done yet or what?" 33 * MIT License 34 */ 35function(i,r){n=[o,s],a=function(t,e){return r(i,t,e)}.apply(e,n),!(void 0!==a&&(t.exports=a))}(window,function(t,e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function o(t){return"[object Array]"===p.call(t)}function r(t){var e=[];if(o(t))e=t;else if("number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e}function s(t,e,i){if(!(this instanceof s))return new s(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=r(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var o=this;setTimeout(function(){o.check()})}function a(t){this.img=t}function l(t){this.src=t,f[t]=this}var c=t.jQuery,u=t.console,d="undefined"!=typeof u,p=Object.prototype.toString;s.prototype=new e,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;t<e;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);var n=i.nodeType;if(n&&(1===n||9===n||11===n))for(var o=i.querySelectorAll("img"),r=0,s=o.length;r<s;r++){var a=o[r];this.addImage(a)}}},s.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},s.prototype.check=function(){function t(t,o){return e.options.debug&&d&&u.log("confirm",t,o),e.progress(t),i++,i===n&&e.complete(),!0}var e=this,i=0,n=this.images.length;if(this.hasAnyBroken=!1,!n)return void this.complete();for(var o=0;o<n;o++){var r=this.images[o];r.on("confirm",t),r.check()}},s.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},c&&(c.fn.imagesLoaded=function(t,e){var i=new s(this,t,e);return i.jqDeferred.promise(c(this))}),a.prototype=new e,a.prototype.check=function(){var t=f[this.img.src]||new l(this.img.src);if(t.isConfirmed)return void this.confirm(t.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var e=this;t.on("confirm",function(t,i){return e.confirm(t.isLoaded,i),!0}),t.check()},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",this,e)};var f={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;i.bind(t,"load",this),i.bind(t,"error",this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,"onload"),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,"onerror"),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit
35("confirm",this,e)},l.prototype.unbindProxyEvents=function(t){i.unbind(t.target,"load",this),i.unbind(t.target,"error",this)},s})},549:function(t,e,i){var n,o,r;/*! 36 * jQuery Mousewheel 3.1.13 37 * 38 * Copyright jQuery Foundation and other contributors 39 * Released under the MIT license 40 * http://jquery.org/license 41 */ 42!function(s){o=[i(1)],n=s,r="function"==typeof n?n.apply(e,o):n,!(void 0!==r&&(t.exports=r))}(function(t){function e(e){var s=e||window.event,a=l.call(arguments,1),c=0,d=0,p=0,f=0,h=0,m=0;if(e=t.event.fix(s),e.type="mousewheel","detail"in s&&(p=s.detail*-1),"wheelDelta"in s&&(p=s.wheelDelta),"wheelDeltaY"in s&&(p=s.wheelDeltaY),"wheelDeltaX"in s&&(d=s.wheelDeltaX*-1),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=p*-1,p=0),c=0===p?d:p,"deltaY"in s&&(p=s.deltaY*-1,c=p),"deltaX"in s&&(d=s.deltaX,0===p&&(c=d*-1)),0!==p||0!==d){if(1===s.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,p*=g,d*=g}else if(2===s.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,p*=v,d*=v}if(f=Math.max(Math.abs(p),Math.abs(d)),(!r||f<r)&&(r=f,n(s,f)&&(r/=40)),n(s,f)&&(c/=40,d/=40,p/=40),c=Math[c>=1?"floor":"ceil"](c/r),d=Math[d>=1?"floor":"ceil"](d/r),p=Math[p>=1?"floor":"ceil"](p/r),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();h=e.clientX-y.left,m=e.clientY-y.top}return e.deltaX=d,e.deltaY=p,e.deltaFactor=r,e.offsetX=h,e.offsetY=m,e.deltaMode=0,a.unshift(e,c,d,p),o&&clearTimeout(o),o=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function i(){r=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var o,r,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=s.length;c;)t.event.fixHooks[s[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})},550:function(t,e){!function(t,e){"use strict";var i=function(){var i={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},n=function(){var e=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return e&&t("html").css("cursor","pointer").on("click",t.noop),e}(),o=function(){var t=document.documentElement.style;return"behavior"in t&&"fill"in t&&/iemobile/i.test(navigator.userAgent)}(),r=function(){return!!e.PointerEvent}(),s=function(t,e){var n=i.menuClass;e.cssArrows&&(n+=" "+i.menuArrowClass),t.toggleClass(n)},a=function(e,n){return e.find("li."+n.pathClass).slice(0,n.pathLevels).addClass(n.hoverClass+" "+i.bcClass).filter(function(){return t(this).children(n.popUpSelector).hide().show().length}).removeClass(n.pathClass)},l=function(t){t.children("a").toggleClass(i.anchorClass)},c=function(t){var e=t.css("ms-touch-action"),i=t.css("touch-action");i=i||e,i="pan-y"===i?"auto":"pan-y",t.css({"ms-touch-action":i,"touch-action":i})},u=function(t){return t.closest("."+i.menuClass)},d=function(t){return u(t).data("sf-options")},p=function(){var e=t(this),i=d(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},f=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(u(this)),e.$path.length&&t.proxy(p,e.$path)())},h=function(){var e=t(this),i=d(e);n?t.proxy(f,e,i)():(clearTimeout(i.sfTimer),i.sfTimer=setTimeout(t.proxy(f,e,i),i.delay))},m=function(e){var i=t(this),n=d(i),o=i.siblings(e.data.popUpSelector);return n.onHandleTouch.call(o)===!1?this:void(o.length>0&&o.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type||"pointerdown"===e.type?i.trigger("focus"):t.proxy(p,i.parent("li"))()))},g=function(e,i){var s="li:has("+i.popUpSelector+")";t.fn.hoverIntent&&!i.disableHI?e.hoverIntent(p,h,s):e.on("mouseenter.superfish",s,p).on("mouseleave.
42superfish",s,h);var a="MSPointerDown.superfish";r&&(a="pointerdown.superfish"),n||(a+=" touchend.superfish"),o&&(a+=" mousedown.superfish"),e.on("focusin.superfish","li",p).on("focusout.superfish","li",h).on(a,"a",i,m)};return{hide:function(e){if(this.length){var i=this,n=d(i);if(!n)return this;var o=n.retainPath===!0?n.$path:"",r=i.find("li."+n.hoverClass).add(this).not(o).removeClass(n.hoverClass).children(n.popUpSelector),s=n.speedOut;if(e&&(r.show(),s=0),n.retainPath=!1,n.onBeforeHide.call(r)===!1)return this;r.stop(!0,!0).animate(n.animationOut,s,function(){var e=t(this);n.onHide.call(e)})}return this},show:function(){var t=d(this);if(!t)return this;var e=this.addClass(t.hoverClass),i=e.children(t.popUpSelector);return t.onBeforeShow.call(i)===!1?this:(i.stop(!0,!0).animate(t.animation,t.speed,function(){t.onShow.call(i)}),this)},destroy:function(){return this.each(function(){var e,n=t(this),o=n.data("sf-options");return!!o&&(e=n.find(o.popUpSelector).parent("li"),clearTimeout(o.sfTimer),s(n,o),l(e),c(n),n.off(".superfish").off(".hoverIntent"),e.children(o.popUpSelector).attr("style",function(t,e){return e.replace(/display[^;]+;?/g,"")}),o.$path.removeClass(o.hoverClass+" "+i.bcClass).addClass(o.pathClass),n.find("."+o.hoverClass).removeClass(o.hoverClass),o.onDestroy.call(n),void n.removeData("sf-options"))})},init:function(e){return this.each(function(){var n=t(this);if(n.data("sf-options"))return!1;var o=t.extend({},t.fn.superfish.defaults,e),r=n.find(o.popUpSelector).parent("li");o.$path=a(n,o),n.data("sf-options",o),s(n,o),l(r),c(n),g(n,o),r.not("."+i.bcClass).superfish("hide",!0),o.onInit.call(this)})}}}();t.fn.superfish=function(e,n){return i[e]?i[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?t.error("Method "+e+" does not exist on jQuery.fn.superfish"):i.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop,onHandleTouch:t.noop}}(jQuery,window)},551:function(t,e,i){!function(e){"undefined"!=typeof t&&t.exports?t.exports=e:e(jQuery,window,document)}(function(e){!function(n){var o=i(552),r="undefined"!=typeof t&&t.exports,s="https:"==document.location.protocol?"https:":"http:",a="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";o||(r?i(549)(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+s+"//"+a+"%3E%3C/script%3E"))),n()}(function(){var t,i="mCustomScrollbar",n="mCS",o=".mCustomScrollbar",r={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},s=0,a={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,u=["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"],d={init:function(t){var t=e.extend(!0,{},r,t),i=p.call(this);if(t.live){var l=t.liveSelector||this.selector||o,c=e(l);if("off"===t.live)return void h(l);a[l]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&&c.length&&h(l)},500)}else h(l);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":m(t.axis),t.scrollInertia=t.scrollInertia>0&&t.scrollInertia<17?17:t.scrollInertia,"object"!=typeof t.mouseWheel&&1==t.mouseWheel&&(t.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),t.mouseWheel.scrollAmount=t.mouseWheelPixels?t.mouseWheelPixels:t.mouseWheel.scrollAmount,t.mouseWheel.normalizeDelta=t.advanced.normalizeMouseWheelDelta?t.advanced.normalizeMouseWheelDelta:t.mouseWheel.normalizeDelta,t.scrollButtons.scrollType=g(t.scrollButtons.scrollType),f(t),e(i).each(function(){var i=e(this);if(!i.data(n)){i.data(n,{idx:++s,opt:t,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:i.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0}
vendor: 34,515 bytes, lines 42-43
42,img:{o:0,n:0},change:{o:0,n:0}}});var o=i.data(n),r=o.opt,a=i.data("mcs-axis"),l=i.data("mcs-scrollbar-position"),c=i.data("mcs-theme");a&&(r.axis=a),l&&(r.scrollbarPosition=l),c&&(r.theme=c,f(r)),v.call(this),o&&r.callbacks.onCreate&&"function"==typeof r.callbacks.onCreate&&r.callbacks.onCreate.call(this),e("#mCSB_"+o.idx+"_container img:not(."+u[2]+")").addClass(u[2]),d.update.call(null,i)}})},update:function(t,i){var o=t||p.call(this);return e(o).each(function(){var t=e(this);if(t.data(n)){var o=t.data(n),r=o.opt,s=e("#mCSB_"+o.idx+"_container"),a=e("#mCSB_"+o.idx),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(!s.length)return;o.tweenRunning&&N(t),i&&o&&r.callbacks.onBeforeUpdate&&"function"==typeof r.callbacks.onBeforeUpdate&&r.callbacks.onBeforeUpdate.call(this),t.hasClass(u[3])&&t.removeClass(u[3]),t.hasClass(u[4])&&t.removeClass(u[4]),a.css("max-height","none"),a.height()!==t.height()&&a.css("max-height",t.height()),w.call(this),"y"===r.axis||r.advanced.autoExpandHorizontalScroll||s.css("width",y(s)),o.overflowed=T.call(this),E.call(this),r.autoDraggerLength&&S.call(this),x.call(this),_.call(this);var c=[Math.abs(s[0].offsetTop),Math.abs(s[0].offsetLeft)];"x"!==r.axis&&(o.overflowed[0]?l[0].height()>l[0].parent().height()?k.call(this):(q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),o.contentReset.y=null):(k.call(this),"y"===r.axis?P.call(this):"yx"===r.axis&&o.overflowed[1]&&q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==r.axis&&(o.overflowed[1]?l[1].width()>l[1].parent().width()?k.call(this):(q(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),o.contentReset.x=null):(k.call(this),"x"===r.axis?P.call(this):"yx"===r.axis&&o.overflowed[0]&&q(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),i&&o&&(2===i&&r.callbacks.onImageLoad&&"function"==typeof r.callbacks.onImageLoad?r.callbacks.onImageLoad.call(this):3===i&&r.callbacks.onSelectorChange&&"function"==typeof r.callbacks.onSelectorChange?r.callbacks.onSelectorChange.call(this):r.callbacks.onUpdate&&"function"==typeof r.callbacks.onUpdate&&r.callbacks.onUpdate.call(this)),V.call(this)}})},scrollTo:function(t,i){if("undefined"!=typeof t&&null!=t){var o=p.call(this);return e(o).each(function(){var o=e(this);if(o.data(n)){var r=o.data(n),s=r.opt,a={trigger:"external",scrollInertia:s.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=e.extend(!0,{},a,i),c=j.call(this,t),u=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=Y.call(this,c[0],"y"),c[1]=Y.call(this,c[1],"x"),l.moveDragger&&(c[0]*=r.scrollRatio.y,c[1]*=r.scrollRatio.x),l.dur=it()?0:u,setTimeout(function(){null!==c[0]&&"undefined"!=typeof c[0]&&"x"!==s.axis&&r.overflowed[0]&&(l.dir="y",l.overwrite="all",q(o,c[0].toString(),l)),null!==c[1]&&"undefined"!=typeof c[1]&&"y"!==s.axis&&r.overflowed[1]&&(l.dir="x",l.overwrite="none",q(o,c[1].toString(),l))},l.timeout)}})}},stop:function(){var t=p.call(this);return e(t).each(function(){var t=e(this);t.data(n)&&N(t)})},disable:function(t){var i=p.call(this);return e(i).each(function(){var i=e(this);if(i.data(n)){i.data(n);V.call(this,"remove"),P.call(this),t&&k.call(this),E.call(this,!0),i.addClass(u[3])}})},destroy:function(){var t=p.call(this);return e(t).each(function(){var o=e(this);if(o.data(n)){var r=o.data(n),s=r.opt,a=e("#mCSB_"+r.idx),l=e("#mCSB_"+r.idx+"_container"),c=e(".mCSB_"+r.idx+"_scrollbar");s.live&&h(s.liveSelector||e(t).selector),V.call(this,"remove"),P.call(this),k.call(this),o.removeData(n),Q(this,"mcs"),c.remove(),l.find("img."+u[2]).removeClass(u[2]),a.replaceWith(l.contents()),o.removeClass(i+" _"+n+"_"+r.idx+" "+u[6]+" "+u[7]+" "+u[5]+" "+u[3]).addClass(u[4])}})}},p=function(){return"object"!=typeof e(this)||e(this).length<1?o:this},f=function(t){var i=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],n=["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"],o=["minimal","minimal-dark"],r=["minimal","minimal-dark"],s=["minimal","minimal-dark"];t.autoDraggerLength=!(e.inArray(t.theme,i)>-1)&&t.autoDraggerLength,t.autoExpandScrollbar=!(e.inArray(t.theme,n)>-1)&&t.autoExpandScrollbar,t.scrollButtons.enable=!(e.inArray(t.theme,o)>-1)&&t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,r)>-1||t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,s)>-1?"outside":t.scrollbarPosition},h=function(t){a[t]&&(clearTimeout(a[t]),Q(a,t))},m=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},g=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},v=function(){var t=e(this),o=t.data(n),r=o.opt,s=r.autoExpandScrollbar?" "+u[1]+"_expand":"",a=["<div id='mCSB_"+o.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+r.theme+" mCSB_scrollTools_vertical"+s+"'><div class='"+u[12]+"'><div id='mCSB_"+o.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+o.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+o.idx+"_scrollbar mCS-"+r.theme+" mCSB_scrollTools_horizontal"+s+"'><div class='"+u[12]+"'><div id='mCSB_"+o.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===r.axis?"mCSB_vertical_horizontal":"x"===r.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===r.axis?a[0]+a[1]:"x"===r.axis?a[1]:a[0],d="yx"===r.axis?"<div id='mCSB_"+o.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",p=r.autoHideScrollbar?" "+u[6]:"",f="x"!==r.axis&&"rtl"===o.langDir?" "+u[7]:"";r.setWidth&&t.css("width",r.setWidth),r.setHeight&&t.css("height",r.setHeight),r.setLeft="y"!==r.axis&&"rtl"===o.langDir?"989999px":r.setLeft,t.addClass(i+" _"+n+"_"+o.idx+p+f).wrapInner("<div id='mCSB_"+o.idx+"' class='mCustomScrollBox mCS-"+r.theme+" "+l+"'><div id='mCSB_"+o.idx+"_container' class='mCSB_container' style='position:relative; top:"+r.setTop+"; left:"+r.setLeft+";' dir="+o.langDir+" /></div>");var h=e("#mCSB_"+o.idx),m=e("#mCSB_"+o.idx+"_container");"y"===r.axis||r.advanced.autoExpandHorizontalScroll||m.css("width",y(m)),"outside"===r.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),h.addClass("mCSB_outside").after(c)):(h.addClass("mCSB_inside").append(c),m.wrap(d)),b.call(this);var g=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},y=function(t){var i=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],n=t.parent().width();return i[0]>n?i[0]:i[1]>n?i[1]:"100%"},w=function(){var t=e(this),i=t.data(n),o=i.opt,r=e("#mCSB_"+i.idx+"_container");if(o.advanced.autoExpandHorizontalScroll&&"y"!==o.axis){r.css({width:"auto","min-width":0,"overflow-x":"scroll"});var s=Math.ceil(r[0].scrollWidth);3===o.advanced.autoExpandHorizontalScroll||2!==o.advanced.autoExpandHorizontalScroll&&s>r.parent().width()?r.css({width:s,"min-width":"100%","overflow-x":"inherit"}):r.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(r[0].getBoundingClientRect().right+.4)-Math.floor(r[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},b=function(){var t=e(this),i=t.data(n),o=i.opt,r=e(".mCSB_"+i.idx+"_scrollbar:first"),s=tt(o.scrollButtons.tabindex)?"tabindex='"+o.scrollButtons.tabindex+"'":"",a=["<a href='#' class='"+u[13]+"' oncontextmenu='return false;' "+s+" />","<a href='#' class='"+u[14]+"' oncontextmenu='return false;' "+s+" />","<a href='#' class='"+u[15]+"' oncontextmenu='return false;' "+s+" />","<a href='#' class='"+u[16]+"' oncontextmenu='return false;' "+s+" />"],l=["x"===o.axis?a[2]:a[0],"x"===o.axis?a[3]:a[1],a[2],a[3]];o.scrollButtons.enable&&r.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},S=function(){var t=e(this),i=t.data(n),o=e("#mCSB_"+i.idx),r=e("#mCSB_"+i.idx+"_container"),s=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")],a=[o.height()/r.outerHeight(!1),o.width()/r.outerWidth(!1)],c=[parseInt(s[0].css("min-height")),Math.round(a[0]*s[0].parent().height()),parseInt(s[1].css("min-width")),Math.round(a[1]*s[1].parent().width())],u=l&&c[1]<c[0]?c[0]:c[1],d=l&&c[3]<c[2]?c[2]:c[3];s[0].css({height:u,"max-height":s[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),s[1].css({width:d,"max-width":s[1].parent().width()-10})},x=function(){var t=e(this),i=t.data(n),o=e("#mCSB_"+i.idx),r=e("#mCSB_"+i.idx+"_container"),s=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")],a=[r.outerHeight(!1)-o.height(),r.outerWidth(!1)-o.width()],l=[a[0]/(s[0].parent().height()-s[0].height()),a[1]/(s[1].parent().width()-s[1].width())];i.scrollRatio={y:l[0],x:l[1]}},C=function(t,e,i){var n=i?u[0]+"_expanded":"",o=t.closest(".mCSB_scrollTools");"active"===e?(t.toggleClass(u[0]+" "+n),o.toggleClass(u[1]),t[0]._draggable=t[0]._draggable?0:1):t[0]._draggable||("hide"===e?(t.removeClass(u[0]),o.removeClass(u[1])):(t.addClass(u[0]),o.addClass(u[1])))},T=function(){var t=e(this),i=t.data(n),o=e("#mCSB_"+i.idx),r=e("#mCSB_"+i.idx+"_container"),s=null==i.overflowed?r.height():r.outerHeight(!1),a=null==i.overflowed?r.width():r.outerWidth(!1),l=r[0].scrollHeight,c=r[0].scrollWidth;return l>s&&(s=l),c>a&&(a=c),[s>o.height(),a>o.width()]},k=function(){var t=e(this),i=t.data(n),o=i.opt,r=e("#mCSB_"+i.idx),s=e("#mCSB_"+i.idx+"_container"),a=[e("#mCSB_"+i.idx+"_dragger_vertical"),e("#mCSB_"+i.idx+"_dragger_horizontal")];if(N(t),("x"!==o.axis&&!i.overflowed[0]||"y"===o.axis&&i.overflowed[0])&&(a[0].add(s).css("top",0),q(t,"_resetY")),"y"!==o.axis&&!i.overflowed[1]||"x"===o.axis&&i.overflowed[1]){var l=dx=0;"rtl"===i.langDir&&(l=r.width()-s.outerWidth(!1),dx=Math.abs(l/i.scrollRatio.x)),s.css("left",l),a[1].css("left",dx),q(t,"_resetX")}},_=function(){function t(){s=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(s),z.call(i[0])):t()},100)}var i=e(this),o=i.data(n),r=o.opt;if(!o.bindEvents){if(O.call(this),r.contentTouchScroll&&L.call(this),A.call(this),r.mouseWheel.enable){var s;t()}D.call(this),B.call(this),r.advanced.autoScrollOnFocus&&$.call(this),r.scrollButtons.enable&&H.call(this),r.keyboard.enable&&F.call(this),o.bindEvents=!0}},P=function(){var t=e(this),i=t.data(n),o=i.opt,r=n+"_"+i.idx,s=".mCSB_"+i.idx+"_scrollbar",a=e("#mCSB_"+i.idx+",#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,"+s+" ."+u[12]+",#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal,"+s+">a"),l=e("#mCSB_"+i.idx+"_container");o.advanced.releaseDraggableSelectors&&a.add(e(o.advanced.releaseDraggableSelectors)),o.advanced.extraDraggableSelectors&&a.add(e(o.advanced.extraDraggableSelectors)),i.bindEvents&&(e(document).add(e(!M()||top.document)).unbind("."+r),a.each(function(){e(this).unbind("."+r)}),clearTimeout(t[0]._focusTimeout),Q(t[0],"_focusTimeout"),clearTimeout(i.sequential.step),Q(i.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),Q(l[0],"onCompleteTimeout"),i.bindEvents=!1)},E=function(t){var i=e(this),o=i.data(n),r=o.opt,s=e("#mCSB_"+o.idx+"_container_wrapper"),a=s.length?s:e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_scrollbar_vertical"),e("#mCSB_"+o.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==r.axis&&(o.overflowed[0]&&!t?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),a.removeClass(u[8]+" "+u[10])):(r.alwaysShowScrollbar?(2!==r.alwaysShowScrollbar&&c[0].css("display","none"),a.removeClass(u[10])):(l[0].css("display","none"),a.addClass(u[10])),a.addClass(u[8]))),"y"!==r.axis&&(o.overflowed[1]&&!t?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),a.removeClass(u[9]+" "+u[11])):(r.alwaysShowScrollbar?(2!==r.alwaysShowScrollbar&&c[1].css("display","none"),a.removeClass(u[11])):(l[1].css("display","none"),a.addClass(u[11])),a.addClass(u[9]))),o.overflowed[0]||o.overflowed[1]?i.removeClass(u[5]):i.addClass(u[5])},I=function(t){var i=t.type,n=t.target.ownerDocument!==document?[e(frameElement).offset().top,e(frameElement).offset().left]:null,o=M()&&t.target.ownerDocument!==top.document?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(i){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return n?[t.originalEvent.pageY-n[0]+o[0],t.originalEvent.pageX-n[1]+o[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var r=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],s=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[r.screenY,r.screenX,s>1]:[r.pageY,r.pageX,s>1];default:return n?[t.pageY-n[0]+o[0],t.pageX-n[1]+o[1],!1]:[t.pageY,t.pageX,!1]}},O=function(){function t(t){var e=h.find("iframe");if(e.length){var i=t?"auto":"none";e.css("pointer-events",i)}}function i(t,e,i,n){if(h[0].idleTimer=d.scrollInertia<233?250:0,o.attr("id")===f[1])var r="x",s=(o[0].offsetLeft-e+n)*u.scrollRatio.x;else var r="y",s=(o[0].offsetTop-t+i)*u.scrollRatio.y;q(a,s.toString(),{dir:r,drag:!0})}var o,r,s,a=e(this),u=a.data(n),d=u.opt,p=n+"_"+u.idx,f=["mCSB_"+u.idx+"_dragger_vertical","mCSB_"+u.idx+"_dragger_horizontal"],h=e("#mCSB_"+u.idx+"_container"),m=e("#"+f[0]+",#"+f[1]),g=d.advanced.releaseDraggableSelectors?m.add(e(d.advanced.releaseDraggableSelectors)):m,v=d.advanced.extraDraggableSelectors?e(!M()||top.document).add(e(d.advanced.extraDraggableSelectors)):e(!M()||top.document);m.bind("mousedown."+p+" touchstart."+p+" pointerdown."+p+" MSPointerDown."+p,function(i){if(i.stopImmediatePropagation(),i.preventDefault(),J(i)){c=!0,l&&(document.onselectstart=function(){return!1}),t(!1),N(a),o=e(this);var n=o.offset(),u=I(i)[0]-n.top,p=I(i)[1]-n.left,f=o.height()+n.top,h=o.width()+n.left;u<f&&u>0&&p<h&&p>0&&(r=u,s=p),C(o,"active",d.autoExpandScrollbar)}}).bind("touchmove."+p,function(t){t.stopImmediatePropagation(),t.preventDefault();var e=o.offset(),n=I(t)[0]-e.top,a=I(t)[1]-e.left;i(r,s,n,a)}),e(document).add(v).bind("mousemove."+p+" pointermove."+p+" MSPointerMove."+p,function(t){if(o){var e=o.offset(),n=I(t)[0]-e.top,a=I(t)[1]-e.left;if(r===n&&s===a)return;i(r,s,n,a)}}).add(g).bind("mouseup."+p+" touchend."+p+" pointerup."+p+" MSPointerUp."+p,function(e){o&&(C(o,"active",d.autoExpandScrollbar),o=null),c=!1,l&&(document.onselectstart=null),t(!0)})},L=function(){function i(e){if(!K(e)||c||I(e)[2])return void(t=0);t=1,x=0,C=0,u=1,T.removeClass("mCS_touch_action");var i=O.offset();d=I(e)[0]-i.top,p=I(e)[1]-i.left,$=[I(e)[0],I(e)[1]]}function o(t){if(K(t)&&!c&&!I(t)[2]&&(_.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),(!C||x)&&u)){g=Z();var e=E.offset(),i=I(t)[0]-e.top,n=I(t)[1]-e.left,o="mcsLinearOut";if(A.push(i),z.push(n),$[2]=Math.abs(I(t)[0]-$[0]),$[3]=Math.abs(I(t)[1]-$[1]),k.overflowed[0])var r=L[0].parent().height()-L[0].height(),s=d-i>0&&i-d>-(r*k.scrollRatio.y)&&(2*$[3]<$[2]||"yx"===_.axis);if(k.overflowed[1])var a=L[1].parent().width()-L[1].width(),f=p-n>0&&n-p>-(a*k.scrollRatio.x)&&(2*$[2]<$[3]||"yx"===_.axis);s||f?(F||t.preventDefault(),x=1):(C=1,T.addClass("mCS_touch_action")),F&&t.preventDefault(),b="yx"===_.axis?[d-i,p-n]:"x"===_.axis?[null,p-n]:[d-i,null],O[0].idleTimer=250,k.overflowed[0]&&l(b[0],R,o,"y","all",!0),k.overflowed[1]&&l(b[1],R,o,"x",D,!0)}}function r(e){if(!K(e)||c||I(e)[2])return void(t=0);t=1,e.stopImmediatePropagation(),N(T),m=Z();var i=E.offset();f=I(e)[0]-i.top,h=I(e)[1]-i.left,A=[],z=[]}function s(t){if(K(t)&&!c&&!I(t)[2]){u=0,t.stopImmediatePropagation(),x=0,C=0,v=Z();var e=E.offset(),i=I(t)[0]-e.top,n=I(t)[1]-e.left;if(!(v-g>30)){w=1e3/(v-m);var o="mcsEaseOut",r=w<2.5,s=r?[A[A.length-2],z[z.length-2]]:[0,0];y=r?[i-s[0],n-s[1]]:[i-f,n-h];var d=[Math.abs(y[0]),Math.abs(y[1])];w=r?[Math.abs(y[0]/4),Math.abs(y[1]/4)]:[w,w];var p=[Math.abs(O[0].offsetTop)-y[0]*a(d[0]/w[0],w[0]),Math.abs(O[0].offsetLeft)-y[1]*a(d[1]/w[1],w[1])];b="yx"===_.axis?[p[0],p[1]]:"x"===_.axis?[null,p[1]]:[p[0],null],S=[4*d[0]+_.scrollInertia,4*d[1]+_.scrollInertia];var T=parseInt(_.contentTouchScroll)||0;b[0]=d[0]>T?b[0]:0,b[1]=d[1]>T?b[1]:0,k.overflowed[0]&&l(b[0],S[0],o,"y",D,!1),k.overflowed[1]&&l(b[1],S[1],o,"x",D,!1)}}}function a(t,e){var i=[1.5*e,2*e,e/1.5,e/2];return t>90?e>4?i[0]:i[3]:t>60?e>3?i[3]:i[2]:t>30?e>8?i[1]:e>6?i[0]:e>4?e:i[2]:e>8?e:i[3]}function l(t,e,i,n,o,r){t&&q(T,t.toString(),{dur:e,scrollEasing:i,dir:n,overwrite:o,drag:r})}var u,d,p,f,h,m,g,v,y,w,b,S,x,C,T=e(this),k=T.data(n),_=k.opt,P=n+"_"+k.idx,E=e("#mCSB_"+k.idx),O=e("#mCSB_"+k.idx+"_container"),L=[e("#mCSB_"+k.idx+"_dragger_vertical"),e("#mCSB_"+k.idx+"_dragger_horizontal")],A=[],z=[],R=0,D="yx"===_.axis?"none":"all",$=[],B=O.find("iframe"),H=["touchstart."+P+" pointerdown."+P+" MSPointerDown."+P,"touchmove."+P+" pointermove."+P+" MSPointerMove."+P,"touchend."+P+" pointerup."+P+" MSPointerUp."+P],F=void 0!==document.body.style.touchAction;O.bind(H[0],function(t){i(t)}).bind(H[1],function(t){o(t)}),E.bind(H[0],function(t){r(t)}).bind(H[2],function(t){s(t)}),B.length&&B.each(function(){e(this).load(function(){M(this)&&e(this.contentDocument||this.contentWindow.document).bind(H[0],function(t){i(t),r(t)}).bind(H[1],function(t){o(t)}).bind(H[2],function(t){s(t)})})})},A=function(){function i(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function o(t,e,i){u.type=i&&r?"stepped":"stepless",u.scrollAmount=10,W(s,t,e,"mcsLinearOut",i?60:null)}var r,s=e(this),a=s.data(n),l=a.opt,u=a.sequential,d=n+"_"+a.idx,p=e("#mCSB_"+a.idx+"_container"),f=p.parent();p.bind("mousedown."+d,function(e){t||r||(r=1,c=!0)}).add(document).bind("mousemove."+d,function(e){if(!t&&r&&i()){var n=p.offset(),s=I(e)[0]-n.top+p[0].offsetTop,c=I(e)[1]-n.left+p[0].offsetLeft;s>0&&s<f.height()&&c>0&&c<f.width()?u.step&&o("off",null,"stepped"):("x"!==l.axis&&a.overflowed[0]&&(s<0?o("on",38):s>f.height()&&o("on",40)),"y"!==l.axis&&a.overflowed[1]&&(c<0?o("on",37):c>f.width()&&o("on",39)))}}).bind("mouseup."+d+" dragend."+d,function(e){t||(r&&(r=0,o("off",null)),c=!1)})},z=function(){function t(t,n){if(N(i),!R(i,t.target)){var s="auto"!==r.mouseWheel.deltaFactor?parseInt(r.mouseWheel.deltaFactor):l&&t.deltaFactor<100?100:t.deltaFactor||100,u=r.scrollInertia;if("x"===r.axis||"x"===r.mouseWheel.axis)var d="x",p=[Math.round(s*o.scrollRatio.x),parseInt(r.mouseWheel.scrollAmount)],f="auto"!==r.mouseWheel.scrollAmount?p[1]:p[0]>=a.width()?.9*a.width():p[0],h=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetLeft),m=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),v=t.deltaX||t.deltaY||n;else var d="y",p=[Math.round(s*o.scrollRatio.y),parseInt(r.mouseWheel.scrollAmount)],f="auto"!==r.mouseWheel.scrollAmount?p[1]:p[0]>=a.height()?.9*a.height():p[0],h=Math.abs(e("#mCSB_"+o.idx+"_container")[0].offsetTop),m=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),v=t.deltaY||n;"y"===d&&!o.overflowed[0]||"x"===d&&!o.overflowed[1]||((r.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(v=-v),r.mouseWheel.normalizeDelta&&(v=v<0?-1:1),(v>0&&0!==m||v<0&&m!==g||r.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<2&&!r.mouseWheel.normalizeDelta&&(f=t.deltaFactor,u=17),q(i,(h-v*f).toString(),{dir:d,dur:u}))}}if(e(this).data(n)){var i=e(this),o=i.data(n),r=o.opt,s=n+"_"+o.idx,a=e("#mCSB_"+o.idx),c=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],u=e("#mCSB_"+o.idx+"_container").find("iframe");u.length&&u.each(function(){e(this).load(function(){M(this)&&e(this.contentDocument||this.contentWindow.document).bind("mousewheel."+s,function(e,i){t(e,i)})})}),a.bind("mousewheel."+s,function(e,i){0!=e.deltaX&&t(e,i)})}},M=function(t){var e=null;if(t){try{var i=t.contentDocument||t.contentWindow.document;e=i.body.innerHTML}catch(n){}return null!==e}try{var i=top.document;e=i.body.innerHTML}catch(n){}return null!==e},R=function(t,i){var o=i.nodeName.toLowerCase(),r=t.data(n).opt.mouseWheel.disableOver,s=["select","textarea"];return e.inArray(o,r)>-1&&!(e.inArray(o,s)>-1&&!e(i).is(":focus"))},D=function(){var t,i=e(this),o=i.data(n),r=n+"_"+o.idx,s=e("#mCSB_"+o.idx+"_container"),a=s.parent(),l=e(".mCSB_"+o.idx+"_scrollbar ."+u[12]);l.bind("mousedown."+r+" touchstart."+r+" pointerdown."+r+" MSPointerDown."+r,function(i){c=!0,e(i.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+r+" pointerup."+r+" MSPointerUp."+r,function(t){c=!1}).bind("click."+r,function(n){if(t&&(t=0,e(n.target).hasClass(u[12])||e(n.target).hasClass("mCSB_draggerRail"))){N(i);var r=e(this),l=r.find(".mCSB_dragger");if(r.parent(".mCSB_scrollTools_horizontal").length>0){if(!o.overflowed[1])return;var c="x",d=n.pageX>l.offset().left?-1:1,p=Math.abs(s[0].offsetLeft)-d*(.9*a.width())}else{if(!o.overflowed[0])return;var c="y",d=n.pageY>l.offset().top?-1:1,p=Math.abs(s[0].offsetTop)-d*(.9*a.height())}q(i,p.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},$=function(){var t=e(this),i=t.data(n),o=i.opt,r=n+"_"+i.idx,s=e("#mCSB_"+i.idx+"_container"),a=s.parent();s.bind("focusin."+r,function(i){var n=e(document.activeElement),r=s.find(".mCustomScrollBox").length,l=0;n.is(o.advanced.autoScrollOnFocus)&&(N(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=r?(l+17)*r:0,t[0]._focusTimeout=setTimeout(function(){var e=[et(n)[0],et(n)[1]],i=[s[0].offsetTop,s[0].offsetLeft],r=[i[0]+e[0]>=0&&i[0]+e[0]<a.height()-n.outerHeight(!1),i[1]+e[1]>=0&&i[0]+e[1]<a.width()-n.outerWidth(!1)],c="yx"!==o.axis||r[0]||r[1]?"all":"none";"x"===o.axis||r[0]||q(t,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l}),"y"===o.axis||r[1]||q(t,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:c,dur:l})},t[0]._focusTimer))})},B=function(){var t=e(this),i=t.data(n),o=n+"_"+i.idx,r=e("#mCSB_"+i.idx+"_container").parent(); 43r.bind("scroll."+o,function(t){0===r.scrollTop()&&0===r.scrollLeft()||e(".mCSB_"+i.idx+"_scrollbar").css("visibility","hidden")})},H=function(){var t=e(this),i=t.data(n),o=i.opt,r=i.sequential,s=n+"_"+i.idx,a=".mCSB_"+i.idx+"_scrollbar",l=e(a+">a");l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s+" mouseup."+s+" touchend."+s+" pointerup."+s+" MSPointerUp."+s+" mouseout."+s+" pointerout."+s+" MSPointerOut."+s+" click."+s,function(n){function s(e,i){r.scrollAmount=o.scrollButtons.scrollAmount,W(t,e,i)}if(n.preventDefault(),J(n)){var a=e(this).attr("class");switch(r.type=o.scrollButtons.scrollType,n.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===r.type)return;c=!0,i.tweenRunning=!1,s("on",a);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===r.type)return;c=!1,r.dir&&s("off",a);break;case"click":if("stepped"!==r.type||i.tweenRunning)return;s("on",a)}}})},F=function(){function t(t){function n(t,e){s.type=r.keyboard.scrollType,s.scrollAmount=r.keyboard.scrollAmount,"stepped"===s.type&&o.tweenRunning||W(i,t,e)}switch(t.type){case"blur":o.tweenRunning&&s.dir&&n("off",null);break;case"keydown":case"keyup":var a=t.keyCode?t.keyCode:t.which,l="on";if("x"!==r.axis&&(38===a||40===a)||"y"!==r.axis&&(37===a||39===a)){if((38===a||40===a)&&!o.overflowed[0]||(37===a||39===a)&&!o.overflowed[1])return;"keyup"===t.type&&(l="off"),e(document.activeElement).is(d)||(t.preventDefault(),t.stopImmediatePropagation(),n(l,a))}else if(33===a||34===a){if((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){N(i);var p=34===a?-1:1;if("x"===r.axis||"yx"===r.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",h=Math.abs(c[0].offsetLeft)-p*(.9*u.width());else var f="y",h=Math.abs(c[0].offsetTop)-p*(.9*u.height());q(i,h.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===a||36===a)&&!e(document.activeElement).is(d)&&((o.overflowed[0]||o.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===r.axis||"yx"===r.axis&&o.overflowed[1]&&!o.overflowed[0])var f="x",h=35===a?Math.abs(u.width()-c.outerWidth(!1)):0;else var f="y",h=35===a?Math.abs(u.height()-c.outerHeight(!1)):0;q(i,h.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var i=e(this),o=i.data(n),r=o.opt,s=o.sequential,a=n+"_"+o.idx,l=e("#mCSB_"+o.idx),c=e("#mCSB_"+o.idx+"_container"),u=c.parent(),d="input,textarea,select,datalist,keygen,[contenteditable='true']",p=c.find("iframe"),f=["blur."+a+" keydown."+a+" keyup."+a];p.length&&p.each(function(){e(this).load(function(){M(this)&&e(this.contentDocument||this.contentWindow.document).bind(f[0],function(e){t(e)})})}),l.attr("tabindex","0").bind(f[0],function(e){t(e)})},W=function(t,i,o,r,s){function a(e){d.snapAmount&&(p.scrollAmount=d.snapAmount instanceof Array?"x"===p.dir[0]?d.snapAmount[1]:d.snapAmount[0]:d.snapAmount);var i="stepped"!==p.type,n=s?s:e?i?m/1.5:g:1e3/60,o=e?i?7.5:40:2.5,l=[Math.abs(f[0].offsetTop),Math.abs(f[0].offsetLeft)],u=[c.scrollRatio.y>10?10:c.scrollRatio.y,c.scrollRatio.x>10?10:c.scrollRatio.x],h="x"===p.dir[0]?l[1]+p.dir[1]*(u[1]*o):l[0]+p.dir[1]*(u[0]*o),v="x"===p.dir[0]?l[1]+p.dir[1]*parseInt(p.scrollAmount):l[0]+p.dir[1]*parseInt(p.scrollAmount),y="auto"!==p.scrollAmount?v:h,w=r?r:e?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",b=!!e;return e&&n<17&&(y="x"===p.dir[0]?l[1]:l[0]),q(t,y.toString(),{dir:p.dir[0],scrollEasing:w,dur:n,onComplete:b}),e?void(p.dir=!1):(clearTimeout(p.step),void(p.step=setTimeout(function(){a()},n)))}function l(){clearTimeout(p.step),Q(p,"step"),N(t)}var c=t.data(n),d=c.opt,p=c.sequential,f=e("#mCSB_"+c.idx+"_container"),h="stepped"===p.type,m=d.scrollInertia<26?26:d.scrollInertia,g=d.scrollInertia<1?17:d.scrollInertia;switch(i){case"on":if(p.dir=[o===u[16]||o===u[15]||39===o||37===o?"x":"y",o===u[13]||o===u[15]||38===o||37===o?-1:1],N(t),tt(o)&&"stepped"===p.type)return;a(h);break;case"off":l(),(h||c.tweenRunning&&p.dir)&&a(!0)}},j=function(t){var i=e(this).data(n).opt,o=[];return"function"==typeof t&&(t=t()),t instanceof Array?o=t.length>1?[t[0],t[1]]:"x"===i.axis?[null,t[0]]:[t[0],null]:(o[0]=t.y?t.y:t.x||"x"===i.axis?null:t,o[1]=t.x?t.x:t.y||"y"===i.axis?null:t),"function"==typeof o[0]&&(o[0]=o[0]()),"function"==typeof o[1]&&(o[1]=o[1]()),o},Y=function(t,i){if(null!=t&&"undefined"!=typeof t){var o=e(this),r=o.data(n),s=r.opt,a=e("#mCSB_"+r.idx+"_container"),l=a.parent(),c=typeof t;i||(i="x"===s.axis?"x":"y");var u="x"===i?a.outerWidth(!1):a.outerHeight(!1),p="x"===i?a[0].offsetLeft:a[0].offsetTop,f="x"===i?"left":"top";switch(c){case"function":return t();case"object":var h=t.jquery?t:e(t);if(!h.length)return;return"x"===i?et(h)[1]:et(h)[0];case"string":case"number":if(tt(t))return Math.abs(t);if(t.indexOf("%")!==-1)return Math.abs(u*parseInt(t)/100);if(t.indexOf("-=")!==-1)return Math.abs(p-parseInt(t.split("-=")[1]));if(t.indexOf("+=")!==-1){var m=p+parseInt(t.split("+=")[1]);return m>=0?0:Math.abs(m)}if(t.indexOf("px")!==-1&&tt(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(l.height()-a.outerHeight(!1));if("right"===t)return Math.abs(l.width()-a.outerWidth(!1));if("first"===t||"last"===t){var h=a.find(":"+t);return"x"===i?et(h)[1]:et(h)[0]}return e(t).length?"x"===i?et(e(t))[1]:et(e(t))[0]:(a.css(f,t),void d.update.call(null,o[0]))}}},V=function(t){function i(){return clearTimeout(p[0].autoUpdate),0===a.parents("html").length?void(a=null):void(p[0].autoUpdate=setTimeout(function(){return c.advanced.updateOnSelectorChange&&(l.poll.change.n=r(),l.poll.change.n!==l.poll.change.o)?(l.poll.change.o=l.poll.change.n,void s(3)):c.advanced.updateOnContentResize&&(l.poll.size.n=a[0].scrollHeight+a[0].scrollWidth+p[0].offsetHeight+a[0].offsetHeight+a[0].offsetWidth,l.poll.size.n!==l.poll.size.o)?(l.poll.size.o=l.poll.size.n,void s(1)):!c.advanced.updateOnImageLoad||"auto"===c.advanced.updateOnImageLoad&&"y"===c.axis||(l.poll.img.n=p.find("img").length,l.poll.img.n===l.poll.img.o)?void((c.advanced.updateOnSelectorChange||c.advanced.updateOnContentResize||c.advanced.updateOnImageLoad)&&i()):(l.poll.img.o=l.poll.img.n,void p.find("img").each(function(){o(this)}))},c.advanced.autoUpdateTimeout))}function o(t){function i(t,e){return function(){return e.apply(t,arguments)}}function n(){this.onload=null,e(t).addClass(u[2]),s(2)}if(e(t).hasClass(u[2]))return void s();var o=new Image;o.onload=i(o,n),o.src=t.src}function r(){c.advanced.updateOnSelectorChange===!0&&(c.advanced.updateOnSelectorChange="*");var t=0,e=p.find(c.advanced.updateOnSelectorChange);return c.advanced.updateOnSelectorChange&&e.length>0&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}function s(t){clearTimeout(p[0].autoUpdate),d.update.call(null,a[0],t)}var a=e(this),l=a.data(n),c=l.opt,p=e("#mCSB_"+l.idx+"_container");return t?(clearTimeout(p[0].autoUpdate),void Q(p[0],"autoUpdate")):void i()},X=function(t,e,i){return Math.round(t/e)*e-i},N=function(t){var i=t.data(n),o=e("#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal");o.each(function(){G.call(this)})},q=function(t,i,o){function r(t){return l&&c.callbacks[t]&&"function"==typeof c.callbacks[t]}function s(){return[c.callbacks.alwaysTriggerOffsets||b>=S[0]+T,c.callbacks.alwaysTriggerOffsets||b<=-k]}function a(){var e=[f[0].offsetTop,f[0].offsetLeft],i=[y[0].offsetTop,y[0].offsetLeft],n=[f.outerHeight(!1),f.outerWidth(!1)],r=[p.height(),p.width()];t[0].mcs={content:f,top:e[0],left:e[1],draggerTop:i[0],draggerLeft:i[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(n[0])-r[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(n[1])-r[1])),direction:o.dir}}var l=t.data(n),c=l.opt,u={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:c.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},o=e.extend(u,o),d=[o.dur,o.drag?0:o.dur],p=e("#mCSB_"+l.idx),f=e("#mCSB_"+l.idx+"_container"),h=f.parent(),m=c.callbacks.onTotalScrollOffset?j.call(t,c.callbacks.onTotalScrollOffset):[0,0],g=c.callbacks.onTotalScrollBackOffset?j.call(t,c.callbacks.onTotalScrollBackOffset):[0,0];if(l.trigger=o.trigger,0===h.scrollTop()&&0===h.scrollLeft()||(e(".mCSB_"+l.idx+"_scrollbar").css("visibility","visible"),h.scrollTop(0).scrollLeft(0)),"_resetY"!==i||l.contentReset.y||(r("onOverflowYNone")&&c.callbacks.onOverflowYNone.call(t[0]),l.contentReset.y=1),"_resetX"!==i||l.contentReset.x||(r("onOverflowXNone")&&c.callbacks.onOverflowXNone.call(t[0]),l.contentReset.x=1),"_resetY"!==i&&"_resetX"!==i){if(!l.contentReset.y&&t[0].mcs||!l.overflowed[0]||(r("onOverflowY")&&c.callbacks.onOverflowY.call(t[0]),l.contentReset.x=null),!l.contentReset.x&&t[0].mcs||!l.overflowed[1]||(r("onOverflowX")&&c.callbacks.onOverflowX.call(t[0]),l.contentReset.x=null),c.snapAmount){var v=c.snapAmount instanceof Array?"x"===o.dir?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount;i=X(i,v,c.snapOffset)}switch(o.dir){case"x":var y=e("#mCSB_"+l.idx+"_dragger_horizontal"),w="left",b=f[0].offsetLeft,S=[p.width()-f.outerWidth(!1),y.parent().width()-y.width()],x=[i,0===i?0:i/l.scrollRatio.x],T=m[1],k=g[1],_=T>0?T/l.scrollRatio.x:0,P=k>0?k/l.scrollRatio.x:0;break;case"y":var y=e("#mCSB_"+l.idx+"_dragger_vertical"),w="top",b=f[0].offsetTop,S=[p.height()-f.outerHeight(!1),y.parent().height()-y.height()],x=[i,0===i?0:i/l.scrollRatio.y],T=m[0],k=g[0],_=T>0?T/l.scrollRatio.y:0,P=k>0?k/l.scrollRatio.y:0}x[1]<0||0===x[0]&&0===x[1]?x=[0,0]:x[1]>=S[1]?x=[S[0],S[1]]:x[0]=-x[0],t[0].mcs||(a(),r("onInit")&&c.callbacks.onInit.call(t[0])),clearTimeout(f[0].onCompleteTimeout),U(y[0],w,Math.round(x[1]),d[1],o.scrollEasing),!l.tweenRunning&&(0===b&&x[0]>=0||b===S[0]&&x[0]<=S[0])||U(f[0],w,Math.round(x[0]),d[0],o.scrollEasing,o.overwrite,{onStart:function(){o.callbacks&&o.onStart&&!l.tweenRunning&&(r("onScrollStart")&&(a(),c.callbacks.onScrollStart.call(t[0])),l.tweenRunning=!0,C(y),l.cbOffsets=s())},onUpdate:function(){o.callbacks&&o.onUpdate&&r("whileScrolling")&&(a(),c.callbacks.whileScrolling.call(t[0]))},onComplete:function(){if(o.callbacks&&o.onComplete){"yx"===c.axis&&clearTimeout(f[0].onCompleteTimeout);var e=f[0].idleTimer||0;f[0].onCompleteTimeout=setTimeout(function(){r("onScroll")&&(a(),c.callbacks.onScroll.call(t[0])),r("onTotalScroll")&&x[1]>=S[1]-_&&l.cbOffsets[0]&&(a(),c.callbacks.onTotalScroll.call(t[0])),r("onTotalScrollBack")&&x[1]<=P&&l.cbOffsets[1]&&(a(),c.callbacks.onTotalScrollBack.call(t[0])),l.tweenRunning=!1,f[0].idleTimer=0,C(y,"hide")},e)}}})}},U=function(t,e,i,n,o,r,s){function a(){S.stop||(y||h.call(),y=Z()-v,l(),y>=S.time&&(S.time=y>S.time?y+p-(y-S.time):y+p-1,S.time<y+1&&(S.time=y+1)),S.time<n?S.id=f(a):g.call())}function l(){n>0?(S.currVal=d(S.time,w,x,n,o),b[e]=Math.round(S.currVal)+"px"):b[e]=i+"px",m.call()}function c(){p=1e3/60,S.time=y+p,f=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},S.id=f(a)}function u(){null!=S.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(S.id):clearTimeout(S.id),S.id=null)}function d(t,e,i,n,o){switch(o){case"linear":case"mcsLinear":return i*t/n+e;case"mcsLinearOut":return t/=n,t--,i*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return t/=n/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e);case"easeInOutStrong":return t/=n/2,t<1?i/2*Math.pow(2,10*(t-1))+e:(t--,i/2*(-Math.pow(2,-10*t)+2)+e);case"easeInOut":case"mcsEaseInOut":return t/=n/2,t<1?i/2*t*t*t+e:(t-=2,i/2*(t*t*t+2)+e);case"easeOutSmooth":return t/=n,t--,-i*(t*t*t*t-1)+e;case"easeOutStrong":return i*(-Math.pow(2,-10*t/n)+1)+e;case"easeOut":case"mcsEaseOut":default:var r=(t/=n)*t,s=r*t;return e+i*(.499999999999997*s*r+-2.5*r*r+5.5*s+-6.5*r+4*t)}}t._mTween||(t._mTween={top:{},left:{}});var p,f,s=s||{},h=s.onStart||function(){},m=s.onUpdate||function(){},g=s.onComplete||function(){},v=Z(),y=0,w=t.offsetTop,b=t.style,S=t._mTween[e];"left"===e&&(w=t.offsetLeft);var x=i-w;
43S.stop=0,"none"!==r&&u(),c()},Z=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},G=function(){var t=this;t._mTween||(t._mTween={top:{},left:{}});for(var e=["top","left"],i=0;i<e.length;i++){var n=e[i];t._mTween[n].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._mTween[n].id):clearTimeout(t._mTween[n].id),t._mTween[n].id=null,t._mTween[n].stop=1)}},Q=function(t,e){try{delete t[e]}catch(i){t[e]=null}},J=function(t){return!(t.which&&1!==t.which)},K=function(t){var e=t.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},tt=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},et=function(t){var e=t.parents(".mCSB_container");return[t.offset().top-e.offset().top,t.offset().left-e.offset().left]},it=function(){function t(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}var e=t();return!!e&&document[e]};e.fn[i]=function(t){return d[t]?d[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):d.init.apply(this,arguments)},e[i]=function(t){return d[t]?d[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist"):d.init.apply(this,arguments)},e[i].defaults=r,window[i]=!0,e(window).load(function(){e(o)[i](),e.extend(e.expr[":"],{mcsInView:e.expr[":"].mcsInView||function(t){var i,n,o=e(t),r=o.parents(".mCSB_container");if(r.length)return i=r.parent(),n=[r[0].offsetTop,r[0].offsetLeft],n[0]+et(o)[0]>=0&&n[0]+et(o)[0]<i.height()-o.outerHeight(!1)&&n[1]+et(o)[1]>=0&&n[1]+et(o)[1]<i.width()-o.outerWidth(!1)},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var i=e(t).data(n);if(i)return i.overflowed[0]||i.overflowed[1]}})})})})},552:function(t,e){(function(e){t.exports=e}).call(e,{})},553:function(t,e,i){var n,o;/**! 44 * easy-pie-chart 45 * Lightweight plugin to render simple, animated and retina optimized pie charts 46 * 47 * @license 48 * @author Robert Fleischmann <[email protected]> (http://robert-fleischmann.de) 49 * @version 2.1.7 50 **/ 51!function(r,s){n=[i(1)],o=function(t){return s(t)}.apply(e,n),!(void 0!==o&&(t.exports=o))}(this,function(t){var e=function(t,e){var i,n=document.createElement("canvas");t.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var o=n.getContext("2d");n.width=n.height=e.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,n.style.width=n.style.height=[e.size,"px"].join(""),n.width=n.height=e.size*r,o.scale(r,r)),o.translate(e.size/2,e.size/2),o.rotate((-.5+e.rotate/180)*Math.PI);var s=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(s-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var a=function(t,e,i){i=Math.min(Math.max(-1,i||0),1);var n=i<=0;o.beginPath(),o.arc(0,0,s,0,2*Math.PI*i,n),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=function(){var t,i;o.lineWidth=1,o.fillStyle=e.scaleColor,o.save();for(var n=24;n>0;--n)n%6===0?(i=e.scaleLength,t=0):(i=.6*e.scaleLength,t=e.scaleLength-i),o.fillRect(-e.size/2+t,0,i,1),o.rotate(Math.PI/12);o.restore()},c=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}(),u=function(){e.scaleColor&&l(),e.trackColor&&a(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return o},this.clear=function(){o.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){e.scaleColor||e.trackColor?o.getImageData&&o.putImageData?i?o.putImageData(i,0,0):(u(),i=o.getImageData(0,0,e.size*r,e.size*r)):(this.clear(),u()):this.clear(),o.lineCap=e.lineCap;var n;n="function"==typeof e.barColor?e.barColor(t):e.barColor,a(n,e.lineWidth,t/100)}.bind(this),this.animate=function(t,i){var n=Date.now();e.onStart(t,i);var o=function(){var r=Math.min(Date.now()-n,e.animate.duration),s=e.easing(this,r,t,i-t,e.animate.duration);this.draw(s),e.onStep(t,i,s),r>=e.animate.duration?e.onStop(t,i):c(o)}.bind(this);c(o)}.bind(this)}
51,i=function(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,i,n,o){return e/=o/2,e<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},onStart:function(t,e){},onStep:function(t,e,i){},onStop:function(t,e){}};if("undefined"!=typeof e)n.renderer=e;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var o={},r=0,s=function(){this.el=t,this.options=o;for(var e in n)n.hasOwnProperty(e)&&(o[e]=i&&"undefined"!=typeof i[e]?i[e]:n[e],"function"==typeof o[e]&&(o[e]=o[e].bind(this)));"string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?o.easing=jQuery.easing[o.easing]:o.easing=n.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(t,o),this.renderer.draw(r),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(r,t):this.renderer.draw(t),r=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},s()};t.fn.easyPieChart=function(e){return this.each(function(){var n;t.data(this,"easyPieChart")||(n=t.extend({},e,t(this).data()),t.data(this,"easyPieChart",new i(this,n)))})}})},554:function(t,e,i){var n,o;!function(t){function e(t){var e=t.length,n=i.type(t);return"function"!==n&&!i.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!t.jQuery){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?o[s.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(e in t);return void 0===e||r.call(t,e)},i.each=function(t,i,n){var o,r=0,s=t.length,a=e(t);if(n){if(a)for(;r<s&&(o=i.apply(t[r],n),o!==!1);r++);else for(r in t)if(o=i.apply(t[r],n),o===!1)break}else if(a)for(;r<s&&(o=i.call(t[r],r,t[r]),o!==!1);r++);else for(r in t)if(o=i.call(t[r],r,t[r]),o===!1)break;return t},i.data=function(t,e,o){if(void 0===o){var r=t[i.expando],s=r&&n[r];if(void 0===e)return s;if(s&&e in s)return s[e]}else if(void 0!==e){var r=t[i.expando]||(t[i.expando]=++i.uuid);return n[r]=n[r]||{},n[r][e]=o,o}},i.removeData=function(t,e){var o=t[i.expando],r=o&&n[o];r&&i.each(e,function(t,e){delete r[e]})},i.extend=function(){var t,e,n,o,r,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==i.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(null!=(r=arguments[l]))for(o in r)t=a[o],n=r[o],a!==n&&(u&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,s=t&&i.isArray(t)?t:[]):s=t&&i.isPlainObject(t)?t:{},a[o]=i.extend(u,s,n)):void 0!==n&&(a[o]=n));return a},i.queue=function(t,n,o){function r(t,i){var n=i||[];return null!=t&&(e(Object(t))?!function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;)t[o++]=e[n++];if(i!==i)for(;void 0!==e[n];)t[o++]=e[n++];return t.length=o,t}(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n}if(t){n=(n||"fx")+"queue";var s=i.data(t,n);return o?(!s||i.isArray(o)?s=i.data(t,n,r(o)):s.push(o),s):s||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var o=i.queue(n,e),r=o.shift();"inprogress"===r&&(r=o.shift()),r&&("fx"===e&&o.unshift("inprogress"),r.call(n,function(){i.dequeue(n,e)}))})}
vendor: 31,741 bytes, lines 51-52
51,i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),n=this.offset(),o=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:i(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(o.top+=parseFloat(t.style.borderTopWidth)||0,o.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-o.top,left:n.left-o.left}}};var n={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var o={},r=o.hasOwnProperty,s=o.toString,a="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<a.length;l++)o["[object "+a[l]+"]"]=a[l].toLowerCase();i.fn.init.prototype=i.fn,t.Velocity={Utilities:i}}}(window),function(r){"object"==typeof t&&"object"==typeof t.exports?t.exports=r():(n=r,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o)))}(function(){return function(t,e,i,n){function o(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var o=t[e];o&&n.push(o)}return n}function r(t){return m.isWrapped(t)?t=[].slice.call(t):m.isNode(t)&&(t=[t]),t}function s(t){var e=p.data(t,"velocity");return null===e?n:e}function a(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,i,n,o){function r(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function l(t,e,i){return((r(e,i)*t+s(e,i))*t+a(e))*t}function c(t,e,i){return 3*r(e,i)*t*t+2*s(e,i)*t+a(e)}function u(e,i){for(var o=0;o<m;++o){var r=c(i,t,n);if(0===r)return i;var s=l(i,t,n)-e;i-=s/r}return i}function d(){for(var e=0;e<w;++e)C[e]=l(e*b,t,n)}function p(e,i,o){var r,s,a=0;do s=i+(o-i)/2,r=l(s,t,n)-e,r>0?o=s:i=s;while(Math.abs(r)>v&&++a<y);return s}function f(e){for(var i=0,o=1,r=w-1;o!=r&&C[o]<=e;++o)i+=b;--o;var s=(e-C[o])/(C[o+1]-C[o]),a=i+s*b,l=c(a,t,n);return l>=g?u(e,a):0==l?a:p(e,i,i+b)}function h(){T=!0,t==i&&n==o||d()}var m=4,g=.001,v=1e-7,y=10,w=11,b=1/(w-1),S="Float32Array"in e;if(4!==arguments.length)return!1;for(var x=0;x<4;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var C=S?new Float32Array(w):new Array(w),T=!1,k=function(e){return T||h(),t===i&&n===o?e:0===e?0:1===e?1:l(f(e),i,o)};k.getControlPoints=function(){return[{x:t,y:i},{x:n,y:o}]};var _="generateBezier("+[t,i,n,o]+")";return k.toString=function(){return _},k}function c(t,e){var i=t;return m.isString(t)?w.Easings[t]||(i=!1):i=m.isArray(t)&&1===t.length?a.apply(null,t):m.isArray(t)&&2===t.length?b.apply(null,t.concat([e])):!(!m.isArray(t)||4!==t.length)&&l.apply(null,t),i===!1&&(i=w.Easings[w.defaults.easing]?w.defaults.easing:y),i}function u(t){if(t){var e=(new Date).getTime(),i=w.State.calls.length;i>1e4&&(w.State.calls=o(w.State.calls));for(var r=0;r<i;r++)if(w.State.calls[r]){var a=w.State.calls[r],l=a[0],c=a[2],f=a[3],h=!!f,g=null;f||(f=w.State.calls[r][3]=e-16);for(var v=Math.min((e-f)/c.duration,1),y=0,b=l.length;y<b;y++){var x=l[y],T=x.element;if(s(T)){var k=!1;if(c.display!==n&&null!==c.display&&"none"!==c.display){if("flex"===c.display){var _=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];p.each(_,function(t,e){S.setPropertyValue(T,"display",e)})}S.setPropertyValue(T,"display",c.display)}c.visibility!==n&&"hidden"!==c.visibility&&S.setPropertyValue(T,"visibility",c.visibility);for(var P in x)if("element"!==P){var E,I=x[P],O=m.isString(I.easing)?w.Easings[I.easing]:I.easing;if(1===v)E=I.endValue;else{var L=I.endValue-I.startValue;if(E=I.startValue+L*O(v,c,L),!h&&E===I.currentValue)continue}if(I.currentValue=E,"tween"===P)g=E;else{if(S.Hooks.registered[P]){var A=S.Hooks.getRoot(P),z=s(T).rootPropertyValueCache[A];z&&(I.rootPropertyValue=z)}var M=S.setPropertyValue(T,P,I.currentValue+(0===parseFloat(E)?"":I.unitType),I.rootPropertyValue,I.scrollData);S.Hooks.registered[P]&&(S.Normalizations.registered[A]?s(T).rootPropertyValueCache[A]=S.Normalizations.registered[A]("extract",null,M[1]):s(T).rootPropertyValueCache[A]=M[1]),"transform"===M[0]&&(k=!0)}}c.mobileHA&&s(T).transformCache.translate3d===n&&(s(T).transformCache.translate3d="(0px, 0px, 0px)",k=!0),k&&S.flushTransformCache(T)}}c.display!==n&&"none"!==c.display&&(w.State.calls[r][2].display=!1),c.visibility!==n&&"hidden"!==c.visibility&&(w.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(a[1],a[1],v,Math.max(0,f+c.duration-e),f,g),1===v&&d(r)}}w.State.isTicking&&C(u)}function d(t,e){if(!w.State.calls[t])return!1;for(var i=w.State.calls[t][0],o=w.State.calls[t][1],r=w.State.calls[t][2],a=w.State.calls[t][4],l=!1,c=0,u=i.length;c<u;c++){var d=i[c].element;if(e||r.loop||("none"===r.display&&S.setPropertyValue(d,"display",r.display),"hidden"===r.visibility&&S.setPropertyValue(d,"visibility",r.visibility)),r.loop!==!0&&(p.queue(d)[1]===n||!/\.velocityQueueEntryFlag/i.test(p.queue(d)[1]))&&s(d)){s(d).isAnimating=!1,s(d).rootPropertyValueCache={};var f=!1;p.each(S.Lists.transforms3D,function(t,e){var i=/^scale/.test(e)?1:0,o=s(d).transformCache[e];s(d).transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(o)&&(f=!0,delete s(d).transformCache[e])}),r.mobileHA&&(f=!0,delete s(d).transformCache.translate3d),f&&S.flushTransformCache(d),S.Values.removeClass(d,"velocity-animating")}if(!e&&r.complete&&!r.loop&&c===u-1)try{r.complete.call(o,o)}catch(h){setTimeout(function(){throw h},1)}a&&r.loop!==!0&&a(o),s(d)&&r.loop===!0&&!e&&(p.each(s(d).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),w(d,"reverse",{loop:!0,delay:r.delay})),r.queue!==!1&&p.dequeue(d,r.queue)}w.State.calls[t]=!1;for(var m=0,g=w.State.calls.length;m<g;m++)if(w.State.calls[m]!==!1){l=!0;break}l===!1&&(w.State.isTicking=!1,delete w.State.calls,w.State.calls=[])}var p,f=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t}return n}(),h=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var i,n=(new Date).getTime();return i=Math.max(0,16-(n-t)),t=n+i,setTimeout(function(){e(n+i)},i)}}(),m={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==n&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(p=t,g=!0):p=e.Velocity.Utilities,f<=8&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(f<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var v=400,y="swing",w={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:p,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:v,easing:y,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){p.data(t,"velocity",{isSVG:m.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==n?(w.State.scrollAnchor=e,w.State.scrollPropertyLeft="pageXOffset",w.State.scrollPropertyTop="pageYOffset"):(w.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,w.State.scrollPropertyLeft="scrollLeft",w.State.scrollPropertyTop="scrollTop");var b=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var o={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:o.v,dv:t(o)}}function i(i,n){var o={dx:i.v,dv:t(i)},r=e(i,.5*n,o),s=e(i,.5*n,r),a=e(i,n,s),l=1/6*(o.dx+2*(r.dx+s.dx)+a.dx),c=1/6*(o.dv+2*(r.dv+s.dv)+a.dv);return i.x=i.x+l*n,i.v=i.v+c*n,i}return function n(t,e,o){var r,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,d=1e-4,p=.016;for(t=parseFloat(t)||500,e=parseFloat(e)||20,o=o||null,l.tension=t,l.friction=e,r=null!==o,r?(u=n(t,e),s=u/o*p):s=p;;)if(a=i(a||l,s),c.push(1+a.x),u+=16,!(Math.abs(a.x)>d&&Math.abs(a.v)>d))break;return r?function(t){return c[t*(c.length-1)|0]}:u}}();w.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},p.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){w.Easings[e[0]]=l.apply(null,e[1])});var S=w.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<S.Lists.colors.length;t++){var e="color"===S.Lists.colors[t]?"0 0 0 1":"255 255 255 1";S.Hooks.templates[S.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,o;if(f)for(i in S.Hooks.templates){n=S.Hooks.templates[i],o=n[0].split(" ");var r=n[1].match(S.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),r.push(r.shift()),S.Hooks.templates[i]=[o.join(" "),r.join(" ")])}for(i in S.Hooks.templates){n=S.Hooks.templates[i],o=n[0].split(" ");for(var t in o){var s=i+o[t],a=t;S.Hooks.registered[s]=[i,a]}}},getRoot:function(t){var e=S.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return S.RegEx.valueUnwrap.test(e)&&(e=e.match(S.RegEx.valueUnwrap)[1]),S.Values.isCSSNullValue(e)&&(e=S.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=S.Hooks.registered[t];if(i){var n=i[0],o=i[1];return e=S.Hooks.cleanRootPropertyValue(n,e),e.toString().match(S.RegEx.valueSplit)[o]}return e},injectValue:function(t,e,i){var n=S.Hooks.registered[t];if(n){var o,r,s=n[0],a=n[1];return i=S.Hooks.cleanRootPropertyValue(s,i),o=i.toString().match(S.RegEx.valueSplit),o[a]=e,r=o.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return S.RegEx.wrappedValueAlreadyExtracted.test(i)?n=i:(n=i.toString().match(S.RegEx.valueUnwrap),n=n?n[1].replace(/,(\s+)?/g," "):i),n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return w.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var o=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=o?o[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(f<=8)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);return i=n?n[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":return i;case"inject":return i}}},register:function(){f<=9||w.State.isGingerbread||(S.Lists.transformsBase=S.Lists.transformsBase.concat(S.Lists.transforms3D));for(var t=0;t<S.Lists.transformsBase.length;t++)!function(){var e=S.Lists.transformsBase[t];S.Normalizations.registered[e]=function(t,i,o){switch(t){case"name":return"transform";case"extract":return s(i)===n||s(i).transformCache[e]===n?/^scale/i.test(e)?1:0:s(i).transformCache[e].replace(/[()]/g,"");case"inject":var r=!1;switch(e.substr(0,e.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(o);break;case"scal":case"scale":w.State.isAndroid&&s(i).transformCache[e]===n&&o<1&&(o=1),r=!/(\d)$/i.test(o);break;case"skew":r=!/(deg|\d)$/i.test(o);break;case"rotate":r=!/(deg|\d)$/i.test(o)}return r||(s(i).transformCache[e]="("+o+")"),s(i).transformCache[e]}}}();for(var t=0;t<S.Lists.colors.length;t++)!function(){var e=S.Lists.colors[t];S.Normalizations.registered[e]=function(t,i,o){switch(t){case"name":return e;case"extract":var r;if(S.RegEx.wrappedValueAlreadyExtracted.test(o))r=o;else{var s,a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(o)?s=a[o]!==n?a[o]:a.black:S.RegEx.isHex.test(o)?s="rgb("+S.Values.hexToRgb(o).join(" ")+")":/^rgba?\(/i.test(o)||(s=a.black),r=(s||o).toString().match(S.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return f<=8||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return f<=8?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(f<=8?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||w.State.isAndroid&&!w.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(w.State.prefixMatches[t])return[w.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;i<n;i++){var o;if(o=0===i?t:e[i]+t.replace(/^\w/,function(t){return t.toUpperCase()}),m.isString(w.State.prefixElement.style[o]))return w.State.prefixMatches[t]=o,[o,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,i=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(i,function(t,e,i,n){return e+e+i+i+n+n}),e=n.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,i,o,r){function a(t,i){function o(){c&&S.setPropertyValue(t,"display","none")}var l=0;if(f<=8)l=p.css(t,i);else{var c=!1;if(/^(width|height)$/.test(i)&&0===S.getPropertyValue(t,"display")&&(c=!0,S.setPropertyValue(t,"display",S.Values.getDisplayType(t))),!r){if("height"===i&&"border-box"!==S.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var u=t.offsetHeight-(parseFloat(S.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(S.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(S.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(S.getPropertyValue(t,"paddingBottom"))||0);return o(),u}if("width"===i&&"border-box"!==S.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(S.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(S.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(S.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(S.getPropertyValue(t,"paddingRight"))||0);return o(),d}}var h;h=s(t)===n?e.getComputedStyle(t,null):s(t).computedStyle?s(t).computedStyle:s(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),l=9===f&&"filter"===i?h.getPropertyValue(i):h[i],""!==l&&null!==l||(l=t.style[i]),o()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var m=a(t,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(i))&&(l=p(t).position()[i]+"px")}return l}var l;if(S.Hooks.registered[i]){var c=i,u=S.Hooks.getRoot(c);o===n&&(o=S.getPropertyValue(t,S.Names.prefixCheck(u)[0])),S.Normalizations.registered[u]&&(o=S.Normalizations.registered[u]("extract",t,o)),l=S.Hooks.extractValue(c,o)}else if(S.Normalizations.registered[i]){var d,h;d=S.Normalizations.registered[i]("name",t),"transform"!==d&&(h=a(t,S.Names.prefixCheck(d)[0]),S.Values.isCSSNullValue(h)&&S.Hooks.templates[i]&&(h=S.Hooks.templates[i][1])),l=S.Normalizations.registered[i]("extract",t,h)}if(!/^[\d-]/.test(l))if(s(t)&&s(t).isSVG&&S.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()[i]}catch(m){l=0}else l=t.getAttribute(i);else l=a(t,S.Names.prefixCheck(i)[0]);return S.Values.isCSSNullValue(l)&&(l=0),w.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,o,r){var a=i;if("scroll"===i)r.container?r.container["scroll"+r.direction]=n:"Left"===r.direction?e.scrollTo(n,r.alternateValue):e.scrollTo(r.alternateValue,n);else if(S.Normalizations.registered[i]&&"transform"===S.Normalizations.registered[i]("name",t))S.Normalizations.registered[i]("inject",t,n),a="transform",n=s(t).transformCache[i];else{if(S.Hooks.registered[i]){var l=i,c=S.Hooks.getRoot(i);o=o||S.getPropertyValue(t,c),n=S.Hooks.injectValue(l,n,o),i=c}if(S.Normalizations.registered[i]&&(n=S.Normalizations.registered[i]("inject",t,n),i=S.Normalizations.registered[i]("name",t)),a=S.Names.prefixCheck(i)[0],f<=8)try{t.style[a]=n}catch(u){w.debug&&console.log("Browser does not support ["+n+"] for ["+a+"]")}else s(t)&&s(t).isSVG&&S.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[a]=n;w.debug>=2&&console.log("Set "+i+" ("+a+"): "+n)}return[a,n]},flushTransformCache:function(t){function e(e){return parseFloat(S.getPropertyValue(t,e))}var i="";if((f||w.State.isAndroid&&!w.State.isChrome)&&s(t).isSVG){var n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};p.each(s(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(i+=t+"("+n[t].join(" ")+") ",delete n[t])})}else{var o,r;p.each(s(t).transformCache,function(e){return o=s(t).transformCache[e],"transformPerspective"===e?(r=o,!0):(9===f&&"rotateZ"===e&&(e="rotate"),void(i+=e+o+" "))}),r&&(i="perspective"+r+" "+i)}S.setPropertyValue(t,"transform",i)}};S.Hooks.register(),S.Normalizations.register(),w.hook=function(t,e,i){var o=n;return t=r(t),p.each(t,function(t,r){if(s(r)===n&&w.init(r),i===n)o===n&&(o=w.CSS.getPropertyValue(r,e));else{var a=w.CSS.setPropertyValue(r,e,i);"transform"===a[0]&&w.CSS.flushTransformCache(r),o=a}}),o};var x=function(){function t(){return a?P.promise||null:l}function o(){function t(t){function d(t,e){var i=n,o=n,s=n;return m.isArray(t)?(i=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||S.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!S.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(o=e?t[1]:c(t[1],a.duration),t[2]!==n&&(s=t[2]))):i=t,e||(o=o||a.easing),m.isFunction(i)&&(i=i.call(r,T,C)),m.isFunction(s)&&(s=s.call(r,T,C)),[i||0,o,s]}function f(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return i=t,""}),i||(i=S.Values.getUnitType(t)),[n,i]}function v(){var t={myParent:r.parentNode||i.body,position:S.getPropertyValue(r,"position"),fontSize:S.getPropertyValue(r,"fontSize")},n=t.position===M.lastPosition&&t.myParent===M.lastParent,o=t.fontSize===M.lastFontSize;M.lastParent=t.myParent,M.lastPosition=t.position,M.lastFontSize=t.fontSize;var a=100,l={};if(o&&n)l.emToPx=M.lastEmToPx,l.percentToPxWidth=M.lastPercentToPxWidth,l.percentToPxHeight=M.lastPercentToPxHeight;else{var c=s(r).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");w.init(c),t.myParent.appendChild(c),p.each(["overflow","overflowX","overflowY"],function(t,e){w.CSS.setPropertyValue(c,e,"hidden")}),w.CSS.setPropertyValue(c,"position",t.position),w.CSS.setPropertyValue(c,"fontSize",t.fontSize),w.CSS.setPropertyValue(c,"boxSizing","content-box"),p.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){w.CSS.setPropertyValue(c,e,a+"%")}),w.CSS.setPropertyValue(c,"paddingLeft",a+"em"),l.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(S.getPropertyValue(c,"width",null,!0))||1)/a,l.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(S.getPropertyValue(c,"height",null,!0))||1)/a,l.emToPx=M.lastEmToPx=(parseFloat(S.getPropertyValue(c,"paddingLeft"))||1)/a,t.myParent.removeChild(c)}return null===M.remToPx&&(M.remToPx=parseFloat(S.getPropertyValue(i.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(e.innerWidth)/100,M.vhToPx=parseFloat(e.innerHeight)/100),l.remToPx=M.remToPx,l.vwToPx=M.vwToPx,l.vhToPx=M.vhToPx,w.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),r),l}if(a.begin&&0===T)try{a.begin.call(h,h)}catch(b){setTimeout(function(){throw b},1)}if("scroll"===E){var x,k,_,I=/^x$/i.test(a.axis)?"Left":"Top",O=parseFloat(a.offset)||0;a.container?m.isWrapped(a.container)||m.isNode(a.container)?(a.container=a.container[0]||a.container,x=a.container["scroll"+I],_=x+p(r).position()[I.toLowerCase()]+O):a.container=null:(x=w.State.scrollAnchor[w.State["scrollProperty"+I]],k=w.State.scrollAnchor[w.State["scrollProperty"+("Left"===I?"Top":"Left")]],_=p(r).offset()[I.toLowerCase()]+O),l={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:_,unitType:"",easing:a.easing,scrollData:{container:a.container,direction:I,alternateValue:k}},element:r},w.debug&&console.log("tweensContainer (scroll): ",l.scroll,r)}else if("reverse"===E){if(!s(r).tweensContainer)return void p.dequeue(r,a.queue);"none"===s(r).opts.display&&(s(r).opts.display="auto"),"hidden"===s(r).opts.visibility&&(s(r).opts.visibility="visible"),s(r).opts.loop=!1,s(r).opts.begin=null,s(r).opts.complete=null,y.easing||delete a.easing,y.duration||delete a.duration,a=p.extend({},s(r).opts,a);var L=p.extend(!0,{},s(r).tweensContainer);for(var A in L)if("element"!==A){var z=L[A].startValue;L[A].startValue=L[A].currentValue=L[A].endValue,L[A].endValue=z,m.isEmptyObject(y)||(L[A].easing=a.easing),w.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(L[A]),r)}l=L}else if("start"===E){var L;s(r).tweensContainer&&s(r).isAnimating===!0&&(L=s(r).tweensContainer),p.each(g,function(t,e){if(RegExp("^"+S.Lists.colors.join("$|^")+"$").test(t)){var i=d(e,!0),o=i[0],r=i[1],s=i[2];if(S.RegEx.isHex.test(o)){for(var a=["Red","Green","Blue"],l=S.Values.hexToRgb(o),c=s?S.Values.hexToRgb(s):n,u=0;u<a.length;u++){var p=[l[u]];r&&p.push(r),c!==n&&p.push(c[u]),g[t+a[u]]=p}delete g[t]}}});for(var D in g){var $=d(g[D]),B=$[0],H=$[1],F=$[2];D=S.Names.camelCase(D);var W=S.Hooks.getRoot(D),j=!1;if(s(r).isSVG||"tween"===W||S.Names.prefixCheck(W)[1]!==!1||S.Normalizations.registered[W]!==n){(a.display!==n&&null!==a.display&&"none"!==a.display||a.visibility!==n&&"hidden"!==a.visibility)&&/opacity|filter/.test(D)&&!F&&0!==B&&(F=0),a._cacheValues&&L&&L[D]?(F===n&&(F=L[D].endValue+L[D].unitType),j=s(r).rootPropertyValueCache[W]):S.Hooks.registered[D]?F===n?(j=S.getPropertyValue(r,W),F=S.getPropertyValue(r,D,j)):j=S.Hooks.templates[W][1]:F===n&&(F=S.getPropertyValue(r,D));var Y,V,X,N=!1;if(Y=f(D,F),F=Y[0],X=Y[1],Y=f(D,B),B=Y[0].replace(/^([+-\/*])=/,function(t,e){return N=e,""}),V=Y[1],F=parseFloat(F)||0,B=parseFloat(B)||0,"%"===V&&(/^(fontSize|lineHeight)$/.test(D)?(B/=100,V="em"):/^scale/.test(D)?(B/=100,V=""):/(Red|Green|Blue)$/i.test(D)&&(B=B/100*255,V="")),/[\/*]/.test(N))V=X;else if(X!==V&&0!==F)if(0===B)V=X;else{ 52o=o||v();var q=/margin|padding|left|right|width|text|word|letter/i.test(D)||/X$/.test(D)||"x"===D?"x":"y";switch(X){case"%":F*="x"===q?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:F*=o[X+"ToPx"]}switch(V){case"%":F*=1/("x"===q?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:F*=1/o[V+"ToPx"]}}switch(N){case"+":B=F+B;break;case"-":B=F-B;break;case"*":B=F*B;break;case"/":B=F/B}l[D]={rootPropertyValue:j,startValue:F,currentValue:F,endValue:B,unitType:V,easing:H},w.debug&&console.log("tweensContainer ("+D+"): "+JSON.stringify(l[D]),r)}else w.debug&&console.log("Skipping ["+W+"] due to a lack of browser support.")}l.element=r}l.element&&(S.Values.addClass(r,"velocity-animating"),R.push(l),""===a.queue&&(s(r).tweensContainer=l,s(r).opts=a),s(r).isAnimating=!0,T===C-1?(w.State.calls.push([R,h,a,null,P.resolver]),w.State.isTicking===!1&&(w.State.isTicking=!0,u())):T++)}var o,r=this,a=p.extend({},w.defaults,y),l={};switch(s(r)===n&&w.init(r),parseFloat(a.delay)&&a.queue!==!1&&p.queue(r,a.queue,function(t){w.velocityQueueEntryFlag=!0,s(r).delayTimer={setTimeout:setTimeout(t,parseFloat(a.delay)),next:t}}),a.duration.toString().toLowerCase()){case"fast":a.duration=200;break;case"normal":a.duration=v;break;case"slow":a.duration=600;break;default:a.duration=parseFloat(a.duration)||1}w.mock!==!1&&(w.mock===!0?a.duration=a.delay=1:(a.duration*=parseFloat(w.mock)||1,a.delay*=parseFloat(w.mock)||1)),a.easing=c(a.easing,a.duration),a.begin&&!m.isFunction(a.begin)&&(a.begin=null),a.progress&&!m.isFunction(a.progress)&&(a.progress=null),a.complete&&!m.isFunction(a.complete)&&(a.complete=null),a.display!==n&&null!==a.display&&(a.display=a.display.toString().toLowerCase(),"auto"===a.display&&(a.display=w.CSS.Values.getDisplayType(r))),a.visibility!==n&&null!==a.visibility&&(a.visibility=a.visibility.toString().toLowerCase()),a.mobileHA=a.mobileHA&&w.State.isMobile&&!w.State.isGingerbread,a.queue===!1?a.delay?setTimeout(t,a.delay):t():p.queue(r,a.queue,function(e,i){return i===!0?(P.promise&&P.resolver(h),!0):(w.velocityQueueEntryFlag=!0,void t(e))}),""!==a.queue&&"fx"!==a.queue||"inprogress"===p.queue(r)[0]||p.dequeue(r)}var a,l,f,h,g,y,b=arguments[0]&&(arguments[0].p||p.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(a=!1,f=0,h=this,l=this):(a=!0,f=1,h=b?arguments[0].elements||arguments[0].e:arguments[0]),h=r(h)){b?(g=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(g=arguments[f],y=arguments[f+1]);var C=h.length,T=0;if(!/^(stop|finish)$/i.test(g)&&!p.isPlainObject(y)){var k=f+1;y={};for(var _=k;_<arguments.length;_++)m.isArray(arguments[_])||!/^(fast|normal|slow)$/i.test(arguments[_])&&!/^\d/.test(arguments[_])?m.isString(arguments[_])||m.isArray(arguments[_])?y.easing=arguments[_]:m.isFunction(arguments[_])&&(y.complete=arguments[_]):y.duration=arguments[_]}var P={promise:null,resolver:null,rejecter:null};a&&w.Promise&&(P.promise=new w.Promise(function(t,e){P.resolver=t,P.rejecter=e}));var E;switch(g){case"scroll":E="scroll";break;case"reverse":E="reverse";break;case"finish":case"stop":p.each(h,function(t,e){s(e)&&s(e).delayTimer&&(clearTimeout(s(e).delayTimer.setTimeout),s(e).delayTimer.next&&s(e).delayTimer.next(),delete s(e).delayTimer)});var I=[];return p.each(w.State.calls,function(t,e){e&&p.each(e[1],function(i,o){var r=y===n?"":y;return r!==!0&&e[2].queue!==r&&(y!==n||e[2].queue!==!1)||void p.each(h,function(i,n){n===o&&((y===!0||m.isString(y))&&(p.each(p.queue(n,m.isString(y)?y:""),function(t,e){m.isFunction(e)&&e(null,!0)}),p.queue(n,m.isString(y)?y:"",[])),"stop"===g?(s(n)&&s(n).tweensContainer&&r!==!1&&p.each(s(n).tweensContainer,function(t,e){e.endValue=e.currentValue}),I.push(t)):"finish"===g&&(e[2].duration=1))})})}),"stop"===g&&(p.each(I,function(t,e){d(e,!0)}),P.promise&&P.resolver(h)),t();default:if(!p.isPlainObject(g)||m.isEmptyObject(g)){if(m.isString(g)&&w.Redirects[g]){var O=p.extend({},y),L=O.duration,A=O.delay||0;return O.backwards===!0&&(h=p.extend(!0,[],h).reverse()),p.each(h,function(t,e){parseFloat(O.stagger)?O.delay=A+parseFloat(O.stagger)*t:m.isFunction(O.stagger)&&(O.delay=A+O.stagger.call(e,t,C)),O.drag&&(O.duration=parseFloat(L)||(/^(callout|transition)/.test(g)?1e3:v),O.duration=Math.max(O.duration*(O.backwards?1-t/C:(t+1)/C),.75*O.duration,200)),w.Redirects[g].call(e,e,O||{},t,C,h,P.promise?P:n)}),t()}var z="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return P.promise?P.rejecter(new Error(z)):console.log(z),t()}E="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},R=[];p.each(h,function(t,e){m.isNode(e)&&o.call(e)});var D,O=p.extend({},w.defaults,y);if(O.loop=parseInt(O.loop),D=2*O.loop-1,O.loop)for(var $=0;$<D;$++){var B={delay:O.delay,progress:O.progress};$===D-1&&(B.display=O.display,B.visibility=O.visibility,B.complete=O.complete),x(h,"reverse",B)}return t()}};w=p.extend(x,w),w.animate=x;var C=e.requestAnimationFrame||h;return w.State.isMobile||i.hidden===n||i.addEventListener("visibilitychange",function(){i.hidden?(C=function(t){return setTimeout(function(){t(!0)},16)},u()):C=e.requestAnimationFrame||h}),t.Velocity=w,t!==e&&(t.fn.velocity=x,t.fn.velocity.defaults=w.defaults),p.each(["Down","Up"],function(t,e){w.Redirects["slide"+e]=function(t,i,o,r,s,a){var l=p.extend({},i),c=l.begin,u=l.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};l.display===n&&(l.display="Down"===e?"inline"===w.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){c&&c.c
52all(s,s);for(var i in d){f[i]=t.style[i];var n=w.CSS.getPropertyValue(t,i);d[i]="Down"===e?[n,0]:[0,n]}f.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in f)t.style[e]=f[e];u&&u.call(s,s),a&&a.resolver(s)},w(t,d,l)}}),p.each(["In","Out"],function(t,e){w.Redirects["fade"+e]=function(t,i,o,r,s,a){var l=p.extend({},i),c={opacity:"In"===e?1:0},u=l.complete;o!==r-1?l.complete=l.begin=null:l.complete=function(){u&&u.call(s,s),a&&a.resolver(s)},l.display===n&&(l.display="In"===e?"auto":"none"),w(this,c,l)}}),w}(window.jQuery||window.Zepto||window,window,document)})},555:function(t,e,i){!function(e){t.exports=e()}(function(){return function(t,e,i,n){function o(t,e){var i=[];return!(!t||!e)&&(s.each([t,e],function(t,e){var n=[];s.each(e,function(t,e){for(;e.toString().length<5;)e="0"+e;n.push(e)}),i.push(n.join(""))}),parseFloat(i[0])>parseFloat(i[1]))}if(!t.Velocity||!t.Velocity.Utilities)return void(e.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var r=t.Velocity,s=r.Utilities,a=r.version,l={major:1,minor:1,patch:0};if(o(l,a)){var c="Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(c),new Error(c)}r.RegisterEffect=r.RegisterUI=function(t,e){function i(t,e,i,n){var o,a=0;s.each(t.nodeType?[t]:t,function(t,e){n&&(i+=t*n),o=e.parentNode,s.each(["height","paddingTop","paddingBottom","marginTop","marginBottom"],function(t,i){a+=parseFloat(r.CSS.getPropertyValue(e,i))})}),r.animate(o,{height:("In"===e?"+":"-")+"="+a},{queue:!1,easing:"ease-in-out",duration:i*("In"===e?.6:1)})}return r.Redirects[t]=function(o,a,l,c,u,d){function p(){a.display!==n&&"none"!==a.display||!/Out$/.test(t)||s.each(u.nodeType?[u]:u,function(t,e){r.CSS.setPropertyValue(e,"display","none")}),a.complete&&a.complete.call(u,u),d&&d.resolver(u||o)}var f=l===c-1;"function"==typeof e.defaultDuration?e.defaultDuration=e.defaultDuration.call(u,u):e.defaultDuration=parseFloat(e.defaultDuration);for(var h=0;h<e.calls.length;h++){var m=e.calls[h],g=m[0],v=a.duration||e.defaultDuration||1e3,y=m[1],w=m[2]||{},b={};if(b.duration=v*(y||1),b.queue=a.queue||"",b.easing=w.easing||"ease",b.delay=parseFloat(w.delay)||0,b._cacheValues=w._cacheValues||!0,0===h){if(b.delay+=parseFloat(a.delay)||0,0===l&&(b.begin=function(){a.begin&&a.begin.call(u,u);var e=t.match(/(In|Out)$/);e&&"In"===e[0]&&g.opacity!==n&&s.each(u.nodeType?[u]:u,function(t,e){r.CSS.setPropertyValue(e,"opacity",0)}),a.animateParentHeight&&e&&i(u,e[0],v+b.delay,a.stagger)}),null!==a.display)if(a.display!==n&&"none"!==a.display)b.display=a.display;else if(/In$/.test(t)){var S=r.CSS.Values.getDisplayType(o);b.display="inline"===S?"inline-block":S}a.visibility&&"hidden"!==a.visibility&&(b.visibility=a.visibility)}h===e.calls.length-1&&(b.complete=function(){if(e.reset){for(var t in e.reset){var i=e.reset[t];r.CSS.Hooks.registered[t]!==n||"string"!=typeof i&&"number"!=typeof i||(e.reset[t]=[e.reset[t],e.reset[t]])}var s={duration:0,queue:!1};f&&(s.complete=p),r.animate(o,e.reset,s)}else f&&p()},"hidden"===a.visibility&&(b.visibility=a.visibility)),r.animate(o,g,b)}},r},r.RegisterEffect.packagedEffects={"callout.bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125],[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration:800,calls:[[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:0},.125]]},"callout.flash":{defaultDuration:1100,calls:[[{opacity:[0,"easeInOutQuad",1]},.25],[{opacity:[1,"easeInOutQuad"]},.25],[{opacity:[0,"easeInOutQuad"]},.25],[{opacity:[1,"easeInOutQuad"]},.25]]},"callout.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5,{easing:"easeInExpo"}],[{scaleX:1,scaleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15},.2],[{rotateZ:-10},.2],[{rotateZ:5},.2],[{rotateZ:-5},.2],[{rotateZ:0},.2]]},"callout.tada":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scaleX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"transition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{defaultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defaultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10},.5],[{opacity:0,rotateY:90},.5]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounceYIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15},.5],[{opacity:0,rotateX:90},.5]],reset:{transformPerspective:0,rotateX:0}},"transition.swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","50%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-700],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"transition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,scaleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlOut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{defaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transition.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],scaleY:[1.05,.3]},.4],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},.5]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scaleY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{translateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-10},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,calls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],reset:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{translateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{translateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{translateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{translateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translateX:0}}
vendor: 4,428 bytes, line 52
52,"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transition.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],translateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transition.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,translateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{translateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveUpOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}};for(var u in r.RegisterEffect.packagedEffects)r.RegisterEffect(u,r.RegisterEffect.packagedEffects[u]);r.RunSequence=function(t){var e=s.extend(!0,[],t);e.length>1&&(s.each(e.reverse(),function(t,i){var n=e[t+1];if(n){var o=i.o||i.options,a=n.o||n.options,l=o&&o.sequenceQueue===!1?"begin":"complete",c=a&&a[l],u={};u[l]=function(){var t=n.e||n.elements,e=t.nodeType?[t]:t;c&&c.call(e,e),r(i)},n.o?n.o=s.extend({},a,u):n.options=s.extend({},a,u)}}),e.reverse()),r(e[0])}}(window.jQuery||window.Zepto||window,window,document)})}
52,556:function(t,e,i){var n,o,r;!function(s){"use strict";o=[i(1)],n=s,r="function"==typeof n?n.apply(e,o):n,!(void 0!==r&&(t.exports=r))}(function(t){"use strict";var e=window.Slick||{};e=function(){function e(e,n){var o,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" data-role="none" role="button" tabindex="0" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(e),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,o=t(e).data("slick")||{},r.options=t.extend({},r.defaults,n,o),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,"undefined"!=typeof document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.instanceUid=i++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}var i=0;return e}(),e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):n===!0?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),o.options.rtl===!0&&o.options.vertical===!1&&(e=-e),o.transformsEnabled===!1?o.options.vertical===!1?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):o.cssTransitions===!1?(o.options.rtl===!0&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),o.options.vertical===!1?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),o.options.vertical===!1?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.getNavTarget=function(){var e=this,i=e.options.asNavFor;return i&&null!==i&&(i=t(i).not(e.$slider)),i},e.prototype.asNavFor=function(e){var i=this,n=i.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};e.options.fade===!1?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
52t.paused||t.interrupted||t.focussed||(t.options.infinite===!1&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1===0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,n=this;if(n.options.dots===!0&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)i.append(t("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),e.options.centerMode!==!0&&e.options.swipeToSlide!==!0||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,r,s,a=this;if(n=document.createDocumentFragment(),r=a.$slider.children(),a.options.rows>1){for(s=a.options.slidesPerRow*a.options.rows,o=Math.ceil(r.length/s),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var u=t*s+(e*a.options.slidesPerRow+i);r.get(u)&&c.appendChild(r.get(u))}l.appendChild(c)}n.appendChild(l)}a.$slider.empty().append(n),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var n,o,r,s=this,a=!1,l=s.$slider.width(),c=window.innerWidth||t(window).width();if("window"===s.respondTo?r=c:"slider"===s.respondTo?r=l:"min"===s.respondTo&&(r=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){o=null;for(n in s.breakpoints)s.breakpoints.hasOwnProperty(n)&&(s.originalSettings.mobileFirst===!1?r<s.breakpoints[n]&&(o=s.breakpoints[n]):r>s.breakpoints[n]&&(o=s.breakpoints[n]));null!==o?null!==s.activeBreakpoint?(o!==s.activeBreakpoint||i)&&(s.activeBreakpoint=o,"unslick"===s.breakpointSettings[o]?s.unslick(o):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[o]),e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=o):(s.activeBreakpoint=o,"unslick"===s.breakpointSettings[o]?s.unslick(o):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[o]),e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=o):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,e===!0&&(s.currentSlide=s.options.initialSlide),s.refresh(e),a=o),e||a===!1||s.$slider.trigger("breakpoint",[s,a])}},e.prototype.changeSlide=function(e,i){var n,o,r,s=this,a=t(e.currentTarget);switch(a.is("a")&&e.preventDefault(),a.is("li")||(a=a.closest("li")),r=s.slideCount%s.options.slidesToScroll!==0,n=r?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var l=0===e.data.index?0:e.data.index||a.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i,n=this;if(e=n.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
52slick",t.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){ 53var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;i.cssTransitions===!1?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;e.cssTransitions===!1?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(i){i.stopImmediatePropagation();var n=t(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=n.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(t.options.infinite===!0)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(t.options.centerMode===!0)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},e.prototype.getLeft=function(t){var e,i,n,o=this,r=0;return o.slideOffset=0,i=o.$slides.first().outerHeight(!0),o.options.infinite===!0?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=i*o.options.slidesToShow*-1),o.slideCount%o.options.slidesToScroll!==0&&t+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(t>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(t-o.slideCount))*o.slideWidth*-1,r=(o.options.slidesToShow-(t-o.slideCount))*i*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,r=o.slideCount%o.options.slidesToScroll*i*-1))):t+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(t+o.options.slidesToShow-o.slideCount)*o.slideWidth,r=(t+o.options.slidesToShow-o.slideCount)*i),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,r=0),o.options.centerMode===!0&&o.options.infinite===!0?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:o.options.centerMode===!0&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),e=o.options.vertical===!1?t*o.slideWidth*-1+o.slideOffset:t*i*-1+r,o.options.variableWidth===!0&&(n=o.slideCount<=o.options.slidesToShow||o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow),e=o.options.rtl===!0?n[0]?(o.$slideTrack.width()-n[0].offsetLeft-n.width())*-1:0:n[0]?n[0].offsetLeft*-1:0,o.options.centerMode===!0&&(n=o.slideCount<=o.options.slidesToShow||o.options.infinite===!1?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow+1),e=o.options.rtl===!0?n[0]?(o.$slideTrack.width()-n[0].offsetLeft-n.width())*-1:0:n[0]?n[0].offsetLeft*-1:0,e+=(o.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(e.options.infinite===!1?t=e.slideCount:(i=e.options.slidesToScroll*-1,n=e.options.slidesToScroll*-1,t=2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n,o=this;return n=o.options.centerMode===!0?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,o.options.swipeToSlide===!0?(o.$slideTrack.find(".slick-slide").each(function(e,r){if(r.offsetLeft-n+t(r).outerWidth()/2>o.swipeLeft*-1)return i=r,!1}),e=Math.abs(t(i).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var i=this;
53i.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),i.options.accessibility===!0&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){t(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+i})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(i){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+i,id:"slick-slide"+e.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
53,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0}
53,100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),s.$slider.trigger("lazyLoaded",[s,e,i])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,i])},n.src=i})}var i,n,o,r,s=this;s.options.centerMode===!0?s.options.infinite===!0?(o=s.currentSlide+(s.options.slidesToShow/2+1),r=o+s.options.slidesToShow+2):(o=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),r=2+(s.options.slidesToShow/2+1)+s.currentSlide):(o=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,r=Math.ceil(o+s.options.slidesToShow),s.options.fade===!0&&(o>0&&o--,r<=s.slideCount&&r++)),i=s.$slider.find(".slick-slide").slice(o,r),e(i),s.slideCount<=s.options.slidesToShow?(n=s.$slider.find(".slick-slide"),e(n)):s.currentSlide>=s.slideCount-s.options.slidesToShow?(n=s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow),e(n)):0===s.currentSlide&&(n=s.$slider.find(".slick-cloned").slice(s.options.slidesToShow*-1),e(n))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.options.accessibility===!0&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,o,r=this,s=t("img[data-lazy]",r.$slider);s.length?(i=s.first(),n=i.attr("data-lazy"),o=document.createElement("img"),o.onload=function(){i.attr("src",n).removeAttr("data-lazy").removeClass("slick-loading"),r.options.adaptiveHeight===!0&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,i,n]),r.progressiveLazyLoad()},o.onerror=function(){e<3?setTimeout(function(){r.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,i,n]),r.progressiveLazyLoad())},o.src=n):r.$slider.trigger("allImagesLoaded",[r])},e.prototype.refresh=function(e){var i,n,o=this;n=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>n&&(o.currentSlide=n),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,o=this,r=o.options.responsive||null;if("array"===t.type(r)&&r.length){o.respondTo=o.options.respondTo||"window";for(e in r)if(n=o.breakpoints.length-1,i=r[e].breakpoint,r.hasOwnProperty(e)){for(;n>=0;)o.breakpoints[n]&&o.breakpoints[n]===i&&o.breakpoints.splice(n,1),n--;o.breakpoints.push(i),o.breakpointSettings[i]=r[e].settings}o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))}
53,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;return"boolean"==typeof t?(e=t,t=e===!0?0:n.slideCount-1):t=e===!0?--t:t,!(n.slideCount<1||t<0||t>n.slideCount-1)&&(n.unload(),i===!0?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},e.prototype.setCSS=function(t){var e,i,n=this,o={};n.options.rtl===!0&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,n.transformsEnabled===!1?n.$slideTrack.css(o):(o={},n.cssTransitions===!1?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,o){e=i.slideWidth*n*-1,i.options.rtl===!0?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
53):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,n,o,r,s=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],r="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?r="responsive":"undefined"!=typeof arguments[1]&&(r="single")),"single"===r)s.options[n]=o;else if("multiple"===r)t.each(n,function(t,e){s.options[t]=e});else if("responsive"===r)for(i in o)if("array"!==t.type(s.options.responsive))s.options.responsive=[o[i]];else{for(e=s.options.responsive.length-1;e>=0;)s.options.responsive[e].breakpoint===o[i].breakpoint&&s.options.responsive.splice(e,1),e--;s.options.responsive.push(o[i])}a&&(s.unload(),s.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||t.options.useCSS===!0&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,i,n,o,r=this;i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),r.options.centerMode===!0?(e=Math.floor(r.options.slidesToShow/2),r.options.infinite===!0&&(t>=e&&t<=r.slideCount-1-e?r.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=r.options.slidesToShow+t,i.slice(n-e+1,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")):t>=0&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,n=r.options.infinite===!0?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?i.slice(n-(r.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===r.options.lazyLoad&&r.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(o.options.fade===!0&&(o.options.centerMode=!1),o.options.infinite===!0&&o.options.fade===!1&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=o.options.centerMode===!0?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<n;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){var e=this;t||e.autoPlay(),e.interrupted=t},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));return o||(o=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(o),void i.asNavFor(o)):void i.slideHandler(o)}
53,e.prototype.slideHandler=function(t,e,i){var n,o,r,s,a,l=null,c=this;if(e=e||!1,(c.animating!==!0||c.options.waitForAnimate!==!0)&&!(c.options.fade===!0&&c.currentSlide===t||c.slideCount<=c.options.slidesToShow))return e===!1&&c.asNavFor(t),n=t,l=c.getLeft(n),s=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,c.options.infinite===!1&&c.options.centerMode===!1&&(t<0||t>c.getDotCount()*c.options.slidesToScroll)?void(c.options.fade===!1&&(n=c.currentSlide,i!==!0?c.animateSlide(s,function(){c.postSlide(n)}):c.postSlide(n))):c.options.infinite===!1&&c.options.centerMode===!0&&(t<0||t>c.slideCount-c.options.slidesToScroll)?void(c.options.fade===!1&&(n=c.currentSlide,i!==!0?c.animateSlide(s,function(){c.postSlide(n)}):c.postSlide(n))):(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=n<0?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),r=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=c.getNavTarget(),a=a.slick("getSlick"),a.slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide)),c.updateDots(),c.updateArrows(),c.options.fade===!0?(i!==!0?(c.fadeSlideOut(r),c.fadeSlide(o,function(){c.postSlide(o)})):c.postSlide(o),void c.animateHeight()):void(i!==!0?c.animateSlide(l,function(){c.postSlide(o)}):c.postSlide(o)))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),n=Math.round(180*i/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0?o.options.rtl===!1?"left":"right":n<=360&&n>=315?o.options.rtl===!1?"left":"right":n>=135&&n<=225?o.options.rtl===!1?"right":"left":o.options.verticalSwiping===!0?n>=35&&n<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(n.touchObject.edgeHit===!0&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&t.type.indexOf("mouse")!==-1))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,r,s=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!s.dragging||r&&1!==r.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,s.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),s.options.verticalSwiping===!0&&(s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2)))),i=s.swipeDirection(),"vertical"!==i?(void 0!==t.originalEvent&&s.touchObject.swipeLength>4&&t.preventDefault(),o=(s.options.rtl===!1?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),s.options.verticalSwiping===!0&&(o=s.touchObject.curY>s.touchObject.startY?1:-1),n=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,s.options.infinite===!1&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(n=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),s.options.vertical===!1?s.swipeLeft=e+n*o:s.swipeLeft=e+n*(s.$list.height()/s.listWidth)*o,s.options.verticalSwiping===!0&&(s.swipeLeft=e+n*o),s.options.fade!==!0&&s.options.touchMove!==!1&&(s.animating===!0?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
53,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,n=this,o=arguments[0],r=Array.prototype.slice.call(arguments,1),s=n.length;for(t=0;t<s;t++)if("object"==typeof o||"undefined"==typeof o?n[t].slick=new e(n[t],o):i=n[t].slick[o].apply(n[t].slick,r),"undefined"!=typeof i)return i;return n}})},557:function(t,e,i){var n,o,r,n,s,o,a,o,l,o,n,c,o,n,u,o,d,o,p,o,f,o,h,o,n,m,o,n,g,o,n,v,o,n,y,o,n,w,o,n,b,o,r;/*! 54 * Isotope PACKAGED v2.2.2 55 * 56 * Licensed GPLv3 for open source use 57 * or Isotope Commercial License for commercial use 58 * 59 * http://isotope.metafizzy.co 60 * Copyright 2015 Metafizzy 61 */ 62!function(s){function a(){}function l(t){function e(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function i(e,i){t.fn[e]=function(o){if("string"==typeof o){for(var r=c.call(arguments,1),s=0,a=this.length;s<a;s++){var l=this[s],u=t.data(l,e);if(u)if(t.isFunction(u[o])&&"_"!==o.charAt(0)){var d=u[o].apply(u,r);if(void 0!==d)return d}else n("no such method '"+o+"' for "+e+" instance");else n("cannot call methods on "+e+" prior to initialization; attempted to call '"+o+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(o),n._init()):(n=new i(this,o),t.data(this,e,n))})}}if(t){var n="undefined"==typeof console?a:function(t){console.error(t)};return t.bridget=function(t,n){e(n),i(t,n)},t.bridget}}var c=Array.prototype.slice;o=[i(1)],n=l,r="function"==typeof n?n.apply(e,o):n,!(void 0!==r&&(t.exports=r))}(window),/*! 63 * eventie v1.0.6 64 * event binding helper 65 * eventie.bind( elem, 'click', myFn ) 66 * eventie.unbind( elem, 'click', myFn ) 67 * MIT license 68 */ 69function(o){function r(t){var e=o.event;return e.target=e.target||e.srcElement||t,e}var a=document.documentElement,l=function(){};a.addEventListener?l=function(t,e,i){t.addEventListener(e,i,!1)}:a.attachEvent&&(l=function(t,e,i){t[e+i]=i.handleEvent?function(){var e=r(t);i.handleEvent.call(i,e)}:function(){var e=r(t);i.call(t,e)},t.attachEvent("on"+e,t[e+i])});var c=function(){};a.removeEventListener?c=function(t,e,i){t.removeEventListener(e,i,!1)}:a.detachEvent&&(c=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var u={bind:l,unbind:c};n=u,!(s="function"==typeof n?n.call(e,i,e,t):n)}(window),function(){"use strict";function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,r=this,s=r.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),r="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&e(o[n],i)===-1&&o[n].push(r?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,r=this.getListenersAsObject(t);for(o in r)r.hasOwnProperty(o)&&(n=e(r[o],i),n!==-1&&r[o].splice(n,1));return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
69,n.manipulateListeners=function(t,e,i){var n,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?r.call(this,n,o):s.call(this,n,o));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,o,r,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)i=s[o][n],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return r.EventEmitter=s,t},o=[],!(a=function(){return t}.apply(r,o))}.call(this),/*! 70 * getStyleProperty v1.0.4 71 * original by kangax 72 * http://perfectionkills.com/feature-testing-css-properties/ 73 * MIT license 74 */ 75function(t){function i(t){if(t){if("string"==typeof r[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,i=0,o=n.length;i<o;i++)if(e=n[i]+t,"string"==typeof r[e])return e}}var n="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;o=[],!(l=function(){return i}.apply(e,o))}(window),/*! 76 * getSize v1.2.2 77 * measure size of elements 78 * MIT license 79 */ 80function(t,i){function r(t){var e=parseFloat(t),i=t.indexOf("%")===-1&&!isNaN(e);return i&&e}function s(){}function a(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=p.length;e<i;e++){var n=p[e];t[n]=0}return t}function u(e){function i(){if(!u){u=!0;var i=t.getComputedStyle;if(s=function(){var t=i?function(t){return i(t,null)}:function(t){return t.currentStyle};return function(e){var i=t(e);return i||d("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),l=e("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[l]="border-box";var o=document.body||document.documentElement;o.appendChild(n);var a=s(n);c=200===r(a.width),o.removeChild(n)}}}function n(t){if(i(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=s(t);if("none"===e.display)return a();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var u=n.isBorderBox=!(!l||!e[l]||"border-box"!==e[l]),d=0,f=p.length;d<f;d++){var h=p[d],m=e[h];m=o(t,m);var g=parseFloat(m);n[h]=isNaN(g)?0:g}var v=n.paddingLeft+n.paddingRight,y=n.paddingTop+n.paddingBottom,w=n.marginLeft+n.marginRight,b=n.marginTop+n.marginBottom,S=n.borderLeftWidth+n.borderRightWidth,x=n.borderTopWidth+n.borderBottomWidth,C=u&&c,T=r(e.width);T!==!1&&(n.width=T+(C?0:v+S));var k=r(e.height);return k!==!1&&(n.height=k+(C?0:y+x)),n.innerWidth=n.width-(v+S),n.innerHeight=n.height-(y+x),n.outerWidth=n.width+w,n.outerHeight=n.height+b,n}}function o(e,i){if(t.getComputedStyle||i.indexOf("%")===-1)return i;var n=e.style,o=n.left,r=e.runtimeStyle,s=r&&r.left;return s&&(r.left=e.currentStyle.left),n.left=i,i=n.pixelLeft,n.left=o,s&&(r.left=s),i}var s,l,c,u=!1;return n}var d="undefined"==typeof console?s:function(t){console.error(t)},p=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];o=[l],n=u,!(c="function"==typeof n?n.apply(e,o):n)}(window),/*! 81 * docReady v1.0.4 82 * Cross browser DOMContentLoaded event emitter 83 * MIT license 84 */ 85function(t){function i(t){"function"==typeof t&&(i.isReady?t():d.push(t))}function r(t){var e="readystatechange"===t.type&&"complete"!==c.readyState;i.isReady||e||a()}function a(){i.isReady=!0;for(var t=0,e=d.length;t<e;t++){var n=d[t];n()}}function l(e){return"complete"===c.readyState?a():(e.bind(c,"DOMContentLoaded",r),e.bind(c,"readystatechange",r),e.bind(t,"load",r)),i}var c=t.document,d=[];i.isReady=!1,o=[s],n=l,!(u="function"==typeof n?n.apply(e,o):n)}(window),function(t){"use strict";function i(t,e){return t[l](e)}function n(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function r(t,e){n(t);for(var i=t.parentNode.querySelectorAll(e),o=0,r=i.length;o<r;o++)if(i[o]===t)return!0;return!1}function s(t,e){return n(t),i(t,e)}var a,l=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,n=e.length;i<n;i++){var o=e[i],r=o+"MatchesSelector";if(t[r])return r}}();if(l){var c=document.createElement("div"),u=i(c,"div");a=u?i:s}else a=r;o=[],!(d=function(){return a}.apply(e,o))}(Element.prototype),function(t,i){"use strict";o=[u,d],!(p=function(e,n){return i(t,e,n)}.apply(e,o))}
85(window,function(t,e,i){var n={};n.extend=function(t,e){for(var i in e)t[i]=e[i];return t},n.modulo=function(t,e){return(t%e+e)%e};var o=Object.prototype.toString;n.isArray=function(t){return"[object Array]"==o.call(t)},n.makeArray=function(t){var e=[];if(n.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,o=t.length;i<o;i++)e.push(t[i]);else e.push(t);return e},n.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},n.removeFrom=function(t,e){var i=n.indexOf(t,e);i!=-1&&t.splice(i,1)},n.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},n.setText=function(){function t(t,i){e=e||(void 0!==document.documentElement.textContent?"textContent":"innerText"),t[e]=i}var e;return t}(),n.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,i(t,e))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,e){t=n.makeArray(t);for(var o=[],r=0,s=t.length;r<s;r++){var a=t[r];if(n.isElement(a))if(e){i(a,e)&&o.push(a);for(var l=a.querySelectorAll(e),c=0,u=l.length;c<u;c++)o.push(l[c])}else o.push(a)}return o},n.debounceMethod=function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var r=t.console;return n.htmlInit=function(i,o){e(function(){for(var e=n.toDashed(o),s=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",l=0,c=s.length;l<c;l++){var u,d=s[l],p=d.getAttribute(a);try{u=p&&JSON.parse(p)}catch(f){r&&r.error("Error parsing "+a+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+f);continue}var h=new i(d,u),m=t.jQuery;m&&m.data(d,o,h)}})},n}),function(t,i){"use strict";o=[a,c,l,p],!(f=function(e,n,o,r){return i(t,e,n,o,r)}.apply(e,o))}(window,function(t,e,i,n,o){"use strict";function r(t){for(var e in t)return!1;return e=null,!0}function s(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function a(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var l=t.getComputedStyle,c=l?function(t){return l(t,null)}:function(t){return t.currentStyle},u=n("transition"),d=n("transform"),p=u&&d,f=!!n("perspective"),h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],m=["transform","transition","transitionDuration","transitionProperty"],g=function(){for(var t={},e=0,i=m.length;e<i;e++){var o=m[e],r=n(o);r&&r!==o&&(t[o]=r)}return t}();o.extend(s.prototype,e.prototype),s.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.getSize=function(){this.size=i(this.element)},s.prototype.css=function(t){var e=this.element.style;for(var i in t){var n=g[i]||i;e[n]=t[i]}},s.prototype.getPosition=function(){var t=c(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=t[i?"left":"right"],r=t[n?"top":"bottom"],s=this.layout.size,a=o.indexOf("%")!=-1?parseFloat(o)/100*s.width:parseInt(o,10),l=r.indexOf("%")!=-1?parseFloat(r)/100*s.height:parseInt(r,10);a=isNaN(a)?0:a,l=isNaN(l)?0:l,a-=i?s.paddingLeft:s.paddingRight,l-=n?s.paddingTop:s.paddingBottom,this.position.x=a,this.position.y=l},s.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",s=this.position.x+t[n];i[o]=this.getXValue(s),i[r]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",c=e.isOriginTop?"bottom":"top",u=this.position.y+t[a];i[l]=this.getYValue(u),i[c]="",this.css(i),this.emitEvent("layout",[this])},s.prototype.getXValue=function(t){var e=this.layout.options;return e.percentPosition&&!e.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},s.prototype.getYValue=function(t){var e=this.layout.options;return e.percentPosition&&e.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},s.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,l=e-n,c={};c.transform=this.getTranslate(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},s.prototype.getTranslate=function(t,e){var i=this.layout.options;return t=i.isOriginLeft?t:-t,e=i.isOriginTop?e:-e,f?"translate3d("+t+"px, "+e+"px, 0)":"translate("+t+"px, "+e+"px)"},s.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},s.prototype.moveTo=p?s.prototype._transitionTo:s.prototype.goTo,s.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},s.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},s.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var v="opacity,"+a(g.transform||"transform");s.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:v,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(h,this,!1))},s.prototype.transition=s.prototype[u?"_transition":"_nonTransition"],s.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},s.prototype.onotransitionend=function(t){this.ontransitionend(t)};var y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};s.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=y[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],r(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd){var n=e.onEnd[i];n.call(this),delete e.onEnd[i]}this.emitEvent("transitionEnd",[this])}},s.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},s.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var w={transitionProperty:"",transitionDuration:""};return s.prototype.removeTransitionStyles=function(){this.css(w)},s.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},s.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()},s.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},s.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},s.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},s.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},s.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},s.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s}),/*! 86 * Outlayer v1.4.2 87 * the brains and guts of a layout library 88 * MIT license 89 */ 90function(t,i){"use strict";o=[s,a,c,p,f],!(h=function(e,n,o,r,s){return i(t,e,n,o,r,s)}.apply(e,o))}
90(window,function(t,e,i,n,o,r){"use strict";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,l&&(this.$element=l(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,d[n]=this,this._create(),this.options.isInitLayout&&this.layout()}var a=t.console,l=t.jQuery,c=function(){},u=0,d={};return s.namespace="outlayer",s.Item=r,s.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},o.extend(s.prototype,i.prototype),s.prototype.option=function(t){o.extend(this.options,t)},s.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},s.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},s.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,r=e.length;o<r;o++){var s=e[o],a=new i(s,this);n.push(a)}return n},s.prototype._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},s.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},s.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},s.prototype._init=s.prototype.layout,s.prototype._resetLayout=function(){this.getSize()},s.prototype.getSize=function(){this.size=n(this.element)},s.prototype._getMeasurement=function(t,e){var i,r=this.options[t];r?("string"==typeof r?i=this.element.querySelector(r):o.isElement(r)&&(i=r),this[t]=i?n(i)[e]:r):this[t]=0},s.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},s.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i];o.isIgnored||e.push(o)}return e},s.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,o=t.length;n<o;n++){var r=t[n],s=this._getItemLayoutPosition(r);s.item=r,s.isInstant=e||r.isLayoutInstant,i.push(s)}this._processLayoutQueue(i)}},s.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},s.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},s.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},s.prototype._postLayout=function(){this.resizeContainer()},s.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},s.prototype._getContainerSize=c,s.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},s.prototype._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s===r&&i()}var o=this,r=e.length;if(!e||!r)return void i();for(var s=0,a=0,l=e.length;a<l;a++){var c=e[a];c.once(t,n)}},s.prototype.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),l)if(this.$element=this.$element||l(this.element),e){var o=l.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},s.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},s.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},s.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.
90concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},s.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];o.removeFrom(this.stamps,n),this.unignore(n)}},s.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},s.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},s.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},s.prototype._manageStamp=c,s.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t),r={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return r},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},s.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},s.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},s.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},s.prototype.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},s.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},s.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},s.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},s.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++){var n=t[i];n.reveal()}},s.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++){var n=t[i];n.hide()}},s.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},s.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},s.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},s.prototype.getItems=function(t){t=o.makeArray(t);for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i],s=this.getItem(r);s&&e.push(s)}return e},s.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;i<n;i++){var r=e[i];r.remove(),o.removeFrom(this.items,r)}},s.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];n.destroy()}this.unbindResize();var o=this.element.outlayerGUID;delete d[o],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){function i(){s.apply(this,arguments)}return Object.create?i.prototype=Object.create(s.prototype):o.extend(i.prototype,s.prototype),i.prototype.constructor=i,i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=s.data,i.Item=function(){r.apply(this,arguments)},i.Item.prototype=new r,o.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},s.Item=r,s}),function(t,i){"use strict";o=[h],n=i,!(m="function"==typeof n?n.apply(e,o):n)}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}),function(t,i){"use strict";o=[c,h],n=i,!(g="function"==typeof n?n.apply(e,o):n)}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],o=0,r=n.length;o<r;o++){var s=n[o];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;
90return i&&e.innerHeight!=this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=new i,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),/*! 91 * Masonry v3.3.1 92 * Cascading grid layout library 93 * http://masonry.desandro.com 94 * MIT License 95 * by David DeSandro 96 */ 97function(t,i){"use strict";o=[h,c,p],n=i,!(v="function"==typeof n?n.apply(e,o):n)}(window,function(t,e,i){var n=t.create("masonry");return n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&s<1?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=e&&e<1?"round":"ceil",o=Math[n](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var r=this._getColGroup(o),s=Math.min.apply(Math,r),a=i.indexOf(r,s),l={x:this.columnWidth*a,y:s},c=s+t.size.outerHeight,u=this.cols+1-r.length,d=0;d<u;d++)this.colYs[a+d]=c;return l},n.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},n.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this.options.isOriginLeft?n.left:n.right,r=o+i.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this.options.isOriginTop?n.top:n.bottom)+i.outerHeight,c=s;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},n.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},n}),/*! 98 * Masonry layout mode 99 * sub-classes Masonry 100 * http://masonry.desandro.com 101 */ 102function(t,i){"use strict";o=[g,v],n=i,!(y="function"==typeof n?n.apply(e,o):n)}(window,function(t,e){"use strict";function i(t,e){for(var i in e)t[i]=e[i];return t}var n=t.create("masonry"),o=n.prototype._getElementOffset,r=n.prototype.layout,s=n.prototype._getMeasurement;i(n.prototype,e.prototype),n.prototype._getElementOffset=o,n.prototype.layout=r,n.prototype._getMeasurement=s;var a=n.prototype.measureColumns;n.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var l=n.prototype._manageStamp;return n.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,l.apply(this,arguments)},n}),function(t,i){"use strict";o=[g],n=i,!(w="function"==typeof n?n.apply(e,o):n)}(window,function(t){"use strict";var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}),function(t,i){"use strict";o=[g],n=i,!(b="function"==typeof n?n.apply(e,o):n)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}),/*! 103 * Isotope v2.2.2 104 * 105 * Licensed GPLv3 for open source use 106 * or Isotope Commercial License for commercial use 107 * 108 * http://isotope.metafizzy.co 109 * Copyright 2015 Metafizzy 110 */ 111function(i,n){"use strict";o=[h,c,d,p,m,g,y,w,b],r=function(t,e,o,r,s,a){return n(i,t,e,o,r,s,a)}.apply(e,o),!(void 0!==r&&(t.exports=r))}
111(window,function(t,e,i,n,o,r,s){function a(t,e){return function(i,n){for(var o=0,r=t.length;o<r;o++){var s=t[o],a=i.sortData[s],l=n.sortData[s];if(a>l||a<l){var c=void 0!==e[s]?e[s]:e,u=c?1:-1;return(a>l?1:-1)*u}}return 0}}var l=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,d=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},p=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});p.Item=r,p.LayoutMode=s,p.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in s.modes)this._initLayoutMode(t)},p.prototype.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},p.prototype._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0,n=t.length;i<n;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},p.prototype._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},p.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?void this.arrange():void this._layout()},p.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},p.prototype.arrange=function(t){function e(){n.reveal(i.needReveal),n.hide(i.needHide)}this.option(t),this._getIsInstant();var i=this._filter(this.items);this.filteredItems=i.matches;var n=this;this._bindArrangeComplete(),this._isInstant?this._noTransition(e):e(),this._sort(),this._layout()},p.prototype._init=p.prototype.arrange,p.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},p.prototype._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},p.prototype._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],r=this._getFilterTest(e),s=0,a=t.length;s<a;s++){var l=t[s];if(!l.isIgnored){var c=r(l);c&&i.push(l),c&&l.isHidden?n.push(l):c||l.isHidden||o.push(l)}}return{matches:i,needReveal:n,needHide:o}},p.prototype._getFilterTest=function(t){return l&&this.options.isJQueryFiltering?function(e){return l(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},p.prototype.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},p.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},p.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var n=t[i];n.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=c(t).split(" "),n=i[0],o=n.match(/^\[(.+)\]$/),r=o&&o[1],s=e(r,n),a=p.sortDataParsers[i[1]];return t=a?function(t){return t&&a(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&d(i)}}return t}();p.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},p.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=a(e,this.options.sortAscending);this.filteredItems.sort(i),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},p.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},p.prototype._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},p.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},p.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},p.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},p.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},p.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},p.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},p.prototype._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},p.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var h=p.prototype.remove;return p.prototype.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);h.call(this,t);var i=e&&e.length;if(i)for(var n=0;n<i;n++){var r=e[n];o.removeFrom(this.filteredItems,r)}},p.prototype.shuffle=function(){for(var t=0,e=this.items.length;t<e;t++){var i=this.items[t];i.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},p.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},p.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},p})}
111,558:function(t,e,i){var n,o,r;!function(s){o=[i(1)],n=s,r="function"==typeof n?n.apply(e,o):n,!(void 0!==r&&(t.exports=r))}(function(t){var e,i,n,o,r,s,a="Close",l="BeforeClose",c="AfterClose",u="BeforeAppend",d="MarkupParse",p="Open",f="Change",h="mfp",m="."+h,g="mfp-ready",v="mfp-removing",y="mfp-prevent-close",w=function(){},b=!!window.jQuery,S=t(window),x=function(t,i){e.ev.on(h+t+m,i)},C=function(e,i,n,o){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),o?i&&i.appendChild(r):(r=t(r),i&&r.appendTo(i)),r},T=function(i,n){e.ev.triggerHandler(h+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},k=function(i){return i===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=i),e.currTemplate.closeBtn},_=function(){t.magnificPopup.instance||(e=new w,e.init(),t.magnificPopup.instance=e)},P=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};w.prototype={constructor:w,init:function(){var i=navigator.appVersion;e.isIE7=i.indexOf("MSIE 7.")!==-1,e.isIE8=i.indexOf("MSIE 8.")!==-1,e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=P(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(i){var o;if(i.isObj===!1){e.items=i.items.toArray(),e.index=0;var s,a=i.items;for(o=0;o<a.length;o++)if(s=a[o],s.parsed&&(s=s.el[0]),s===i.el[0]){e.index=o;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(e.isOpen)return void e.updateItemHTML();e.types=[],r="",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=n,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=C("bg").on("click"+m,function(){e.close()}),e.wrap=C("wrap").attr("tabindex",-1).on("click"+m,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=C("container",e.wrap)),e.contentContainer=C("content"),e.st.preloader&&(e.preloader=C("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(o=0;o<l.length;o++){var c=l[o];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}T("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(x(d,function(t,e,i,n){i.close_replaceWith=k(n.type)}),r+=" mfp-close-btn-in"):e.wrap.append(k())),e.st.alignTop&&(r+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:S.scrollTop(),position:"absolute"}),(e.st.fixedBgPos===!1||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup"+m,function(t){27===t.keyCode&&e.close()}),S.on("resize"+m,function(){e.updateSize()}),e.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&e.wrap.addClass(r);var u=e.wH=S.height(),f={};if(e.fixedContentPos&&e._hasScrollBar(u)){var h=e._getScrollbarSize();h&&(f.marginRight=h)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):f.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),T("BuildControls"),t("html").css(f),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(g),e._setFocus()):e.bgOverlay.addClass(g),n.on("focusin"+m,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(u),T(p),i},close:function(){e.isOpen&&(T(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(v),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){T(a);var i=v+" "+g+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var o={marginRight:""};e.isIE7?t("body, html").css("overflow",""):o.overflow="",t("html").css(o)}n.off("keyup"+m+" focusin"+m),e.ev.off(m),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&e.currTemplate[e.currItem.type]!==!0||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,T(c)},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||S.height();e.fixedContentPos||e.wrap.css("height",e.wH),T("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(T("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var r=!!e.st[n]&&e.st[n].markup;T("FirstMarkupParse",r),r?e.currTemplate[n]=t(r):e.currTemplate[n]=!0}o&&o!==i.type&&e.container.removeClass("mfp-"+o+"-holder");var s=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);
111e.appendContent(s,n),i.preloaded=!0,T(f,i),o=i.type,e.container.prepend(e.contentContainer),T("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&e.currTemplate[i]===!0?e.content.find(".mfp-close").length||e.content.append(k()):e.content=t:e.content="",T(u),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n,o=e.items[i];if(o.tagName?o={el:t(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var r=e.types,s=0;s<r.length;s++)if(o.el.hasClass("mfp-"+r[s])){n=r[s];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||e.st.type||"inline",o.index=i,o.parsed=!0,e.items[i]=o,T("ElementParse",o),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){var r=void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick;if(r||2!==i.which&&!i.ctrlKey&&!i.metaKey){var s=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(s)if(t.isFunction(s)){if(!s.call(e))return!0}else if(S.width()<s)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.o
111pen(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};T("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(y)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(o&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||S.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){if(i.target!==e.wrap[0]&&!t.contains(e.wrap[0],i.target))return e._setFocus(),!1},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),T(d,[e,i,n]),t.each(i,function(t,i){if(void 0===i||i===!1)return!0;if(o=t.split("_"),o.length>1){var n=e.find(m+"-"+o[0]);if(n.length>0){var r=o[1];"replaceWith"===r?n[0]!==i[0]&&n.replaceWith(i):"img"===r?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else e.find(m+"-"+t).html(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(e,i){return _(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(i){_();var n=t(this);if("string"==typeof i)if("open"===i){var o,r=b?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;r.items?o=r.items[s]:(o=n,r.delegate&&(o=o.find(r.delegate)),o=o.eq(s)),e._openClick({mfpEl:o},n,r)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),b?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var E,I,O,L="inline",A=function(){O&&(I.after(O.addClass(E)).detach(),O=null)};t.magnificPopup.registerModule(L,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(L),x(a+"."+L,function(){A()})},getInline:function(i,n){if(A(),i.src){var o=e.st.inline,r=t(i.src);if(r.length){var s=r[0].parentNode;s&&s.tagName&&(I||(E=o.hiddenClass,I=C(E),E="mfp-"+E),O=r.after(I).detach().removeClass(E)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),r=t("<div>");return i.inlineElement=r,r}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var z,M="ajax",R=function(){z&&t(document.body).removeClass(z)},D=function(){R(),e.req&&e.req.abort()};t.magnificPopup.registerModule(M,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(M),z=e.st.ajax.cursor,x(a+"."+M,D),x("BeforeChange."+M,D)},getAjax:function(i){z&&t(document.body).addClass(z),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,o,r){var s={data:n,xhr:r};T("ParseAjax",s),e.appendContent(t(s.data),M),i.finished=!0,R(),e._setFocus(),setTimeout(function(){e.wrap.addClass(g)},16),e.updateStatus("ready"),T("AjaxContentAdded")},error:function(){R(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var $,B=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
111var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),x(p+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),x(a+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),S.off("resize"+m)}),x("Resize"+n,e.resizeImage),e.isLowIE&&x("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,$&&clearInterval($),t.isCheckingImgSize=!1,T("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(r){$&&clearInterval($),$=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval($),i++,void(3===i?o(10):40===i?o(50):100===i&&o(500)))},r)};o(1)},getImage:function(i,n){var o=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,T("ImageLoadComplete")):(o++,o<200?
111setTimeout(r,100):s()))},s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",a.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},a=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=t(c).on("load.mfploader",r).on("error.mfploader",s),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),c=i.img[0],c.naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:B(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?($&&clearInterval($),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",a.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var H,F=function(){return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,r,s=i.duration,c=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=n,e.css(o),e},u=function(){e.content.css("visibility","visible")};x("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void u();r=c(t),r.css(e._getOffset()),e.wrap.append(r),o=setTimeout(function(){r.css(e._getOffset(!0)),o=setTimeout(function(){u(),setTimeout(function(){r.remove(),t=r=null,T("ZoomAnimationEnded")},16)},s)},16)}}),x(l+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=s,!t){if(t=e._getItemToZoom(),!t)return;r=c(t)}r.css(e._getOffset(!0)),e.wrap.append(r),e.content.css("visibility","hidden"),setTimeout(function(){r.css(e._getOffset())},16)}}),x(a+n,function(){e._allowZoom()&&(u(),r&&r.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n;n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var o=n.offset(),r=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-r;var a={width:n.width(),height:(b?n.innerHeight():n[0].offsetHeight)-s-r};return F()?a["-moz-transform"]=a.transform="translate("+o.left+"px,"+o.top+"px)":(a.left=o.left,a.top=o.top),a}}});var W="iframe",j="//about:blank",Y=function(t){if(e.currTemplate[W]){var i=e.currTemplate[W].find("iframe");i.length&&(t||(i[0].src=j),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(W,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(W),x("BeforeChange",function(t,e,i){e!==i&&(e===W?Y():i===W&&Y(!0))}),x(a+"."+W,function(){Y()})},getIframe:function(i,n){var o=i.src,r=e.st.iframe;t.each(r.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var s={};return r.srcAction&&(s[r.srcAction]=o),e._parseMarkup(n,s,i),e.updateStatus("ready"),n}}});var V=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},X=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,o=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);return e.direction=!0,!(!i||!i.enabled)&&(r+=" mfp-gallery",x(p+o,function(){i.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+o,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),x("UpdateStatus"+o,function(t,i){i.text&&(i.text=X(i.text,e.currItem.index,e.items.length))}),x(d+o,function(t,n,o,r){var s=e.items.length;o.counter=s>1?X(i.tCounter,r.index,s):""}),x("BuildControls"+o,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(y),r=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(y),a=s?"mfpFastClick":"click";o[a](function(){e.prev()}),r[a](function(){e.next()}
111),e.isIE7&&(C("b",o[0],!1,!0),C("a",o[0],!1,!0),C("b",r[0],!1,!0),C("a",r[0],!1,!0)),e.container.append(o.add(r))}}),x(f+o,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void x(a+o,function(){n.off(o),e.wrap.off("click"+o),e.arrowLeft&&s&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=V(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=V(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=V(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),T("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,T("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var N="retina";t.magnificPopup.registerModule(N,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(x("ImageHasSize."+N,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}
111),x("ElementParse."+N,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),function(){var e=1e3,i="ontouchstart"in window,n=function(){S.off("touchmove"+r+" touchend"+r)},o="mfpFastClick",r="."+o;t.fn.mfpFastClick=function(o){return t(this).each(function(){var s,a=t(this);if(i){var l,c,u,d,p,f;a.on("touchstart"+r,function(t){d=!1,f=1,p=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],c=p.clientX,u=p.clientY,S.on("touchmove"+r,function(t){p=t.originalEvent?t.originalEvent.touches:t.touches,f=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-u)>10)&&(d=!0,n())}).on("touchend"+r,function(t){n(),d||f>1||(s=!0,t.preventDefault(),clearTimeout(l),l=setTimeout(function(){s=!1},e),o())})})}a.on("click"+r,function(){s||o()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+r+" click"+r),i&&S.off("touchmove"+r+" touchend"+r)}}(),_()})},559:function(t,e){!function(t){"use strict";var e=function(e,i){this.el=t(e),this.options=t.extend({},t.fn.typed.defaults,i),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};e.prototype={constructor:e,init:function(){var t=this;t.timeout=setTimeout(function(){for(var e=0;e<t.strings.length;++e)t.sequence[e]=e;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var e=this;if(this.showCursor===!0&&(this.cursor=t('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement){e.strings=[],this.stringsElement.hide();var i=this.stringsElement.find("p");t.each(i,function(i,n){e.strings.push(t(n).html())})}this.init()},typewrite:function(t,e){if(this.stop!==!0){var i=Math.round(70*Math.random())+this.typeSpeed,n=this;n.timeout=setTimeout(function(){var i=0,o=t.substr(e);if("^"===o.charAt(0)){var r=1;/^\^\d+/.test(o)&&(o=/\d+/.exec(o)[0],r+=o.length,i=parseInt(o)),t=t.substring(0,e)+t.substring(e+r)}if("html"===n.contentType){var s=t.substr(e).charAt(0);if("<"===s||"&"===s){var a="",l="";for(l="<"===s?">":";";t.substr(e).charAt(0)!==l;)a+=t.substr(e).charAt(0),e++;e++,a+=l}}n.timeout=setTimeout(function(){if(e===t.length){if(n.options.onStringTyped(n.arrayPos),n.arrayPos===n.strings.length-1&&(n.options.callback(),n.curLoop++,n.loop===!1||n.curLoop===n.loopCount))return;n.timeout=setTimeout(function(){n.backspace(t,e)},n.backDelay)}else{0===e&&n.options.preStringTyped(n.arrayPos);var i=t.substr(0,e+1);n.attr?n.el.attr(n.attr,i):n.isInput?n.el.val(i):"html"===n.contentType?n.el.html(i):n.el.text(i),e++,n.typewrite(t,e)}},i)},i)}},backspace:function(t,e){if(this.stop!==!0){var i=Math.round(70*Math.random())+this.backSpeed,n=this;n.timeout=setTimeout(function(){if("html"===n.contentType&&">"===t.substr(e).charAt(0)){for(var i="";"<"!==t.substr(e).charAt(0);)i-=t.substr(e).charAt(0),e--;e--,i+="<"}var o=t.substr(0,e);n.attr?n.el.attr(n.attr,o):n.isInput?n.el.val(o):"html"===n.contentType?n.el.html(o):n.el.text(o),e>n.stopNum?(e--,n.backspace(t,e)):e<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.shuffle&&(n.sequence=n.shuffleArray(n.sequence)),n.init()):n.typewrite(n.strings[n.sequence[n.arrayPos]],e))},i)}},shuffleArray:function(t){var e,i,n=t.length;if(n)for(;--n;)i=Math.floor(Math.random()*(n+1)),e=t[i],t[i]=t[n],t[n]=e;return t},reset:function(){var t=this;clearInterval(t.timeout);var e=this.el.attr("id");this.el.after('<span id="'+e+'"/>'),this.el.remove(),"undefined"!=typeof this.cursor&&this.cursor.remove(),t.options.resetCallback()}},t.fn.typed=function(i){return this.each(function(){var n=t(this),o=n.data("typed"),r="object"==typeof i&&i;o||n.data("typed",o=new e(this,r)),"string"==typeof i&&o[i]()})},t.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery)}
111,560:function(t,e,i){var n,o,r;/*! 112 * ScrollMagic v2.0.5 (2015-04-29) 113 * The javascript library for magical scroll interactions. 114 * (c) 2015 Jan Paepke (@janpaepke) 115 * Project Website: http://scrollmagic.io 116 * 117 * @version 2.0.5 118 * @license Dual licensed under MIT license and GPL. 119 * @author Jan Paepke - [email protected] 120 * 121 * @file ScrollMagic Velocity Animation Plugin. 122 * 123 * requires: velocity ~1.2 124 * Powered by VelocityJS: http://VelocityJS.org 125 * Velocity is published under MIT license. 126 */ 127!function(s,a){o=[i(504),i(554)],n=a,r="function"==typeof n?n.apply(e,o):n,!(void 0!==r&&(t.exports=r))}(this,function(t,e){"use strict";var i="animation.velocity",n=window.console||{},o=Function.prototype.bind.call(n.error||n.log||function(){},n);t||o("("+i+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),e||o("("+i+") -> ERROR: Velocity could not be found. Please make sure it's loaded before ScrollMagic or use an asynchronous loader like requirejs.");var r=0;t.Scene.extend(function(){var n,o,s,a,l=this,c=t._util,u=0,d=function(){l._log&&(Array.prototype.splice.call(arguments,1,0,"("+i+")","->"),l._log.apply(this,arguments))};l.on("progress.plugin_velocity",function(){h()}),l.on("destroy.plugin_velocity",function(t){l.off("*.plugin_velocity"),l.removeVelocity(t.reset)});var p=function(t,i,n){c.type.Array(t)?t.forEach(function(t){p(t,i,n)}):(e.Utilities.data(t,a)||e.Utilities.data(t,a,{reverseProps:c.css(t,Object.keys(o))}),e(t,i,n),void 0!==n.queue&&e.Utilities.dequeue(t,n.queue))},f=function(t,i){if(c.type.Array(t))t.forEach(function(t){f(t,i)});else{var n=e.Utilities.data(t,a);n&&n.reverseProps&&(e(t,n.reverseProps,i),void 0!==i.queue&&e.Utilities.dequeue(t,i.queue))}},h=function(){if(n){var t=l.progress();t!=u&&(0===l.duration()&&(t>0?p(n,o,s):f(n,s)),u=t)}};l.setVelocity=function(t,e,u){n&&l.removeVelocity(),n=c.get.elements(t),o=e||{},s=u||{},a="ScrollMagic."+i+"["+r++ +"]",void 0!==s.queue&&(s.queue=a+"_queue");var p=function(){0!==l.duration()&&d(1,"ERROR: The Velocity animation plugin does not support scrollbound animations (scenes with duration) yet.")};return l.on("change.plugin_velocity",function(t){"duration"==t.what&&p()}),p(),d(3,"added animation"),h(),l},l.removeVelocity=function(t){return n&&(void 0!==s.queue&&e(n,"stop",s.queue),t&&f(n,{duration:0}),n.forEach(function(t){e.Utilities.removeData(t,a)}),n=o=s=a=void 0),l}})})}});
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.